/*
Theme Name: Natural Living - Hazunk Korul
Theme URI: https://hazunkkorul.hu/
Author: Custom
Description: Lightweight editorial WordPress theme for Hazunk Korul.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: natural-living
*/
:root{--green:#214c3d;--ink:#1b3029;--muted:#65736c;--bg:#f0f3ed;--cream:#fff;--line:#e2e8df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#3d8066}img{max-width:100%;height:auto;display:block}.container{width:min(1280px,calc(100% - 36px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.brand{font-weight:850;font-size:24px;letter-spacing:-.8px;color:var(--green)}.tagline{display:block;font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0}.menu{display:flex;flex-wrap:wrap;gap:19px;list-style:none;margin:0;padding:0;font-size:14px;font-weight:650}.menu li{list-style:none}.hero{background:var(--bg);padding:32px 0 42px}.hero-panel{min-height:400px;border-radius:24px;overflow:hidden;display:flex;align-items:center;background:linear-gradient(90deg,rgba(17,54,42,.92),rgba(17,54,42,.23)),url('assets/hero.jpg') center/cover,linear-gradient(120deg,#426b59,#a7b8a0);color:#fff}.hero-copy{max-width:700px;padding:clamp(26px,5vw,68px)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(36px,5vw,64px);line-height:1.14;margin:14px 0}.hero p{font-size:18px}.pill{display:inline-block;padding:12px 22px;border-radius:40px;background:#f6f5e9;color:#193b2f;font-weight:750}.section{padding:46px 0}.section:nth-of-type(even){background:var(--bg)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}.section h2{font-size:clamp(26px,3vw,37px);line-height:1.2;margin:0}.section-heading a{font-weight:750;color:var(--green)}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.tile{background:white;border-radius:19px;overflow:hidden;box-shadow:0 5px 22px #122b1c0d;min-width:0}.tile img,.tile .fallback{width:100%;aspect-ratio:1.6;object-fit:cover;background:linear-gradient(135deg,#c5d8ca,#759985)}.tile-body{padding:18px}.tile .meta{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:850;color:#49745e}.tile h3{font-size:19px;line-height:1.35;margin:9px 0}.tile p{font-size:13px;color:var(--muted);margin:0}.tiles.featured{grid-template-columns:repeat(4,minmax(0,1fr))}.featured .tile:first-child{grid-column:span 2;grid-row:span 2}.featured .tile:first-child img{aspect-ratio:1.3}.featured .tile:first-child h3{font-size:27px}.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tiles.two{grid-template-columns:repeat(2,minmax(0,1fr))}.season{display:block;position:relative;min-height:180px;border-radius:18px;overflow:hidden;background:#dce7d7}.season img{width:100%;height:200px;object-fit:cover}.season span{position:absolute;bottom:12px;left:14px;background:#fffdf1;padding:8px 16px;border-radius:30px;font-weight:800}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:45px;padding:44px 0}.article{min-width:0}.article h1{font-size:clamp(32px,4vw,48px);line-height:1.2}.article-content{font-size:17px}.article-content a{text-decoration:underline;color:var(--green)}.article-content img{border-radius:12px}.article-content h2,.article-content h3{line-height:1.3}.sidebar-box{border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:20px;background:white}.sidebar-box h2{font-size:21px;margin:0 0 16px}.recent-item{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;margin-bottom:15px}.recent-item img,.recent-placeholder{width:72px;height:66px;object-fit:cover;border-radius:9px;background:#dce7d7}.recent-item a{font-weight:700;font-size:14px;line-height:1.35}.recent-item small{display:block;color:var(--muted)}.sidebar-box ul{margin:0;padding-left:18px}.sidebar-box li{margin:7px 0}.tagcloud a{display:inline-block;border:1px solid var(--line);padding:3px 9px;margin:3px;border-radius:8px;font-size:13px!important}.site-footer{background:#1c4034;color:#fff;padding:40px 0}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.footer-grid a{color:#fff}.back-top{position:fixed;right:20px;bottom:20px;border:0;background:#214c3d;color:white;border-radius:50%;width:49px;height:49px;cursor:pointer;z-index:10;font-size:22px}.pagination{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}.pagination .page-numbers{padding:8px 13px;border-radius:8px;background:var(--bg)}.pagination .current{background:var(--green);color:white}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:980px){.tiles,.tiles.featured{grid-template-columns:repeat(2,minmax(0,1fr))}.featured .tile:first-child{grid-column:span 2;grid-row:auto}.content-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.header-inner{flex-wrap:wrap;padding:14px 0}.menu{gap:12px}}@media(max-width:600px){.tiles,.tiles.featured,.tiles.three,.tiles.two{grid-template-columns:1fr}.featured .tile:first-child{grid-column:span 1}.hero-panel{min-height:360px}.hero-copy{padding:25px}.section{padding:32px 0}.season img{height:170px}.section-heading{align-items:start;flex-direction:column}}
/* V1.1: compact hero, consistent image ratios, balanced featured grids */
.hero{padding:22px 0 28px}.hero .container{width:min(1100px,calc(100% - 36px))}.hero-panel{min-height:265px;border-radius:20px}.hero-copy{max-width:720px;padding:clamp(24px,3.5vw,42px)}.hero h1{font-size:clamp(30px,3.8vw,48px);line-height:1.13;margin:10px 0}.hero p{margin:10px 0 18px;font-size:16px}
.tiles.featured{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.tiles.featured .tile:first-child{grid-column:span 1;grid-row:auto}.tiles.featured .tile:first-child img{aspect-ratio:1.6}.tiles.featured .tile:first-child h3{font-size:19px}.tiles.featured .tile img{aspect-ratio:1.6;object-fit:cover}.tiles.featured .tile{height:100%}.tiles.featured .tile-body{padding:16px}.tiles.featured .tile h3{font-size:18px}.tiles.featured .tile p{font-size:12px}
@media(max-width:980px){.tiles.featured{grid-template-columns:repeat(2,minmax(0,1fr))}.tiles.featured .tile:first-child{grid-column:auto}}
@media(max-width:600px){.tiles.featured{grid-template-columns:1fr}.hero-panel{min-height:245px}.hero-copy{padding:22px}.hero h1{font-size:32px}}

/* V1.2: Garden four-card mosaic: large left, wide top-right, two bottom-right */
.tiles.garden-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.tiles.garden-featured .tile{min-width:0;height:100%}
.tiles.garden-featured .tile:first-child{grid-column:1 / 3;grid-row:1 / 3}
.tiles.garden-featured .tile:nth-child(2){grid-column:3 / 5;grid-row:1}
.tiles.garden-featured .tile:nth-child(3){grid-column:3;grid-row:2}
.tiles.garden-featured .tile:nth-child(4){grid-column:4;grid-row:2}
.tiles.garden-featured .tile a{display:flex;flex-direction:column;height:100%}
.tiles.garden-featured .tile img,.tiles.garden-featured .tile .fallback{width:100%;aspect-ratio:16/9;object-fit:cover;flex-shrink:0}
.tiles.garden-featured .tile:first-child img,.tiles.garden-featured .tile:first-child .fallback{aspect-ratio:4/3}
.tiles.garden-featured .tile:first-child h3{font-size:24px}
.tiles.garden-featured .tile:nth-child(n+3) h3{font-size:17px}
@media(max-width:900px){.tiles.garden-featured{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.tiles.garden-featured .tile:first-child,.tiles.garden-featured .tile:nth-child(2),.tiles.garden-featured .tile:nth-child(3),.tiles.garden-featured .tile:nth-child(4){grid-column:auto;grid-row:auto}.tiles.garden-featured .tile:first-child img{aspect-ratio:16/9}}
@media(max-width:600px){.tiles.garden-featured{grid-template-columns:1fr}}

/* V1.3: Six tall garden tiles, a single desktop row */
.tiles.garden-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
.tiles.garden-six .tile{min-width:0;height:100%}
.tiles.garden-six .tile>a{display:flex;flex-direction:column;height:100%}
.tiles.garden-six .tile img,.tiles.garden-six .tile .fallback{width:100%;aspect-ratio:3/4;object-fit:cover}
.tiles.garden-six .tile-body{padding:13px;display:flex;flex:1;flex-direction:column}
.tiles.garden-six .tile h3{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.tiles.garden-six .tile p{margin-top:auto;padding-top:12px;color:var(--green);font-weight:700;font-size:12px}
.tiles.garden-six .tile .meta{font-size:10px}
.all-categories-nav{display:inline-block;margin-left:15px;color:var(--green);font-weight:800;white-space:nowrap}
.category-directory{padding-top:42px;padding-bottom:70px}.directory-intro h1{font-size:clamp(30px,4vw,48px);margin:0}.directory-intro p{color:var(--muted)}
.directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.directory-card{background:var(--bg);border:1px solid var(--line);border-radius:17px;min-height:165px;padding:22px;display:flex;flex-direction:column;gap:7px;transition:transform .15s ease}
.directory-card:hover{transform:translateY(-2px)}.directory-card-title{font-weight:800;font-size:20px;line-height:1.3}.directory-card-count{color:var(--muted);font-size:13px}.directory-card-arrow{color:var(--green);font-size:13px;font-weight:750;margin-top:auto}
@media(max-width:1050px){.tiles.garden-six{grid-template-columns:repeat(3,minmax(0,1fr))}.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.tiles.garden-six{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tiles.garden-six .tile-body{padding:10px}.tiles.garden-six .tile h3{font-size:14px}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directory-card{padding:14px;min-height:140px}.directory-card-title{font-size:16px}.all-categories-nav{margin-left:0}}

/* V1.4 image-led category directory and four practical topics */
.directory-grid{align-items:stretch}
.directory-card,.practical-tile{padding:0;overflow:hidden;display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid var(--line);border-radius:17px;min-width:0}
.category-tile-image{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#c8d9c9}
.category-tile-fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#b7cdb7,#537a68);color:#fff;font-size:60px}
.category-tile-content{display:flex;flex:1;flex-direction:column;gap:8px;padding:17px 19px}
.directory-card-arrow{margin-top:auto}
.practical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.practical-tile .directory-card-title{font-size:20px}
.practical-tile .category-tile-image{aspect-ratio:4/3}
@media(max-width:900px){.practical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.directory-card{min-height:0}.directory-card .category-tile-content,.practical-tile .category-tile-content{padding:12px}.directory-card-title{font-size:16px}.category-tile-image{aspect-ratio:4/3}}

/* V1.5 clean responsive navigation */
.header-inner{display:flex;align-items:center;gap:22px;min-height:88px}
.brand{flex:0 0 auto;font-size:clamp(19px,2vw,24px);max-width:235px;line-height:1.25}
.primary-nav{margin-left:auto;min-width:0}
.primary-nav .menu{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(8px,1.2vw,17px);margin:0;padding:0;list-style:none}
.primary-nav .menu>li{margin:0;flex:0 0 auto}
.primary-nav .menu a{font-size:clamp(11px,.91vw,13px);line-height:1.35;font-weight:700;display:block;white-space:nowrap}
.primary-nav .all-categories-nav{margin-left:0;padding:9px 12px;border-radius:22px;background:#eaf1e9}
.nav-toggle{display:none;border:1px solid var(--line);border-radius:10px;padding:9px 13px;background:#fff;color:var(--green);font-weight:750;cursor:pointer}
@media(max-width:1180px){.header-inner{flex-wrap:wrap;gap:12px;padding:14px 0}.primary-nav{width:100%;margin:0}.primary-nav .menu{justify-content:flex-start;gap:10px 18px;flex-wrap:wrap}.primary-nav .menu a{font-size:13px}}
@media(max-width:760px){.header-inner{flex-wrap:wrap;justify-content:space-between}.nav-toggle{display:block}.primary-nav{display:none;width:100%}.primary-nav.is-open{display:block}.primary-nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.primary-nav .menu li{border-top:1px solid var(--line)}.primary-nav .menu a{padding:11px 4px;font-size:14px}.primary-nav .all-categories-nav{border-radius:0;background:transparent}}
/* Protect page structure from auto ad injection; dashboard exclusions may still be needed. */
.site-header,.site-header *, .hero-panel,.tile,.directory-card,.practical-tile{position:relative}
