

.taller .title-container h3{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    margin: 0;
}

.taller h4{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: lighter;
    font-size: 1.4rem;
}

.taller .title-container h5{
    font-family: 'Lora';
    font-weight: lighter;
    font-size: 1.2rem;
    letter-spacing: 0%;

}

.taller .title-container h6{
    font-family: 'Lora';
    font-weight: lighter;
    font-size: 1.2rem;
    letter-spacing: 0%;
       margin: 0;
}

.taller p{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: lighter;
    font-size: 1rem;
}


/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/


.comunidad-hero {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    padding: 0;
    height: 40vh;
    min-height: 600px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;       
}

.comunidad-hero .container {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);   /* dark overlay */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    max-width: 100vw;
}


/* Hero Title */

.comunidad-hero .title-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;  
    width: 50%;
    height: 300px;
}


.comunidad-hero .title-container {
    padding-left: 5%;

}
.comunidad-hero .title-container h1 {
    font-family: 'Plus Jakarta Sans';
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    line-height: 120%;
    letter-spacing: -1%;
    width: 80%;

} 

.comunidad-hero .title-container h6 {
    font-family: 'Lora';
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    line-height: 120%;
    letter-spacing: -1%;
    width: 80%;

} 


.comunidad-hero .title-container p{
    font-family: 'Plus Jakarta Sans';
    font-size: 1.5rem;
    font-weight: lighter;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
    padding-right: 10%;
}

@media screen and (max-width: 900px) {
    .comunidad-hero {
        height: 50vh;
        min-height: 400px;
    }
    .comunidad-hero .title-container {
        width: 70%;
        height: auto;
        padding-left: 3%;
        align-items: flex-start;
        justify-content: center;
    }
    .comunidad-hero .title-container h1 {
        font-size: 2.5rem;
        width: 100%;
        margin-bottom: 10px;
    }
    .comunidad-hero .title-container h6 {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 10px;
    }
    .comunidad-hero .title-container p {
        font-size: 1.2rem;
        padding-right: 0;
    }
    
}


/*--------------------------------------------------------------
# Content Part 1
--------------------------------------------------------------*/
.taller-content-part-1{
    position: relative;
    z-index: 0;
    display: flex;
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    overflow: hidden;
}

.taller-content-part-1 .content-container{
    width: 50%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.taller-content-part-1 .content-container .title-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;  
    gap: 1rem;
    width: 100%;
}

.taller-content-part-1 .content-container .title-container h4{
    font-family: 'Lora';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: justify;
    margin-bottom: 1rem;
    line-height: 1.2;
}



.taller-content-part-1 .image-container{
    z-index: 2;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.taller-content-part-1 .image-container img{
        width: 500px;
        height: 600px;
        object-fit: cover;
        border-radius: 10px;
}

@media (max-width: 1024px) {
    .taller-content-part-1 {
        flex-direction: column;
        align-items: stretch;
        padding: 0 2vw;
        gap: 0;
    }
    .taller-content-part-1 .content-container,
    .taller-content-part-1 .image-container {
        width: 100%;
        padding: 3% 0;
    }
    .taller-content-part-1 .image-container img {
        width: 100%;
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .taller-content-part-1 {
        padding: 0 0.5rem;
    }
    .taller-content-part-1 .content-container,
    .taller-content-part-1 .image-container {
        padding: 2% 0;
    }
    .taller-content-part-1 .image-container img {
        height: 450px;
        max-width: 100%;
    }
}

.taller-content-part-1 .decoration-container {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    bottom: -70px;
    left: 15%;
    z-index: 1;
}

.taller-content-part-1 .decoration-container img {
    width: 340px;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 0;
}



/*--------------------------------------------------------------
# Slider Section
--------------------------------------------------------------*/
.taller-slider-section{
    background-color: var(--var-blue-montessori);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

/*--------------------------------------------------------------
# Quote Section
--------------------------------------------------------------*/

.quote-section{
    background-color: var(--var-green-montessori);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.quote-section .quote{
    background-color: inherit;
}

.quote-section .quote-text {
    color: rgb(255, 255, 255);
}


.quote-section .quote-author {
    color: rgb(255, 255, 255);
}

/*--------------------------------------------------------------
# Objetivos Section
--------------------------------------------------------------*/

.taller-objetivos{
    display: flex;
    background-color: var(--var-blue-light-montessori);
    color: #000000;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.taller-objetivos .title-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;  
    gap: 1rem;
    width: 100%;
    margin-bottom: 40px;
}

.taller-objetivos .title-container h3{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    margin: 0;
}

.taller-objetivos .title-container h5{
    font-family: 'Lora';
    font-weight: 300;
    font-size: 1.3rem;
    margin: 0;
    max-width: 800px;
    line-height: 1.5;
}

.taller-objetivos .title-container h6{
    font-family: 'Lora';
    font-weight: 300;
    font-size: 1rem;
    margin: 0;
    max-width: 800px;
    line-height: 1.5;
}


.taller-objetivos .content-container{
    width: 100%;
    padding: 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.taller-objetivos .content-container .diplomados-item{
    max-width: 350px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}   
.taller-objetivos .content-container .diplomados-item h4{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: lighter;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.taller-objetivos .content-container .diplomados-item p{
    font-family: 'Lora';
    font-weight: 300;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}
.taller-objetivos .image-container{
    width: 120px;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.taller-objetivos .image-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.taller-objetivos .button-container{
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.taller-objetivos .button-container img{
    width: 15px;
    height: 15px;
    object-fit: contain;
    transform: rotate(270deg);
}

/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/

.taller-video{
    position: relative;
    padding: 20px 20px;
    background-color: var(--var-green-montessori);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}
.taller-buttons-slider
{
    padding: 20px 20px;
    background-color: var(--var-green-montessori);
    text-align: center;
}
.taller-video {
  display: flex;
  flex-direction: column;
  align-items: center;    /* center vertically */
  justify-content: center; /* center horizontally */
  gap: 40px;
}

.taller-video-header{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.taller-video-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.taller-video-header p {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.taller-video-header .btn-primary {
  background-color: #1F5C81;
  color: #fff;
  border: none;
  font-weight: 400;
}

/* Transparent primary button */
.btn-primary-transparent {
    background: transparent;
    color: var(--var-blue-montessori, #1F5C81);
    border: 2px solid var(--var-blue-montessori, #1F5C81);
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
}
.btn-primary-transparent:hover,
.btn-primary-transparent:focus {
    background: var(--var-blue-montessori, #1F5C81);
    color: #fff;
}

.taller-video .video-wrapper {
  position: relative; 
  width: 80vw;
  max-width: 1200px;        /* limit width */      /* optional max for large screens */
  aspect-ratio: 16 / 9;    /* modern replacement for padding hack */
  overflow: hidden;
  background-color: #000;  /* fallback background */
  border-radius: 5px;
  margin:50px auto;
  
}

.taller-video .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures proper fill */
  border-radius: 5px;
}

.taller-video .decoration-container {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: -100px;
    right: 0px;
    z-index: 0;
}

.taller-video .decoration-container img {
    width: 340px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.taller-video .decoration-container img:nth-child(1) {
   position: relative;
    left: -40px;
}

.taller-video .decoration-container img:nth-child(2) {
   position: relative;
   top: 100px;
   width: 200px;
}


/*--------------------------------------------------------------
# Growth Areas Section
--------------------------------------------------------------*/
.growth-areas-section {
    background: var(--var-blue-light-montessori);
    padding: 48px 0;
}
.growth-areas-container {
    display: flex;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}
.growth-areas-left {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.growth-areas-label {
    font-family: 'Lora';
    text-align: left;
    color: #888;
    font-size: 1rem;
    font-weight: 500;
}
.growth-areas-title {
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 0.5em;
    font-size: 52px; 
    line-height: 1.3; 
    margin: 0 0 18px 0;
}
.growth-areas-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.growth-areas-right {
    flex: 2 1 480px;
    min-width: 320px;
}
.growth-areas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}
.growth-areas-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
}

/* Vertical divider after each icon except last item */
.growth-areas-list li:not(:last-child) .growth-area-icon {
    position: relative;
}
.growth-areas-list li:not(:last-child) .growth-area-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 125%;
    transform: translateX(-50%);
    width: 2px;
    height: 110px;
    background: #0C020926;
    z-index: 1;
}

.growth-area-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
}
.growth-area-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.growth-area-content h3 {
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 300;
    margin: 0 0 0.5em;
    font-size: 36px; 
    line-height: 1.3; 
    margin: 0 0 6px 0;
    color: #222;
}
.growth-area-content p {
    text-align: left;
    margin: 0;
    color: #444;
    font-size: 1.05rem;
}
/* Responsive */
@media (max-width: 900px) {
    .growth-areas-container {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    }

        .growth-areas-left, .growth-areas-right {
            max-width: 100%;
            min-width: 0;
        }
        .growth-areas-left {
            align-items: center;
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            text-align: center;
        }
        .growth-areas-title, .growth-areas-label, .growth-areas-actions {
            text-align: center;
            width: 100%;
            justify-content: center;
            align-items: center;
            display: flex;
            flex-direction: column;
        }
        .growth-areas-actions {
            flex-direction: row;
            gap: 12px;
        }

        .growth-areas-list li:not(:last-child) .growth-area-icon {
            position: relative;
        }
        .growth-areas-list li:not(:last-child) .growth-area-icon::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 125%;
            transform: translateX(-50%);
            width: 2px;
            height: 140px;
            background: #0C020926;
            z-index: 1;

        }
    }



/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.taller-gallery-section {
    background: #e9f0f5;
    padding: 48px 0 56px 0;
}
.taller-gallery-header {
    text-align: center;
    margin-bottom: 32px;
}
.taller-gallery-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.taller-gallery-header p {
    color: #444;
    font-size: 1.1rem;
    margin: 0;
}
.taller-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
    
.item1 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
}

.item2 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
}

.item3 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 3;
}

.item4 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-row-start: 4;
}

.item5{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 1;
}

.item6{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 1;
}

.item7{
   grid-column: span 2 / span 2;
   grid-row: span 4 / span 4;
    grid-column-start: 3;
}

.gallery-img-container {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.gallery-img-container img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
}

.item3 img {
    object-position: 0 10px;
}


@media (max-width: 1200px) {
    .taller-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
        gap: 20px;
    }
    .item1, .item2, .item3, .item4, .item5, .item6, .item7 {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 962px) {
    .taller-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
        gap: 14px;
    }

    .item3 img{
        object-position: 0 0;
    }
    .item1, .item2, .item3, .item4, .item5, .item6, .item7 {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 769px) {
    .taller-gallery-section {
        padding: 32px 0 36px 0;
    }
    .taller-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-img-container {
        min-height: 100px;
    }
    .item1, .item2, .item3, .item4, .item5, .item6, .item7 {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 480px) {
    .taller-gallery-section {
        padding: 18px 0 18px 0;
    }
    .taller-gallery-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gallery-img-container {
        min-height: 60px;
    }
    .item1, .item2, .item3, .item4, .item5, .item6, .item7 {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 768px) {
    .taller-gallery-section {
        padding: 32px 0 36px 0;
    }
    .taller-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 320px);
        gap: 14px;
    }
    .gallery-img-container {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .taller-gallery-section {
        padding: 18px 0 18px 0;
    }
    .taller-gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-img-container {
        min-height: 80px;
    }
}

/*--------------------------------------------------------------
# Taller Hero Section
--------------------------------------------------------------*/
.taller-hero-section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background: #F6BB3A;
    padding: 40px 32px 32px 32px;
    gap: 32px;
    align-items: flex-start;
}
.taller-hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 18px;
}
.taller-hero-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: left;
}


.taller-hero-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  text-align: left;
}

.taller-hero-title-container{
    width: 40%;
    max-width: 600px;
}

.taller-hero-highlight_container{
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.taller-hero-highlights {
  color: #ffffff;
  display: flex;
  gap: 32px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.taller-hero-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  max-width: 220px;
  text-align: left;
}
.taller-hero-icon {
  width: 40px;
  height: 40px;
  margin: 10px;
}
.taller-hero-highlight strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  color: #ffffff;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1.2;
}
.taller-hero-highlight p {
  font-family: 'Lora';
  font-weight: 400;
  color: #ffffff;
  font-size: 0.98rem;
  margin: 0;
}

.taller-hero-highlight-text {
  height: 150px;
}

.taller-hero-image {
  width: 100%;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.taller-hero-image img {
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
@media (max-width: 1200px) {
    .taller-hero-section {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 8px;
        gap: 18px;
    }
    .taller-hero-highlight-text {
        height: auto;
    }
    .taller-hero-content {
        flex-direction: column;
        gap: 18px;
    }
    .taller-hero-title-container,
    .taller-hero-highlight_container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .taller-hero-image img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .taller-hero-section {
        padding: 16px 2vw;
        gap: 10px;
    }
    .taller-hero-title-container,
    .taller-hero-highlight_container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .taller-hero-highlight-text {
        height: auto;
    }
    .taller-hero-highlight {
        max-width: 100%;
        font-size: 0.95rem;
    }
    .taller-hero-image img {
        max-width: 100%;
        border-radius: 8px;
    }

}