/*

CSS Styles - Museu d'Història de Barcelona Application 
Author: Rodrigo Seoane - Over HTML5 Boilerplate Temple | http://www.initializr.com/

=-=-=-=-=-=-=- INDEX =-=-=-=-=-=-=-=-=-=

    1- HTML5 Boilerplate 
    2 - CUSTOM Styles
    3 - Media Queries
    4 - Helper Classes

=-=-=-=-=-=-=- /INDEX =-=-=-=-=-=-=-=-=-=

*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}*/

audio,
canvas,
img,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'Trajan Pro';
  src: url('../fonts/Trajan-Pro/TrajanPro-Regular.otf');
}

@font-face {
  font-family: 'Trajan Pro';
  font-weight: bold;
  src: url('../fonts/Trajan-Pro/TrajanPro-Bold.otf');
}

@font-face {
  font-family: 'Gotham';
  font-weight: 300;
  src: url('../fonts/Gotham/Gotham-Book.otf');
}

@font-face {
  font-family: 'Gotham';
  font-weight: 600;
  src: url('../fonts/Gotham/Gotham-Medium.otf');
}

@font-face {
  font-family: 'Gotham';
  font-weight: 800;
  src: url('../fonts/Gotham/Gotham-Bold.otf');
}

@font-face {
  font-family: 'Trade Gothic';
  font-weight: 300;
  src: url('../fonts/Trade-Gothic/TradeGothicLTStd-Bd2.otf');
}

@font-face {
  font-family: 'Trade Gothic Condensed';
  font-weight: 300;
  src: url('../fonts/Trade-Gothic/TradeGothicLTStd-Cn18.otf');
}

@font-face {
  font-family: 'Trade Gothic Medium';
  font-weight: 300;
  src: url('../fonts/Trade-Gothic/TradeGothicLTStd-Light.otf');
}

h1 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 1.75rem; /* ~28px for mobile */
  line-height: 2rem; /* ~32px */
  letter-spacing: 0.1rem;
  color: #6c5441;
}

h2 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 1.25rem; /* ~20px for mobile */
  letter-spacing: 0.03rem;
  color: #6c5441;
}

/* Tablet and up */
@media (min-width: 641px) {
  h1 {
    font-size: 2.5rem; /* ~40px */
    line-height: 2.75rem;
    letter-spacing: 0.12rem;
  }

  h2 {
    font-size: 1.75rem; /* ~28px */
    letter-spacing: 0.04rem;
  }
}

/* Desktop and up */
@media (min-width: 1025px) {
  h1 {
    font-size: 3.25rem; /* ~48px */
    line-height: 4.25rem;
    letter-spacing: 0.15rem;
  }

  h2 {
    font-size: 2rem; /* ~32px */
    letter-spacing: 0.05rem;
  }
}

h3 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 1.875rem; /* 30px - default for mobile */
  color: #fff;
  letter-spacing: 0.15rem;
}

/* Medium screens (tablets and up) */
@media (min-width: 641px) {
  h3 {
    font-size: 2.5rem; /* 40px */
  }
}

/* Large screens (desktops and up) */
@media (min-width: 1025px) {
  h3 {
    font-size: 3rem; /* 60px */
  }
}

h4 {
  font-family: 'Trajan Pro';
  font-size: 2.125rem; /* 34px */
  color: #816d59;
  letter-spacing: 0.15rem; /* already in rem */
  line-height: 4.875rem; /* 78px */
  margin: 0;
  padding: 0;
}

h4.subpunto5 {
  font-size: 24px;
}

h5 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 24px;
  color: #6c5441;
  letter-spacing: 0.1rem;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 0px;
}

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
  h5 {
    font-size: 36px;
    letter-spacing: 0.15rem;
    margin-top: 80px;
  }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  h5 {
    font-size: 26px;
  }
}

h6 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 50px;
  color: #6c5441;
  letter-spacing: 0.15rem;
  line-height: 78px;
  margin-top: 0px;
  margin-bottom: 45px;
}

/* =-=-=-=-=-=-=-= Structure -=-=-=-=-=-=-=-= */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

body {
  width: 100%;
   min-height: 100vh;
  /*overflow: hidden;*/
  /* cursor: none !important;*/
}

.containerHome {
  display: flex;
  flex-direction: column;
  background: url('../img/idiomas/Background_idiomas@2x-mobile.jpg') top left
    no-repeat;
  background-size: cover; /* Cover ensures the container is fully covered, preserving aspect ratio */
  min-height: 100vh; /* full viewport height for good visual impact */
}
.containerHome > :nth-child(2) {
  flex-grow: 1;
    align-items: center;
}

/* Tablets and up */
@media (min-width: 641px) {
  .containerHome {
    background-image: url('../img/idiomas/Background_idiomas@2x.jpg');
    background-repeat: no-repeat; /* no repeat on big screens */
    background-position: top left;
    background-size: cover; /* keep cover so aspect ratio is preserved */
  }
}

/* Desktops and up */
@media (min-width: 1025px) {
  .containerHome {
    background-repeat: no-repeat; /* no repeat on big screens */
    background-position: center top; /* center horizontally, top vertically */
    background-size: cover;
  }
}

.page-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  /*left: 162px;
    top: 163px;*/

  /*background: #dedede;*/
}

.flexslider {
  background: none !important;
  border: none !important;
  border-radius: 0px !important;
}

.row {
  display: flex;
  justify-content: center;
 /* margin: 0 auto;*/
}

.footer {
  display: flex;
  justify-content: space-between;
  background: url(../img/menu/footer.png) left -15px no-repeat;
  height: 60px;
  /*position: relative;*/
}
.footer ul {
  margin: 0px;
  padding: 0px;

  /*height: 60px;*/
}

/*
.footer ul li {
  display: inline-block;
  background: url(../img/menu/gold_vert_line.png) center right no-repeat;
  padding: 0rem 1rem;
  max-width: 160px;
  text-align: center;
}
*/
.footLang {
  white-space: nowrap; /* Prevent wrapping */
  /*overflow-x: auto;*/ /* Optional: adds scroll if it doesn't fit */
  display: flex; /* Use flex to keep items in a row */
  justify-content: center; /* Center horizontally */
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.footLang li {
   display: flex; /* Make it a flex container */
  align-items: center; /* Vertically center content */
  background: url(../img/menu/gold_vert_line.png) center right no-repeat;
  padding: 0rem 1rem;
  max-width: 160px;
  text-align: center;
  height: 60px;
  white-space: nowrap; /* Prevent wrapping of text inside <li> */
}


@media (min-width: 641px) {
  .footer ul li {
    width: 136px; /* For tablets and up */
  }
}

.footer ul li.eng {
  background: none;
}
.footer a {
  font-family: 'Gotham';
  font-size: 1rem; /* Default for small devices */
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer a {
    font-size: 1.7rem; /* Larger screens */
  }
}
.footer a.active {
  color: #6c5441;
}
/* =-=-=-=-=-=-=-= /Structure -=-=-=-=-=-=-=-= */

/* =-=-=-=-=-=-=-= Style -=-=-=-=-=-=-=-= */

.dark-bg {
  background: #1a1a1a;
}

/*=-=-=-=- CREDITS =-=-=-=-=-=*/
.rowcredits {
  margin: 0 auto;
}
.creditsTopTitle {
  text-align: center;
  padding-top: 120px;
}

.contentCredits {

  text-align: center;
}

.contentCredits h1 {
  font-family: 'Trajan Pro';
  font-weight: bold;
  font-size: 28px;
  color: #6c5441;
  letter-spacing: 0.15rem;
  padding-top: 20px;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
}

.contentCredits p {
  font-family: 'Trade Gothic Medium';
  font-size: 28px;
  color: #6c5441;
  letter-spacing: 0rem;
  margin-top: 0px;
  padding-top: 10px;
}

.contentCredits p2 {
  font-family: 'Trade Gothic Condensed';
  font-size: 28px;
  color: #6c5441;
  letter-spacing: 0rem;
  margin-top: 0px;
}

/*=-=-=-=- Home =-=-=-=-=-=*/
.homeTopTitle {
  text-align: center;
  display: flex;
    flex-direction: column;
    align-items: center;
  /*padding-top: 120px;
  margin-bottom: 100px;
  */
}

.langButtons ul {
  display: flex;
  flex-wrap: nowrap; /* Don't wrap to new lines */
  justify-content: center;
  list-style: none;
  padding: 0 1rem; /* default horizontal padding for mobile & tablet */
  margin: 0;
 
}
/* On larger screens, remove horizontal padding */
@media (min-width: 1024px) {
  .langButtons ul {
    padding: 0;
  }
}

.langButtons ul li {
  flex: 1 1 0;
  max-width: 33.33%; /* 3 per row */
  text-align: center;
  margin-left: 12px;
  margin-right: 12px;
}

.langButtons ul li img {
  width: 100%; /* Shrink image to fit li */
  height: auto;
  max-width: 220px; /* Optional: set upper limit */
}

.langButtons a {
  font-family: 'Gotham', sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 2.5vw, 22px); /* responsive font size */
  color: #6c5441;
  text-decoration: none;
  text-transform: uppercase;
  /*margin-top: clamp(20px, 5vw, 50px); */ /* responsive spacing */
  display: block;
}
.homeLogo {
  /*width: 385px;
  height: 105px;*/
    max-width: 100%;
  max-height: 100px; /* or whatever fits your design */
  height: auto;
  width: auto;
  object-fit: contain;

}

/*=-=-=-=- Menu Principal =-=-=-=-=-=*/
#menuTitle {
  /*background: #444;*/
  /*height: 210px;*/
  margin-top: -60px; /* Mobile default: smaller margin */
}

/* Tablets and up */
@media (min-width: 641px) {
  #menuTitle {
    margin-top: -40px;
  }
}

/* Desktops and up */
@media (min-width: 1025px) {
  #menuTitle {
    margin-top: -30px;
  }
}
#menuTitle h3 {
  margin-bottom: 6px;
  padding-left: 1rem;
}

#menuTitle hr {
  width: 100%;
  display: block;
  border: none;
  border-top: 3px solid #816c59;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#menuTitle h2 {
  padding-left: 1rem;
}

.containerMenu {
  background: url(../img/menu/blu_background.png) 0px 354px no-repeat;
}

.flexslider {
  width: 100%;
  height: 100px; /* force the desired height */
  overflow: hidden;
  position: relative;
}

.flexslider .slides {
  height: 100%;
}

.flexslider .slides > li {
  height: 100%;
  display: block !important;
}

.flexslider .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills and crops if needed */
  display: block;
}

/* Medium devices (tablets) */
@media (min-width: 600px) {
  .flexslider {
    height: 140px;
  }
}

/* Larger tablets and small desktops */
@media (min-width: 900px) {
  .flexslider {
    height: 160px;
  }
}

/* Large desktops */
@media (min-width: 1200px) {
  .flexslider {
    height: 200px;
  }
}

/* Extra large screens */
@media (min-width: 1600px) {
  .flexslider {
    height: 260px;
  }
}

.rowMenu {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

ul.menuOptions {
  margin: 0 0 0 0;
  padding: 0;
}

ul.menuOptions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  list-style: none;
}

ul.menuOptions li.barcino {
  flex: 1 1 100%; /* Default: 1 column */
  max-width: 100%;
}

/* Tablets: 2 columns */
@media (min-width: 640px) {
  ul.menuOptions li.barcino {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}
/* Mobile devices only */
@media (max-width: 640px) {
  ul.menuOptions li.barcino {
    margin: 0px 10px; /* example margin, adjust as you want */
  }
}

/* Large screens: 3 columns */
@media (min-width: 1024px) {
  ul.menuOptions li.barcino {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

/* Extra large screens: 5 columns */
@media (min-width: 1440px) {
  ul.menuOptions li.barcino {
    flex: 1 1 calc(20% - 1rem);
    max-width: calc(20% - 1rem);
  }
}

/*ul.menuOptions li {
  display: inline-block;
  margin-right: 27px;
}*/

/*ul.menuOptions li.last {
  margin-right: 0 !important;
}
  */

ul.menuOptions p > a {
  display: block;
  width: 100%;
  max-width: 26.75em; /* 428px / 16 = 26.75em */
  height: auto; /* let the height grow with content */

  overflow: hidden;

  font-family: 'Gotham', sans-serif;
  font-size: 1.25em; /* ~20px assuming 16px base */
  color: #fff;
  text-decoration: none;
  padding: 1em 1em 0 1em; /* 16px top, 16px sides converted to em */

  box-sizing: border-box; /* ensure padding doesn't break width */
}

/* Optional: adjust font size responsively */
@media (max-width: 640px) {
  ul.menuOptions p > a {
    font-size: 1.4em; /* smaller text on small screens */
    padding: 1.5em 0.75em 0 0.75em;
  }
}

ul.menuOptions a {
}

.menu_btn_1 {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 463 / 202;
  background-image: url(../img/menu/options/btn_button1_normal.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain; /* Scales the image to fit inside while keeping aspect ratio **/
}
.menu_btn_2 {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 463 / 202;
  background-image: url(../img/menu/options/btn_button2_normal.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain; /* Scales the image to fit inside while keeping aspect ratio **/
}
.menu_btn_3 {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 463 / 202;
  background-image: url(../img/menu/options/btn_button3_normal.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain; /* Scales the image to fit inside while keeping aspect ratio **/
}
.menu_btn_4 {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 463 / 202;

  background-image: url('../img/menu/options/btn_button4_normal.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain; /* Scales the image to fit inside while keeping aspect ratio **/
}

.menu_btn_5 {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 463 / 202;
  background-image: url(../img/menu/options/btn_button5_normal.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain; /* Scales the image to fit inside while keeping aspect ratio **/
}

/*=-=-=-=- Menu Interno =-=-=-=-=-=*/
.containerNav {
  display: flex;
  flex-direction: column;
  min-height: 100vh;  /* at least full viewport height */
  background-image: url(../img/navMenu/background.jpg) ;
  background-size: cover;
     
}



.darkOverlay {
  background: rgba(30, 30, 30, 0.9);
  width: 100%;
  height: calc(100% - 60px);

  position: absolute;
  z-index: 400;

  visibility: visible;
}

.topbar {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;

  background: url(../img/navMenu/topbar.png) top left no-repeat;
}

.leftbar {
  float: left;
}

/* Mobile first: hide the rightbar */


  .rightbar {
    display: block;
    margin-right: 1em;
    width: auto;
    height: 100%;
     
  }

  .rightbar img {
    padding-top: 1rem;
    padding-right: 1rem;
    filter: brightness(0) invert(1);

    max-width: 100%;   /* image max width won't exceed container width */
    max-height: 70%;  /* image max height won't exceed container height */
    height: auto;      /* keep aspect ratio */
    width: auto;
  }

.backHome {
  background: url(../img/navMenu/gold_vert_line.png) right center no-repeat;
  display: inline-block;
  width: 140px;
  float: left;
  height: 100px;
}
.backHome img {
  position: absolute;
  top: 27px;
  left: 45px;
}
.containerNav > .topbar h4 {
  display: none !important;

  float: left;
  margin-left: 35px;
  padding-top: 12px;
}
/* Show on devices larger than or equal to tablets (min-width: 1024px) */
@media (min-width: 1024px) {
  .containerNav > .topbar h4 {
    display: block !important;
    font-size: 1rem;
  }
}

/* Show on devices larger than or equal to tablets (min-width: 768px) */
@media (min-width: 1280px) {
  .containerNav > .topbar h4 {
    font-size: 1.1rem;
  }
}

@media (min-width: 1452px) {
  .containerNav > .topbar h4 {
    font-size: 1.5rem;
  }
}

/* Show on devices larger than or equal to tablets (min-width: 768px) */
@media (min-width: 1536px) {
  .containerNav > .topbar h4 {
    font-size: 2.125rem;
  }
}

.asideSlider > .topbar h4 {
  float: left;
    margin-left: 35px;
  padding-top: 12px;
}

.clearfix {
  /*height: 100%;*/
  flex-grow: 1;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
/* Tablet and up (≥640px) */
@media (min-width: 640px) {
  .clearfix {
    flex-direction: row;
  }
}

.leftCollum {
   flex: 1 1 auto; /* grow, shrink, basis 0 */
   padding-bottom: 1em;
}

.rightCollum {
  margin-left: 3rem;
  margin-right: 3rem;
   flex: 1 1 0; /* grow, shrink, basis 0 */
}

@media (min-width: 992px) {
  .leftCollum {
    flex: 1 1 0; /* grow, shrink, basis 0 */
  }
}


.leftCollum p {
  font-size: 18px;
  line-height: 36px;
  text-align: justify;
  color: #6c5441;
}

/* Tablet screens */
@media (max-width: 1024px) {
  .leftCollum p {
    font-size: 20px;
    line-height: 32px;
  }
}

/* Mobile screens */
@media (max-width: 640px) {
  .leftCollum p {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Optional: spacing */
.leftCollum {
  margin-left: 1em;
  margin-right: 1em;
}
  
/* Mobile spacing */
@media (min-width: 640px) {
  .leftCollum {
    margin-left: 3em;
    margin-right: 1em;
  }
}
@media (min-width: 1280px) {
  .leftCollum {
    margin-left: 175px;
  }
}
.timeBar img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*=-=-=-=- Punto 1 =-=-=-=-=-=*/
.spiralWrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  /*width: 100%;*/
   align-items: center;
   /*aspect-ratio: 977 / 1100;*/ 
  /*min-width: 1080px;
  max-width: 1600px;*/
  /*aspect-ratio: 1 / 1;*/
  margin: 2rem 2rem;
 
}
/* Large screens: remove centering */
@media (min-width: 768px) {
  .spiralWrapper {
    align-items: flex-start; /* or unset, depending on your layout */
     margin: 6rem 6rem;
  }
}

/* SPIRAL 5 */
.spiralsFive {
  /*background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
  background-image: url('../img/navMenu/spiral5.png');*/
}

.spiralsFive a {
  /*position: absolute;
  transform: translate(-50%, -50%);
  */
  margin-top: 20px;
  font-family: 'Gotham', sans-serif;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
  text-decoration: none;
  color: #6c5441;
  width: 200px;
  text-align: left;
}
@media (min-width: 992px) {
  .spiralsFive a {
    width: unset;
  }
}

.spiralsFive .sub1level1 {
  /*transform: translate(-50%, -50%) translate(-20%, -40%);*/
}

.spiralsFive .sub1level2 {
  /*top: 41%;
  left: 7%;
  */
}
.spiralsFive .sub1level3 {
  /*
  top: 74%;
  left: 10%;
  */
}
.spiralsFive .sub1level4 {
  /*
  top: 93%;
  left: 58%;
  */
}
.spiralsFive .sub1level5 {
  /*
  top: 74%;
  left: 89%;
  */
}

/* SPIRAL 3 */
.spiralsThree {
  /*
   background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  background-image: url('../img/navMenu/spiral3.png');
  */
}

.spiralsThree a {
  /*position: absolute;
  transform: translate(-50%, -50%);
  */
  font-family: 'Gotham', sans-serif;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
  text-decoration: none;
  color: #6c5441;
  margin-top: 20px;
  width: 200px;
  text-align: left;
}
/* On larger screens, remove the max-width */
@media (min-width: 992px) {
  .spiralsThree a {
    width: unset;
  }
}

.spiralsThree .sub3level1 {
  /*top: 18%;
  left: 55%;
  */
}
.spiralsThree .sub3level2 {
  /*
  top: 47%;
  left: 5%;
  */
}
.spiralsThree .sub3level3 {
  /*
  top: 80%;
  left: 21%;
  */
}

/* SPIRAL 2 */
.spiralsTwo {
  /*
  background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
  background-image: url('../img/navMenu/spiral2.png');
  */
}



.spiralsTwo a {
  /*position: absolute;
  transform: translate(-50%, -50%);
  */
  margin-top: 20px;
  font-family: 'Gotham', sans-serif;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
  text-decoration: none;
  color: #6c5441;
  width: 200px;
  text-align: left;
}
@media (min-width: 992px) {
  .spiralsTwo a {
    width: unset;
  }
}

.spiralsTwo .sub5level1 {
  /*top: 18%;
  left: 24%;
  */
}
.spiralsTwo .sub5level2 {
  /*
  top: 53%;
  left: 6%;
  */
}

/* —————————————————————
   Interior Slider Container
   ————————————————————— */

.interiorSlider {
  position: absolute;
  top: 0;
  left: 100vw; /* start off-screen right */
  width: 100vw; /* mobile/tablet full width */
  transition: none; /* animation is manual via JS */
  z-index: 500;
  height: 100vh;
}
@media (min-width: 1025px) {
  .interiorSlider {
    width: 78vw;  /* narrower on wider screens */
  }
}

/* —————————————————————
   Inner Wrap (slides + topbar)
   ————————————————————— */
.wrapSlider {
  /* position: relative;*/
  width: 100%;
  height: 100%;
  flex:1;
  display: flex;
  flex-direction: column;
}

.wrapSlider:has(> .topbar) {
  height: 100vh;
}

/* Topbar sits at top, fixed height */
.wrapSlider > .topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  /*height: 100;*/
  /*padding: 1rem;*/

  /* background / shadow if desired */
}

/* Center the title horizontally */
.wrapSlider > .topbar h4 {
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding-left: 12px;
  
}

/* Back arrow on left */
.wrapSlider > .topbar a {
  flex: 0 0 auto;
}

/* —————————————————————
   Slide content area
   ————————————————————— */
.wrapSlider > .slideContent {
  height: calc(100vh - 160px);
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* height: 100%, width auto to maintain aspect ratio */

  /* full‑size bg image, cover */
  background-image: url(../img/navMenu/background.jpg) ;
  /*overflow-y: auto;*/
  /*overflow: hidden;*/
}

.backgroundTabletUp {
  background-image: url(../img/navMenu/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Override background for tablets and larger screens */
@media (min-width: 768px) {
  .backgroundTabletUp {
    background-image: url(../img/punto_5/Background_punto5_inside.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
}

/* Default background for small screens (mobile) */
.backgroundTabletUpiv {
  background-image: url(../img/navMenu/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Override background for tablets and larger screens */
@media (min-width: 768px) {
  .backgroundTabletUpiv {
    background-image: url(../img/punto_5/Background_punto5_puntos.png) !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
}

/* Default background for small screens (mobile) */
.backgroundTabletUpiv {
  background-image: url(../img/navMenu/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Override background for tablets and larger screens */
@media (min-width: 768px) {
  .backgroundTabletUpiv {
    background-image: url(../img/punto_5/Background_punto5_puntos.png) !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
}

/* Default background for small screens (mobile) */
.backgroundTabletUpvi {
  background-image: url(../img/navMenu/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Override background for tablets and larger screens */
@media (min-width: 768px) {
  .backgroundTabletUpvi {
    background-image: url(../img/punto_5/background_Segle-VI.png) !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
}

.background-vi {
  background-image: url(../img/navMenu/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Override background for tablets and larger screens */
@media (min-width: 768px) {
  .background-vi {
    background-image: url(../img/punto_5/background_Segle-VI.png) !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
}






/* By default, hide it */
.showTabletUp {
  display: none;
}

/* Show it on tablet and up */
@media screen and (min-width: 768px) {
  .showTabletUp {
    display: block;
  }
}


 

/* inside-center “.slider” styling */
.inside-center {
  height: 100%;
  padding-top: 30px;
}

/* —————————————————————
   Flexslider dots (if still using .flex-control-nav)
   ————————————————————— */
.flex-control-nav {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
}

/* tiny dots */
.flex-control-nav a {
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 50%;
}

/* active dot */
.flex-control-nav a.flex-active {
  background: #816d59;
}

/* —————————————————————
   Responsive tweaks
   ————————————————————— */
/* Tablet */
@media (max-width: 1023px) {
  .wrapSlider > .topbar h4 {
    font-size: 1.25rem;
  }
  .flex-control-nav {
    bottom: 1.5rem;
    left: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 599px) {
  .wrapSlider > .topbar {
    /*padding: 0.5rem;*/
  }
  .wrapSlider > .topbar h4 {
    font-size: 1rem;
  }
  .flex-control-nav {
    bottom: 1rem;
    left: 1rem;
    gap: 0.5rem;
  }
}
.punto_5_content {
            height: 100%;
            flex: 1;
            display: flex;
            flex-direction: row;
            /*max-width: 1200px;*/
            /*width: 100%;*/
             /*margin: 0 auto;*/
            position: relative;
            padding-left: 30px;
             /* height: calc(100vh - 80px);*/
             /* align-items: flex-start; *//* align items to the top-left */
             justify-content: space-between;
             /*height: 100%;*/
        }

 

  /* FIXED MENU BLOCKS - NUMBER POSITIONING */
                .menu-blocks-container {
          display: flex;
          flex-direction: column;
          width: 90%; /* Default for mobile */
         
        }

        /* Tablet and up */
        @media (min-width: 768px) {
          .menu-blocks-container {
            width: 60%;
          }
        }

        /* Desktop and up */
        @media (min-width: 1024px) {
          .menu-blocks-container {
            width: 40%;
          }
        }
        
        .menu-block {
            display: flex;
             flex: 1;
            background: #fff;
            overflow: visible;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-decoration: none;
            position: relative;
            height: 100%;
          
        }
        
        .menu-block:hover {
          /*  transform: translateY(-5px);*/
        }
        
        /* FIXED: Adjusted number positioning */
        .menu-block::before {
            content: '';               
            position: absolute;
            top: 50%;                  /* position halfway down */
            left:  0;                  /* at the left edge */
            transform: translate(-50%, -50%); /* shift left/up by half its own size */
            width:  60px;
            height: 60px;
            border-radius: 50%;
            background: #816d59;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Trajan Pro', serif;
            font-size: 2.5rem;
            font-weight: bold;
            color: #fff;
            z-index: 12;
            }
        .menu-block.mb3::before { content: '3'; }
        .menu-block.mb2::before { content: '2'; }
        .menu-block.mb1::before { content: '1'; }
        .menu-block.mb4::before { content: '1'; }
        .menu-block.mb5::before { content: '2'; }
        .menu-block.mb6::before { content: '3'; }
        .menu-block.mb7::before { content: '4'; }
        
        .menu-block-content {
            flex: 1;
            display: flex;
            justify-content: space-between;
            padding: 20px 20px 20px 80px; /* Increased left padding */
            align-items: center;
            position: relative;
             overflow: hidden; /* Prevent image overflow */
            border-bottom: 2px dotted #333;
            
            z-index: 1; /* Ensure content stays below number */
        }
        
              .menu-block p {
        font-family: 'Trajan Pro', serif;
        font-size: 1.4rem; /* Slightly smaller base font size for mobile */
        font-weight: bold;
        color: #816d59;
        margin: 0;
        padding-right: 10px;
        padding-left: 10px;
        flex: 1;
        position: relative;
      }

      /* Tablet and up (e.g. 768px+) */
      @media (min-width: 768px) {
        .menu-block p {
          font-size: 1.6rem;
          padding-right: 20px;
        }
      }

      /* Desktop and up (e.g. 1024px+) */
      @media (min-width: 1024px) {
        .menu-block p {
          font-size: 1.8rem;
        }
      }
       
        .menu-block img {
          max-height: 140px;
          width: auto;
          /*max-width: 100px;*/ /* optional: control width */
          object-fit: contain;
        }
        
        

.menu_block p {
  font-family: 'Trajan Pro';
  font-size: 34px;
  font-weight: bold;
  color: #816d59;
  position: absolute;
  left: 100px;
  top: 142px;
}

.menu_block2 p {
  font-family: 'Trajan Pro';
  font-size: 34px;
  font-weight: bold;
  color: #816d59;
  position: absolute;
  left: 100px;
  top: 100px;
}

.p5s1_inside_pointer1 {
  position: absolute;
  left: 255px;
  top: 380px;
}
.p5s1_inside_pointer2 {
  position: absolute;
  left: 255px;
  top: 430px;
}
.p5s1_inside_pointer3 {
  position: absolute;
  left: 260px;
  top: 520px;
}

.p5s2_inside_pointer1 {
  position: absolute;
  left: 160px;
  top: 410px;
}
.p5s2_inside_pointer2 {
  position: absolute;
  left: 120px;
  top: 480px;
}
.p5s2_inside_pointer3 {
  position: absolute;
  left: 180px;
  top: 490px;
}
.p5s2_inside_pointer4 {
  position: absolute;
  left: 220px;
  top: 520px;
}

.p5s1_title_img {
  width: 50px;        /* Mobile default */
  margin-bottom: 20px;
  margin-right: 20px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .p5s1_title_img {
    width: 150px;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .p5s1_title_img {
    width: 200px;
  }
}


.p5s1_pointer3 {
      position: absolute;
      left: 49%;
      top: 37%;
  
    }
  
    .p5s1_pointer2 {
        position: absolute;
        left: 49%;
        top: 46%;
    }
    .p5s1_pointer1 {
        position: absolute;
        left: 49%;
        top: 63%;
    }
/* ——————————————————
   Base slide styling
   —————————————————— */

/* ensure image-container vertically centers */
.slick-slide .image_container {
  flex: 1 1 auto; /* take up all vertical space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
 
  
}

/* fluid images */
.slick-slide img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
   max-height: 55vh;
  object-fit: cover;
}

/* ——————————————————
   “Centered” slide (the active one)
   —————————————————— */
.inside-center .slick-center {
  transform: scale(1); /* full‑size for center */
}

/* ——————————————————
   Captions
   —————————————————— */
.inside-center-caption {
  width: 100%;
  padding: 0; /* Mobile: no padding */
  box-sizing: border-box;
  margin-top: 1em;
}
/* Tablet and up */
@media (min-width: 768px) {
  .inside-center-caption {
    padding: 0 20px;
  }
}

.inside-center-caption p {
  /* base typography — will be overridden in media queries */
   font-size: 1rem;
    line-height: 1.4rem;
  color: #494643;
  text-align: left;
  margin: 0;
}



/* Tablets and up */
@media (min-width: 1025px) {
  .inside-center-caption h2 {
    font-size: 1.5rem;
    line-height: 2rem;
   
  }
  .inside-center-caption p {
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
  }
  .slick-dots li button:before {
    font-size: 60px;
  }
}

/* Large desktops and up */
@media (min-width: 1200px) {
  .inside-center-caption p {
    font-size: 1rem;  /* You can keep this or adjust as needed */
    line-height: 1.5rem;
  }
  .slick-dots li button:before {
    font-size: 80px;
  }
}

/* small variant if needed */
.inside-center-caption.small p {
  font-size: 16px;
}
/* ——————————————————
   Videos
   —————————————————— */

.image_container video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}


/* ——————————————————
   Dot navigation
   —————————————————— */
.slick-dots {
  /*position: relative;*/
 /* bottom: -30px; *//* lift the dots closer on smaller screens */
  padding-left: 20px;
  width: auto !important;
  text-align: left;
  z-index: 1;
}

.slick-dots li {
  margin: 0 8px;
}

.slick-dots li button:before {
  content: '•';
  font-size: 40px; /* default dot size */
  line-height: 1;
  opacity: 1;
  color: #fff;
}

.slick-dots li.slick-active button:before {
  color: #816d59;
}

.inside-center .slick-slide > div {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.ml-responsive {
    margin-left: 0; /* Default for mobile */
  }

  @media (min-width: 1024px) {
    .ml-responsive {
      margin-left: 400px; /* Applied on large screens */
    }
  }




.br_masInfo {
  
  height: 60px;
  background: url(../img/menu/gold_vert_line.png) center left no-repeat;
  z-index: 10;
  display: flex;
  padding-right: 10px;
  width: 100%;
  justify-content: end;
}

@media (min-width: 768px) {
  .br_masInfo  {
    padding-right: 30px;
  }
}


.br_masInfo h4 {
  font-family: 'Trade Gothic Condensed' !important;
  font-size: 1rem !important; /* Default for small devices */
  font-weight: normal !important;
  text-transform: none !important;
  color: #fff;
  padding: 11px 18px; /* horizontal padding remains 28px */
  max-height: 60px;
  line-height: normal;
  overflow: hidden;
}

@media (min-width: 768px) {
  .br_masInfo h4 {
    font-size: 32px !important; /* Larger screens */
  }
}

.br_masInfo h4 span {
  font-family: 'Trade Gothic Condensed';
  font-size: 20px;
  font-weight: normal;
  color: #fff;
}

.br_masInfo_arrow {
    width: 33px;
    height: 18px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile-first default */
.br_info_mini_panel {
  position: absolute;
  right: 10px;
  left: 10px;
  bottom: 20px;
  height: 250px;
  background: rgba(22, 22, 28, 0.9);
  z-index: 10;
  display: none;
  text-decoration: none;
  border-radius: 8px;
}

/* Medium screens and up (e.g., tablets, desktops) */
@media (min-width: 768px) {
  .br_info_mini_panel {
    left: auto;
    right: 0px;
    width: 455px;
    bottom: 100px;
  }
}

.br_info_mini_panel.h650 {
  height: 1050px;
}
.br_info_mini_panel.h750 {
  height: 1050px;
}
.br_info_mini_panel.doble {
  width: 1500px;
}

.br_info_mini_panel h4 {
  font-family: 'Trade Gothic Condensed' !important;
  font-size: 34px !important;
  color: #c4bbaa !important;
  padding: 40px 20px;
  text-transform: none !important;
  line-height: 1.2em;
  margin-bottom: 10px;
}

h4.small {
  font-size: 24px !important;
  line-height: 1.5em;
}

.br_info_mini_panel h5 {
  font-family: 'Trade Gothic Condensed' !important;
  font-size: 24px !important;
  color: #c4bbaa !important;
  padding: 0 20px;
  margin: 0;
}

.br_info_mini_panel p {
  font-family: 'Trade Gothic' !important;
  font-size: 20px !important;
  line-height: 26px !important;
  color: #c4bbaa !important;
  padding: 0px 20px;
  text-transform: none !important;
}

.br_info_big_panel {
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(100%, 49.4vw, 1265px);
  height: 100vh; /* Optional: adjust if not full height needed */
  background: rgba(22, 22, 28, 1);
  z-index: 10;
  display: none;
  text-decoration: none;
}

.br_info_big_panel_arrow {
  position: absolute;
  right: 67px;
  top: 40px;
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.br_info_big_panel .br_info_big_panel_insider {
  padding: 70px 10px 20px 10px; /* mobile default */
}

@media (min-width: 768px) {
  .br_info_big_panel .br_info_big_panel_insider {
    padding: 70px 10px 30px 10px;
  }
}

@media (min-width: 1200px) {
  .br_info_big_panel .br_info_big_panel_insider {
    padding: 50px 125px 100px 240px; /* desktop */
  }
}

.br_info_big_panel .br_info_big_panel_insider h4 {
  font-family: 'Trade Gothic Condensed';
  font-size: 2.5rem;
  line-height: 2.6rem;
  color: #fff;
  font-weight: normal;
}

.br_info_big_panel .br_info_big_panel_insider.h4 small {
  font-family: 'Trade Gothic Condensed';
  font-size: 2rem;
  line-height: 3rem;
  color: #fff;
  font-weight: normal;
}

.br_info_big_panel .br_info_big_panel_insider .insider_thumb {
  float: left;
  margin-right: 20px;
  margin-bottom: 60px;
}

.br_info_big_panel .br_info_big_panel_insider .insider_info_list {
  display: block;
  clear: both;
}

.br_info_big_panel .br_info_big_panel_insider .insider_info_list p {
  font-family: 'Trade Gothic';
  font-size: 1.3rem;
  padding-bottom: 1rem;
  color: #fff;
  border-bottom: 1px solid #836e59;
  font-weight: normal;
}

.insider_info_list strong {
  display: inline-block;
}

.br_info_big_panel .br_info_big_panel_insider .insider_location {
  float: left;
  font-family: 'Trade Gothic';
  font-size: 1.5rem;
  line-height: 2rem;
  padding-top: 60px;
  color: #fff;
  font-weight: normal;
  width: 275px;
  margin-right: 10px;
}

.br_info_big_panel .br_info_big_panel_insider .insider_location span {
  color: #836e59;
}

.br_info_big_panel .br_info_big_panel_insider .insider_map {
 /* position: absolute;*/
 /*width: 100%; */
 height: auto; 
 display: block;
  
}

.insider_map_pointer {
   /*position: absolute;*/
  right: 175px;
  bottom: 150px;
}

.insider_map_pointer1 {
  position: absolute;
  right: 116px;
  bottom: 206px;
}

.insider_map_pointer2 {
  position: absolute;
  right: 478px;
  bottom: 30px;
}

.insider_map_pointer3 {
  position: absolute;
  right: 290px;
  bottom: 160px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: '';
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.br_masInfo a {
  display: none;
}
.br_masInfo .active {
   display: flex;
  align-items: center;
}
.date {
  font-size: 26px;
  font-family: 'Trajan Pro', 'Times New Roman', Georgia, Serif;
  color: #6c5341;
  margin-top: 1em;
  font-weight: bold;
}
.year {
  float: left;
  width: 14%;
  text-align: center;
  margin-bottom: 0.5em;
}
.bar {
  background: #ede1c9;
}
.bar2 {
  position: relative;
  background: #6c5341;
  width: 14%;
  height: 38px;
  right: -7%;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  .ir a:after,
  a[href^='javascript:']:after,
  a[href^='#']:after {
    content: '';
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Responsive image */
.responsive-img {
  width: 99%;
  height: auto;
  max-width: 460px; /* optional: limit max width */
  display: block;
  /*margin: 0 auto;*/
}
.slideContent_vi {
            flex: 1;
            display: flex;
            flex-direction: column;
            background-image: url(../img/punto_5/Background_punto5_sVI.png);
            background-size: cover; /* Shows the whole image without distortion */
            background-repeat: no-repeat;
            background-position: top left;
            position: relative;
            /*height: 100%;*/
  }

 .slideContent_iv {
            flex: 1;
            display: flex;
            flex-direction: column;
            background-image: url(../img/punto_5/Background_punto5_puntos.png);
            background-size: cover; /* Shows the whole image without distortion */
            background-repeat: no-repeat;
            background-position: top left;
            position: relative;
            /*height: 100%;*/
        }



 @media (min-width: 1440px) {
  .credits {
    padding-right: 220px;
  }
}
