/* PANA homepage featured layout */
.gh-featured-pana {
    margin-top: clamp(56px, 6vw, 88px);
}

.gh-featured-pana .gh-featured-inner {
    overflow: visible;
}

.gh-featured-pana .gh-featured-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gh-featured-pana .gh-card,
.gh-featured-pana .gh-card-wrapper {
    container-name: none;
    container-type: normal;
}

.gh-featured-pana .gh-card::before,
.gh-featured-pana .gh-card::after {
    display: none;
}

.gh-featured-video-card {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.85fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgba(52, 85, 38, 0.07);
}

.gh-featured-video-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: var(--color-darker-gray);
}

.gh-featured-video-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-featured-video-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.gh-featured-video-title {
    width: 100%;
    max-width: none;
    font-size: clamp(3.0rem, 1vw + 2rem, 3.8rem);
    font-weight: 725;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
}

.gh-featured-video-title a:hover {
    opacity: 0.82;
}

.gh-featured-video-excerpt {
    margin-top: 16px;
    color: var(--color-secondary-text);
    font-size: 1.8rem;
    line-height: 1.45;
}

.gh-featured-more-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 22px;
    color: var(--ghost-accent-color);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.gh-featured-more-link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.gh-featured-program-card {
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.42);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gh-featured-program-card:hover {
    border-color: rgba(52, 85, 38, 0.36);
    transform: translateY(-2px);
}

.gh-featured-program-card .gh-card-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    height: 100%;
    min-width: 0;
}

.gh-featured-program-card .gh-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px 8px 0 0;
    background: var(--color-lighter-gray);
}

.gh-featured-program-card .gh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-featured-program-card .gh-card-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    width: 100%;
    padding: 18px;
}

.gh-featured-program-card .gh-card-title {
    width: 100%;
    font-size: clamp(2.0rem, 0.4vw + 1.8rem, 2.4rem);
    font-weight: 725;
    line-height: 1.14;
    overflow-wrap: normal;
    word-break: normal;
}

.gh-featured-program-card .gh-card-excerpt {
    width: 100%;
    display: -webkit-box;
    margin-top: 10px;
    color: var(--color-secondary-text);
    font-size: 1.5rem;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gh-featured-program-card .gh-featured-more-link {
    margin-top: auto;
    padding-top: 18px;
}

.gh-featured-program-card .gh-card-meta {
    display: none;
}

.gh-viewport > .gh-featured-pana .gh-featured-feed .gh-card:nth-child(4) {
    display: block;
}

@media (max-width: 991px) {
    .gh-featured-video-card {
        grid-template-columns: 1fr;
    }

    .gh-featured-video-title {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .gh-featured-pana .gh-featured-feed {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .gh-featured-video-card {
        padding: 14px;
    }

    .gh-featured-video-copy {
        padding: 4px 2px 2px;
    }

    .gh-featured-video-title {
        font-size: 3rem;
    }

    .gh-featured-video-excerpt {
        font-size: 1.6rem;
    }

    .gh-featured-program-card .gh-card-wrapper {
        padding: 16px;
    }
}
