/* ==========================================================================
   Single Post (Insight) Template
   ========================================================================== */

/* ── Hero Banner ── */

.ins-hero-wrap {
    background-color: var(--color-tan);
    padding: 0 2rem;
}

.ins-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.ins-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 41, 75, 0.70);
    z-index: 1;
}

.ins-hero__content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
    text-align: center;
}

.ins-hero__date {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin: 0 0 0.75rem;
}

.ins-hero__title {
    font-family: 'Domine', serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.15;
}

/* ── Post Content ── */

.ins-content-wrap {
    background-color: var(--color-tan);
    padding: 2rem 2rem 4rem;
}

.ins-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
}

.ins-content__date {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin: 0 0 2rem;
}

.ins-content h2,
.ins-content h3,
.ins-content h4 {
    font-family: 'Domine', serif;
    color: var(--color-navy);
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.ins-content h2 { font-size: 1.625rem; }
.ins-content h3 { font-size: 1.375rem; }

.ins-content p { margin: 0 0 1.4em; }
.ins-content p:last-child { margin-bottom: 0; }

.ins-content a {
    color: #0000EE;
    text-decoration: underline;
}

.ins-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ins-content .aligncenter {
    text-align: center;
    margin: 0 auto;
    display: block;
}

/* ── Staff Bio(s) ── */

.ins-bio {
    background-color: var(--color-tan);
    padding: 0 2rem 5rem;
}

.ins-bio__inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ins-bio__card {
    border-radius: 25px;
    overflow: hidden;
}

.ins-bio__card-header {
    background: rgba(115, 140, 189, 0.15);
    border-radius: 25px 25px 0 0;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-navy);
    text-align: center;
}

.ins-bio__card-body {
    background: #fff;
    border-radius: 0 0 25px 25px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0;
}

@media (min-width: 640px) {
    .ins-bio__card-body {
        flex-direction: row;
        align-items: stretch;
    }
}

.ins-bio__photo-wrap {
    flex-shrink: 0;
    width: 100%;
    max-height: 260px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .ins-bio__photo-wrap {
        width: 220px;
        max-height: none;
    }
}

.ins-bio__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: top center;
}

.ins-bio__photo--placeholder {
    background-color: rgba(19, 41, 75, 0.1);
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.ins-bio__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 2rem;
    justify-content: center;
}

.ins-bio__name {
    font-family: 'Domine', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.2;
}

.ins-bio__designations {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    margin: 0;
}

.ins-bio__position {
    font-size: 0.9rem;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.btn--gold-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3.5rem;
    background-color: var(--color-gold);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

.btn--gold-dark:hover {
    background-color: #8a5503;
    color: #fff;
}

/* ── More Insights ── */

.ins-related {
    background-color: var(--color-tan);
    padding: 0 2rem 5rem;
}

.ins-related__inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.ins-related__heading {
    font-family: 'Domine', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 2rem;
    line-height: 1.2;
}

/* Horizontal scroll strip */

.ins-related__grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
}

.ins-related__grid::-webkit-scrollbar {
    display: none;
}

.ins-related__card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .ins-related__card {
        flex: 0 0 calc( (100% - (1.25rem * 1.8)) / 2.8 );
    }
}

.ins-related__card-image-link {
    display: block;
}

.ins-related__card-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

.ins-related__card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ins-related__card:hover .ins-related__card-image {
    transform: scale(1.03);
}

.ins-related__card-image--placeholder {
    background-color: #ddd8ce;
    width: 100%;
    height: 100%;
}

.ins-related__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem 0;
    flex: 1;
}

.ins-related__card-title {
    font-family: 'Domine', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
}

.ins-related__card-title a {
    text-decoration: none;
    color: inherit;
}

.ins-related__card-title a:hover {
    color: var(--color-gold);
}

.ins-related__card-author {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.ins-related__card-author strong {
    color: var(--color-navy);
    font-weight: 600;
}

.ins-related__card-date {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.ins-related__card-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    flex: 1;
}

.ins-related__card-excerpt p {
    margin: 0;
}

.ins-related__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.ins-related__card-link::after {
    content: '→';
}

.ins-related__card-link:hover {
    color: var(--color-gold);
    gap: 0.6rem;
}

/* Arrows */

.ins-related__arrows {
    display: none;
}

@media (min-width: 768px) {
    .ins-related__arrows {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-end;
        margin-bottom: 1.5rem;
    }
}

.ins-related__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1.5px solid rgba(19, 41, 75, 0.35);
    border-radius: 50%;
    color: var(--color-navy);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ins-related__arrow:hover {
    background: rgba(19, 41, 75, 0.08);
    border-color: var(--color-navy);
}

.ins-related__arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* ── Subscribe to Insights Banner ── */

.ins-subscribe {
    background-color: var(--color-tan);
    padding: 0 2rem 4rem;
}

.ins-subscribe__wrap {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ins-subscribe__header {
    background-color: var(--color-navy);
    background-image: url('../images/Icon.svg');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100%;
    border-radius: 25px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ins-subscribe__title {
    font-family: 'Domine', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

/* Toggle button: white, turns gold when the form is open. */
.ins-subscribe__toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 999px;
    background-color: var(--color-white);
    color: var(--color-navy);
    font-family: 'Domine', serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ins-subscribe__toggle:hover {
    background-color: var(--color-gold-light);
}

.ins-subscribe__toggle[aria-expanded="true"] {
    background-color: var(--color-gold);
    color: var(--color-white);
}