/* =========================================================
   VARIABILE & RESET
   ========================================================= */

:root {
    --bg-page: #f3f4f6;
    --bg-light: #ffffff;
    --bg-muted: #f3f6fb;

    --text-main: #0f172a;
    --text-muted: #6b7280;

    --accent: #c8a96b;
    --accent-dark: #7b5c29;

    --shadow-soft: 0 18px 40px rgba(15,23,42,0.10);
    --radius-lg: 18px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(circle at top left, #f5f2eb 0, #f3f4f6 40%, #e9edf5 100%);
    color: var(--text-main);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}

/* când lightbox-ul e deschis blocăm scroll-ul paginii */
body.no-scroll {
    overflow: hidden;
    height: 100%;
    touch-action: none;
}

/* =========================================================
   CONTAINER & BENZI
   ========================================================= */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.band {
    width: 100%;
    padding: 64px 0;
}

.band-light {
    background: var(--bg-light);
}

.band-muted {
    background: var(--bg-muted);
}


/* =========================================================
   HERO – FUNDAL POZEMAIN + CARD JOS
   ========================================================= */

.band-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 120px 16px 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.10)),
        url("images/pozemain.png");
    background-size: cover;
    background-position: center top;
    filter: brightness(1.05) blur(0.4px);
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

/* Card – glassmorphism */

.hero-card {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 40px 48px;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.28);
    color: #ffffff;
}

.hero-kicker {
    font-size: 13px;
    letter-spacing: 0.22em;
    opacity: 0.85;
    margin-bottom: 10px;
}

.hero-card h1 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 15px;
}

/* buton principal */

.btn.primary {
    background: rgba(255,255,255,0.92);
    color: #1f2937;
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

.btn.primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* buton secundar */

.btn.ghost {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    backdrop-filter: blur(6px);
    transition: 0.2s ease;
}

.btn.ghost:hover {
    background: rgba(255,255,255,0.35);
}

/* =========================================================
   SECTION HEADER / GRID
   ========================================================= */

.section-header {
    margin-bottom: 26px;
}

.section-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.section-intro {
    font-size: 14px;
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 24px;
}

/* =========================================================
   DESPRE NOI – CARD PREMIUM
   ========================================================= */

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 40px 42px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(200,169,107,0.18), transparent 55%),
        #ffffff;
    box-shadow: 0 22px 60px rgba(15,23,42,0.10);
    border: 1px solid rgba(226,232,240,0.9);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 8px;
}

.about-content .section-intro {
    margin-bottom: 14px;
}

.about-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    font-size: 14px;
}

.checklist li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.checklist li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: var(--accent-dark);
}

/* imagine dreapta */

.about-photo {
    width: 100%;
    min-height: 320px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

/* =========================================================
   COMITET – LIDERI + MEMBRI
   ========================================================= */

#comitet .section-header {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 40px;
}

#comitet .section-intro {
    font-size: 14px;
    color: var(--text-muted);
}

/* Lideri principali */

.team-main-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}

.team-card-main {
    text-align: center;
}

.team-photo-main {
    width: 180px;
    height: 180px;
    border-radius: 999px;
    padding: 4px;
    background:
        radial-gradient(circle at top, rgba(200,169,107,0.35), transparent 60%),
        #ffffff;
    box-shadow: 0 20px 40px rgba(15,23,42,0.22);
    margin: 0 auto 14px;
}

.team-photo-main img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.team-card-main h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.team-card-main .team-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
}

/* Membri – carduri */

.team-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}

.team-card-secondary {
    position: relative;
    background: #ffffff;
    border-radius: 26px;
    padding: 52px 18px 22px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-card-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 60px rgba(15,23,42,0.18);
    border-color: rgba(200,169,107,0.55);
}

.team-photo-secondary {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid rgba(200, 169, 107, 0.9);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15,23,42,0.18);
}

.team-photo-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.team-card-secondary h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.team-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
}

/* =========================================================
   ACTIVITĂȚI – REGIUNI
   ========================================================= */

.activities-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.activities-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 26px;
}

#activitati .section-header .section-kicker {
    display: none;
}

#activitati .activities-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 8px;
}

#activitati .activities-header .section-intro {
    font-size: 16px;
}

.activities-panel {
    position: relative;
    padding-top: 18px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.activities-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 26px;
    color: var(--text-muted);
    font-size: 13px;
}

.tagline-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(148,163,184,0.1),
        rgba(148,163,184,0.7),
        rgba(148,163,184,0.1)
    );
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
    margin-top: 4px;
}

.region-card {
    position: relative;
    border-radius: 24px;
    padding: 20px 22px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 20px 45px rgba(15,23,42,0.08);
    border: 1px solid rgba(200,169,107,0.35);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.18s ease;
    cursor: default;
    overflow: hidden;
}

.region-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(200,169,107,0.18), transparent 65%);
    opacity: 0.5;
    pointer-events: none;
}

.region-name {
    position: relative;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: #1f2937;
}

.region-sub {
    position: relative;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.8;
}

.region-arrow {
    position: relative;
    margin-top: 10px;
    font-size: 16px;
    align-self: flex-end;
    opacity: 0.7;
    color: #1f2937;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px rgba(15,23,42,0.14);
    background: #fafafa;
    border-color: rgba(200,169,107,0.6);
}

/* pentru card cu link (ARAD) */

.region-card-link {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   EVENIMENTE – CARD STANDARD (fallback)
   ========================================================= */

.events-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 18px;
}

.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card {
    border-radius: 26px;
    overflow: hidden;
    background: #f9fafb;
    box-shadow: 0 22px 55px rgba(15,23,42,0.16);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 520px;
}

.event-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.event-body {
    position: relative;
    padding: 20px 22px 22px;
    background:
        radial-gradient(circle at top left, rgba(200,169,107,0.12), transparent 60%),
        #ffffff;
    border-top: 1px solid rgba(226,232,240,0.9);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-date {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.event-divider {
    width: 46px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 10px;
}

.event-text {
    font-size: 14px;
    color: var(--text-muted);
}

.event-card-link:hover .event-card {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15,23,42,0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* overlay "Citește articolul" */

.event-card::after {
    content: "Citește articolul";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1f2937;
    background: rgba(255,255,255,0.86);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.event-card-link:hover .event-card::after {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   EVENIMENTE – CAROUSEL COVERFLOW
   ========================================================= */

#evenimente.band {
    padding-top: 48px;
    padding-bottom: 60px;
}

.events-carousel {
    position: relative;
    max-width: 880px;
    margin: 32px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.events-track {
    position: relative;
    width: 100%;
    height: 560px; /* suficient pentru card + umbră */
}

/* slide-urile în coverflow */

.event-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 32%;
    transform: translateX(-50%) scale(0.9);
    opacity: 0.4;
    filter: blur(1.5px);
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 1;
}

/* slide central */

.event-slide.is-center {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    filter: none;
    pointer-events: auto;
    z-index: 3;
}

/* slide stânga */

.event-slide.is-left {
    left: 15%;
    transform: translateX(-50%) scale(0.92);
    opacity: 0.75;
    filter: blur(1px);
    z-index: 2;
}

/* slide dreapta */

.event-slide.is-right {
    left: 85%;
    transform: translateX(-50%) scale(0.92);
    opacity: 0.75;
    filter: blur(1px);
    z-index: 2;
}

/* săgeți */

.events-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15,23,42,0.10);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15,23,42,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    color: #111827;
    font-size: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    touch-action: manipulation;
}

.events-arrow-left  { left: 8px; }
.events-arrow-right { right: 8px; }

.events-arrow:hover {
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.25);
    background: #f9fafb;
}

/* =========================================================
   CONTACT – LAYOUT PREMIUM
   ========================================================= */

.contact-shell {
    background:
        radial-gradient(circle at top left, rgba(200,169,107,0.16), transparent 60%),
        #ffffff;
    border-radius: 28px;
    padding: 28px 30px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.12);
    border: 1px solid rgba(226,232,240,0.9);
    margin-top: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 32px;
    align-items: stretch;
}

/* stânga */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: #fdf7ea;
    color: var(--accent-dark);
    width: fit-content;
}

.contact-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin: 4px 0;
}

.contact-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 420px;
}

.contact-meta {
    margin-top: 6px;
    font-size: 14px;
}

.contact-meta p {
    margin-bottom: 6px;
}

.contact-meta span {
    display: inline-block;
    min-width: 90px;
    font-weight: 600;
    color: #111827;
}

.contact-meta a {
    color: var(--accent-dark);
    text-decoration: none;
}

.contact-meta a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
}

/* dreapta – formular */

.contact-form {
    background:
        radial-gradient(circle at top right, rgba(200,169,107,0.18), transparent 55%),
        #ffffff;
    border-radius: 22px;
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226,232,240,0.9);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #4b5563;
}

.field input,
.field textarea {
    width: 100%;
    padding: 9px 11px;
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(200,169,107,0.9);
    box-shadow: 0 0 0 1px rgba(200,169,107,0.35);
    background: #ffffff;
}

/* mesaje formular */

.form-status {
    display: none;
    margin-top: 8px;
    font-size: 13px;
}

#formStatus {
    color: #15803d;
}

.form-status-error {
    color: #b91c1c;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #ffffff;
    padding: 20px 16px 26px;
    border-top: 1px solid #e5e7eb;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================================
   PAGINĂ EVENIMENT – HERO MIC + DETALII
   ========================================================= */

.inner-hero {
    padding: 80px 0 60px;
}

.inner-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.inner-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.inner-hero-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

.inner-hero-photo img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

/* detalii conferință */

.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.event-detail-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.event-detail-main p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.event-detail-list {
    margin-top: 8px;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.event-detail-list li {
    margin-bottom: 6px;
}

.event-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226,232,240,0.9);
    font-size: 14px;
}

.event-info-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.event-source {
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
}

.event-source a {
    color: #4b5563;
    text-decoration: underline;
}

/* =========================================================
   GALERIE FOTO
   ========================================================= */

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

.gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15,23,42,0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    touch-action: manipulation;
}

.gallery-item img:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 55px rgba(15,23,42,0.18);
}

/* =========================================================
   L LAYOUT – PAGINĂ CONFERINȚĂ
   ========================================================= */

.event-L-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    position: relative;
}

.event-L-aside {
    float: right;
    width: 340px;
    margin-left: 32px;
    margin-bottom: 20px;
}

.event-info-card-single {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    padding-bottom: 24px;
    border: 1px solid rgba(226,232,240,0.9);
}

.event-L-photo-top {
    width: calc(100% - 20px);
    height: 260px; /* era 210px → prea mic, taie capul */
    object-fit: cover;
    border-radius: 14px;
    display: block;
    margin: 10px auto 16px;

    object-position: 50% 15%; /* mută imaginea în jos → capul vizibil */
}

.event-info-card-single h3 {
    font-size: 18px;
    margin: 0 0 10px 20px;
}

.event-info-card-single ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.event-info-card-single .event-source {
    padding-left: 20px;
    font-size: 14px;
    color: #777;
}

/* text */

.event-L-text {
    font-size: 15.5px;
    line-height: 1.8;
    color: #384152;
    padding-top: 20px;
}

.event-L-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.event-L-text ul.event-detail-list {
    padding-left: 30px;
    margin-left: 8px;
}

.event-L-text ul.event-detail-list li {
    margin-bottom: 8px;
}

/* clearing float */

.event-L-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   LIGHTBOX – FULLSCREEN, CENTRAT (PC + MOBIL)
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.90);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    overflow-y: auto;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    margin: auto;

    /* cardul are cam aceeași dimensiune ca poza */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;                           /* fără spațiu în jurul pozei */
    max-width: min(1100px, 90vw);
    max-height: 90vh;

    overflow: visible;                    /* să nu taie butoanele */
}


#lightboxImage {
    display: block;

    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;

    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    background: #000;
    touch-action: none;
}


.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #f9fafb;
}

/* butoane */

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: none;
    background: rgba(15,23,42,0.8);
    color: #f9fafb;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15,23,42,0.75);
    color: #f9fafb;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(15,23,42,0.95);
}

/* =========================================================
   CONTACT SUCCESS OVERLAY
   ========================================================= */

.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.contact-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.contact-overlay-box {
    background: #fff;
    padding: 40px 48px 32px;
    border-radius: 22px;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popIn 0.35s ease;
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.contact-overlay-box h2 {
    margin-bottom: 8px;
    font-family: "Playfair Display", serif;
    font-size: 26px;
}

.contact-overlay-box p {
    color: #475569;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-checkmark-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-checkmark {
    width: 64px;
    height: 64px;
}

.contact-checkmark-circle {
    stroke: #22c55e;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: circleDraw 0.6s ease-out forwards;
}

.contact-checkmark-tick {
    stroke: #22c55e;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: tickDraw 0.4s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes circleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes tickDraw {
    to { stroke-dashoffset: 0; }
}

/* =========================================================
   RESPONSIVE – GRIDURI & LAYOUT
   ========================================================= */

@media (max-width: 1100px) {
    .team-secondary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .regions-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 960px) {
    .about-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        gap: 24px;
    }

    .inner-hero-layout {
        grid-template-columns: 1fr;
    }

    .event-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ========= Buton "codiță" Despre noi ========= */

.about-card {
    position: relative;
    padding-bottom: 70px;  /* creează loc sub card pentru buton */
    overflow: visible !important;
} /* <- LIPSEA acolada asta !!! */

/* Wrapperul butonului care iese sub card */
.about-tail-wrap {
    position: absolute;
    left: 50%;
    bottom: -35px;    /* îl scoate vizibil sub card */
    transform: translateX(-50%);
    z-index: 20;
}

/* Butonul propriu-zis */
.about-tail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15,23,42,0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
}

/* Hover efect */
.about-tail-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15,23,42,0.26);
}

/* Click efect */
.about-tail-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(15,23,42,0.18);
}

@media (max-width: 900px) {
    .team-main-grid {
        gap: 32px;
    }

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

    /* coverflow mobil – card central mare */

    .events-carousel {
        max-width: 100%;
        overflow: visible;
    }

    .events-track {
        height: 650px;
    }

    .event-slide {
        width: 75%;
        left: 50%;
        transform: translateX(-50%) scale(0.75);
        opacity: 0.4;
        filter: blur(2px);
        pointer-events: none;
    }

    .event-slide.is-left {
        left: 20%;
        transform: translateX(-50%) scale(0.70);
        opacity: 0.3;
        filter: blur(3px);
    }

    .event-slide.is-right {
        left: 80%;
        transform: translateX(-50%) scale(0.70);
        opacity: 0.3;
        filter: blur(3px);
    }

    .event-slide.is-center {
        width: 85%;
        transform: translateX(-50%) scale(1);
        opacity: 1;
        filter: none;
        pointer-events: auto;
    }

    .event-card {
        height: 600px;
    }

    .event-image img {
        height: 220px;
    }

    #evenimente.band {
        padding-bottom: 40px;
    }

    .events-arrow-left  { left: 14px; }
    .events-arrow-right { right: 14px; }

    .event-L-aside {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }

    .event-L-photo-top {
        height: 260px;
    }

    .event-L-wrapper {
        padding: 28px 22px;
    }

    .event-L-text {
        padding-top: 0;
    }
}

@media (max-width: 768px) {

    /* nav mobil */

    .nav {
        position: fixed;
        inset: 60px 16px auto 16px;
        background: #ffffff;
        border-radius: 16px;
        flex-direction: column;
        gap: 10px;
        padding: 12px 14px;
        box-shadow: 0 18px 45px rgba(15,23,42,0.25);
        opacity: 0;
        transform: translateY(-16px);
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .team-main-grid,
    .team-secondary-grid,
    .contact-grid,
    .regions-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .hero-card h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .contact-shell {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

@media (max-width: 640px) {

    .activities-panel {
        padding: 0;
    }

    .activities-tagline {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .tagline-line {
        width: 60%;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox-inner {
        max-width: 100vw;
        max-height: 100vh;
    }

    #lightboxImage {
        max-width: 100%;
        max-height: 100%;
    }
}
/* =========================================================
   STILURI SPECIALE PENTRU PAGINA ARAD (LISTA BISERICI)
   ========================================================= */

/* Secțiunea de sus – mai aproape de meniu */
/* Secțiunea de sus – lipită de meniu */
.arad-wrapper {
    padding-top: 0;      /* fără spațiu interior sus */
    padding-bottom: 40px;
    margin-top: -20px;   /* trage secțiunea cu 10px în sus */
}

/* Titlu + subtitlu centrate */
.arad-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 24px;
}

.arad-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 6px;        /* elimină spațiul mare de sus */
}

.arad-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

/* Wrapper pentru grid + search */
.arad-lista-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GRID CARDURI BISERICI */
.arad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* CARD BISERICA */
.church-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border: 1px solid #ececec;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.church-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* TITLU BISERICA */
.church-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

/* DESCRIERI */
.church-card p {
    margin-bottom: 6px;
    color: #4b5563;
    line-height: 1.45;
}

/* PAGINA MOBIL */
@media (max-width: 480px) {
    .church-card {
        padding: 18px 20px;
    }

    .arad-grid {
        gap: 18px;
    }
}

/* SEARCH – wrapper centrat */
.arad-search-wrapper {
    max-width: 480px;
    margin: 16px auto 28px;
    position: relative;
}

/* Input – UN SINGUR #churchSearch, fără font-size: 1px :) */
#churchSearch {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;               /* + fix iOS zoom */
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.2s ease;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

#churchSearch:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
}

/* Sugestii dropdown */
.search-suggestions {
    position: absolute;
    top: 48px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: none;
    max-height: 220px;
    overflow-y: auto;
    z-index: 20;
}

.search-suggestions div {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}

.search-suggestions div:hover {
    background: #fafafa;
}

/* Did you mean */
.search-didyoumean {
    margin-top: 6px;
    font-size: 13px;
    color: #374151;
    font-style: italic;
}

/* Număr rezultate */
.search-results-count {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Highlight text găsit */
mark {
    background: #fff3a2;
    padding: 0 2px;
    border-radius: 2px;
}

/* Forțează logo-ul să arate la fel ca pe celelalte pagini */
.header .logo-area a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.header .logo-area a:hover {
    text-decoration: none;
}

.header .logo-area .site-title h1,
.header .logo-area .site-title span {
    text-decoration: none;
}

/* =========================================================
   HEADER & NAV – PREMIUM, RESPONSIVE, FĂRĂ BUG-URI
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* container general */
.header-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

/* ============================= */
/* LOGO + TITLU */
/* ============================= */

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; 
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-title h1 {
    font-family: "Playfair Display", serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.site-title span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.23em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================= */
/* NAV – DESKTOP */
/* ============================= */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 6px;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

/* Linkuri */
.nav-link {
    position: relative;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform .12s ease, color .2s ease;
}

.nav-link:not(.nav-btn)::before {
    content: "";
    position: absolute;
    inset: -4px -8px;
    border-radius: 999px;
    background: rgba(200, 169, 107, .10);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .18s ease, transform .18s ease;
    z-index: -1;
}

.nav-link:not(.nav-btn)::after {
    content: "";
    position: absolute;
    bottom: 3px;
    height: 2px;
    width: 0;
    background: var(--accent);
    border-radius: 999px;
    left: 50%;
    transform: translateX(-50%);
    transition: width .22s ease;
}

/* Hover */
.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover::after {
    width: 26px;
}

/* Stare activă */
.nav-link.is-active::before,
.nav-link.is-active::after {
    opacity: 1;
    width: 26px;
    transform: scale(1);
}

/* Buton Contact */
.nav-btn {
    padding: 7px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .10);
}

.nav-btn:hover {
    background: #f3f4f6;
    border-color: rgba(15, 23, 42, .25);
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .18);
}

/* ============================= */
/* NAV TOGGLE (HAMBURGER + X)   */
/* ============================= */

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .12);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3px;              /* Liniile mai apropiate când sunt paralele */
    cursor: pointer;
    z-index: 2000;
}

/* cele 2 linii */
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
    transition: transform .20s ease, opacity .20s ease;
    transform-origin: center;
}

/* starea normală: două linii paralele (egal) */
.nav-toggle span:first-child,
.nav-toggle span:last-child {
    transform: translateY(0);
}

/* când meniul este deschis (clasa .open pe buton) – se transformă în X */
.nav-toggle.open span:first-child {
    transform: rotate(45deg);
}

.nav-toggle.open span:last-child {
    transform: rotate(-45deg);
}

/* pe mobil afișăm butonul */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
}


/* ============================= */
/* TABLETĂ: meniul devine mai compact */
/* ============================= */

@media (max-width: 1150px) and (min-width: 769px) {
    .header-container {
        gap: 14px;
    }

    .nav-link { font-size: 12px; padding: 6px 10px; }
    .nav-btn { font-size: 12px; padding: 7px 14px; }
}

/* ============================= */
/* TELEFON: activăm hamburger-ul, meniul devine card */
/* ============================= */

@media (max-width: 768px) {

    .nav-toggle {
        display: flex !important;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 22px 45px rgba(15, 23, 42, .16);

        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity .18s ease, transform .18s ease;
        z-index: 1500;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 10px 8px;
        justify-content: flex-start;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ===========================
   FIX imagine în secțiunea DESPRE NOI
   Face poza să ocupe complet partea dreaptă
   =========================== */

.about-card {
    display: flex;
    align-items: stretch;     /* important: întinde copilul pe verticală */
    gap: 40px;
}

/* Foto container */
.about-photo {
    flex: 1;
    height: 100%;
    min-height: 340px;        /* îl poți crește dacă vrei o poză mai înaltă */
    border-radius: 24px;
    overflow: hidden;         /* elimină complet marginile albe */
}

/* Foto în sine */
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* întinde imaginea pe TOT spațiul, fără goluri */
    display: block;
}

/* Textul din stânga */
.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile fix */

@media (max-width: 900px) {
    .about-card {
        flex-direction: column;
    }

    .about-photo {
        min-height: 260px;
    }
}

/* =========================================
   DESPRE NOI – imagine pe toată înălțimea
   ========================================= */

.about-card {
    display: flex;
    align-items: stretch !important;   /* ambele coloane aceeași înălțime */
    gap: 40px;
    min-height: 360px;                 /* poți ajusta dacă vrei card mai înalt/scund */
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Coloană foto – ocupă toată înălțimea cardului */
.about-photo {
    flex: 1;
    align-self: stretch;
    margin: 0;                         /* anulăm eventuale margini vechi */
    border-radius: 24px;
    overflow: hidden;
}

/* Imaginea se întinde complet în container */
.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;                 /* taie din imagine ca să nu rămână goluri */
}

/* Mobile */
@media (max-width: 900px) {
    .about-card {
        flex-direction: column;
        min-height: auto;
    }

    .about-photo {
        min-height: 260px;
    }
}
/* =========================================
   DESPRE NOI – card cu poză full height + margine estetică
   ========================================= */

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, #fff7eb 0%, #ffffff 40%, #f9fafb 100%);
    box-shadow: var(--shadow-soft);

    padding: 0;               /* nu atingem padding-ul global */
    overflow: hidden;         /* pentru colțuri rotunjite corecte */
}

/* Textul păstrează padding frumos */
.about-content {
    padding: 40px 40px 32px;
}

/* Container imagine cu spațiu interior */
.about-photo {
    position: relative;
    padding: 20px;            /* SPAȚIU ÎN JURUL IMAGINII */
    display: flex;
}

/* Imaginea rămâne rotunjită și nu atinge cardul */
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;      /* colțuri rotunjite frumoase */
    display: block;
}

/* Mobile */
@media (max-width: 900px) {
    .about-card {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 28px 20px 24px;
    }

    .about-photo {
        padding: 14px;
        min-height: 260px;
    }
}
/* =========================================
   SEȚIUNEA JUDEȚE – Carduri Premium
   ========================================= */

.judete-shell {
    padding-block: 80px;
}

.judete-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 10px;
}

.judete-header .section-intro {
    max-width: 700px;
}

.judete-panel {
    margin-top: 40px;
}

.judete-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 0.15em;
}

.tagline-line {
    flex: 1;
    max-width: 140px;
    height: 2px;
    background: var(--accent);
    opacity: 0.4;
}

/* GRID CU 4 CARDURI */
.judete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD JUDEȚ */
.judet-card {
    position: relative;
    padding: 24px 22px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.judet-card:hover {
    transform: translateY(-3px);
    background: #fdf8ef;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.judet-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #111827;
}

.judet-sub {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.judet-arrow {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 20px;
    color: var(--accent-dark);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.judet-card:hover .judet-arrow {
    transform: translateX(4px);
}

/* Link card */
.judet-link {
    text-decoration: none;
    color: inherit;
}
/* Centrare text pentru secțiunea JUDEȚE */
.judete-header {
    text-align: center;
    margin: 0 auto;
}

.judete-header .section-intro {
    margin-left: auto;
    margin-right: auto;
}
/* ================================
   CARDURI JUDEȚE – TEXT CENTRAT
   ================================ */

.judete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.judet-card {
    position: relative;
    padding: 26px 22px 32px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    text-align: center;        /* CENTRARE TOTALĂ */
}

/* Titlu județ centrat */
.judet-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #111827;
    display: block;
}

/* Subtitlu centrat */
.judet-sub {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    display: block;
}

/* SĂGEATA SUB TITLU */
.judet-arrow {
    display: block;
    margin: 12px auto 0;   /* o pune fix SUB titlu */
    font-size: 20px;
    color: var(--accent-dark);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

/* Efect hover */
.judet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.judet-card:hover .judet-arrow {
    transform: translateY(-2px);
    opacity: 1;
}
/* ===============================================
   OVERLAY PREMIUM LIGHT PENTRU CARDURILE DE JUDEȚE
   =============================================== */

.judet-card {
    position: relative;
    overflow: hidden;
}

/* Overlay elegant, deschis la culoare */
.judet-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.80),
        rgba(250,247,240,0.85),
        rgba(245,240,225,0.90)
    );
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: inherit;

    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    
    backdrop-filter: blur(6px);
}

/* Text premium */
.judet-overlay p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #3a3a3a;
}

/* La hover apare overlay-ul */
.judet-card:hover .judet-overlay {
    opacity: 1;
    transform: translateY(0);
}
/* ===== OVERRIDE DISTANȚĂ TITLU ARAD vs. MENIU ===== */

/* Trage titlul + subtitlul mai sus */
.arad-header {
    margin-top: -46px !important;   /* încearcă -24, apoi ajustezi la -16 / -32 etc. */
}

/* Elimină orice padding suplimentar pe secțiune */
.arad-wrapper {
    padding-top: 0 !important;
}

/* =========================================================
   WIKICOM – Blocuri cu text și imagini pătrate stânga/dreapta
   ========================================================= */

.wiki-block {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 40px;
}

.wiki-block.reverse {
    flex-direction: row-reverse;
}

/* imagine pătrată */
.wiki-image {
    width: 260px;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-muted);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.wiki-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-text {
    flex: 1;
}

.wiki-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.wiki-text p {
    color: #4b5563;
    line-height: 1.75;
}

/* =======================
   RESPONSIVE – pentru telefon
   ======================= */
@media (max-width: 900px) {
    .wiki-block,
    .wiki-block.reverse {
        flex-direction: column;
        text-align: left;
    }

    .wiki-image {
        width: 210px;
        height: 210px;
        margin: 0 auto;
    }

    .wiki-text {
        text-align: left;
    }
}
/* =========================================================
   COMPACTARE SECȚIUNI & LAYOUT MAI PLIN
   (POȚI APLICA PE INDEX ȘI PE ALTE PAGINI)
   ========================================================= */

/* Secțiuni mai „strânse” ca spațiu vertical */
.compact-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.compact-section .section-title {
    margin-bottom: 10px;
}

.compact-section .section-subtitle {
    margin-bottom: 16px;
}

/* Dacă vrei linii discrete între secțiunile de pe home */
.home-section + .home-section {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 28px;
}

/* Layout 2 coloane – ideal pentru „Despre noi” */
.split-2 {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .split-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Bandă cu statistici / info mică sub text */
.info-strip {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.info-pill {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.3;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.55);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-pill span.label {
    font-weight: 600;
}

.info-pill span.value {
    opacity: 0.85;
}

/* Carduri mici pentru „Ce găsești pe site” */
.mini-cards-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.mini-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 14px;
}

.mini-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Ușor mai mic spațiul dintre secțiuni mari generice (fallback) */
section {
    scroll-margin-top: 80px; /* să se potrivească cu header-ul când dai scroll la ancore */
}
/* Centrează DOAR titlul și paragraful de intro, direct în secțiune */
.contact-header-centered > h2,
.contact-header-centered > p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}
/* Spațiu mare sus și jos pentru secțiunea de contact */
.contact-header-centered {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Pe mobil reducem puțin ca să nu fie exagerat */
@media (max-width: 768px) {
    .contact-header-centered {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
/* Detalii contact în cardul din stânga */
.contact-details {
    margin: 24px 0 12px;
    text-align: left;               /* scoatem centratul */
}

.contact-details ul {
    list-style: disc;               /* bullet points clasice */
    padding-left: 1.5rem;           /* spațiu pentru bullets */
    margin: 0;
}

.contact-details li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.contact-details strong {
    margin-right: 6px;
}

/* Textul mic de sub listă */
.contact-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: left;
}
.contact-card {
    text-align: left;
}
/* Eliminăm complet galbenul/cremul din cardurile de contact */
.contact-card,
.contact-left,
.contact-right,
.contact-form-wrapper {
    background: #ffffff !important;          /* alb curat */
    border-radius: 24px;                     /* colțuri frumoase */
    border: 1px solid rgba(0, 0, 0, 0.05);   /* un contur foarte subtil */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); /* umbră elegantă */
}

/* Dacă există gradient setat în versiunea mobilă sau în alt media query, îl blocăm */
@media (max-width: 768px) {
    .contact-card,
    .contact-left,
    .contact-right,
    .contact-form-wrapper {
        background: #ffffff !important;
    }
}
/* =========================================
   OVERRIDE CONTACT – fără galben, doar alb
   ========================================= */

/* Card mare contact (stânga + dreapta) */
.contact-shell {
    background: #ffffff !important;     /* scoatem radial-gradient-ul crem */
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.10);
    border: 1px solid rgba(226,232,240,0.9);
}

/* Badge-ul "Biroul comunității regionale" – din crem în alb-gri */
.contact-pill {
    background: #f9fafb !important;     /* gri foarte deschis */
    color: var(--accent-dark);
    border: 1px solid rgba(226,232,240,0.9);
}

/* Formularul din dreapta – fundal alb simplu */
.contact-form {
    background: #ffffff !important;     /* scoatem gradientul crem */
    border-radius: 22px;
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226,232,240,0.9);
}
/* Tot textul din cardul de contact să fie la stânga */
.contact-shell p {
    text-align: left;
}
/* =========================================
   Contact – buton mai mare și centrat
   ========================================= */

.contact-form button,
.contact-form input[type="submit"] {
    display: block;
    margin: 60px auto 0;     /* COBORĂM butonul */
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 28px rgba(15,23,42,0.18);
    cursor: pointer;
    transition: 0.18s ease;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15,23,42,0.22);
    background: #f9fafb;
}

.contact-form button:active,
.contact-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(15,23,42,0.15);
}
/* =========================================
   EVENIMENTE – titlu centrat doar în această secțiune
   ========================================= */

#evenimente .section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#evenimente .section-header .section-intro {
    margin-left: auto;
    margin-right: auto;
}
/* CONTACT – titlu + subtitlu centrate */
#contact .section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#contact .section-header .section-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/* =========================================
   LOCAȚIE – "Unde ne găsiți" + hartă
   ========================================= */

/* Titlu + subtitlu centrate, ca la Evenimente/Contact */
#locatie .section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#locatie .section-header .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* Card hartă */
.location-shell {
    margin-top: 28px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(15,23,42,0.14);
    border: 1px solid rgba(226,232,240,0.9);
    background: #ffffff;
}

/* Harta propriu-zisă */
.location-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* pe mobil facem harta puțin mai înaltă */
@media (max-width: 768px) {
    .location-map iframe {
        height: 320px;
    }
}
#locatie .section-intro {
    white-space: pre-line;
}
/* =========================================
   SEMINARII – Secțiune nouă
   ========================================= */

#seminarii .section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#seminarii .section-header .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* Grid carduri */
.seminars-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch; /* toate cardurile se întind uniform */
}




/* Card */
.seminar-card {
    background: #ffffff;
    padding: 24px 26px;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(15,23,42,0.08);
    border: 1px solid rgba(226,232,240,0.9);
    transition: 0.18s ease;

    /* nou - centrare completă */
    display: flex;
    flex-direction: column;
    align-items: center;        /* centrează titlul și textul pe orizontală */
    justify-content: center;    /* centrează pe verticală */
    text-align: center;         /* tot textul centrat */
    
    min-height: 180px; /* sau mai mult dacă vrei carduri mai înalte */
}


.seminar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
    border-color: rgba(200,169,107,0.55);
}

.seminar-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.3;
}


.seminar-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}
/* Face cardurile de seminarii clicabile */
.seminar-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.seminar-card-link .seminar-card {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.seminar-card-link:hover .seminar-card {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}
/* =========================================
   SEMINAR 1 – titlu centrat + carduri frumos aranjate
   ========================================= */

/* Titlu + intro centrate doar pe pagina de seminar */
.seminar-page-hero .section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
}

.seminar-page-hero .section-header .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* Grid pentru cardurile de informatii */
.seminar-info-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.seminar-info-grid .event-info-card {
    text-align: left;
}
/* SEMINAR – CARDURI TEXT PRINCIPALE */
/* CARDURILE SĂ FIE UNA SUB ALTA */
.seminar-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* O singură coloană */
    gap: 28px;
    margin-top: 20px;
}

.seminar-card {
    background: #ffffff;
    padding: 24px 26px;
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(15,23,42,0.10);
    border: 1px solid rgba(226,232,240,0.9);
}

.seminar-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 12px;
}

.seminar-card p,
.seminar-card ul {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

.seminar-card ul {
    margin-left: 18px;
    margin-top: 6px;
}

/* Grid pentru cardurile de informatii de jos */
.seminar-info-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
/* Reduce distanța dintre hero și primul card din pagina seminar */
.seminar-page-hero {
    padding-bottom: 10px !important;
}

.seminar-cards-grid {
    margin-top: 10px !important;
}
.seminar-page-hero .section-header {
    margin-bottom: 10px !important;
}
/* Imagine finală în pagina seminarului */
.seminar-image-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.seminar-bottom-image {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
    display: block;
}
/* GRID 2 COLUMNS: CARDURI STÂNGA + POZA DREAPTA */
.seminar-two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

/* Coloană stânga cu cardurile */
.seminar-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Poza mare în dreapta */
.seminar-right {
    display: flex;
    justify-content: center;
}

.seminar-side-image {
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.15);
    object-fit: cover;
}

/* Responsive – pe telefon devine 1 coloană */
@media (max-width: 900px) {
    .seminar-two-col {
        grid-template-columns: 1fr;
    }

    .seminar-right {
        margin-top: 20px;
    }
}
/* Imagine mai mică, centrată sub carduri */
.seminar-image-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.seminar-bottom-image {
    width: 100%;
    max-width: 520px;          /* mai mică decât lățimea containerului */
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(15,23,42,0.15);
    display: block;
}
/* Override pentru poza din pagina de seminar:
   rămâne mare, centrată, dar funcționează ca imagine de galerie */
.seminar-image-wrapper .gallery-item {
    max-width: 520px;
    width: 100%;
}

.seminar-image-wrapper .gallery-item img.seminar-bottom-image {
    width: 100%;
    height: auto;          /* anulăm height:170px din .gallery-item img */
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(15,23,42,0.15);
    display: block;
}
/* Overlay pe cardurile de seminarii */
.seminar-card-link {
    position: relative;
    display: block;
}

.seminar-card-link::after {
    content: "Vezi detalii înscriere";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #1f2937;

    background: rgba(255,255,255,0.88);
    border-radius: 22px;

    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* Apariția overlay-ului la hover */
.seminar-card-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   SEMINAR – OVERLAY PREMIUM
============================================ */

.seminar-card-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px; /* se aliniază perfect cu cardul */
}

/* Overlay premium */
.seminar-card-link::after {
    content: "Vezi detalii înscriere";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1b1f29;

    /* gradient premium alb + glow auriu foarte discret */
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.92) 40%,
        rgba(255,255,255,0.88) 65%,
        rgba(230,210,170,0.15) 100%
    );

    opacity: 0;
    transform: translateY(18px) scale(0.96);
    filter: blur(2px);

    border-radius: inherit;
    transition:
        opacity 0.45s cubic-bezier(.25,.1,.25,1),
        transform 0.45s cubic-bezier(.25,.1,.25,1),
        filter 0.45s ease;
}

/* Efect premium la hover */
.seminar-card-link:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}
/* Titlul cardurilor centrat – FORȚAT pentru toate cardurile */
.seminar-card > h2,
.seminar-card > h3 {
    text-align: center !important;
}

/* Textul rămâne la stânga – FORȚAT */
.seminar-card p,
.seminar-card ul,
.seminar-card li {
    text-align: left !important;
}
.inner-hero-title .line-break {
    display: block;
}
/* Aliniere stânga pentru TEXTUL din cardurile seminarului */
.seminar-card p,
.seminar-card ul,
.seminar-card li {
    text-align: left;
}
/* =========================================
   OVERWRITE SEMINAR – carduri home vs. pagina seminar
   ========================================= */

/* 1) Pe HOME (#seminarii) cardurile rămân centrate, mici și egale */
#seminarii .seminar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
}

/* 2) Pe PAGINA DE SEMINAR:
      cardurile cu mult text (în .seminar-cards-grid) devin bloc normal,
      titlul centrat, restul textului aliniat la stânga */

/* cardul în sine – nu mai e flex, textul de bază la stânga */
.seminar-cards-grid .seminar-card {
    display: block;
    text-align: left;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
}

/* titlul cardului centrat */
.seminar-cards-grid .seminar-card h2,
.seminar-cards-grid .seminar-card h3 {
    text-align: center;
    margin-bottom: 12px;
}

/* textul informativ aliniat la stânga */
.seminar-cards-grid .seminar-card p,
.seminar-cards-grid .seminar-card ul,
.seminar-cards-grid .seminar-card li {
    text-align: left;
}
/* =========================================================
   COMITET – LOOK NOU, MAI PREMIUM
   (overwrite pentru cardurile existente)
   ========================================================= */

/* Fundal ușor mai „ceremonial” pentru toată secțiunea */
#comitet.band-muted {
    background: radial-gradient(circle at top, #eef2ff 0, #f6f7fb 45%, #f3f4f6 100%);
}

/* Header – mai compact și mai elegant */
#comitet .section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}

#comitet .section-kicker {
    letter-spacing: 0.24em;
    font-size: 11px;
    color: #9ca3af;
}

#comitet .section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -0.02em;
}

#comitet .section-intro {
    font-size: 14px;
    color: #6b7280;
}

/* ---------------------------------------------------------
   LIDERI PRINCIPALI – carduri mai clare, cu fundal alb
   --------------------------------------------------------- */

.team-main-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.team-card-main {
    position: relative;
    text-align: center;
    padding: 20px 22px 18px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15,23,42,0.16);
    border: 1px solid rgba(226,232,240,0.9);
    min-width: 240px;
}

/* cercul cu poză iese un pic din card */
.team-photo-main {
    width: 150px;
    height: 150px;
    margin: -64px auto 10px;
    border-radius: 999px;
    padding: 4px;
    background:
        radial-gradient(circle at top, rgba(200,169,107,0.4), transparent 70%),
        #ffffff;
    box-shadow: 0 16px 34px rgba(15,23,42,0.30);
}

.team-card-main h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.team-card-main .team-role {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

/* mic text de sub rol – dacă există (ex. biserică) */
.team-card-main p {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* hover discret pentru liderii principali */
.team-card-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(15,23,42,0.22);
    border-color: rgba(200,169,107,0.7);
    transition: 0.2s ease;
}

/* ---------------------------------------------------------
   MEMBRI – carduri mai curate, păstrând mărimea
   --------------------------------------------------------- */

.team-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}

/* card „board member” mai simplu și mai clar */
.team-card-secondary {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 18px 20px; /* păstrează cam aceeași înălțime */
    box-shadow: 0 14px 32px rgba(15,23,42,0.12);
    text-align: center;
    border: 1px solid rgba(226,232,240,0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* cercul cu poză – inel auriu mai fin */
.team-photo-secondary {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(200,169,107,0.85);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15,23,42,0.20);
}

/* nume + rol */
.team-card-secondary h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.team-card-secondary .team-role {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* text suplimentar (opțional) */
.team-card-secondary p {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* hover – ușor „lift” */
.team-card-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15,23,42,0.18);
    border-color: rgba(200,169,107,0.6);
}

/* ---------------------------------------------------------
   RESPONSIVE – păstrăm layout curat pe mobil
   --------------------------------------------------------- */

@media (max-width: 1100px) {
    .team-secondary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .team-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .team-main-grid {
        margin-bottom: 30px;
    }

    .team-card-main {
        min-width: 0;
        width: 100%;
    }

    .team-secondary-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   COMITET – fix hover smooth pentru PRIMII 3
   ========================================= */

/* ne asigurăm că și în comitet cardurile AU transition pe transform + shadow */
#comitet .team-card-main,
#comitet .team-card-secondary {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    will-change: transform, box-shadow;
}

/* efectul de „ridicare” la hover, la fel pentru toate cardurile din comitet */
#comitet .team-card-main:hover,
#comitet .team-card-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.22);
}
/* =========================================================
   COMITET – mărire spațiu între titlu și primele 3 carduri
   ========================================================= */

#comitet .team-grid,
#comitet .team-wrapper,
#comitet .comitet-grid {
    margin-top: 48px !important;

}
/* =========================================================
   COMITET – spațiu mai mare între titlu și PRIMII 3
   ========================================================= */

/* reset – nu vrem margini aiurea pe toate cardurile */
#comitet .team-card-main,
#comitet .team-card-secondary {
    margin-top: 0;
}

/* doar primii 3 lideri – ridicați mai jos de titlu */
#comitet .team-card-main:nth-of-type(1),
#comitet .team-card-main:nth-of-type(2),
#comitet .team-card-main:nth-of-type(3) {
    margin-top: 32px !important;   /* crești la 40/48 dacă vrei și mai mult */
}
/* =========================================================
   SECTIUNE CONVINGERI – versiune premium
   ========================================================= */
.conv-section {
    padding: 80px 20px 90px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, #ffffff 0, #f4f5fb 45%, #e9edf7 100%);
}

/* “bule” soft în fundal, ca să nu fie gol */
.conv-section::before,
.conv-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.55;
    z-index: 0;
}

.conv-section::before {
    width: 220px;
    height: 220px;
    top: -60px;
    left: -40px;
    background: radial-gradient(circle at center, rgba(200,169,107,0.28), transparent 70%);
}

.conv-section::after {
    width: 260px;
    height: 260px;
    bottom: -80px;
    right: -40px;
    background: radial-gradient(circle at center, rgba(15,23,42,0.26), transparent 70%);
}

.conv-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Header de secțiune mai bogat */
.conv-header {
    max-width: 680px;
    margin: 0 auto 40px;
}

/* pilulă mică deasupra titlului */
.conv-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 10px 30px rgba(15,23,42,0.12);
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.conv-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.conv-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 8px;
}

.conv-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid: 4 carduri pe un rând pe desktop */
.conv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 26px;
}

@media (max-width: 992px) {
    .conv-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}

/* Card premium */
.conv-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 42px; /* un pic mai mult jos */
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 60px rgba(15,23,42,0.10);
    text-decoration: none;
    color: var(--text-main);
    transform: translateY(0) scale(1);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
    min-height: 140px; /* ca să ai spațiu între titlu și textul de jos */
}

/* overlay luminos pe card */
.conv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(200,169,107,0.20), transparent 65%),
        radial-gradient(circle at bottom right, rgba(15,23,42,0.18), transparent 65%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* etichetă “Deschide documentul” – apare doar la hover */
.conv-card::after {
    content: "DESCHIDE DOCUMENTUL";
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

/* Titlul documentului */
.conv-card h3 {
    position: relative;
    z-index: 1;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    max-width: 210px;
    line-height: 1.3;
}

/* Linia rămâne scoasă */
.conv-line {
    display: none;
}

/* Hover / focus – efect premium */
.conv-card:hover,
.conv-card:focus-visible {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 80px rgba(15,23,42,0.18);
    border-color: rgba(200,169,107,0.65);
    background: #ffffff;
}

.conv-card:hover::before,
.conv-card:focus-visible::before {
    opacity: 0.16;
}

.conv-card:hover::after,
.conv-card:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.conv-card:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: 0 20px 50px rgba(15,23,42,0.14);
}
/* ======================================
   OVERRIDE NAV-TOGGLE – X PERFECT
   ====================================== */

/* linii mai apropiate */
.nav-toggle {
    gap: 2px; /* în loc de 5px */
}

/* liniile hamburger-ului */
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
    transition: transform .22s ease, opacity .22s ease;
    transform-origin: center;
}

/* stare normală: doar două linii paralele, foarte apropiate */
.nav-toggle span:first-child,
.nav-toggle span:last-child {
    transform: translateY(0);   /* anulăm translateY(-3/+3) din vechiul CSS */
}

/* stare activă: X perfect în centru */
.nav-toggle.active span:first-child {
    transform: rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg);
}
/* ======================================
   NAV MOBILE – centrăm textul linkurilor
   ====================================== */
@media (max-width: 768px) {
    .nav-link {
        justify-content: center !important;   /* text centrat */
        text-align: center !important;        /* asigurare */
        width: 100%;                           /* ocupă toată lățimea */
    }

    .nav-btn {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* ======================================
   CONVINGERI – spațiu lateral pe telefon
   ====================================== */
@media (max-width: 768px) {
    .conv-container {
        padding: 0 18px;      /* spațiu în plus stânga/dreapta */
    }

    .conv-grid {
        gap: 18px;           /* puțin mai mic gap-ul între carduri */
    }
}

/* =========================================================
   PAGINI DOCUMENTE LUNGI (STATUT, REGULAMENT)
   ========================================================= */

.doc-wrapper {
    padding: 80px 16px 60px;
    background: var(--bg-page);
}

.doc-header {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;        /* centrare tot blocul */
}

.doc-breadcrumb {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.doc-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3vw, 32px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 4px;
}

.doc-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 18px;
}

.doc-download {
    margin-top: 10px;
}

.doc-download .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.doc-download .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    filter: brightness(1.03);
}

.doc-download .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* GRID + CARDS */

.doc-section {
    max-width: 1200px;
    margin: 0 auto;
}

.doc-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.doc-card {
    background: radial-gradient(circle at top left,
        rgba(255,255,255,0.96),
        rgba(243,244,246,0.98));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 20px 22px;
    border: 1px solid rgba(148,163,184,0.18);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
}

/* mic accent de colț premium */
.doc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
        rgba(200,169,107,0.18),
        transparent 55%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.doc-card:hover::before {
    opacity: 1;
}

.doc-card h3,
.doc-card h4,
.doc-card h5 {
    font-family: "Playfair Display", serif;
    margin-bottom: 6px;
    color: var(--text-main);
}

.doc-card h3 {
    font-size: 20px;
}

.doc-card h4 {
    font-size: 17px;
}

.doc-card h5 {
    font-size: 15px;
    text-transform: none;
}

.doc-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 8px;
}

.doc-card ul {
    margin: 4px 0 8px 18px;
    padding-left: 0;
}

.doc-card li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 3px;
}

.doc-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* textul "Convingeri" */
.doc-breadcrumb-section {
    opacity: 0.85;
}

/* badge-ul "DOCUMENT OFICIAL" */
.doc-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
}

.doc-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    margin-right: 8px;
}

.doc-pill-text {
    white-space: nowrap;
}


/* responsive */

@media (min-width: 900px) {
    .doc-wrapper {
        padding: 96px 24px 80px;
    }

    .doc-grid {
        gap: 20px;
    }

    .doc-card {
        padding: 22px 26px;
    }
}
/* ================================
   OVERRIDE – aliniere text seminarii
   ================================ */

/* Dacă cardurile folosesc clasa .seminar-card */
.seminar-card {
    text-align: center;
}

.seminar-card p {
    text-align: center !important;
    margin: 8px auto 0;
    max-width: 360px;
}

/* Dacă sunt de fapt .conv-card (ca la documente),
   acest override le centrează descrierea */
.conv-card {
    text-align: center;
}

.conv-card .conv-card-text,
.conv-card p {
    text-align: center !important;
    margin: 8px auto 0;
    max-width: 360px;
}
/* =============================================
   OVERRIDE – Evenimente: centrare titlu + text
   ============================================= */

.event-card {
    text-align: center;
}

.event-card .event-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Data evenimentului */
.event-card .event-date {
    text-align: center !important;
    margin: 0 auto 10px;
    letter-spacing: 0.12em;
}

/* Titlul evenimentului */
.event-card .event-title {
    text-align: center !important;
    margin: 0 auto 10px;
    max-width: 90%;
}

/* Subtitlu / descriere */
.event-card .event-desc,
.event-card p {
    text-align: center !important;
    margin: 6px auto 0;
    max-width: 360px;
    line-height: 1.55;
}

/* =========================================================
   CARD LICEU – MAI MARE + OVERLAY ALB PREMIUM
   ========================================================= */

/* Secțiunea */
#liceu.band {
    padding: 60px 0;
}

/* Cardul mare */
#liceu .liceu-card {
    display: block;
    width: 100%;
    max-width: 1080px;     /* MAI LAT */
    height: 520px;         /* MAI ÎNALT */
    margin: 0 auto;

    padding: 0;
    background: transparent;

    border-radius: 34px;   /* colțuri premium */
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(15,23,42,0.20);

    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#liceu .liceu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 50px 120px rgba(15,23,42,0.32);
}

/* Wrapper pentru poză */
#liceu .liceu-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Imagine FULL CARD */
#liceu .liceu-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Zoom fin */
#liceu .liceu-card:hover img {
    transform: scale(1.07);
}

/* Overlay static pentru citibilitate */
#liceu .liceu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.18),
        rgba(0,0,0,0.40)
    );
    pointer-events: none;
}

/* TEXT pe mijloc */
#liceu .liceu-title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: "Playfair Display", serif;
    color: #ffffff;
    font-size: 40px;               /* MAI MARE */
    font-weight: 600;
    text-align: center;
    text-shadow: 0 8px 28px rgba(0,0,0,0.55);
}

#liceu .liceu-subtitle {
    position: absolute;
    top: calc(45% + 55px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #ffffffd9;
    text-shadow: 0 8px 28px rgba(0,0,0,0.55);
}

/* =============== OVERLAY ALB PREMIUM LA HOVER ================= */

#liceu .liceu-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72);  /* ALB TRANSPARENT PREMIUM */
    backdrop-filter: blur(10px);         /* efect Apple glass */
    -webkit-backdrop-filter: blur(10px); 
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
}

#liceu .liceu-hover-overlay span {
    color: #0f172a;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 40px;
}

#liceu .liceu-card:hover .liceu-hover-overlay {
    opacity: 1;
}
/* =========================================================
   FIX COLTURI OVERLAY – LICEU
   ========================================================= */

#liceu .liceu-card,
#liceu .liceu-img-wrapper,
#liceu .liceu-overlay,
#liceu .liceu-hover-overlay {
    border-radius: 34px;          /* același radius peste tot */
}

/* overlay-urile le întindem un pic ca să nu rămână margini */
#liceu .liceu-overlay,
#liceu .liceu-hover-overlay {
    inset: -1px;                  /* acoperă perfect colțurile */
}
/* =========================================================
   PAGINA LICEU.HTML – LAYOUT EDITORIAL (BLOCURI GRI + POZĂ)
   ========================================================= */

/* Spațiere generală pagină liceu */
.page-main.liceu-page {
    padding: 40px 0 60px;
}

/* Container central */
.liceu-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Card general pentru fiecare bloc (intro + secțiuni) */
.liceu-card {
    background: #f7f8fa;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    padding: 32px 32px 34px;
    margin-bottom: 36px;
}

/* Intro puțin mai „deschis” sus */
.liceu-card-intro {
    padding-top: 28px;
}

/* Meta + titlu + subtitlu */
.liceu-meta {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.liceu-main-title {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin-bottom: 6px;
    color: #111827;
}

.liceu-subtitle {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 18px;
}

.liceu-intro-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 10px;
}

/* Titlul fiecărei secțiuni (1., 2., 3...) */
.liceu-section-header {
    margin-bottom: 18px;
}

.liceu-section-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: #111827;
}

.liceu-section-title span {
    font-size: 20px;
    font-weight: 700;
    color: #c8a96b;
}

/* =========================================================
   Layout POZĂ + TEXT
   ========================================================= */

/* Layout standard: coloană poză + coloană text */
.liceu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 32px;
    align-items: flex-start;
}

/* Layout invers: text stânga, poză dreapta */
.liceu-layout.liceu-layout-reverse {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
}

/* Forțăm ordinea pentru reverse (text stânga, poză dreapta) */
.liceu-layout.liceu-layout-reverse .liceu-text {
    order: 1;
}
.liceu-layout.liceu-layout-reverse .liceu-media {
    order: 2;
}

/* „Card” mic pentru poză, ca placeholder-ul din screenshot */
.liceu-media {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}

.liceu-media img {
    width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.liceu-media figcaption {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
}

/* Textul din secțiuni */
.liceu-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.liceu-text h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: #111827;
}

.liceu-text p {
    margin-bottom: 10px;
}

.liceu-list,
.liceu-list.liceu-list-ordered {
    margin: 4px 0 10px 18px;
    padding: 0;
    line-height: 1.8;
}

.liceu-list li,
.liceu-list-ordered li {
    margin-bottom: 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .liceu-card {
        padding: 24px 20px 26px;
        margin-bottom: 24px;
    }

    .liceu-layout,
    .liceu-layout.liceu-layout-reverse {
        grid-template-columns: 1fr;
    }

    .liceu-media {
        max-width: 340px;
        margin: 0 auto 12px;
    }
}

@media (max-width: 600px) {
    .liceu-main-title {
        font-size: 24px;
    }

    .liceu-text {
        font-size: 14px;
    }
}
/* ============================================================
   FIX FINAL – LAYOUT EDITORIAL PENTRU liceu.html
   ============================================================ */

/* CARD GRI GENERAL */
.liceu-card {
    background: #f7f8fa;
    border-radius: 22px;
    padding: 32px;
    margin: 30px auto;
    max-width: 1150px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

/* TITLURI */
.liceu-section-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #111;
}

.liceu-section-title span {
    color: var(--accent);
    font-size: 26px;
    font-weight: bold;
}

/* ============================================================
   LAYOUT IMAGINE + TEXT (2 coloane)
   ============================================================ */

.liceu-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

/* layout invers */
.liceu-layout-reverse {
    grid-template-columns: 1fr 300px;
}

/* IMAGINEA MICĂ DIN CARD */
.liceu-media {
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.liceu-media img {
    width: 100%;
    max-width: 280px; /* <<< AICI LIMITĂM DIMENSIUNEA REALĂ */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.liceu-media figcaption {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* TEXT */
.liceu-text {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

/* LISTE */
.liceu-text ul,
.liceu-text ol {
    margin-left: 20px;
    margin-top: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width: 900px) {
    .liceu-layout,
    .liceu-layout-reverse {
        grid-template-columns: 1fr;
    }

    .liceu-media img {
        max-width: 100%;
    }
}
/* =========================================================
   PAGINA LICEU – LAYOUT EDITORIAL PREMIUM (LP-*)
   ========================================================= */

.lp-page {
    padding: 80px 0 60px;
}

.lp-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Carduri gri */
.lp-card {
    background: #f7f8fa;
    border-radius: 24px;
    padding: 30px 30px 32px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
    margin-bottom: 32px;
}

/* Intro puțin diferit */
.lp-card-intro {
    padding-top: 22px;
}

/* Meta + titlu */
.lp-meta {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.lp-main-title {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin-bottom: 4px;
    color: #111827;
}

.lp-subtitle {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 16px;
}

.lp-intro-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 10px;
}

/* Titluri secțiuni numerotate */
.lp-section-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 22px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #111827;
}

.lp-section-title span {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent, #c8a96b);
}

/* Grid 2 coloane: poză + text */
.lp-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 28px;
    align-items: flex-start;
}

/* variantă cu imaginea pe dreapta */
.lp-section-grid--reverse {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
}

/* Cardul de poză (ca placeholder) */
.lp-photo-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}

.lp-photo-card img {
    width: 100%;
    max-width: 280px;  /* controlează lățimea imaginii */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: cover;
}

.lp-photo-card figcaption {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
}

/* Text secțiuni */
.lp-section-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

.lp-section-text h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: #111827;
}

.lp-section-text p {
    margin-bottom: 10px;
}

/* Liste */
.lp-list {
    margin: 4px 0 10px 18px;
    padding: 0;
}

.lp-list li {
    margin-bottom: 6px;
}

.lp-list--ordered {
    list-style: decimal;
}

/* Responsive */
@media (max-width: 900px) {
    .lp-page {
        padding-top: 76px;
    }

    .lp-card {
        padding: 22px 18px 24px;
    }

    .lp-section-grid,
    .lp-section-grid--reverse {
        grid-template-columns: 1fr;
    }

    .lp-photo-card img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .lp-main-title {
        font-size: 24px;
    }

    .lp-section-text {
        font-size: 14px;
    }
}
/* =========================================================
   OVERRIDE – IMAGINE MARE ÎN COLȚ + TEXT CARE CURGE ÎN JUR
   PENTRU PAGINA LICEU (lp-*)
   ========================================================= */

/* Cardul rămâne la fel ca stil, doar folosim alt layout intern */
.lp-card {
    max-width: 1180px;
    margin: 0 auto 32px;
}

/* Scoatem layout-ul de grid și folosim float */
.lp-section-grid,
.lp-section-grid--reverse {
    display: block;
    position: relative;
}

/* clearfix ca să cuprindă flotantele */
.lp-section-grid::after,
.lp-section-grid--reverse::after {
    content: "";
    display: block;
    clear: both;
}

/* Cardul pozei – fără fundal alb, fără padding, doar poza */
.lp-photo-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: 380px;      /* mărimea pozei */
}

/* Poză mai mare, colțuri rotunjite premium */
.lp-photo-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* Poza în stânga, textul curge pe dreapta și sub */
.lp-section-grid .lp-photo-card {
    float: left;
    margin: 0 24px 12px 0;   /* dreapta + jos */
}

/* Poza în dreapta pentru secțiunile reverse */
.lp-section-grid--reverse .lp-photo-card {
    float: right;
    margin: 0 0 12px 24px;   /* stânga + jos */
}

/* Textul ocupă toată lățimea – se va înfășura în jurul pozei */
.lp-section-text {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

/* Captionul rămâne sub poză, puțin mai discret */
.lp-photo-card figcaption {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* Pe ecrane mici – poză sus, text sub (fără float) */
@media (max-width: 800px) {
    .lp-section-grid .lp-photo-card,
    .lp-section-grid--reverse .lp-photo-card {
        float: none;
        max-width: 100%;
        margin: 0 0 14px 0;
    }
}
/* ============================================================
   FIX – TEXTUL SĂ CONTINUE ȘI SUB POZA DIN SECȚIUNILE REVERSE
   ============================================================ */

.lp-section-grid--reverse .lp-section-text {
    overflow: visible;
    display: block;
}

/* După ce se termină poza flotantă, textul trebuie să se extindă pe toată lățimea */
.lp-section-grid--reverse::after {
    content: "";
    display: block;
    clear: both;
}
/* =========================================================
   LICEU – poză în colț + text pe lângă și sub (Parteneriate)
   ========================================================= */

.lp-section-text--float-photo {
    position: relative;
}

/* Cardul pozei în colțul din dreapta */
.lp-section-text--float-photo .lp-photo-card--right {
    float: right;
    max-width: 340px;         /* fă poza mai mare/mică de aici */
    margin: 0 0 14px 26px;    /* spațiu stânga + jos față de text */
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Poză mare, rotunjită */
.lp-section-text--float-photo .lp-photo-card--right img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    object-fit: cover;
}

/* Caption sub poză */
.lp-section-text--float-photo .lp-photo-card--right figcaption {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* Pe ecrane mici – poză sus, text sub, fără float */
@media (max-width: 900px) {
    .lp-section-text--float-photo .lp-photo-card--right {
        float: none;
        max-width: 100%;
        margin: 0 0 14px 0;
    }
}
/* Listele din cadranele de seminar să aibă același font ca paragrafele */
.seminar-card ol,
.seminar-card ul,
.seminar-card li {
  font-family: 'Inter', system-ui, sans-serif;
}
/* ================================
   Seminar 2 – umple cadranele (fără centrare) + listă crez compactă
   ================================ */

.seminar2-page .seminar-card{
  text-align: left;
}

.seminar2-page .seminar-card p,
.seminar2-page .seminar-card ul,
.seminar2-page .seminar-card ol,
.seminar2-page .seminar-card li{
  max-width: none;         /* elimină “îngustarea” */
  margin-left: 0;
  margin-right: 0;
}

/* Crezul nostru: fără “rând liber” între puncte */
.seminar2-page .seminar-crez ol{
  margin: 12px 0 0;
  padding-left: 18px;
}

.seminar2-page .seminar-crez li{
  margin: 0 0 6px;         /* mic spațiu, nu gol mare */
  line-height: 1.55;
}

.seminar2-page .seminar-crez li:last-child{
  margin-bottom: 0;
}
/* =========================================================
   WIKICOM – FIX MOBILE: spațiu lateral + tipografie mai OK
   (pune la finalul <style> din wikicom.html)
   ========================================================= */

/* “Gutters” pe mobil + safe-area (iPhone notch) */
.wiki-hero,
.wiki-article-band {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Ne asigurăm că articolul nu poate depăși containerul */
.wiki-article {
  width: min(1100px, 100%);
}

/* Reglaje extra pentru telefoane mici */
@media (max-width: 520px) {
  .wiki-hero {
    padding-top: 88px;     /* puțin mai compact sub header */
    padding-bottom: 24px;
  }

  .wiki-hero-inner h1 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.15;
  }

  .wiki-hero-inner p {
    font-size: 15px;
  }

  .wiki-article {
    padding: 22px 18px 28px;
    border-radius: 20px;
  }

  .wiki-article p {
    font-size: 14.5px;
    line-height: 1.75;
  }
}

@media (max-width: 420px) {
  .wiki-image {
    width: 180px;
    height: 180px;
  }
  .wiki-block {
    gap: 18px;
    margin-top: 28px;
  }
}
/* =========================================================
   SEMINAR 2 – redesign minimalist (fără zeci de “cadrane”)
   Scop: un singur card mare + tipografie premium
   ========================================================= */

.seminar2-page .seminar2-hero{
  padding-bottom: 12px !important;
}

/* Cardul mare */
.seminar2-page .s2-article{
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
}

/* Secțiuni în interior – doar separatoare subtile */
.seminar2-page .s2-section{
  scroll-margin-top: 110px;
}

.seminar2-page .s2-section + .s2-section{
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(226,232,240,0.9);
}

/* Titluri */
.seminar2-page .s2-article h2{
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0 0 10px;
}

.seminar2-page .s2-article h3{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-main);
  margin: 14px 0 8px;
}

/* Text */
.seminar2-page .s2-article p,
.seminar2-page .s2-article li{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.seminar2-page .s2-article p{ margin: 10px 0 0; }

.seminar2-page .s2-article ul,
.seminar2-page .s2-article ol{
  margin: 10px 0 0 18px;
  padding: 0;
}

/* Crez: 2 coloane pe desktop, 1 pe mobil */
.seminar2-page .s2-crez{
  margin-top: 12px;
  column-count: 2;
  column-gap: 28px;
}

.seminar2-page .s2-crez li{
  break-inside: avoid;
  margin: 0 0 8px;
}

/* Rezumat: fără “cadrane”, doar coloane cu separatoare */
.seminar2-page .s2-summary{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0;
  margin-top: 14px;
}

.seminar2-page .s2-summary-item{
  padding: 0 14px;
}

.seminar2-page .s2-summary-item:first-child{
  padding-left: 0;
}

.seminar2-page .s2-summary-item:last-child{
  padding-right: 0;
}

.seminar2-page .s2-summary-item + .s2-summary-item{
  border-left: 1px solid rgba(226,232,240,0.95);
}

/* Galerie jos: două imagini una lângă alta pe desktop */
.seminar2-page .seminar-image-wrapper{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  justify-content: stretch;
  align-items: start;
}

.seminar2-page .seminar-image-wrapper .gallery-item{
  width: 100%;
  max-width: none;
}

.seminar2-page .seminar-image-wrapper img.seminar-bottom-image{
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.12);
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .seminar2-page .s2-article{ padding: 22px 20px; border-radius: 22px; }
  .seminar2-page .s2-crez{ column-count: 1; }
  .seminar2-page .s2-summary{ grid-template-columns: 1fr; gap: 14px; }
  .seminar2-page .s2-summary-item{ padding: 0; border-left: none; }
  .seminar2-page .s2-summary-item + .s2-summary-item{
    border-left: none;
    padding-top: 14px;
    border-top: 1px solid rgba(226,232,240,0.95);
  }
  .seminar2-page .seminar-image-wrapper{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .seminar2-page .s2-article{ padding: 18px 16px; }
  .seminar2-page .s2-article h2{ font-size: 22px; }
}

/* SEMINAR2 – poze egale ca dimensiune (aceeași înălțime) */
.seminar2-page .seminar-image-wrapper .gallery-item{
  height: clamp(230px, 22vw, 360px);  /* ajustează dacă vrei mai înalt */
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.seminar2-page .seminar-image-wrapper img.seminar-bottom-image{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* umple tile-ul => ambele par la fel de mari */
  display: block;
}
/* =========================================================
   SEMINAR 3 – minimalist (scoped pe .seminar3-page)
   ========================================================= */

.seminar3-page .seminar3-hero{
  padding-top: 110px;
  padding-bottom: 18px;
}

.seminar3-page .seminar3-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.seminar3-page .seminar3-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  color: var(--text-main);
  margin: 6px 0 6px;
}

.seminar3-page .seminar3-title-accent{
  color: var(--text-main);
}

.seminar3-page .seminar3-subline{
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

.seminar3-page .seminar3-lead{
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.seminar3-page .seminar3-hero-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.seminar3-page .seminar3-btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 44px rgba(15,23,42,0.18);
}

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

/* Card mare */
.seminar3-page .s3-article{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
}

.seminar3-page .s3-section + .s3-section{
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(226,232,240,0.9);
}

.seminar3-page .s3-article h2{
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0 0 10px;
}

.seminar3-page .s3-article p,
.seminar3-page .s3-article li{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.seminar3-page .s3-list{
  margin: 10px 0 0 18px;
}

.seminar3-page .s3-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.seminar3-page .s3-col{
  min-width: 0;
}

.seminar3-page .s3-contact a{
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(123,92,41,0.45);
}

.seminar3-page .s3-contact a:hover{
  border-bottom-style: solid;
}

/* Poster final */
.seminar3-page .seminar3-poster-wrap{
  max-width: 980px;
  margin: 18px auto 0;
}

.seminar3-page .seminar3-poster{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.12);
}

/* Responsive */
@media (max-width: 980px){
  .seminar3-page .s3-grid{
    grid-template-columns: 1fr;
  }
  .seminar3-page .s3-article{
    padding: 22px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 520px){
  .seminar3-page .seminar3-hero{
    padding-top: 92px;
  }
  .seminar3-page .s3-article{
    padding: 18px 16px;
  }
  .seminar3-page .seminar3-title{
    font-size: clamp(26px, 7.2vw, 34px);
  }
}
/* SEMINAR3 – posterul să NU fie uriaș pe desktop */
.seminar3-page .seminar3-poster-wrap{
  max-width: 980px;
  margin: 18px auto 0;
}

/* cadru cu înălțime limitată */
.seminar3-page .seminar3-poster{
  width: 100%;
  height: min(72vh, 680px);   /* limitează înălțimea */
  object-fit: contain;        /* nu taie, îl micșorează */
  background: #fff;           /* arată curat dacă rămâne spațiu */
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.12);
  display: block;
}

/* pe telefon îl lași mai “normal” (mai mare, scroll ok) */
@media (max-width: 520px){
  .seminar3-page .seminar3-poster{
    height: auto;
    object-fit: initial;
  }
}
/* SEMINAR3 – poster FULL-BLEED: umple cadrul, fără goluri albe (taie din imagine) */
.seminar3-page .seminar3-poster-wrap{
  max-width: 980px;
  margin: 18px auto 0;
}

.seminar3-page .seminar3-poster{
  width: 100%;
  height: min(72vh, 760px);   /* poți crește/scădea */
  object-fit: cover;          /* umple tot => fără alb */
  object-position: top;       /* păstrează partea de sus (titlul) */
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.12);
  display: block;
}

/* pe ecrane mai înguste: un pic mai înalt ca să se vadă mai mult */
@media (max-width: 980px){
  .seminar3-page .seminar3-poster{
    height: min(78vh, 820px);
  }
}
/* SEMINAR3 – overlay "Vezi imaginea" pe poster */
.seminar3-page .seminar3-poster-wrap .gallery-item{
  position: relative;
  overflow: hidden;          /* ca overlay-ul să respecte colțurile */
  border-radius: 18px;
  cursor: zoom-in;
}

.seminar3-page .seminar3-poster-wrap .gallery-item::after{
  content: "Vezi imaginea";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(15,23,42,0.45);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;      /* click-ul rămâne pe imagine */
}

.seminar3-page .seminar3-poster-wrap .gallery-item:hover::after{
  opacity: 1;
  transform: translateY(0);
}

/* mobil: să se vadă la primul tap/focus */
.seminar3-page .seminar3-poster-wrap .gallery-item:active::after,
.seminar3-page .seminar3-poster-wrap .gallery-item:focus-within::after{
  opacity: 1;
  transform: translateY(0);
}

/* SEMINAR3 – toate cele 3 acțiuni ca butoane */
.seminar3-page .seminar3-hero-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  border: 1px solid rgba(226,232,240,0.95);
  background: #ffffff;
  color: var(--text-main);

  box-shadow: 0 10px 28px rgba(15,23,42,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.seminar3-page .seminar3-hero-actions .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.14);
}

/* Primul rămâne “primary” */
.seminar3-page .seminar3-hero-actions .btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(123,92,41,0.25);
  color: #fff;
  box-shadow: 0 16px 44px rgba(15,23,42,0.18);
}

.seminar3-page .seminar3-hero-actions .btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(15,23,42,0.22);
}
/* =========================================================
   SEMINAR 4 – Timotheus (minimalist, scoped pe .seminar4-page)
   ========================================================= */

.seminar4-page .seminar4-hero{
  padding-top: 110px;
  padding-bottom: 18px;
}

.seminar4-page .seminar4-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.seminar4-page .seminar4-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.06;
  color: var(--text-main);
  margin: 6px 0 8px;
}

.seminar4-page .seminar4-subtitle{
  display: block;
  font-size: 0.58em;
  color: var(--text-muted);
  margin-top: 6px;
}

.seminar4-page .seminar4-lead{
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
}

.seminar4-page .seminar4-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* forțăm ca toate să arate ca butoane */
.seminar4-page .seminar4-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(226,232,240,0.95);
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 10px 28px rgba(15,23,42,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.seminar4-page .seminar4-actions .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.14);
}

.seminar4-page .seminar4-actions .btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(123,92,41,0.25);
  color: #fff;
  box-shadow: 0 16px 44px rgba(15,23,42,0.18);
}

/* Card mare unic */
.seminar4-page .s4-article{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
}

.seminar4-page .s4-section + .s4-section{
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(226,232,240,0.9);
}

.seminar4-page .s4-article h2{
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0 0 10px;
}

.seminar4-page .s4-article h3{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-main);
  margin: 14px 0 8px;
}

.seminar4-page .s4-article p,
.seminar4-page .s4-article li{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.seminar4-page .s4-list{
  margin: 10px 0 0 18px;
  padding: 0;
}

.seminar4-page .s4-note{
  margin-top: 12px;
  font-size: 13px;
  color: #94a3b8;
}

/* două coloane în interior, dar tot în același card */
.seminar4-page .s4-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.seminar4-page .s4-col{
  min-width: 0;
}

/* liste pe coloane (curricula/profesori) */
.seminar4-page .s4-columns{
  column-count: 2;
  column-gap: 28px;
}

.seminar4-page .s4-columns li{
  break-inside: avoid;
  margin: 0 0 8px;
}

/* conturi */
.seminar4-page .s4-ibans{
  margin-top: 10px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,0.9);
  background: rgba(243,246,251,0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--text-main);
  display: grid;
  gap: 8px;
}

/* linkuri în contact */
.seminar4-page .s4-contact a,
.seminar4-page #locatie a{
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(123,92,41,0.45);
}

.seminar4-page .s4-contact a:hover,
.seminar4-page #locatie a:hover{
  border-bottom-style: solid;
}

/* buton PDF */
.seminar4-page .s4-pdf{
  margin-top: 14px;
}

.seminar4-page .s4-pdf-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px){
  .seminar4-page .s4-grid{ grid-template-columns: 1fr; }
  .seminar4-page .s4-columns{ column-count: 1; }
  .seminar4-page .s4-article{
    padding: 22px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 520px){
  .seminar4-page .seminar4-hero{ padding-top: 92px; }
  .seminar4-page .s4-article{ padding: 18px 16px; }
  .seminar4-page .seminar4-title{ font-size: clamp(26px, 7.2vw, 34px); }
}

/* =========================================================
   SEMINARII – FIX: 3 sus + 2 jos (CENTRAT) pentru 5 carduri
   IMPORTANT: grid item = .seminar-card-link (a), nu .seminar-card
   ========================================================= */

#seminarii .seminars-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

/* toate linkurile (cardurile) ocupă 4/12 => 3 pe rând */
#seminarii .seminars-grid > .seminar-card-link{
  grid-column: span 4;
}

/* card 4 și 5: pe rândul 2, centrate */
#seminarii .seminars-grid > .seminar-card-link:nth-child(4){
  grid-column: 3 / span 4;
}
#seminarii .seminars-grid > .seminar-card-link:nth-child(5){
  grid-column: 7 / span 4;
}

/* Tablet: 2 pe rând */
@media (max-width: 980px){
  #seminarii .seminars-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  #seminarii .seminars-grid > .seminar-card-link{
    grid-column: auto;
  }
  #seminarii .seminars-grid > .seminar-card-link:nth-child(4),
  #seminarii .seminars-grid > .seminar-card-link:nth-child(5){
    grid-column: auto;
  }
}

/* Telefon: 1 pe rând */
@media (max-width: 520px){
  #seminarii .seminars-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
/* =========================================================
   SEMINAR 5 – Seminarul Teologic Penticostal Arad
   (minimalist, scoped pe .seminar5-page)
   ========================================================= */

.seminar5-page .seminar5-hero{
  padding-top: 110px;
  padding-bottom: 18px;
}

.seminar5-page .seminar5-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.seminar5-page .seminar5-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.06;
  color: var(--text-main);
  margin: 6px 0 8px;
}

.seminar5-page .seminar5-subtitle{
  display: block;
  font-size: 0.58em;
  color: var(--text-muted);
  margin-top: 6px;
}

.seminar5-page .seminar5-lead{
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
}

.seminar5-page .seminar5-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* butoane */
.seminar5-page .seminar5-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(226,232,240,0.95);
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 10px 28px rgba(15,23,42,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.seminar5-page .seminar5-actions .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.14);
}

.seminar5-page .seminar5-actions .btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(123,92,41,0.25);
  color: #fff;
  box-shadow: 0 16px 44px rgba(15,23,42,0.18);
}

/* card mare unic */
.seminar5-page .s5-article{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
}

.seminar5-page .s5-section + .s5-section{
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(226,232,240,0.9);
}

.seminar5-page .s5-article h2{
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0 0 10px;
}

.seminar5-page .s5-article h3{
  font-family: "Playfair Display", serif;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-main);
  margin: 14px 0 8px;
}

.seminar5-page .s5-article p,
.seminar5-page .s5-article li{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.seminar5-page .s5-list{
  margin: 10px 0 0 18px;
  padding: 0;
}

/* linkuri */
.seminar5-page .s5-article a{
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(123,92,41,0.45);
}

.seminar5-page .s5-article a:hover{
  border-bottom-style: solid;
}

/* Responsive */
@media (max-width: 980px){
  .seminar5-page .s5-article{
    padding: 22px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 520px){
  .seminar5-page .seminar5-hero{
    padding-top: 92px;
  }

  .seminar5-page .seminar5-title{
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .seminar5-page .s5-article{
    padding: 18px 16px;
  }
}
/* afiș seminar */
.seminar5-page .s5-afis{
  margin-top: 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 14px 36px rgba(15,23,42,0.10);
}

.seminar5-page .s5-afis img{
  width: 100%;
  height: auto;
  display: block;
}
