/* ==========================================================
   SZJA 1% – civileknek | Frontend landing stílus
   ========================================================== */

/* ---- Wrapper ---- */
.szja1-wrap {
    max-width: 680px;
    margin: 0 auto;
    color: #1a1a1a;
}

/* Ha a plugin saját stílusát használja, alkalmazzuk a betűtípust */
.szja1-wrap--sajat-stilus {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

/* Sablon stílusnál semmi – mindent örököl a témától */
.szja1-wrap--sablon-stilus {
    /* betűméret, font, line-height a témától jön */
}

/* ---- Alap kártyastílus ---- */
.szja1-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.szja1-card-inner {
    padding: 1.25rem;
}

/* ---- Section label ---- */
.szja1-section-label {
    font-size: .7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin: 0 0 .5rem;
}

/* ---- HERO: banner ---- */
.szja1-banner {
    width: 100%;
    line-height: 0;
    display: block;
}

.szja1-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.szja1-banner--placeholder {
    display: none;
}

/* ---- HERO: szervezet adatok ---- */
.szja1-card--hero {
    background: #f7f7f7;
}

.szja1-org-name {
    font-weight: 700;
    margin: 0 0 .75rem;
    line-height: 1.3;
    /* szín inline style-ból jön */
}

.szja1-wrap--sajat-stilus .szja1-org-name {
    font-size: 1.35rem;
}

/* Középre igazított card-inner */
.szja1-card-inner--center {
    text-align: center;
}

/* Adószám – nagy, badge jellegű, "Adószám" felirattal */
.szja1-adoszam-kiemel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: .5rem 0 .625rem;
}

.szja1-adoszam-kiemel__label {
    font-size: .7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
}

.szja1-adoszam-kiemel__val {
    display: inline-block;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    /* háttér, szín és keret inline style-ból jön */
}

.szja1-wrap--sajat-stilus .szja1-adoszam-kiemel__val {
    font-size: 1.6rem;
}

/* Határidő – egyszerű sor, badge nélkül */
.szja1-hatarido-sor {
    margin: .25rem 0 0;
    line-height: 1.5;
    color: #666;
}

.szja1-wrap--sajat-stilus .szja1-hatarido-sor {
    font-size: 14px;
}

.szja1-hatarido-sor__label {
    color: #888;
}

.szja1-hatarido-sor__val {
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 4px;
}

/* Banner – külön kártya, nincs padding */
.szja1-card--banner {
    padding: 0;
    overflow: hidden;
}

/* ---- VÁLASZTÓ kártya – halvány átmenetes háttér ---- */
.szja1-card--valaszto {
    background: linear-gradient(135deg, #e8f7f2 0%, #f0fbf7 50%, #e4f5ef 100%);
    border-color: #c5e8da;
}

.szja1-valaszto-cim {
    font-weight: 600;
    color: #0F5E47;
    margin: 0 0 1rem;
    line-height: 1.4;
    text-align: center;
}

.szja1-wrap--sajat-stilus .szja1-valaszto-cim {
    font-size: 1.1rem;
}

.szja1-valaszto-gombok {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.szja1-valaszto-gomb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s ease, transform .1s ease;
    cursor: pointer;
}

.szja1-wrap--sajat-stilus .szja1-valaszto-gomb {
    font-size: 14px;
}

.szja1-valaszto-gomb:hover {
    opacity: .88;
    transform: translateY(-1px);
    text-decoration: none;
}

.szja1-valaszto-gomb--papir {
    background: #fff;
    color: #0F6E56;
    border: 2px solid #1D9E75;
    transition: color .15s ease, border-color .15s ease, transform .1s ease;
}

.szja1-valaszto-gomb--papir:hover {
    background: #fff;
    text-decoration: none;
}

.szja1-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Szekció fejléc (online / papír) ---- */
.szja1-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: .9rem 1.25rem .7rem;
    border-bottom: 1px solid #f0f0f0;
}

.szja1-section-head__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
}

.szja1-section-head__icon svg {
    width: 20px;
    height: 20px;
}

.szja1-section-head__icon--online {
    background: #E1F5EE;
    color: #1D9E75;
}

.szja1-section-head__icon--papir {
    background: #E1F5EE;
    color: #1D9E75;
}

.szja1-section-head--online {
    border-left: 3px solid #1D9E75;
}

.szja1-section-head--papir {
    border-left: 3px solid #1D9E75;
}

.szja1-section-head__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.szja1-section-head__title {
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px !important;
    line-height: 1.2;
}

.szja1-wrap--sajat-stilus .szja1-section-head__title {
    font-size: 1.2rem;
}

.szja1-section-head__sub {
    color: #888;
    margin: 0;
    line-height: 1.4;
}

.szja1-wrap--sajat-stilus .szja1-section-head__sub {
    font-size: .85em;
}

/* ---- Editor tartalom (WP editor HTML) ---- */
.szja1-editor-content {
    color: #333;
}

.szja1-wrap--sajat-stilus .szja1-editor-content {
    font-size: 15px;
    line-height: 1.7;
}

.szja1-editor-content h1,
.szja1-editor-content h2,
.szja1-editor-content h3,
.szja1-editor-content h4 {
    margin: 1rem 0 .4rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.szja1-wrap--sajat-stilus .szja1-editor-content h3 { font-size: 1rem; }
.szja1-wrap--sajat-stilus .szja1-editor-content h4 { font-size: .93rem; }

.szja1-editor-content p {
    margin: 0 0 .75rem;
}

.szja1-editor-content p:last-child {
    margin-bottom: 0;
}

.szja1-editor-content ol,
.szja1-editor-content ul {
    padding-left: 1.4em;
    margin: 0 0 .75rem;
}

.szja1-editor-content li {
    margin-bottom: .35rem;
}

.szja1-editor-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.szja1-editor-content a {
    color: #1D9E75;
    text-decoration: underline;
}

.szja1-editor-content ol li::marker {
    color: #1D9E75;
    font-weight: 600;
}

/* GYIK: h3 + p elválasztók */
.szja1-editor-content--gyik h3 {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-weight: 600;
    color: #1a1a1a;
}

.szja1-editor-content--gyik h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Mire használjuk: li-k zöld pont */
.szja1-editor-content--mire ul {
    list-style: none;
    padding-left: 0;
}

.szja1-editor-content--mire ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: .3rem 0;
}

.szja1-editor-content--mire ul li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1D9E75;
    flex-shrink: 0;
    margin-top: .45em;
}

/* ---- CTA gomb sor ---- */
.szja1-cta-row {
    margin-top: 1rem;
}

.szja1-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity .15s ease, transform .1s ease;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.szja1-wrap--sajat-stilus .szja1-cta-btn {
    font-size: 14px;
}

.szja1-cta-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ---- [SZJA_GOMB] shortcode gomb ---- */
.szja1-gomb {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity .15s ease, transform .1s ease;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.szja1-wrap--sajat-stilus .szja1-gomb {
    font-size: 14px;
}

.szja1-gomb:hover {
    opacity: .88;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ---- Videó ---- */
.szja1-video-wrap {
    margin-top: 1rem;
}

.szja1-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.szja1-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- Szerkesztőknek szóló figyelmeztetés ---- */
.szja1-setup-notice {
    color: #d63638;
    font-style: italic;
    padding: 12px;
    border: 1px dashed #d63638;
    border-radius: 6px;
}

/* ---- Reszponzív ---- */
@media ( max-width: 480px ) {
    .szja1-valaszto-gombok {
        flex-direction: column;
    }

    .szja1-valaszto-gomb {
        width: 100%;
        justify-content: center;
    }

    .szja1-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .szja1-section-head {
        padding: .875rem 1rem .75rem;
    }

    .szja1-card-inner {
        padding: 1rem;
    }
}
