/*
Theme Name: HolidayPark UpToDate - Erlebniswelt
Theme URI: https://holidaypark-uptodate.de/
Author: HolidayPark UpToDate
Description: Original playful responsive WordPress theme for family attractions. Editable home, posts and pages via Theme Options.
Version: 2.4.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hpud
*/
:root{--mint:#e9f8e5;--grass:#5cb85b;--forest:#235744;--sky:#dff4ff;--sun:#ffd86d;--coral:#ff8274;--ink:#263d37;--paper:#fffef9;--radius:24px;--wide:1180px}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,var(--sky) 0,#f7fcf2 440px,#f8fbf5 100%);font:16px/1.75 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink)}a{color:#176d61}a:hover{color:#d15d43}img{max-width:100%;height:auto}button,input,select{font:inherit}button{cursor:pointer}.wrap{width:min(var(--wide),calc(100% - 36px));margin:auto}.site-header{position:relative;background:var(--sky);padding:22px 0 0}.site-header:after{content:'';display:block;height:32px;background:linear-gradient(135deg,transparent 50%,#75c85f 51%) 0 0/44px 32px repeat-x}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--forest)}.brand-icon{font-size:43px}.brand strong{display:block;font-size:clamp(23px,3vw,35px);line-height:1.2;font-weight:850}.brand small{display:block;font-size:13px}.brand img{max-height:78px;width:auto}.header-actions{display:flex;gap:12px;align-items:center}.search-form{display:flex;align-items:center;background:white;border:2px solid #c8e7d1;border-radius:999px;padding:3px 5px 3px 15px}.search-form input{border:0;outline:0;width:190px;max-width:42vw;background:transparent}.search-form button,.btn{border:0;border-radius:999px;background:var(--forest);color:white;padding:9px 17px;font-weight:750;text-decoration:none;display:inline-block}.btn:hover,.search-form button:hover{background:#e26e54;color:white}.nav-area{background:#75c85f;border-bottom:5px solid #4aa550}.nav-inner{display:flex;justify-content:space-between;align-items:center;gap:14px}.nav-menu{display:flex;gap:3px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.nav-menu li{position:relative}.nav-menu a{display:block;padding:12px 15px;color:#173e2c;font-weight:800;text-decoration:none;border-radius:12px}.nav-menu a:hover,.nav-menu .current-menu-item>a{background:#fff8db}.nav-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:white;box-shadow:0 12px 30px #1b52302a;border-radius:12px;list-style:none;padding:8px;min-width:200px;z-index:20}.nav-menu li:hover>.sub-menu,.nav-menu li:focus-within>.sub-menu{display:block}.nav-toggle{display:none;border:0;background:#fff;padding:9px 14px;border-radius:12px}.hero{position:relative;background:linear-gradient(145deg,#b7e8fc,#eff9e9);padding:46px 0 75px;overflow:hidden}.hero:after{content:'';position:absolute;bottom:0;left:0;right:0;height:38px;background:radial-gradient(circle at 25px 40px,#75c85f 35px,transparent 36px) 0 0/70px 45px repeat-x}.hero-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:38px}.eyebrow{display:inline-block;background:#fff4c8;color:#846018;padding:5px 13px;border-radius:99px;font-size:13px;font-weight:800;letter-spacing:.04em}.hero h1{font-size:clamp(35px,5vw,66px);line-height:1.1;color:var(--forest);margin:16px 0}.hero p{font-size:19px;max-width:650px}.hero-photo{min-height:340px;border:10px solid white;border-radius:32px;box-shadow:0 18px 40px #1d59342b;background:linear-gradient(145deg,#a4dfb0,#f9d782);overflow:hidden;display:grid;place-items:center;font-size:100px;transform:rotate(2deg)}.hero-photo img{width:100%;height:100%;object-fit:cover;min-height:340px}.section{padding:52px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.section h2,.section-title{font-size:clamp(27px,3.2vw,38px);line-height:1.2;color:var(--forest);margin:0}.section-sub{margin:7px 0 0;color:#557266}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:var(--paper);border:1px solid #dcecd9;border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 20px #24573d12;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 15px 32px #24573d24}.card-media{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#d1f0e5,#fff0ba);overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card:hover .card-media img{transform:scale(1.04)}.card-body{padding:19px 21px 22px}.card-tag{font-size:12px;font-weight:850;color:#bd6349;text-transform:uppercase;letter-spacing:.05em}.card h3{font-size:21px;line-height:1.3;margin:8px 0}.card h3 a{text-decoration:none;color:var(--forest)}.card p{font-size:14px;color:#567268;margin:0 0 12px}.card-more{font-size:14px;font-weight:800;text-decoration:none}.feature-panel{background:#fff;border:2px solid #d9edd6;border-radius:28px;padding:27px;box-shadow:0 12px 25px #28543b10}.pills{display:flex;flex-wrap:wrap;gap:11px}.pill{display:inline-flex;align-items:center;gap:7px;padding:11px 17px;border-radius:999px;background:#fff;color:#245e43;border:2px solid #c9e9d3;text-decoration:none;font-weight:800}.pill:hover{background:#fff3cb}.home-carousel{position:relative}.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;scrollbar-width:thin;padding:6px 3px 20px}.carousel-track>.card{flex:0 0 min(345px,85vw);scroll-snap-align:start}.carousel-buttons{display:flex;gap:8px}.carousel-buttons button{background:white;border:2px solid #b8ddc1;border-radius:50%;width:42px;height:42px;font-size:20px}.content-shell{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;align-items:start;margin:42px auto 65px}.content-shell.no-sidebar{grid-template-columns:minmax(0,1fr);max-width:950px}.article-paper{background:#fffefb;border:1px solid #dfebd8;border-radius:28px;padding:clamp(22px,4vw,48px);box-shadow:0 12px 28px #22533812;min-width:0}.breadcrumbs{font-size:13px;color:#678177;margin-bottom:14px}.breadcrumbs a{text-decoration:none}.entry-title{font-size:clamp(31px,4vw,49px);line-height:1.2;color:var(--forest);margin:0 0 15px}.entry-meta{color:#6b8177;font-size:13px;margin-bottom:25px}.featured-image{width:100%;border-radius:18px;margin:4px 0 24px;max-height:480px;object-fit:cover}.entry-content{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.entry-content h2{font-size:clamp(24px,3vw,32px);color:var(--forest);margin:36px 0 12px;border-bottom:3px solid #d5efcf;padding-bottom:8px}.entry-content h3{font-size:22px;color:#2f7657}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;font-size:15px}.entry-content th,.entry-content td{border:1px solid #dbe8da;padding:10px 12px}.entry-content th{background:#e7f6e2}.entry-content blockquote{border-left:5px solid var(--sun);margin:22px 0;padding:15px 20px;background:#fff8e4;border-radius:0 12px 12px 0}.entry-content img{border-radius:14px}.entry-content a{font-weight:650}.entry-content .wp-block-button__link{background:var(--forest);color:#fff}.widget{background:#fff;border:1px solid #e1ecdf;border-radius:20px;padding:20px;margin-bottom:20px}.widget-title,.widget h2{font-size:20px;color:var(--forest);margin:0 0 12px}.widget ul{padding-left:20px}.site-footer{background:#245a43;color:#f4fff4;margin-top:30px;padding:43px 0 15px}.site-footer a{color:#e2ffd9}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-grid h3{color:#ffdf84;margin-top:0}.footer-bottom{border-top:1px solid #ffffff38;margin-top:28px;padding-top:14px;font-size:13px}.post-nav{display:flex;justify-content:space-between;gap:20px;margin-top:30px}.post-nav a{font-weight:750}.empty-photo{height:100%;min-height:170px;display:grid;place-items:center;font-size:64px}.pagination{margin:30px 0}.pagination .page-numbers{display:inline-block;padding:6px 13px;border:1px solid #cce4d0;border-radius:10px;margin:2px;background:white}.pagination .current{background:var(--forest);color:white}.hp-note{background:#fff6d8;border-left:5px solid #f4c35e;padding:16px 20px;border-radius:12px}.hp-banner{padding:25px;background:linear-gradient(120deg,#fff5cf,#e6f9e3);border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hp-banner p{margin:0}.comments-area{margin-top:40px}.comments-area input,.comments-area textarea{max-width:100%;border:1px solid #c8dfcd;border-radius:10px;padding:10px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}.alignwide{max-width:100%}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-layout{grid-template-columns:1fr}.hero-photo{min-height:230px}.content-shell{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.wrap{width:min(100% - 24px,var(--wide))}.cards{grid-template-columns:1fr}.nav-toggle{display:block}.nav-menu{display:none;flex-direction:column;width:100%;padding:8px 0}.nav-menu.open{display:flex}.nav-menu .sub-menu{display:block;position:static;box-shadow:none;background:#a8e28e}.header-inner{justify-content:center;text-align:center}.header-actions{width:100%;justify-content:center}.nav-inner{flex-wrap:wrap}.hero{padding:35px 0 65px}.hero-photo{min-height:210px}.hero-photo img{min-height:210px}.sidebar{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.section{padding:35px 0}.section-head{align-items:start}.article-paper{border-radius:17px}.hp-banner{flex-direction:column;align-items:start}}

/* Erlebniswelt 2.0 – park guide modules and playful visual system */
:focus-visible{outline:3px solid #c44b3c!important;outline-offset:3px}html{scroll-behavior:smooth}body.hpud-v2{background:linear-gradient(180deg,var(--sky) 0,#f4fbf1 500px,#f9fcf5 100%)}.site-header{background:radial-gradient(circle at 20% 30%,#fff9 0 18px,transparent 19px),radial-gradient(circle at 80% 45%,#fff9 0 22px,transparent 23px),var(--sky)}.hero{position:relative;overflow:hidden}.hero:after{content:'🌼   🌱    🌷    🌼    🌿    🌻    🌷';display:block;text-align:center;letter-spacing:2vw;white-space:nowrap;overflow:hidden;font-size:25px;line-height:1.5;background:linear-gradient(0deg,#8bcf64,#b2e58c);border-top:6px solid #78bd54}.section-title,.section-head h2{letter-spacing:-.025em}.article-paper{position:relative;box-shadow:0 12px 34px #1f5d3014;border:1px solid #d8eacb}.article-paper:before{content:'🌼';position:absolute;top:-22px;right:25px;font-size:32px}.park-module{margin:36px 0;padding:26px;border:2px solid #dcebcf;border-radius:22px;background:#fcfff7;scroll-margin-top:35px}.park-module h2{margin-top:0;color:var(--forest)}.park-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.park-facts>div,.park-info{padding:18px;border-radius:15px;background:#fff;border:1px solid #e2eadc}.park-facts dt{font-weight:750;color:var(--forest)}.park-facts dd{margin:5px 0 0;overflow-wrap:anywhere}.park-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.park-info h3{margin:0 0 10px}.park-button{display:inline-flex;margin-top:10px;padding:9px 15px;border-radius:30px;background:var(--forest);color:white;text-decoration:none;font-weight:700}.park-button:hover{color:white;background:#367d56}.park-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.park-gallery a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:14px}.park-gallery img{height:100%;width:100%;object-fit:cover;transition:transform .25s}.park-gallery a:hover img{transform:scale(1.04)}.park-faq details{border-bottom:1px solid #d7e5d1;padding:14px 0}.park-faq summary{font-weight:700;cursor:pointer}.hpud-lightbox{border:0;border-radius:18px;background:#102b25;padding:24px;max-width:94vw;max-height:94vh}.hpud-lightbox::backdrop{background:#06150dd9}.hpud-lightbox img{display:block;max-height:80vh;max-width:85vw;object-fit:contain}.lightbox-close{position:absolute;right:4px;top:2px;color:white;background:#204e40;border:0;border-radius:50%;font-size:30px;width:42px;height:42px}.footer-meadow{background:linear-gradient(0deg,#6eb747,#a8dc79);font-size:27px;letter-spacing:3vw;white-space:nowrap;overflow:hidden;text-align:center;padding:12px 0}.site-footer{position:relative}.entry-content table{display:block;max-width:100%;overflow-x:auto}.entry-content img{border-radius:14px}.card{transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px)}@media(max-width:700px){.park-facts,.park-two{grid-template-columns:1fr}.park-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.park-module{padding:17px;margin:22px 0}.hero:after{font-size:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card,.park-gallery img{transition:none}}

/* v2.1 refinements */
.hpud-gallery-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hpud-gallery-preview img{width:90px;height:70px;object-fit:cover;border-radius:9px;border:1px solid #cbdcc5}.hpud-post_style-simple .article-paper{box-shadow:none;border:0;background:transparent}.hpud-card_style-classic .card{border-radius:10px;box-shadow:0 4px 16px #203f2312}.hpud-hero_style-clean .hero:after{content:none}.hpud-hero_style-clean .hero{background:#e9f7f2}.article-paper .entry-content{overflow-wrap:anywhere}.entry-content iframe{max-width:100%}.nav-toggle:focus-visible,.park-button:focus-visible{outline:3px solid #b54c32;outline-offset:3px}
.hpud-skip-link{position:absolute;top:-100px;left:12px;z-index:9999;padding:10px 15px;background:#fff;color:#183b2b}.hpud-skip-link:focus{top:12px}


/* v2.2 – photographic editorial system, uniform rhythm, full-width articles */
body.hpud-v2{background:#f7faf7;color:#263e35}
.site-header{background:#e8f6fa;padding:18px 0 0}
.site-header:after{height:16px;background:linear-gradient(135deg,transparent 50%,var(--grass) 51%) 0 0/28px 16px repeat-x}
.nav-area{background:var(--grass);border-bottom:3px solid #4fa65a}
.hero{padding:48px 0 54px;background:linear-gradient(120deg,#e5f6fb,#edf6eb)}
.hero:after{content:'';height:6px;line-height:0;font-size:0;background:var(--grass);border:0;letter-spacing:0}
.hero-layout{gap:clamp(24px,4vw,64px)}
.hero-photo{min-height:310px;aspect-ratio:16/10;border:7px solid white;border-radius:24px;transform:none;background:#e2ebe5;box-shadow:0 15px 40px #204b3024;font-size:initial}
.hero-photo img{min-height:0;height:100%;width:100%;display:block;object-fit:cover}
.hero-photo-empty{background:#e7f0ea;display:flex;align-items:center;justify-content:center}
.hero-photo-message{padding:24px;text-align:center;max-width:320px;color:#567469}
.hero-photo-message strong{display:block;color:var(--forest);font-size:clamp(23px,3vw,32px);line-height:1.2}
.hero-photo-message span{display:block;font-size:13px;margin-top:12px}
body.home .section{padding:var(--hp-section-space) 0}
body.home .hpud-intro-section{padding:var(--hp-intro-space) 0 var(--hp-section-space)}
body.home .section-head{margin:0 0 20px}
body.home .section-head h2{margin:0}
body.home .feature-panel{padding:24px 30px;border-radius:22px;margin:0;box-shadow:0 6px 20px #214c3610}
body.home .feature-panel h2{margin:8px 0 6px}
body.home .feature-panel p{margin:0}
body.home .cards{gap:22px}
body.home .card{height:100%;display:flex;flex-direction:column}
.card-media{background:#edf2ed}
.card-no-photo .card-body{padding-top:30px}
.card-no-photo{border-top:4px solid var(--grass)}
.card-body{display:flex;flex-direction:column;flex:1}
.card-body .card-more{margin-top:auto}
body.home .section+.section{margin-top:0}
body.home .footer-meadow,.footer-meadow{display:none}
.content-shell.no-sidebar{display:block;width:min(var(--hp-post-wide),calc(100% - 36px));max-width:none;margin:36px auto 65px}
.content-shell.no-sidebar>div:first-child{width:100%;max-width:none;min-width:0}
.content-shell.no-sidebar .article-paper{width:100%;max-width:none;margin:0 auto;padding:clamp(22px,4vw,52px)}
.content-shell.no-sidebar .entry-content{max-width:100%;overflow-wrap:anywhere}
.content-shell.no-sidebar .entry-content :is(img,video,iframe){max-width:100%;height:auto}
.content-shell.no-sidebar .entry-content :is(h2,h3){scroll-margin-top:30px}
.hpud-force-no-sidebar .sidebar{display:none!important}
.article-paper:before{content:none}
.card .card-tag{word-break:normal}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr}.hero-photo{max-height:420px}.hero h1{font-size:clamp(32px,6vw,54px)}}
@media(max-width:700px){body.home .section{padding:18px 0}body.home .hpud-intro-section{padding:14px 0 18px}body.home .feature-panel{padding:20px}.hero{padding:30px 0 34px}.hero-photo{min-height:230px}.content-shell.no-sidebar{margin:20px auto 40px}}

.hero-layout.hero-no-photo{grid-template-columns:minmax(0,820px);justify-content:center;text-align:center}.hero-no-photo p{margin-left:auto;margin-right:auto}.hero-no-photo h1{max-width:850px}.hero-no-photo .btn{margin-top:4px}

/* v2.2.1: remove the white rectangular appearance of uploaded JPEG logos on the sky header.
   Multiply makes white pixels visually match the header color without recoloring the actual file.
   For pixel-perfect transparency, upload a true transparent PNG/WebP logo. */
.site-header .brand img.site-logo { background: transparent !important; border: 0 !important; box-shadow: none !important; mix-blend-mode: multiply; display: block; }
.site-header .brand { background: transparent; }

/* v2.2.2 — bundled homepage-only imagery; post thumbnails remain user-managed */
body.home .hero-photo img{object-position:center 42%}
.hpud-home-visuals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}
.hpud-visual{min-height:190px;position:relative;overflow:hidden;border-radius:20px;background-size:cover;background-position:center;box-shadow:0 8px 22px #194b3222}
.hpud-visual:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#082e23b8)}
.hpud-visual span{position:absolute;bottom:13px;left:17px;right:10px;color:white;font-weight:850;font-size:19px;z-index:1;text-shadow:0 1px 5px #1238}
.hpud-visual-rides{background-image:url('assets/images/homepage-attractions.webp')}
.hpud-visual-castle{background-image:url('assets/images/homepage-destinations.webp')}
.hpud-visual-family{background-image:url('assets/images/homepage-family.webp')}
@media(max-width:700px){.hpud-home-visuals{grid-template-columns:1fr 1fr;gap:10px}.hpud-visual{min-height:135px}.hpud-visual span{font-size:15px}.hpud-visual:last-child{grid-column:1/-1;min-height:155px}}


/* v2.2.3 — mobile-first usability and responsive refinements */
html,body{max-width:100%;overflow-x:clip}
:where(.site-header,.nav-area,.hero,.section,.site-footer) {min-width:0}
:where(.wrap,.header-inner,.brand,.hero-layout,.hero-layout>div,.section-head,.card,.card-body,.article-paper){min-width:0}
:where(.entry-content,.card-body,.section-head) {overflow-wrap:anywhere}
.nav-menu a,.btn,.search-form button,.nav-toggle{touch-action:manipulation}
@media(max-width:900px){
 .header-inner{gap:12px}.brand strong{font-size:clamp(20px,3.5vw,30px)}
 .brand img{max-width:min(34vw,210px);max-height:65px;object-fit:contain}
 .nav-menu a{padding:10px 11px}
 .hero-layout{gap:22px}.hero-photo{width:100%;aspect-ratio:16/9;max-height:360px}
 .section-head{align-items:flex-start}.section-head>*{min-width:0}
}
@media(max-width:650px){
 .wrap{width:calc(100% - 28px)}
 .site-header{padding:12px 0 0}.site-header:after{height:9px;background-size:18px 9px}
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px}
 .brand{max-width:100%;gap:9px;text-align:left;justify-content:center}
 .brand img{max-width:min(34vw,155px);max-height:58px}
 .brand strong{font-size:clamp(19px,5.3vw,27px);line-height:1.13;letter-spacing:-.025em}
 .brand small{font-size:11px;line-height:1.35;margin-top:3px}
 .header-actions{width:100%;max-width:480px;margin:0 auto 7px}
 .search-form{width:100%;min-width:0;display:flex;padding:3px 4px 3px 13px}
 .search-form input{flex:1;width:0;min-width:0;max-width:none;font-size:16px}
 .search-form button{flex-shrink:0;padding:9px 14px;font-size:14px}
 .nav-area{position:relative;z-index:30}.nav-inner{display:block;padding:7px 0}
 .nav-toggle{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;font-weight:800;font-size:16px;color:var(--forest)}
 .nav-menu{display:none;flex-direction:column;gap:3px;width:100%;padding:9px 0 6px;margin:0}
 .nav-menu.open{display:flex}.nav-menu li{width:100%}
 .nav-menu a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:10px;font-size:15px}
 .nav-menu .sub-menu{display:block;position:static;box-shadow:none;min-width:0;margin:0 0 6px 14px;padding:3px 0 3px 9px;border-left:3px solid #367e4a;border-radius:0;background:transparent}
 .nav-menu .sub-menu a{min-height:40px;padding:8px 12px;font-size:14px}
 .hero{padding:26px 0 32px}.hero-layout{gap:17px}.hero-layout>div:first-child{text-align:center}
 .hero h1{font-size:clamp(29px,8.5vw,43px);line-height:1.12;letter-spacing:-.035em;margin:13px 0}
 .hero p{font-size:16px;line-height:1.55;margin:0 auto 18px;max-width:35rem}
 .eyebrow{font-size:11px;max-width:100%;white-space:normal}
 .hero .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;font-size:15px}
 .hero-photo{min-height:0;aspect-ratio:16/10;max-height:none;border-width:4px;border-radius:16px}
 .hero-photo img{min-height:0;aspect-ratio:16/10}
 body.home .section{padding:25px 0}body.home .hpud-intro-section{padding:20px 0}
 body.home .feature-panel{padding:18px;border-radius:17px}
 .section-head{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
 .section h2,.section-title{font-size:clamp(24px,7vw,31px)}
 .cards{grid-template-columns:minmax(0,1fr);gap:15px}
 .card{border-radius:17px}.card-body{padding:15px 17px 18px}.card h3{font-size:19px}
 .hpud-home-visuals{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .hpud-visual{min-height:128px;border-radius:13px}.hpud-visual span{font-size:14px;line-height:1.25;left:10px;bottom:10px}
 .hpud-visual:last-child{min-height:135px}
 .pills{gap:8px}.pill{font-size:13px;padding:9px 12px;min-height:42px}
 .carousel-track{gap:12px;padding-bottom:15px}.carousel-track>.card{flex-basis:min(82vw,330px)}
 .carousel-buttons button{width:44px;height:44px}
 .content-shell,.content-shell.no-sidebar{width:calc(100% - 24px);margin:18px auto 35px}
 .article-paper,.content-shell.no-sidebar .article-paper{padding:18px 15px;border-radius:15px}
 .entry-title{font-size:clamp(26px,7vw,36px)}.entry-content{font-size:16px;line-height:1.75}
 .entry-content h2{font-size:23px}.entry-content h3{font-size:19px}
 .entry-content :is(table,pre,iframe){max-width:100%;overflow-x:auto}
 .entry-content :is(img,video,iframe){max-width:100%;height:auto}
 .park-module{padding:14px;margin:18px 0;border-radius:15px}
 .park-gallery{gap:8px}.park-facts>div,.park-info{padding:13px}
 .hpud-lightbox{padding:12px;max-width:98vw}.hpud-lightbox img{max-width:92vw}
 .footer-grid{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:380px){
 .brand img{max-width:112px}.brand strong{font-size:19px}
 .hero h1{font-size:29px}.hpud-home-visuals{grid-template-columns:1fr}
 .hpud-visual,.hpud-visual:last-child{min-height:145px;grid-column:auto}
 .search-form button{padding:9px 11px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* v2.2.4: natural meadow grass replaces triangular sawtooth in header. */
.site-header:after{content:"";display:block;position:relative;height:53px;margin-top:-1px;background-image:url("assets/images/header-grass.svg");background-repeat:repeat-x;background-position:center bottom;background-size:640px 90px;pointer-events:none;}
.nav-area{position:relative;background:#65b84c;border-bottom:3px solid #47983f;}
@media(max-width:650px){.site-header:after{height:38px;background-size:440px 62px;background-position:center bottom}.nav-area{background:#65b84c}}

/* v2.3.0 — adjustable typography, media, proportions; mobile remains fluid */
.site-header{background:var(--hp-header-bg)}
.site-header .brand strong{font-size:var(--hp-brand);line-height:1.16;overflow-wrap:anywhere}
.site-header .brand small{font-size:var(--hp-tagline);line-height:1.45}
.site-header .brand img.site-logo{max-height:var(--hp-logo);max-width:min(35vw,360px);object-fit:contain}
.nav-menu a{font-size:var(--hp-nav);line-height:1.4;padding:13px clamp(10px,1.05vw,18px)}
.hero{padding:var(--hp-hero-pad) 0 calc(var(--hp-hero-pad) + 14px)}
.hero-layout:not(.hero-no-photo){grid-template-columns:minmax(0,1fr) minmax(0,var(--hp-hero-image-width));gap:clamp(20px,3.3vw,55px)}
.hero h1{font-size:clamp(30px,4.1vw,var(--hp-hero-h));line-height:1.12;letter-spacing:-.035em}
.hero p{font-size:var(--hp-hero-p);line-height:1.65}
.hero .eyebrow{font-size:var(--hp-hero-badge)}
.hero .btn{font-size:var(--hp-hero-button);padding:12px 22px}
.hero-photo{min-height:0;height:var(--hp-hero-image-height);max-height:none;transform:none;border-width:8px;border-radius:26px}
.hero-photo img{min-height:0;height:100%;width:100%;object-fit:cover}
body.home{font-size:var(--hp-body-font)}
body.home .hpud-intro-section .section-title{font-size:var(--hp-intro-heading)}
body.home .section-head h2{font-size:var(--hp-section-heading)}
.hpud-home-visuals{gap:clamp(12px,1.5vw,22px)}
.hpud-visual{display:block;min-height:var(--hp-category-height);border-radius:var(--hp-card-radius);text-decoration:none;background-position:center;background-size:cover}
.hpud-visual span{font-size:var(--hp-category-title);line-height:1.3}
.hpud-visual:hover{transform:translateY(-3px);box-shadow:0 12px 28px #194b3230}
.site-footer{background:var(--hp-footer-bg);font-size:var(--hp-footer-body)}
.site-footer h3{font-size:var(--hp-footer-heading)}
.hpud-footer-note{border-top:1px solid #ffffff40;padding-top:12px;margin-top:15px}
@media(max-width:900px){.hero-layout:not(.hero-no-photo){grid-template-columns:1fr}.hero-photo{height:min(var(--hp-hero-image-height),54vw);max-height:440px}.site-header .brand strong{font-size:clamp(22px,3.6vw,var(--hp-brand))}}
@media(max-width:650px){.site-header .brand img.site-logo{max-height:min(var(--hp-logo),70px);max-width:45vw}.site-header .brand strong{font-size:clamp(20px,5.2vw,29px)}.site-header .brand small{font-size:clamp(11px,3vw,var(--hp-tagline))}.hero{padding:30px 0 36px}.hero h1{font-size:clamp(29px,8vw,40px)}.hero p{font-size:clamp(15px,4vw,18px)}.hero-photo{height:auto;aspect-ratio:16/10;max-height:none}.hero-photo img{height:100%}.hpud-home-visuals{grid-template-columns:1fr 1fr}.hpud-visual{min-height:clamp(130px,35vw,var(--hp-category-height))}.hpud-visual:last-child{grid-column:1/-1}.hpud-visual span{font-size:clamp(15px,3.8vw,var(--hp-category-title))}.site-footer h3{font-size:clamp(17px,5vw,var(--hp-footer-heading))}}
@media(max-width:380px){.hpud-home-visuals{grid-template-columns:1fr}.hpud-visual:last-child{grid-column:auto}}

body.home .hero-photo img{object-position:var(--hp-hero-position,center center)}

/* v2.3.1 Header refinement — retains v2.3 Theme Options variables */
.site-header{padding:14px 0 0}
.site-header .header-inner{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:clamp(14px,2.2vw,32px);min-height:88px}
.site-header .brand{display:flex;align-items:center;gap:clamp(10px,1.1vw,18px);min-width:0;flex:1 1 auto}
.site-header .brand>span:last-child{min-width:0}
.site-header .brand img.site-logo{width:auto;height:auto;max-height:min(var(--hp-logo),82px);max-width:clamp(155px,20vw,275px);mix-blend-mode:normal}
.site-header .brand strong{font-size:clamp(24px,2.25vw,var(--hp-brand));line-height:1.13;letter-spacing:-.025em}
.site-header .brand small{font-size:clamp(13px,1.05vw,var(--hp-tagline));line-height:1.45;margin-top:4px}
.site-header .header-actions{flex:0 1 370px;min-width:245px;max-width:390px}
.site-header .search-form{width:100%;min-height:49px;display:flex;gap:4px;box-shadow:0 3px 10px #20553d0b}
.site-header .search-form input{width:100%;max-width:none;min-width:0;font-size:15px}
.site-header .search-form button{white-space:nowrap;min-height:40px;font-size:15px}
.site-header:after{height:27px;margin-top:0;background-image:url('assets/images/header-grass.svg');background-size:450px 63px;background-position:center bottom;background-repeat:repeat-x}
.nav-area{background:#65b84c;border-bottom:3px solid #4a9e42}
.nav-inner{justify-content:center}
.nav-menu{justify-content:center;gap:clamp(0px,.25vw,5px)}
.nav-menu a{font-size:clamp(14px,1vw,var(--hp-nav));font-weight:750;padding:12px clamp(9px,.85vw,15px);line-height:1.5}
.nav-menu .current-menu-ancestor>a,.nav-menu .current_page_ancestor>a{background:#fff8db}
.nav-menu a:hover,.nav-menu a:focus-visible{background:#f7ffde;color:#15462f}
@media(max-width:1050px){
 .site-header .header-inner{gap:16px}
 .site-header .brand img.site-logo{max-width:190px}
 .site-header .brand strong{font-size:clamp(22px,2.6vw,30px)}
 .site-header .header-actions{flex-basis:295px;min-width:210px}
 .nav-menu a{font-size:14px;padding:12px 8px}
}
@media(max-width:780px){
 .site-header{padding-top:12px}
 .site-header .header-inner{flex-wrap:wrap;justify-content:center;gap:10px;min-height:0}
 .site-header .brand{flex:1 1 100%;justify-content:center;text-align:left}
 .site-header .brand img.site-logo{max-height:68px;max-width:190px}
 .site-header .brand strong{font-size:clamp(21px,3.8vw,29px)}
 .site-header .header-actions{flex:1 1 100%;max-width:480px;min-width:0;padding-bottom:4px}
 .site-header:after{height:22px;background-size:390px 54px}
 .nav-toggle{display:block;font-weight:750;font-size:16px;margin:8px 0}
 .nav-inner{justify-content:flex-start;flex-wrap:wrap}
 .nav-menu{display:none;flex-direction:column;width:100%;gap:2px;padding:5px 0 12px}
 .nav-menu.open{display:flex}
 .nav-menu a{font-size:16px;padding:12px 15px}
 .nav-menu .sub-menu{display:block;position:static;box-shadow:none;background:#a8e28e;margin-left:14px}
}
@media(max-width:480px){
 .site-header .brand{gap:9px}
 .site-header .brand img.site-logo{max-width:40%;max-height:60px}
 .site-header .brand strong{font-size:clamp(18px,5vw,23px)}
 .site-header .brand small{font-size:12px}
 .site-header .search-form{min-height:46px}
 .site-header:after{height:19px;background-size:340px 47px}
}

/* v2.3.2 — homepage category hierarchy and accessible cards */
body.home .hpud-intro-section .feature-panel{padding:var(--hp-intro-pad,22px) clamp(20px,3vw,36px);}
body.home .hpud-home-visuals{gap:clamp(14px,1.6vw,24px);margin-bottom:22px;}
body.home .hpud-visual{isolation:isolate;transition:transform .2s ease,box-shadow .2s ease;}
body.home .hpud-visual:focus-visible,body.home .pill:focus-visible{outline:3px solid #1d5c47;outline-offset:3px;}
body.home .hpud-visual:after{inset:28% 0 0;background:linear-gradient(transparent,rgba(5,35,25,.78));}
body.home .hpud-visual span{left:20px;bottom:18px;text-shadow:0 2px 6px rgba(0,0,0,.5);}
body.home .hpud-category-pills{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 0;}
body.home .hpud-category-pills .pill{font-size:var(--hp-pill-font,15px);min-height:42px;display:inline-flex;align-items:center;line-height:1.3;text-decoration:none;}
body.home .hpud-category-pills .pill:hover{background:#e7f6e5;border-color:#7fc66b;}
body.home .card{overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;}
body.home .card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,62,40,.13);}
body.home .card .card-media img{aspect-ratio:16/10;object-fit:cover;}
body.home .card .card-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
@media(max-width:700px){body.home .hpud-home-visuals{grid-template-columns:1fr;gap:14px}body.home .hpud-visual,body.home .hpud-visual:last-child{grid-column:auto;min-height:190px}body.home .hpud-category-pills .pill{font-size:14px}body.home .hpud-intro-section .feature-panel{padding:20px}}
@media(prefers-reduced-motion:reduce){body.home .hpud-visual,body.home .card{transition:none}}

/* v2.3.3 — Homepage cards, spacing and footer */
body.home .section{padding:clamp(22px,3vw,34px) 0}
body.home .section-head{margin-bottom:18px}
body.home .cards{gap:20px;align-items:stretch}
body.home .card{display:flex;flex-direction:column;min-width:0;border-top:4px solid #77c85d}
body.home .card-media{aspect-ratio:16/9;flex-shrink:0}
body.home .card-media img{height:100%;width:100%;object-fit:cover}
body.home .card-body{display:flex;flex:1;flex-direction:column;padding:20px 22px 22px}
body.home .card h3{font-size:clamp(18px,1.5vw,21px);line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body.home .card .card-body p{font-size:15px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 18px}
body.home .card-more{margin-top:auto;align-self:flex-start}
body.home .carousel-track{align-items:stretch;gap:18px;scroll-padding-inline:4px;padding-bottom:14px}
body.home .carousel-track>.card{flex:0 0 min(345px,calc(100vw - 54px));height:auto}
body.home .hpud-carousel-section .section-head{align-items:center}
body.home .hp-banner{padding:22px 28px}
.site-footer{margin-top:12px;padding:42px 0 18px}
.site-footer .footer-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(22px,4vw,55px)}
.site-footer .footer-grid>div{min-width:0}
.site-footer .footer-grid h3{margin:0 0 15px;line-height:1.35}
.site-footer .footer-grid p{margin:0;line-height:1.8;max-width:46ch}
.site-footer .footer-links{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-footer .footer-links a{text-decoration:none;line-height:1.5}
.site-footer .footer-links a:hover{text-decoration:underline;color:#fff}
.site-footer .footer-bottom{margin-top:30px}
@media(max-width:850px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-about{grid-column:1/-1}}
@media(max-width:650px){body.home .section{padding:20px 0}body.home .cards{gap:15px}body.home .card-body{padding:18px}body.home .hp-banner{padding:20px}.site-footer .footer-grid{grid-template-columns:1fr;gap:26px}.site-footer .footer-about{grid-column:auto}.site-footer{padding:34px 0 18px}}


/* v2.3.4 — Consistent breathing room above homepage section headings.
   Scoped to homepage only; avoids altering post content H2/H3. */
body.home .section.hpud-featured,
body.home .section.hpud-carousel-section,
body.home .section.hpud-latest {
  padding-top:clamp(46px,4.2vw,66px);
  padding-bottom:clamp(20px,2.5vw,32px);
}
body.home .section.hpud-featured .section-head,
body.home .section.hpud-carousel-section .section-head,
body.home .section.hpud-latest .section-head {
  margin-top:0;
  margin-bottom:clamp(22px,2.1vw,30px);
}
body.home .section.hpud-featured .section-head h2,
body.home .section.hpud-carousel-section .section-head h2,
body.home .section.hpud-latest .section-head h2 {
  margin:0;
  line-height:1.2;
}
body.home .section.hpud-featured .section-sub,
body.home .section.hpud-carousel-section .section-sub {
  margin-top:10px;
  line-height:1.55;
}
@media(max-width:700px){
  body.home .section.hpud-featured,
  body.home .section.hpud-carousel-section,
  body.home .section.hpud-latest {padding-top:36px;padding-bottom:22px;}
  body.home .section.hpud-featured .section-head,
  body.home .section.hpud-carousel-section .section-head,
  body.home .section.hpud-latest .section-head {margin-bottom:20px;}
}


/* v2.3.5 — readable navigation and consistent typography; preserve Theme Options */
:root{--hp-type-body:clamp(16px,1.06vw,18px)}
body{font-size:var(--hp-type-body)}
/* Allow the long German navigation to use a wider row than the article layout. */
.nav-area .nav-inner{width:min(1480px,calc(100% - 32px));justify-content:center}
.nav-menu{justify-content:center;gap:clamp(1px,.3vw,6px)}
.nav-menu a{font-size:clamp(17px,1.12vw,var(--hp-nav,18px));line-height:1.4;padding:15px clamp(8px,.8vw,13px);font-weight:780;white-space:nowrap}
.nav-menu .sub-menu a{white-space:normal;font-size:16px}
.site-header .brand small{font-size:clamp(14px,1vw,var(--hp-tagline,16px))}
.site-header .search-form input,.site-header .search-form button{font-size:16px}
.hero .eyebrow{font-size:clamp(14px,1vw,var(--hp-hero-badge,16px))}
.hero p{font-size:clamp(17px,1.35vw,var(--hp-hero-description,20px));line-height:1.7}
.hero .btn{font-size:clamp(16px,1.12vw,var(--hp-hero-button,18px))}
body.home .section-sub{font-size:clamp(16px,1.1vw,18px);line-height:1.6}
body.home .card-tag{font-size:13px}
body.home .card .card-body p{font-size:clamp(15px,1.03vw,17px)}
body.home .card-more{font-size:clamp(15px,1vw,17px)}
body.home .hpud-category-pills .pill{font-size:clamp(15px,1.02vw,var(--hp-pill-font,17px))}
.site-footer .footer-grid{font-size:clamp(15px,1.03vw,var(--hp-footer-body,17px))}
.site-footer .footer-grid h3{font-size:clamp(19px,1.35vw,var(--hp-footer-heading,23px))}
/* Switch to touch-friendly collapsed menu before links become crowded. */
@media(max-width:1150px){
 .nav-area .nav-inner{justify-content:flex-start;flex-wrap:wrap}
 .nav-toggle{display:block;font-size:17px;min-height:46px;padding:10px 18px;margin:6px 0}
 .nav-menu{display:none;flex-direction:column;align-items:stretch;width:100%;gap:2px;padding:6px 0 14px}
 .nav-menu.open{display:flex}
 .nav-menu a{font-size:17px;white-space:normal;padding:12px 16px}
 .nav-menu .sub-menu{display:block;position:static;box-shadow:none;margin:0 0 4px 16px;background:#a8e28e}
 .nav-menu .sub-menu a{font-size:16px}
}
@media(max-width:650px){
 .site-header .brand small{font-size:13px}
 .hero p{font-size:17px}
 body.home .card .card-body p{font-size:16px}
 body.home .hpud-category-pills .pill{font-size:15px}
}


/* v2.3.6 — Single-post layout containment, reading width and footer alignment */
:root{--hp-post-wide:1240px;--hp-post-reading:1020px}
body.single .content-shell.no-sidebar,
body.page .content-shell.no-sidebar{width:min(var(--hp-post-wide),calc(100% - 48px));max-width:var(--hp-post-wide);margin:36px auto 56px;min-width:0}
body.single .content-shell.no-sidebar>div,
body.page .content-shell.no-sidebar>div{min-width:0;max-width:100%;width:100%}
body.single .article-paper,
body.page .article-paper{width:100%;min-width:0;max-width:100%;padding:clamp(24px,3.4vw,52px);overflow:visible}
body.single .article-paper :is(.entry-title,.breadcrumbs,.entry-meta,.section-sub),
body.page .article-paper :is(.entry-title,.breadcrumbs,.entry-meta,.section-sub){max-width:100%;overflow-wrap:break-word;word-break:normal}
body.single .entry-title,body.page .entry-title{font-size:clamp(30px,3.25vw,48px);line-height:1.17;letter-spacing:-.025em;hyphens:auto}
body.single .entry-content,body.page .entry-content{width:100%;max-width:var(--hp-post-reading);margin:0 auto;font-size:clamp(17px,1.22vw,19px);line-height:1.8;min-width:0}
body.single .entry-content>*,body.page .entry-content>*{max-width:100%;box-sizing:border-box}
body.single .entry-content :is(.hp-guide,.hp-guide-wrap,.hpud-guide,.wp-block-group),
body.page .entry-content :is(.hp-guide,.hp-guide-wrap,.hpud-guide,.wp-block-group){max-width:100%;min-width:0}
body.single .entry-content :is(table,pre,code,iframe,embed,video),
body.page .entry-content :is(table,pre,code,iframe,embed,video){max-width:100%}
body.single .entry-content :is(table,pre),body.page .entry-content :is(table,pre){overflow-x:auto}
body.single .entry-content :is(.wp-block-columns,.wp-block-media-text),
body.page .entry-content :is(.wp-block-columns,.wp-block-media-text){min-width:0}
body.single .post-nav,body.single .hpud-related-posts,body.single .comments-area{width:100%;max-width:100%;min-width:0}
body.single .post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0 36px;padding:0 4px}
body.single .post-nav a{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.5}
body.single .post-nav a:last-child{text-align:right}
body.single .hpud-related-posts{margin:22px 0 32px;padding:0}
body.single .hpud-related-posts .section-title{margin:0 0 22px;font-size:clamp(26px,2.7vw,36px)}
body.single .hpud-related-posts .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.single .hpud-related-posts .card{min-width:0}
body.single .hpud-related-posts .card h3{overflow-wrap:anywhere}
@media(max-width:900px){body.single .hpud-related-posts .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 body.single .content-shell.no-sidebar,body.page .content-shell.no-sidebar{width:calc(100% - 24px);margin:18px auto 34px}
 body.single .article-paper,body.page .article-paper{padding:22px 17px;border-radius:16px}
 body.single .entry-title,body.page .entry-title{font-size:clamp(28px,7.2vw,37px);line-height:1.2}
 body.single .entry-content,body.page .entry-content{font-size:16.5px;line-height:1.75}
 body.single .post-nav{grid-template-columns:minmax(0,1fr);gap:12px;margin:22px 0 30px}
 body.single .post-nav a:last-child{text-align:left}
 body.single .hpud-related-posts .cards{grid-template-columns:minmax(0,1fr)}
}

/* v2.3.7 — "Noch mehr entdecken" matches the 3-column latest-post grid. */
body.home .hpud-discover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
body.home .hpud-discover-grid .hpud-discover-item{min-width:0;display:flex}
body.home .hpud-discover-grid .hpud-discover-item[hidden]{display:none!important}
body.home .hpud-discover-grid .hpud-discover-item>.card{width:100%;height:100%}
body.home .hpud-discover-actions{display:flex;justify-content:center;margin:28px 0 0}
body.home .hpud-discover-more{font:inherit;font-weight:800;font-size:17px;background:var(--forest);color:#fff;border:2px solid var(--forest);border-radius:999px;padding:13px 34px;min-height:48px;cursor:pointer;transition:background .2s,transform .2s}
body.home .hpud-discover-more:hover{background:#347b59;transform:translateY(-2px)}
body.home .hpud-discover-more:focus-visible{outline:3px solid #f4c35e;outline-offset:3px}
body.home .hpud-discover-more[hidden]{display:none!important}
@media(max-width:900px){body.home .hpud-discover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:650px){body.home .hpud-discover-grid{grid-template-columns:minmax(0,1fr);gap:15px}body.home .hpud-discover-actions{margin-top:22px}body.home .hpud-discover-more{width:min(100%,320px)}}
@media(prefers-reduced-motion:reduce){body.home .hpud-discover-more{transition:none}}


/* v2.3.8 — Page/Post editorial width matched to the supplied JMS reference theme.
   Outer shell: 1320px; readable inner column: 1120px. Homepage unchanged. */
:root{--hp-post-wide:1320px;--hp-post-reading:1120px}
body.single .content-shell.no-sidebar,
body.page .content-shell.no-sidebar{
  width:min(1320px,calc(100% - 36px));
  max-width:1320px;
  margin:30px auto 54px;
  display:block;
}
body.single .content-shell.no-sidebar>div,
body.page .content-shell.no-sidebar>div{width:100%;max-width:100%;min-width:0}
body.single .article-paper,
body.page .article-paper{
  width:100%;max-width:100%;min-width:0;
  padding:clamp(22px,3vw,44px);
  border-radius:20px;
}
body.single .article-paper>.entry-title,
body.page .article-paper>.entry-title,
body.single .article-paper>.breadcrumbs,
body.page .article-paper>.breadcrumbs,
body.single .article-paper>.entry-meta,
body.page .article-paper>.entry-meta,
body.single .article-paper>.section-sub,
body.page .article-paper>.section-sub,
body.single .article-paper>.featured-image,
body.page .article-paper>.featured-image{
  display:block;width:100%;max-width:1120px;margin-left:auto;margin-right:auto;
}
body.single .entry-content,
body.page .entry-content{width:100%;max-width:1120px;margin-inline:auto;min-width:0}
body.single .entry-content :is(img,video,iframe,embed,svg),
body.page .entry-content :is(img,video,iframe,embed,svg){max-width:100%}
body.single .entry-content :is(.wp-block-table,pre),
body.page .entry-content :is(.wp-block-table,pre){max-width:100%;overflow-x:auto}
body.single .entry-content :is(.wp-block-columns,.wp-block-column,.wp-block-group),
body.page .entry-content :is(.wp-block-columns,.wp-block-column,.wp-block-group){min-width:0;max-width:100%}
body.single .post-nav,
body.single .hpud-related-posts,
body.single .comments-area{width:100%;max-width:1120px;margin-left:auto;margin-right:auto;min-width:0}
@media(max-width:700px){
 body.single .content-shell.no-sidebar,body.page .content-shell.no-sidebar{
  width:calc(100% - 24px);margin:16px auto 32px;
 }
 body.single .article-paper,body.page .article-paper{padding:20px 16px;border-radius:15px}
 body.single .entry-content,body.page .entry-content{font-size:16.5px}
}

/* v2.4.0 — Centered Page/Post editorial layout, based on supplied reference. */
:root{--hp-editorial-outer:1180px;--hp-editorial-inner:1060px}
body.single .content-shell.no-sidebar,body.page .content-shell.no-sidebar{width:min(var(--hp-editorial-outer),calc(100% - 40px));max-width:var(--hp-editorial-outer);margin:38px auto 58px}
body.single .article-paper,body.page .article-paper{width:100%;padding:clamp(24px,3.5vw,52px);border:1px solid #dfdfd5;border-radius:12px;background:#fffefa;box-shadow:0 14px 38px rgba(31,54,43,.07)}
body.single .article-paper>.breadcrumbs,body.page .article-paper>.breadcrumbs,body.single .article-paper>.entry-title,body.page .article-paper>.entry-title,body.single .article-paper>.entry-meta,body.page .article-paper>.entry-meta,body.single .article-paper>.section-sub,body.page .article-paper>.section-sub,body.single .article-paper>.featured-image,body.page .article-paper>.featured-image{width:100%;max-width:var(--hp-editorial-inner);margin-left:auto;margin-right:auto}
body.single .article-paper>.breadcrumbs,body.page .article-paper>.breadcrumbs{text-align:center;font-size:13px;margin-top:0;margin-bottom:16px}
body.single .article-paper>.entry-title,body.page .article-paper>.entry-title{text-align:center;font-size:clamp(32px,3.65vw,54px);line-height:1.16;letter-spacing:-.025em;overflow-wrap:break-word;hyphens:auto;margin-top:0;margin-bottom:14px}
body.single .article-paper>.entry-meta,body.page .article-paper>.entry-meta,body.single .article-paper>.section-sub,body.page .article-paper>.section-sub{text-align:center;margin-bottom:22px}
body.single .article-paper>.entry-meta{padding-bottom:20px;border-bottom:1px solid #deded5}
body.single .article-paper>.featured-image,body.page .article-paper>.featured-image{display:block;height:auto;max-height:none;object-fit:contain;border-radius:3px;margin-top:26px;margin-bottom:30px}
body.single .entry-content,body.page .entry-content{width:100%;max-width:var(--hp-editorial-inner);margin-left:auto;margin-right:auto}
body.single .entry-content>*,body.page .entry-content>*{max-width:100%}
body.single .post-nav,body.single .hpud-related-posts,body.single .comments-area{max-width:var(--hp-editorial-outer);margin-left:auto;margin-right:auto}
@media(max-width:700px){body.single .content-shell.no-sidebar,body.page .content-shell.no-sidebar{width:calc(100% - 20px);margin:18px auto 32px}body.single .article-paper,body.page .article-paper{padding:22px 16px;border-radius:12px}body.single .article-paper>.entry-title,body.page .article-paper>.entry-title{font-size:clamp(28px,7vw,38px);line-height:1.2}body.single .article-paper>.breadcrumbs,body.page .article-paper>.breadcrumbs{font-size:12px}}

/* v2.4.1 — Balanced navigation typography matching supplied editorial reference */
@media(min-width:1151px){
 .nav-area .nav-menu{gap:clamp(2px,.4vw,8px);align-items:center}
 .nav-area .nav-menu>li>a{font-size:17px!important;font-weight:650!important;line-height:1.35!important;padding:13px clamp(9px,.85vw,15px)!important;letter-spacing:-.012em}
 .nav-area .nav-menu .sub-menu a{font-size:15px!important;font-weight:600!important}
}
@media(min-width:781px) and (max-width:1150px){
 .nav-area .nav-menu>li>a{font-size:16px!important;font-weight:650!important;line-height:1.4!important}
}
@media(max-width:780px){
 .nav-area .nav-menu>li>a{font-size:16px!important;font-weight:650!important;line-height:1.4!important;white-space:normal!important}
 .nav-area .nav-menu .sub-menu a{font-size:15px!important}
}

/* v2.4.2: latest posts share the same responsive 3-column card layout and toggle controls. */
body.home .hpud-expand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
body.home .hpud-expand-grid .hpud-expand-item{min-width:0;display:flex}
body.home .hpud-expand-grid .hpud-expand-item[hidden]{display:none!important}
body.home .hpud-expand-grid .hpud-expand-item>.card{width:100%;height:100%}
@media(max-width:900px){body.home .hpud-expand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:650px){body.home .hpud-expand-grid{grid-template-columns:minmax(0,1fr);gap:15px}}

/* v2.4.3 — Compact end-of-post navigation, related cards and footer spacing. */
body.single .content-shell.no-sidebar{margin-bottom:22px}
body.single .content-shell.no-sidebar>div>.post-nav{margin:16px auto 12px;padding:0;gap:16px;max-width:1060px}
body.single .content-shell.no-sidebar>div>.post-nav a{font-size:15px;line-height:1.45}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"]{padding:10px 0 20px!important;margin:0 auto!important;max-width:1060px;width:100%}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .section-title{margin:0 0 14px!important;font-size:clamp(25px,2.6vw,35px);line-height:1.25}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .card{min-width:0}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .card-body{padding:19px 20px}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .card h3{font-size:clamp(17px,1.4vw,20px);line-height:1.3}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .card p{font-size:14px;line-height:1.6}
body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .card-more{margin-top:14px}
body.single .content-shell.no-sidebar>div>.comments-area{margin:12px auto 18px;max-width:1060px}
@media(max-width:850px){body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.single .content-shell.no-sidebar>div>.post-nav{grid-template-columns:1fr;gap:9px;margin:12px auto 8px}body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"]{padding:8px 0 14px!important}body.single .content-shell.no-sidebar>div>section.section[aria-label="Related posts"] .cards{grid-template-columns:1fr;gap:12px}}

/* v2.4.4 — Homepage vertical rhythm refinement.
   Keeps section order, card layout and expand/collapse behavior unchanged. */
body.home .hpud-intro-section{padding-top:clamp(22px,2.5vw,34px);padding-bottom:clamp(16px,1.9vw,26px)}
body.home .hpud-intro-section .feature-panel{margin-bottom:0}
body.home .section:has(> .wrap > .hpud-home-visuals),
body.home .section:has(> .wrap > .hpud-category-pills){padding-top:clamp(22px,2.5vw,34px);padding-bottom:clamp(20px,2.5vw,34px)}
body.home .section.hpud-featured,
body.home .section.hpud-carousel-section,
body.home .section.hpud-latest{padding-top:clamp(28px,3vw,42px);padding-bottom:clamp(18px,2.2vw,30px)}
body.home .section.hpud-featured .section-head,
body.home .section.hpud-carousel-section .section-head,
body.home .section.hpud-latest .section-head{margin-bottom:clamp(18px,1.8vw,25px)}
body.home .hpud-discover-actions{margin-top:clamp(18px,2vw,26px)}
body.home .hpud-carousel-section + .hpud-latest,
body.home .hpud-discover-grid-section + .hpud-latest{margin-top:0}
body.home .hpud-latest + .section{padding-top:clamp(20px,2.5vw,34px);padding-bottom:clamp(24px,2.8vw,38px)}
body.home .hpud-latest + .section .hp-banner{margin:0}
body.home .section:last-of-type{margin-bottom:0}
body.home .site-footer{margin-top:0}
@media(max-width:700px){
 body.home .hpud-intro-section{padding-top:20px;padding-bottom:14px}
 body.home .section.hpud-featured,body.home .section.hpud-carousel-section,body.home .section.hpud-latest{padding-top:26px;padding-bottom:18px}
 body.home .hpud-discover-actions{margin-top:18px}
 body.home .hpud-latest + .section{padding-top:18px;padding-bottom:24px}
}

/* v2.4.5 — Taller, balanced masthead with breathing room above grass */
@media (min-width: 901px) {
  .site-header { padding-top: 24px; }
  .site-header .header-inner { min-height: 120px; padding-bottom: 30px; gap: clamp(20px,3vw,46px); }
  .site-header .brand { gap: clamp(15px,1.5vw,24px); }
  .site-header .brand img.site-logo { max-height: 104px; max-width: clamp(200px,22vw,310px); }
  .site-header .brand strong { font-size: clamp(29px,2.5vw,39px); line-height: 1.12; }
  .site-header .brand small { font-size: clamp(15px,1.12vw,18px); margin-top: 6px; }
  .site-header .header-actions { flex-basis: 390px; max-width: 410px; }
  .site-header:after { height: 30px; background-size: 480px 67px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .site-header .brand img.site-logo { max-width: 210px; max-height: 88px; }
  .site-header .brand strong { font-size: clamp(25px,2.7vw,32px); }
  .site-header .header-actions { flex-basis: 300px; min-width: 220px; }
}
@media (min-width: 651px) and (max-width: 900px) {
  .site-header { padding-top: 18px; }
  .site-header .header-inner { padding-bottom: 24px; min-height: 105px; }
  .site-header:after { height: 26px; }
}
@media (max-width: 650px) {
  .site-header { padding-top: 16px; }
  .site-header .header-inner { padding-bottom: 18px; }
  .site-header:after { height: 22px; }
}

/* v2.4.6 — Center article tables without centering their text.
   Responsive scrolling is supplied by the table wrapper in assets/theme.js. */
.entry-content .hpud-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}
.entry-content .hpud-table-scroll > table,
.entry-content .wp-block-table table,
.entry-content table:not(.hpud-no-center) {
  display: table;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  border-collapse: collapse;
  overflow: visible;
  font-size: 15px;
  text-align: left;
}
.entry-content .hpud-table-scroll > table { margin-inline: auto; }
.entry-content table th,
.entry-content table td {
  text-align: left;
  vertical-align: middle;
  padding: 11px 14px;
}
/* Gutenberg table blocks already provide a figure wrapper. */
.entry-content figure.wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}
.entry-content figure.wp-block-table table { margin-inline: auto; }
@media (max-width: 650px) {
  .entry-content .hpud-table-scroll,
  .entry-content figure.wp-block-table { margin-block: 18px; }
  .entry-content table th,
  .entry-content table td { padding: 9px 11px; }
}
