/* 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-notices-page {
            background: #f5f7f7;
        }

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

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

        body.hernad-notices-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-notices-page .entry-title::after {
            content: "";
            display: block;
            width: 86px;
            height: 4px;
            margin: 18px auto 0;
            border-radius: 999px;
            background: #3275a4;
        }

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

        .hernad-notices-shell {
            margin-top: 34px;
        }

        .hernad-notices-intro-card,
        .hernad-notices-info-card {
            background:
                linear-gradient(135deg, rgba(47, 125, 85, 0.08), rgba(255,255,255,0) 38%),
                #ffffff;
            border: 1px solid rgba(47, 125, 85, 0.22);
            border-radius: 22px;
            box-shadow: 0 14px 36px rgba(15, 23, 42, 0.065);
            padding: clamp(22px, 2.8vw, 32px);
        }

        .hernad-notices-intro-card {
            max-width: 880px;
            margin: 0 auto 24px;
            text-align: center;
        }

        .hernad-notices-intro-card p {
            margin: 0;
            color: #475569;
            font-size: 18px;
            line-height: 1.65;
        }

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

        .hernad-notice-card {
            min-height: 176px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
            padding: 24px;
            background: #ffffff;
            border: 1px solid #e4e7ea;
            border-radius: 22px;
            box-shadow: 0 14px 36px rgba(15, 23, 42, 0.065);
            color: #1a2329;
            text-decoration: none !important;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
        }

        .hernad-notice-card:hover {
            transform: translateY(-3px);
            border-color: rgba(47, 125, 85, 0.38);
            box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
            background:
                linear-gradient(135deg, rgba(47, 125, 85, 0.06), rgba(255,255,255,0) 46%),
                #ffffff;
            color: #1a2329;
        }

        .hernad-notice-icon {
            width: 54px;
            height: 54px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            background: #f1f6f9;
            border: 1px solid #d7e2eb;
            font-size: 25px;
            line-height: 1;
        }

        .hernad-notice-title {
            display: block;
            color: #1a2329;
            font-size: 17px;
            font-weight: 800;
            line-height: 1.32;
            letter-spacing: -0.01em;
        }

        .hernad-notice-meta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 7px 14px;
            border-radius: 999px;
            background: #3275a4;
            color: #ffffff;
            font-size: 13px;
            font-weight: 800;
            box-shadow: 0 8px 18px rgba(47, 125, 85, 0.20);
        }

        .hernad-notice-card:hover .hernad-notice-meta {
            background: #245e88;
        }

        .hernad-notices-info-card {
            margin-top: 26px;
            background: #ffffff;
            border-color: #e4e7ea;
        }

        .hernad-notices-info-card h2 {
            color: #1a2329;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.22;
            font-size: clamp(1.45rem, 2.2vw, 1.95rem);
            margin: 0 0 20px;
            padding-bottom: 13px;
            position: relative;
        }

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

        .hernad-notices-info-card p {
            margin: 0 0 13px;
            color: #475569;
            line-height: 1.7;
        }

        .hernad-notices-info-card > *:last-child {
            margin-bottom: 0 !important;
        }

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

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

            .hernad-notices-shell {
                margin-top: 26px;
            }

            .hernad-notices-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .hernad-notices-intro-card,
            .hernad-notices-info-card,
            .hernad-notice-card {
                border-radius: 18px;
            }

            .hernad-notice-card {
                min-height: 156px;
                padding: 22px 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;
}