/* Széchenyi logos — split to bottom-left (SzTP) and bottom-right (S2020) corners */

        .hernad-szechenyi-logo-left,
        .hernad-szechenyi-logo-right {
            position: fixed !important;
            bottom: 0 !important;
            z-index: 99990 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 10px 14px 12px !important;
            background: rgba(248, 250, 252, 0.97) !important;
            box-shadow: 0 -2px 18px rgba(15,23,42,.14) !important;
            backdrop-filter: blur(10px) !important;
            transition: opacity .18s ease, box-shadow .18s ease !important;
            text-decoration: none !important;
            margin: 0 !important;
        }

        .hernad-szechenyi-logo-left {
            left: 0 !important;
            border-top: 1px solid rgba(15,23,42,.10) !important;
            border-right: 1px solid rgba(15,23,42,.10) !important;
            border-radius: 0 16px 0 0 !important;
        }

        .hernad-szechenyi-logo-right {
            right: 0 !important;
            border-top: 1px solid rgba(15,23,42,.10) !important;
            border-left: 1px solid rgba(15,23,42,.10) !important;
            border-radius: 16px 0 0 0 !important;
        }

        .hernad-szechenyi-logo-left:hover,
        .hernad-szechenyi-logo-right:hover {
            opacity: .8 !important;
            box-shadow: 0 -4px 28px rgba(15,23,42,.22) !important;
        }

        /* SzTP: wide (4.7:1) — fix width, height scales */
        .hernad-szechenyi-logo-left img {
            width: 340px !important;
            height: auto !important;
            display: block !important;
        }

        /* S2020 badge: near-square (1.43:1) — fix height */
        .hernad-szechenyi-logo-right img {
            height: 160px !important;
            width: auto !important;
            display: block !important;
        }

        @media (max-width: 900px) {
            .hernad-szechenyi-logo-left img  { width: 260px !important; }
            .hernad-szechenyi-logo-right img { height: 120px !important; }
        }

        @media (max-width: 560px) {
            .hernad-szechenyi-logo-left,
            .hernad-szechenyi-logo-right { padding: 8px 10px 10px !important; }
            .hernad-szechenyi-logo-left img  { width: 180px !important; }
            .hernad-szechenyi-logo-right img { height: 80px !important; }
        }
        .hernad-sztp-footer {
            background: #f6f7f9;
            border-top: 1px solid rgba(15,23,42,.08);
            border-bottom: 1px solid rgba(15,23,42,.08);
            padding: 34px 16px;
            margin-top: 36px;
        }

        .hernad-sztp-footer-inner {
            max-width: 1180px;
            margin: 0 auto;
        }

        .hernad-sztp-footer-head {
            text-align: center;
            margin-bottom: 22px;
        }

        .hernad-sztp-footer-head p {
            margin: 0 0 6px;
            color: #326487;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .hernad-sztp-footer-head h2 {
            margin: 0;
            color: #14213d;
            font-size: clamp(24px, 3vw, 34px);
            font-weight: 850;
        }

        .hernad-sztp-footer-head h2:after {
            content: "";
            display: block;
            width: 64px;
            height: 4px;
            background: #326487;
            border-radius: 999px;
            margin: 12px auto 0;
        }

        .hernad-sztp-footer-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        .hernad-sztp-footer-card {
            display: flex;
            flex-direction: column;
            min-height: 290px;
            padding: 16px;
            background: #fff;
            border: 1px solid rgba(15,23,42,.1);
            border-radius: 18px;
            box-shadow: 0 10px 24px rgba(15,23,42,.07);
            color: #1f2937;
            text-decoration: none;
            transition: .18s ease;
        }

        .hernad-sztp-footer-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 34px rgba(15,23,42,.12);
            border-color: rgba(47,107,63,.35);
            text-decoration: none;
        }

        .hernad-sztp-footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 82px;
            margin-bottom: 14px;
            padding: 10px;
            background: #f8fafc;
            border: 1px solid rgba(15,23,42,.07);
            border-radius: 14px;
        }

        .hernad-sztp-footer-logo img {
            max-width: 100%;
            max-height: 62px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .hernad-sztp-footer-eu {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 14px;
            background: #edf2f5;
            color: #326487;
            font-weight: 900;
        }

        .hernad-sztp-footer-title {
            color: #14213d;
            font-size: 15.5px;
            font-weight: 850;
            line-height: 1.25;
            margin-bottom: 8px;
        }

        .hernad-sztp-footer-code {
            color: #326487;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.35;
            margin-bottom: 10px;
            word-break: break-word;
        }

        .hernad-sztp-footer-text {
            color: #475569;
            font-size: 13px;
            line-height: 1.45;
            margin-bottom: 14px;
        }

        .hernad-sztp-footer-more {
            margin-top: auto;
            color: #326487;
            font-size: 13px;
            font-weight: 850;
        }

        @media (max-width: 1024px) {
            .hernad-sztp-footer-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 640px) {
            .hernad-sztp-footer-grid {
                grid-template-columns: 1fr;
            }

            .hernad-sztp-footer-card {
                min-height: 0;
            }
        }
    

        body.hernad-gp-page {
            background: #f5f7f7;
        }

        body.hernad-gp-page .site-main,
        body.hernad-gp-page .content-bg,
        body.hernad-gp-page .entry,
        body.hernad-gp-page .entry-content-wrap {
            background: transparent !important;
        }

        body.hernad-gp-page .entry-content-wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 34px 18px 72px;
        }

        body.hernad-gp-page .entry-title {
            text-align: center;
            color: #1a2329;
            font-weight: 800;
            letter-spacing: -0.035em;
            font-size: clamp(2.15rem, 4vw, 3.65rem);
            line-height: 1.08;
            margin: 22px auto 16px;
            position: relative;
        }

        body.hernad-gp-page .entry-title::after {
            content: "";
            display: block;
            width: 86px;
            height: 4px;
            margin: 18px auto 0;
            border-radius: 999px;
            background: #3275a4;
        }

        body.hernad-gp-page .entry-content {
            max-width: 1120px;
            margin: 34px auto 0;
            color: #334155;
            font-size: 17px;
            line-height: 1.65;
        }

        .hernad-gp-shell {
            display: grid;
            gap: 24px;
        }

        .hernad-gp-hero-card,
        .hernad-gp-praxis-card,
        .hernad-gp-hours-card,
        .hernad-gp-alert-card,
        .hernad-gp-download-card {
            background: #ffffff;
            border: 1px solid #e4e7ea;
            border-radius: 22px;
            box-shadow: 0 14px 36px rgba(15, 23, 42, 0.065);
            overflow: hidden;
        }

        .hernad-gp-hero-card {
            padding: clamp(24px, 3vw, 38px);
            text-align: center;
            background:
                linear-gradient(135deg, rgba(47, 125, 85, 0.08), rgba(255,255,255,0) 38%),
                #ffffff;
            border-color: rgba(47, 125, 85, 0.22);
        }

        .hernad-gp-image-wrap img {
            display: block;
            max-width: min(100%, 720px);
            height: auto;
            margin: 0 auto 24px;
            border-radius: 18px;
            border: 1px solid #e4e7ea;
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
        }

        .hernad-gp-address {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 44px;
            padding: 10px 18px;
            border-radius: 999px;
            background: #f1f6f9;
            border: 1px solid #d7e2eb;
            color: #1a2329;
            font-weight: 800;
        }

        .hernad-gp-address-icon {
            width: 26px;
            height: 26px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #ffffff;
        }

        .hernad-gp-lead {
            max-width: 720px;
            margin: 18px auto 0;
            color: #475569;
            font-size: 18px;
            line-height: 1.65;
        }

        .hernad-gp-praxis-grid,
        .hernad-gp-hours-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }

        .hernad-gp-praxis-card,
        .hernad-gp-hours-card,
        .hernad-gp-download-card {
            padding: clamp(22px, 2.8vw, 32px);
        }

        .hernad-gp-card-label,
        .hernad-gp-week-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 32px;
            padding: 6px 13px;
            border-radius: 999px;
            background: #f1f6f9;
            border: 1px solid #d7e2eb;
            color: #245e88;
            font-size: 13px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .hernad-gp-praxis-card h2,
        .hernad-gp-hours-card h2,
        .hernad-gp-download-card h2 {
            color: #1a2329;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.22;
            margin: 0 0 12px;
            padding-bottom: 13px;
            position: relative;
            font-size: clamp(1.35rem, 2vw, 1.8rem);
        }

        .hernad-gp-praxis-card h2::after,
        .hernad-gp-hours-card h2::after,
        .hernad-gp-download-card h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 58px;
            height: 3px;
            border-radius: 999px;
            background: #3275a4;
        }

        .hernad-gp-role {
            margin: 0 0 18px;
            color: #63738a;
            font-weight: 600;
            line-height: 1.55;
        }

        .hernad-gp-info-box {
            display: grid;
            gap: 4px;
            padding: 15px 16px;
            margin: 18px 0;
            border-radius: 16px;
            border: 1px solid #e5e7eb;
            background: #f8f9fa;
        }

        .hernad-gp-info-box strong {
            color: #1a2329;
            font-weight: 800;
        }

        .hernad-gp-phone,
        .hernad-gp-pdf-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 10px 18px;
            border-radius: 999px;
            background: #3275a4;
            color: #ffffff !important;
            font-weight: 800;
            text-decoration: none !important;
            box-shadow: 0 8px 18px rgba(47, 125, 85, 0.22);
            transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
        }

        .hernad-gp-phone::before {
            content: "☎";
            margin-right: 8px;
        }

        .hernad-gp-pdf-button::before {
            content: "📄";
            margin-right: 8px;
        }

        .hernad-gp-phone:hover,
        .hernad-gp-pdf-button:hover {
            background: #245e88;
            transform: translateY(-1px);
            box-shadow: 0 12px 24px rgba(47, 125, 85, 0.28);
        }

        .hernad-gp-note {
            margin-top: 16px;
            color: #475569;
            font-weight: 700;
        }

        .hernad-gp-hours-card ul {
            list-style: none;
            display: grid;
            gap: 10px;
            margin: 18px 0 0;
            padding: 0;
        }

        .hernad-gp-hours-card li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 13px 15px;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            background: #f8f9fa;
        }

        .hernad-gp-hours-card li span {
            color: #475569;
            font-weight: 700;
        }

        .hernad-gp-hours-card li strong {
            color: #1a2329;
            font-weight: 900;
            white-space: nowrap;
        }

        .hernad-gp-alert-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 22px 26px;
            background: #f1f6f9;
            border-color: #d7e2eb;
        }

        .hernad-gp-alert-icon {
            width: 42px;
            height: 42px;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: #ffffff;
        }

        .hernad-gp-alert-card p {
            margin: 0;
            color: #1a2329;
            font-weight: 800;
            line-height: 1.5;
        }

        .hernad-gp-download-card {
            text-align: left;
        }

        @media (max-width: 860px) {
            .hernad-gp-praxis-grid,
            .hernad-gp-hours-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 560px) {
            body.hernad-gp-page .entry-content-wrap {
                padding-left: 14px;
                padding-right: 14px;
            }

            body.hernad-gp-page .entry-content {
                margin-top: 26px;
            }

            .hernad-gp-hero-card,
            .hernad-gp-praxis-card,
            .hernad-gp-hours-card,
            .hernad-gp-alert-card,
            .hernad-gp-download-card {
                border-radius: 18px;
            }

            .hernad-gp-hours-card li {
                align-items: flex-start;
                flex-direction: column;
                gap: 4px;
            }

            .hernad-gp-alert-card {
                align-items: flex-start;
                padding: 20px 18px;
            }
        }
    

/*
 * Alapértelmezett értékek a két tényleges fejlécmagassághoz (mérve):
 * >=1025px: 131px (logósor + menüsor) — 1024px alatt a menü hamburgerré válik: 82px.
 * A pontos értéket a lenti szkript írja felül (--hernad-header-h), mert a menü
 * bizonyos szélességeknél két sorba tördelődik (1025px-en pl. 179px a fejléc).
 */
body.transparent-header:not(.home) main.wrap {
	padding-top: var(--hernad-header-h, 131px);
}

@media (max-width: 1024px) {
	body.transparent-header:not(.home) main.wrap {
		padding-top: var(--hernad-header-h, 82px);
	}
}

/*
 * A Kadence ugyanezt a helyet a heróban is fenntartaná — mivel most a burkoló
 * adja, itt kivesszük, különben kétszeres lenne a térköz azokon az oldalakon,
 * ahol a hero látszik (pl. /impresszum/).
 */
body.transparent-header:not(.home) .entry-hero .entry-hero-container-inner {
	padding-top: 0 !important;
}