/* Site-specific overrides can go here. Main visual style is in template-theme.css. */

.archive-feature-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.archive-feature-link:hover .service-card,
.archive-feature-link:focus .service-card {
    transform: translateY(-6px);
}

.feature-card-cta {
    color: var(--vtma-accent, #df6951);
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    margin-top: .5rem;
}

.inner-hero-section {
    background: linear-gradient(180deg, rgba(255, 241, 218, .45), rgba(255, 255, 255, 0));
    padding-top: 7rem !important;
}

.archive-intro {
    max-width: 760px;
}

.archive-panel,
.archive-list-card,
.archive-empty,
.resource-card {
    background: #fff;
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(24, 30, 75, .08);
}

.archive-video-frame {
    background: #f7f7fb;
    border-radius: 20px;
    overflow: hidden;
}

.archive-video-placeholder,
.archive-thumb-placeholder {
    background: #f7f7fb;
    border: 1px dashed rgba(24, 30, 75, .18);
    border-radius: 20px;
    min-height: 300px;
    padding: 2rem;
}

.archive-thumb-placeholder {
    min-height: 190px;
}

.placeholder-icon {
    height: 46px;
    width: 46px;
}

.archive-tag {
    background: #fff1da;
    border-radius: 999px;
    color: #5e6282;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 600;
    padding: .4rem .75rem;
}

.resource-card .service-icon,
.admin-card .service-icon {
    margin-left: 0;
    margin-right: 0;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus {
    color: var(--vtma-accent, #df6951);
}

/* Keep the template decoration behind all page content.
   The decorative cream blob is absolutely positioned in the layout. Without
   this stacking rule it can render above the Archive, Nominate, and Resources
   content on some screen sizes. */
.site-wrapper > main {
    position: relative;
    z-index: 2;
}

.site-wrapper > footer {
    position: relative;
    z-index: 2;
}

.site-wrapper > .hero-bg-blob,
.site-wrapper > .hero-glow {
    z-index: 0;
    pointer-events: none;
}

/* Compact one-line footer links */
.compact-footer {
    padding: 18px 0;
    border-top: 1px solid rgba(94, 98, 130, .14);
}

.compact-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.compact-footer-brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.compact-footer-title {
    font-size: 1.2rem;
    line-height: 1.2;
}

.compact-footer .footer-desc,
.compact-footer .footer-copyright {
    line-height: 1.4;
}

.compact-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: .95rem;
}

.compact-footer-links a {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .compact-footer-row,
    .compact-footer-brand,
    .compact-footer-links {
        justify-content: center;
        text-align: center;
    }
}

.nomination-review-card {
    overflow: hidden;
}

.nomination-contact-box {
    background: rgba(255, 241, 218, .55);
    border: 1px solid rgba(241, 165, 1, .18);
}

.nomination-review-form textarea {
    min-height: 180px;
}


.featured-resource-card {
    border-color: rgba(241, 165, 1, .28);
}

.resource-text-link {
    color: var(--vtma-accent, #df6951);
}

.resource-link-button {
    min-width: 0;
    padding: .7rem 1rem;
}

/* Resources page refresh */
.resources-hero-section {
    background:
        radial-gradient(circle at 8% 30%, rgba(223, 105, 81, .08), transparent 32%),
        linear-gradient(180deg, rgba(255, 241, 218, .52), rgba(255, 255, 255, 0));
    padding-top: 7rem !important;
}

.resources-intro,
.resources-section-header p {
    max-width: 760px;
}

.resources-hero-card,
.resources-featured-panel,
.resource-category-panel,
.resources-bottom-cta {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(24, 30, 75, .09);
    overflow: hidden;
}

.resources-hero-card {
    position: relative;
}

.resources-hero-card::after {
    background: #fff1da;
    border-radius: 999px;
    content: "";
    height: 150px;
    opacity: .75;
    position: absolute;
    right: -55px;
    top: -55px;
    width: 150px;
    z-index: 0;
}

.resources-hero-card > * {
    position: relative;
    z-index: 1;
}

.resources-hero-icon,
.resource-category-icon,
.resource-feature-mark {
    align-items: center;
    background: #fff1da;
    border-radius: 22px;
    color: var(--vtma-accent, #df6951);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 62px;
    justify-content: center;
    width: 62px;
}

.resources-featured-panel {
    border-color: rgba(241, 165, 1, .18);
}

.resources-featured-intro {
    background: linear-gradient(160deg, #fff1da 0%, rgba(255, 241, 218, .38) 100%);
}

.resources-featured-list {
    display: grid;
    gap: 18px;
}

.resource-feature-row {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 22px;
    display: flex;
    gap: 18px;
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.resource-feature-row:hover,
.resource-mini-card:hover {
    box-shadow: 0 18px 45px rgba(24, 30, 75, .10);
    transform: translateY(-3px);
}

.resource-feature-mark {
    height: 54px;
    width: 54px;
}

.resource-category-panel {
    box-shadow: 0 22px 60px rgba(24, 30, 75, .075);
}

.resource-category-header {
    background: linear-gradient(180deg, rgba(255, 241, 218, .45), rgba(255, 255, 255, 0));
}

.resource-category-body {
    display: grid;
    gap: 16px;
}

.resource-mini-card {
    background: #fff;
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 20px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.resource-mini-card p,
.resource-feature-row p {
    line-height: 1.65;
}

.resources-bottom-cta {
    background:
        linear-gradient(90deg, rgba(255, 241, 218, .74), rgba(255, 255, 255, .96)),
        #fff;
}

@media (max-width: 767.98px) {
    .resource-feature-row {
        flex-direction: column;
    }

    .resource-category-header .d-flex {
        flex-wrap: wrap;
    }
}

/* Interview profile page */
.archive-profile-hero {
    background:
        radial-gradient(circle at 12% 25%, rgba(223, 105, 81, .08), transparent 30%),
        linear-gradient(180deg, rgba(255, 241, 218, .46), rgba(255, 255, 255, 0));
    padding-top: 7rem !important;
}

.archive-profile-summary {
    max-width: 760px;
}

.archive-profile-photo-wrap,
.archive-profile-panel,
.archive-related-card,
.archive-profile-info-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(24, 30, 75, .09);
    overflow: hidden;
}

.archive-profile-photo-wrap {
    padding: 16px;
}

.archive-profile-photo,
.archive-profile-photo-placeholder {
    border-radius: 22px;
    display: block;
    min-height: 420px;
    object-fit: cover;
    width: 100%;
}

.archive-profile-photo-placeholder {
    background: linear-gradient(145deg, #fff1da, #f7f7fb);
    padding: 2rem;
}

.archive-profile-video {
    box-shadow: 0 24px 60px rgba(24, 30, 75, .12);
}

.archive-profile-info-card {
    box-shadow: none;
}

.archive-profile-facts div {
    border-bottom: 1px solid rgba(94, 98, 130, .14);
    padding: .85rem 0;
}

.archive-profile-facts div:first-child {
    padding-top: 0;
}

.archive-profile-facts div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.archive-profile-facts dt {
    color: var(--vtma-accent, #df6951);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.archive-profile-facts dd {
    color: var(--vtma-primary, #181e4b);
    font-weight: 700;
    margin-bottom: 0;
}

.archive-related-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.archive-related-card:hover,
.archive-related-card:focus-within {
    box-shadow: 0 34px 90px rgba(24, 30, 75, .12);
    transform: translateY(-4px);
}

@media (max-width: 767.98px) {
    .archive-profile-photo,
    .archive-profile-photo-placeholder {
        min-height: 300px;
    }
}

.login-card {
    max-width: 520px;
}

.default-login-note {
    background: rgba(255, 241, 218, .65);
    border: 1px solid rgba(241, 165, 1, .2);
    border-radius: 14px;
    padding: .85rem 1rem;
}

.admin-user-form {
    background: rgba(247, 247, 251, .55);
    border: 1px solid rgba(24, 30, 75, .08);
    border-radius: 18px;
    padding: 1rem;
}

.admin-table td,
.admin-table th {
    vertical-align: middle;
}
