html {
  font-size: 13px; /* Very small screens */
}


@media (min-width: 400px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 576px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: 19px;
  }
}

@media (min-width: 2100px) {
  html {
    font-size: 19px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}
 
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: min(100vw, 1920px);
  overflow-x: hidden;
  font-family: 'Roboto', 'Sans-Serif';
  color: #3a3a3a;
  color: white;
  font-size: 1rem;  /* Tied to html font-size */
  line-height: 1.6;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 150%;
  letter-spacing: +0.005em;
}

.body-lg {
  line-height: 150%;
  letter-spacing: +0.005em;
}


main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', 'Sans-Serif';
  color: black;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: 2.5rem;  /* ~32px to 47px depending on screen */
  font-weight: 700;
  color: #D4AF37; /* Metallic Gold */
  line-height: 110%;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #B8860B; /* Dark Goldenrod */
  line-height: 110%;
  letter-spacing: -0.02em;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #B08D57; /* Bronze Gold */
  line-height: 130%;
  letter-spacing: -0.015em;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #B08D57; /* Bronze Gold */
  line-height: 130%;
  letter-spacing: -0.015em;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #B08D57; /* Bronze Gold */
  line-height: 150%;
  letter-spacing: -0.005em;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  color: #B08D57; /* Bronze Gold */
  line-height: 150%;
  letter-spacing: 0em;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-bottom: 0.5em;
  line-height: 150%;
}

p.long::first-line{
  text-transform: uppercase;
  font-weight: 500;
}


caption{
  line-height: 160%;
  letter-spacing: +0.005em;
}

li{
  font-size: 1rem;  /* Tied to html font-size */
  line-height: 1.6;
  color: #222;
}

a {
  color: #827020;
  text-decoration: none;
  font-weight: 500; 
  line-height: 150%;
  letter-spacing: +0.5%;
  transition: all 0.2s ease-in-out; 
}

a:visited {
  color: #B8860B;
  color: #827020;
}

a:hover {
  background-color: #d4af37;
  background-color: #827020;
  background-color: transparent;
  color: white;
  color: #827020;
  font-weight: 900;
  text-decoration: none; 
}

a:active {
  color: #b08d57;
}


/*--------------------------------------------------------*/
/* footer styles */
footer {
  /* position: fixed;
  bottom: 0; */
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-items: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 5px;
  margin: 0;
  padding-top: 0px;
}


#footer-logo {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 15px;
}

@media (orientation: portrait) {
  #footer-logo {
    width: max(40px, 7vw); 
    height: auto;
  }
}

@media (orientation: landscape) {
  #footer-logo {
    height: max(40px, 7vh);
    width: auto;
  }
}

footer p {
  font-size: 0.6rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 0;
}

/* footer a {
  background-color: transparent;
}
footer a:visited {
  background-color: transparent;
}
footer a:hover {
  background-color: transparent;
}
footer a:active {
  background-color: transparent;
} */


@media (min-width: 360px) {
  .page-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }

  footer p {
    font-size: 0.6rem;
  }

}

@media (min-width: 480px) {

  .page-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  footer p {
    font-size: 0.6rem;
  }

}

/* --- SM: 576px to 767.98px --- */
@media (min-width: 576px) {
  /* SM portrait styles */

  .page-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer p {
    font-size: 0.6em;
  }

  .footer-divider{
    padding-top: 40px;
  }

}

/* --- MD: 768px to 991.98px --- */
@media (min-width: 768px) {
    
  .page-wrapper {
    /* Limit the content width for better readability on wide screens */
    max-width: 90%;
    padding-left: auto; /* Center the wrapper */
    padding-right: auto;
  }

  footer p {
    font-size: 0.7rem;
  }

}

/* --- LG: 992px to 1199.98px --- */
@media (min-width: 992px) {
  /* LG portrait styles */
}

/* --- Styles for Tablets (Landscape) & Desktops --- */
@media (min-width: 1024px) {

  .page-wrapper {
    /* Limit the content width for better readability on wide screens */
    max-width: 1200px;
    margin-left: auto; /* Center the wrapper */
    margin-right: auto;
  }

  footer p {
    font-size: 0.7rem;
  }

  .footer-divider{
    padding-top: 40px;
  }

}

/* --- XL: 1200px to 1399.98px --- */
@media (min-width: 1200px) {

  footer p {
    font-size: 0.7rem;
  }

}

/* --- XXL: 1400px and up --- */
@media (min-width: 1400px) {

  footer p {
    font-size: 0.8rem;
  }

}

@media (min-width: 2100px) {
  /* XXL portrait styles */

  footer p {
    font-size: 0.8rem;
  }

}

/* --- FOR PRINT --- */
@media print {
  body {
      background-color: #fff;
      color: #000;
      font-size: 12pt;
  }
  .container {
      box-shadow: none;
      border: 1px solid #ccc;
  }
  /* Hide elements not relevant for printing */
  nav, footer, .no-print {
      display: none;
  }
}
