/*
Theme Name: Alfanine
Theme URI: https://alfanine.com/
Author: Alfanine Team
Author URI: https://alfanine.com/
Description: Alfanine is a fully-featured educational blog theme for scholarships, study abroad, and student guidance. Designed for clarity, speed, and trust. Fully Customizer-ready with a top-bar, sticky navigation, filterable content, and a professional footer. Compatible with WooCommerce.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfanine
Tags: blog, education, custom-logo, custom-menu, custom-background, custom-colors, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, rtl-language-support, two-columns, right-sidebar, editor-style
*/

/* ─────────────────────────────────────────
   CUSTOM PROPERTIES (DESIGN TOKENS)
───────────────────────────────────────── */
:root {
    --ink: #0f1923;
    --ink-soft: #3d4a58;
    --ink-faint: #7a8a99;
    --paper: #fafaf8;
    --paper-alt: #f2f1ee;
    --rule: #e0ddd7;
    --gold: #b07d3a;
    --gold-lt: #f0e4cc;
    --accent: #1a4d7a;
    --accent-lt: #dce8f5;
    --red: #ff3f42;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Poppins', system-ui, sans-serif;
    --r: 6px;
    --shadow: 0 2px 16px rgba(15, 25, 35, .08);
    --shadow-lg: 0 8px 40px rgba(15, 25, 35, .13);
    --nav-h: 72px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
    color: #5b5b5b;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    color: var(--red);
    text-decoration: underline;
    transition: color .18s;
}

a:hover {
    color: #141414;
    text-decoration: underline;
}

a:focus {
    outline: 2px dashed var(--red) !important;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* ─────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--white);
    z-index: 9999;
    text-decoration: none;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* ─────────────────────────────────────────
   TOPBAR
───────────────────────────────────────── */
.header-topbar {
    background: var(--accent);
    color: var(--white);
    font-size: .82rem;
    font-family: var(--sans);
}

.header-topbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.header-topbar .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-topbar .left a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.header-topbar .left a:hover {
    color: var(--white);
}

.phntp,
.emltp {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .85);
}

.phntp img,
.emltp img {
    display: inline-block;
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.header-topbar .right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s;
}

.social-icons a:hover {
    background: var(--gold);
}

.social-icons a.fb::before {
    content: "f";
}

.social-icons a.tw::before {
    content: "𝕏";
}

.social-icons a.in::before {
    content: "in";
    font-size: .6rem;
}

.social-icons a.insta::before {
    content: "📸";
    font-size: .72rem;
}

/* ─────────────────────────────────────────
   HEADER / NAVIGATION
───────────────────────────────────────── */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header.transheader {
    background: rgba(7, 6, 13, 0) !important;
}

.header>.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.whitebg {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    gap: 32px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
}

#logo-main a {
    text-decoration: none;
}

.site-title {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.5px;
    line-height: 1.1;
    text-decoration: none;
}

.site-title span {
    color: var(--gold);
}

.site-description {
    font-size: .72rem;
    color: var(--ink-faint);
    font-weight: 400;
    letter-spacing: .03em;
}

.custom-logo {
    max-height: 48px;
    width: auto;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Navigation */
#navigation {
    flex: 1;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu>li>a {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 8px 14px;
    border-radius: var(--r);
    text-decoration: none;
    transition: color .18s, background .18s;
}

.primary-menu>li>a:hover,
.primary-menu>li.current-menu-item>a,
.primary-menu>li.current-page-ancestor>a {
    color: var(--accent);
    background: var(--accent-lt);
}

/* Dropdown */
.primary-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px 0;
    z-index: 999;
    list-style: none;
}

.primary-menu li:hover>ul {
    display: block;
}

.primary-menu li ul li a {
    display: block;
    padding: 9px 18px;
    font-size: .84rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: background .15s, color .15s;
}

.primary-menu li ul li a:hover {
    background: var(--accent-lt);
    color: var(--accent);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .2s;
}

.toggled .menu-toggle span {
    background: var(--red);
}

/* Phone in header */
.srcrt {
    margin-left: auto;
}

.header-content-right {
    display: table;
    border-left: 1px solid var(--rule);
}

.skt-header-button {
    float: right;
    display: inline-block;
    color: var(--ink);
    padding: 24px 20px 24px 20px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    font-family: var(--sans);
}

.hedbtn-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hedbtn-details img {
    display: inline-block;
    width: 20px;
}

/* Inner page banner */
.inner-banner-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 300px;
}

.inner-banner-thumb img {
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}

.banner-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent);
}

.banner-container h1 {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 700;
}

/* ─────────────────────────────────────────
   MAIN CONTENT AREA
   NOTE: #content_navigator uses flex for
   inner pages (content + sidebar layout).
   .site-main is used on the front page to
   avoid sections rendering side by side.
───────────────────────────────────────── */
#content_navigator {
    display: flex;
    gap: 32px;
}

/* ★ FIX: Front page uses #site-main — block layout so sections stack vertically */
#site-main,
.site-main {
    display: block;
    width: 100%;
}

.page_content {
    flex: 1;
    min-width: 0;
}

.blog-post {
    padding: 40px 0;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY HELPERS
───────────────────────────────────────── */
.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.display-xl {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
}

.display-lg {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--ink);
}

.display-md {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
}

.lead {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.75;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .9rem;
    padding: 12px 26px;
    border-radius: var(--r);
    cursor: pointer;
    border: none;
    transition: all .18s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #153e63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 122, .3);
    color: var(--white);
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: #8f6228;
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-lt);
    color: var(--accent);
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .55);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    text-decoration: none;
}

/* ─────────────────────────────────────────
   SECTION WRAPPERS
───────────────────────────────────────── */
.section {
    padding: 88px 24px;
}

.section-alt {
    background: var(--paper-alt);
}

.section-dark {
    background: var(--ink);
    color: var(--white);
}

.section-dark .eyebrow {
    color: var(--gold);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}

.section-head {
    max-width: 640px;
}

.section-head.center {
    text-align: center;
    margin: 0 auto 56px;
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 18px 0;
}

.divider.center {
    margin: 18px auto;
}

.rule-line {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 0;
}

.clear {
    clear: both;
}

/* ─────────────────────────────────────────
   HERO (FRONT PAGE)
───────────────────────────────────────── */
.alfanine-hero {
    background: linear-gradient(160deg, var(--paper-alt) 0%, var(--paper) 60%);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 24px 80px;
    min-height: 88vh;
}

.hero-text .display-xl {
    margin-bottom: 20px;
}

.hero-text .lead {
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-text .display-xl span {
    color: var(--accent);
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-lt);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.hero-badge-text strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
}

.hero-badge-text span {
    font-size: .78rem;
    color: var(--ink-soft);
}

/* ─────────────────────────────────────────
   TRUST STRIP
───────────────────────────────────────── */
.trust-strip {
    background: var(--accent);
    color: var(--white);
    padding: 14px 24px;
    overflow: hidden;
}

.trust-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.trust-label {
    font-size: .78rem;
    font-weight: 600;
    opacity: .75;
    white-space: nowrap;
}

.trust-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: .82rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-sep {
    opacity: .35;
}

/* ─────────────────────────────────────────
   BENEFITS GRID
───────────────────────────────────────── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 32px 28px;
    transition: box-shadow .2s, transform .2s;
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ─────────────────────────────────────────
   SERVICES PREVIEW GRID
───────────────────────────────────────── */
.services-prev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.sp-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.sp-card img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.sp-card:hover img {
    transform: scale(1.05);
}

.sp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 25, 35, .85), transparent);
    padding: 24px 20px 20px;
}

.sp-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.sp-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 28px 24px;
}

.testi-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testi-quote {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 20px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-name {
    font-size: .875rem;
    font-weight: 700;
    color: var(--ink);
}

.testi-role {
    font-size: .78rem;
    color: var(--ink-faint);
}

/* ─────────────────────────────────────────
   ARTICLES / BLOG CARDS
───────────────────────────────────────── */
.articles-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.articles-view-all {
    font-size: .875rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-bottom: 1.5px solid var(--accent-lt);
    padding-bottom: 2px;
    text-decoration: none;
    transition: color .15s, border-color .15s;
}

.articles-view-all:hover {
    color: var(--gold);
    border-color: var(--gold-lt);
    text-decoration: none;
}

/* Filter pills */
.art-filter-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.art-pill {
    padding: 7px 18px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
    border: 1.5px solid var(--rule);
    background: var(--white);
    cursor: pointer;
    color: var(--ink-soft);
    transition: all .15s;
    letter-spacing: .02em;
}

.art-pill.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.art-pill:not(.active):hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Articles layout grid */
.articles-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.art-card-featured {
    grid-row: 1 / 3;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.art-card-featured:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.art-card-featured .ac-img {
    height: 300px;
    position: relative;
}

.art-card-featured .ac-body {
    padding: 28px 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.art-card-featured .ac-title {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--ink);
}

.art-card-featured .ac-excerpt {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.7;
    flex: 1;
}

.art-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}

.art-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.art-card .ac-img {
    width: 130px;
    flex-shrink: 0;
}

.art-card .ac-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.art-card .ac-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--ink);
}

.articles-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.art-card-mini {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}

.art-card-mini:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.art-card-mini .ac-img {
    height: 170px;
    position: relative;
}

.art-card-mini .ac-body {
    padding: 18px 18px 20px;
}

.art-card-mini .ac-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--ink);
}

.art-card-mini .ac-excerpt {
    font-size: .82rem;
    color: var(--ink-soft);
}

/* Shared card parts */
.ac-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ac-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    background: var(--gold-lt);
    color: var(--gold);
}

.ac-tag.tag-scholarship {
    background: var(--accent-lt);
    color: var(--accent);
}

.ac-tag.tag-destination {
    background: #e8f5e9;
    color: #2e7d32;
}

.ac-tag.tag-technique {
    background: #fff3e0;
    color: #bf6c00;
}

.ac-tag.tag-ielts {
    background: #f3e5f5;
    color: #7b1fa2;
}

.ac-date {
    font-size: .75rem;
    color: var(--ink-faint);
}

.ac-read {
    font-size: .75rem;
    color: var(--ink-faint);
}

.ac-dot {
    color: var(--rule);
}

.ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
}

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

.ac-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ac-author-name {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.ac-read-link {
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.ac-badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.art-hidden {
    display: none !important;
}

.art-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 0;
    color: var(--ink-faint);
    display: none;
}

.art-no-results.show {
    display: block;
}

/* ─────────────────────────────────────────
   ABOUT PREVIEW / STATS
───────────────────────────────────────── */
.about-prev {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-prev-img {
    border-radius: 14px;
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
}

.about-prev-img img {
    height: 100%;
    object-fit: cover;
}

.about-prev-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-box {
    background: var(--paper-alt);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
}

.stat-num {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: .78rem;
    color: var(--ink-soft);
}

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #0d2d4a 100%);
    border-radius: 20px;
    padding: 72px 48px;
    text-align: center;
    color: var(--white);
}

.cta-banner .eyebrow {
    color: var(--gold-lt);
}

.cta-banner h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    max-width: 520px;
    margin: 0 auto 32px;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   PAGE HERO (ABOUT / INNER PAGES)
───────────────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--accent) 0%, #0d2d4a 100%);
    padding: 80px 24px;
    text-align: center;
    color: var(--white);
}

.about-hero .eyebrow {
    color: var(--gold-lt);
}

.about-hero .display-xl {
    color: var(--white);
}

.about-hero .lead {
    color: rgba(255, 255, 255, .8);
}

.about-hero .divider {
    background: var(--gold);
}

/* ─────────────────────────────────────────
   ABOUT PAGE — STORY / MISSION
───────────────────────────────────────── */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-story-img {
    border-radius: 14px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}

.about-story-img img {
    height: 100%;
    object-fit: cover;
}

.about-story p {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.mission-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #0d2d4a 100%);
    border-radius: 16px;
    padding: 56px 48px;
    color: var(--white);
}

.mission-strip .eyebrow {
    color: var(--gold-lt);
}

.mission-strip h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.mission-strip p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
}

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

.diff-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 24px 20px;
}

.diff-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.diff-card h3 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.diff-card p {
    font-size: .88rem;
    color: var(--ink-soft);
}

/* ─────────────────────────────────────────
   SERVICES PAGE
───────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.srv-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.srv-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.srv-img {
    height: 200px;
    overflow: hidden;
}

.srv-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.srv-card:hover .srv-img img {
    transform: scale(1.05);
}

.srv-body {
    padding: 24px 20px;
}

.srv-tag {
    display: inline-block;
    background: var(--accent-lt);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.srv-body h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.srv-body p {
    font-size: .875rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

.srv-link {
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}

.srv-link:hover {
    color: var(--gold);
    text-decoration: none;
}

/* How It Works */
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 0;
}

.step {
    text-align: center;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.step h4 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.step p {
    font-size: .875rem;
    color: var(--ink-soft);
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-a {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s;
}

.faq-a.open {
    max-height: 200px;
    padding-bottom: 20px;
}

/* ─────────────────────────────────────────
   LISTINGS / CONTENT LIBRARY
───────────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
    border: 1.5px solid var(--rule);
    background: var(--white);
    cursor: pointer;
    color: var(--ink-soft);
    transition: all .15s;
}

.filter-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.filter-btn:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.listing-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.listing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.lc-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.lc-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.listing-card:hover .lc-img img {
    transform: scale(1.05);
}

.lc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.lc-body {
    padding: 20px 18px 22px;
}

.lc-cat {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.lc-body h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.lc-body>p {
    font-size: .875rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 14px;
}

.lc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .78rem;
    color: var(--ink-faint);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
}

.contact-info h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.contact-info>p {
    font-size: .9rem;
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--paper-alt);
    border: 1px solid var(--rule);
    border-radius: 10px;
}

.info-ico {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}

.info-item span {
    font-size: .9rem;
    color: var(--ink);
}

.socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--paper-alt);
    border: 1.5px solid var(--rule);
    color: var(--ink-soft);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .18s;
}

.social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    text-decoration: none;
}

.map-box {
    background: var(--paper-alt);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 120px;
}

/* Contact form */
.contact-form .eyebrow {
    margin-bottom: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--rule);
    border-radius: var(--r);
    font-size: .9rem;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color .18s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
    border: none;
    border-radius: var(--r);
    cursor: pointer;
    width: 100%;
    transition: background .18s, transform .15s;
}

.form-submit:hover {
    background: #153e63;
    transform: translateY(-2px);
}

/* WP Contact Form 7 Compatibility */
.wpcf7-form input[type="submit"] {
    background-color: var(--accent) !important;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #153e63 !important;
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
#sidebar {
    width: 280px;
    flex-shrink: 0;
    padding-top: 40px;
}

#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6 {
    font-family: var(--sans);
    color: #282828;
    position: relative;
    padding-bottom: 0;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

aside.widget {
    margin-bottom: 32px;
}

#sidebar ul li a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .9rem;
}

#sidebar ul li a:hover {
    color: var(--red);
    text-decoration: underline;
}

#sidebar ul li {
    padding: 4px 0;
    border-bottom: 1px solid var(--rule);
}

#sidebar .wp-block-search__label {
    font-size: 1rem;
    font-weight: 700;
}

/* ─────────────────────────────────────────
   BLOG POST STYLES
───────────────────────────────────────── */
.entry-content a {
    color: var(--red) !important;
}

.entry-content a:hover {
    color: #000 !important;
}

.entry-header {
    margin-bottom: 24px;
}

.entry-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 12px;
}

.postmeta {
    color: var(--accent);
    font-size: .82rem;
    margin-bottom: 20px;
}

.postmeta a {
    color: var(--red);
}

.entry-content {
    font-size: .95rem;
    line-height: 1.8;
    color: #5b5b5b;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    font-family: var(--serif);
    color: var(--ink);
    margin: 28px 0 12px;
}

.entry-content p {
    margin-bottom: 18px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.entry-content li {
    margin-bottom: 6px;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--accent-lt);
    padding: 16px 24px;
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--ink-soft);
    font-style: italic;
    margin: 24px 0;
}

.entry-content img {
    border-radius: var(--r);
    margin: 20px 0;
}

a.ReadMore {
    display: inline-block;
    margin-top: 20px;
    color: #828388;
    text-decoration: none;
    padding: 6px 14px;
    border: solid #828388;
    border-width: 1.5px;
    border-radius: 25px;
    transition: color 0.3s ease, border-color 0.3s ease;
    background-color: transparent;
}

a.ReadMore:hover {
    color: #000;
    border-color: #000;
    cursor: pointer;
    text-decoration: underline;
}

/* Post navigation */
.posts-navigation .nav-previous a,
.posts-navigation .nav-next a,
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--paper-alt);
    border: 1px solid var(--rule);
    padding: 10px 18px;
    border-radius: var(--r);
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    transition: all .18s;
}

.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#footer {
    background-color: #141414;
    padding: 0;
}

#footer-wrapper {
    width: 100%;
    background-color: transparent;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: #fff;
    font-family: var(--sans);
    font-weight: 600;
}

.footer h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer aside.widget {
    color: #aaa;
    padding: 0 0 20px 0;
}

.ftr-widg {
    border-radius: 0;
    background: none;
    border-top: none !important;
    padding: 0 !important;
}

.footerarea {
    padding: 0;
    background-color: transparent !important;
    border-top: 1px solid #2a2a2a;
}

.footerarea a {
    text-decoration: none;
}

.footer-row {
    display: flex;
    gap: 0;
}

.cols-3 {
    width: 25%;
    padding: 48px 24px 40px;
}

.footer-row .cols-3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-row .cols-3 ul li {
    margin-bottom: 8px;
}

.footer-row .cols-3 ul li a {
    color: #4e4e4e;
    font-size: .875rem;
    transition: color .15s;
}

.footer-row .cols-3 ul li a:hover {
    color: var(--red) !important;
    text-decoration: underline;
}

#footer .widget_nav_menu li a {
    position: relative;
    padding-left: 10px;
}

#footer .widget_nav_menu li a:before {
    content: "›";
    padding-right: 8px;
    position: absolute;
    left: -4px;
    color: var(--gold);
}

.footerinfobox .social-icons a {
    height: 40px !important;
    width: 40px !important;
    border-radius: 50%;
    line-height: 40px !important;
    background-color: #1a2344 !important;
    color: #fff;
    font-size: .75rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footerinfobox .social-icons a:hover {
    background-color: var(--red) !important;
}

/* Footer footer-brand (from front-end template) */
.footer-grid {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand .logo {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: .875rem;
    color: #aaa;
    line-height: 1.7;
}

.footer-brand .footer-socials {
    display: flex;
    gap: 8px;
}

.footer-brand .footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #aaa;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, color .18s;
}

.footer-brand .footer-socials a:hover {
    background: var(--gold);
    color: var(--white);
}

.footer-grid h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    font-size: .875rem;
    color: #aaa;
    text-decoration: none;
    transition: color .15s;
}

.footer-links li a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    font-size: .875rem;
    color: #aaa;
    margin-bottom: 8px;
}

/* Copyright bar */
.copyright-wrapper {
    padding: 0;
    background-color: var(--white);
    border: none;
}

.copyright-wrapper .container {
    border-top: 1px solid #d9e3e5;
    border-bottom: none;
    max-width: 1200px;
}

.copyright-txt {
    float: none;
    text-align: center;
    padding: 20px 0;
    color: #5b5b5b;
    font-size: .84rem;
}

.copyright-wrapper .copyright-txt {
    background-color: transparent !important;
    border-radius: 0;
    border-top: none;
}

.copyright-txt a {
    color: var(--red);
}

.copyright-txt a:hover {
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    font-size: .8rem;
    color: #555;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: #555;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ─────────────────────────────────────────
   UTILITY
───────────────────────────────────────── */
.wp-caption {
    width: 100% !important;
}

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

.wp-caption-text {
    font-size: 14px;
    color: #555;
    background: #f9f9f9;
    padding: 8px 12px;
    line-height: 1.4;
    border-top: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
}

.gallery-caption {
    font-size: 13px;
    color: #666;
    background: rgba(0, 0, 0, .05);
    padding: 6px 10px;
    text-align: center;
    line-height: 1.4;
    margin-top: 5px;
    border-radius: 4px;
}

.alignright {
    display: inline-block;
    float: right;
    margin: 0 0 10px 15px;
    clear: right;
}

.alignleft {
    display: inline-block;
    float: left;
    margin: 0 0 10px 15px;
    clear: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
}

.sticky {
    border-right: none;
}

/* ─────────────────────────────────────────
   WOOCOMMERCE
───────────────────────────────────────── */
input.search-submit,
.post-password-form input[type="submit"],
.wpcf7-form input[type="submit"],
.woocommerce-product-search button[type="submit"] {
    background-color: var(--accent);
}

.wc-block-grid__product {
    margin: 0;
}

.wc-block-cart__submit-button {
    background-color: #e9e9ed;
}

.wc-block-cart__submit-button:hover {
    background-color: #d0d0d7;
}

.woocommerce div.product form.cart .group_table td.woocommerce-grouped-product-list-item__label {
    padding-right: 4em;
    padding-left: 4em;
}

/* ─────────────────────────────────────────
   COMMENTS
───────────────────────────────────────── */
#commentform input#submit:hover {
    background-color: var(--red) !important;
}

.comment-form input[type="submit"] {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border: none;
    border-radius: var(--r);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
}

.comment-form input[type="submit"]:hover {
    background: #153e63;
}

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-prev-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .listings-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .articles-layout {
        grid-template-columns: 1fr 1fr;
    }

    .art-card-featured {
        grid-row: auto;
    }

    .art-card-featured .ac-img {
        height: 220px;
    }

    .articles-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .about-prev {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .mission-strip {
        grid-template-columns: 1fr;
    }

    #sidebar {
        display: none;
    }

    #content_navigator {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cols-3 {
        width: 50%;
    }
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: auto;
        padding: 48px 24px;
    }

    .hero-img {
        height: 300px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-prev-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .articles-layout {
        grid-template-columns: 1fr;
    }

    .art-card .ac-img {
        width: 110px;
    }

    .articles-bottom {
        grid-template-columns: 1fr;
    }

    .articles-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-prev-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner {
        padding: 48px 24px;
    }

    .section {
        padding: 56px 20px;
    }

    .trust-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .cols-3 {
        width: 100%;
        padding: 24px;
    }

    .footer-row {
        flex-direction: column;
    }

    .mission-strip {
        padding: 40px 28px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.toggled {
        display: block;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--rule);
        padding: 16px 24px 24px;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .primary-menu {
        flex-direction: column;
        gap: 2px;
    }

    .primary-menu>li>a {
        padding: 12px;
        font-size: .95rem;
    }

    .header-topbar {
        display: none;
    }

    .srcrt {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}