:root {
    --ink: #1a1a1a;
    --muted: #666e7c;
    --accent: #c84f02;
    --accent-dark: #d95c0a;
    --accent-red: #e8412b;
    --accent-tint: #fff1e6;
    --bg: #ffffff;
    --cream: #fdf1e1;
    --cream-border: #f0ddbb;
    --border: #e5e7eb;
    --chip: #f2f1ef;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.25; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-weight: 700; font-size: 15px; text-decoration: none;
    padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-tint); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff; padding: 12px clamp(16px, 5vw, 60px);
    border-bottom: 1px solid var(--border);
}
.site-header-row { display: flex; align-items: center; gap: 14px; }

.site-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.site-logo { display: block; max-height: 42px; width: auto; }
.m2-badge { display: inline-flex; align-items: center; gap: 3px; }
.m2-badge-m, .m2-badge-2 {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 9px; color: #fff;
    font-weight: 800; font-size: 18px; font-family: var(--font);
}
.m2-badge-m { background: var(--accent-red); }
.m2-badge-2 { background: var(--accent); }
.site-title-text { font-weight: 800; font-size: 18px; color: var(--ink); }

.site-header-actions { display: flex; align-items: center; gap: 8px; }
.site-header-actions .btn { padding: 10px 18px; font-size: 14px; }

.site-nav-toggle-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.site-nav-toggle-label {
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    width: 40px; height: 40px; border-radius: 10px; background: var(--chip); flex-shrink: 0;
    position: relative;
}
.site-nav-toggle-label span {
    position: absolute; left: 9px; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px;
    transition: top .18s ease, transform .18s ease, opacity .12s ease;
}
.site-nav-toggle-label span:nth-child(1) { top: 13px; }
.site-nav-toggle-label span:nth-child(2) { top: 19px; }
.site-nav-toggle-label span:nth-child(3) { top: 25px; }
.site-nav-toggle-checkbox:checked ~ .site-header-row .site-nav-toggle-label span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.site-nav-toggle-checkbox:checked ~ .site-header-row .site-nav-toggle-label span:nth-child(2) { opacity: 0; }
.site-nav-toggle-checkbox:checked ~ .site-header-row .site-nav-toggle-label span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/*
 * Off-canvas nav drawer, zero JS — same hidden-checkbox technique as the
 * page builder's tabs/accordion. .site-nav and .site-nav-overlay just need
 * to be later siblings of the checkbox for ":checked ~" to reach them;
 * position: fixed then lets them render as a full-viewport overlay + a
 * right-hand drawer regardless of where they sit in the header's markup.
 */
.site-nav-overlay {
    display: block; position: fixed; inset: 0; background: rgba(20, 12, 4, .45);
    opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 90;
}
.site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    background: #fff; z-index: 100; padding: 22px 22px 30px;
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; box-shadow: -12px 0 30px rgba(0, 0, 0, .12);
}
.site-nav-toggle-checkbox:checked ~ .site-nav-overlay { opacity: 1; pointer-events: auto; }
.site-nav-toggle-checkbox:checked ~ .site-nav { transform: translateX(0); }
.site-nav-close {
    display: flex; align-items: center; justify-content: center; margin-left: auto;
    width: 32px; height: 32px; font-size: 22px; color: var(--muted); cursor: pointer;
}

.site-nav .menu { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.site-nav .menu-item > a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav .menu-item > a:hover { color: var(--accent); }
.site-nav .menu-item > a.block-button { margin: 6px 0; border-bottom: none; }
.site-nav .menu-dropdown, .site-nav .menu-mega {
    display: block; position: static; margin: 0; padding: 0 0 6px 14px; background: none;
    border: none; box-shadow: none; list-style: none;
}
.site-nav .menu-mega { display: flex; flex-direction: column; gap: 10px; }
.site-nav .menu-dropdown .menu-item > a { border-bottom: 1px dashed var(--border); font-weight: 500; }

/* Footer menu — flat single-level list of quick links */
.site-footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer-nav .menu-item > a { color: #ba4800; text-decoration: none; font-weight: 500; font-size: 14.5px; }
.site-footer-nav .menu-item > a:hover { text-decoration: underline; }
.site-footer-nav .menu-dropdown, .site-footer-nav .menu-mega { display: none; } /* quick-links column stays flat */

/* ---------- Reading-width pages (blog, single post/page, category, 404) ---------- */
.site-content { max-width: 720px; margin: 0 auto; padding: 40px 20px; }
.site-content.front-page-main { max-width: none; padding: 0; }
.site-content.full-width { max-width: none; padding: 0; }

.page-heading { font-size: 28px; margin-bottom: 4px; }
.lede { color: var(--muted); margin-top: 0; }

.post-summary { padding: 24px 0; border-bottom: 1px solid var(--border); }
.post-summary h2 { margin: 0 0 6px; font-size: 22px; }
.post-summary a { color: var(--ink); text-decoration: none; }
.post-summary a:hover { color: var(--accent); }
.post-summary-thumbnail { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.post-meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.read-more { color: var(--accent); font-size: 14px; text-decoration: none; font-weight: 600; }

.single-post h1, .single-page h1 { font-size: 32px; margin-bottom: 8px; }
.featured-image { display: block; width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.post-content { margin-top: 24px; font-size: 17px; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-content h2 { font-size: 24px; margin-top: 32px; }
.post-content h3 { font-size: 20px; margin-top: 24px; }
.post-content pre { background: #f6f7f9; padding: 14px; border-radius: 8px; overflow-x: auto; }
.post-content blockquote { border-left: 3px solid var(--accent); margin: 0; padding-left: 16px; color: var(--muted); }

.not-found { text-align: center; padding: 80px 20px; }

.hero-band { background: var(--cream); border-bottom: 1px solid var(--cream-border); padding: 64px 20px; text-align: center; }
.hero-band-inner h1 { font-size: 36px; margin: 0; }
.full-width-content { max-width: 720px; margin: 0 auto; padding: 40px 20px; font-size: 17px; }
.full-width-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---------- FAQ module ---------- */
.cmspress-faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.cmspress-faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
.cmspress-faq-item summary { cursor: pointer; font-weight: 600; }
.cmspress-faq-answer { margin-top: 10px; color: var(--muted); }

/* ---------- Page builder blocks ---------- */
.block-heading { margin: 32px 0 12px; }
.block-text { margin: 16px 0; }
.block-text p:first-child { margin-top: 0; }
.block-image { margin: 24px 0; text-align: center; }
.block-image img { max-width: 100%; height: auto; border-radius: 10px; }
.block-image figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.block-button { display: inline-block; margin: 16px 0; padding: 11px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.block-button-primary { background: var(--accent); color: #fff; }
.block-button-secondary { background: none; border: 2px solid var(--accent); color: var(--accent); }
.block-spacer-sm { height: 16px; }
.block-spacer-md { height: 32px; }
.block-spacer-lg { height: 64px; }
.block-html { margin: 16px 0; }
.block-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0; align-items: center; }
@media (max-width: 640px) { .block-columns { grid-template-columns: 1fr; } }
.block-accordion { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.block-accordion-item { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
.block-accordion-item summary { cursor: pointer; font-weight: 600; }
.block-accordion-content { margin-top: 10px; color: var(--muted); }
.block-accordion-content p:first-child { margin-top: 0; }

.block-tabs { margin: 24px 0; }
.block-tabs-radio { position: absolute; opacity: 0; pointer-events: none; }
.block-tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.block-tabs-label { padding: 10px 16px; cursor: pointer; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.block-tabs-panel { display: none; }
.block-tabs-radio:nth-of-type(1):checked ~ .block-tabs-panel:nth-of-type(1) { display: block; }
.block-tabs-radio:nth-of-type(2):checked ~ .block-tabs-panel:nth-of-type(2) { display: block; }
.block-tabs-radio:nth-of-type(3):checked ~ .block-tabs-panel:nth-of-type(3) { display: block; }
.block-tabs-radio:nth-of-type(4):checked ~ .block-tabs-panel:nth-of-type(4) { display: block; }
.block-tabs-radio:nth-of-type(5):checked ~ .block-tabs-panel:nth-of-type(5) { display: block; }
.block-tabs-radio:nth-of-type(6):checked ~ .block-tabs-panel:nth-of-type(6) { display: block; }
.block-tabs-radio:nth-of-type(7):checked ~ .block-tabs-panel:nth-of-type(7) { display: block; }
.block-tabs-radio:nth-of-type(8):checked ~ .block-tabs-panel:nth-of-type(8) { display: block; }
.block-tabs-radio:nth-of-type(1):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(1) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(2):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(2) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(3):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(3) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(4):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(4) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(5):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(5) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(6):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(6) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(7):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(7) { color: var(--ink); border-bottom-color: var(--accent); }
.block-tabs-radio:nth-of-type(8):checked ~ .block-tabs-nav .block-tabs-label:nth-of-type(8) { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Slider module (hero banner, render_slider('home')) ---------- */
.cmspress-slider { position: relative; overflow: hidden; margin: 0; }
.cmspress-slider-track { display: flex; transition: transform .5s ease; }
.cmspress-slider-slide { flex: 0 0 100%; position: relative; background: var(--accent); }
.cmspress-slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmspress-slider-caption {
    position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column;
    justify-content: center; padding: 20px clamp(20px, 6vw, 70px); max-width: 640px;
    color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.cmspress-slider-caption h3 { margin: 0 0 8px; font-size: clamp(22px, 4.2vw, 34px); font-weight: 800; color: #fff8dc; line-height: 1.15; }
.cmspress-slider-caption p { margin: 0 0 16px; opacity: .95; font-size: clamp(13px, 2vw, 15px); white-space: pre-line; }
.cmspress-slider-btn {
    display: inline-block; align-self: flex-start; padding: 12px 26px; border-radius: 999px;
    background: #ffd35a; color: #7a3b00; text-decoration: none; font-weight: 800; font-size: 14px;
}
.cmspress-slider-prev, .cmspress-slider-next {
    position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
    border: none; background: rgba(255, 255, 255, .3); color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
}
.cmspress-slider-prev:hover, .cmspress-slider-next:hover { background: rgba(255, 255, 255, .5); }
.cmspress-slider-prev { left: 14px; }
.cmspress-slider-next { right: 14px; }
.cmspress-slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
.cmspress-slider-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; background: rgba(255, 255, 255, .5); cursor: pointer; }
.cmspress-slider-dot.active { background: #fff; }
@media (max-width: 640px) {
    .cmspress-slider{min-height: 220px;}
    .cmspress-slider-caption { max-width: none; }
    .cmspress-slider-prev, .cmspress-slider-next { width: 32px; height: 32px; font-size: 13px; }
}

/* ---------- Testimonials module ---------- */
.cmspress-testimonials { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cmspress-testimonial { margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.cmspress-testimonial-rating { color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }
.cmspress-testimonial blockquote { margin: 0 0 14px; font-style: italic; }
.cmspress-testimonial figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.cmspress-testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.cmspress-testimonial-role { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Homepage sections (front-page.php)
   ========================================================================== */

.m2-section { padding: 56px 0; }
.m2-section-cream { background: var(--cream); }
.m2-section-header { max-width: 640px; margin: 0 0 32px; }
.m2-section-header h2 { font-size: clamp(22px, 3.5vw, 30px); margin: 0 0 10px; }
.m2-section-header p { color: var(--muted); margin: 0; font-size: 15.5px; }
.m2-section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -- Intro (H1) section -- */
.m2-intro { position: relative; overflow: hidden; padding: 56px 0 40px; }
.m2-intro::before {
    content: ''; position: absolute; top: -80px; left: -100px; width: 340px; height: 340px;
    background: radial-gradient(circle, var(--accent-tint) 0%, rgba(255, 241, 230, 0) 72%);
    pointer-events: none;
}
.m2-intro-inner { position: relative; max-width: 760px; }
.m2-intro h1 { font-size: clamp(26px, 4.5vw, 40px); margin: 0 0 16px; }
.m2-intro h1 .accent { color: var(--accent); }
.m2-intro p { color: var(--muted); font-size: 16px; margin: 0; }

/* -- Games section -- */
.m2-games-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.m2-games-filters input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.m2-games-filters label {
    padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--muted);
    font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
#m2-filter-all:checked ~ .m2-games-filters label[for="m2-filter-all"],
#m2-filter-slots:checked ~ .m2-games-filters label[for="m2-filter-slots"],
#m2-filter-live-casino:checked ~ .m2-games-filters label[for="m2-filter-live-casino"],
#m2-filter-sports:checked ~ .m2-games-filters label[for="m2-filter-sports"] {
    background: var(--accent); border-color: var(--accent); color: #fff;
}
.m2-games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 560px) { .m2-games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .m2-games-grid { grid-template-columns: repeat(5, 1fr); } }
.m2-game-card { display: block; border-radius: 14px; overflow: hidden;background: var(--chip); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.m2-game-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
#m2-filter-slots:checked ~ .m2-games-grid .m2-game-card:not([data-cat="slots"]) { display: none; }
#m2-filter-live-casino:checked ~ .m2-games-grid .m2-game-card:not([data-cat="live-casino"]) { display: none; }
#m2-filter-sports:checked ~ .m2-games-grid .m2-game-card:not([data-cat="sports"]) { display: none; }
.m2-games-empty { color: var(--muted); font-size: 14.5px; }

/* -- Gaming portfolio cards -- */
.m2-portfolio { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .m2-portfolio { grid-template-columns: repeat(2, 1fr); } }
.m2-portfolio-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; }
.m2-portfolio-banner { background: var(--chip); }
.m2-portfolio-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.m2-portfolio-body { padding: 22px; }
.m2-portfolio-body h3 { font-size: 18px; margin: 0 0 8px; }
.m2-portfolio-body > p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.m2-portfolio-body .m2-portfolio-providers {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--accent); font-size: 12.5px; letter-spacing: .3px; text-transform: uppercase;
    margin: 0;
}

/* -- "Why M2" feature list -- */
.m2-features { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.m2-feature { display: flex; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--cream-border); border-radius: 14px; }
.m2-feature-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: var(--accent-tint);
    display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.m2-feature-icon svg { width: 26px; height: 26px; }
.m2-feature h3 { font-size: 16.5px; margin: 0 0 6px; }
.m2-feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* -- Download / app section -- */
.m2-download-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 860px) { .m2-download-grid { grid-template-columns: 1.1fr 1fr; } }
.m2-download-copy h2 { font-size: clamp(22px, 3.5vw, 30px); margin: 0 0 12px; }
.m2-download-copy > p { color: var(--muted); margin: 0 0 24px; }
.m2-download-copy h4 { font-size: 15px; margin: 0 0 14px; }
.m2-checklist { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.m2-checklist li { display: flex; gap: 12px; }
.m2-checklist-mark {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
    color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.m2-checklist-mark svg { width: 12px; height: 12px; }
.m2-checklist strong { display: block; font-size: 15px; margin-bottom: 2px; }
.m2-checklist span { color: var(--muted); font-size: 14px; }
.m2-download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.m2-download-visual { text-align: center; }
.m2-download-visual img { max-width: 100%; height: auto; }

/* -- Support section -- */
.m2-support { text-align: center; }
.m2-support-lede { max-width: 560px; margin: 0 auto 8px; color: var(--muted); }
.m2-support-cta { font-weight: 600; margin: 0 auto 28px; }
.m2-support-cards { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 720px; margin: 0 auto; }
@media (min-width: 600px) { .m2-support-cards { grid-template-columns: 1fr 1fr; } }
.m2-support-card { border: 1.5px solid var(--accent); border-radius: 16px; padding: 30px 24px; }
.m2-support-card-icon { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--accent); }
.m2-support-card-icon svg { width: 100%; height: 100%; }
.m2-support-card h3 { font-size: 17px; margin: 0 0 8px; }
.m2-support-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--cream); color: var(--ink); padding: 48px 0 20px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 760px) { .site-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer-logo { display: block; height: 40px; width: auto; max-width: 100px; margin-bottom: 14px; }
.site-footer-about p { color: var(--ink); opacity: .8; font-size: 14px; line-height: 1.7; }
.site-footer h4 { font-size: 15px; margin: 0 0 16px; color: var(--accent-dark); }

.site-footer-payments { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer-payments img { height: 34px; width: auto; border-radius: 6px; background: #fff; padding: 4px 8px; }

.site-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.site-footer-social a {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border-radius: 50%; color: #fff; flex-shrink: 0;
}
.site-footer-social svg { width: 17px; height: 17px; }

.site-footer-bottom {
    margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--cream-border);
    text-align: center; color: var(--ink); opacity: .8; font-size: 13px;
}
.site-footer-bottom a { color: var(--accent-dark); text-decoration: underline; }

/* -- Fixed mobile bottom tab bar -- */
.m2-tabbar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 18px rgba(0, 0, 0, .06);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.m2-tabbar-row { display: flex; align-items: flex-end; justify-content: space-between; }
.m2-tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600;
}
.m2-tabbar a svg { width: 20px; height: 20px; }
.m2-tabbar-home { transform: translateY(-14px); }
.m2-tabbar-home-badge {
    width: 56px; height: 44px; border-radius: 12px; background: #fff;
    display: flex; align-items: center; justify-content: center; padding: 5px;
    box-shadow: 0 6px 16px rgba(244, 116, 28, .35); margin-bottom: 2px;
    border: 1.5px solid var(--cream-border);
}
.m2-tabbar-home-badge img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 720px) {
    .m2-tabbar { display: block; }
    body { padding-bottom: 74px; }
}