/* Site chrome: topbar + header + nav + footer + CMS prose.
   Rewritten 2026-07, replaces the generated assets/theme/ stylesheets.
   Palette matches shop.css: navy / teal / orange. */

:root {
    --c-navy: #00193B;
    --c-teal: #00b7ad;
    --c-orange: #f37032;
    --c-line: #e5e7eb;
    --c-muted: #6b7280;
    --c-bg: #f0f1f3;
}

body.dtf-site { margin: 0; font-family: 'Inter Tight', system-ui, -apple-system, sans-serif; color: var(--c-navy); }

/* headings site-wide use Teko (vendored in assets/css/fonts/, @font-face in fonts.css) —
   same as the old theme's --dtf-heading-font-family */
h1, h2, h3, h4, h5, h6 { font-family: 'Teko', 'Inter Tight', sans-serif; line-height: 1.15; letter-spacing: -1px; }
/* default sizes ≈ the old theme's 1.25 type ratio (16px base), sized up for Teko's
   compact rendering; components with explicit sizes override these */
h1 { font-size: 52px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 26px; }
h5 { font-size: 21px; }
h6 { font-size: 18px; }

/* ---------------- topbar ---------------- */
.topbar { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap;
    background: var(--c-bg); padding: 9px 18px; font-size: 15px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--c-navy);
    text-decoration: underline; font-weight: 600; }
.topbar a:hover { color: var(--c-teal); }
.topbar img { height: 20px; width: auto; }
.topbar-promo { color: var(--c-orange) !important; font-weight: 800; }
@media (max-width: 767px) { .topbar { display: none; } }

/* ---------------- header ---------------- */
.hdr { position: sticky; top: 0; z-index: 900; background: var(--c-bg);
    box-shadow: 0 2px 14px rgba(0, 25, 59, .10); }
body.has-adminbar .hdr { top: 36px; }
.hdr-in { display: flex; align-items: center; gap: 22px; max-width: 1360px; margin: 0 auto; padding: 10px 20px; }
.hdr-logo { flex: none; }
.hdr-logo img { height: 58px; width: auto; display: block; }

/* CTA buttons next to the cart (desktop; mobile shows the .nav-cta copies in the burger menu) */
.hdr-ctas { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }

/* cart */
.hdr-cart { display: flex; align-items: center; gap: 9px; color: var(--c-navy);
    text-decoration: none; font-weight: 700; flex: none; }
.hdr-cart .ico { width: 26px; height: 26px; }
.hdr-cart:hover { color: var(--c-teal); }
.hdr-cart-sub { font-size: 15.5px; white-space: nowrap; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
    padding: 0 5px; border-radius: 999px; background: var(--c-navy); color: #fff; font-size: 12.5px; font-weight: 700; }
.cart-count[data-count="0"] { background: var(--c-muted); }

/* nav */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; background: none;
    font: inherit; font-family: 'Teko', 'Inter Tight', sans-serif; font-weight: 500; font-size: 21px;
    letter-spacing: -1px; text-transform: uppercase; line-height: 1;
    color: var(--c-navy); text-decoration: none; cursor: pointer; border-radius: 8px; }
.nav-link:hover { color: var(--c-teal); }
.nav-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-drop { position: relative; }
.nav-drop.open > .nav-link { color: var(--c-teal); }
.nav-drop.open > .nav-link .nav-caret { transform: rotate(225deg) translateY(-2px); }

.nav-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); display: none;
    background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px;
    box-shadow: 0 14px 34px rgba(0, 25, 59, .16); z-index: 20; }
.nav-drop.open > .nav-panel { display: grid; }
.nav-panel--cards { grid-template-columns: repeat(4, 128px); gap: 10px; }
.nav-panel--cards:has(> .nav-card:nth-child(2)):not(:has(> .nav-card:nth-child(3))) { grid-template-columns: repeat(2, 128px); }
.nav-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px;
    border: 1px solid var(--c-line); border-radius: 10px; text-decoration: none; color: var(--c-navy);
    font-weight: 700; font-size: 14px; }
.nav-card:hover { border-color: var(--c-teal); color: var(--c-teal); }
.nav-card img { width: 76px; height: 76px; object-fit: contain; }
.nav-all { grid-column: 1 / -1; text-align: center; padding: 9px; font-weight: 700; font-size: 14px;
    color: var(--c-orange); text-decoration: none; border-radius: 8px; }
.nav-all:hover { background: #fff4ee; }
.nav-panel--links { list-style: none; margin: 0; min-width: 280px; padding: 8px; display: none; }
.nav-drop.open > .nav-panel--links { display: block; }
.nav-panel--links a { display: block; padding: 9px 12px; color: var(--c-navy); text-decoration: none;
    font-weight: 600; font-size: 14.5px; border-radius: 8px; }
.nav-panel--links a:hover { background: #f0fdfa; color: var(--c-teal); }

.nav-cta { display: none; }
.nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--c-orange); color: #fff !important; font-weight: 700;
    font-size: 12.5px; padding: 7px 12px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.nav-btn:hover { background: #e2601f; }
.nav-btn-ico { height: 15px; width: auto; display: block; }

/* burger */
.hdr-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
    border: 1px solid var(--c-line); border-radius: 9px; background: #fff; cursor: pointer; padding: 0 10px; }
.hdr-burger span { display: block; height: 2.5px; background: var(--c-navy); border-radius: 2px; transition: all .2s; }
.hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 1119px) {
    .hdr-in { gap: 14px; flex-wrap: wrap; }
    .hdr-logo img { height: 46px; }
    .hdr-burger { display: flex; order: 3; }
    .hdr-ctas { display: none; }
    .hdr-cart { order: 2; margin-left: auto; }
    .hdr-cart-sub { display: none; }
    .nav { order: 4; flex-basis: 100%; margin: 0; display: none; }
    .nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 14px; }
    .nav-link { width: 100%; justify-content: space-between; padding: 13px 8px; border-radius: 0;
        border-bottom: 1px solid var(--c-line); font-size: 21px; }
    .nav-panel, .nav-drop.open > .nav-panel { position: static; transform: none; box-shadow: none; border: 0;
        border-bottom: 1px solid var(--c-line); border-radius: 0; }
    .nav-panel--cards { grid-template-columns: repeat(2, 1fr) !important; }
    .nav-cta { display: block; margin: 10px 0 0; }
    .nav-btn { display: flex; font-size: 12.5px; padding: 11px; }
}

/* ---------------- footer ---------------- */
.ftr { background: var(--c-teal); color: #fff; margin-top: 60px; text-align: center;
    background-image: linear-gradient(rgba(0, 183, 173, .78), rgba(0, 183, 173, .78)), url('/assets/img/site/footer_overlay.svg');
    background-size: cover; background-position: center; }
.ftr-in { max-width: 1100px; margin: 0 auto; padding: 52px 20px 44px; }
.ftr a { color: #fff; }
.ftr-lead { font-size: 17px; margin: 0 0 16px; }
.ftr-lead--small { margin-top: 34px; }
.ftr-social { display: flex; justify-content: center; gap: 16px; margin: 0 0 30px; }
.ftr-social a { display: block; width: 52px; height: 52px; transition: transform .15s; }
.ftr-social a:hover { transform: translateY(-3px); }
.ftr-social img { width: 100%; height: 100%; display: block; }
.ftr-contact { font-size: 21px; font-weight: 600; margin: 0 0 10px; display: flex; flex-wrap: wrap;
    justify-content: center; gap: 10px; align-items: baseline; }
.ftr-contact a { font-family: 'Teko', 'Inter Tight', sans-serif; font-size: 34px; font-weight: 600;
    line-height: 1; text-decoration: none; }
.ftr-contact a:hover { text-decoration: underline; }
.ftr-stripe { max-width: 800px; width: 80%; margin: 26px auto 8px; display: block; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px; align-items: center;
    margin: 30px 0 10px; text-align: center; }
.ftr-cols p { margin: 0 0 10px; line-height: 1.6; }
.ftr-logo { width: 80%; max-width: 260px; }
.ftr-cookies { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.ftr-cookies .ico { width: 18px; height: 18px; }
.ftr-links { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; margin: 14px 0 0; }
.ftr-links a { font-weight: 600; }
.ftr-sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: center;
    max-width: 760px; margin: 6px auto 0; }
.ftr-sites img { width: 70%; max-width: 200px; height: auto; }
.ftr img { height: auto; } /* width/height attrs reserve the ratio pre-load — footer height is stable, so cover never rescales */
@media (max-width: 860px) {
    .ftr-cols, .ftr-sites { grid-template-columns: 1fr; }
    .ftr-contact { flex-direction: column; gap: 2px; align-items: center; text-align: center; }
}

/* ---------------- CMS page prose ---------------- */
.pg-wrap { max-width: 900px; margin: 34px auto 60px; padding: 0 20px; }
.pg-wrap h1 { font-size: 42px; color: var(--c-navy); margin: 0 0 18px; }
.prose { line-height: 1.7; font-size: 16.5px; color: #1f2a44; }
.prose h2 { font-size: 32px; color: var(--c-navy); margin: 34px 0 12px; }
.prose h3 { font-size: 25px; color: var(--c-navy); margin: 26px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 26px; }
.prose li { margin: 0 0 6px; }
.prose a { color: var(--c-teal); font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; aspect-ratio: 16 / 9; width: 100%; height: auto; margin: 10px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 9px 12px; text-align: left; }
.prose th { background: #f8fafc; color: var(--c-navy); }
.prose blockquote { border-left: 4px solid var(--c-teal); margin: 14px 0; padding: 4px 16px; color: var(--c-muted); }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 26px 0; }
/* legacy imported content still contains inline <h1> — render like h2 */
.prose h1 { font-size: 32px; color: var(--c-navy); margin: 34px 0 12px; }
/* article components (upute cleanup 2026-07) */
.prose .cols .col h3 { font-size: 21px; margin: 0 0 10px; min-height: 2.3em; display: flex; align-items: flex-end; }
.prose .cols[style*="--n:5"] .col img, .prose .steps .col img { aspect-ratio: 1 / 1; object-fit: cover; }
.prose .tip { background: #f0fdfa; border-left: 4px solid var(--c-teal); border-radius: 0 12px 12px 0;
    padding: 12px 16px; margin: 16px 0; }
.prose .tip > b:first-child { display: block; color: #0d9488; text-transform: uppercase; font-size: 13px;
    letter-spacing: .06em; margin: 0 0 4px; }
.prose .tip p { margin: 0; }
.prose .video { margin: 22px 0; }
.prose .btn-link { display: inline-block; background: var(--c-orange); color: #fff !important; font-weight: 700;
    font-size: 15px; padding: 11px 22px; border-radius: 8px; text-decoration: none; }
.prose .btn-link:hover { background: #e2601f; }
.prose .btn-link .btn-ico { height: 15px; width: auto; vertical-align: -2px; margin: 0 7px 0 0; display: inline-block; border-radius: 0; }
.prose .cols > .tip { margin: 0; }
.prose .cta-card { border: 1px solid var(--c-line); border-radius: 14px; padding: 20px 22px; }

/* ---------------- cjenik (data-driven price list) ---------------- */
.pg-wrap--wide { max-width: 1160px; }
.cj-sub { color: var(--c-navy); font-size: 26px; margin: 4px 0 22px; }
.cj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 0 0 26px; }
.cj-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
    padding: 22px 16px 18px; text-align: center; box-shadow: 0 10px 22px rgba(0, 25, 59, .06); }
.cj-card--best { border-color: var(--c-teal); box-shadow: 0 12px 26px rgba(0, 183, 173, .18); }
.cj-best { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--c-teal);
    color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.cj-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--c-navy); }
.cj-price { color: var(--c-orange); font-weight: 800; line-height: 1; }
.cj-cur { font-size: 20px; vertical-align: super; }
.cj-eur { font-size: 46px; }
.cj-cents { font-size: 20px; vertical-align: super; }
.cj-per { color: var(--c-muted); font-size: 13.5px; margin: 6px 0 10px; }
.cj-desc { color: var(--c-muted); font-size: 13px; margin: 0; line-height: 1.45; }
.cj-features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 18px; margin: 0 0 26px; padding: 18px 20px; background: #f8fafc; border: 1px solid var(--c-line);
    border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--c-navy); }
.cj-features .ico { color: #27a216; width: 18px; height: 18px; vertical-align: -0.2em; }
.cj-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 30px; }

/* ---------------- shipping prices block (home + cjenik) ---------------- */
.shipinfo { margin: 44px 0 0; text-align: center; }
.shipinfo-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 22px; }
.shipinfo-head h2 { margin: 0; color: var(--c-navy); font-size: 30px; }
.shipinfo-head img { height: 30px; width: auto; }
.shipinfo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.shipinfo-zone { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 12px; }
.shipinfo-zone h4 { margin: 0 0 8px; color: var(--c-navy); font-size: 16px; }
.shipinfo-flags { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 0 0 8px; }
.shipinfo-flags img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.shipinfo-countries { color: var(--c-muted); font-size: 12.5px; margin: 0 0 8px; line-height: 1.45; }
.shipinfo-price { font-weight: 700; color: var(--c-navy); font-size: 14px; margin: 0; line-height: 1.5; }
.shipinfo-note { font-size: 13px; margin: 16px 0 0; }

/* ---------------- home page ---------------- */
.hm-hero { line-height: 0; }
.hm-hero video { width: 100%; max-height: 78vh; object-fit: cover; display: block; }

.hm-banner { max-width: 1220px; margin: 34px auto 0; padding: 0 20px; }
.hm-banner-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.hm-banner-head h3 { margin: 0; font-size: 30px; color: var(--c-navy); }
.hm-banner img { width: 100%; height: auto; border-radius: 14px; display: block; }
/* two promo banners side by side on desktop */
.hm-banner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 1220px; margin: 34px auto 0; padding: 0 20px; }
.hm-banner-row .hm-banner { max-width: none; margin: 0; padding: 0; }
.hm-banner-row .hm-banner-head h3 { font-size: 23px; }
@media (max-width: 860px) {
    .hm-banner-row { grid-template-columns: 1fr; gap: 34px; }
}
.hm-btn-dark { display: inline-block; background: #111827; color: #fff !important; font-weight: 700;
    padding: 11px 22px; border-radius: 9px; text-decoration: none; white-space: nowrap; }
.hm-btn-dark:hover { background: #000; }

.hm-steps { max-width: 1220px; margin: 54px auto 0; padding: 0 20px; text-align: center; }
.hm-steps h1 { font-size: clamp(34px, 5vw, 62px); color: var(--c-navy); margin: 0 0 34px; }
.hm-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; text-align: center; }
.hm-card { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 30px 26px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .07); }
.hm-card > img { width: 78%; max-width: 260px; height: auto; border-radius: 8px; }
.hm-card .hm-card-photo { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; }
.hm-card h3 { color: var(--c-navy); font-size: 22px; margin: 16px 0 10px; }
.hm-card p { color: #33415c; line-height: 1.6; margin: 0 0 10px; }
.hm-arrow { color: var(--c-orange); font-weight: 700; text-decoration: none; }
.hm-arrow:hover { text-decoration: underline; }

.hm-prices { background: #f0f4f8; margin: 54px 0 0; padding: 44px 20px 54px; text-align: center; }
.hm-prices-title { font-size: clamp(30px, 4.6vw, 56px); color: var(--c-navy); max-width: 1000px; margin: 0 auto 10px; }
.hm-prices-sub { font-size: clamp(19px, 2.4vw, 27px); color: var(--c-navy); font-weight: 600; margin: 0 0 26px; }
.hm-tiers { max-width: 800px; margin: 0 auto 20px; }
.hm-tier { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid #d6dee8; }
.hm-tier dt { font-weight: 800; color: var(--c-navy); font-size: 18px; }
.hm-tier dd { margin-left: auto; color: var(--c-orange); font-size: 24px; font-weight: 800; }
.hm-prices .muted { color: var(--c-muted); margin: 4px 0; }

.hm-paths { max-width: 1220px; margin: 54px auto 0; padding: 0 20px; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; text-align: center; }
.hm-path h2 { color: var(--c-navy); font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.hm-badge { display: inline-block; background: var(--c-teal); color: #fff; font-weight: 700; font-size: 13.5px;
    padding: 4px 16px; border-radius: 5px; margin: 0 0 16px; }
.hm-path img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; }
/* CTA button icons must never inherit card-image sizing (width:100% etc.) */
img.btn-add-ico { width: auto !important; height: 18px !important; display: inline-block;
    vertical-align: -3px; margin: 0 6px 0 0; border-radius: 0; }
.hm-path p { color: #33415c; line-height: 1.65; max-width: 560px; margin: 14px auto 18px; }

.hm-quality { max-width: 1220px; margin: 54px auto 0; padding: 0 20px; }
.hm-split { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid var(--c-line); border-radius: 16px;
    overflow: hidden; box-shadow: 0 12px 24px rgba(0, 0, 0, .07); margin: 0 0 22px; background: #fff; }
.hm-split-text { padding: 34px 32px; }
.hm-split-text h3 { color: var(--c-navy); font-size: 24px; margin: 0 0 12px; }
.hm-split-text p { color: #33415c; line-height: 1.65; margin: 0 0 18px; }
.hm-split-img { background: url('/assets/img/home/dtf_print_cmyk_pretty_photo_preslikaci_closeup.jpg') 15% 55% / cover no-repeat; min-height: 260px; }
@media (max-width: 860px) { .hm-split { grid-template-columns: 1fr; } .hm-split-img { min-height: 200px; } }

.hm-textile { max-width: 1000px; margin: 60px auto 0; padding: 0 20px; text-align: center; }
.hm-textile h2 { font-size: clamp(30px, 4.4vw, 56px); color: var(--c-navy); margin: 0 0 26px; }
.hm-textile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 860px; margin: 0 auto 28px; }
.hm-textile-grid a { display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--c-navy); font-weight: 600; text-decoration: none; }
.hm-textile-grid a:hover { color: var(--c-teal); }
.hm-textile-grid img { width: 128px; height: 128px; }
.hm-textile-grid span { text-decoration: underline; font-size: 14px; }
@media (max-width: 640px) { .hm-textile-grid { grid-template-columns: repeat(2, 1fr); } }

.hm-guides { max-width: 1360px; margin: 54px auto 0; padding: 0 20px; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.hm-guide { position: relative; text-align: center; border-radius: 12px; border: 1px solid var(--c-line);
    background: #fff; box-shadow: 0 10px 22px rgba(0, 25, 59, .07); padding: 28px 20px 10px; overflow: hidden; }
/* frosted background: the tiled logo pattern lives on a blurred layer under a
   translucent wash (filter can't blur an element's own background-image) */
.hm-guide::before { content: ""; position: absolute; inset: -24px; z-index: 0;
    background: url('/assets/img/home/blijeda_jaca_pozadina_monokrom_logo.svg'); background-size: 150px;
    filter: blur(5px); }
.hm-guide::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(255, 255, 255, .45); }
.hm-guide > * { position: relative; z-index: 1; }
.hm-guide h2 { color: var(--c-navy); font-size: 27px; margin: 0 0 16px; min-height: 2.5em; }
.hm-guide > img { width: 92%; max-width: 300px; margin-top: 14px; display: inline-block; }
.hm-guide--orange { background: var(--c-orange); border: 0; }
.hm-guide--orange::before { background-image: url('/assets/img/pages/upute/blijeda_pozadina_monokrom_logo.svg'); }
.hm-guide--orange::after { background: rgba(243, 112, 50, .35); }
.hm-guide--orange h2 { color: #fff; }

.hm-shipwrap { max-width: 1220px; margin: 10px auto 0; padding: 0 20px; }

.hm-samples { max-width: 1220px; margin: 60px auto 0; padding: 30px 20px; background: #f0f4f8; border-radius: 16px;
    display: grid; grid-template-columns: 2fr 3fr; gap: 26px; align-items: center; }
.hm-samples img { width: 100%; height: auto; border-radius: 12px; }
.hm-samples h3 { color: var(--c-navy); font-size: clamp(24px, 3.4vw, 40px); margin: 0 0 12px; }
.hm-samples p { color: #33415c; line-height: 1.65; margin: 0 0 18px; }
@media (max-width: 860px) { .hm-samples { grid-template-columns: 1fr; text-align: center; } }

.hm-tags { background: var(--c-orange); color: #fff; margin-top: 60px; padding: 26px 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px 26px; flex-wrap: wrap; }
.hm-tags-label { font-weight: 800; font-size: 19px; }
.hm-tags ul { list-style: none; display: flex; gap: 8px 26px; flex-wrap: wrap; margin: 0; padding: 0; justify-content: center; }
.hm-tags a { color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
.hm-tags a:hover { text-decoration: underline; }
.hm-tags + .ftr, body.home .ftr { margin-top: 0; }

/* ---------------- CMS column layouts (restored from the original page structure) ---------------- */
.prose .cols { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 20px;
    align-items: start; margin: 20px 0; }
.prose .cols .col > :first-child { margin-top: 0; }
.prose .cols .col > :last-child { margin-bottom: 0; }
.prose .cols .col img { margin: 0 0 10px; width: 100%; object-fit: cover; }
@media (max-width: 900px) { .prose .cols { grid-template-columns: repeat(min(var(--n, 2), 2), 1fr); } }
@media (max-width: 540px) { .prose .cols { grid-template-columns: 1fr; } }
