:root{
    --page-width:75%;
    --page-max:1200px;

    /* brand palette */
    --red:#e10600;
    --red-dark:#b30000;
    --red-special:#e10600;
    --red-special2:#b30000;
    --green:#00a114;
    --green-dark:#008c3f;
    --green-grass:#047857;
    --navy:#0f1b3d;
    --black:#111;
    --white:#fff;
    --blue: #0081ff;
    --blue-dark: #004285;
    --yellow: #ffb800;
    --yellow-dark: #9e6f00;

    /* neutrals */
    --gray:#f5f6f8;
    --ink:#111827;
    --muted:#6b7280;
    --line:#e4e7ec;
    --bg-soft:#f1f5f9;

    /* elevation & sizing */
    --shadow:0 4px 20px rgba(0,0,0,.08);
    --field-h:48px; /* default field height */
}

html { color-scheme: light; }           /* default/light */
[data-theme="dark"] { color-scheme: dark; }  /* when toggled */

/* ─── Base / Reset ───────────────────────────────────────────────────────── */
*{box-sizing:border-box}
body{margin:0;font:14px/1.6 Arial,Helvetica,sans-serif;color:var(--black);background:var(--white)}
.wrap{width:var(--page-width);max-width:var(--page-max);margin:0 auto}

/* links & utilities */
.link{text-decoration:none;color:blue} /*previously: #333*/
.sr-only{
    position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
    overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;
}

/* ─── Header / Top Nav ───────────────────────────────────────────────────── */
.site-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--line);}
.site-header .wrap{display:flex;align-items:center;gap:16px;padding:12px 0;}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--navy)}
.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--red);color:#fff}
.brand-text{letter-spacing:.4px}
.main-nav{display:flex;gap:14px;flex:1;justify-content:center;}
.main-nav a{color:#333;text-decoration:none;padding:6px 10px;border-radius:8px}
.main-nav a:hover{background:#f1f2f6}
.nav-actions{display:flex;align-items:center;gap:10px}

/* Shared public-page chrome. Scoped so unconverted pages keep their layout. */
.site-header--shared .brand{
	min-width:0;
	text-decoration:none;
}

/* Focused create and change forms keep their page title and account controls. */
.site-header--shared.site-header--focused .wrap{
	justify-content:space-between;
}

.site-header--focused .seek-header__title{
	font-weight:700;
	color:var(--navy);
	letter-spacing:.01em;
}

.site-header__logo{
	display:block;
	width:42px;
	height:42px;
	border-radius:8px;
	object-fit:contain;
}

.site-header__post{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	white-space:nowrap;
	font-weight:700;
}

.nav-ico{
    display:inline-grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:8px;
    text-decoration:none;
    border:0;
    cursor:pointer;
}

/* ─── User Menu ─────────────────────────────────────────────────────────── */
.user-menu{
    position:relative;
}

.user-menu__btn{
    display:inline-grid;
    place-items:center;
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    color:var(--ink);
    cursor:pointer;
    padding:0;
    transition:background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}

.user-menu__btn:hover{
    background:#f8fafc;
    border-color:#cfd6e3;
    box-shadow:0 4px 12px rgba(17,24,39,.08);
    transform:translateY(-1px);
}

.user-menu__btn:focus-visible{
    outline:3px solid rgba(17,24,39,.22);
    outline-offset:2px;
}

.user-menu__initial{
    display:inline-grid;
    place-items:center;
    width:100%;
    height:100%;
    border-radius:999px;
    background:var(--navy);
    color:#fff;
    font-weight:800;
    font-size:15px;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.user-menu__guest-icon{
    display:inline-grid;
    place-items:center;
    width:100%;
    height:100%;
    border-radius:999px;
    background:#f2f3f7;
    color:var(--navy);
    font-size:16px;
}

.user-menu__panel{
    display:none;
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:240px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:0 14px 34px rgba(17,24,39,.14);
    padding:8px;
    z-index:80;
}

.user-menu.is-open .user-menu__panel{
    display:block;
}

.user-menu__panel a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 10px;
    border-radius:10px;
    color:#333;
    text-decoration:none;
    font-weight:600;
}

.user-menu__panel a i{
    width:18px;
    text-align:center;
    color:var(--muted);
}

.user-menu__panel a:hover{
    background:#f1f2f6;
    color:var(--navy);
}

.user-menu__panel a:hover i{
    color:var(--navy);
}

/*
	Unread notification count shown beside Notifications
	inside the shared account menu.
*/
.notifications-menu-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:22px;
    height:20px;
    padding:0 6px;
    margin-left:auto;
    border-radius:999px;
    background:var(--red);
    color:#fff;
    font-size:11px;
    font-weight:800;
    line-height:1;
    font-variant-numeric:tabular-nums;
    flex-shrink:0;
}

.user-menu__header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    margin-bottom:6px;
    border-bottom:1px solid var(--line);
}

.user-menu__header-avatar{
    display:inline-grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:999px;
    background:var(--navy);
    color:#fff;
    font-weight:800;
    text-transform:uppercase;
    flex:0 0 34px;
}

.user-menu__header strong{
    display:block;
    color:var(--ink);
    line-height:1.2;
    max-width:165px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.user-menu__header small{
    display:block;
    color:var(--muted);
    line-height:1.2;
    max-width:165px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.user-menu__divider{
    height:1px;
    background:var(--line);
    margin:6px 0;
}

.user-menu__logout{
    color:var(--red) !important;
}

.user-menu__logout i{
    color:var(--red) !important;
}

.user-menu__admin{
    color:var(--navy) !important;
}

.user-menu__admin i{
    color:var(--navy) !important;
}

.user-menu__admin:hover{
    background:#eef2ff !important;
}

[data-theme="dark"] .user-menu__admin{
    color:#c7d2fe !important;
}

[data-theme="dark"] .user-menu__admin i{
    color:#c7d2fe !important;
}

[data-theme="dark"] .user-menu__admin:hover{
    background:#172554 !important;
}

/* Keep the theme button visually aligned with the circular user button */
.theme-toggle{
    width:38px;
    height:38px;
    border-radius:999px;
    color:#0f1b3d;
    background:#f2f3f7;
    border:1px solid #d9dee7;
    transition:background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}

.theme-toggle:hover{
    background:#e9edf5;
    border-color:#cfd6e3;
    box-shadow:0 4px 12px rgba(17,24,39,.08);
    transform:translateY(-1px);
}

/* ─── User Menu Dark Theme ──────────────────────────────────────────────── */
[data-theme="dark"] .user-menu__btn{
    background:#0e1420;
    color:var(--black);
    border-color:var(--line);
}

[data-theme="dark"] .user-menu__btn:hover{
    background:#101827;
    border-color:#2a3342;
    box-shadow:0 8px 22px rgba(0,0,0,.45);
}

[data-theme="dark"] .user-menu__initial{
    background:#c7d2fe;
    color:#0f172a;
}

[data-theme="dark"] .user-menu__guest-icon{
    background:#141a24;
    color:#c7d2fe;
}

[data-theme="dark"] .user-menu__panel{
    background:#0e1420;
    border-color:var(--line);
    box-shadow:0 18px 44px rgba(0,0,0,.6);
}

[data-theme="dark"] .user-menu__panel a{
    color:#cbd5e1;
}

[data-theme="dark"] .user-menu__panel a i{
    color:#94a3b8;
}

[data-theme="dark"] .user-menu__panel a:hover{
    background:#101827;
    color:#fff;
}

[data-theme="dark"] .user-menu__panel a:hover i{
    color:#fff;
}

[data-theme="dark"] .user-menu__header{
    border-bottom-color:var(--line);
}

[data-theme="dark"] .user-menu__header-avatar{
    background:#c7d2fe;
    color:#0f172a;
}

[data-theme="dark"] .user-menu__header strong{
    color:#e5e7eb;
}

[data-theme="dark"] .user-menu__header small{
    color:#94a3b8;
}

[data-theme="dark"] .theme-toggle{
    color:#f8fafc;
    background:#141a24;
    border-color:#2a3342;
}

[data-theme="dark"] .theme-toggle:hover{
    background:#101827;
    border-color:#3b4658;
    box-shadow:0 8px 22px rgba(0,0,0,.45);
}

/* ─── Buttons (global) ───────────────────────────────────────────────────── */
.btn{
    display:inline-block;padding:8px 14px;border-radius:8px;border:1px solid #cfd3da;background:#fff;color:#111;cursor:pointer;
    text-decoration:none; line-height: normal;
}
.btn-primary{background:var(--red);border-color:var(--red-dark);color:#fff}
.btn-lg{padding:12px 18px;font-weight:600;border-radius:10px}
.btn-default{background:var(--green);border-color:var(--green-dark);color:#fff}
.btn-highlight{background:var(--blue);border-color:var(--blue-dark);color:#fff}
.btn-outline{background:#fff;color:var(--navy);border:1px solid #c9ceda}
.btn-outline:hover{border-color:var(--navy)}

/* ─── Shared Date and Time Fields ───────────────────────────────────────── */
input[type="date"],
input[type="time"],
input[type="datetime-local"]{
    width:100%;
    height:var(--field-h);
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:var(--ink);
    font:inherit;
    font-size:15px;
    line-height:normal;
    color-scheme:light;
    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            background .2s ease;
}

input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover{
    border-color:#cbd5e1;
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus{
    outline:3px solid rgba(17,24,39,.16);
    outline-offset:2px;
    border-color:#cfd6e3;
}

/*
	The calendar/clock indicator remains browser-native,
	but receives consistent spacing and pointer behavior.
*/
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator{
    margin-left:8px;
    cursor:pointer;
    opacity:.7;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover{
    opacity:1;
}

/* ─── Chips (shared) ─────────────────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: #f8fafc;
    border-radius: 999px;
    padding: 9px 12px;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.chip:hover {
    background: #f1f5f9;
}
.chip.is-active{background:#111827;color:#fff;border-color:#111827}

/* ─── Hero (v1 minimal) ──────────────────────────────────────────────────── */
.hero{
    background:linear-gradient(180deg,rgba(15,27,61,.6),rgba(15,27,61,.6)),url('/assets/img/hero.jpg') center/cover no-repeat;
    border-bottom:1px solid var(--line);
}
.hero .wrap{padding:28px 0 24px;color:#fff;text-align:center}
.hero h1{margin:0 0 14px;font-size:28px;font-weight:700}
.chip-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:10px 0 14px}

/* hero search (simple) */
.searchbar{display:flex;gap:10px;justify-content:center;margin:0 auto;width:100%}
.searchbar input{
    width:60%;min-width:260px;max-width:700px;height:var(--field-h);
    padding:0 16px;border:1px solid #ccd2dd;border-radius:10px;font-size:16px;
}
.searchbar .btn-primary{height:var(--field-h);padding:0 18px}

/* ─── Hero (v2 enhanced) ─────────────────────────────────────────────────── */
.hero-v2{
    position:relative;
    background:
            radial-gradient(80% 80% at 90% -10%, rgba(0,161,20,.08), transparent 40%),
            radial-gradient(70% 70% at -10% 110%, rgba(217,4,41,.08), transparent 40%),
            linear-gradient(180deg,#ffffff,#f8fafc);
    border-bottom:1px solid #eef2f7;
}
.hero-v2::before,.hero-v2::after{
    content:"";position:absolute;width:280px;height:280px;border-radius:50%;filter:blur(60px);opacity:.25;pointer-events:none;
}
.hero-v2::before{right:-80px;top:-80px;background:var(--green)}
.hero-v2::after{left:-80px;bottom:-80px;background:var(--red)}
.hero-v2 .hero-inner{max-width:1100px;margin:0 auto;padding:84px 16px 96px;text-align:center}
.hero-v2 .hero-badge{
    display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
    background:#eef7ee;color:#0a7a37;border:1px solid #d6f0db;border-radius:999px;padding:6px 10px;margin-bottom:14px;
}
.hero-v2 h1{margin:0 0 10px;color:var(--ink);font-size:clamp(28px,5vw,48px);line-height:1.1}
.hero-v2 .hero-sub{margin:0 0 26px;color:var(--muted);font-size:clamp(16px,2.2vw,20px)}
.hero-v2 .hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-v2 .hero-trust{margin-top:12px;color:var(--muted);font-size:14px}

/* hero v2 buttons (scoped) */
.hero-v2 .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:14px 22px;border-radius:12px;font-weight:700;border:1px solid transparent;
    transition:transform .06s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;text-decoration:none;
}
.hero-v2 .btn:focus-visible{outline:3px solid rgba(17,24,39,.25);outline-offset:2px}
.hero-v2 .btn-seeker{background:var(--red);color:#fff;border-color:var(--red-dark);box-shadow:0 6px 16px rgba(217,4,41,.20)}
.hero-v2 .btn-seeker:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(217,4,41,.28)}
.hero-v2 .btn-owner{background:var(--green);color:#fff;border-color:var(--green-dark);box-shadow:0 6px 16px rgba(0,161,20,.20)}
.hero-v2 .btn-owner:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,161,20,.28)}
@media (min-width:1024px){.hero-v2 .hero-inner{padding:110px 16px 120px}}

/* ─── Search band / floating card (for hero v2) ──────────────────────────── */
.search-band{background:#6b7280}
@media (prefers-color-scheme:dark){.search-band{background:#3b3f46}}
.hero-search{position:relative;z-index:2;max-width:1100px;margin:-40px auto 0;padding:0 16px 32px}
.hs-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 28px rgba(17,24,39,.08);padding:22px}
.hs-title{margin:0 0 14px;color:#111827;font-size:clamp(20px,2.8vw,28px);font-weight:700;text-align:center}
.hs-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0 16px}
.hs-form{display:flex;gap:12px;align-items:stretch}
.hs-form input[type="search"],.hs-form input[type="text"]{
    appearance:none;-webkit-appearance:none;border:1px solid var(--line);background:#fff;color:#111827;border-radius:12px;
    width:100%;height:var(--field-h);padding:0 16px;font-size:16px;
}
.hs-form input[type="search"]{flex:1 1 520px}
.hs-right{display:flex;gap:12px;align-items:stretch;flex:1 1 380px}
.hs-button{
    display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;height:var(--field-h);
    padding:0 20px;border-radius:12px;font-weight:700;border:1px solid var(--red-dark);
    background:var(--red);color:#fff;box-shadow:0 6px 16px rgba(217,4,41,.20);
}
.hs-button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(217,4,41,.28)}
.hs-button:focus-visible{outline:3px solid rgba(17,24,39,.25);outline-offset:2px}

/* ─── Promos ─────────────────────────────────────────────────────────────── */
.promos{background:var(--gray);border-bottom:1px solid var(--line)}
.promos-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 0}
.promo-card{
    display:flex;flex-direction:column;gap:8px;background:#eaf3ff;border:1px solid #cfe0ff;border-radius:12px;padding:16px;
    text-decoration:none;color:#0b132b;box-shadow:var(--shadow)
}
.promo-card:nth-child(2){background:#fff3f2;border-color:#ffd5d2}
.promo-title{font-weight:700}
.promo-sub{color:#444}
.btn-light{display:inline-block;background:#fff;border:1px solid #d9dee7;padding:8px 12px;border-radius:8px;color:#111}

/* ─── Generic Section Head + Grid ───────────────────────────────────────── */
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.section-head h2{margin:0;color:var(--navy)}
.link-more{color:var(--red-special);text-decoration:none}
.link-more:hover{text-decoration:underline}

/* shared grid for seeker/owner lists */
.seeker-grid,.owners-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
@media (max-width:1100px){.seeker-grid,.owners-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:800px){.seeker-grid,.owners-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.seeker-grid,.owners-grid{grid-template-columns:1fr}}

/* ─── Card Base (shared) ────────────────────────────────────────────────── */
.seeker-card,.owner-card{
    background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;box-shadow:var(--shadow);
    display:flex;flex-direction:column;justify-content:space-between;min-height:260px;
}
.seeker-top,.owner-top{display:flex;align-items:center;justify-content:space-between}
.seeker-title,.owner-title{margin:8px 0;color:var(--navy);font-size:16px;line-height:1.35}
.seeker-desc,.owner-desc{margin:0 0 10px;color:#333}
.seeker-meta,.owner-meta{display:flex;flex-wrap:wrap;gap:10px;color:#555;font-size:13px}
.seeker-card .seeker-btn,.owner-card .owner-btn{
    margin-top:auto;align-self:flex-start;padding:8px 14px;border-radius:8px;font-weight:600;text-decoration:none;
}

/* seeker variations */
.badge-seeker{
    background:#fff3f2;color:var(--red);border:1px solid #ffd5d2;font-size:12px;padding:4px 8px;border-radius:999px;
}
.seeker-card .seeker-btn{background:var(--red);border:1px solid var(--red-dark);color:#fff}
.seeker-card .seeker-btn:hover{filter:brightness(1.1)}

/* owner variations */
.owner-card{background:#f9fff9;border-color:#cfe9d1}
.badge-owner{
    background:#e6f9ec;color:#008a1e;border:1px solid #c4ebd1;font-size:12px;padding:4px 8px;border-radius:999px;
}
.owner-card .owner-btn{background:var(--green);color:#fff;border:1px solid var(--green-dark)}
.owner-card .owner-btn:hover{filter:brightness(1.1)}

/* ─── Latest Seekers / Owners Sections ──────────────────────────────────── */
.latest-seekers .wrap,.latest-owners .wrap{padding:18px 0}
.latest-seekers .section-head h2,.latest-owners .section-head h2{color:var(--navy)}

/* ─── Audience (For Seekers / For Owners) ───────────────────────────────── */
.audience{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px 0}
.aud-card{
    background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);
    padding:20px;display:flex;flex-direction:column;justify-content:space-between;min-height:320px;
}
/* your chosen tints */
.aud-card.seeker{background:#ffbdbd;border-color:#ffd9d6}
.aud-card.owner{background:#dfffdf;border-color:#d9e4ff}

.aud-badge{
    display:inline-block;background:#f1f5ff;border:1px solid #cfe0ff;color:var(--navy);
    border-radius:999px;font-size:12px;padding:4px 10px;margin-bottom:8px;
}
.aud-title{margin:8px 0 6px;color:var(--navy);font-size:22px;line-height:1.25}
.aud-text{margin:0 0 10px;color:#444}
.aud-list{margin:0 0 14px;padding-left:18px;color:#333}
.aud-list li{margin:6px 0}

/* audience CTA buttons (scoped to cards as requested) */
.aud-card.seeker a{background:var(--red);border:1px solid var(--red-dark);color:#fff}
.aud-card.owner  a{background:var(--green);border:1px solid var(--green-dark);color:#fff}

/* ─── How It Works ───────────────────────────────────────────────────────── */
.section-how .wrap { padding: 18px 0; }

.how-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.how-col{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:18px;
}
.how-col__head{ margin-bottom:10px; }
.how-title{ margin:8px 0 0; color:var(--navy); font-size:18px; line-height:1.3; }

.how-badge{
    display:inline-block;
    border-radius:999px;
    font-size:12px;
    padding:4px 10px;
    font-weight:700;
}
.how-badge--seeker{ background:#fff3f2; border:1px solid #ffd5d2; color:var(--red); }
.how-badge--owner{ background:#e6f9ec; border:1px solid #c4ebd1; color:#008a1e; }

/* Steps */
.steps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.step{ display:flex; gap:12px; align-items:flex-start; background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; padding:12px; }
.step__num{
    display:inline-grid; place-items:center;
    width:28px; height:28px; border-radius:999px; font-weight:700;
    background:#111827; color:#fff; flex:0 0 28px;
}
.how-col--seeker .step__num{ background:var(--red); }
.how-col--owner  .step__num{ background:var(--green); }

.step__body{ flex:1; }
.step__title{ font-weight:700; color:var(--ink); margin-bottom:4px; }
.step__text{ margin:0; color:#444; }

/* ─── Categories ────────────────────────────────────────────────────────── */
.categories .wrap{padding:18px 0}
.categories h2{margin:0 0 14px}
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.cat-col{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;box-shadow:var(--shadow)}
.cat-col h3{margin:0 0 8px;color:var(--navy);font-size:16px}
.cat-col ul{list-style:none;margin:0 0 10px;padding:0}
.cat-col li{margin:6px 0}
.cat-col a{color:#333;text-decoration:none}
.cat-col a:hover{color:var(--red)}
.cat-more{display:inline-block;margin-top:4px;color:var(--red);text-decoration:none}

/* ─── FAQ (Accordion) ───────────────────────────────────────────────────── */
.section-faq .wrap { padding: 18px 0; }

.faq {
    display: grid;
    gap: 12px;
}

/* details container */
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden; /* keeps rounded corners when open */
}

/* question row */
.faq-q {
    list-style: none; /* hide default marker */
    cursor: pointer;
    padding: 14px 48px 14px 16px;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    user-select: none;
}

/* caret icon */
.faq-q::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .2s ease;
    color: #6b7280;
}

/* answer */
.faq-a {
    padding: 0 16px 16px 16px;
    color: #333;
}

/* open state */
.faq-item[open] .faq-q::after {
    transform: translateY(-50%) rotate(180deg);
}

/* hover/focus */
.faq-q:hover { background: #f8fafc; }
.faq-q:focus { outline: none; }
.faq-q:focus-visible {
    outline: 3px solid rgba(17,24,39,.25);
    outline-offset: 2px;
}

/* subtle accent borders per theme (optional) */
.faq-item[open] {
    border-color: #d9e4ff;
}


/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer{border-top:1px solid var(--line);background:#fafbfc}
.site-footer .wrap{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.foot-nav{display:flex;gap:12px}
.foot-nav a{color:#333;text-decoration:none}
.foot-nav a:hover{color:var(--red)}

/* In the shared footer, links come first in reading and mobile order. */
.site-footer--shared{
	flex-shrink:0;
}

.site-footer--shared .wrap{
	flex-direction:row-reverse;
}

.site-footer--shared .foot-nav a[aria-current="page"]{
	color:var(--red);
	font-weight:700;
}

/* ─── Responsive (consolidated) ─────────────────────────────────────────── */
@media (max-width:1100px){
    .cat-grid{grid-template-columns:repeat(3,1fr)}
    .promos-grid{grid-template-columns:1fr}
    .audience-grid{grid-template-columns:1fr}
    .how-grid{ grid-template-columns:1fr; }
}
@media (max-width:800px){

	/* Logo | centered Post Need | theme/account on all converted pages. */
	.site-header--shared .wrap{
		display:grid;
		grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
		align-items:center;
		gap:8px;
	}

	.site-header--shared .brand{
		justify-self:start;
	}

	.site-header--shared .site-header__post{
		justify-self:center;
	}

	.site-header--shared .nav-actions{
		justify-self:end;
	}

	/* Pages without the Post Need action use a two-column mobile header. */
	.site-header--shared.site-header--without-post .wrap{
		grid-template-columns:minmax(0,1fr) auto;
	}

	.site-header--shared.site-header--without-post .nav-actions{
		grid-column:2;
	}

	.site-header--shared.site-header--focused .wrap{
		display:flex;
		justify-content:space-between;
		gap:12px;
	}
    :root{--page-width:92%}
    .main-nav{display:none}
    .searchbar input{width:100%;min-width:unset}
    .cat-grid{grid-template-columns:1fr 1fr}

    .nav-actions{
        gap:8px;
    }

    /*
		Keep the account dropdown inside the viewport instead of
		pushing it outside the right edge of the screen.
	*/
    .user-menu__panel{
        right:0;
        width:240px;
        max-width:calc(100vw - 24px);
    }
}
@media (max-width:820px){
	.site-header--focused .seek-header__title{
		display:none;
	}
}
@media (max-width: 720px) {
    .hero-search { margin:-28px auto 0; padding:0 12px 24px; }
    .hs-card { padding:16px; border-radius:12px; }
    .hs-form { flex-direction:column; }
    .hs-right { flex-direction:column; flex: 1 1 auto; width: 100%; } /* ✅ fix height jump */
    .hs-button { height:48px; width:100%; } /* optional: make search button full width */
}
@media (max-width:520px){
    .cat-grid{grid-template-columns:1fr}
}


/* Shared footer: links first, then copyright, both centered on phones. */
@media (max-width:640px){
	.site-footer--shared .wrap{
		flex-direction:column;
		justify-content:center;
		gap:8px;
		text-align:center;
	}

	.site-footer--shared .foot-nav{
		flex-wrap:wrap;
		justify-content:center;
	}
}

@media (max-width:520px){
	.site-header--shared .site-header__post{
		padding:8px 10px;
		font-size:13px;
	}
}

@media (max-width:480px){
	.site-header--shared .brand-text{
		display:none;
	}

	/* Keep the full brand visible when the center action is absent. */
	.site-header--shared.site-header--without-post .brand-text{
		display:inline;
	}
}

/* ==========================================================================
   Dark Theme (scoped by [data-theme="dark"] on <html>)
   Minimal overrides using your existing variables + a few surfaces
   ========================================================================== */

[data-theme="dark"]{
    /* tokens */
    --white:#0c111b;            /* page background */
    --black:#e5e7eb;            /* base text */
    --navy:#c7d2fe;             /* headings/brand tint */
    --gray:#0f1624;
    --muted:#94a3b8;
    --line:#1f2937;             /* borders / dividers */
    --blue:#004285;
    --red-special: #ff5c54;
    --red-special2: #ff5c54;
    --green-grass:#13f1b2;
    --bg-soft:#121827;
    --shadow:0 8px 28px rgba(0,0,0,.45);
    /* brand colors kept as-is; you can tweak later if desired */
}

[data-theme="dark"] body{
    color:var(--black);
    background:var(--white);
}

/* Header / nav */
[data-theme="dark"] .site-header{ background:var(--white); border-bottom-color:var(--line); }
[data-theme="dark"] .brand-text{ color:var(--black); }
[data-theme="dark"] .main-nav a{ color:var(--black); }
[data-theme="dark"] .main-nav a:hover{ background:#121826; }

/* Icon chip in header */
[data-theme="dark"] .nav-ico{
    border:1px solid var(--line);
}

/* Links */
[data-theme="dark"] .link{ color:#60a0ff; } /*previously #d1d5db*/
[data-theme="dark"] .link-more{ color:var(--red-special); }

/* Hero v2 */
[data-theme="dark"] .hero-v2{
    background:
            radial-gradient(80% 80% at 90% -10%, rgba(0,161,20,.08), transparent 40%),
            radial-gradient(70% 70% at -10% 110%, rgba(217,4,41,.08), transparent 40%),
            linear-gradient(180deg,#0c111b,#0b1320);
    border-bottom:1px solid var(--line);
}
[data-theme="dark"] .hero-v2 .hero-badge{
    background:#0e1a12; color:#6ee7b7; border-color:#173222;
}
[data-theme="dark"] .hero-v2 h1{ color:var(--black); }
[data-theme="dark"] .hero-v2 .hero-sub,
[data-theme="dark"] .hero-v2 .hero-trust{ color:var(--muted); }

/* Search band / card */
[data-theme="dark"] .search-band{ background:#0f1624; }
[data-theme="dark"] .hs-card{
    background:#0e1420; border-color:var(--line); box-shadow:var(--shadow);
}
[data-theme="dark"] .hs-title{ color:var(--black); }
[data-theme="dark"] .chip{ background:#0f172a; border-color:#1f2937; color:var(--black); }
[data-theme="dark"] .chip:hover{ background:#0b1220; }
[data-theme="dark"] .chip.is-active{ background:#111827; color:#fff; border-color:#111827; }
[data-theme="dark"] .hs-form input[type="search"],
[data-theme="dark"] .hs-form input[type="text"]{
    background:#0b1220; color:var(--black); border-color:var(--line);
}

/* Sections / cards */
[data-theme="dark"] .section-head h2{ color:var(--navy); }
[data-theme="dark"] .seeker-card,
[data-theme="dark"] .owner-card,
[data-theme="dark"] .cat-col,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .how-col,
[data-theme="dark"] .aud-card{
    background:#0e1420; border-color:var(--line); box-shadow:var(--shadow);
}
[data-theme="dark"] .seeker-title,
[data-theme="dark"] .owner-title,
[data-theme="dark"] .cat-col h3,
[data-theme="dark"] .how-title{ color:var(--navy); }
[data-theme="dark"] .seeker-desc,
[data-theme="dark"] .owner-desc,
[data-theme="dark"] .aud-text,
[data-theme="dark"] .step__text,
[data-theme="dark"] .cat-col a{ color:#cbd5e1; }

/* badges / tints */
[data-theme="dark"] .badge-seeker{ background:#2a0b0b; color:#ff8680; border-color:#3a1110; }
[data-theme="dark"] .badge-owner{ background:#0f2316; color:#6ee7b7; border-color:#11331d; }
[data-theme="dark"] .owner-card{ background:#0f1710; border-color:#1b2a1b; }

/* steps tiles */
[data-theme="dark"] .step{ background:#0b1220; border-color:var(--line); }
[data-theme="dark"] .step__title{ color:var(--black); }

/* FAQ */
[data-theme="dark"] .faq-q{ color:var(--navy); }
[data-theme="dark"] .faq-q:hover{ background:#101827; }
[data-theme="dark"] .faq-a{ color:#cbd5e1; }
[data-theme="dark"] .faq-item[open]{ border-color:#1d2a4a; }

/* Audience section */
[data-theme="dark"] .audience{ background:var(--white); border-top-color:var(--line); border-bottom-color:var(--line); }
[data-theme="dark"] .aud-badge{ background:#0f172a; border-color:#1f2937; color:#c7d2fe; }
[data-theme="dark"] .aud-list li{color: var(--black);}

/* Footer */
[data-theme="dark"] .site-footer{ background:#0e1420; border-top-color:var(--line); }
[data-theme="dark"] .foot-nav a{ color:#cbd5e1; }
[data-theme="dark"] .foot-nav a:hover{ color:var(--red); }

/* Global dark-theme fix for outline buttons. */
[data-theme="dark"] .btn-outline{
    background:#0b1220;
    color:#e5e7eb;
    border-color:#334155;
}

[data-theme="dark"] .btn-outline:hover{
    background:#101827;
    color:#fff;
    border-color:#475569;
}

/* Shared date and time fields in dark theme. */
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="datetime-local"]{
    background:#0b1220;
    color:#e5e7eb;
    border-color:var(--line);
    color-scheme:dark;
}

[data-theme="dark"] input[type="date"]:hover,
[data-theme="dark"] input[type="time"]:hover,
[data-theme="dark"] input[type="datetime-local"]:hover{
    border-color:#334155;
}

[data-theme="dark"] input[type="date"]:focus,
[data-theme="dark"] input[type="time"]:focus,
[data-theme="dark"] input[type="datetime-local"]:focus{
    outline-color:rgba(148,163,184,.25);
    border-color:#475569;
}

[data-theme="dark"] .seeker-meta{color:#fff}
[data-theme="dark"] .owner-meta{color:#fff}