/*
Theme Name: Solitaire Master Downloads
Theme URI: https://solitairemasterapp.com
Author: Solitaire Master Downloads
Description: An independent, informational guide theme covering Solitaire family card-game apps — version info, compatibility, and official app-store links. Converted from a static HTML site into a self-contained WordPress theme.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: solitaire-master-downloads
*/

/* ============================================================
   SOLITAIRE MASTER DOWNLOADS — design tokens
   Signature motif: gold card-suit corner marks (♠ ♥ ♦ ♣) used as
   section dividers and list markers — the site's one visual
   flourish, tied directly to the card-game subject matter.
   ============================================================ */

/* Google Font is loaded non-blocking from functions.php */

:root {
    /* color */
    --crimson-deep: #4a0d16;
    /* page background base */
    --crimson-mid: #6e1522;
    /* card / panel surfaces on dark */
    --crimson-bright: #9c1f2e;
    /* accents, hover fills */
    --charcoal: #170707;
    /* near-black sections, footer */
    --gold: #d9a441;
    /* primary gold */
    --gold-bright: #f3c95f;
    /* hover / glow gold */
    --cream: #faf3e6;
    /* light card surfaces */
    --ink: #241012;
    /* body text on light cards */
    --white: #fbf3e9;
    /* text on dark */
    --white-dim: rgba(251, 243, 233, 0.72);
    /* type — Noto Sans Devanagari is the single primary family for every
     element (Hindi and English alike), so headings, body copy, nav,
     buttons and tables all render consistently across the site. */
    --font-display: 'Noto Sans Devanagari', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Noto Sans Devanagari', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Noto Sans Devanagari', 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* type weights (per the site's typography scale) */
    --fw-body: 400;
    /* body text */
    --fw-subhead: 500;
    /* subheadings */
    --fw-heading: 600;
    /* main headings */
    --fw-strong: 700;
    /* important text / table values */
    /* layout */
    --max-w: 1240px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-gold: 0 0 0 1px rgba(217, 164, 65, 0.35), 0 8px 30px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(ellipse at top, #5a0f19 0%, var(--crimson-deep) 45%, var(--charcoal) 100%);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: var(--fw-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- typography hierarchy: Noto Sans Devanagari everywhere ---------- */

h1,
h2 {
    font-family: var(--font-display);
    font-weight: var(--fw-heading);
    line-height: 1.15;
    margin: 0 0 .5em;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-subhead);
    line-height: 1.2;
    margin: 0 0 .5em;
}

p,
li,
td,
th,
dd,
dt,
figcaption,
label {
    font-family: var(--font-body);
    font-weight: var(--fw-body);
}

strong,
b {
    font-weight: var(--fw-strong);
}

table {
    font-family: var(--font-body);
}

th {
    font-weight: var(--fw-subhead);
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

nav,
.main-nav a,
.mobile-nav a,
.footer-col a,
.side-list a {
    font-family: var(--font-body);
    font-weight: var(--fw-strong);
}

.btn,
.tag,
.tp-btn,
.tp-kicker,
.tp-mini-tag {
    font-family: var(--font-body);
    font-weight: var(--fw-strong);
}

.logo,
.brand-text .name,
.footer-brand .name {
    font-family: var(--font-display);
    font-weight: var(--fw-heading);
}

p {
    margin: 0 0 1em;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 2px;
}

/* ---------- suit marker signature ---------- */

.suit {
    display: inline-block;
    color: var(--gold);
    font-size: .9em;
}

.suit-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2.5rem 0 1.75rem;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.suit-divider::before,
.suit-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .55), transparent);
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(23, 7, 7, .96), rgba(74, 13, 22, .96));
    border-bottom: 1px solid rgba(217, 164, 65, .28);
    backdrop-filter: blur(6px);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.logo .suit {
    font-size: 1.3rem;
}

.logo strong {
    color: var(--gold-bright);
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .92rem;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    padding: 6px 2px;
    color: var(--white-dim);
    transition: color .2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--gold-bright);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--gold-bright);
    transform: scaleX(0);
    transition: transform .2s;
    box-shadow: 0 0 8px var(--gold-bright);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle,
.menu-toggle {
    background: none;
    border: 1px solid rgba(217, 164, 65, .4);
    color: var(--gold-bright);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-toggle:hover,
.menu-toggle:hover {
    background: rgba(217, 164, 65, .12);
}

.menu-toggle {
    display: flex;
}

@media(min-width:900px) {
    .main-nav {
        display: block;
    }
    .menu-toggle {
        display: none;
    }
    .mobile-nav {
        display: none !important;
    }
}

.search-panel {
    display: none;
    border-top: 1px solid rgba(217, 164, 65, .25);
    padding: 14px 0;
}

.search-panel.open {
    display: block;
}

.search-panel input {
    width: 100%;
    max-width: 520px;
    background: var(--charcoal);
    border: 1px solid rgba(217, 164, 65, .4);
    color: var(--white);
    padding: 11px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: .95rem;
}

.search-panel input:focus {
    border-color: var(--gold-bright);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(217, 164, 65, .25);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 10px 4px;
    font-weight: 600;
    color: var(--white-dim);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* ---------- hero ---------- */

.hero {
    padding: 64px 0 56px;
    background: radial-gradient(ellipse at 30% 0%, rgba(217, 164, 65, .14), transparent 55%);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    max-width: 16ch;
    background: linear-gradient(180deg, #fff5df, var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    max-width: 56ch;
    color: var(--white-dim);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #241004;
    box-shadow: 0 6px 22px rgba(217, 164, 65, .35);
}

.btn-gold:hover {
    box-shadow: 0 8px 28px rgba(243, 201, 95, .5);
}

.btn-outline {
    background: rgba(0, 0, 0, .15);
    border-color: rgba(217, 164, 65, .55);
    color: var(--gold-bright);
}

.btn-outline:hover {
    background: rgba(217, 164, 65, .12);
}

/* ---------- sections / cards ---------- */

section {
    padding: 56px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--white);
}

.section-head .see-all {
    font-weight: 700;
    color: var(--gold-bright);
    font-size: .9rem;
    white-space: nowrap;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .12));
    border: 1px solid rgba(217, 164, 65, .25);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
    border-color: rgba(217, 164, 65, .6);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media(min-width:820px) {
    .featured-card {
        grid-template-columns: 1.1fr 1fr;
    }
}

.featured-card .media {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--crimson-mid), var(--charcoal));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-card .media .suit {
    font-size: 4rem;
    opacity: .5;
}

.featured-card .body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--charcoal);
    background: var(--gold-bright);
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
    font-weight: 700;
}

.meta-row {
    font-size: .82rem;
    color: var(--white-dim);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.featured-card h3 {
    font-size: 1.5rem;
    color: var(--white);
}

.featured-card p {
    color: var(--white-dim);
}

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

@media(min-width:640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width:980px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media(min-width:640px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(217, 164, 65, .15);
    border: 1px solid rgba(217, 164, 65, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.3rem;
}

.cat-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.cat-card p {
    font-size: .9rem;
    color: var(--white-dim);
    margin-bottom: 6px;
}

.cat-card .explore {
    font-size: .85rem;
    font-weight: 700;
    color: var(--gold-bright);
}

.post-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-card .media {
    aspect-ratio: 16/9;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--crimson-mid), var(--charcoal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.post-card .media .suit {
    font-size: 2.2rem;
    opacity: .55;
}

.post-card h3 {
    font-size: 1.05rem;
    color: var(--white);
}

.post-card p {
    font-size: .9rem;
    color: var(--white-dim);
    margin-bottom: 0;
}

/* ---------- trust panel ---------- */

.trust-panel {
    background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .12));
    border: 1px solid rgba(217, 164, 65, .3);
    border-radius: var(--radius);
    padding: 32px;
}

.trust-panel h2 {
    color: var(--gold-bright);
    font-size: 1.35rem;
}

.trust-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 18px;
}

@media(min-width:760px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    font-size: .92rem;
    color: var(--white-dim);
}

.trust-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-weight: 600;
}

/* ---------- layout: article + sidebar ---------- */

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width:960px) {
    .layout {
        grid-template-columns: 2fr 1fr;
    }
}

.breadcrumbs {
    font-size: .85rem;
    color: var(--white-dim);
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: var(--gold-bright);
}

.breadcrumbs span {
    margin: 0 6px;
    opacity: .6;
}

.article-head h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    color: var(--white);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .85rem;
    color: var(--white-dim);
    margin: 14px 0 24px;
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-chip .av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: #241004;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .75rem;
}

.app-info-box {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin: 26px 0;
    border: 1px solid rgba(217, 164, 65, .5);
}

.app-info-box h2 {
    font-size: 1.15rem;
    color: var(--crimson-bright);
    font-family: var(--font-mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 16px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.info-table tr {
    border-bottom: 1px solid rgba(74, 13, 22, .12);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 9px 4px;
}

.info-table td:first-child {
    color: #6b3a3a;
    font-weight: 600;
    width: 40%;
}

.info-table td:last-child {
    font-weight: 700;
}

.verify-note {
    font-size: .8rem;
    color: #8a5a1f;
    margin-top: 14px;
    background: rgba(217, 164, 65, .15);
    padding: 10px 12px;
    border-radius: 8px;
}

.download-box {
    background: linear-gradient(160deg, var(--crimson-mid), var(--charcoal));
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin: 26px 0;
    box-shadow: var(--shadow-gold);
    text-align: center;
}

.download-box p.small {
    font-size: .82rem;
    color: var(--white-dim);
    margin-top: 14px;
}

.prose h2 {
    font-size: 1.4rem;
    color: var(--white);
    margin-top: 2.2em;
}

.prose h3 {
    font-size: 1.12rem;
    color: var(--gold-bright);
    margin-top: 1.6em;
}

.prose ul,
.prose ol {
    color: var(--white-dim);
    padding-left: 1.3em;
}

.prose li {
    margin-bottom: .4em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: .9rem;
}

.prose th,
.prose td {
    border: 1px solid rgba(217, 164, 65, .25);
    padding: 9px 12px;
    text-align: left;
}

.prose th {
    background: rgba(217, 164, 65, .12);
    color: var(--gold-bright);
    font-family: var(--font-mono);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.prose td {
    color: var(--white-dim);
}

.faq-item {
    border-bottom: 1px solid rgba(217, 164, 65, .2);
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 4px;
    font-weight: 700;
    color: var(--white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--gold-bright);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-item .a {
    padding: 0 4px 16px;
    color: var(--white-dim);
    font-size: .94rem;
}

/* ---------- sidebar ---------- */

.side-block {
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(217, 164, 65, .22);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.side-block h4 {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-list a {
    font-size: .9rem;
    color: var(--white-dim);
}

.side-list a:hover {
    color: var(--gold-bright);
}

/* ---------- legal / simple content pages ---------- */

.legal-page .prose {
    max-width: 74ch;
}

.legal-page h1 {
    margin-bottom: 8px;
}

.updated {
    font-size: .85rem;
    color: var(--white-dim);
    margin-bottom: 2rem;
}

/* ---------- footer ---------- */

.site-footer {
    background: linear-gradient(180deg, var(--charcoal), #0c0303);
    border-top: 1px solid rgba(217, 164, 65, .3);
    padding: 52px 0 26px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media(min-width:720px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(4, 1fr);
    }
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: .9rem;
    color: var(--white-dim);
}

.footer-col a:hover {
    color: var(--gold-bright);
}

.footer-brand p {
    color: var(--white-dim);
    font-size: .88rem;
    max-width: 32ch;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(217, 164, 65, .18);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: .8rem;
    color: var(--white-dim);
}

/* ============================================================
   HOMEPAGE v2 — matches supplied reference layout
   (banner hero + cream content section + sidebar + FAQ grid)
   ============================================================ */

.disclaimer-banner {
    background: linear-gradient(90deg, rgba(217, 164, 65, .16), rgba(217, 164, 65, .06));
    border-bottom: 1px solid rgba(217, 164, 65, .35);
    color: var(--gold-bright);
    font-size: .85rem;
    text-align: center;
    padding: 9px 16px;
    font-weight: 600;
}

.disclaimer-banner strong {
    color: var(--white);
}

/* logo badge (recreated in-house, generic three-card gaming badge) */

.badge-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.1;
}

.brand-text .name strong {
    color: var(--gold-bright);
}

.brand-text .tag {
    font-size: .72rem;
    color: var(--white-dim);
    letter-spacing: .02em;
}

/* top search bar in header (reference has a big search box top-right) */

.header-search {
    display: none;
}

@media(min-width:1080px) {
    .header-search {
        display: flex;
        align-items: center;
        background: var(--cream);
        border-radius: 8px;
        overflow: hidden;
        min-width: 260px;
    }
    .header-search input {
        border: none;
        background: transparent;
        padding: 10px 12px;
        font-family: var(--font-body);
        font-size: .85rem;
        color: var(--ink);
        flex: 1;
        outline: none;
    }
    .header-search button {
        border: none;
        background: var(--gold);
        color: #241004;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
    }
}

/* hero banner (dark, with big card artwork + platform row) */

.hero-banner {
    position: relative;
    padding: 48px 0 40px;
    background: radial-gradient(ellipse at 15% 20%, rgba(217, 164, 65, .18), transparent 55%), linear-gradient(135deg, #6e1522 0%, #4a0d16 55%, var(--charcoal) 100%);
    border-bottom: 1px solid rgba(217, 164, 65, .3);
    overflow: hidden;
}

.hero-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media(min-width:860px) {
    .hero-banner-grid {
        grid-template-columns: 1fr 1.15fr;
    }
}

.hero-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-banner h1 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: var(--white);
    margin-bottom: 6px;
}

.hero-banner h1 .gold {
    color: var(--gold-bright);
}

.hero-banner p.lead {
    color: var(--white-dim);
    max-width: 44ch;
}

.platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 26px;
}

.platform-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(217, 164, 65, .4);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 84px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: .03em;
}

.platform-chip .glyph {
    font-size: 1.4rem;
}

/* cream content section (matches reference's light app-grid area) */

.content-light {
    background: var(--cream);
    color: var(--ink);
    padding: 52px 0;
}

.content-light .section-title {
    text-align: center;
    margin-bottom: 8px;
}

.content-light .section-title h2 {
    color: var(--crimson-bright);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.content-light .suit-divider {
    color: var(--crimson-bright);
}

.content-light .suit-divider::before,
.content-light .suit-divider::after {
    background: linear-gradient(90deg, transparent, rgba(140, 20, 30, .4), transparent);
}

.light-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 28px;
}

@media(min-width:980px) {
    .light-layout {
        grid-template-columns: 2.4fr 1fr;
    }
}

.app-card {
    background: #fff;
    border: 1px solid rgba(140, 20, 30, .15);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(74, 13, 22, .06);
    transition: box-shadow .2s, transform .2s;
}

.app-card:hover {
    box-shadow: 0 10px 26px rgba(74, 13, 22, .14);
    transform: translateY(-3px);
}

.app-card .icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--crimson-mid), var(--charcoal));
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.app-card h3 {
    font-size: 1rem;
    color: var(--crimson-bright);
    margin-bottom: 4px;
}

.app-card p {
    font-size: .82rem;
    color: #6b3a3a;
    margin-bottom: 10px;
    min-height: 2.6em;
}

.app-card .platform-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    color: #8a5a1f;
    background: #fdeecb;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.app-card .btn-info {
    display: block;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #241004;
    font-weight: 700;
    font-size: .82rem;
    padding: 9px;
    border-radius: 8px;
}

/* sidebar widgets (light) */

.widget {
    background: #fff;
    border: 1px solid rgba(140, 20, 30, .15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget h4 {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--crimson-bright);
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    font-size: .86rem;
    color: #43222a;
    display: flex;
    gap: 8px;
}

.check-list li::before {
    content: '✓';
    color: #2f8f4e;
    font-weight: 800;
}

.search-terms {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.search-terms li {
    font-size: .85rem;
    color: #6b3a3a;
}

.subscribe-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.subscribe-row input {
    flex: 1;
    border: 1px solid rgba(140, 20, 30, .25);
    border-radius: 8px;
    padding: 9px 10px;
    font-size: .85rem;
}

.subscribe-row button {
    background: var(--gold);
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 700;
    color: #241004;
    cursor: pointer;
}

/* feature strip */

.feature-strip {
    background: linear-gradient(90deg, var(--crimson-mid), var(--charcoal));
    border-top: 1px solid rgba(217, 164, 65, .25);
    border-bottom: 1px solid rgba(217, 164, 65, .25);
}

.feature-strip .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 24px;
}

@media(min-width:760px) {
    .feature-strip .container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-item .glyph {
    font-size: 1.4rem;
    color: var(--gold-bright);
}

.feature-item h5 {
    color: var(--white);
    font-size: .92rem;
    margin-bottom: 2px;
}

.feature-item p {
    color: var(--white-dim);
    font-size: .8rem;
    margin: 0;
}

/* FAQ two-column (dark section, reference style) */

.faq-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media(min-width:760px) {
    .faq-two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-two-col .faq-item {
    background: linear-gradient(160deg, var(--crimson-mid), var(--charcoal));
    border: 1px solid rgba(217, 164, 65, .3);
    border-radius: 10px;
    padding: 0 4px;
}

.faq-two-col .faq-item summary {
    padding: 14px 14px;
}

.faq-two-col .faq-item .a {
    padding: 0 14px 14px;
}

/* ============================================================
   HOMEPAGE v3 — closer visual fidelity to supplied reference:
   two-row header, colorful icon-box app cards, tighter FAQ
   ============================================================ */

/* header restructured to two rows like reference */

.site-header {
    padding-bottom: 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 164, 65, .28);
}

.header-bottom {
    padding: 0;
}

.header-bottom .main-nav ul {
    justify-content: center;
    gap: 0;
}

.header-bottom .main-nav a {
    padding: 14px 20px;
    display: block;
}

.header-bottom .main-nav a.active {
    color: var(--gold-bright);
    background: rgba(217, 164, 65, .1);
}

.header-bottom .main-nav a.active::after {
    transform: scaleX(1);
}

.brand-text .tag {
    color: var(--white-dim);
    font-size: .78rem;
    line-height: 1.5;
}

/* colorful icon boxes for app cards (cycled palette, matches
   reference's varied red/black/blue tile icons) */

.app-card .icon-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    font-size: 1.15rem;
    letter-spacing: .02em;
}

.app-card.tone-a .icon-box {
    background: linear-gradient(160deg, #9c1f2e, #4a0d16);
    border-color: var(--gold);
}

.app-card.tone-b .icon-box {
    background: linear-gradient(160deg, #241012, #0c0303);
    border-color: var(--gold);
}

.app-card.tone-c .icon-box {
    background: linear-gradient(160deg, #2952a3, #152a52);
    border-color: #e8b84b;
}

.app-card.tone-d .icon-box {
    background: linear-gradient(160deg, #c98a1f, #8a5a1f);
    border-color: #fff3d1;
}

.app-card h3 {
    font-size: 1.02rem;
}

.app-card .platform-tag {
    background: #fdeecb;
}

/* social icon row for sidebar */

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crimson-mid);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    border: 1px solid rgba(217, 164, 65, .35);
}

.social-row a:hover {
    background: var(--gold);
    color: #241004;
}

/* FAQ styled as solid dark-red bars on cream section, closer to reference */

.content-light .faq-two-col .faq-item {
    background: linear-gradient(160deg, #7a1421, #4a0d16);
    border-color: rgba(217, 164, 65, .4);
}

/* ===== SITE-WIDE HEADER / FOOTER CONSISTENCY ===== */

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: linear-gradient(180deg, rgba(74, 13, 22, .98), rgba(45, 7, 12, .98)) !important;
    border-bottom: 1px solid rgba(217, 164, 65, .38) !important;
    backdrop-filter: blur(8px) !important;
}

.site-header .container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 16px 0 !important;
    min-height: 96px !important;
    border-bottom: 1px solid rgba(217, 164, 65, .28) !important;
}

.brand-block {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.brand-text {
    display: flex !important;
    align-items: center !important;
}

.brand-text .name,
.footer-brand .name {
    font-family: 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif !important;
    font-weight: 700 !important;
    color: #fbf3e9 !important;
    font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
    white-space: nowrap !important;
}

.brand-text .name strong,
.footer-brand .name strong {
    color: #f3c95f !important;
}

.badge-logo-img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    border: 2px solid #e6ad24 !important;
    box-shadow: 0 0 0 2px rgba(255, 211, 62, .12), 0 7px 18px rgba(0, 0, 0, .28) !important;
    flex-shrink: 0 !important;
}

.header-search {
    display: flex !important;
    align-items: center !important;
    background: #faf3e6 !important;
    border: 2px solid #d9a441 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    width: min(420px, 34vw) !important;
    min-width: 260px !important;
}

.header-search input {
    border: 0 !important;
    background: transparent !important;
    padding: 12px 14px !important;
    color: #241012 !important;
    flex: 1 !important;
    outline: 0 !important;
    font: 500 15px 'Noto Sans Devanagari', system-ui, sans-serif !important;
}

.header-search button {
    border: 0 !important;
    background: transparent !important;
    color: #4a0d16 !important;
    width: 46px !important;
    height: 44px !important;
    cursor: pointer !important;
    font-size: 24px !important;
}

.header-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.search-toggle,
.menu-toggle {
    border: 1px solid rgba(217, 164, 65, .55) !important;
    background: rgba(0, 0, 0, .16) !important;
    color: #f3c95f !important;
    border-radius: 10px !important;
    min-width: 42px !important;
    height: 42px !important;
    cursor: pointer !important;
}

.menu-toggle {
    display: none !important;
}

.main-nav {
    display: block !important;
}

.header-bottom {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.main-nav ul {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 62px !important;
    padding: 0 20px !important;
    color: #fbf3e9 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: .82rem !important;
    letter-spacing: .02em !important;
    border-bottom: 3px solid transparent !important;
}

.main-nav a:hover,
.main-nav a.active {
    color: #f3c95f !important;
    background: rgba(217, 164, 65, .08) !important;
    border-bottom-color: #f3c95f !important;
}

.search-panel {
    display: none !important;
}

.search-panel.open {
    display: block !important;
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

.search-panel input {
    width: min(560px, 100%) !important;
    background: #fffaf0 !important;
    color: #241012 !important;
    border: 1px solid #d9a441 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
}

.mobile-nav {
    display: none !important;
}

.site-footer {
    background: linear-gradient(180deg, #2a070c, #140404) !important;
    border-top: 1px solid rgba(217, 164, 65, .35) !important;
    color: #fbf3e9 !important;
    padding: 48px 0 22px !important;
}

.site-footer .container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.7fr 1fr 1fr 1fr !important;
    gap: 30px !important;
}

.footer-col h5 {
    color: #f3c95f !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    margin: 0 0 12px !important;
}

.footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-col li {
    margin: 0 0 7px !important;
}

.footer-col a {
    color: rgba(251, 243, 233, .78) !important;
}

.footer-col a:hover {
    color: #f3c95f !important;
}

.footer-logo-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
}

.hero-logo {
    width: 220px !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 42px !important;
    border: 3px solid #f3c95f !important;
    box-shadow: 0 0 0 5px rgba(217, 164, 65, .10), 0 18px 45px rgba(0, 0, 0, .45), 0 0 28px rgba(243, 201, 95, .18) !important;
}

.hero-cards {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 300px !important;
}

@media(max-width:859px) {
    .header-top {
        min-height: 76px !important;
        padding: 10px 0 !important;
    }
    .badge-logo-img {
        width: 52px !important;
        height: 52px !important;
        border-radius: 14px !important;
    }
    .brand-text .name {
        font-size: 1.05rem !important;
    }
    .header-search {
        display: none !important;
    }
    .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .search-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .main-nav {
        display: none !important;
    }
    .header-bottom {
        display: none !important;
    }
    .mobile-nav {
        flex-direction: column !important;
        gap: 0 !important;
        background: #3b0910 !important;
        border-top: 1px solid rgba(217, 164, 65, .25) !important;
    }
    .mobile-nav.open {
        display: flex !important;
    }
    .mobile-nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(217, 164, 65, .15) !important;
        font-weight: 700 !important;
        color: #fbf3e9 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .hero-logo {
        width: 180px !important;
        height: 180px !important;
    }
}

@media(max-width:520px) {
    .site-header .container,
    .site-footer .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .brand-text .name {
        font-size: .92rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---------- compact stacked brand identity ---------- */

.brand-block .brand-text,
.brand-block .name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.02;
}

.brand-block .name>span {
    display: block;
    white-space: nowrap;
}

.brand-block .name .brand-downloads {
    color: #f4c94f;
    font-size: .82em;
    margin-top: 2px;
}

.header-top .brand-block {
    min-height: 64px;
}

.header-top .badge-logo-img {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(244, 201, 79, .65);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35), 0 0 10px rgba(244, 201, 79, .16);
}

.header-top .brand-text .name {
    font-size: 22px !important;
    letter-spacing: 0 !important;
}

.footer-brand .brand-block {
    align-items: center;
}

.footer-brand .footer-logo-img {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;
    object-fit: cover;
    border-radius: 12px;
}

.footer-brand .brand-block .name {
    font-size: 18px !important;
}

.footer-brand .brand-block .name .brand-downloads {
    font-size: .82em;
}

@media(max-width:899px) {
    .header-top .badge-logo-img {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px;
        border-radius: 14px;
    }
    .header-top .brand-text .name {
        font-size: 18px !important;
    }
}

@media(max-width:520px) {
    .header-top .brand-block {
        gap: 9px;
    }
    .header-top .brand-text .name {
        font-size: 16px !important;
    }
    .header-top .brand-block .badge-logo-img {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px;
    }
}

/* Site-wide: newsletter/email subscription block intentionally removed */

.newsletter,
.newsletter-box,
.subscribe-box,
.subscription-box,
.email-subscribe,
.stay-updated,
.footer-newsletter,
[data-newsletter],
[id*="newsletter"],
[class*="newsletter"] {
    display: none !important;
}

/* ---------- WordPress current-page active nav state ---------- */

.header-bottom .main-nav a.active,
.main-nav a.active,
.mobile-nav a.active {
    color: #f3c95f !important;
    background: rgba(217, 164, 65, .1);
}

.header-bottom .main-nav a.active::after {
    transform: scaleX(1);
}

/* ---------- Editable download popup + top notice ---------- */

.smd-top-notice {
    width: 100% !important;
    background: #5d0710 !important;
    color: #fff8ed !important;
    border-bottom: 1px solid rgba(243, 201, 95, .55) !important;
    padding: 8px 18px !important;
    text-align: center !important;
    font: 700 12px/1.5 'Noto Sans Devanagari', system-ui, sans-serif !important;
    letter-spacing: .01em !important;
}

.smd-top-notice span {
    color: #f3c95f !important;
    margin-right: 5px !important;
}

.smd-download-popup {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 99999 !important;
    width: min(340px, calc(100vw - 30px)) !important;
    background: linear-gradient(135deg, #52060c, #280207) !important;
    border: 1px solid #d9a441 !important;
    border-radius: 15px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42) !important;
    color: #fff !important;
    padding: 15px !important;
}

.smd-download-popup.is-hidden {
    display: none !important;
}

.smd-popup-close {
    position: absolute !important;
    right: 7px !important;
    top: 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    width: 28px !important;
    height: 28px !important;
}

.smd-popup-inner {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    padding-right: 8px !important;
}

.smd-popup-inner img {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover !important;
    border-radius: 13px !important;
    border: 1px solid #f3c95f !important;
    flex: 0 0 58px !important;
}

.smd-popup-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 0 !important;
}

.smd-popup-copy strong {
    font: 800 15px/1.2 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif !important;
    color: #fff !important;
}

.smd-popup-copy span {
    font: 500 12px/1.35 'Noto Sans Devanagari', system-ui, sans-serif !important;
    color: #f5dfbf !important;
}

.smd-popup-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    margin-top: 3px !important;
    padding: 9px 14px !important;
    border-radius: 7px !important;
    background: #f2bd2b !important;
    color: #250308 !important;
    font: 800 13px/1 'Noto Sans Devanagari', system-ui, sans-serif !important;
    text-decoration: none !important;
}

.smd-popup-button:hover {
    background: #ffe078 !important;
    color: #250308 !important;
}

.smd-download-popup {
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    will-change: transform, opacity;
}

.smd-download-popup.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

@media(max-width:520px) {
    .smd-download-popup {
        right: 10px !important;
        left: 10px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        padding: 12px !important;
    }
    .smd-popup-inner img {
        width: 50px !important;
        height: 50px !important;
        flex-basis: 50px !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    .smd-download-popup {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

img {
    max-width: 100%;
    height: auto;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}