/* ============================================================
   DERMATOLOGIE 2026 — Scoped styles under .derm-2026
   ============================================================ */

/* --- Hero --- */
.derm-2026 .hero-2026 {
    background-image: url(../../images/bg-image/hero-bg.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 100px 25px 60px;
    min-height: 100%;
}
.derm-2026 .hero-2026 .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1116px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}
.derm-2026 .hero-2026 .hero-text {
    flex: 1 0 0;
    max-width: 451px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.derm-2026 .hero-2026 .hero-text h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0;
}
.derm-2026 .hero-2026 .hero-text h1 .accent {
    color: #30a3f1;
}
.derm-2026 .hero-2026 .hero-text .hero-desc {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}
.derm-2026 .hero-2026 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.derm-2026 .hero-2026 .btn-brand {
    background: #30a3f1;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 160px;
    min-height: 42px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    flex: 1 0 0;
    transition: opacity .2s;
}
.derm-2026 .hero-2026 .btn-brand:hover {
    opacity: .9;
    color: #fff;
    text-decoration: none;
}
.derm-2026 .hero-2026 .btn-outline {
    background: transparent;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 160px;
    min-height: 42px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    flex: 1 0 0;
    transition: color .2s;
}
.derm-2026 .hero-2026 .btn-outline:hover {
    color: #30a3f1;
    text-decoration: none;
}
.derm-2026 .hero-2026 .hero-illustration {
    flex: 1 0 0;
    min-width: 300px;
    position: relative;
    aspect-ratio: 641 / 405;
}
.derm-2026 .hero-2026 .hero-illustration img {
    position: absolute;
    top: 0;
    left: 12%;
    width: 112%;
    border-radius: 8px;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    box-shadow: 0 30px 45px -30px rgba(50,50,93,.25), 0 18px 36px -18px rgba(0,0,0,.1);
    background: rgba(255,255,255,.7);
}

/* --- Benefits --- */
.derm-2026 .benefits-2026 {
    background: #fff;
    padding: 50px 25px;
    position: relative;
}
.derm-2026 .benefits-2026 .benefits-cards {
    max-width: 1124px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.derm-2026 .benefit-card {
    flex: 1 0 0;
    min-width: 300px;
    height: 239px;
    position: relative;
    border-radius: 10px;
}
.derm-2026 .benefit-card-inner {
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    transform: translateY(-50%);
    height: 238px;
    background: #fff;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    border-radius: 16px;
    box-shadow: 0 0.1px 3px rgba(52,93,158,.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 40px 40px;
    overflow: hidden;
    background-image: url(../../images/dermatologue-2026/card-bg.jpg);
    background-size: cover;
    background-position: center;
}
.derm-2026 .benefit-card-inner .benefit-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}
.derm-2026 .benefit-card-inner h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #000;
    margin: 0;
}

/* --- Section titles (shared) --- */
.derm-2026 .section-header {
    max-width: 1116px;
    margin: 0 auto 35px;
    text-align: center;
}
.derm-2026 .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0 0 20px;
}
.derm-2026 .section-header h2 .accent {
    color: #30a3f1;
}
.derm-2026 .section-header p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}
.derm-2026 .section-header .divider {
    width: 170px;
    height: 4px;
    background: linear-gradient(90deg, rgba(162,214,249,.4) 0%, transparent 100%);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* --- SEO Vertical (zigzag blocks) --- */
.derm-2026 .seo-vertical {
    background: #fff;
    padding: 50px 25px;
}
.derm-2026 .seo-vertical.bg-light {
    background: #fff;
}
.derm-2026 .seo-contents {
    max-width: 1116px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.derm-2026 .h3-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}
.derm-2026 .h3-block .h3-illustration {
    flex: 1 0 0;
    min-width: 300px;
    max-width: 356px;
    height: 180px;
    border-radius: 16px;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    overflow: hidden;
    position: relative;
}
.derm-2026 .h3-block .h3-illustration img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    display: block !important;
}
.derm-2026 .article-card .article-illustration img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    display: block !important;
}
.derm-2026 .presentation-block .presentation-illustration img {
    height: 100% !important;
    max-width: none !important;
}
.derm-2026 .h3-block .h3-copy {
    flex: 1 0 0;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.derm-2026 .h3-block .h3-copy h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0;
}
.derm-2026 .h3-block .h3-copy p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

/* --- Reviews --- */
.derm-2026 .reviews-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1116px;
    margin: 0 auto;
}
.derm-2026 .review-card-wrap {
    width: 546px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.derm-2026 .review-card-wrap.offset-top { padding-top: 30px; }
.derm-2026 .review-card-wrap.offset-bottom { padding-bottom: 30px; }
.derm-2026 .review-card {
    background: #fff;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    border-radius: 16px;
    box-shadow: 0 30px 45px -30px rgba(50,50,93,.25), 0 18px 36px -18px rgba(0,0,0,.1);
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    overflow: hidden;
}
.derm-2026 .review-card .review-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 52px;
}
.derm-2026 .review-card .review-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.derm-2026 .review-card .review-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    padding: 9px 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.derm-2026 .review-card .review-body {
    display: flex;
    align-items: flex-start;
}
.derm-2026 .review-card .review-body .quoters {
    width: 22px;
    height: 14px;
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 3px;
}
.derm-2026 .review-card .review-body p {
    font-family: 'Nunito Sans', sans-serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    margin: 0;
    text-indent: 0;
    text-align: left;
}

/* --- CTA Section --- */
.derm-2026 .cta-2026 {
    background: #ebf7ff;
    padding: 50px 25px;
}
.derm-2026 .cta-2026 .cta-inner {
    max-width: 1116px;
    margin: 0 auto;
    background: #30a3f1;
    border-radius: 16px;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    padding: 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 48px;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url(../../images/dermatologue-2026/cta-bg.jpg);
    background-size: cover;
    background-position: center;
}
.derm-2026 .cta-2026 .cta-inner h3 {
    flex: 1 0 0;
    min-width: 320px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
}
.derm-2026 .cta-2026 .btn-cta {
    background: #fff;
    color: #358dde;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    min-width: 220px;
    max-width: 280px;
    min-height: 42px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    flex: 1 0 0;
    position: relative;
    z-index: 1;
    transition: opacity .2s;
}
.derm-2026 .cta-2026 .btn-cta:hover {
    opacity: .9;
    text-decoration: none;
    color: #358dde;
}
/* Dark variant CTA */
.derm-2026 .cta-2026.cta-dark .cta-inner {
    background: #000;
    background-image: url(../../images/dermatologue-2026/cta-dark-bg.jpg);
    background-size: cover;
    background-position: center;
}
.derm-2026 .cta-2026.cta-dark .btn-cta {
    background: #30a3f1;
    color: #fff;
}
.derm-2026 .cta-2026.cta-dark .btn-cta:hover {
    color: #fff;
}

/* --- SEO Horizontal (3 columns) --- */
.derm-2026 .seo-horizontal {
    background: #ebf7ff;
    padding: 50px 25px;
}
.derm-2026 .seo-horizontal .seo-h-contents {
    max-width: 1116px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.derm-2026 .article-card {
    flex: 1 0 0;
    min-width: 244px;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.derm-2026 .article-card .article-illustration {
    width: 100%;
    max-width: 356px;
    height: 180px;
    border-radius: 16px;
    border: 1.5px solid rgba(162, 214, 249, 0.4);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.derm-2026 .article-card .article-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}
.derm-2026 .article-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0;
}
.derm-2026 .article-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #2c2c3a;
    margin: 0;
}

/* --- Background transition --- */
.derm-2026 .bg-transition {
    height: 80px;
    position: relative;
    overflow: hidden;
}
.derm-2026 .bg-transition.white-to-blue {
    background: linear-gradient(to bottom, #fff, #ebf7ff);
}
.derm-2026 .bg-transition.blue-to-white {
    background: linear-gradient(to bottom, #ebf7ff, #fff);
}

/* --- Presentation blocks (large illustrations 400px) --- */
.derm-2026 .presentation-block .presentation-illustration {
    height: 400px;
    max-width: 546px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.derm-2026 .presentation-block .presentation-illustration.blue-bg {
    background: #30a3f1;
}
.derm-2026 .presentation-block .presentation-illustration.dark-bg {
    background: #003a61;
}
.derm-2026 .presentation-block .presentation-illustration.light-bg {
    background: #fff;
}
.derm-2026 .presentation-block .presentation-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.derm-2026 .h3-copy h3.h2-size {
    font-size: 28px;
}

/* --- Press section FULL 2026 --- */
.derm-2026 .press-2026-full {
    padding: 50px 25px;
    text-align: center;
    max-width: 1166px;
    margin: 0 auto;
}
.derm-2026 .press-2026-full h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0 0 30px;
}
.derm-2026 .press-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1116px;
    margin: 0 auto 30px;
}
.derm-2026 .press-logo {
    flex: 1 0 0;
    min-width: 162px;
    height: 85px;
}
.derm-2026 .press-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.derm-2026 .press-testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1116px;
    margin: 0 auto;
}
.derm-2026 .press-col {
    flex: 1 0 0;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.derm-2026 .press-testimonials .review-card {
    box-shadow: 0 2px 22px rgba(52,93,158,.16), 0 2px 4px rgba(52,93,158,.12);
}
.derm-2026 .review-name-stars {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.derm-2026 .review-specialty {
    font-size: 14px;
    font-weight: 600;
    color: #7d7d93;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.derm-2026 .stars {
    width: 102px;
    height: 21px;
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* --- Tablet (< 992px) --- */
@media (max-width: 991px) {
    .derm-2026 .hero-2026 {
        padding: 120px 20px 40px;
    }
    .derm-2026 .hero-2026 .hero-text h1 {
        font-size: 28px;
    }
    .derm-2026 .hero-2026 .hero-illustration img {
        position: relative;
        left: 0;
        width: 100%;
    }
    /* All zigzag blocks: stack vertically, TEXT always first, IMAGE after */
    .derm-2026 .h3-block,
    .derm-2026 .h3-block.reverse {
        flex-direction: column;
    }
    .derm-2026 .h3-block .h3-copy {
        order: 1;
        max-width: 100%;
    }
    .derm-2026 .h3-block .h3-illustration {
        order: 2;
        max-width: 100%;
        width: 100%;
    }
    /* Presentation blocks: same — text first, image after */
    .derm-2026 .presentation-block .h3-copy {
        order: 1;
    }
    .derm-2026 .presentation-block .presentation-illustration {
        order: 2;
    }
    .derm-2026 .cta-2026 .cta-inner {
        padding: 30px;
    }
    .derm-2026 .article-card {
        max-width: 100%;
    }
    .derm-2026 .review-card-wrap {
        width: 100%;
    }
    .derm-2026 .presentation-block .presentation-illustration {
        height: 300px;
        max-width: 100%;
    }
    .derm-2026 .press-col {
        min-width: 100%;
    }
    /* Horizontal SEO section: stack cards vertically */
    .derm-2026 .seo-horizontal .seo-h-contents {
        flex-direction: column;
    }
    .derm-2026 .article-card {
        max-width: 100%;
        min-width: 100%;
    }
    .derm-2026 .article-card .article-illustration {
        max-width: 100%;
    }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
    .derm-2026 .hero-2026 {
        padding: 90px 16px 30px;
    }
    .derm-2026 .hero-2026 .hero-inner {
        gap: 20px;
    }
    .derm-2026 .hero-2026 .hero-text {
        min-width: 100%;
        gap: 16px;
    }
    .derm-2026 .hero-2026 .hero-text h1 {
        font-size: 24px;
    }
    .derm-2026 .hero-2026 .hero-text .hero-desc {
        font-size: 15px;
    }
    .derm-2026 .hero-2026 .hero-illustration {
        min-width: 100%;
    }
    .derm-2026 .section-header {
        margin-bottom: 24px;
    }
    .derm-2026 .section-header h2 {
        font-size: 22px;
    }
    .derm-2026 .section-header p {
        font-size: 15px;
    }
    /* Benefits cards */
    .derm-2026 .benefits-2026 {
        padding: 30px 16px;
    }
    .derm-2026 .benefit-card {
        min-width: 100%;
        height: auto;
    }
    .derm-2026 .benefit-card-inner {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        height: auto;
        padding: 24px 20px;
    }
    .derm-2026 .benefit-card-inner h4 {
        font-size: 18px;
    }
    /* SEO zigzag blocks */
    .derm-2026 .seo-vertical {
        padding: 30px 16px;
    }
    .derm-2026 .seo-contents {
        gap: 40px;
    }
    .derm-2026 .h3-block .h3-illustration,
    .derm-2026 .h3-block .h3-copy {
        min-width: 100%;
    }
    .derm-2026 .h3-block .h3-illustration {
        height: 180px;
    }
    .derm-2026 .h3-block .h3-copy {
        gap: 12px;
    }
    .derm-2026 .h3-block .h3-copy h3 {
        font-size: 20px;
    }
    .derm-2026 .h3-block .h3-copy p {
        font-size: 15px;
    }
    /* Horizontal SEO: image always above text */
    .derm-2026 .seo-horizontal {
        padding: 30px 16px;
    }
    .derm-2026 .article-card {
        gap: 16px;
    }
    .derm-2026 .article-card h3 {
        font-size: 20px;
    }
    .derm-2026 .article-card p {
        font-size: 15px;
    }
    .derm-2026 .article-card .article-illustration {
        height: 160px;
    }
    /* Reviews */
    .derm-2026 .reviews-block {
        gap: 16px;
        flex-direction: column;
    }
    .derm-2026 .review-card-wrap {
        width: 100%;
    }
    .derm-2026 .review-card-wrap.offset-top,
    .derm-2026 .review-card-wrap.offset-bottom {
        padding-top: 0;
        padding-bottom: 0;
    }
    .derm-2026 .review-card {
        padding: 20px;
    }
    .derm-2026 .review-card .review-name {
        font-size: 18px;
        white-space: normal;
    }
    /* CTA */
    .derm-2026 .cta-2026 {
        padding: 30px 16px;
    }
    .derm-2026 .cta-2026 .cta-inner {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }
    .derm-2026 .cta-2026 .cta-inner h3 {
        min-width: 100%;
        font-size: 20px;
    }
    .derm-2026 .cta-2026 .btn-cta {
        min-width: 100%;
        max-width: 100%;
    }
    /* Presentation blocks */
    .derm-2026 .presentation-block .presentation-illustration {
        height: 220px;
        max-width: 100%;
    }
    .derm-2026 .h3-copy h3.h2-size {
        font-size: 22px;
    }
    /* Press & testimonials grid */
    .derm-2026 .press-2026-full {
        padding: 30px 16px;
    }
    .derm-2026 .press-col {
        min-width: 100%;
    }
    .derm-2026 .press-logos {
        gap: 16px;
    }
    .derm-2026 .press-logo {
        min-width: 130px;
        height: 65px;
    }
    /* Background transition smaller on mobile */
    .derm-2026 .bg-transition {
        height: 40px;
    }
}
