/**
 * Blog Article Page Styles
 * Matches Figma design for individual article layout
 * File: jKvrGoqov0G3THY54UStMQ / node 6584:19583
 *
 * Design system:
 *   Font: Fustat (loaded site-wide)
 *   Primary orange: #FE7720
 *   Body text: #212529
 *   Links: #247BA0 (blue)
 *   Green accent: #95C623
 *   Border: #DEE2E6
 *   Light grey bg: #F2F2F2
 *   Card bg: #F8F9FA
 */

/* ==========================================================================
   Hide old site elements on blog article pages
   (blog-article.css is only loaded on article pages)
   ========================================================================== */

/* ==========================================================================
   Hide old Joomla breadcrumbs (we render our own in the article template)
   ========================================================================== */

.zen-body__breadcrumbs {
    display: none !important;
}

/* ==========================================================================
   Article Container
   ========================================================================== */

.blog-article {
    background: #fff;
    font-family: 'fustatregular', sans-serif;
}

.blog-article .container {
    max-width: 855px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Remove top padding from zen-body__main for blog articles */
.blog-article ~ .zen-body__main,
.zen-body__main:has(.blog-article) {
    padding-top: 0 !important;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.blog-article .blog-article__breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #212529;
    max-width: 720px;
    margin: 0 auto;
}

.blog-article__breadcrumbs a {
    color: #247BA0;
    text-decoration: none;
}

.blog-article__breadcrumbs a:hover {
    color: #fe7720;
    text-decoration: underline;
}

.blog-article__breadcrumbs .separator {
    margin: 0 8px;
    color: #DEE2E6;
}

/* ==========================================================================
   Article Header (title + metadata)
   ========================================================================== */

.blog-article .blog-article__header {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 30px 0;
    text-align: center;
}

.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.blog-article__category-tag {
    display: inline-block;
    background: transparent;
    color: #FE7720;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1.5px solid #FE7720;
    text-decoration: none;
}

.blog-article__category-tag:hover {
    background: #FE7720;
    color: #fff;
    text-decoration: none;
}

.blog-article__title {
    font-family: 'fustatregular', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin: 0 0 20px;
}

.blog-article__subtitle {
    font-family: 'fustatregular', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin: 0 0 20px;
}

/* Metadata row */
.blog-article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
    font-size: 16px;
    color: #212529;
    padding: 20px 0 40px;
}

.blog-article__meta-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #ddd;
}

/* Author info group: name on top, date | readtime below */
.blog-article__meta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.blog-article__meta-author {
    font-weight: 700;
    color: #212529;
    font-size: 16px;
}

.blog-article__meta-info-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.blog-article__meta-info-line .pipe {
    color: #999;
}

.blog-article__meta-date {
    color: #000;
    font-size: 14px;
}

.blog-article__meta-readtime {
    color: #95C623;
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   Hero / Featured Image
   ========================================================================== */

.blog-article__hero-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.blog-article__hero-image img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

/* Photo caption */
.blog-article__hero-caption {
    max-width: none;
    margin: 8px 0 0;
    padding: 8px 20px;
    font-size: 14px;
    font-style: italic;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

/* ==========================================================================
   Article Body
   ========================================================================== */

.blog-article .blog-article__body {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 0 40px;
    font-family: 'fustatregular', sans-serif;
}

/* Hide duplicate H1 from article body (title already in header) */
.blog-article__body h1 {
    display: none;
}

.blog-article__body h2 {
    font-family: 'fustatregular', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin: 8px 0 8px;
    line-height: 1.2;
}

.blog-article__body h3 {
    font-family: 'fustatregular', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin: 30px 0 24px;
    line-height: 1.2;
}

.blog-article__body h4 {
    font-family: 'fustatregular', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 24px 0 24px;
    line-height: 1.2;
}

.blog-article__body p {
    font-family: 'fustatregular', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    margin: 0 0 24px;
}

.blog-article__body strong {
    font-size: inherit;
}

.blog-article__body a {
    color: #FE7720;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.blog-article__body a:hover {
    color: #e5691c;
}

.blog-article__body .sppb-addon-single-image-container {
    width: 100%;
}

.blog-article__body img {
    max-width: 100%;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin: 20px 0;
}
.blog-article__body .sppb-addon img {
    height: auto;
    border-radius: 0;
    margin: 0;
}


.blog-article__body blockquote {
    border-left: none;
    padding: 40px;
    margin: 30px 0;
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    font-style: normal;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    position: relative;
}

.blog-article__body blockquote p {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.blog-article__body ul,
.blog-article__body ol {
    padding-left: 24px;
    margin: 0 0 24px;
}

.blog-article__body li {
    font-family: 'fustatregular', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    margin-bottom: 16px;
}

.blog-article__body li:last-child {
    margin-bottom: 0;
}

.blog-article__body strong {
    font-weight: 700;
}

/* Horizontal divider */
.blog-article__body hr {
    border: none;
    border-top: 1px solid #DEE2E6;
    margin: 30px 0;
}

/* Hidden Joomla elements */
.blog-article .zen-blog__article-info,
.blog-article .zen-blog__article-controls {
    display: none !important;
}

/* ==========================================================================
   Essential Gear Callout
   ========================================================================== */

.blog-article__gear-callout {
    background: #f0f7e6;
    border: 1px solid #d4e8b8;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.blog-article__gear-callout h3 {
    color: #4a7c10;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-article__gear-callout ul {
    columns: 2;
    column-gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-article__gear-callout li {
    font-size: 14px;
    padding: 4px 0 4px 20px;
    position: relative;
    break-inside: avoid;
}

.blog-article__gear-callout li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #95c623;
    border-radius: 50%;
}

/* ==========================================================================
   Orange Callout (e.g. "Essential Things to Know")
   ========================================================================== */

.blog-article__callout--orange {
    background: #FFF4ED;
    border-left: 4px solid #FE7720;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.blog-article__callout--orange h3 {
    color: #FE7720;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
}

.blog-article__callout--orange ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-article__callout--orange li {
    font-size: 15px;
    padding: 6px 0 6px 20px;
    position: relative;
    margin-bottom: 4px;
}

.blog-article__callout--orange li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background: #FE7720;
    border-radius: 50%;
}

.blog-article__callout--orange a {
    color: #247BA0;
    text-decoration: none;
    font-weight: 600;
}

.blog-article__callout--orange a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Trip Branded Section (e.g. MT TOUBKAL)
   ========================================================================== */

.blog-article__trip-section {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 30px;
    overflow: clip;
    margin: 40px auto;
    max-width: 720px;
    display: flex;
    align-items: stretch;
}

.blog-article__trip-image {
    flex: 0 0 240px;
    max-width: 240px;
}

.blog-article__trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article__trip-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #212529;
}

.blog-article__trip-name {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px;
    line-height: 1.2;
}

.blog-article__trip-details {
    font-size: 16px;
    color: #212529;
    margin: 0 0 12px;
    line-height: 1.5;
}

.blog-article__trip-cta {
    display: inline-flex;
    gap: 12px;
}

.blog-article__trip-cta .btn {
    background: #FE7720;
    border: 1px solid #FE7720;
    border-radius: 40px;
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #212529;
}

.blog-article__trip-cta .btn:hover {
    background: #FFB347;
    border-color: #FFB347;
}

/* ==========================================================================
   CTA Banner ("Ready to trek?")
   ========================================================================== */

.blog-article .blog-article__cta-banner {
    background: #fe7720;
    padding: 20px 30px;
    text-align: center;
    max-width: 1076px;
    margin: 40px auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-article__cta-banner-yeti {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-article__cta-banner-text {
    font-family: 'fustatregular', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.blog-article__cta-banner .btn-cta-ask {
    background: #212529;
    color: #fff;
    border: 1px solid #212529;
    border-radius: 40px;
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.blog-article__cta-banner .btn-cta-ask:hover {
    background: #000;
}

.blog-article__cta-banner .btn-cta-contact {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    border-radius: 40px;
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.blog-article__cta-banner .btn-cta-contact:hover {
    background: rgba(0,0,0,0.1);
}

/* ==========================================================================
   Related Articles
   ========================================================================== */

.blog-article__related {
    background: #F2F2F2;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 50px 0;
}

.blog-article__related-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 72px;
    box-sizing: border-box;
}

.blog-article__related h2 {
    font-family: 'fustatregular', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin: 0 0 30px;
    text-align: left;
}

.blog-article__related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-article__related-header h2 {
    margin: 0;
}

.blog-article__related-header a {
    background: #FFC107;
    border: 1px solid #FFC107;
    border-radius: 9999px;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #212529;
    white-space: nowrap;
}

.blog-article__related-header a:hover {
    background: #e6ad06;
    border-color: #e6ad06;
}

/* Mobile CTA: hidden by default, shown on small screens */
.blog-article__related-cta-mobile {
    display: none;
}

.blog-article__related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.blog-article__related-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article__related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-article__related-card-image {
    position: relative;
    overflow: hidden;
}

.blog-article__related-card-image img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-article__related-card:hover .blog-article__related-card-image img {
    transform: scale(1.05);
}

.blog-article__related-card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #212529;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article__related-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #F8F9FA;
}

.blog-article__related-card-title {
    font-family: 'fustatregular', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 8px;
    line-height: 1.2;
}

.blog-article__related-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-article__related-card-title a:hover {
    color: #fe7720;
}

.blog-article__related-card-excerpt {
    font-family: 'fustatregular', sans-serif;
    font-size: 16px;
    color: #212529;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-article__related-card-readmore {
    margin-top: auto;
}

.blog-article__related-card-readmore a {
    background: #fe7720;
    color: #212529;
    border: 1px solid #FE7720;
    border-radius: 40px;
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
}

.blog-article__related-card-readmore a:hover {
    background: #FFB347;
    border-color: #FFB347;
}

.blog-article__related-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #212529;
    padding: 14px 16px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    border-radius: 0 0 15px 15px;
}

.blog-article__related-card-meta .meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
}

.blog-article__related-card-meta .meta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-article__related-card-meta .meta-name {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
}

.blog-article__related-card-meta .meta-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #95c623;
    display: inline-block;
}

.blog-article__related-card-meta .meta-readtime {
    color: #95C623;
    font-weight: 400;
}

/* ==========================================================================
   Author Bio Section
   ========================================================================== */

.blog-article .blog-article__author-bio {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-top: 1px solid #DEE2E6;
}

.blog-article__author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #ddd;
}

.blog-article__author-bio-content {
    flex: 1;
}

.blog-article__author-bio-name {
    font-family: 'fustatregular', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px;
}

.blog-article__author-bio-role {
    font-size: 14px;
    color: #fe7720;
    font-weight: 600;
    margin: 0 0 10px;
}

.blog-article__author-bio-text {
    font-family: 'fustatregular', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Inline Trip Card
   ========================================================================== */

.blog-article__trip-card {
    max-width: 720px;
    margin: 40px auto;
    padding-top: 40px;
}

.blog-article__trip-card .trip-card__container {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
}

.blog-article__trip-card .trip-card__image {
    flex: 0 0 220px;
    max-width: 220px;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.blog-article__trip-card .trip-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article__trip-card .trip-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.blog-article__trip-card .trip-card__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f0f0f0;
    font-size: 14px;
    font-weight: 600;
}

.blog-article__trip-card .trip-card__difficulty {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.blog-article__trip-card .trip-card__difficulty-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.blog-article__trip-card .trip-card__altitude {
    color: #333;
}

.blog-article__trip-card .trip-card__main {
    padding: 20px;
}

.blog-article__trip-card .trip-card__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1a1a1a;
}

.blog-article__trip-card .trip-card__meta {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.blog-article__trip-card .trip-card__highlights {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 20px 0;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.blog-article__trip-card .trip-card__highlights li {
    margin-bottom: 4px;
}

.blog-article__trip-card .trip-card__cta {
    display: inline-block;
    padding: 10px 24px;
    background: #FE7720;
    color: #212529;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: background 0.2s;
}

.blog-article__trip-card .trip-card__cta:hover {
    background: #e5691c;
    color: #212529;
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .blog-article__related-inner {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .blog-article__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-article__trip-section {
        flex-direction: column;
    }

    .blog-article__trip-image {
        flex: none;
        max-width: 100%;
    }

    .blog-article__trip-image img {
        aspect-ratio: 16/9;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-article__trip-card .trip-card__container {
        flex-direction: column;
    }

    .blog-article__trip-card .trip-card__image {
        flex: none;
        max-width: none;
        height: 200px;
    }

    .blog-article__trip-card .trip-card__title {
        font-size: 20px;
    }

    .blog-article__trip-card .trip-card__main {
        padding: 16px;
    }

    .blog-article .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-article__title {
        font-size: 32px;
    }

    .blog-article__header {
        padding: 15px 20px 30px;
    }

    .blog-article__hero-image img {
        height: 250px;
    }

    .blog-article__hero-caption {
        padding-left: 35px;
        padding-right: 35px;
    }

    .blog-article__body h2 {
        font-size: 28px;
    }

    .blog-article__body h3 {
        font-size: 20px;
    }

    .blog-article__body img {
        height: auto;
        border-radius: 12px;
    }

    .blog-article__gear-callout ul {
        columns: 1;
    }

    .blog-article__cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
        margin: 30px auto;
    }

    .blog-article__related {
        padding: 40px 0;
    }

    .blog-article__related-inner {
        padding: 0 35px;
    }

    .blog-article__related h2 {
        font-size: 28px;
    }

    .blog-article__related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-article__trip-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-article__title {
        font-size: 28px;
    }

    .blog-article__meta {
        gap: 16px;
    }

    .blog-article__related-grid.blog-hub__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        row-gap: 30px;
    }



    .blog-article__related-grid .blog-hub__card-meta-avatar {
        width: 40px;
        height: 40px;
    }

    .blog-article__related-inner {
        display: flex;
        flex-direction: column;
    }

    .blog-article__related-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .blog-article__related-header a {
        display: none;
    }

    .blog-article__related-grid {
        order: 2;
    }

    .blog-article__related-cta-mobile {
        display: block;
        order: 3;
        text-align: center;
        margin-top: 29px;
    }

    .blog-article__related-cta-mobile a {
        background: #FFC107;
        border: 1px solid #FFC107;
        border-radius: 9999px;
        padding: 8px 24px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        color: #212529;
        display: inline-block;
    }

    .blog-article__related-cta-mobile a:hover {
        background: #e6ad06;
        border-color: #e6ad06;
    }

    .blog-article__author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Schema FAQ Accordion (matches Figma node 6614:20766)
   ========================================================================== */

.sppb-addon-schema-faq {
    margin: 40px 0;
}

.schema-faq__accordion {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: 6px;
    overflow: hidden;
}

/* Teal header bar */
.schema-faq__header {
    background: #3D7B8A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-family: 'fustatregular', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.schema-faq__header .schema-faq__chevron-icon {
    flex-shrink: 0;
    color: #fff;
}

/* FAQ items container */
.schema-faq__items {
    border-top: none;
}

/* Individual FAQ item */
.schema-faq__item {
    border-bottom: 1px solid #DEE2E6;
}

.schema-faq__item:last-child {
    border-bottom: none;
}

/* Question button */
.schema-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'fustatregular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #212529;
    text-align: left;
    line-height: 1.4;
    gap: 16px;
}

.schema-faq__question:hover {
    background: #F8F9FA;
}

.schema-faq__question .schema-faq__chevron-icon {
    flex-shrink: 0;
    color: #212529;
    transition: transform 0.25s ease;
}

/* Rotate chevron when expanded */
.schema-faq__question[aria-expanded="true"] .schema-faq__chevron-icon {
    transform: rotate(180deg);
}

/* Answer panel — height animation */
.schema-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.schema-faq__answer.is-open {
    grid-template-rows: 1fr;
}

/* Progressive enhancement: native height interpolation (Chrome 129+, Safari 18.4+, Edge 129+) */
@supports (interpolate-size: allow-keywords) {
    .schema-faq__answer {
        display: block;
        transition: none;
    }

    .schema-faq__answer-inner {
        interpolate-size: allow-keywords;
        height: 0;
        transition: height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    }

    .schema-faq__answer.is-open .schema-faq__answer-inner {
        height: auto;
    }
}

.schema-faq__answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 20px;
    font-family: 'fustatregular', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #212529;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.schema-faq__answer.is-open .schema-faq__answer-inner {
    opacity: 1;
    transition: opacity 0.3s ease 0.08s;
}

/* Vertical spacing via child margins (inside overflow:hidden, so clipped/revealed smoothly) */
.schema-faq__answer-inner > :first-child {
    margin-top: 14px;
}

.schema-faq__answer-inner > :last-child {
    margin-bottom: 24px;
}

.schema-faq__answer p {
    margin: 0 0 12px;
}

.schema-faq__answer ul,
.schema-faq__answer ol {
    padding-left: 20px;
    margin: 0 0 12px;
}

.schema-faq__answer li {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.5;
}

.schema-faq__answer a {
    color: #247BA0;
    text-decoration: underline;
}

.schema-faq__answer h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 16px 0 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .schema-faq__header {
        font-size: 16px;
        padding: 12px 16px;
    }

    .schema-faq__question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .schema-faq__answer-inner {
        padding: 0 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Intro text — first paragraph styled as lead-in
   ========================================================================== */

.blog-article__body .blog-intro p {
    font-size: 18px;
    line-height: 150%;
    font-weight: 700;
    margin-bottom: 0;
}
/* Override SPPB engine.js which sets margin-bottom:0!important on addon wrappers */
.blog-article__body .blog-intro.sppb-addon-text-block {
    padding-bottom: 24px;
}

/* ==========================================================================
   SPPB addon spacing within article body
   Tighten gaps between text blocks after H3 splitting.
   Each text block is in a wrapper with default 30px margin-bottom,
   and H3 headings have default 30px margin-top — causing ~60px gaps.
   ========================================================================== */

/* ==========================================================================
   Unified SPPB spacing system for article body
   Every section gets consistent spacing. Addon wrapper margins zeroed.
   Section-level padding controls gaps between all content blocks.
   ========================================================================== */

/* Zero padding on addon wrappers, but preserve SPPB's inline margin
   for spacing between addons within the same section.
   Only zero margin on the LAST wrapper to avoid double-spacing with flex gap. */
.blog-article__body .sppb-addon-wrapper {
    padding: 0 !important;
}
.blog-article__body .sppb-addon-wrapper:last-child {
    margin-bottom: 0 !important;
}

/* SPPB addon titles — no extra top margin */
.blog-article__body .sppb-addon-title {
    margin-top: 0 !important;
}
/* H2 addon titles — default: no bottom margin (flex gap handles heading-only sections) */
.blog-article__body h2.sppb-addon-title {
    margin-bottom: 0 !important;
}
/* H2 addon titles in text blocks — need spacing to content below */
.blog-article__body .sppb-addon.sppb-addon-text-block > h2.sppb-addon-title {
    margin-bottom: 12px !important;
}
/* H3 addon titles — keep spacing below for readability */
.blog-article__body h3.sppb-addon-title {
    margin-top: 8px !important;
    margin-bottom: 12px;
}

/* Tighten gap after heading-only sections (heading → content should be tighter
   than content → heading). Pull the next section up by reducing the flex gap effect. */
.blog-article__body .sppb-section:has(> .sppb-container-inner .sppb-addon-heading) + .sppb-section {
    margin-top: -12px;
}

/* Sections: zero margins — spacing controlled by parent gap */
.blog-article__body .sppb-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Parent container uses gap for consistent spacing between all sections.
   This avoids margin-collapse issues (sections don't share a parent with
   addon wrappers, so margins wouldn't collapse between them). */
.blog-article__body #sp-page-builder .page-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Headings --- */
.blog-article__body .sppb-addon-content h2,
.blog-article__body .sppb-addon-content h3,
.blog-article__body .sppb-addon-content h4,
.blog-article__body .sppb-addon-content h5 {
    margin-top: 8px;
    margin-bottom: 12px;
}

/* First heading in a block — no extra top (flex gap handles it) */
.blog-article__body .sppb-addon-content > h2:first-child,
.blog-article__body .sppb-addon-content > h3:first-child,
.blog-article__body .sppb-addon-content > h4:first-child,
.blog-article__body .sppb-addon-content > h5:first-child {
    margin-top: 0;
}

/* Heading as last element — no trailing space */
.blog-article__body .sppb-addon-content > h2:last-child,
.blog-article__body .sppb-addon-content > h3:last-child,
.blog-article__body .sppb-addon-content > h4:last-child,
.blog-article__body .sppb-addon-content > h5:last-child {
    margin-bottom: 0;
}

/* --- Paragraphs --- */
.blog-article__body .sppb-addon-content > p {
    margin-bottom: 16px;
}
.blog-article__body .sppb-addon-content > p:last-child {
    margin-bottom: 0;
}

/* --- Container width normalisation --- */
.blog-article__body .sppb-section .sppb-container-inner,
.blog-article__body .sppb-section .sppb-row-container {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.blog-article__body .sppb-section .sppb-row {
    margin-left: 0;
    margin-right: 0;
}
.blog-article__body .sppb-section [class*="sppb-col-"] {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
/* Allow 2-column layouts (image+text side by side) */
.blog-article__body .sppb-section .sppb-col-md-6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width: 767px) {
    .blog-article__body .sppb-section .sppb-col-md-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* --- Images --- */
.blog-article__body .sppb-addon-content img,
.blog-article__body .sppb-addon-single-image img {
    border-radius: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}
/* Standalone image addons — slight top/bottom margin for breathing room */
.blog-article__body .sppb-addon-image .sppb-addon-content img {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* --- Feature blocks: pull quote, CTA, trip card, video, divider ---
   Zero addon-level margins — section gap handles spacing */
.blog-article__body .sppb-addon-pull-quote,
.blog-article__body .sppb-addon-holiday,
.blog-article__body .sppb-addon-blog-video,
.blog-article__body .sppb-addon-single-image {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Trip card + inline CTA — extra top spacing to separate from article content */
.blog-article__body .sppb-addon-trip-card,
.blog-article__body .sppb-addon-inline-cta {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

/* Divider — tighter, it's a visual separator not a content block */
.blog-article__body .sppb-addon-blog-divider {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Video thumbnail border overlay */
.blog-video__wrapper {
    position: relative;
}
.blog-video__wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    pointer-events: none;
}
