    body 
    { 
      font-family: 'Montserrat', Arial, sans-serif; 
      margin:0; 
      background:#f4f4f4; 
      color: #222;
    }
    header 
    { 
      display:flex;
      background:url('/content-images/migdal-david.svg') center center / cover no-repeat ;
      background-size: 330px 120px; /* or use specific values like 300px 200px */
      background-color: #2e7d7b;
      /* background: #2e7d7b;  */
      color: #061d1c; 
      /* background-size: cover; */
      padding: 30px 0 20px;
      background-position:center top ;
      min-height: 120px;
      position: relative;
      


    }





    header nav {
    position: absolute;
    display: flex;
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    bottom: 10px;
    left: 50%;
    gap: 20px;
    height: 20px;
    padding-right: 10px;
  }

header nav a 
    { 
      text-align: center;
      color: #dadada; 
      /* margin-left: 24px;  */
      text-decoration: none; 
      font-weight: bold;
    }
    header h1 
    { 
      position: absolute;
      top: 10px;
      left: 10px;
      margin:0; 
      font-size:2.2em; 
      padding-left:30px;
      text-align: left;
    }
    .language-selector {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}

.language-selector select {
  padding: 5px 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #2e7d7b;
  color: #333;
}
    .hero {
      position: relative; 
      background:url('/content-images/jerusalem_view.jpg') center center/cover no-repeat; 
      height: 320px; 
      color: #fff;
      display:flex; 
      align-items:center;
      justify-content:left;
    }
    .hero-content {
      background: rgba(44,51,56, 0.7);
      padding: 30px 40px;
      margin-left:50px;
      border-radius:8px;
    }
    .hero-content h2 {margin-top:0; font-size:2.1em;}
    .cta-btn {
      display:inline-block; background:#fff; color:#2e7d7b; font-weight:bold; margin-top:16px; padding:12px 26px; border-radius:25px; text-decoration:none; transition:background 0.2s;
    }
    .cta-btn:hover { background: #b2dfdb; }
    .section 
    { 
      padding: 50px 20px; 
      max-width: 1200px; 
      margin: 0 auto; 
    }
    .flex-row 
    {
      display:flex; 
      flex-wrap:wrap; 
      gap:30px;
    }
    .about-me { flex:2; min-width:300px; }
    .about-img { flex:1; min-width:220px; border-radius:9px; background-size:cover; background-position:center; min-height:190px}
    
    
    
    .tours-list { display:grid; gap:28px; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); }
    
    .gallery 
    { 
      display:grid; 
      gap:14px; 
      grid-template-columns:repeat(auto-fit,minmax(720px,1fr)); 
    }
    .gallery img 
    { 
      width:100%; 
      border-radius:7px; 
      object-fit:cover; 
      height:120px;
    }
    form { background: #ffffff; padding:32px 24px; border-radius:10px; max-width:400px;}
    input, textarea {
      width: 100%; margin:9px 0 24px; padding:8px; border-radius:5px; border:1px solid #bbb; font-size:1em;
    }
    button { background:#2e7d7b; color:#fff; border:none; padding:10px 24px; font-weight:bold; border-radius:22px;}
    button:hover { background:#00897b;}
    footer { background: #222; color: #fff; text-align: center; padding:28px 0 16px;}
    .socials a { color:#fff; text-decoration: none; font-size:1.3em; margin:0 10px;}
    .socials a:hover { color:#b2dfdb;}



.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Card base */
.tour-card {
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.16);
  overflow: hidden;
  background: #f8f4ea;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 340px;
}

/* Title area */
.tour-title {
  background: linear-gradient(90deg, #FEF6DE 70%, #F7EBC3 100%);
  color: #533300;
  font-weight: bold;
  font-size: 1.17em;
  padding: 1em 1.2em 0.8em 1.2em;
  text-align: left;
  letter-spacing: 0;
  border-radius: 18px 18px 0 0;
  z-index: 2;
  min-height: 56px;
  box-shadow: 0 1px 7px rgba(0,0,0,.03);
}

/* Content area (part with image and text) */
.tour-content {
  position: relative;
  flex: 1 1 0px;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  overflow: hidden;
  background: #222;
}

/* Faded background image */
.bg-fade {
  position: absolute;
  inset: 0;
  background: var(--bg) center center/cover no-repeat;
  opacity: 0.85;
  filter: blur(2px) brightness(0.6);
  animation: slideBG 12s infinite alternate linear;
  z-index: 1;
  transition: opacity 0.3s;
}
@keyframes slideBG {
  0% { background-position: 60% center;}
  100% { background-position: 40% center;}
}

/* Text is always on top of fade image */
.tour-text {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: 1.2em 1.3em;
  border-radius: 0 0 18px 18px;
  box-sizing: border-box;
  backdrop-filter: blur(1px);
}

/* Main summary text */
.tour-text p {
  margin: 0 0 0.7em 0;
  font-size: 1em;
}

/* Show more button */
.expand-btn {
  background: #ffbd39;
  color: #442a00;
  border: none;
  font-weight: bold;
  padding: 0.43em 1.3em;
  border-radius: 17px;
  font-size: 1em;
  cursor: pointer;
  margin-bottom: 0.5em;
  margin-top:0.3em;
  transition: background 0.19s;
  display: inline-block;
  text-decoration: none;
}
.expand-btn:hover {
  background: #dfa51e;
}

/* Hidden collapsible text */
.more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.33s;
  color: #fcf0bf;
  margin-top: 0.1em;
}
.tour-card.active .more-content {
  max-height: 140px;
}


.carousel-circuito {
  background: #fff8e5;
  border-radius: 14px;
  padding: 1.2em;
  margin-bottom: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.circuito-gallery {
  display: flex;
  gap: 1em;
  margin-top: 1em;
  flex-wrap: wrap;
}
.circuito-gallery img {
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.11);
}


.tour-main-hero {
  background-position:center ;
  background-size:cover;
  background-repeat: no-repeat;
  padding: 3em 1em 2em 1em;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  min-height: 260px;
}
.tour-main-title {
  background: rgba(36,28,20,0.72);
  color: #fffbea;
  border-radius: 18px;
  padding: 2em 2em;
  text-align: center;
}
.tour-main-title h2{
    color:#2e7d7b; 
    margin-bottom:16px; 
    font-size: 2em;
} 
.circuito {
  background: #fff8e5;
  border-radius: 14px;
  padding: 1.2em;
  margin-bottom: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}


.carousel-container 
{
  max-width: 375px;
  max-height: 250px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.carousel-track 
{
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-item 
{
  flex: 0 0 75% ;
  padding: 10px;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: scale(0.75);
  opacity: 0.4;
}

.carousel-item.active 
{
  transform: scale(1);
  opacity: 1;
}

.carousel-item img 
{
  width: 100%;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}
.carousel-item p
 {
  text-align: center;
}

.carousel-buttons 
{
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-buttons button 
{
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
}

.carousel-buttons button:hover {
  background-color: rgba(0,0,0,0.8);
}

.button-articles {
  justify-content: left;
  background: #fff8e5;
  border: none;
  font-size: 0.9em;
  cursor: pointer;
  height: 30px;
  z-index: 1;
  color: #dfa51e;
 
}
.button-articles:hover{
 background: #fff8e5;
 color:#442a00
}
.circuit-list
{
  display: flex;
  flex-direction:column;
  gap: 0.5em;   /* or any px/rem value you like */
  /* Optional: remove default padding/margin if desired */
  padding-left: 2em;
  margin: 0;
}

.link-articles
{
  background: #fff8e5;
  font-size: 1em;
  cursor: pointer;
  height: 30px;
  z-index: 1;
  color: #dfa51e;
  text-decoration: none;
  

}
.link-articles:hover 
{
  background: #533300;
  color:#ebb43b;
  border-radius: 4px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}



h2 { color:#2e7d7b; margin-bottom:16px; }



.container {
  max-width: 680px;
  margin: 2.5em auto;
  background: white;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  padding: 2em 1.5em 2.5em 1.5em;
}

.intro {
  font-size: 1.1em;
  color: #6d4f0b;
  margin-bottom: 1.3em;
}
ul.attractions {
  list-style-type: disc;
  margin-left:1.7em;
  margin-bottom:1.2em;
}
.highlight {
  background: #fffaec;
  border-left: 5px solid #cfb55f;
  padding: 0.6em 1em;
  font-style: italic;
  margin: 1.3em 0;
}


.sources 
{
    font-size: 0.7em;
}

.articles-list
{
  list-style: none; 
  padding: 0; 
  max-width: 950px; 
  margin: auto;
}
.articles-list > li 
{
  /* display: flex; 
  align-items: flex-start;  */
  margin-bottom: 2em; 
  background: #fff8e5; 
  border-radius: 10px; 
  box-shadow: 0 2px 8px rgba(0,0,0,.08); 
  padding: 1em;
}

.articles-list li img
{
  width:350px;
  max-width:40vw;
  height:auto; 
  border-radius:8px; 
  margin-right: 1.3em; 
  flex-shrink:0;
}
.read-more {
  position: relative; 
  top: 1%;
  left: 10%;
  background:#b1a71a; 
  color:#fff8e5; 
  font-weight:50%; 
  border-radius:15px; 
  padding: 2px 24px;
}
.articles-list > li.prolog
{
  display: flex; 
  align-items: flex-start; 
  margin-bottom: 2em; 
  background: #ffffff; 
  border-radius: 10px; 
  box-shadow: 0 2px 8px rgba(0,0,0,.08); 
  padding: 1em;
  border: 2px solid #8c5e2e

}



.text-wrapper {
  overflow: hidden;
}

.text-wrapper img {
  float: left;
  margin: 0 20px 20px 0;
  width: 300px;
  height: auto;
}

/* Default: show everything on desktop */
.content-full {
  display: block;
}
.leer-mas-btn {
  display: none;
}
  .leer-mas-link {
    display: inline-block;
    background-color: #d7c593;
    text-decoration: none;
    color: white;
    padding: 2px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  .leer-mas-link:hover 
  {
     background-color: #725e28; /* Darker blue on hover */
  }


.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas */
  gap: 20px;
  padding: 10px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background-color: #f9f9f9;
  text-align: center;
  transition: transform 0.3s ease;
  max-width: 100%;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
 
  width: 100%; /* Ajusta la imagen al contenedor */
  height: 200px; /* Altura fija para uniformidad */
  object-fit: cover; /* Recorta la imagen si es necesario */
  border-bottom: 1px solid #ddd;

}

.gallery-info {
  padding: 10px;
  font-size: 14px;
}

gallery-item.add-new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    cursor: pointer;
    border: 2px dashed #aaa;
    height: 200px;
}

.gallery-item.add-new .add-icon {
    font-size: 48px;
    color: #007bff;
}

/* .gallery-item.add-new p {
    margin-top: 10px;
    font-weight: bold;
    color: #007bff;
} */
.gallery-item.add-new {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically (optional) */
}

/* Mobile: hide full content initially */
@media (max-width: 767px) {

  header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinea el contenido al fondo */
    align-items: center;       /* Centra horizontalmente */
    position: relative;
    min-height: 120px;

  }

    header h1 
    { 
      position: absolute;
      margin:0; 
      top: 10px;
      left: 10px;
      font-size:1.2em; 
      padding-left:10px;
      text-align: left;
      justify-content: left;  
    }
   
 header nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 20px;
    padding-right: 10px;
    margin-bottom: 0px; 
    width: 100%;
    }

    

    .section 
    { 
      padding: 50px 20px; 
      max-width: 767px; 
      margin: 0 auto; 
    }
  .content-full {
    display: none;
  }
  .leer-mas-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #105a0a;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
  }


  .content-full.show {
    display: block;
  }
    .articles-list > li {
    flex-direction: column;
    align-items: stretch;
  }
  .articles-list li img {
    margin-right: 0;
    margin-bottom: 1em;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .container {
    padding: 1em 0.3em 1.2em 0.3em;
  }
    .flex-row
    { 
      flex-direction:column;
    } 
    .about-img
    {
      min-height:250px;
    } 
    .carousel-container 
    {
      max-width: 75%;
      max-height: 250px;
      margin: auto;
      overflow: hidden;
      position: relative;
    }

    .carousel-item img {
      max-height: 100px;
    }
    .hero-content {
      background: rgba(44,51,56, 0.7);
      padding: 30px 40px;
      margin-left:50px;
      border-radius:8px;
    }
    .hero-content h2 {margin-top:0; 
      font-size:1.2em;
    }
    .hero-content p 
    {
      font-size: 0.8em; 
    }

    .cta-btn {
      display:inline-block; 
      background:#fff; 
      color:#2e7d7b; 
      font-weight:bold; 
      margin-top:16px; 
      padding:6px 13px; 
      border-radius:25px; 
      text-decoration:none; 
      transition:background 0.2s;
    }

    gallery-item {
        width: 100%;
        margin: 0 auto;
      }

      .gallery-info {
        font-size: 16px;
      }

  .gallery-container {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
    }
    .language-selector {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 1000;
  }

}
