/* Insights & News Page Styles */

.page-insights-news .insights-news-hero-wrapper {
    background: linear-gradient(180deg, #D7EEFF 0%, #FFF 100%);
}
.page-insights-news .insights-news-hero {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 416px);
    gap: 32px 30px;
    align-items: start;
    padding: 100px 0;
}
.page-insights-news .insights-news-hero__left {
    align-self: start;
}
.page-insights-news .c-hero-text {
    text-align: center !important;
    font-size: clamp(38px, 8vw, 60px);
    line-height: 50px;
}

@media screen and (min-width: 769px) {
    .page-insights-news .c-hero-text {
        text-align: left !important;
    }
}
.page-insights-news .insights-news-hero__right {
    width: 100%;
    max-width: 416px;
    margin-left: auto;
}
.insights-news-subscribe-copy {
    color: var(--Gold, #966E32);
    font-family: Jost;
    font-size: clamp(18px, 2.5vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: clamp(26px, 3vw, 30px);
    letter-spacing: 0.2px;
}
.insights-subscribe-form {
    margin-top: 20px;
}
.insights-subscribe-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 5px;
    border: 1px solid var(--Sunglow, #C19D33);
    background: #FFF;
}
.insights-subscribe-input {
    width: 100%;
    border: 0;
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    background: transparent;
}
.insights-subscribe-input:focus {
    outline: none;
}
.insights-subscribe-input::placeholder {
    color: #959595;
}
.insights-subscribe-button {
    width: 16px;
    height: 16px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
}
.insights-subscribe-button:disabled {
    opacity: 0.6;
}
.insights-subscribe-message {
    min-height: 24px;
    margin-top: 12px;
    font-family: Jost;
    font-size: 16px;
    line-height: 24px;
}
.insights-subscribe-message.is-success {
    color: var(--Gold, #966E32);
}
.insights-subscribe-message.is-error {
    color: #B42318;
}

@media screen and (max-width: 1133.5px) {
    .page-insights-news .insights-news-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .insights-news-subscribe-copy {
        text-align: center;
    }
    .page-insights-news .insights-news-hero {
        grid-template-columns: 1fr;
        row-gap: clamp(24px, 4vw, 30px);
        padding-block: clamp(50px, 8vw, 60px);
    }
    .page-insights-news .insights-news-hero__right {
        width: 40%;
        min-width: 320px;
        max-width: 100%;
        margin: 0 auto;
    }
    .insights-subscribe-message {
        min-height: 0;
        margin-top: 0;
    }
}

@media screen and (max-width: 479px) {
    .insights-subscribe-input-wrap {
        padding: 0 16px;
    }
    .insights-subscribe-input {
        padding: 15px 0;
        font-size: 16px;
        line-height: 24px;
    }
}

/* Custom Insights Section Styling */
.insights-custom-section {
    width: 100%;
}
.insights-custom-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 30px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}
@media screen and (min-width: 769px) {
    .insights-custom-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 416px);
    }

    .insights-custom-hero__right {
        width: 100%;
        max-width: 416px;
        margin-left: auto;
    }
}
.insights-custom-logo {
    width: clamp(240px, 39.4vw, 370px);
    max-width: 100%;
    height: auto;
}
.insights-custom-copy {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(18px, 2.5vw, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(26px, 3vw, 30px);
    letter-spacing: 0.6px;
}
.insights-view-all-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 70px;
    margin-bottom: 70px;
}

.insights-view-all-spacer {
    height: 70px;
}

.latest-news-view-all-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 70px;
    margin-bottom: 200px;
}

.insights-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--Gold, #966E32);
    font-family: Jost;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}

.insights-view-all-link,
.insights-view-all-link:hover,
.insights-view-all-link:focus {
    text-decoration: none;
}

.insights-view-all-link svg {
    width: 16.5px;
    height: 16.5px;
    color: var(--Gold, #966E32);
    flex-shrink: 0;
}

/* Insights Articles Grid */
.insights-custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Insights Card Layout */
.insights-custom-card {
    border: none !important;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    height: 100%;
    width: 100%;
    max-width: none;
}
.insights-custom-card .insights-column {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
    width: 100%;
}
.insights-custom-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    height: 100%;
    width: 100%;
}
.image-overlay-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.34;
    border-radius: 5px;
    overflow: hidden;
}
.image-overlay-wrap figure,
.image-overlay-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}
.image-overlay-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px 24px 30px;
}
.title-text {
    color: var(--White, #FFF);
    font-family: Jost;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    margin: 0;
}

/* Insights Meta Layout */
.insights-custom-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 12px;
    padding-top: 20px;
    background: transparent;
    margin-top: auto;
}
.meta-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.meta-right {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    flex-shrink: 0;
}
.meta-left .date {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 12px; /* 100% */
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.meta-left .author {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 100% */
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 5px;
}
.read-more-custom {
    display: inline-flex;
    padding: 3px 15px 5px 20px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 20px;
    background: var(--Gold, #966E32);
    width: fit-content;
    white-space: nowrap;
    cursor: pointer;
    color: var(--White, #FFF);
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0;
    transition: background 0.2s ease-in-out;
}
.read-more-custom:hover {
    background: var(--Sunglow, #C19D33);
}

@media screen and (max-width: 768px) {
    .insights-custom-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 30px;
        padding-top: 70px;
        padding-bottom: 50px;
    }
    .insights-custom-hero__left,
    .insights-custom-hero__right {
        width: 100%;
        text-align: center;
    }
    .insights-custom-logo {
        width: clamp(250px, 60vw, 350px);
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .insights-custom-copy {
        width: clamp(260px, 80vw, 540px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .insights-view-all-wrap {
        justify-content: center;
        margin-bottom: 100px;
    }
    .latest-news-view-all-wrap {
        justify-content: center;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 626px) {
    .insights-view-all-wrap {
        margin-bottom: 100px;
    }
    .latest-news-view-all-wrap {
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 768px) and (min-width: 627px) {
    .insights-custom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .insights-custom-grid .insights-custom-card:nth-child(n + 3) {
        display: none;
    }
}

@media screen and (max-width: 626px) {
    .insights-custom-grid {
        grid-template-columns: 1fr;
    }
}

/* Latest News Section */
.latest-news-heading {
    color: var(--Gold, #966E32);
    font-family: "Cormorant Garamond";
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: -0.5px;
    text-align: left;
    padding-top: 70px;
    padding-bottom: 40px;
}

.latest-news-layout {
    --latest-news-row-height: 150px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0.5px minmax(0, 2fr);
    row-gap: 50px;
    column-gap: 20px;
    align-items: stretch;
}

.latest-news-divider {
    width: 0.5px;
    background: var(--Gold, #966E32);
    align-self: stretch;
    justify-self: center;
}

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: var(--latest-news-row-gap);
}

.latest-news-list-item {
    width: 100%;
    min-height: 0;
    border-radius: 5px;
    border: 1px solid transparent;
    background: #FFF;
    padding: 18px;
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 20px;
    align-items: start;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.latest-news-list-item:focus {
    outline: none;
}

.latest-news-list-item:focus-visible {
    border-color: var(--Gold, #966E32);
}

.latest-news-list-item.is-active {
    border-radius: 5px;
    border: 1px solid var(--Gold, #966E32);
    background: var(--Cream, #FDF5E8);
}

.latest-news-list-item__media {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 150 / 113;
    border-radius: 4px;
    overflow: hidden;
}

.latest-news-list-item__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.latest-news-list-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.latest-news-list-item__date {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(10px, 0.9vw, 12px);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(12px, 1.1vw, 14px);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.latest-news-list-item__title {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(14px, 1.25vw, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: clamp(18px, 1.6vw, 20px);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-news-featured {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.latest-news-featured__media-link {
    display: block;
    margin-bottom: 20px;
}

.latest-news-featured__media {
    width: 100%;
    height: calc((var(--latest-news-row-height) * 6 + 28px * 5) * 0.5);
    min-height: calc((var(--latest-news-row-height) * 6 + 28px * 5) * 0.5);
    aspect-ratio: auto;
    border-radius: 8px;
    overflow: hidden;
}

.latest-news-featured__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.latest-news-featured__date {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(12px, 1vw, 13px);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(20px, 1.8vw, 24px);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.latest-news-featured__title {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(26px, 3vw, 30px);
    font-style: normal;
    font-weight: 500;
    line-height: clamp(34px, 4vw, 40px);
    margin-bottom: 20px !important;
}

.latest-news-featured__content {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.latest-news-featured__summary {
    color: var(--Navy, #19223D);
    font-family: Jost;
    font-size: clamp(16px, 1.8vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(26px, 2.6vw, 30px);
    margin-bottom: 20px !important;
}

.latest-news-featured__summary[hidden] {
    display: none !important;
}

.latest-news-featured__cta {
    align-self: flex-end;
}

.latest-news-featured__cta,
.latest-news-featured__cta:hover,
.latest-news-featured__cta:focus {
    text-decoration: none;
}

@media screen and (max-width: 1133.5px) and (min-width: 769px) {
    .latest-news-layout {
        --latest-news-row-height: 138px;
        column-gap: 15px;
    }

    .latest-news-list-item {
        padding: 10px;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .latest-news-heading {
        text-align: center;
    }

    .latest-news-layout {
        --latest-news-row-height: 136px;
        grid-template-columns: 1fr;
        gap: 50px;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .latest-news-featured {
        order: 1;
    }

    .latest-news-list {
        order: 3;
        width: 100%;
        row-gap: 25px;
    }

    .latest-news-divider {
        order: 2;
        width: 100%;
        height: 0.5px;
    }

    .latest-news-list-item {
        width: 100%;
        max-width: none;
        padding: 0px;
    }

    .latest-news-list-item.is-active,
    .latest-news-list-item:focus-visible {
        border-color: transparent;
        background: #FFF;
    }

    .latest-news-featured__media {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .latest-news-featured__content {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .latest-news-featured__date,
    .latest-news-featured__title,
    .latest-news-featured__summary {
        width: 100%;
    }

    .latest-news-featured__cta {
        align-self: right;
    }

}

@media screen and (max-width: 768px) and (min-width: 627px) {
    .latest-news-list-item {
        grid-template-columns: 23% 1fr;
    }

    .latest-news-list-item__media {
        aspect-ratio: 126 / 95;
    }
}

@media screen and (max-width: 626px) {

    .latest-news-layout {
        width: 100%;
    }
    .insights-custom-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 85%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        justify-items: stretch;
        row-gap: 50px;
    }

    .insights-custom-card,
    .insights-custom-card .insights-column,
    .insights-custom-card .card-content {
        width: 100%;
    }

    .insights-custom-card .image-overlay-wrap {
        width: 100%;
        aspect-ratio: 119 / 159;
        margin-left: auto;
        margin-right: auto;
    }

    .insights-custom-meta {
        flex-wrap: nowrap;
    }

    .meta-right {
        width: auto;
        margin-left: 0;
        justify-content: flex-start;
    }

    .latest-news-heading {
        font-size: 36px;
        line-height: 36px;
    }

    .latest-news-featured__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}