/* Shared content presentation: matching type, banners, empty states and pagination. */
h2,h3 {
    font-weight: 600;
}

.member-caption h3,.project-archive-copy h3,.contact-form-panel > h2 {
    font-weight: 600;
}

.project-facts dd,.contact-detail-card p {
    font-weight: 600;
}

.inside-page {
    overflow: hidden;
}

.inside-content {
    padding-block: 6.5625rem 9.375rem;
}

.inside-content > .collection-intro {
    margin-bottom: 3rem;
}

.inside-content .entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.inside-banner-placeholder {
    position: relative;
    height: 47.625rem;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg,#24376c,#0b1640);
}

.inside-banner-placeholder::before,.inside-banner-placeholder::after {
    content: '';
    position: absolute;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    border: 1px solid #f5c04a80;
    right: -3rem;
    top: -6rem;
}

.inside-banner-placeholder::after {
    width: 45rem;
    height: 45rem;
    border-color: #e5352b80;
}

.content-empty {
    position: relative;
    overflow: hidden;
    padding: 4rem;
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid #ffffffc9;
    background: linear-gradient(135deg,#ffffffeb,#fbf8f1d9);
    box-shadow: inset 0 1px 1px white,0 10px 45px #0b16400d;
    text-align: left;
    color: var(--navy);
}

.content-empty .empty-kicker {
    font-size: 1rem;
    letter-spacing: .2em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
}

.content-empty h3 {
    font-size: 2.25rem;
    max-width: 38rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.content-empty > p:last-child {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 40rem;
    color: #657081;
}

.empty-orbit {
    position: absolute;
    width: 15rem;
    height: 15rem;
    border: 1px solid #e5352b24;
    border-radius: 50%;
    right: -7rem;
    top: -7rem;
    box-shadow: 0 0 0 3rem #f5c04a0d,0 0 0 6rem #0b164005;
    pointer-events: none;
}

.home-hero-empty {
    padding-top: 16rem;
    background: var(--navy);
}

.home-hero-empty > .wrap > h1 {
    color: var(--paper);
    font: 700 5.25rem/1.25 'Libre Baskerville',Georgia,serif;
    margin-bottom: 3rem;
}

.home-hero-empty .content-empty {
    max-width: 70rem;
}

.project-grid[data-count="0"] {
    display: block;
}

.news-grid[data-count="0"],.news-grid[data-count="1"] {
    grid-template-rows: auto;
    align-items: stretch;
}

.news-grid[data-count="0"] > *, .news-grid[data-count="1"] > * {
    grid-row: auto;
}

.news-grid[data-count="2"] {
    grid-template-rows: auto auto;
}

.news-grid[data-count="2"] .news-feature {
    grid-row: span 2;
}

.values-photos.is-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.values-photos.is-empty > .button {
    margin-top: 0;
    align-self: flex-start;
}

.utz-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    margin-top: 4rem;
    padding: 1rem;
}

.utz-pagination a,.utz-pagination > span {
    min-width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0b164026;
    border-radius: 50%;
    background: #ffffffa6;
    font: 600 1.125rem/1 'IBM Plex Sans',Arial,sans-serif;
    box-shadow: inset 0 1px 1px #fff,0 4px 14px #0b164008;
    transition: background-color .25s,color .25s,transform .25s,box-shadow .25s;
}

.utz-pagination .pagination-step {
    border-radius: 3rem;
    gap: .75rem;
    padding-inline: 1.25rem;
}

.utz-pagination [aria-current=page] {
    color: white;
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 5px 20px #0b164026;
}

.utz-pagination a:hover {
    transform: translateY(-2px);
    background: var(--navy);
    color: white;
}

.utz-pagination [aria-disabled=true] {
    opacity: .4;
    box-shadow: none;
}

.utz-pagination .pagination-dots {
    min-width: 1.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.social-target {
    transition: transform .3s cubic-bezier(.22,1,.36,1),filter .3s,background-color .3s,box-shadow .3s;
}

.footer-socials .social-target:hover,.footer-socials a:focus-visible {
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 4px 10px #f5c04a70);
}

.topbar-socials .social-target {
    border-radius: .4rem;
}

.topbar-socials .social-target:hover,.topbar-socials a:focus-visible {
    background: #f5c04a33;
    box-shadow: 0 0 12px #f5c04a50;
}

@media(max-width:820px) {
    .inside-content {
        padding-block: 3rem 4rem;
    }
    .inside-banner-placeholder {
        height: 18rem;
        border-radius: 1.5rem;
    }
    .content-empty {
        min-height: 15rem;
        padding: 2rem;
        border-radius: 1.5rem;
    }
    .content-empty .empty-kicker {
        font-size: .75rem;
        margin-bottom: 1rem;
    }
    .content-empty h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .content-empty > p:last-child {
        font-size: 1rem;
    }
    .home-hero-empty {
        padding-top: 10rem;
    }
    .home-hero-empty > .wrap > h1 {
        font-size: 2.2rem;
    }
    .utz-pagination {
        gap: .4rem;
        margin-top: 2.5rem;
        padding-inline: 0;
    }
    .utz-pagination a,.utz-pagination > span {
        min-width: 2.5rem;
        height: 2.5rem;
        font-size: .9rem;
    }
    .utz-pagination .pagination-step {
        padding-inline: .8rem;
    }
    .utz-pagination .pagination-step > span {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {
    .social-target:hover,.utz-pagination a:hover {
        transform: none;
    }
}

/* Long article titles keep their full headline over navy before the photograph. */
.about-banner.inside-banner {
    background: linear-gradient(to bottom,var(--navy) 0,var(--navy) calc(100% - 28.75rem),var(--paper) calc(100% - 28.75rem),var(--paper) 100%);
}

.listing-description {
    color: var(--ink);
    margin-bottom: 3rem;
    max-width: 65rem;
    line-height: 1.6;
}

@media(max-width:820px) {
    .about-banner.inside-banner {
        background: linear-gradient(to bottom,var(--navy) 0,var(--navy) calc(100% - 12rem),var(--paper) calc(100% - 12rem),var(--paper) 100%);
    }
    .listing-description {
        margin-bottom: 2rem;
    }
}

.empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.project-grid[data-count="0"] {
    min-height: 0;
    height: auto;
}

.news-listing-grid,
.projects-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.1875rem;
}

.news-card-photo,
.project-archive-photo {
    height: 26rem;
}

@media (max-width: 1100px) {
    .news-listing-grid,
    .projects-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .news-listing-grid,
    .projects-archive-grid {
        column-gap: 1.5rem;
    }

    .news-card-photo,
    .project-archive-photo {
        height: 15rem;
    }
}

@media (max-width: 699px) {
    .news-listing-grid,
    .projects-archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 559px) {
    .news-card-photo,
    .project-archive-photo {
        height: 16rem;
    }
}
