/* ===============================================================
   MEKIF – KÖZPONTI STÍLUSLAP  V1.3
   Egyetlen CSS. A régi style.css + V1.1-V1.3 finomítások teljes egyesítése.
   A keresztmotívum mindenhol ugyanaz: ☦ (keleti / görögkatolikus).
   TARTALOM: alaparculat, fejléc/menü, főoldal, listák, dokumentumok,
   lábléc, reszponzív szabályok, arculati finomítás, saját lightbox.
   =============================================================== */

/* ===== 1. ALAPARCULAT ÉS EGYSÉGES NAVIGÁCIÓ ===== */
:root {
    --wine: #760d2a;
    --wine-dark: #3d071d;
    --wine-deep: #240716;
    --gold: #caa75b;
    --gold-light: #e8d29b;
    --ivory: #faf7ef;
    --paper: #fffdf9;
    --ink: #27232a;
    --muted: #716a70;
    --line: #e9e2d7;
    --shadow: 0 20px 55px rgba(41,21,20,.08);
    --radius: 15px;
}

*,*::before,*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
}

button,input {
    font: inherit;
}

button {
    cursor: pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
    outline: 3px solid #c7a15c;
    outline-offset: 3px;
}

.wrap {
    width: min(1170px,calc(100% - 48px));
    margin: 0 auto;
}

#load-progress {
    position: fixed;
    z-index: 999;
    height: 3px;
    left: 0;
    top: 0;
    background: var(--gold);
    width: 0;
    opacity: 0;
    transition: width .25s ease,opacity .25s ease;
}

#load-progress.loading {
    opacity: 1;
    width: 65%;
}

#load-progress.finishing {
    width: 100%;
}

.topline {
    background: var(--wine-dark);
    color: #f5e7da;
    font-size: 11px;
    letter-spacing: .07em;
}

.topline-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 33px;
}

.topline a {
    color: #eacb89;
    text-transform: uppercase;
    font-weight: 650;
    white-space: nowrap;
}

.cross-mark {
    color: var(--gold);
    margin-right: 8px;
    font-size: 16px;
}

.site-header {
    background: rgba(255,253,249,.97);
    position: relative;
    z-index: 20;
    box-shadow: 0 6px 25px rgba(31,12,23,.06);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand img {
    width: 190px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    object-position: left;
}

.brand-copy {
    border-left: 1px solid #d7cbbf;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    line-height: 1.32;
}

.brand-copy strong {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 29px;
    letter-spacing: .05em;
    color: var(--wine);
}

.brand-copy span {
    font-size: 12px;
    max-width: 245px;
    text-transform: uppercase;
    letter-spacing: .035em;
    font-weight: 650;
    color: #6a5c62;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--wine);
    transition: .2s;
}

.header-search:hover {
    background: var(--wine);
    color: white;
}

.header-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

/* MEKIF V1.3 – Méltóságteljes, jól azonosítható navigációs gombok. */
.main-nav {
    background: linear-gradient(180deg, #fffcf7 0%, #f7f0e5 100%);
    border-top: 1px solid #ebe1d2;
    border-bottom: 1px solid #dbc59f;
    box-shadow: 0 5px 18px rgba(56, 22, 33, .065);
}

.nav-items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 72px;
    gap: 8px;
    padding: 11px 0;
}

.nav-link, .nav-more > button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #d4bc8c;
    border-radius: 9px;
    background: linear-gradient(180deg, #fffefa, #f8f0e4);
    color: #522038;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .018em;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 0 rgba(111, 76, 29, .08), 0 5px 12px rgba(74, 28, 42, .045);
    transition: background .22s ease, color .22s ease, border-color .22s ease,
        transform .22s ease, box-shadow .22s ease;
}

.nav-link:hover, .nav-more > button:hover {
    color: #fffaf0;
    background: linear-gradient(135deg, #792b46, #520e29);
    border-color: #d5b477;
    box-shadow: 0 5px 14px rgba(73, 14, 37, .20);
    transform: translateY(-1px);
}

.nav-link.is-active, .nav-more > button[aria-expanded="true"] {
    color: #fff9ee;
    background: linear-gradient(130deg, #771a3a, #4b0926);
    border-color: #cba760;
    box-shadow: inset 0 0 0 1px rgba(255, 240, 209, .13),
        0 3px 0 rgba(194, 154, 83, .25), 0 6px 15px rgba(77, 18, 39, .12);
}

.nav-link:focus-visible, .nav-more > button:focus-visible {
    outline: 2px solid #bc9048;
    outline-offset: 3px;
}

.nav-more {
    position: relative;
    margin-left: auto;
}

.nav-more > button span {
    font-size: 16px;
    margin-left: 7px;
    line-height: .8;
}

.more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    min-width: 270px;
    padding: 10px;
    border-radius: 12px;
    background: #fffaf1;
    border: 1px solid #d7bd87;
    box-shadow: 0 18px 45px rgba(42, 8, 22, .20);
}

.more-menu.open { display: block; }

.more-menu .nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 13px;
    margin-bottom: 6px;
    border-radius: 8px;
    white-space: normal;
    text-align: left;
}

.more-menu .nav-link:last-child { margin-bottom: 0; }
.more-menu .nav-link.is-active { box-shadow: inset 0 0 0 1px rgba(255, 240, 209, .16); }

.mobile-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--wine);
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 25px;
    background: currentColor;
    margin: 5px;
}

.mobile-toggle b {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 90% 130% at 10% 50%,#761c37 0,#4c1026 60%,#310619 100%);
    color: white;
    min-height: 560px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,transparent 0 76px,rgba(255,255,255,.015) 77px 78px);
    pointer-events: none;
}

.hero-mosaic {
    position: absolute;
    right: -4%;
    top: -20%;
    bottom: -12%;
    width: 67%;
    background: url("../img/hatter1.jpg") center 27%/cover no-repeat;
    opacity: .63;
    mix-blend-mode: screen;
    mask-image: linear-gradient(90deg,transparent 0%,#000 47%);
    -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 47%);
}

.hero-inner {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    font-weight: 800;
    color: var(--wine);
    letter-spacing: .18em;
    font-size: 11px;
    display: block;
    margin-bottom: 17px;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #edcf8b;
}

.small-cross {
    font-size: 18px;
    vertical-align: -1px;
    margin-right: 8px;
}

.hero h1,h1,h2,h3,.footer-motto {
    font-family: Georgia,"Times New Roman",serif;
}

.hero h1 {
    font-size: clamp(44px,5.2vw,76px);
    line-height: 1.11;
    letter-spacing: -.036em;
    margin: 0 0 24px;
    font-weight: 700;
}

.hero h1 em,.feature-band h2 em {
    font-weight: 400;
    color: var(--gold-light);
}

.hero-copy>p {
    max-width: 555px;
    color: #f2dfdf;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .01em;
    border-radius: 4px;
    transition: transform .2s,background .2s,border .2s;
    white-space: normal;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #271623;
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background: #e6ca88;
}

.btn-outline {
    border: 1px solid #c9a7a9;
    color: white;
    background: #ffffff0a;
}

.btn-outline:hover {
    background: #ffffff19;
}

.hero-seal {
    position: relative;
    margin-left: auto;
    min-width: 190px;
    min-height: 190px;
    border: 1px solid #d7bb8859;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    gap: 4px;
    color: #f3dba1;
    box-shadow: 0 0 0 18px rgba(214,179,106,.04),0 0 0 32px rgba(214,179,106,.04);
}

.hero-seal span {
    font-size: 102px;
    line-height: 1;
}

.hero-seal small {
    font-size: 10px;
    letter-spacing: .11em;
    text-align: center;
    max-width: 150px;
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    color: #f2d5a7;
    background: #37071bb9;
    text-align: center;
    letter-spacing: .27em;
    font-size: 9px;
    font-weight: 700;
}

.hero-scroll span {
    color: #d4a85d;
    margin: 0 18px;
}

.intro-strip {
    background: #fff9f1;
    border-bottom: 1px solid #eaddc6;
}

.intro-strip-inner {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.deco-cross {
    font-family: Georgia,serif;
    font-size: 37px;
    color: var(--gold);
}

.intro-strip p {
    color: #5f5661;
    flex: 1;
    max-width: 820px;
    line-height: 1.6;
    font-size: 15px;
}

.intro-strip p strong {
    color: var(--wine);
}

.intro-strip a,.text-link {
    font-size: 13px;
    font-weight: 850;
    color: var(--wine);
    white-space: nowrap;
}

.intro-strip a span,.text-link span {
    padding-left: 8px;
}

.section {
    padding-top: 80px;
    padding-bottom: 90px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(31px,3.6vw,45px);
    line-height: 1.2;
    letter-spacing: -.025em;
    margin: 0 0 10px;
    color: #32232a;
}

.section-heading p {
    color: var(--muted);
    margin: 0;
    max-width: 640px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.story-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(44,28,27,.035);
    display: flex;
    flex-direction: column;
    transition: transform .22s,box-shadow .22s,border-color .22s;
    min-height: 390px;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #dec6a4;
}

.story-photo {
    height: 208px;
    background: #eee6db;
    overflow: hidden;
    position: relative;
}

.story-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.story-card:hover .story-photo>img {
    transform: scale(1.045);
}

.cover-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%,#e3d0b5,transparent 65%),linear-gradient(145deg,#f2e7d8,#d4c4a9);
}

.cover-placeholder span {
    color: var(--wine);
    opacity: .4;
    font-size: 82px;
}

.story-content {
    padding: 24px 25px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    color: #877366;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.meta-dot {
    color: #b59b73;
}

.story-content h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 13px 0;
    color: #36232b;
    letter-spacing: -.012em;
}

.story-content p {
    font-size: 13px;
    line-height: 1.74;
    color: #777078;
    margin: 0 0 18px;
}

.card-read {
    margin-top: auto;
    color: var(--wine);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .035em;
}

.card-read span {
    margin-left: 7px;
}

.story-card-compact {
    min-height: 285px;
}

.story-card-compact .story-photo {
    height: 154px;
}

.story-card-compact .story-content h3 {
    font-size: 18px;
}

.institutions-grid .story-card {
    min-height: 340px;
}

.institutions-grid .story-photo {
    height: 175px;
}

.feature-band {
    background: var(--wine-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.feature-band::after {
    content: "☦";
    position: absolute;
    font-family: Georgia;
    font-size: 440px;
    right: -50px;
    bottom: -180px;
    color: #ffffff07;
    pointer-events: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 70px;
    padding: 85px 0;
    position: relative;
    z-index: 1;
}

.feature-band h2 {
    font-size: clamp(37px,4.4vw,56px);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 24px;
}

.feature-copy>p {
    font-size: 16px;
    color: #e4cad0;
    line-height: 1.9;
    max-width: 540px;
    margin-bottom: 28px;
}

.feature-secondary {
    display: inline-block;
    font-size: 12px;
    color: #eacb8f;
    font-weight: 800;
    margin: 16px 0 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.stat-box {
    padding: 30px 22px;
    min-height: 170px;
    background: #ffffff0d;
    border: 1px solid #ffffff21;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.stat-icon {
    font-size: 18px;
    color: #d4a659;
}

.stat-box strong {
    font-family: Georgia,serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    color: #f1d7a0;
}

.stat-box span:last-child {
    font-size: 12px;
    color: #dfb9c4;
    line-height: 1.5;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.quick-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px 25px;
    min-height: 245px;
    transition: transform .2s,box-shadow .2s,border .2s;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #d6b87f;
}

.quick-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    background: #f8f0e5;
    color: var(--wine);
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 23px;
}

.quick-card h3 {
    font-size: 21px;
    margin: 0 0 7px;
    line-height: 1.25;
}

.quick-card p {
    color: var(--muted);
    margin: 0;
    font-size: 13px;
}

.quick-arrow {
    position: absolute;
    bottom: 18px;
    right: 23px;
    color: var(--wine);
    font-size: 18px;
}

.quick-grid-docs {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.page-banner {
    position: relative;
    background: radial-gradient(ellipse 70% 200% at 100% 40%,#83354a 0%,transparent 75%),linear-gradient(115deg,#4d0e26,#6f1833);
    overflow: hidden;
    color: white;
    padding: 62px 0 64px;
}

.page-banner::after {
    content: "☦";
    position: absolute;
    right: 6%;
    top: -160px;
    font-size: 440px;
    color: #ffffff07;
    font-family: Georgia;
    pointer-events: none;
}

.page-banner .wrap {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    margin: 0 0 12px;
    max-width: 850px;
    font-size: clamp(34px,4.6vw,55px);
    line-height: 1.14;
    letter-spacing: -.025em;
}

.page-banner p {
    margin: 0;
    color: #e5c5ce;
    max-width: 740px;
}

.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.list-toolbar p {
    margin: 0;
}

.list-toolbar strong {
    color: var(--wine);
}

.archive-icon {
    font-size: 25px;
    color: #c7a868;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    font-size: 13px;
}

.pagination a {
    padding: 10px 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 800;
    color: var(--wine);
}

.pagination a:hover {
    background: #f7ebe2;
}

.pagination a[aria-disabled=true] {
    opacity: .4;
    pointer-events: none;
}

.pagination span {
    color: var(--muted);
}

.detail-wrap {
    padding-top: 24px;
    padding-bottom: 88px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 31px;
}

.breadcrumb a:hover {
    color: var(--wine);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 260px;
    gap: 35px;
    align-items: start;
}

.detail-article {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(23px,4vw,52px);
    border-radius: 12px;
    box-shadow: 0 12px 35px #35211a0a;
    min-width: 0;
}

.detail-date {
    color: #866b6f;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .075em;
    margin-bottom: 25px;
}

.detail-cover {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e0d3;
}

.detail-cover img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.article-body {
    font-size: 16px;
    line-height: 1.95;
    color: #51484e;
    overflow-wrap: anywhere;
}

.article-body p {
    margin: 0 0 1.15em;
}

.article-body h3 {
    font-size: 24px;
    line-height: 1.3;
    color: var(--wine);
    margin: 1.25em 0 .65em;
    padding-bottom: 9px;
    border-bottom: 1px solid #eaded0;
}

.article-body a,.details-metadata a {
    color: var(--wine);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-subtitle,.details-metadata h2 {
    font-size: 26px;
    margin: 43px 0 19px;
    color: #3d2530;
}

.details-metadata {
    background: #fbf6ed;
    border: 1px solid #e9ddca;
    border-radius: 9px;
    padding: 22px 27px;
    margin-bottom: 30px;
}

.details-metadata h2 {
    margin: 0 0 17px;
    font-size: 24px;
}

.details-metadata p {
    margin: 4px 0;
    padding: 4px 0;
    border-bottom: 1px solid #efe5d7;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

.gallery-grid a {
    height: 170px;
    overflow: hidden;
    border-radius: 7px;
    background: #f2e6df;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}

.gallery-grid a:hover img {
    transform: scale(1.04);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-list a {
    padding: 13px 15px;
    border: 1px solid #e9dcd1;
    border-radius: 6px;
    background: #fbf6ef;
    color: var(--wine);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.link-list a:hover {
    background: #f4e8d9;
}

.link-list a span {
    margin-right: 10px;
}

.detail-sidebar {
    position: sticky;
    top: 25px;
}

.side-panel {
    background: var(--wine-dark);
    color: white;
    padding: 30px;
    border-radius: 9px;
}

.side-cross {
    font-family: Georgia;
    font-size: 43px;
    color: var(--gold-light);
}

.side-panel h3,.office-side h3 {
    font-size: 26px;
    margin: 8px 0 12px;
}

.side-panel p,.office-side p {
    color: #e5cbd4;
    font-size: 13px;
    line-height: 1.8;
}

.side-panel a {
    color: var(--gold-light);
    font-weight: 800;
    font-size: 13px;
}

.side-back {
    margin-top: 14px;
    padding: 15px;
    font-size: 12px;
    color: var(--wine);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.empty-state {
    grid-column: 1/-1;
    background: #fff;
    padding: 30px;
    border: 1px dashed #cfbcb7;
    border-radius: 10px;
    color: #75676c;
}

.office-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 28px;
    align-items: start;
}

.office-card {
    background: white;
    padding: 30px 35px;
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px #2e191509;
    border-radius: 10px;
    margin-bottom: 18px;
}

.office-card h2 {
    font-size: 25px;
    margin: 0 0 17px;
    color: var(--wine);
}

.office-card p {
    color: #544950;
    font-size: 14px;
    margin: 7px 0;
    border-bottom: 1px solid #f4eee7;
    padding-bottom: 6px;
    overflow-wrap: anywhere;
}

.office-card a {
    color: var(--wine);
    text-decoration: underline;
}

.office-departments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.office-departments .office-card {
    margin: 0;
}

.office-side {
    position: sticky;
    top: 25px;
    background: var(--wine-dark);
    border-radius: 10px;
    padding: 33px;
    color: white;
}

.office-side .btn {
    font-size: 12px;
    margin: 10px 0 20px;
}

.office-side small {
    display: block;
    color: #d5b7c2;
    font-size: 11px;
}

.document-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-left: 4px solid var(--gold);
    padding: 18px 25px;
    margin: 0 0 26px;
}

.document-intro>span {
    font-size: 25px;
    color: var(--wine);
}

.document-intro p {
    margin: 0;
    font-size: 14px;
    color: #6d6165;
}

.doc-group {
    margin-bottom: 13px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}

.doc-group summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 19px 24px;
    font-weight: 800;
    color: #462837;
}

.doc-group summary small {
    color: #8b7775;
    font-size: 11px;
    margin-left: auto;
    font-weight: 650;
}

.summary-chevron {
    color: var(--wine);
}

.doc-list {
    padding: 6px 22px 20px;
}

.doc-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 9px;
    border-top: 1px solid #f0e9e0;
    font-size: 13px;
}

.doc-list a:hover {
    background: #faf5ec;
}

.doc-file-icon {
    display: grid;
    place-items: center;
    background: #f7eddf;
    color: var(--wine);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 900;
    min-width: 48px;
    height: 36px;
}

.doc-name {
    flex: 1;
    overflow-wrap: anywhere;
}

.doc-action {
    white-space: nowrap;
    color: var(--wine);
    font-weight: 750;
}

.search-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: 26px;
    border-radius: 9px;
    margin-bottom: 32px;
}

.search-form label {
    font-weight: 850;
    display: block;
    font-size: 13px;
    margin-bottom: 7px;
}

.search-form>div {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d6c7bc;
    border-radius: 5px;
    padding: 11px 15px;
}

.footer {
    background: #2b101f;
    color: #e9d7db;
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 67px;
}

.footer-about img {
    width: 185px;
    background: #fffdf9;
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 22px;
}

.footer-motto {
    font-size: 23px;
    line-height: 1.22;
    color: #eacb8d;
    margin: 0 0 15px;
}

.footer-about>p:last-child {
    font-size: 12px;
    color: #beadb3;
    max-width: 300px;
}

.footer h3 {
    font-size: 18px;
    color: #fff;
    margin: 2px 0 19px;
}

.footer-grid a {
    display: block;
    font-size: 13px;
    color: #d3c0c5;
    margin: 10px 0;
}

.footer-grid a:hover {
    color: #eacb8d;
}

.footer-grid>div>p:not(.footer-motto) {
    font-size: 13px;
    color: #c7b1b8;
}

.footer-bottom {
    border-top: 1px solid #ffffff24;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #bba9ae;
    font-size: 11px;
}

@media (max-width:1100px) {
    .nav-link, .nav-more > button {
        padding: 9px 10px;
        min-height: 42px;
        font-size: 12.6px;
    }

    .hero-seal {
        min-width: 140px;
        min-height: 140px;
    }

    .hero-seal span {
        font-size: 75px;
    }

    .stories-grid {
        gap: 16px;
    }

    .quick-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:820px) {
    .wrap {
        width: min(100% - 32px,650px);
    }

    .topline {
        font-size: 10px;
    }

    .topline a {
        display: none;
    }

    .header-row {
        min-height: 80px;
    }

    .brand {
        gap: 12px;
    }

    .brand img {
        width: 135px;
        max-height: 60px;
    }

    .brand-copy {
        padding-left: 12px;
    }

    .brand-copy strong {
        font-size: 22px;
    }

    .brand-copy span {
        font-size: 10px;
        max-width: 195px;
    }

    .mobile-toggle {
        display: block;
    }

    .header-search {
        width: 39px;
        height: 39px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .nav-items {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 13px 0 18px;
    }

    .nav-link, .nav-more > button {
        display: flex;
        width: 100%;
        min-height: 46px;
        padding: 11px 16px;
        font-size: 15px;
        justify-content: flex-start;
        text-align: left;
        white-space: normal;
    }

    .nav-more { margin: 0; width: 100%; }

    .more-menu {
        display: none;
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 7px;
        padding: 9px;
        border: 1px solid #e3cfaa;
        border-radius: 10px;
        box-shadow: none;
    }

    .hero,.hero-inner {
        min-height: 530px;
    }

    .hero-inner {
        padding: 68px 0 92px;
    }

    .hero-mosaic {
        width: 100%;
        right: -34%;
        opacity: .3;
    }

    .hero-seal {
        display: none;
    }

    .hero h1 {
        font-size: clamp(39px,8vw,60px);
    }

    .hero-copy>p {
        font-size: 15px;
    }

    .intro-strip-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px 0;
    }

    .intro-strip p {
        min-width: 75%;
        font-size: 14px;
        margin: 0;
    }

    .intro-strip a {
        padding-left: 50px;
    }

    .section {
        padding: 54px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }

    .stories-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 60px 0;
    }

    .detail-grid,.office-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar,.office-side {
        position: static;
    }

    .footer-grid {
        gap: 32px;
        grid-template-columns: 1.4fr 1fr;
    }

    .footer-grid>div:last-child {
        grid-column: 1/-1;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }

    .office-departments {
        grid-template-columns: 1fr;
    }
}

@media (max-width:570px) {
    .wrap {
        width: calc(100% - 30px);
    }

    .brand img {
        width: 89px;
    }

    .brand-copy {
        padding-left: 10px;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .brand-copy span {
        max-width: 162px;
        font-size: 8.5px;
    }

    .header-controls {
        gap: 2px;
    }

    .header-search {
        border: 0;
        width: 33px;
        height: 35px;
    }

    .mobile-toggle {
        padding: 5px;
    }

    .topline-inner {
        min-height: 30px;
    }

    .hero,.hero-inner {
        min-height: 495px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-copy>p {
        font-size: 14px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-scroll {
        font-size: 8px;
        letter-spacing: .12em;
    }

    .hero-scroll span {
        margin: 0 5px;
    }

    .section-heading h2 {
        font-size: 33px;
    }

    .stories-grid,.quick-grid,.quick-grid-docs {
        grid-template-columns: 1fr;
    }

    .story-photo {
        height: 210px;
    }

    .story-card {
        min-height: 0;
    }

    .stat-box {
        padding: 20px 14px;
        min-height: 140px;
    }

    .stat-box strong {
        font-size: 39px;
    }

    .feature-secondary {
        display: block;
        margin-left: 0;
    }

    .page-banner {
        padding: 45px 0;
    }

    .page-banner h1 {
        font-size: 35px;
    }

    .detail-article {
        padding: 20px 17px;
    }

    .detail-cover img {
        max-height: 330px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .gallery-grid a {
        height: 135px;
    }

    .office-card {
        padding: 24px 20px;
    }

    .doc-list a {
        align-items: start;
        gap: 8px;
    }

    .doc-action {
        font-size: 0;
    }

    .doc-action::after {
        content: "↗";
        font-size: 17px;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 36px;
    }

    .footer-grid>div:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin: 6px 0;
    }

    .search-form>div {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ===== 2. TARTALOM, DOKUMENTUMOK, VÍZJEL ÉS LIGHTBOX ===== */

/* A korábbi javítások összefésülve, kizárólag ebben a központi CSS-ben. */


/* 1. Kezdolapi diszkereszt: nagyobb, melegebb arany, gyenged fenylés. */

@media (min-width: 821px) {
    .hero-seal {
        min-width: 265px;
        min-height: 265px;
        border-color: rgba(238, 204, 134, .56);
        box-shadow: 0 0 0 20px rgba(214, 179, 106, .045),
                0 0 0 41px rgba(214, 179, 106, .028),
                0 13px 45px rgba(0, 0, 0, .18);
    }

    .hero-seal > span {
        font-size: 152px;
        color: #efd28b;
        text-shadow: 0 3px 20px rgba(240, 194, 100, .35), 0 5px 12px rgba(0, 0, 0, .35);
    }
}

@media (min-width: 821px) and (max-width: 1100px) {
    .hero-seal {
        min-width: 192px;
        min-height: 192px;
    }

    .hero-seal > span {
        font-size: 110px;
    }
}


/* 2. Belso oldalak keresztje a bordó fejlecben. */

.page-banner::after {
    color: rgba(245, 240, 230, .15);
    text-shadow: 4px 9px 22px rgba(9, 1, 5, .38), -2px -2px 18px rgba(245, 227, 185, .10);
    right: 4%;
    top: -180px;
    font-weight: 500;
}


/* 3. Nagy görögkatolikus vízjel: fixen a képernyő BAL ALSÓ sarkában.
   A jel ugyanaz az ortodox kereszt (☦), amely a fejlécben is szerepel. */
.page-main {
    position: relative;
    isolation: isolate;
}

.page-main::before {
    content: "☦";
    position: fixed;
    top: auto;
    bottom: -.16em;
    left: -.11em;
    transform: none;
    font-family: "Segoe UI Symbol", "DejaVu Sans", Georgia, serif;
    font-size: clamp(520px, 82vmin, 920px);
    font-weight: 400;
    line-height: 1;
    color: rgba(96, 94, 98, .085);
    text-shadow: 8px 12px 20px rgba(48, 46, 53, .035);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

@media (max-width: 700px) {
    .page-main::before {
        font-size: 97vw;
        bottom: -.14em;
        left: -.13em;
        color: rgba(96, 94, 98, .075);
    }
}

/* 5. Dokumentumtar: hosszu nevek es kulon listak; a regi CSS szabalyaival egyutt. */

.doc-group {
    box-shadow: 0 5px 19px rgba(57, 30, 37, .035);
}

.doc-group summary {
    list-style: none;
    transition: background .2s ease;
}

.doc-group summary::-webkit-details-marker {
    display: none;
}

.doc-group summary:hover {
    background: #fbf5eb;
}

.doc-group[open] summary {
    background: #fcf7ef;
    border-bottom: 1px solid #f0e6da;
}

.doc-group[open] .summary-chevron {
    transform: rotate(180deg);
}

.summary-chevron {
    transition: transform .2s ease;
}

.doc-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.doc-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: normal;
}

.doc-name {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.doc-file-icon {
    flex: 0 0 48px;
}

.doc-action {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .doc-list {
        padding: 4px 10px 12px;
    }

    .doc-group summary {
        gap: 7px;
        padding: 14px 12px;
        flex-wrap: wrap;
    }

    .doc-group summary small {
        margin-left: 0;
    }

    .doc-action {
        display: none;
    }
}


/* 6. Kattinthato kepek es sajat lightbox. */

.story-photo img, .detail-cover img, .gallery-grid img {
    cursor: zoom-in;
}

.story-photo {
    position: relative;
}

.story-photo:hover img, .detail-cover:hover img {
    filter: brightness(1.045);
}

.mekif-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(14, 8, 15, .94);
    padding: 60px 70px 65px;
    color: #fff;
    box-sizing: border-box;
    animation: mekif-lb-enter .18s ease-out;
}

.mekif-lightbox.is-open {
    display: flex;
}

.mekif-lightbox * {
    box-sizing: border-box;
}

.mekif-lb-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: min(1500px, 100%);
    max-height: 100%;
    min-width: 0;
}

.mekif-lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 15px 70px rgba(0,0,0,.6);
}

.mekif-lb-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
    color: #ebddcf;
    overflow-wrap: anywhere;
}

.mekif-lb-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(234,205,147,.3);
    border-radius: 50%;
    background: rgba(60,35,46,.8);
    color: #f8e7c4;
    cursor: pointer;
    font-family: inherit;
    font-size: 29px;
    line-height: 1;
    transition: background .18s, transform .18s;
}

.mekif-lb-btn:hover {
    background: #782b48;
    transform: scale(1.06);
}

.mekif-lb-btn:focus-visible {
    outline: 3px solid #e8bf78;
    outline-offset: 3px;
}

.mekif-lb-close {
    right: 20px;
    top: 18px;
}

.mekif-lb-prev {
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
}

.mekif-lb-next {
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
}

.mekif-lb-prev:hover, .mekif-lb-next:hover {
    transform: translateY(-50%) scale(1.06);
}

.mekif-lb-btn[hidden] {
    display: none;
}

@keyframes mekif-lb-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 650px) {
    .mekif-lightbox {
        padding: 65px 8px 84px;
    }

    .mekif-lb-img {
        max-height: calc(100vh - 180px);
    }

    .mekif-lb-btn {
        width: 39px;
        height: 39px;
        font-size: 23px;
    }

    .mekif-lb-close {
        right: 9px;
        top: 10px;
    }

    .mekif-lb-prev {
        left: 6px;
        top: auto;
        bottom: 15px;
        transform: none;
    }

    .mekif-lb-next {
        right: 6px;
        top: auto;
        bottom: 15px;
        transform: none;
    }

    .mekif-lb-prev:hover, .mekif-lb-next:hover {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mekif-lightbox {
        animation: none;
    }
}



/* Megjelenés: a mozgáscsökkentési beállítást tiszteletben tartjuk. */
@media (prefers-reduced-motion: reduce) {
    .nav-link, .nav-more > button { transition: none; transform: none !important; }
}


/* ================================================================
   V1.4 – A RÉGI MEKIF KÉT UNIÓS TÁMOGATÁSI INFOBLOKKJA
   Egyetlen központi CSS: nincs új finomítási stíluslap.
   ================================================================ */
.eu-projects {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #fffaf1 0%, #f9f2e6 100%);
    border-bottom: 1px solid #e4d6c1;
    border-top: 1px solid #ecdfcd;
}
.eu-projects-head { margin-bottom: 25px; }
.eu-projects-head .eyebrow { margin-bottom: 8px; }
.eu-projects-head h2 {
    margin: 0 0 10px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    color: #4c172c;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.25;
}
.eu-projects-head p {
    color: #665a5d;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}
.eu-projects-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 23px;
}
.eu-project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid #d3c19e;
    background: #fff;
    box-shadow: 0 7px 23px rgba(61, 29, 29, .09);
    text-decoration: none;
    color: #55152c;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.eu-project-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 342 / 103;
    object-fit: contain;
    background: #fff;
}
.eu-project-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eadfc9;
    background: #fdf8ef;
    padding: 13px 17px;
    font: 700 15px/1.45 "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
.eu-project-label > span { font-size: 19px; color: #a77a32; }
.eu-project-card:hover {
    border-color: #b1904d;
    box-shadow: 0 12px 27px rgba(61, 29, 29, .16);
    transform: translateY(-3px);
}
.eu-project-card:focus-visible { outline: 3px solid #8c5d19; outline-offset: 3px; }
@media (max-width: 700px) {
    .eu-projects { padding: 37px 0 44px; }
    .eu-projects-grid { grid-template-columns: 1fr; gap: 16px; }
    .eu-project-label { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .eu-project-card { transition: none; }
    .eu-project-card:hover { transform: none; }
}



/* ===============================================================
   MEKIF V1.6 – a kör alakú egyházmegyei jelkép és halk identitássáv
   AZ EGYETLEN KÖZPONTI STYLE.CSS RÉSZE – nincsen külön patch CSS.
   Az eredeti, változatlan logo2.png bal oldalán lévő jelképet
   CSS-sel köralakban kivágjuk; így nem hozunk létre új logóváltozatot.
   =============================================================== */

/* A jelvény az eredeti logo2.png köralakú, átlátszó háttérre kivágott eleme.
   Nincs köré húzott képkeret vagy második képháttér. */
.crest-emblem {
    display: block;
    flex: 0 0 auto;
    width: var(--crest-size, 116px);
    height: var(--crest-size, 116px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: none;
    border: none;
    padding: 0;
    border-radius: 50%;
    filter: drop-shadow(0 10px 18px rgba(47, 11, 29, .16));
}

.header-row { min-height: 134px; }
.brand { gap: 22px; min-width: 0; }
.crest-header { --crest-size: 115px; }
.brand-copy {
    min-width: 0;
    padding-left: 21px;
    border-left: 1px solid #e0d1b5;
}
.brand-copy strong {
    font: 800 clamp(34px, 3.05vw, 42px)/1.06 "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: .055em;
    color: #6d122a;
    text-transform: uppercase;
}
.brand-copy span.brand-fullname {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 680;
    line-height: 1.43;
    letter-spacing: .015em;
    max-width: 460px;
    text-transform: uppercase;
    color: #66575e;
    overflow-wrap: break-word;
}

/* A kezdőlapi jelkép önmagában áll, szögletes logókártya nélkül. */
.crest-hero { --crest-size: 170px; }
.hero-seal small {
    max-width: 210px;
    font-family: "Palatino Linotype", Georgia, serif;
    letter-spacing: .08em;
    color: #ead5a4;
    font-size: 11px;
}

/* A V1.5 túl hangsúlyos háromoszlopos sávja helyett egyszerű mondat. */
.intro-strip {
    background: #faf7ef;
    border-bottom: 1px solid #e8decf;
}
.intro-strip-inner {
    min-height: 70px;
    gap: 17px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.intro-small-cross {
    display: inline-block;
    flex: none;
    font-size: 26px;
    line-height: 1;
    color: #ac8b57;
    opacity: .8;
}
.intro-strip-inner p {
    margin: 0;
    padding: 0;
    max-width: none;
    flex: 1 1 auto;
    color: #655d5b;
    font-size: 14px;
    font-family: "Palatino Linotype", Georgia, serif;
    line-height: 1.65;
}
.intro-strip-inner p strong { color: #6d122a; }

@media (min-width: 821px) and (max-width: 1100px) {
    .header-row { min-height: 118px; }
    .crest-header { --crest-size: 93px; }
    .brand { gap: 15px; }
    .brand-copy { padding-left: 15px; }
    .brand-copy strong { font-size: 34px; }
    .brand-copy span.brand-fullname { max-width: 365px; font-size: 10.8px; }
    .crest-hero { --crest-size: 124px; }
}
@media (max-width: 820px) {
    .header-row { min-height: 93px; }
    .crest-header { --crest-size: 78px; }
    .brand { gap: 12px; }
    .brand-copy { padding-left: 12px; }
    .brand-copy strong { font-size: 32px; }
    .brand-copy span.brand-fullname { font-size: 10.3px; max-width: 350px; margin-top: 5px; }
    .intro-strip-inner { min-height: 60px; gap: 12px; }
    .intro-strip-inner p { font-size: 13px; text-align: left; }
    .intro-small-cross { font-size: 22px; }
}
@media (max-width: 570px) {
    .header-row { min-height: 84px; gap: 8px; }
    .crest-header { --crest-size: 62px; }
    .brand { gap: 9px; }
    .brand-copy { padding-left: 10px; }
    .brand-copy strong { font-size: clamp(23px, 6vw, 29px); }
    .brand-copy span.brand-fullname { font-size: 8.9px; line-height: 1.35; max-width: 230px; letter-spacing: 0; margin-top: 3px; }
    .intro-strip-inner { flex-direction: row; text-align: left; gap: 9px; }
    .intro-strip-inner p { flex: 1 1 auto; font-size: 12.2px; }
    .intro-small-cross { font-size: 20px; }
}
@media (max-width: 355px) {
    .crest-header { --crest-size: 53px; }
    .brand-copy strong { font-size: 22px; }
    .brand-copy span.brand-fullname { font-size: 8px; max-width: 180px; }
}


/* ===============================================================
   MEKIF V1.7 – TISZTA KÖRJELKÉP, MOBIL MEGJELENÉS, ARANY CHEVRON
   A projekt TOVÁBBRA IS egyetlen stíluslapot használ.
   =============================================================== */

/* 1. Fejléc: eredeti körjelkép önállóan, nem kép a képben. */
.brand img.crest-emblem {
    width: var(--crest-size) !important;
    height: var(--crest-size) !important;
    max-width: none !important;
    max-height: none !important;
    flex: 0 0 auto;
}

/* 2. Kezdőlap: lebegő, nagy egyházmegyei jelvény, keretek és dupla gyűrűk nélkül. */
.hero-seal {
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    isolation: isolate;
}
.hero-seal::before {
    content: '';
    position: absolute;
    inset: 3% -8% 12%;
    background: radial-gradient(circle, rgba(219,178,103,.18), transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.hero-seal img.crest-hero {
    --crest-size: clamp(232px, 24vw, 342px);
    width: var(--crest-size);
    height: var(--crest-size);
    filter: drop-shadow(0 16px 24px rgba(20, 2, 13, .32));
}
.hero-seal small {
    display: block;
    max-width: none;
    color: #efdaac;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,.22);
}

/* 3. Lábléc: nincs több fehér, szögletes logókártya. */
.footer-about img.footer-emblem {
    width: 126px;
    height: 126px;
    max-width: none;
    max-height: none;
    padding: 0;
    margin-bottom: 9px;
    border: none;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 7px 15px rgba(0,0,0,.20));
}
.footer-emblem-name {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 20px;
    color: #eacb8d;
    font: 600 15px/1.3 "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: .035em;
}

/* 4. Továbbiak és dokumentumcsoportok: vékony, arany CSS-chevron. */
.nav-more > button .nav-chevron,
.doc-group summary .summary-chevron {
    display: inline-block;
    box-sizing: border-box;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-left: 11px;
    border-right: 1.6px solid #b78a43;
    border-bottom: 1.6px solid #b78a43;
    color: transparent;
    font-size: 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .22s ease, border-color .22s ease;
}
.nav-more > button:hover .nav-chevron,
.nav-more > button[aria-expanded="true"] .nav-chevron {
    border-color: #efce91;
}
.nav-more > button[aria-expanded="true"] .nav-chevron,
.doc-group[open] summary .summary-chevron {
    transform: translateY(2px) rotate(225deg);
}
.doc-group summary .summary-chevron { margin-left: 4px; }

/* Kisebb PC/tablet: a körjelkép marad, de nem szorítja a szöveget. */
@media (min-width: 821px) and (max-width: 1150px) {
    .hero-inner { gap: 25px; }
    .hero-seal img.crest-hero { --crest-size: clamp(188px, 22vw, 256px); }
}

/* Mobil: a jelvény a hero tetején, szem előtt, nem tűnik el a képből. */
@media (max-width: 820px) {
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
        padding-top: 42px;
        padding-bottom: 90px;
    }
    .hero-seal {
        display: flex;
        align-self: center;
        order: -1;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        transform: none;
    }
    .hero-seal img.crest-hero { --crest-size: clamp(176px, 27vw, 222px); }
    .hero-seal small { display: none; }
    .hero-copy { max-width: 100%; }
}
@media (max-width: 570px) {
    .hero-inner { gap: 19px; padding-top: 32px; padding-bottom: 82px; }
    .hero-seal img.crest-hero { --crest-size: 178px; }
}
@media (max-width: 365px) {
    .hero-seal img.crest-hero { --crest-size: 155px; }
    .hero h1 { font-size: 37px; }
}


/* ===============================================================
   MEKIF V1.9 – SAJÁT INTÉZMÉNYI ARCULAT (2026.11.11.)
   A jóváhagyott arculati látványterv reszponzív megvalósítása.
   Egyetlen központi CSS. A PHP/JSON/FETCH rendszer változatlan.
   =============================================================== */

/* Fejléc: egyértelműen a MEKIF a márkanév, nem az egyházmegye. */
.header-row { min-height: 146px; }
.brand { min-width: 0; gap: 25px; max-width: calc(100% - 70px); }
.crest-header { --crest-size: 119px; }
.brand-copy {
    min-width: 0;
    border-left: 2px solid #cfad6e;
    padding-left: 24px;
    line-height: 1.2;
}
.brand-copy strong {
    align-self: flex-start;
    display: inline-block;
    margin-left: -8px;
    padding: 2px 28px 6px 8px;
    background: linear-gradient(90deg, rgba(238,207,151,.37) 0%, rgba(244,224,186,.30) 64%, rgba(250,247,239,0) 100%);
    border-radius: 5px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(46px, 5vw, 65px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: .075em;
    color: #760d2a;
    text-transform: uppercase;
}
.brand-copy span.brand-fullname {
    display: block;
    margin-top: 8px;
    max-width: 730px;
    color: #581428;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: break-word;
}

/* A jóváhagyott látványterv szerint asztali nézetben a kereső a menüsorba kerül. */
.nav-search {
    display: grid;
    place-items: center;
    width: 45px;
    height: 44px;
    border: 1px solid #d4bc8c;
    border-radius: 9px;
    background: linear-gradient(180deg, #fffefa, #f8f0e4);
    color: var(--wine);
    margin-left: 5px;
    transition: background .2s,color .2s;
}
.nav-search svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.nav-search:hover { background: var(--wine); color: white; }
@media (min-width: 821px) { .header-controls .header-search { display: none; } }
@media (max-width: 820px) { .nav-search { display: none; } }

/* Főoldali kiemelés: az új MEKIF-jelvény és felirat együtt alkot logót. */
.hero {
    background: linear-gradient(105deg, #560a25 0%, #681731 46%, #a67d89 100%);
}
.hero-mosaic { opacity: .57; }
.hero-inner { min-height: 570px; gap: 45px; }
.hero-copy { max-width: 610px; flex: 1 1 auto; }
.hero-seal {
    width: 366px;
    max-width: 100%;
    flex: 0 0 366px;
    gap: 11px;
    margin-left: auto;
}
.hero-seal::before {
    inset: -22% -27% -27%;
    background: radial-gradient(ellipse at center, rgba(255,246,225,.76) 0%, rgba(248,224,190,.40) 42%, rgba(239,211,180,.10) 65%, transparent 78%);
}
.hero-seal img.crest-hero {
    --crest-size: clamp(255px, 25vw, 325px);
    filter: drop-shadow(0 10px 18px rgba(48,9,23,.18));
}
.hero-wordmark {
    display: block;
    color: #760d2a;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(61px, 6vw, 78px);
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255,248,229,.36);
}
.hero-seal .hero-brand-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
    color: #b88b41;
    font-size: 29px;
    line-height: 1;
    margin-top: -2px;
}
.hero-brand-rule::before, .hero-brand-rule::after {
    content: '';
    display: block;
    height: 3px;
    width: 38%;
    background: linear-gradient(90deg, transparent, #c99c4d);
}
.hero-brand-rule::after { background: linear-gradient(90deg, #c99c4d, transparent); }

/* A footerben is az új intézményi embléma kap helyet. */
.footer-emblem-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Keskenyebb notebook és fekvő táblagép. */
@media (min-width: 821px) and (max-width: 1150px) {
    .header-row { min-height: 132px; }
    .crest-header { --crest-size: 100px; }
    .brand { gap: 17px; max-width: calc(100% - 60px); }
    .brand-copy { padding-left: 16px; }
    .brand-copy strong { font-size: clamp(40px, 4.8vw, 54px); }
    .brand-copy span.brand-fullname { font-size: 12.8px; max-width: 620px; }
    .hero-inner { gap: 25px; }
    .hero-seal { width: 286px; flex-basis: 286px; }
    .hero-seal img.crest-hero { --crest-size: clamp(215px, 24vw, 270px); }
    .hero-wordmark { font-size: 58px; letter-spacing: .055em; }
}

/* Mobil: külön figyelmet kapott a hosszú hivatalos elnevezés. */
@media (max-width: 820px) {
    .header-row { min-height: 109px; gap: 10px; }
    .brand { gap: 12px; max-width: calc(100% - 91px); }
    .crest-header { --crest-size: 84px; }
    .brand-copy { padding-left: 13px; }
    .brand-copy strong { font-size: 38px; padding-right: 16px; }
    .brand-copy span.brand-fullname { font-size: 12px; max-width: 430px; margin-top: 5px; }
    .hero-inner { min-height: 0; gap: 26px; }
    .hero-seal { width: 272px; flex: 0 0 auto; align-self: center; margin: 0; order: -1; }
    .hero-seal img.crest-hero { --crest-size: 222px; }
    .hero-wordmark { font-size: 58px; }
    .hero-seal .hero-brand-rule { font-size: 23px; }
}
@media (max-width: 570px) {
    .header-row { min-height: 91px; gap: 6px; }
    .brand { gap: 8px; max-width: calc(100% - 60px); }
    .crest-header { --crest-size: 64px; }
    .brand-copy { padding-left: 9px; border-left-width: 1px; }
    .brand-copy strong { font-size: clamp(25px, 6.8vw, 34px); padding: 1px 11px 3px 6px; margin-left: -6px; letter-spacing: .06em; }
    .brand-copy span.brand-fullname { font-size: 11px; max-width: 250px; line-height: 1.31; letter-spacing: -.01em; margin-top: 3px; }
    .hero-inner { padding-top: 35px; gap: 25px; }
    .hero-seal { width: 224px; gap: 6px; }
    .hero-seal img.crest-hero { --crest-size: 184px; }
    .hero-wordmark { font-size: 48px; }
    .hero-seal .hero-brand-rule { font-size: 20px; gap: 8px; }
}
@media (max-width: 365px) {
    .crest-header { --crest-size: 56px; }
    .brand-copy strong { font-size: 23px; padding-right: 8px; }
    .brand-copy span.brand-fullname { font-size: 9.5px; }
    .hero-seal { width: 208px; }
    .hero-seal img.crest-hero { --crest-size: 168px; }
    .hero-wordmark { font-size: 44px; }
}


/* ===============================================================
   MEKIF V2.0 – VÉGLEGES ARCULATI FINOMÍTÁS (2026.11.11.)
   Egyetlen központi CSS; a PHP 7.0 / JSON / fetch működése változatlan.
   =============================================================== */

/* A fejléc legalsó rétegén saját, végtelenül ismétlődő, halk
   bizánci keresztornamentika – nincs idegen webes betöltés. */
.site-header {
    background-color: #fbfaf7;
    background-image:
        linear-gradient(180deg, rgba(255,253,249,.24), rgba(251,249,245,.30)),
        url('../img/gorogkatolikus-fejlec-minta.svg');
    background-size: auto, 184px 184px;
    background-repeat: no-repeat, repeat;
    background-position: center, center top;
    overflow-x: clip; /* a kifutó arany sáv nem okozhat vízszintes görgetést */
}

/* A MEKIF mögötti halvány arany sáv a már megszokott kezdőponttól
   a böngésző jobb széléig folytatódik; csak a felirat rétege mögött. */
.brand-copy strong {
    position: relative;
    z-index: 0;
    isolation: isolate;
    background: none;
    border-radius: 0;
}
.brand-copy strong::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -8px;
    top: 1px;
    bottom: 0;
    width: 100vw;
    border-radius: 5px 0 0 5px;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(232,192,113,.32) 0%,
        rgba(239,210,157,.21) 27%,
        rgba(247,228,194,.12) 61%,
        rgba(248,234,205,0) 100%);
}

/* Egyforma széles, saját emblémás, nem sablonos menügombok.
   6 főoldal + Továbbiak + kereső; utóbbi is azonos gombcsalád. */
@media (min-width: 1101px) {
    .nav-items {
        display: grid;
        grid-template-columns: repeat(7,minmax(0,1fr)) 60px;
        align-items: stretch;
        gap: 8px;
    }
}
.nav-items > .nav-link,
.nav-items > .nav-more,
.nav-items > .nav-search { min-width: 0; }
.nav-more { margin-left: 0; width: 100%; }
.nav-link,
.nav-more > button,
.nav-search {
    min-height: 55px;
    border-radius: 10px;
    border: 1px solid #c6a66d;
    background: linear-gradient(155deg,#fffdf7 0%,#f7eddd 100%);
    box-shadow: inset 0 1px 0 #fff, 0 3px 0 rgba(135,97,45,.10), 0 5px 12px rgba(76,25,38,.06);
    color: #541d33;
    font-size: 12.8px;
    line-height: 1.17;
    letter-spacing: .005em;
    font-weight: 750;
    white-space: normal;
    text-align: center;
    padding: 9px 9px;
    transition: background .20s ease, color .20s ease, box-shadow .20s ease, transform .20s ease;
}
.nav-items > .nav-link,
.nav-more > button {
    width: 100%;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
}
.nav-link::before,
.nav-more > button::before,
.nav-search::before {
    content: '';
    display: block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background: url('../img/emblema-kor.png') center / contain no-repeat;
    filter: drop-shadow(0 1px 1px rgba(60,16,30,.13));
}
.nav-link:hover,
.nav-more > button:hover,
.nav-search:hover,
.nav-link.is-active,
.nav-more > button[aria-expanded='true'] {
    border-color: #d6b66d;
    box-shadow: inset 0 0 0 1px rgba(255,239,209,.14),
                0 4px 0 rgba(111,48,55,.12), 0 8px 18px rgba(75,18,38,.15);
}
.nav-items > .nav-more > button { padding-right: 10px; }
.nav-more > button .nav-chevron {
    flex-shrink: 0;
    margin-left: 2px;
}
.nav-search {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 7px;
}
.nav-search::before { flex-basis: 15px; width: 15px; height: 15px; }
.nav-search svg { flex: 0 0 17px; width: 17px; height: 17px; }
.nav-search:hover { background: linear-gradient(135deg,#792b46,#520e29); }

/* A legördülő menü minden eleme azonos szélességű, külön kis logóval. */
.more-menu {
    min-width: 296px;
    padding: 11px;
    background: linear-gradient(160deg,#fffcf7,#f7efe2);
    border: 1px solid #caaa70;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(43,9,24,.22);
}
.more-menu .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 14px;
    text-align: left;
    font-size: 13.5px;
    white-space: normal;
}
.more-menu .nav-link::before { flex-basis: 18px; width: 18px; height: 18px; }

/* Keskeny notebookon ne préselődjön egy sorba nyolc gomb. */
@media (min-width: 821px) and (max-width: 1100px) {
    .nav-items {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        align-items: stretch;
        gap: 9px;
    }
    .nav-items > .nav-more > button { height: 100%; }
    .nav-items > .nav-search { min-height: 55px; }
}

/* Mobilon azonos szélesség a lenyíló lista teljes szélességét jelenti. */
@media (max-width: 820px) {
    .main-nav.open .nav-items { display: flex; flex-direction: column; align-items: stretch; }
    .nav-items > .nav-link, .nav-more > button { width: 100%; justify-content: flex-start; min-height: 48px; }
    .nav-items > .nav-link::before, .nav-more > button::before { flex-basis: 19px; width: 19px; height: 19px; }
    .more-menu { min-width: 0; width: 100%; }
    /* A mobil kereső a fejlécben marad, de ugyanolyan gombalapot kap. */
    .header-search {
        border: 1px solid #c6a66d;
        border-radius: 10px;
        background: linear-gradient(155deg,#fffdf7,#f7eddd);
        box-shadow: 0 2px 0 rgba(135,97,45,.10), 0 5px 12px rgba(76,25,38,.06);
        width: 41px;
        height: 43px;
    }
    .header-search:hover { background: var(--wine); color: white; }
    .brand-copy strong::before { width: 100vw; }
}
@media (max-width: 570px) {
    .more-menu .nav-link { font-size: 13.5px; }
    .header-search { width: 36px; height: 38px; }
}

/* A kezdőlapi képháttérnek ne legyen szögletes, leleplező széle.
   Egy folytonos, teljes szélességű képréteget fokozatosan úsztatunk be. */
.hero {
    background: linear-gradient(107deg,#4d0922 0%,#691934 41%,#ad8894 100%);
}
.hero-mosaic {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-position: center 40%;
    background-size: cover;
    opacity: .45;
    mix-blend-mode: screen;
    mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 32%,rgba(0,0,0,.72) 59%,#000 100%);
    -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 32%,rgba(0,0,0,.72) 59%,#000 100%);
}
.hero-seal::before {
    inset: -24% -38% -25%;
    border-radius: 0;
    background: radial-gradient(ellipse closest-side at 50% 47%,
        rgba(255,249,236,.67) 0%,
        rgba(250,231,201,.30) 44%,
        rgba(248,226,198,.09) 70%,
        rgba(250,226,203,0) 100%);
}
/* A hosszú hivatalos név a nagyméretű logó emblémája alá kerül,
   kb. a logó szélességére tördelve, két egymást követő sorban. */
.hero-seal {
    gap: 7px;
}
.hero-seal span.hero-fullname {
    display: block;
    width: 325px;
    max-width: 95%;
    text-align: center;
    font-family: 'Palatino Linotype','Book Antiqua',Georgia,serif;
    font-size: 13.5px;
    line-height: 1.38;
    font-weight: 800;
    letter-spacing: .005em;
    color: #64172f;
    text-shadow: 0 1px 0 rgba(255,248,235,.62);
    text-wrap: balance;
}
.hero-inner { min-height: 640px; }
@media (min-width:821px) and (max-width:1150px) {
    .hero-inner { min-height: 620px; }
    .hero-seal span.hero-seal span.hero-fullname { max-width: 94%; font-size: 12px; }
}
@media (max-width: 820px) {
    .hero-inner { min-height: 0; }
    .hero-seal::before { inset: -24% -30% -24%; }
    .hero-seal span.hero-seal span.hero-fullname { width: 235px; max-width: 94%; font-size: 11.4px; }
}
@media (max-width: 570px) {
    .hero-seal span.hero-seal span.hero-fullname { width: 210px; font-size: 10.5px; }
}


/* ===============================================================
   MEKIF V2.1 – UTOLSÓ ARCULATI FINOMÍTÁS (2026.11.11.)
   A V2.0-ra épülő, kizárólag vizuális javítások.
   =============================================================== */

/* A főmenü mögötti világos sávban is a saját GK ornamentika jelenik meg.
   A minta alul marad, az áttetsző bézses háttérréteg alatt. */
.main-nav {
    background-color: #fbf8f3;
    background-image:
        linear-gradient(180deg, rgba(255,253,249,.20), rgba(249,244,237,.27)),
        url('../img/gorogkatolikus-fejlec-minta.svg');
    background-size: auto, 184px 184px;
    background-repeat: no-repeat, repeat;
    background-position: center, center center;
    border-top-color: rgba(191,156,101,.23);
    border-bottom-color: rgba(191,156,101,.25);
}

/* Szögletesebb, kézzel tervezett hatású gombok: jól látható finom
   árnyék, körberajzolt arany keret nélkül. */
.nav-link,
.nav-more > button,
.nav-search {
    border: 1px solid transparent;
    border-radius: 4px;
    background: linear-gradient(165deg,#fffefa 0%,#f9f1e7 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 2px 3px rgba(67,30,38,.12),
        0 5px 11px rgba(63,29,39,.17);
}
.nav-link:hover,
.nav-more > button:hover,
.nav-search:hover {
    border-color: transparent;
    box-shadow: 0 3px 4px rgba(69,25,39,.15), 0 8px 19px rgba(63,22,37,.21);
    transform: translateY(-1px);
}
.nav-link.is-active,
.nav-more > button[aria-expanded='true'] {
    border-color: transparent;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.13),
        0 3px 4px rgba(79,23,42,.18),
        0 7px 16px rgba(63,18,36,.25);
}
.more-menu { border-radius: 6px; border-color: rgba(193,157,102,.34); }
.more-menu .nav-link { border-radius: 4px; }

/* A MEKIF-jelvény alatti teljes név könnyebben olvasható: kicsit
   nagyobb, kontrasztosabb betűk, diszkrét világos alátámasztás. */
.hero-seal span.hero-fullname {
    width: 356px;
    max-width: 100%;
    padding: 7px 9px 9px;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: .005em;
    color: #4e0b26;
    background: linear-gradient(90deg,
        rgba(255,249,237,0),
        rgba(255,250,242,.52) 16%,
        rgba(255,250,242,.62) 50%,
        rgba(255,250,242,.52) 84%,
        rgba(255,249,237,0));
    text-shadow: 0 1px 0 rgba(255,255,255,.84);
}
@media (min-width:821px) and (max-width:1150px) {
    .hero-seal span.hero-fullname { width: 286px; font-size: 13.5px; }
}
@media (max-width:820px) {
    .hero-seal span.hero-fullname { width: 272px; font-size: 13.5px; }
}
@media (max-width:570px) {
    .hero-seal span.hero-fullname { width: 224px; font-size: 12px; padding: 6px 6px 7px; }
}
@media (max-width:365px) {
    .hero-seal span.hero-fullname { width: 208px; font-size: 11.5px; }
}

/* A Krisztus-mozaik a bordós háttér alatt egy árnyalattal hangsúlyosabb.
   A bal oldali feliratok környékén továbbra is fokozatosan elhal. */
.hero-mosaic {
    opacity: .63;
    mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,.22) 32%,
        rgba(0,0,0,.83) 59%,
        #000 100%);
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,.22) 32%,
        rgba(0,0,0,.83) 59%,
        #000 100%);
}

/* A mobil keresőugyanilyen kevéssé lekerekített, árnyékos gomb. */
@media (max-width:820px) {
    .header-search {
        border: 1px solid transparent;
        border-radius: 4px;
        box-shadow: 0 2px 3px rgba(67,30,38,.12),0 5px 11px rgba(63,29,39,.17);
    }
}

/* V2.2: a fejléc és a főmenü világos keresztmotívuma valóban látható.
   A korábbi erős, ~75–80%-os fedőréteg a szürke SVG-vonalakat szinte
   teljesen elhalványította. Most csak finom (20–30%) fedés marad. */


/* ===============================================================
   MEKIF V2.3 — Bizánci, szürke ornamentika a teljes világos fejlécen
   Az eredeti, jóváhagyott görögkatolikus mintából készült monokróm
   csempézhető, áttetsző webes PNG. Csak a háttér módosul.
   =============================================================== */
.site-header,
.main-nav {
    background-color: #fbfaf7;
    /* A széleken eredeti erejű a szürke bizánci mintázat,
       középen a felirat mögött finoman elhalványul. */
    background-image:
        linear-gradient(90deg,
            rgba(251,250,247,0) 0%,
            rgba(251,250,247,0) 10%,
            rgba(251,250,247,.30) 23%,
            rgba(251,250,247,.72) 39%,
            rgba(251,250,247,.78) 50%,
            rgba(251,250,247,.72) 61%,
            rgba(251,250,247,.30) 77%,
            rgba(251,250,247,0) 90%,
            rgba(251,250,247,0) 100%),
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(249,248,246,.13)),
        url('../img/mekif-bizanci-szurke-pattern.png');
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 100% 100%, auto, 440px 440px;
    background-position: center, center, center top;
}
/* A két vízszintes felület ugyanazt a mintát használja,
   felesleges átszínezés és külön dekorációs réteg nélkül. */
@media (max-width: 820px) {
    .site-header, .main-nav { background-size: auto, 350px 350px; }
}


/* ===============================================================
   MEKIF 2026.11.19 – egyházmegyei embléma visszaállítása
   Az eredeti fejléc, menü, arculat és elrendezés változatlan.
   Csak a kezdőlap teljes intézménynevének hangsúlyozása.
   =============================================================== */
.hero-seal span.hero-fullname {
    width: 366px;
    max-width: 100%;
    padding: 12px 12px 14px;
    font-size: 19px;
    line-height: 1.34;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #4e0b26;
    text-align: center;
    text-wrap: balance;
}
@media (min-width: 821px) and (max-width: 1150px) {
    .hero-seal span.hero-fullname {
        width: 286px;
        font-size: 16px;
    }
}
@media (max-width: 820px) {
    .hero-seal span.hero-fullname {
        width: 272px;
        font-size: 16px;
    }
}
@media (max-width: 570px) {
    .hero-seal span.hero-fullname {
        width: 224px;
        padding: 9px 8px 11px;
        font-size: 14.2px;
        line-height: 1.36;
    }
}
@media (max-width: 365px) {
    .hero-seal span.hero-fullname {
        width: 208px;
        font-size: 13.5px;
    }
}
