@font-face {
    font-family: 'EEText';
    src: url('../assets/eefont.ttf') format('truetype');
    font-display: swap;
}

:root {
    --link-text-color: #f5ca59;
    --background-top-color: #2b8ed1;
    --background-bottom-color: #ebcf9f;
    --content-width: 67%;
    --content-margin: 0 2em;
    --font-size-p: 1em;
}

html {
    scroll-padding-top: 100px;
}
  

/* Body initial styles */
body {
    /* background: linear-gradient(to bottom, var(--background-top-color), var(--background-bottom-color)); */
    background-position: bottom center, top center, top left;
    background-image: url('../assets/home_png/Foot_alpha.avif'), url('../assets/home_png/Header_alpha.avif'), url('../assets/home_png/Tile1920.avif');
    background-size: 100vw auto, 100vw auto, 100vw auto;
    background-repeat: no-repeat, no-repeat, repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation Bar Styles */
.navbar {
    background-color: #000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 14% 72% 14%;
    padding: 0 1%;
    height: 4.5em; 
}

.navbar-logo {
    display: flex;
    justify-content: end;
    overflow-y: visible;
}

.navbar-logo .logo {
    height: 5em;
    width: auto;
    justify-self: right;
    align-self: self-end;
    margin-top: 0.75em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 1.7%;
}

.navbar-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 0.85em;
}

.navbar-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-link {
    color: var(--link-text-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-decoration: none;
    font-size: 1.2em;
    padding: 0.45em 0.7em;
    border-radius: 0.3em;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

/* Hover must not change font weight: bold glyphs are wider and would move the
   neighbouring items. Use a background/colour hint instead. */
.navbar-link:hover {
    background-color: rgba(245, 202, 89, 0.14);
    color: #ffdf8a;
}

.navbar-link:active {
    background-color: rgba(245, 202, 89, 0.22);
}

/* Second level menu (desktop dropdown) */
.navbar-item.has-submenu {
    position: relative;
}

.navbar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
}

.navbar-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 0.35em;
    border: 0.32em solid transparent;
    border-top-color: currentColor;
    transform: translateY(-0.1em);
}

.navbar-submenu {
    display: none;
    position: absolute;
    top: 4.5em;
    left: 0;
    margin: 0;
    padding: 0.4em 0;
    list-style: none;
    min-width: 13em;
    background-color: #000000;
    border: 1px solid rgba(245, 202, 89, 0.35);
    border-top: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55);
    z-index: 1001;
}

.navbar-item.has-submenu:hover > .navbar-submenu,
.navbar-item.has-submenu.open > .navbar-submenu {
    display: block;
}

.navbar-submenu .navbar-item {
    display: block;
}

.navbar-submenu .navbar-link {
    display: block;
    padding: 0.55em 1em;
    font-size: 1.05em;
    text-align: left;
    white-space: nowrap;
}

.navbar-submenu .navbar-link:hover {
    background-color: rgba(245, 202, 89, 0.12);
    text-decoration: none;
}

.navbar-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5em;
}

.language-button {
    background: none;
    border: none;
    border-radius: 5px;
    width: 2.5em;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    align-items: center;
    justify-content: center;
}

.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--link-text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 4.5em;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 999;
    padding: 1em 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-item {
    margin: 0.5em 0;
}

.mobile-nav-link {
    color: var(--link-text-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-decoration: none;
    font-size: 1.2em;
    padding: 0.5em 1em;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    text-transform: uppercase;
}

.mobile-nav-link:hover {
    background-color: rgba(196, 218, 83, 0.1);
    filter: brightness(1.25);
}

/* Second level menu (mobile accordion) */
.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--link-text-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    padding: 0.5em 1em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.mobile-nav-toggle::after {
    content: '';
    border: 0.32em solid transparent;
    border-top-color: currentColor;
    transition: transform 0.2s ease;
}

.mobile-nav-group.open > .mobile-nav-toggle::after {
    transform: rotate(180deg);
}

.mobile-nav-toggle:hover {
    background-color: rgba(196, 218, 83, 0.1);
    filter: brightness(1.25);
}

.mobile-nav-sublist {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-group.open > .mobile-nav-sublist {
    display: block;
}

.mobile-nav-sublink {
    font-size: 1.05em;
    padding: 0.4em 1em;
}

#mainContent {
    margin: 4.5em 0 3em 0;
    padding: 0 0 1.1em 0;
    overflow-x: hidden;
    flex-direction: column;
    /* background-position: bottom center, top center, top left;
    background-image: url('../assets/home_png/Foot_alpha.avif'), url('../assets/home_png/Header_alpha.avif'), url('../assets/home_png/Tile1920.avif');
    background-size: 100vw auto, 100vw auto, 100vw auto;
    background-repeat: no-repeat, no-repeat, repeat; */
}

/* Main content container */
.container {
    margin-top: 7em;
    margin-bottom: 4em;
    justify-content: center;
}

/* Index page main element with background */
.landing-section {
    margin-top: -3vh;
  display: flex;
  height: 46vw;
  /* margin-bottom: 4vw; */
  position:relative;
}

.red{
  display:flex;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
}

.red img{
  width:40vw;
}

.plant{
    display:flex;
    z-index: 50;
}

.plant_up_left{
    position: absolute;
  left: 0;
  top: 2.5vh;
}

.plant_up_left img{
    width: 15vw;
}

.plant_up_right{
   position: absolute;
  top: 2.5vh;
  right: 0;
}

.plant_up_right img{
    width: 20vw;
}

.plant_bottom_left{
  position: absolute;
  left: 0;
  z-index: 10;
  bottom: -2vw;
}

.plant_bottom_left img{
   width: 28vw;
}

.image-container {
    align-self: flex-end;
}

.pirate_logo {
    align-self: auto;
  display: flex;
  align-content: center;
  justify-content: center;
  width: 65vw;
  position:absolute;
}

.pirate_logo img {
    max-width: 45vw;
  z-index: 20;
}

.pirate_bau{
  width: 35vw;
  display: flex;
  /* position: absolute; */
  right: 3%;
  top: 2vh;
  position: absolute;
  z-index: 20;
}

.pirate_bau img{
    max-width: 26vw;
}

.barco_img {
    align-self: auto;
    margin-top: 9vw;
}

/*movimiento del barquito, yay */
.floater {
    position: relative;
    top: 40%;
    left: 0;
    z-index: 5;
    pointer-events: none;
    width: 8vw;
    height: 8vw;

    /* Continuous movement with gentle speed variation */
    animation: travel 30s linear(
      0,
      0.08 10%,
      0.21 20%,
      0.34 35%,
      0.47 50%,
      0.58 60%,
      0.72 75%,
      0.88 90%,
      1
    ) infinite;
  }

  .bob {
    animation: bob 4s ease-in-out infinite;
  }

  .floater img {
    display: block;
    width: 7vw;
    height: auto;
    animation: rotate 7s ease-in-out infinite;
    filter: blur(1px);
  }

  /* Travel completely across the viewport */
  @keyframes travel {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(calc(100vw + 5%));
    }
  }

  /* Gentle vertical sine-like bobbing.
     Amplitude follows the hero's vw scale, so it stays subtle on small screens
     instead of being a fixed 20px jump. */
  @keyframes bob {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(clamp(-24px, -1.5vw, -6px));
    }
  }

  /* Gentle rocking rotation */
  @keyframes rotate {
    0%, 100% {
      transform: rotate(-5deg);
    }
    50% {
      transform: rotate(5deg);
    }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .floater,
    .bob,
    .floater img {
        animation: none !important;
    }

    /* Park the ship in the open water between the sign and the red wave
       (below the red wave) instead of hiding it behind the sign. */
    .floater {
    left: 56%;
    top: 45%;
    transform: none;
    }
  }

  .buy-ticket-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    z-index: 30;
    padding: 0.75em 0 0 0;
}

.buy-button {
    background-color:#000000;
    color: var(--link-text-color) ;
    font-family: 'Oswald';
    font-weight: 200;
    font-size: clamp(1.2em, 3vw, 2em);
    text-transform: uppercase;
    padding: 0.5% 20%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    cursor: pointer;
}

.buy-button:hover {
    background-color: #1a1a1a;
    filter: brightness(1.05);
}

.buy-button:disabled {
    background-color: #2a2a2a;
    color: #7a7a7a;
    cursor: not-allowed;
    opacity: 0.6;
}

.buy-button:hover:disabled {
    background-color: #2a2a2a;
    filter: none;
}

.buy-ticket-subtitle {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 0.8em;
}

/* Welcome section styles */
.welcome-section {
    width: var(--content-width);
    margin-top: 2em;
    align-self: center;
    z-index: 1;
}

.welcome-title_1, .welcome-title_2 {
    background-color: #000000;
    overflow: hidden;
}

.welcome-title_1 h1, .welcome-title_2 h1{
    font-size: clamp(1.5em, 4vw, 3em);
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 200;
    text-transform: uppercase;
    line-height: 1.1;
    padding: 0.4em 0 0 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.welcome-title_2 h1{
    font-weight: 600;
    padding: 0 0 0.4em 0;
    margin-top: -0.1em;
}

.welcome-white-box {
    background-color: #ffffff;
    width: 100%;
    height: 1.5em;
}

.welcome-white-box-2 {
    margin-top: 0;
}

.welcome-content {
    background-color: #383a42;
    width: 100%;
    align-self: center;
    z-index: 1;
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 0;
    padding: 1em 0 0 0;
    
}

.welcome-content-text {
    grid-column: 1;
    color: #ffffff;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: var(--font-size-p);
    line-height: 1.2;
    text-align: justify;
    padding-left: 38%
}

.welcome-content-image {
    grid-column: 2;
    padding: 1em 15% 0 15%;
}

.collaborator {
    width: 20%;
    height: auto;
}

.collaborator.c1 {
    transform: translateY(5%);
}

.collaborator.c2 {
    transform: translateY(-5%);
}

.ccassi-logo {
    width: 60%;
    height: auto;
    margin:5% 10% 0 0;
}

/* GoH section styles */
.goh-temp-section {
    width: var(--content-width);
    margin: 2em auto 0;
    align-self: center;
    z-index: 1;
}

.goh-temp-section img {
    display: block;
    width: 100%;
    height: auto;
}

.goh-section-title {
    background-color: #383a42;
    width: 100%;
    align-self: center;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 1em 0;
    height: 8em;
}

.goh-title {
    grid-column: 1;
    color: #ffffff;
    font-family: 'Roboto';
    /* font-weight: 700; */
    font-size: 3.2em;
    line-height: 0.8;
    text-align: right;
    padding-left: 10%;
    letter-spacing: -0.02em;
}

.goh-title p {
    margin: 0;
    padding: 0;
}

.goh-exclamation-mark {
    grid-column: 2;
    text-align: center;
    font-size: 6em;
    color: var(--link-text-color);
    font-family: 'Oswald';
    font-weight: 700;
    margin: 0;
    padding-bottom: 0.1em;
}

.goh-title-image {
    grid-column: 3;
    padding-right:10%;
    display: flex;
    flex-direction: column;
}	

.goh-alert-icon-container {
    height: 2.7em;
    display: flex;
    justify-content: left;
}

.goh-alert-icon {
    display: flex;
    align-items: center;
}

.goh-alert-icon{
   height: 2.7em;
   display: flex;
   justify-content: left;
   align-items: baseline;
   object-fit: cover;
}

.goh-alert-text {
    color: #ffffff;
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 3em;
    line-height: 0.7;
    text-align: left;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
}

.goh-alert-text p {
    margin: 0;
    padding: 0;
}

.goh-content-section{
    display: flex;
    flex-direction: column;
    /* margin-bottom: -34em; */
}

.goh-white-box {
    width: var(--content-width);
    align-self: center;
    z-index: 1;
    background-color: white;
    height: 40vw;
    /* align-content: flex-end; */
    padding: 0 0 1em 0;
    /* display: grid;
    grid-template-columns: 40% 20% 40%;
    justify-content: flex-end;
    flex-direction: column;
    flex-wrap: nowrap; */
    align-items: center;
}

.center-box{
    align-self: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.center-box-base{
    height: 3em;
    overflow-x: visible;
}

.name-tag-left{
    background-color: #383a42;
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 700;
    font-size: 1.5em;
    text-align: right;
    z-index: 2;
    margin-right: 40.5%;
    align-content: center;
    position: relative;
    top: -19.5em;
}

.name-tag-left p{
    margin: 0;
    padding: 0.3em 0.8em;
}

.name-tag-right{
    background-color: #383a42;
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 700;
    font-size: 1.5em;
    text-align: left;
    z-index: 2;
    margin-left: 40.5%;
    align-content: center;
    position: relative;
    top: -8em;
}

.name-tag-right p{
    margin: 0;
    padding: 0.3em 0.8em;
}

.know_them_button{
    padding: 0.5vw 1vw;
    font-size: clamp(1em, 2vw, 2em);
    width: 6em;
    display: block;
    margin: 0 auto;
    position: relative;
    top: -7.5vw;
}
.goh-img-div{
    z-index: 3;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    /* margin: 0em 3%; */
    top: -36em;
    position: relative;
}

.goh-img{
    height: 55vh;
    z-index: 3;
}

.goh-1{
    position: relative;
    left: -1%;
}
.goh-2{
    position: relative;
    top: -8vh;
    height: 48vh;
    left: -2%;
}

.goh-img-main{
    width: 100vw;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: -1em
}


/* Hotel section styles */
.hotel-section {
    width: var(--content-width);
    margin-top: 2em;
    align-self: center;
    z-index: 1;
}

.hotel-title {
    background-color: #000000;
    width: 90%;
    align-content: start; 
    padding: 1em 5%;
    text-transform: uppercase;
    overflow: hidden;
}

.hotel-title h1 {
    font-size: clamp(1.2em, 3vw, 2em);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin: 0.1em 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-title p {
    font-size: clamp(0.9em, 2.5vw, 1.25em);
    color: #ffffff;
    font-family: 'Roboto Condensed';
    font-weight: 400;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-title h2 {
    font-size: clamp(1.1em, 2.8vw, 1.7em);
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 200;
    margin: 0;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-image {
    margin: 0 0 -0.5% 0;
}

.hotel-image img {
    width: 100%;
    height: auto;
}

.hotel-content {
    width: 90%;
    padding: 1% 5% 3%;
    background-color: #ffffff;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.hotel-content h2 {
    font-size: clamp(1.5em, 4.5vw, 3em);
    color: #000;
    font-family: 'Oswald';
    font-weight: 500;
    text-transform: uppercase;
    margin: 1rem 0;
    padding-bottom: 0;
    line-height: 1.2;
    align-self: start;
}

.hotel-content h3 {
    font-size: clamp(1em, 2.5vw, 1.5em);
    color: #000;
    font-family: 'Oswald';
    font-weight: 400;
    text-transform: uppercase;
    margin: 1rem 0;
    padding-bottom: 0;
    line-height: 1.2;
    text-align: left;
    align-self: start;
}

.hotel-content p {
    font-size: var(--font-size-p);
    color: #000000;
    font-family: 'Roboto';
    font-weight: 400;
    text-align: justify;
}

.hotel-content-black {
    background-color: #000000;
    width: 90%;
    align-content: start; 
    padding: 1em 5%;
    align-content: start;    
}

.hotel-content-black-title {
    font-size: 1.25em;
    color: #ffffff;
    font-family: 'Roboto';
    font-weight: 400;
    margin: 0 0 0.5em 0
}

.hotel-content-black-text {
    font-size: var(--font-size-p);
    color: #ffffff;
    font-family: 'Roboto';
    font-weight: 400;
    margin: 0;
    text-align: justify;
}

.hotel-content:last-child {
    margin-bottom: 5%;
}

/* Content section with white background */
.content-section {
    background-color: #ffffff;
    margin: var(--content-margin);
    width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.title-section {
    background-color: #000000;
    width: 100%;
    align-content: start;   
}

.title-section h1 {
    font-size: clamp(2em, 6vw, 4em);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin: 0.25em 0 0.2em 0;
    text-transform: uppercase;
}

/* Rules navigation styles */
.rules-navigation-container {
    padding: 0 3em 1.5em 3em;
    line-height: 1.1;
}

.rules-link {
    color: var(--link-text-color);
    font-family: 'Oswald';
    font-weight: 300;
    text-decoration: none;
    font-size: clamp(1em, 2.5vw, 1.5em);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 0;
    padding: 0; 
}

.rules-link:hover {
    font-weight: 700;
}

.rules-link:active {
    font-weight: 700;
}

.rules-separator {
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 300;
    font-size: clamp(1em, 2.5vw, 1.5em);
}

/* Rules content styles */
.rules-content {
    padding: 1em 3em;
    background-color: #ffffff;
}

#rulesContent {
    margin-bottom: 7em;
}

#privacyContent {
    margin-bottom: 7em;
}


.rules-content h2 {
    font-size: clamp(1.5em, 4.5vw, 3em);
    color: #000;
    font-family: 'Oswald';
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 0;
    line-height: 1.2;
}

.rule-section {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #e0e0e0;
}

.rule-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rule-section p.revision-date {
    font-family: 'Oswald';
    font-weight: 300;
    font-size: 0.9em;
    color: #000;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 1;
}
.chapter {
    margin: 1.2em 0;
    padding: 0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}


.chapter.collapsible.collapsed .chapter-content {
    max-height: 0;
    padding: 0;
}

.chapter:hover {
    border-color: var(--link-text-color);
    box-shadow: 0 2px 8px rgba(196, 218, 83, 0.1);
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.5em;
    background-color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.chapter-header:hover {
    background-color: #1a1a1a;
}

.chapter-title-container {
    flex: 1;
}

.chapter_title {
    font-family: 'Oswald';
    font-weight: 700;
    font-size: clamp(1.5em, 1.5vw, 2.25em);
    color: var(--link-text-color);
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.chapter_subtitle {
    font-family: 'Oswald';
    font-weight: 500;
    font-size: clamp(0.9em, 1.8vw, 1.1em);
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.chapter-toggle {
    font-family: 'Oswald';
    font-weight: 700;
    font-size: 1.5em;
    color: var(--link-text-color);
    transition: transform 0.3s ease;
    user-select: none;
    min-width: 1.5em;
    text-align: center;
}

.chapter.collapsed .chapter-toggle {
    transform: rotate(0deg);
}

.chapter:not(.collapsed) .chapter-toggle {
    transform: rotate(45deg);
}

.chapter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
}

.chapter:not(.collapsed) .chapter-content {
    max-height: none;
    padding: 1.5em;
}

.chapter_content {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: var(--font-size-p);
    line-height: 1.6;
    color: #000;
    margin: 0;
    padding: 0;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.history-section {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #e0e0e0;
}

.history-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.history-chapter-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1em 1.5em; 
    background: linear-gradient( 
        to right, 
        #000000 0%, 
        #000000 45%, 
        rgba(0, 0, 0, 0.9) 55%, 
        rgba(0, 0, 0, 0.2) 72%, 
        rgba(0, 0, 0, 0) 85% ), 
        /* url("../assets/Postal2-Bastriw.png");*/
        var(--chapter-image);
        
        /* Gradient = 100%, image = 80% */ 
        background-size: auto, 65%; 
        background-position: center, right; 
        background-repeat: no-repeat, no-repeat; 
        cursor: pointer; transition: all 0.3s ease; 
        border-bottom: 1px solid #e0e0e0; 
    } 
    
    .history-chapter-header:hover { 
        background: linear-gradient( 
            to right, #000000 0%, 
            #000000 40%, 
            rgba(0, 0, 0, 0.8) 52%, 
            rgba(0, 0, 0, 0.1) 72%,
            rgba(0, 0, 0, 0) 85% ), 
            /* url("../assets/Postal2-Bastriw.png");*/
            var(--chapter-image);
            
            background-size: auto, 
            65%; background-position: center, right; 
            background-repeat: no-repeat, no-repeat; 
        }

.history-chapter-header.edition-2026 {
    --chapter-image: url("../assets/Postal2-Bastriw.png");
} 

.history-chapter-header.edition-2025 {
    --chapter-image: url("../assets/previas/2025.avif");
}

.history-chapter-header.edition-2024 {
    --chapter-image: url("../assets/previas/2024.avif");
}
.history-chapter-header.edition-2023 {
    --chapter-image: url("../assets/previas/2023.avif");
}
.history-chapter-header.edition-2022 {
    --chapter-image: url("../assets/previas/2022.avif");

}
.history-chapter-header.edition-2021 {
    --chapter-image: url("../assets/previas/2021.avif");
}
.history-chapter-header.edition-2020 {
    --chapter-image: url("../assets/previas/2020.avif");
}
.history-chapter-header.edition-2019 {
    --chapter-image: url("../assets/previas/2019.avif");
}

/* ==========================================
   ARFF MAP
   ========================================== */
.map-section  {
    padding-bottom: 2em;
}
   
#map {
    width: 100%;
    height: 500px;
    min-height: 350px;

    overflow: hidden;
}


/* ==========================================
   MARKERS
   ========================================== */

.arff-marker {
    background: transparent;
    border: none;
}


/* ==========================================
   MAIN RED MARKER
   ========================================== */

.arff-marker-main .marker-pin {
    position: relative;

    width: 44px;
    height: 44px;

    background: #d71920;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45);
}


.arff-marker-main .marker-dot {
    position: absolute;

    width: 15px;
    height: 15px;

    top: 14px;
    left: 14px;

    background: white;

    border-radius: 50%;
}


/* ==========================================
   SMALL BLACK MARKER
   ========================================== */

.arff-marker-place .marker-pin {
    position: relative;

    width: 26px;
    height: 26px;

    background: #000;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.45);
}


.arff-marker-place .marker-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    top: 10px;
    left: 10px;

    background: white;

    border-radius: 50%;
}


/* ==========================================
   POPUP
   ========================================== */

.arff-popup {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 180px;

    font-family: inherit;
}


.arff-popup strong {
    font-size: 1rem;
    font-weight: 700;
}


.arff-popup span {
    font-size: 0.85rem;
}


.arff-popup small {
    font-size: 0.75rem;
    opacity: 0.7;
}


/* ==========================================
   LEAFLET POPUP
   ========================================== */

.leaflet-popup-content-wrapper {
    border-radius: 3px;
}


.leaflet-popup-tip {
    box-shadow: none;
}

/* Hidden class for loading spinner */
.hidden {
    display: none !important;
}

/* Footer Styles */
.footer {
    background-color:#000;
    width: 100%;
    height: 4em;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
}

.footer-container {
    width: 100%;
    margin: 0 0 auto 0;
    padding: 0.5em 1% 0 1%;
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.footer-content {
    width: 25%;
    justify-content: end;
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: var(--link-text-color);
    font-family: 'Oswald';
    font-weight: 300;
    text-decoration: none;
    font-size: clamp(0.75em, 1.1vw, 1.2em);
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: right;
    margin: 0;
    padding: 0 0.5em 0 0;
}

.footer-link:hover {
    font-weight: 700;
}

.footer-separator {
    color: #ffffff;
    font-family: 'Oswald';
    font-weight: 300;
    font-size: clamp(0.75em, 1.1vw, 1.2em);
}

.footer-text {
    color: #ffffff;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: clamp(0.75em, 1.1vw, 1.2em);
    margin: 0;
    padding: 0 0.5em 0 0;
    text-align: right;
}

.social-buttons {
    display: flex;
    gap: 0.5em;
    align-items: top;
}

.social-button {
    width: 2.25em;
    height: 2.25em;
    background-color: var(--link-text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000000;
    border: 2px solid var(--link-text-color);
}

.social-button:hover {
    background-color: #000000;
    color: var(--link-text-color);
}

.social-button svg,
.social-button img {
    width: 1.5em;
    height: 1.5em;
}

.social-button img {
    filter: brightness(0);
}

.social-button:hover img {
    color: var(--link-text-color);
}

#aboutUsContent {
    margin-bottom: 7rem;
}

#aboutUsContent .content-section {
    background-color: transparent;
}

.about-us-image{
    width: 100%;
    margin: 0;
    height: auto;
    object-fit: cover;
}

.about-us-content {
    margin: -0.5rem 0;
}

.about-us-content p{
    align-self: start;
}

.custom-separator {
    border: none;
    height: 2px;
    background-color: var(--link-text-color);
    margin: 1rem 0;
    width: 80%;
}

iframe {
    width: 100%;
    max-width: 32rem;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Directory grid styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0.5em;
    width: 100%;
    margin: 0.5em 0;
}

.team-cell {
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 100%;
    height: 100%;
}

.team-image-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.team-image-placeholder {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-image {
    /* width: 100%; */
    height: 100%;
    /* object-fit: cover; */
    align-self: end;
}

.team-label {
    grid-row: 2;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #000000;
    min-width: 0;
    width: 100%;
    overflow-wrap: break-word;
}

.team-label p{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #000000;
    min-width: 0;
    width: 100%;
    overflow-wrap: break-word;
    font-size: 0.6em;
    margin: 0;
}

.about-us-content .team-list {
    font-weight: 600;
}

.bau-ref {
    width: 80%;
    object-fit: cover;
}

/* Responsive 3x3 Grid */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1em;
    width: 100%;
    margin: 1.5em 0;
    background-color: transparent;
}

.responsive-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, auto);
    gap: 1em;
    width: 100%;
    margin: 1.5em 0;
    background-color: transparent;
}

.grid-item {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    /* aspect-ratio: 1; */
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #000000;
    /* box-sizing: border-box; */
    flex-direction: column;
    overflow: hidden;
    height: 18rem;
}

.grid-item-empty {
    height: 18rem;
}

.friend-image-container {
    width: 100%;
    height: 14rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.friend-image {
    object-fit: cover;
    max-width: 80%;
    max-height: 80%;
}

.friend-info {
    text-align: left;
    background-color: #000000;
    color: #ffffff;
    padding: 0.5em 0;
    width: 100%;
    height: 4rem;
}

.friend-name {
    font-weight: 700;
    font-size: 1.2em;
    margin: 0 0 0 0.5rem;
    padding: 0;
}

.friend-location {
    font-size: 0.9em;
    margin: 0 0 0 0.5rem;
    padding: 0;
}

.friend-link {
    font-size: 0.9em;
    color: var(--link-text-color);
    margin: 0 0 0 0.5rem;
    padding: 0;
}

#callsContent .title-section .rules-navigation-container {
    padding: 1em 3em 1.5em 3em;
    line-height: normal;
}

.calls-link {
    color: var(--link-text-color);
}

.rules-list {
    list-style: ">> ";
    color: #fff;
    font-size: 2em;
}

#callsContent .content-section:first-child {
    margin-bottom: 2rem;
}

#callsContent .content-section:last-child {
    margin-bottom: 7rem;
}

.calls-navigation-container {
    padding: 1.5em 3em 2em 3em;
}

.calls-pretitle {
    color: white;
    font-size: 1.75rem;
    font-family: 'Oswald', sans-serif;
    padding: 0;
    margin: 0;
    line-height: 0.9;
    text-transform: uppercase;
}

.calls-title {
    line-height: 1;
    text-transform: uppercase;

}

.calls-text {
    margin-bottom: 2rem;
}

/* GoH section styles */
#gohContent {
    margin-top: 4.5em;
    margin-bottom: 7em;
}

.goh-title-img {
    width: var(--content-width);
    object-fit: contain;
    display: block;
}
.goh-img-page{
    width: 100vw;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: -1em
}

.goh-content-page{
    margin-bottom: 4em;
}

.content-limit {
    width: var(--content-width);
    display: grid;
    grid-template-columns: 50% 50%;
}

.goh-name-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    font-family: 'Roboto', sans-serif;
    padding: 0 10% 0 10%;
}

.goh-name-tag p{
    font-family: 'Oswald', sans-serif;
    font-size: 5.5em;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.goh-short-desc p{
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    font-weight: 200;
    line-height: 1;
    text-transform: uppercase;
    margin: 0.3em 0;
}

.goh-name-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5% 0 10%;
}

.goh-name-image img {
    max-height: 14em;
    width: auto;
}

.goh-name-image2 img {
    max-height: 13em;
    width: auto;
    bottom: -0.5em;
    position: relative;
}

.goh-title-header {
    height: 12em;
}

.goh-text-box {
    background-color: #ffffff;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    margin-bottom: 4em;
}

.goh-text-box p {
    padding: 5%;
    font-size: var(--font-size-p);
    color: #000000;
    font-family: 'Roboto';
    font-weight: 400;
    text-align: justify;
    margin: 0;
}

.goh-last {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   Organized by size (largest to smallest)
   ======================================== */

/* Large tablets and small desktops */
@media (max-width: 1023px) {
    :root {
        --content-width: 80%;
    }
    .navbar-container {
        grid-template-columns: 20% 60% 20%;
        padding: 0 1em;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
        justify-content: center;
    }
    
    .navbar-logo {
        justify-content: flex-start;
        align-items: center;
    }
    
    .navbar-action {
        justify-content: flex-end;
        align-items: center;
    }
    
    /* Ensure logo and language button maintain their positions */
    .navbar-logo .logo {
        height: 5em;
        margin-top: 0.75em;
    }
    
    .language-button {
        width: 2.5em;
        height: 2.5em;
    }

    #mainContent {
        margin: 3.7em 0 3em 0;
    }
    
    /* Responsive scaling for pedestal elements */
    .pedestal_item {
        max-width: 20em;
    }
    
    .pedestal img {
        max-width: 18em;
    }
    
    .item_image {
        max-width: 6em;
    }

    .welcome-content-text {
        padding-left: 20%;  
    }
    .welcome-content-image {
        padding: 1em 10% 0 15%;
    }
    
    .anormalia_logo img {
        padding-top: 5%;
    }
    /* Responsive grid: 3 columns on tablets */
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

/* Tablets and small laptops */
@media (max-width: 768px) {
    :root {
        --content-width: 89%;
        --font-size-p: 0.9em;
        --content-margin: 0 1em;
    }

    .navbar-container {
        padding: 0 15px;
        height: 60px;
        grid-template-columns: 25% 50% 25%;
    }
    
    .navbar-logo {
        justify-content: flex-start;
        align-items: center;
    }
    
    .navbar-logo .logo {
        height: 4em;
        margin-top: 0.5em;
    }
    
    .navbar-action {
        justify-content: flex-end;
        align-items: center;
    }
    
    .language-button {
        width: 2em;
        height: 2em;
    }
    
    .hamburger-button {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .mobile-nav {
        top: 60px;
    }
    
    /* Mobile responsive scaling for pedestal elements */
    .pedestal_item {
        max-width: 12em;
    }
    
    .pedestal img {
        max-width: 10em;
    }
    
    .item_image {
        max-width: 3.5em;
    }
    
    .glow {
        width: 280%;
        left: -90%;
        top: -120%;
    }

    .anormalia_logo img {
        padding-top: 8%;
        max-width: 180%;
        left: -40%;
    }

    .welcome-content {
        display: flex;
        flex-direction: column;
    }

    .welcome-content-text {
        padding: 5%;
    }
    .welcome-content-image {
        padding: 0 10% 5% 10%;
    }

    .collaborator-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5em;
    }

    /* Allow multiple lines for hotel name and direction on mobile */
    .hotel-title h1,
    .hotel-title h2 {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .rules-content {
        padding: 1em 2em;
    }

    #rulesContent {
        margin-top: 6em;
        margin-bottom: 7em;
    }

    #gohContent {
        margin-top: 3.75em;
    }

    #privacyContent {
        margin-top: 6em;
        margin-bottom: 7em;
    }

    /* Mobile responsive adjustments for footer */
    .social-buttons {
        gap: 1em;
    }
    
    .social-button {
        width: 2.2em;
        height: 2.2em;
    }
    
    .social-button svg,
    .social-button img {
        width: 1.3em;
        height: 1.3em;
    }
    
    .container {
        padding: 0;
    }
    
    .content-section {
        padding: 0em;
        margin: 0 auto;
    }
    
    /* Mobile responsive adjustments for collapsible chapters */
    .chapter-header {
        padding: 0.8em 1em;
    }
    
    .chapter_title {
        font-size: 1.3em;
    }
    
    .chapter_subtitle {
        font-size: 1em;
    }
    
    .chapter-toggle {
        font-size: 1.3em;
    }
    
    .chapter:not(.collapsed) .chapter-content {
        padding: 1em;
    }
    /* Responsive grid: 2 columns on mobile */
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
        gap: 0.75em;
    }
    
    .responsive-grid-new {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(1, auto);
        gap: 0.75em;
    }

    /* GoH section responsive adjustments for 768px and below */
    .goh-section-title {
        height: 4em;
        padding: 0.5em 0;
    }
    
    .goh-title {
        font-size: 2em;
        padding-left: 5%;
    }
    
    .goh-exclamation-mark {
        font-size: 3.5em;
        padding-bottom: 0;
    }
    
    .goh-alert-icon-container,
    .goh-alert-icon {
        height: 1.8em;
    }
    
    .goh-alert-text {
        font-size: 1.8em;
    }
    
    .goh-name {
        grid-template-columns: 1fr;
        min-height: auto;
    }
        
    .goh-name-tag {
        font-size: 2em;
    }
    
    .goh-title-image {
        padding-right: 5%;
    }
    
    .name-tag-left,
    .name-tag-right {
        font-size: 1.2em;
    }
    
    .name-tag-left {
        margin-right: 40%;
        top: -15em;
    }
    
    .name-tag-right {
        margin-left: 40%;
        top: -8em;
    }
    
    .goh-img-div {
        top: -23.5em;
    }
    
    .goh-img {
        height: 38vh;
        max-height: 300px;
    }
    
    .goh-2 {
        height: 32vh;
        max-height: 260px;
        top: -5vh;
        left: 0;
    }

    .content-limit {
        width: 100%;
    }
    .goh-name-info {
        padding: 0 5%
    }

    .grid-item-empty {
        display: none;
    }

    .goh-img-main {
        top: -0.5em;
    }

    .goh-title-header {
        height: 10em;
    }

    .goh-name-tag p {
        font-size: 2em;
    }

    .goh-short-desc p {
        font-size: 1em;
    }

    .goh-name-image{
        padding:9% 10% 0 0;
    }

    .goh-name-image img {
        max-height: 9.5em;
    }

    .goh-name-image2 img {
        max-height: 10em;
        bottom: -0.6em;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --content-width: 98%;
        --font-size-p: 0.8em;
    }

    .navbar-logo .logo {
        height: 3em;
        margin-top: 1.5em;
    }

    .navbar-list {
        gap: 15px;
    }
    
    .navbar-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .navbar-button {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 60px;
    }
    
    /* Extra small screen responsive scaling for pedestal elements */
    .pedestal_item {
        max-width: 10em;
    }
    
    .pedestal img {
        max-width: 8em;
    }
    
    .item_image {
        max-width: 2.5em;
    }
    
    .glow {
        width: 250%;
        left: -75%;
        top: -100%;
    }

    .anormalia_logo img {
        padding-top: 10%;
        max-width: 160%;
        left: -30%;
    }

    .welcome-content-image {
        padding: 0 5% 5% 5%;
    }

    /* Welcome titles responsive adjustments for 480px and below */
    .welcome-title_1 h1, .welcome-title_2 h1 {
        font-size: clamp(1.1em, 3.2vw, 2.0em);
        padding: 0.3em 0.2em 0 0.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.1;
    }

    .welcome-title_2 h1 {
        padding: 0 0.2em 0.3em 0.2em;
    }

    .rules-content {
        padding: 1em 0.5em;
    }

    .rules-navigation-container {
        padding: 0 1em 0.5em 1em;
    }
    /* Responsive grid: 1 column on small mobile */
    .responsive-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(12, auto);
        gap: 0.5em;
    }

    .responsive-grid-new {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
        gap: 0.5em;
    }

    /* GoH section extra small screen adjustments */
    .goh-title {
        font-size: 1.5em;
    }
    
    .goh-exclamation-mark {
        font-size: 2.5em;
    }
    
    .goh-alert-text {
        font-size: 1.4em;
    }
    
    .name-tag-left,
    .name-tag-right {
        font-size: 1em;
    }
    
    .name-tag-left {
        top: -14em;
    }
    
    .name-tag-right {
        top: -8em;
    }
    
    .goh-img-div {
        top: -20em;
    }
    
    .goh-img {
        height: 30vh;
        /* max-height: 220px; */
    }

    .goh-1 {
        left: -1em;
    }
    
    .goh-2 {
        height: 26vh;
        /* max-height: 200px; */
        top: -2em;
    }

    .grid-item-empty {
        display: none;
    }

    .goh-white-box {
        height: 48vw;
    }
    .goh-img-main {
        width: 120vw;
    }

    .know_them_button {
        padding: 0.25vw 0.5vw;
        font-size: clamp(0.8em, 2vw, 2em);
        top: -9vw;
    }

    .goh-title-header {
        height: 8em;
    }

    .goh-name-tag p {
        font-size: 1.5em;
    }

    .goh-short-desc p {
        font-size: 0.8em;
    }

    .goh-name-image {
        padding: 9% 10% 0 0;
    }

    .goh-name-image img {
        max-height: 8em;
    }

    .goh-text-box {
        height: auto;
        margin-bottom: 2em;
    }

    .goh-web {
        margin-bottom: 2em;
        overflow-x: clip;
    }

    .goh-img-page {
        width: 120vw;
    }
}

.navbar-link.active {
    font-weight: 700;
}

.mobile-nav-link.active {
    font-weight: 700;
}

.mobile-nav-toggle.active {
    font-weight: 700;
}

/* Placeholder pages: menu entries are visible but disabled */
.navbar-link.disabled,
.mobile-nav-link.disabled {
    color: #6b6b6b;
    pointer-events: none;
    cursor: default;
}

.navbar-link.disabled:hover,
.mobile-nav-link.disabled:hover {
    font-weight: 300;
    background-color: transparent;
}

/* A group whose children are all placeholder pages is hidden entirely */
.navbar-item.has-submenu.disabled,
.mobile-nav-group.disabled {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none!important;
    }
}

.buy-ticket-anormaly {
    color: #e0e0e0;
    line-height: 0.5;
    font-size: 2px;
    padding: 0;
    margin: 0;
}

.active-link {
    font-weight: 700;
}

.chapter_content a[href],.hotel-content a[href], .about-us-content a[href] {
    color: var(--link-text-color);
    text-decoration: none;
    background-color: #333333;
    padding: 0.3rem;
    line-height: 2.1;
}

.chapter_content a[href]:hover, .hotel-content a[href]:hover, .about-us-content a[href]:hover {
    background-color: #1a1a1a;
    filter: brightness(1.05);
}

/* Floppy disk easter egg */
.x7f3a {
    display: inline-block;
    box-sizing: content-box;
    width: 1.1em;
    height: 1.1em;
    margin: 0 0.15em;
    padding: 1px;
    background-color: #ffffff;
    border-radius: 2px;
    vertical-align: -0.2em;
    cursor: pointer;
    image-rendering: pixelated;
}

.x7f3a-note {
    position: fixed;
    left: 0;
    right: 0;
    top: 35%;
    transform: translateY(-50%);
    z-index: 100000;
    padding: 0.35em 0.75em;
    background-color: #000000;
    border-top: 2px solid #ff2a2a;
    border-bottom: 2px solid #ff2a2a;
    color: #ff5f5f;
    font-family: 'EEText', monospace;
    font-size: clamp(8px, 1.2vw, 14px);
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

/* Respect the user's reduced motion preference: keep state changes instant and
   stop the decorative/loading animations. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Placeholder / coming soon pages */
.coming-soon {
    padding: 5em 2em;
    text-align: center;
}

.coming-soon-text {
    margin: 0;
    color: #1a1a1a;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.4em, 3.5vw, 2.2em);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

