/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme — swen.hu magazin front page
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

:root{
  --paper:#ffffff;--tint:#f4f5f6;--line:#e4e6e8;
  --ink:#14171a;--slate:#5b626a;--faint:#9aa1a8;
  --petrol:#0e5a63;
  /* Kategóriaszínek */
  --c-penz:#1f6b4d;
  --c-karrier:#254a86;
  --c-teljesitmeny:#0e5a63;
  --c-stilus:#6d3f66;
  --c-elet:#9b5a4f;
  --c-vilag:#4a555e;
  --c-extra:#4c4a7d;
  --maxw:1200px;--gap:clamp(20px,3.2vw,40px);--radius:2px;
}
.swen-home{font-family:"Inter",system-ui,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;font-feature-settings:"ss01","cv05"}
.swen-home a{color:inherit;text-decoration:none}
.swen-home img{max-width:100%;display:block}
.swen-home .wrap{max-width:var(--maxw);margin:0 auto;padding-inline:clamp(20px,5vw,40px)}
.swen-home .kicker{font-family:"Space Mono",monospace;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}

/* HERO MOZAIK */
.swen-home .cover{padding-block:clamp(24px,3vw,36px) clamp(30px,3.4vw,44px)}
.swen-home .cover-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:clamp(18px,2.4vw,28px)}
.swen-home .cover-top .rule{height:1px;background:var(--line);flex:1;margin:0 4px}
.swen-home .mosaic{display:grid;grid-template-columns:1.62fr 1fr;gap:var(--gap)}
.swen-home .mosaic-side{display:flex;flex-direction:column;gap:var(--gap)}
.swen-home .feat{position:relative;display:block;border-radius:var(--radius);overflow:hidden;background:linear-gradient(135deg,#c9d4d6,#e9edee)}
.swen-home .feat .img{position:absolute;inset:0;transition:transform .6s ease;background-size:cover;background-position:center 35%}
.swen-home .feat:hover .img{transform:scale(1.035)}
.swen-home .feat .scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(9,11,13,.92) 0%,rgba(9,11,13,.55) 42%,rgba(9,11,13,.05) 78%)}
.swen-home .feat .cat-line{position:absolute;top:0;left:0;right:0;height:4px;z-index:3}
.swen-home .feat .body{position:absolute;left:0;right:0;bottom:0;z-index:2;color:#fff}
.swen-home .feat .tag{font-family:"Space Mono",monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;display:inline-flex;gap:9px;align-items:center;margin-bottom:11px;color:#fff}
.swen-home .feat .tag .d{opacity:.75;font-weight:400}
.swen-home .feat h2,.swen-home .feat h3{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;letter-spacing:-.01em;line-height:1.08;color:#fff}
.swen-home .feat p{color:#e4e6e8;margin-top:10px}
.swen-home .feat.big{aspect-ratio:1/1}
.swen-home .feat.big .body{padding:clamp(22px,3vw,34px)}
.swen-home .feat.big h2{font-size:clamp(24px,3vw,38px);max-width:18ch}
.swen-home .feat.big p{font-size:15px;max-width:50ch;display:none}
@media(min-width:700px){.swen-home .feat.big p{display:block}}
.swen-home .feat.mini{aspect-ratio:4/3}
.swen-home .feat.mini .body{padding:clamp(16px,2vw,22px)}
.swen-home .feat.mini h3{font-size:clamp(17px,1.5vw,21px);max-width:24ch}

.swen-home .ph-a{background:linear-gradient(135deg,#b6c6c8,#dde4e5)}
.swen-home .ph-b{background:linear-gradient(135deg,#c3cede,#e2e8f0)}
.swen-home .ph-c{background:linear-gradient(135deg,#c2d0c6,#e2ebe4)}
.swen-home .ph-d{background:linear-gradient(135deg,#ccd0d3,#e6e8ea)}
.swen-home .ph-e{background:linear-gradient(135deg,#d4c7d1,#ece4ea)}
.swen-home .ph-f{background:linear-gradient(135deg,#d9c9c3,#efe5e1)}

/* KATEGÓRIA SZÍNSÁV */
.swen-home .pills-sec{padding-block:18px;border-bottom:1px solid var(--line)}
.swen-home .pills{display:flex;flex-wrap:wrap;gap:10px}
.swen-home .pill{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border:1px solid var(--line);border-radius:100px;font-size:13.5px;font-weight:600;color:var(--accent);transition:background .18s,color .18s,border-color .18s}
.swen-home .pill .pd{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.swen-home .pill:hover{background:var(--accent);color:#fff;border-color:transparent}
.swen-home .pill:hover .pd{background:#fff}

/* KÁRTYA ALAPOK */
.swen-home .thumb{position:relative;overflow:hidden;border-radius:var(--radius);aspect-ratio:4/3;background:linear-gradient(135deg,#dfe4e6,#eef1f2)}
.swen-home .thumb.has-img::after{content:none}
.swen-home .thumb::after{content:"KÉP";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:"Space Mono",monospace;font-size:10px;letter-spacing:.2em;color:#aeb5b9}
.swen-home .thumb .cat-line{position:absolute;top:0;left:0;right:0;height:3px;z-index:2}
.swen-home .thumb-img{position:absolute;inset:0;transition:transform .5s ease;z-index:1;background-size:cover;background-position:center 30%}
.swen-home .cat-tag{font-family:"Space Mono",monospace;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}

/* SZEKCIÓFEJ */
.swen-home .sec{padding-block:clamp(42px,5vw,68px)}
.swen-home .sec.tinted{background:var(--tint)}
.swen-home .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px;padding-bottom:14px;border-bottom:2px solid var(--accent,var(--ink))}
.swen-home .sec-head h2{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:clamp(22px,3vw,30px);letter-spacing:-.01em;color:var(--accent,var(--ink))}
.swen-home .sec-head .more{font-size:13px;font-weight:600;color:var(--accent,var(--petrol));white-space:nowrap}
.swen-home .sec-head .more:hover{text-decoration:underline}

/* EXTRA ROVAT */
.swen-home .extra-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.swen-home .xcard{display:flex;flex-direction:column}
.swen-home .xcard .thumb{margin-bottom:14px}
.swen-home .xcard .meta{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.swen-home .xcard .byline{font-family:"Space Mono",monospace;font-size:11px;color:var(--faint)}
.swen-home .xcard h3{font-family:"Bricolage Grotesque",sans-serif;font-weight:600;font-size:20px;line-height:1.16;letter-spacing:-.01em;transition:color .18s}
.swen-home .xcard:hover h3{color:var(--c-extra)}
.swen-home .xcard:hover .thumb-img{transform:scale(1.03)}
.swen-home .xcard .dek{color:var(--slate);font-size:14.5px;margin-top:8px}

/* KÉTOSZLOPOS RÉSZ */
.swen-home .layout{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:clamp(28px,4vw,52px);align-items:start;padding-block:clamp(42px,5vw,64px)}

/* ROVATDOBOZOK */
.swen-home .rovat{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--paper)}
.swen-home .rovat+.rovat{margin-top:var(--gap)}
.swen-home .rovat-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;border-top:4px solid var(--accent);background:linear-gradient(180deg,rgba(0,0,0,.015),transparent)}
.swen-home .rovat-head h3{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:18px;letter-spacing:-.01em;color:var(--accent)}
.swen-home .rovat-head .all{font-family:"Space Mono",monospace;font-size:11px;font-weight:700;color:var(--accent);letter-spacing:.05em;white-space:nowrap}
.swen-home .rovat-head .all:hover{text-decoration:underline}
.swen-home .rovat-body{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(18px,2.4vw,28px);padding:clamp(18px,2.2vw,22px)}
.swen-home .rovat-lead{display:flex;flex-direction:column}
.swen-home .rovat-lead .thumb{aspect-ratio:4/3;margin-bottom:13px}
.swen-home .rovat-lead .thumb::after{content:none}
.swen-home .badge{position:absolute;left:0;bottom:0;z-index:3;font-family:"Space Mono",monospace;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;padding:6px 12px;background:var(--accent)}
.swen-home .rovat-lead:hover .thumb-img{transform:scale(1.03)}
.swen-home .rl-title{font-family:"Bricolage Grotesque",sans-serif;font-weight:600;font-size:20px;line-height:1.14;letter-spacing:-.01em;transition:color .18s}
.swen-home .rovat-lead:hover .rl-title{color:var(--accent)}
.swen-home .rl-byline{font-family:"Space Mono",monospace;font-size:10.5px;color:var(--faint);margin-top:8px;letter-spacing:.04em}
.swen-home .rl-byline b{color:var(--slate);font-weight:700}
.swen-home .rl-dek{color:var(--slate);font-size:13.5px;margin-top:9px;line-height:1.5}
.swen-home .rovat-list{list-style:none;display:flex;flex-direction:column}
.swen-home .rovat-list li{border-bottom:1px solid var(--line)}
.swen-home .rovat-list li:last-child{border-bottom:0}
.swen-home .rovat-list a{display:flex;gap:13px;align-items:flex-start;padding:13px 0;transition:opacity .18s}
.swen-home .rovat-list li:first-child a{padding-top:0}
.swen-home .rovat-list li:last-child a{padding-bottom:0}
.swen-home .li-thumb{position:relative;overflow:hidden;border-radius:var(--radius);width:90px;aspect-ratio:4/3;flex:none;background:linear-gradient(135deg,#dfe4e6,#eef1f2)}
.swen-home .li-thumb .thumb-img{position:absolute;inset:0;transition:transform .4s ease}
.swen-home .rovat-list a:hover .thumb-img{transform:scale(1.05)}
.swen-home .li-title{display:block;font-family:"Bricolage Grotesque",sans-serif;font-weight:600;font-size:14.5px;line-height:1.22;letter-spacing:-.005em;transition:color .18s}
.swen-home .rovat-list a:hover .li-title{color:var(--accent)}
.swen-home .li-date{display:block;font-family:"Space Mono",monospace;font-size:10px;color:var(--faint);margin-top:6px;letter-spacing:.03em}

/* SIDEBAR */
.swen-home .sidebar{display:flex;flex-direction:column;gap:var(--gap);position:sticky;top:24px;align-self:start}
.swen-home .side-box{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.swen-home .side-title{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:17px;letter-spacing:-.01em;padding-bottom:12px;margin-bottom:6px;border-bottom:2px solid var(--ink);display:flex;align-items:baseline;justify-content:space-between}
.swen-home .side-title .sub{font-family:"Space Mono",monospace;font-size:10px;font-weight:400;color:var(--faint);letter-spacing:.08em;text-transform:uppercase}
.swen-home .side-list{list-style:none}
.swen-home .side-list li{padding:12px 0;border-bottom:1px solid var(--line)}
.swen-home .side-list li:last-child{border-bottom:0;padding-bottom:0}
.swen-home .side-list a{display:flex;gap:9px;align-items:flex-start}
.swen-home .side-list a:hover .st-title{color:var(--petrol)}
.swen-home .cdot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex:none}
.swen-home .st-title{display:block;font-size:13.5px;font-weight:500;line-height:1.34;transition:color .18s}
.swen-home .st-meta{display:block;font-family:"Space Mono",monospace;font-size:10px;color:var(--faint);letter-spacing:.05em;margin-top:4px;text-transform:uppercase}
.swen-home .top-list{list-style:none}
.swen-home .top-list li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}
.swen-home .top-list li:last-child{border-bottom:0;padding-bottom:0}
.swen-home .tn{font-family:"Space Mono",monospace;font-weight:700;font-size:18px;line-height:1;min-width:22px}
.swen-home .top-list a{font-size:13.5px;font-weight:500;line-height:1.34;transition:color .18s}
.swen-home .top-list a:hover{color:var(--petrol)}

/* REVEAL */
.swen-home .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.swen-home .reveal.in{opacity:1;transform:none}

/* RESPONZÍV */
@media(max-width:960px){
  .swen-home .layout{grid-template-columns:1fr}
  .swen-home .sidebar{position:static}
}
@media(max-width:900px){
  .swen-home .mosaic{grid-template-columns:1fr}
  .swen-home .mosaic-side{flex-direction:row}
  .swen-home .mosaic-side .feat{flex:1}
  .swen-home .extra-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .swen-home .mosaic-side{flex-direction:column}
  .swen-home .extra-grid{grid-template-columns:1fr}
  .swen-home .rovat-body{grid-template-columns:1fr}
  .swen-home .feat.big{aspect-ratio:4/3}
  .swen-home .sec-head{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .swen-home *{transition:none!important;animation:none!important}
  .swen-home .reveal{opacity:1;transform:none}
}
