/* BlogShog hub pages: three distinct designs (technology, love & lifestyle, food). */
.hub{overflow:hidden}
.hub .h-wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:20px}
.hub .h-sec{padding:44px 0 6px}
.hub .h-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 22px}
.hub .h-head h2{margin:0 0 6px;font-size:clamp(1.55rem,3vw,2.2rem)}
.hub .h-head p{margin:0;color:var(--muted);max-width:720px}
.hub .h-more{font-weight:700;text-decoration:none;white-space:nowrap}
.hub small{color:var(--muted);font-size:.82rem}
.hub .im{position:relative;display:block;overflow:hidden;background:var(--surface-2)}
.hub .im img,.hub .h-ov>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}

/* Shared card types */
.h-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;color:var(--ink);text-decoration:none;transition:transform .22s,box-shadow .22s}
.h-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.h-card:hover img,.h-ov:hover>img,.h-row:hover img{transform:scale(1.06)}
.h-card .im{aspect-ratio:16/10}
.h-card .b{display:flex;flex-direction:column;gap:8px;padding:16px 18px 20px}
.h-card strong{font-family:var(--font-head);font-size:1.12rem;line-height:1.3}
.h-ov{position:relative;display:block;overflow:hidden;border-radius:20px;background:var(--brand-2);color:#fff;text-decoration:none;min-height:220px}
.h-ov::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,16,16,.9) 6%,rgba(5,16,16,.08) 70%)}
.h-ov-copy{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:18px 20px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.h-ov-copy strong{font-family:var(--font-head);font-size:1.1rem;line-height:1.25}
.h-ov-copy small{color:#d7e6e4}
.h-row{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:center;color:var(--ink);text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px;transition:box-shadow .2s,transform .2s}
.h-row:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.h-row .im{aspect-ratio:4/3;border-radius:12px}
.h-row strong{display:block;font-family:var(--font-head);font-size:1.02rem;line-height:1.3;margin-bottom:4px}
.h-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,285px);gap:16px;overflow-x:auto;padding:4px 2px 16px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.h-rail>*{scroll-snap-align:start}
.h-grid3{display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}
.h-grid4{display:grid;gap:18px;grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){.h-grid4{grid-template-columns:repeat(2,1fr)}.h-grid3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.h-grid4,.h-grid3{grid-template-columns:1fr}.h-row{grid-template-columns:96px 1fr}}
.hub .h-faq{max-width:900px;margin:0 auto}
.hub .h-faq .bs-faq-acc{max-width:none}
.hub .h-note{margin:0 0 6px;padding:16px 20px;border-radius:14px;background:var(--accent-soft);border:1px solid var(--line);border-left:5px solid var(--accent);font-size:.98rem}

/* ---------- TECHNOLOGY: dark dashboard ---------- */
.hub-tech .h-hero{position:relative;color:#e9f6f4;padding:58px 0 70px;background:radial-gradient(900px 420px at 88% -8%,rgba(76,194,182,.38),transparent 60%),linear-gradient(135deg,#061923 0%,#0a2c38 55%,#0d5650 100%);border-radius:0 0 30px 30px}
.hub-tech .h-hero::before{content:"";position:absolute;inset:0;border-radius:inherit;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 88%);mask-image:linear-gradient(to bottom,#000,transparent 88%)}
.hub-tech .h-hero-grid{position:relative;display:grid;gap:42px;grid-template-columns:1.15fr .85fr;align-items:center}
.hub-tech .h-eyebrow{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(76,194,182,.18);color:#8de4da;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;margin-bottom:16px}
.hub-tech h1{color:#fff;font-size:clamp(2rem,4.2vw,3.3rem);line-height:1.12;margin:0 0 18px}
.hub-tech .h-lead{font-size:1.12rem;line-height:1.75;color:#cfe6e3;margin:0 0 14px}
.hub-tech .h-lead a{color:#8de4da}
.hub-tech .h-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hub-tech .h-chips a{padding:8px 15px;border-radius:999px;border:1px solid rgba(255,255,255,.22);color:#e9f6f4;text-decoration:none;font-weight:600;font-size:.9rem;background:rgba(255,255,255,.06)}
.hub-tech .h-chips a:hover{background:#4cc2b6;color:#062321;border-color:#4cc2b6}
.hub-tech .h-hero-cards{display:grid;gap:14px;grid-template-columns:1fr 1fr}
.hub-tech .h-hero-cards .h-ov{min-height:190px;border:1px solid rgba(255,255,255,.14)}
.hub-tech .h-bento{display:grid;gap:16px;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;margin-top:-34px;position:relative}
.hub-tech .h-bento .h-ov:nth-child(1){grid-column:span 2;grid-row:span 2}
.hub-tech .h-bento .h-ov:nth-child(2){grid-column:span 2}
.hub-tech .h-bento .h-ov{min-height:0;box-shadow:var(--shadow-lg)}
.hub-tech .h-bento .tile-desc{font-size:.92rem;color:#d7e6e4;max-width:34ch}
.hub-tech .h-bento .tile-count{font-size:.8rem;font-weight:700;color:#8de4da;letter-spacing:.04em}
@media (max-width:980px){.hub-tech .h-hero-grid{grid-template-columns:1fr}.hub-tech .h-bento{grid-template-columns:1fr 1fr;grid-auto-rows:180px}.hub-tech .h-bento .h-ov:nth-child(1){grid-row:span 1}}
@media (max-width:560px){.hub-tech .h-bento{grid-template-columns:1fr}.hub-tech .h-hero-cards{grid-template-columns:1fr 1fr}}
.hub-tech .h-split{display:grid;gap:20px;grid-template-columns:1.25fr 1fr}
.hub-tech .h-split .h-ov{min-height:100%}
.hub-tech .h-split .h-stack{display:grid;gap:14px;align-content:start}
@media (max-width:900px){.hub-tech .h-split{grid-template-columns:1fr}.hub-tech .h-split .h-ov{min-height:300px}}
.hub-tech .h-num{counter-reset:n}
.hub-tech .h-num .h-card{position:relative;counter-increment:n}
.hub-tech .h-num .h-card::before{content:counter(n);position:absolute;z-index:2;top:12px;left:12px;width:34px;height:34px;border-radius:50%;background:var(--brand);color:var(--on-brand);display:grid;place-items:center;font-weight:800}
.hub-tech .h-path{display:grid;gap:18px;grid-template-columns:repeat(3,1fr);counter-reset:s}
.hub-tech .h-step{position:relative;counter-increment:s;background:linear-gradient(160deg,var(--surface),var(--surface-2));border:1px solid var(--line);border-radius:20px;padding:26px 24px 24px;text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s}
.hub-tech .h-step:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.hub-tech .h-step::before{content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--brand);color:var(--on-brand);font-weight:800;font-size:1.2rem;margin-bottom:14px}
.hub-tech .h-step strong{display:block;font-family:var(--font-head);font-size:1.15rem;margin-bottom:6px}
.hub-tech .h-step span{color:var(--muted);font-size:.95rem}
@media (max-width:820px){.hub-tech .h-path{grid-template-columns:1fr}}

/* ---------- LOVE & LIFESTYLE: warm editorial ---------- */
.hub-life .h-hero{padding:56px 0 60px;background:linear-gradient(120deg,#fff3e8 0%,#ffe4e0 48%,#efe6ff 100%)}
@media (prefers-color-scheme:dark){.hub-life .h-hero{background:linear-gradient(120deg,#2a1d16,#2d1b20,#231b30)}}
.hub-life .h-hero-grid{display:grid;gap:44px;grid-template-columns:1.05fr .95fr;align-items:center}
.hub-life .h-eyebrow{display:inline-block;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;color:var(--accent);margin-bottom:14px}
.hub-life h1{font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.1;margin:0 0 18px}
.hub-life .h-lead{font-size:1.14rem;line-height:1.8;margin:0 0 14px}
.hub-life .h-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hub-life .h-pills a{padding:9px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);text-decoration:none;font-weight:700;font-size:.9rem;color:var(--ink)}
.hub-life .h-pills a:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.hub-life .h-collage{position:relative;height:440px}
.hub-life .h-collage .h-ov{position:absolute;border:7px solid var(--surface);box-shadow:var(--shadow-lg);min-height:0}
.hub-life .h-collage .h-ov:nth-child(1){left:0;top:26px;width:56%;height:310px;transform:rotate(-3deg)}
.hub-life .h-collage .h-ov:nth-child(2){right:0;top:0;width:47%;height:236px;transform:rotate(3deg)}
.hub-life .h-collage .h-ov:nth-child(3){right:7%;bottom:0;width:50%;height:210px;transform:rotate(-2deg)}
.hub-life .h-collage .h-ov-copy strong{font-size:.98rem}
@media (max-width:900px){.hub-life .h-hero-grid{grid-template-columns:1fr}.hub-life .h-collage{height:auto;display:grid;gap:14px;grid-template-columns:1fr 1fr}.hub-life .h-collage .h-ov{position:relative;inset:auto;width:auto!important;height:190px!important;transform:none!important}.hub-life .h-collage .h-ov:nth-child(1){grid-column:span 2}}
.hub-life .h-feature{display:grid;gap:32px;grid-template-columns:1.1fr 1fr;align-items:center;margin-bottom:24px}
.hub-life .h-feature.rev .h-feature-img{order:2}
.hub-life .h-feature-img{position:relative;display:block;aspect-ratio:4/3;border-radius:26px;overflow:hidden;box-shadow:var(--shadow-lg);background:var(--surface-2)}
.hub-life .h-feature-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s}
.hub-life .h-feature-img:hover img{transform:scale(1.05)}
.hub-life .h-feature-txt h3{font-size:clamp(1.5rem,2.8vw,2.1rem);line-height:1.18;margin:12px 0}
.hub-life .h-feature-txt p{color:var(--muted);font-size:1.05rem}
@media (max-width:860px){.hub-life .h-feature{grid-template-columns:1fr}.hub-life .h-feature.rev .h-feature-img{order:0}}
.hub-life .h-masonry{columns:3 250px;column-gap:16px}
.hub-life .h-masonry .h-ov{display:block;break-inside:avoid;margin-bottom:16px;min-height:0}
.hub-life .h-masonry .h-ov:nth-child(3n+1){aspect-ratio:4/5}
.hub-life .h-masonry .h-ov:nth-child(3n+2){aspect-ratio:1/1}
.hub-life .h-masonry .h-ov:nth-child(3n){aspect-ratio:4/3}
.hub-life .h-stories{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
.hub-life .h-story{display:flex;flex-direction:column;gap:12px;border-radius:22px;padding:22px;text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s}
.hub-life .h-story:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.hub-life .h-story:nth-child(3n+1){background:#ffeadf}
.hub-life .h-story:nth-child(3n+2){background:#fde2ea}
.hub-life .h-story:nth-child(3n){background:#ece4ff}
@media (prefers-color-scheme:dark){.hub-life .h-story:nth-child(n){background:var(--surface-2)}}
.hub-life .h-story .im{aspect-ratio:3/2;border-radius:16px}
.hub-life .h-story strong{font-family:var(--font-head);font-size:1.18rem;line-height:1.28;color:#2b2420}
@media (prefers-color-scheme:dark){.hub-life .h-story strong{color:var(--ink)}}
.hub-life .h-story small{color:#6c5f58}
@media (max-width:900px){.hub-life .h-stories{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.hub-life .h-stories{grid-template-columns:1fr}}
.hub-life .h-list{counter-reset:m;display:grid;gap:12px}
.hub-life .h-list .h-row{counter-increment:m;position:relative;padding-left:62px}
.hub-life .h-list .h-row::before{content:counter(m);position:absolute;left:14px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800}

/* ---------- FOOD: photo gallery and rails ---------- */
.hub-food .h-hero{padding:36px 0 6px;text-align:center}
.hub-food .h-eyebrow{display:inline-block;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;color:#fff;background:var(--accent);padding:6px 14px;border-radius:999px;margin-bottom:14px}
.hub-food h1{font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.12;margin:0 auto 16px;max-width:900px}
.hub-food .h-lead{max-width:860px;margin:0 auto 12px;font-size:1.1rem;line-height:1.75}
.hub-food .h-gallery{display:grid;gap:12px;grid-template-columns:repeat(6,1fr);grid-auto-rows:170px;margin:26px 0 8px;text-align:left}
.hub-food .h-gallery .h-ov{min-height:0;border-radius:22px}
.hub-food .h-gallery .h-ov:nth-child(1){grid-column:span 2;grid-row:span 2}
.hub-food .h-gallery .h-ov:nth-child(n+2){grid-column:span 2}
.hub-food .h-gallery .h-ov-copy strong{font-size:1.02rem}
@media (max-width:760px){.hub-food .h-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:150px}.hub-food .h-gallery .h-ov:nth-child(1){grid-column:span 2}.hub-food .h-gallery .h-ov:nth-child(n+2){grid-column:span 1}}
.hub-food .h-jump{display:flex;gap:10px;overflow-x:auto;padding:14px 2px;justify-content:center;flex-wrap:wrap}
.hub-food .h-jump a{padding:8px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);text-decoration:none;font-weight:700;font-size:.9rem;color:var(--ink);white-space:nowrap}
.hub-food .h-jump a:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.hub-food .h-collections{display:grid;gap:14px;grid-template-columns:repeat(4,1fr)}
.hub-food .h-collections .h-ov{aspect-ratio:1/1;min-height:0;border-radius:22px}
.hub-food .h-collections .h-ov-copy strong{font-size:1.25rem}
.hub-food .h-collections .h-ov-copy small{font-weight:700;color:#ffd9b0}
@media (max-width:900px){.hub-food .h-collections{grid-template-columns:1fr 1fr}}
.hub-food .h-rail-sec{padding-top:34px}
.hub-food .h-rail .h-card .im{aspect-ratio:4/3}
.hub-food .h-masonry{columns:4 220px;column-gap:14px}
.hub-food .h-masonry .h-ov{display:block;break-inside:avoid;margin-bottom:14px;min-height:0}
.hub-food .h-masonry .h-ov:nth-child(4n+1){aspect-ratio:3/4}
.hub-food .h-masonry .h-ov:nth-child(4n+2){aspect-ratio:1/1}
.hub-food .h-masonry .h-ov:nth-child(4n+3){aspect-ratio:4/5}
.hub-food .h-masonry .h-ov:nth-child(4n){aspect-ratio:5/4}
.hub-food .h-cuis{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.hub-food .h-cui{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s}
.hub-food .h-cui:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--accent)}
.hub-food .h-cui b{font-size:1.6rem;line-height:1}
.hub-food .h-cui strong{display:block;font-family:var(--font-head);font-size:1.02rem}
.hub-food .h-cui span{color:var(--muted);font-size:.86rem}
