.page-hero {
    background: var(--ink);
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.page-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-eyebrow::before,
.page-eyebrow::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.page-hero h1 {
    font-family: 'PT Serif', serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.page-hero h1 span {
    color: var(--gold);
}

.page-hero p {
    font-style: italic;
    color: var(--gold-light);
    opacity: 0.75;
    font-size: 1rem;
}

.page-body {
    padding: 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.section-header-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* margin-bottom: 1.5rem; */
}

.section-header-links::after {
    content: '';
    flex: 1;
    max-width: 5000px;
    height: 1px;
    background: var(--crimson);
    opacity: 0.4;
}

.section-header-eparhija-gimnazija {
    margin-top: 1.25rem !important;
}

.section-saborni {
    margin: 1.25rem 0;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--crimson);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.section-title {
    font-family: 'PT Serif', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.03em;
    white-space: nowrap;
}


.entity-card {
    background: #fff;
    border: 1px solid var(--stone-light);
    border-radius: 4px;
    overflow: hidden;
}

.entity-card+.entity-card {
    /* margin-top: 1.25rem; */
}

.entity-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stone-light);
}

.entity-monogram {
    width: 52px;
    height: 52px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.mono-church {
    background-image: url("/images/SPC-logo.png");
    background-position: center;
    background-size: contain;
    /* color: rgba(201, 168, 76, 0.7); */
}

.mono-eparchy {
    background: #2A1010;
    color: rgba(201, 168, 76, 0.65);
}

.mono-parish {
    background: #1A1510;
    color: rgba(201, 168, 76, 0.65);
}

.mono-monastery {
    background: #1E1A28;
    color: rgba(201, 168, 76, 0.55);
}

.mono-school {
    /* background: #0F1E14;
    color: rgba(160, 210, 130, 0.6); */
    background-image: url("/images/GIMNAZIJA-logo.png");
    background-position: center;
    background-size: contain;
}

.entity-meta {}

.entity-name {
    font-family: 'PT Serif', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}

.entity-desc {
    font-family: 'PT Serif', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--stone);
    line-height: 1.4;
    margin-top: 5px;
}

.entity-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--crimson);
    text-decoration: none;
    border: 1px solid rgba(139, 26, 26, 0.3);
    padding: 6px 14px;
    border-radius: 2px;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.entity-website-btn:hover {
    background: rgba(139, 26, 26, 0.06);
    border-color: rgba(139, 26, 26, 0.5);
}

.entity-website-btn i {
    font-size: 13px;
}

.entity-socials {
    display: flex;
    gap: 0;
    border-top: none;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.5rem;
    border-right: 1px solid var(--stone-light);
    text-decoration: none;
    transition: background 0.15s;
    flex: 1;
    min-width: 0;
}

.social-pill:last-child {
    border-right: none;
}

.social-pill:hover {
    background: var(--gold-pale);
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.si-instagram {
    background: #1a1a2e;
    color: #c77dff;
}

.si-facebook {
    background: #0a1628;
    color: #74b3f7;
}

.si-youtube {
    background: #1e0a0a;
    color: #f87171;
}

.si-x {
    background: #0d0d0d;
    color: #e5e5e5;
}

.si-website {
    background: var(--ink);
    color: var(--gold);
}

.si-mail {
    background: var(--ink);
    color: var(--gold);
}


.social-label-wrap {}

.social-platform {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
    font-weight: 500;
}

.social-handle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--stone);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}







.parish-featured {
    background: #fff;
    border: 1px solid var(--stone-light);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
}

.parish-banner {
    background: var(--ink);
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.parish-cross-mark {
    /* font-size: 1.6rem;
    color: var(--gold);
    opacity: 0.7; */
    width: 60px;
    height: 60px;
    background-image: url("/images/logo.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.parish-banner-text {}

.parish-banner-name {
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}

.parish-banner-sub {
    font-family: 'PT Serif', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--gold-light);
    opacity: 0.7;
}

.parish-banner-url {
    margin-left: auto;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(201, 168, 76, 0.5);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.parish-socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.parish-social-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 1.25rem 0.75rem;
    border-right: 1px solid var(--stone-light);
    border-bottom: 1px solid var(--stone-light);
    text-decoration: none;
    transition: background 0.15s;
    text-align: center;
}

.parish-social-cell:nth-child(3n) {
    border-right: none;
}

.parish-social-cell:nth-last-child(-n+3) {
    border-bottom: none;
}

.parish-social-cell:hover {
    background: var(--gold-pale);
}

.parish-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 2px;
}

.parish-social-name {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
}

.parish-social-handle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--stone);
}

.divider-cross {
    text-align: center;
    color: var(--gold);
    opacity: 0.22;
    font-size: 1rem;
    letter-spacing: 1.2rem;
}




@media (max-width: 390px) {

    .section-eyebrow {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--crimson);
        white-space: nowrap;
    }

    .entity-head {
        grid-template-columns: 1fr;
    }

    .entity-socials {
        display: flex;
        flex-direction: column;
        border: none;
    }

    .social-pill {
        border: none;
    }

    .parish-social-handle {
        display: none;
    }
}



@media (min-width: 391px) and (max-width: 600px) {

    .section-eyebrow {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--crimson);
        white-space: nowrap;
    }

    .entity-head {
        grid-template-columns: 1fr;
    }

    .entity-socials {
        display: flex;
        flex-direction: column;
        border: none;
    }

    .social-pill {
        border: none;
    }

    .parish-social-handle {
        display: none;
    }

    .page-body {
        padding: 2rem 3rem;
    }
}




@media (min-width: 601px) and (max-width: 1250px) {

    .section-eyebrow {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--crimson);
        white-space: nowrap;
    }

    .entity-head {
        grid-template-columns: 1fr;
    }

    .entity-socials {
        display: flex;
        flex-direction: column;
        border: none;
    }

    .social-pill {
        border: none;
    }

    .parish-social-handle {
        display: none;
    }
}