/* =========================================
   AREA.CSS
   Páginas de área: Diseño / Arte / Fotografía
========================================= */

body.page.body-area {
    background: #efefef;
}

.area-page {
    padding: 70px 20px 120px;
}

.area-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.area-article {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================
   Encabezado
========================================= */

.area-header {
    margin-bottom: 40px;
}

.area-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 22px;
    max-width: 780px;
}

.area-subtitle {
    font-size: 18px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 0 30px;
}

/* =========================================
   Texto
========================================= */

.area-text-wrap {
    max-width: 760px;
}

.area-text-wrap p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 22px;
}

/* =========================================
   Imagen destacada
========================================= */

.area-featured-image {
    margin-bottom: 50px;
}

.area-featured-image img {
    width: 100%;
    display: block;
}

/* =========================================
   Carrusel de marcas (Diseño)
========================================= */

.brand-carousel-section {
    display: flow-root;
    transform: translateY(40px);
    margin-bottom: 140px;
    background: #ffffff;
    padding: 55px 0 50px;
}

.brand-carousel-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 40px;
    text-align: center;
}

.brand-carousel {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.brand-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollBrands 35s linear infinite;
}

.brand-item {
    width: 200px;
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

.brand-item img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.95;
    transition: 0.3s;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollBrands {
    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   Sección blanca (Arte / Fotografía)
========================================= */

.area-lines {
    background: #ffffff;
    padding: 60px 0;
    margin: 60px 0 80px;
}

.area-lines-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 40px;
    text-align: center;
}

.area-lines-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =========================================
   Secciones generales
========================================= */

.area-section {
    margin-top: 0;
}

.area-section-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px;
    text-align: center;
}

.area-section-intro {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 auto 38px;
    text-align: center;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 50px;
    max-width: 900px;
}

.area-grid-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.area-grid-item p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   Cierre
========================================= */

.area-closing {
    margin-top: 90px;
    padding-top: 35px;
    border-top: 1px solid rgba(0,0,0,0.12);
    text-align: center;
}

.area-closing h2 {
    font-size: 26px;
    margin: 0 auto 22px;
    max-width: 820px;
}

.area-closing p {
    font-size: 16px;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 auto;
}

/* =========================================
   CTA final
========================================= */

.area-cta-wrap {
    margin-top: 36px;
}

.area-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    min-height: 62px;
    padding: 16px 32px;
    background: #d8a800;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.area-cta-link:hover {
    background: #000000;
    color: #ffffff;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 768px) {
    .area-page {
        padding: 55px 18px 90px;
    }

    .area-title {
        font-size: 30px;
    }

    .area-subtitle,
    .area-text-wrap p,
    .area-section-intro,
    .area-grid-item p,
    .area-closing p {
        font-size: 15px;
        line-height: 1.8;
    }

    .brand-carousel-title,
    .area-lines-title,
    .area-section-title,
    .area-closing h2 {
        font-size: 24px;
    }

    .area-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .brand-carousel {
        width: 92%;
    }

    .brand-item {
        width: 150px;
    }

    .brand-item img {
        max-width: 110px;
        max-height: 48px;
    }

    .area-lines-inner {
        padding: 0 20px;
    }

    .area-cta-link {
        width: 100%;
        max-width: 320px;
    }
}

/* Espacio entre bloques dentro del contenido */
.area-content > * {
    margin-bottom: 32px;
}

.area-content > *:last-child {
    margin-bottom: 0;
}

/* Separación específica entre imagen y título */
.area-content figure,
.area-content .wp-block-image,
.area-content .wp-block-gallery {
    margin-bottom: 45px;
}

/* Separación entre bloques de contenido */
.area-content > * {
    margin-bottom: 40px;
}

.area-content > *:last-child {
    margin-bottom: 0;
}

/* Separación entre el bloque de marcas y la sección siguiente */
.brand-carousel-section {
    margin-bottom: 100px !important;
}

/* Entrada visual limpia para la siguiente sección */
.area-section {
    margin-top: 0 !important;
    padding-top: 24px;
}
.taller-card h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 16px;
    margin-bottom: 0;
}
.taller-card h3 {
    color: red !important;
}