/* ============================================================
   About — What We Think (Carousel)
   ============================================================ */

.SDblock.about-thoughts-carousel {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    overflow: hidden;
    padding-top: clamp(50px, 7vw, 100px);
    padding-bottom: clamp(50px, 7vw, 100px);
}

/* The default page template's non-wp-block rule overrides the above with
   max-width + margin-left. Re-assert full-bleed with higher specificity. */
.page-template-default .entry-content > .SDblock.about-thoughts-carousel {
    max-width: none;
    margin-left: 0;
    width: 100%;
}

/* Background layer rendered by PHP as an absolutely-positioned div — all bg styles are inline on that div */

/* ---- Inner layout: heading left, track right ---- */

.about-thoughts-carousel .thoughts-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: clamp(24px, 4vw, 60px);
    padding-left: var(--LRMargin, 5%);
    min-height: clamp(380px, 48vw, 560px);
}

/* ---- Left column ---- */

.about-thoughts-carousel .thoughts-left {
    flex: 0 0 auto;
    width: clamp(180px, 30vw, 440px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 4px;
}

.about-thoughts-carousel .thoughts-heading {
    font-size: clamp(34px, 5.5vw, 90px);
    line-height: 0.95;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ffffff;
    font-family: var(--accentFontFamily);
    font-style: var(--accentFontStyle);
    margin: 0;
}

.about-thoughts-carousel .thoughts-nav {
    display: flex;
    gap: 8px;
    margin-top: clamp(20px, 3vw, 40px);
}

.about-thoughts-carousel .thoughts-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease;
}

.about-thoughts-carousel .thoughts-nav button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.about-thoughts-carousel .thoughts-nav button:disabled {
    opacity: 0.3;
    cursor: default;
}

/* ---- Track ---- */

.about-thoughts-carousel .thoughts-track-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.about-thoughts-carousel .thoughts-track {
    display: flex;
    gap: 16px;
    align-items: stretch;
    height: 100%;
    transition: transform 420ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ---- Cards ---- */

.about-thoughts-carousel .thoughts-card {
    flex: 0 0 auto;
    width: clamp(250px, 23vw, 350px);
    display: flex;
    flex-direction: column;
}

.about-thoughts-carousel .thoughts-card .card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.about-thoughts-carousel .card-image {
    height: clamp(180px, 24vw, 290px);
    flex-shrink: 0;
    overflow: hidden;
}

.about-thoughts-carousel .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-thoughts-carousel .card-text {
    flex: 1;
    background: #f0ebe2;
    padding: clamp(18px, 2.2vw, 30px) clamp(16px, 1.8vw, 26px);
    display: flex;
    flex-direction: column;
}

.about-thoughts-carousel .card-headline {
    font-size: clamp(13px, 1.2vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1b280d;
    line-height: 1.2;
    margin: 0 0 clamp(14px, 1.8vw, 24px) 0;
}

.about-thoughts-carousel .card-body {
    font-size: clamp(10px, 0.8vw, 12px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2e3c22;
    line-height: 1.8;
    margin: 0;
}

/* Hover lift on linked cards */
.about-thoughts-carousel .thoughts-card a.card-inner {
    transition: opacity 220ms ease;
}

.about-thoughts-carousel .thoughts-card a.card-inner:hover {
    opacity: 0.88;
}

/* ---- Empty image placeholder ---- */

.about-thoughts-carousel .card-image--empty {
    background: #d8d0c8;
}

/* ---- More button ---- */

.about-thoughts-carousel .thoughts-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: clamp(28px, 3.5vw, 50px);
}

.about-thoughts-carousel .thoughts-more-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: background 220ms ease, border-color 220ms ease;
}

.about-thoughts-carousel .thoughts-more-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ---- Mobile ---- */

@media (max-width: 680px) {

    .about-thoughts-carousel .thoughts-inner {
        flex-direction: column;
        padding-right: var(--LRMargin, 5%);
        min-height: 0;
    }

    .about-thoughts-carousel .thoughts-left {
        width: 100%;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .about-thoughts-carousel .thoughts-nav {
        margin-top: 0;
    }

    .about-thoughts-carousel .thoughts-card {
        width: clamp(230px, 68vw, 290px);
    }

}
