/*
Theme Name: Bulawayo Home 'n Away Magazine
Theme URI: https://bulawayohomenaway.com
Author: Bulawayo Home 'n Away
Author URI: https://bulawayohomenaway.com
Description: A premium digital magazine theme connecting Bulawayo, Zimbabwe with the global diaspora. Covers Business, Community, Culture, Tourism, Lifestyle, Food, History, Property, Events and Diaspora stories.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bhna
Tags: magazine, news, blog, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, editor-style, wide-blocks
*/

/* =============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================= */
:root {
    --color-maroon:     #6B1A2B;
    --color-maroon-dark:#4A1020;
    --color-maroon-light:#8B2A3F;
    --color-gold:       #C9A84C;
    --color-gold-light: #E0C06E;
    --color-gold-dark:  #A88830;
    --color-charcoal:   #2C2C2C;
    --color-charcoal-light: #444444;
    --color-cream:      #FAF6F0;
    --color-cream-dark: #EEE8DE;
    --color-white:      #FFFFFF;
    --color-gray-100:   #F5F5F5;
    --color-gray-200:   #E8E8E8;
    --color-gray-300:   #D0D0D0;
    --color-gray-500:   #888888;
    --color-gray-700:   #555555;
    --color-text:       #2C2C2C;
    --color-text-light: #666666;
    --color-border:     #E0D8CC;

    --font-serif:       'Georgia', 'Times New Roman', serif;
    --font-sans:        'Helvetica Neue', Arial, sans-serif;
    --font-display:     var(--font-serif);

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg:  0 8px 30px rgba(0,0,0,0.14);

    --container-max: 1080px;
    --container-wide: 1440px;
    --header-max: var(--container-max);

    --transition: 0.25s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-maroon);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-gold-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: var(--space-md); }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-md);
    max-width: 72ch;
}

.entry-content ul,
.entry-content ol {
    padding-left: var(--space-lg);
    list-style: initial;
}

.entry-content ol {
    list-style: decimal;
}

blockquote {
    border-left: 4px solid var(--color-gold);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--color-cream);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-charcoal);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.container--wide {
    max-width: var(--container-wide);
}

.container--header {
    max-width: var(--header-max);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--tight {
    padding: var(--space-xl) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
    background-color: var(--color-maroon);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-top-bar {
    background-color: var(--color-maroon-dark);
    padding: var(--space-xs) 0;
    font-size: 0.8rem;
    color: var(--color-gold-light);
}

.header-top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.header-top-bar a {
    color: var(--color-gold-light);
    margin-left: var(--space-md);
}

.header-top-bar a:hover {
    color: var(--color-white);
}

.header-main {
    padding: var(--space-md) 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-title-wrap .site-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    display: block;
}

.site-title-wrap .site-tagline {
    font-size: 0.7rem;
    color: var(--color-gold-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.site-title-wrap a:hover .site-title {
    color: var(--color-gold-light);
}

/* =============================================
   NAVIGATION
   ============================================= */
.main-navigation {
    flex: 1;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition), background var(--transition);
    border-radius: var(--radius-sm);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
    color: var(--color-gold);
}

/* Dropdown */
.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-charcoal);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
    flex-direction: column;
    gap: 0;
    border-top: 3px solid var(--color-gold);
}

.main-navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul li ul li a {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
    color: var(--color-white);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   CATEGORY LABEL / BADGE
   ============================================= */
.cat-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-maroon);
    color: var(--color-white);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    transition: background var(--transition);
}

.cat-label:hover {
    background: var(--color-gold-dark);
    color: var(--color-white);
}

.cat-label--gold {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

/* =============================================
   ARTICLE CARDS
   ============================================= */
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.article-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--color-gray-200);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__title {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.article-card__title a {
    color: var(--color-charcoal);
}

.article-card__title a:hover {
    color: var(--color-maroon);
}

.article-card__meta {
    font-size: 0.78rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: var(--space-md);
}

.article-card__footer {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    background: var(--color-charcoal);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) 0;
    width: 100%;
}

.hero-content .container {
    max-width: 860px;
}

.hero-content .cat-label {
    background: var(--color-gold);
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content .hero-excerpt {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    max-width: 60ch;
    margin-bottom: var(--space-lg);
}

.hero-content .hero-meta {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
    gap: var(--space-md);
}

.section-header h2 {
    position: relative;
    padding-left: var(--space-md);
    font-size: 1.6rem;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-gold);
    border-radius: 2px;
}

.section-header .view-all {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-maroon);
    white-space: nowrap;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.section-header .view-all:hover {
    color: var(--color-gold-dark);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--color-maroon-dark);
    color: var(--color-white);
    border-color: var(--color-maroon-dark);
}

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

.btn--gold:hover {
    background: var(--color-gold-dark);
    color: var(--color-charcoal);
}

.btn--outline {
    background: transparent;
    color: var(--color-maroon);
    border-color: var(--color-maroon);
}

.btn--outline:hover {
    background: var(--color-maroon);
    color: var(--color-white);
}

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

.btn--white:hover {
    background: var(--color-cream);
    color: var(--color-maroon-dark);
}

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.newsletter-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.newsletter-section p {
    color: rgba(255,255,255,0.8);
    max-width: 50ch;
    margin: 0 auto var(--space-xl);
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1rem;
    border: none;
    font-size: 0.95rem;
    outline: none;
    background: var(--color-white);
    color: var(--color-text);
}

.newsletter-form button {
    padding: 0.9rem 1.4rem;
    background: var(--color-gold);
    color: var(--color-charcoal);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-gold-dark);
}

/* =============================================
   ADVERTISE CTA
   ============================================= */
.advertise-cta {
    background: var(--color-charcoal);
    padding: var(--space-2xl) 0;
}

.advertise-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.advertise-cta__text h3 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.advertise-cta__text p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* =============================================
   COMMUNITY SPOTLIGHT
   ============================================= */
.spotlight-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    transition: box-shadow var(--transition);
}

.spotlight-card:hover {
    box-shadow: var(--shadow-md);
}

.spotlight-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--color-gold);
}

.spotlight-card__content h4 {
    margin-bottom: var(--space-xs);
}

.spotlight-card__content .subtitle {
    font-size: 0.82rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.spotlight-card__content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

/* =============================================
   BUSINESS LISTINGS
   ============================================= */
.business-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.business-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.business-card__logo {
    width: 100%;
    height: 140px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.business-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-card__body {
    padding: var(--space-lg);
}

.business-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.business-card__category {
    font-size: 0.78rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.business-card__desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.business-card__contact {
    font-size: 0.82rem;
    color: var(--color-gray-500);
}

.business-card.featured {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}

/* =============================================
   EVENTS
   ============================================= */
.event-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-card__date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    background: var(--color-maroon);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-card__date .day {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-serif);
    line-height: 1;
}

.event-card__date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-light);
}

.event-card__body h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.event-card__body h4 a {
    color: var(--color-charcoal);
}

.event-card__body h4 a:hover {
    color: var(--color-maroon);
}

.event-card__meta {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

/* =============================================
   DIASPORA SECTION
   ============================================= */
.diaspora-section {
    background: var(--color-cream);
}

.diaspora-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.diaspora-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-gray-200);
}

.diaspora-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.diaspora-card:hover .diaspora-card__image img {
    transform: scale(1.06);
}

.diaspora-card__body {
    padding: var(--space-lg);
}

.diaspora-card__flag {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.diaspora-card__name {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.diaspora-card__occupation {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
    margin-bottom: var(--space-sm);
}

.diaspora-card__summary {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar .widget {
    margin-bottom: var(--space-2xl);
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar .widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-maroon);
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: 0;
}

.sidebar .widget-content {
    padding: var(--space-lg);
}

/* Ad Widget */
.widget-advert img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* =============================================
   SINGLE ARTICLE
   ============================================= */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
}

.article-header {
    margin-bottom: var(--space-xl);
}

.article-hero-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
}

.article-meta .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: var(--space-2xl) 0;
}

.social-share__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
}

.social-share a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--transition);
}

.social-share a:hover {
    opacity: 0.85;
}

.share-facebook { background: #1877F2; color: #fff; }
.share-twitter  { background: #1DA1F2; color: #fff; }
.share-whatsapp { background: #25D366; color: #fff; }

/* Related Posts */
.related-posts {
    padding: var(--space-2xl) 0;
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-2xl);
}

.related-posts h3 {
    margin-bottom: var(--space-xl);
}

/* =============================================
   SEARCH
   ============================================= */
.search-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-right: none;
    font-size: 1rem;
    outline: none;
}

.search-form input[type="search"]:focus {
    border-color: var(--color-maroon);
}

.search-form button {
    padding: 0.75rem 1.2rem;
    background: var(--color-maroon);
    color: var(--color-white);
    border: 2px solid var(--color-maroon);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition);
}

.search-form button:hover {
    background: var(--color-maroon-dark);
}

/* =============================================
   404 PAGE
   ============================================= */
.not-found-section {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.not-found-section .error-code {
    font-size: 8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-maroon);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.15;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--color-charcoal);
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-brand .site-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-white);
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-widget h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-gold);
}

.footer-widget ul li {
    margin-bottom: var(--space-sm);
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--color-gold-light);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-menu ul {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-menu ul li a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer-menu ul li a:hover {
    color: var(--color-gold-light);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-2xl) 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-text);
    transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-maroon);
    border-color: var(--color-maroon);
    color: var(--color-white);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 var(--space-md);
}

/* =============================================
   BUSINESS DIRECTORY PAGE
   ============================================= */
.directory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 0.45rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-light);
    background: var(--color-white);
    cursor: pointer;
    transition: all var(--transition);
}

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

.directory-search {
    margin-bottom: var(--space-xl);
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
    font-size: 0.82rem;
    color: var(--color-gray-500);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
}

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

.breadcrumbs span:not(:last-child)::after {
    content: ' / ';
    color: var(--color-gray-300);
    margin: 0 4px;
}

/* =============================================
   ARCHIVE / CATEGORY
   ============================================= */
.archive-header {
    background: var(--color-maroon);
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
}

.archive-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.archive-header p {
    color: rgba(255,255,255,0.8);
    max-width: 60ch;
    margin: 0;
    font-size: 1rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition);
    outline: none;
    margin-bottom: var(--space-md);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-maroon);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

.contact-info-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-info-card h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contact-info-item strong {
    color: var(--color-charcoal);
    display: block;
    margin-bottom: 2px;
}

/* =============================================
   ADVERTISE PAGE
   ============================================= */
.advert-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.advert-package {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

.advert-package:hover,
.advert-package.featured {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.advert-package .package-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-dark);
    margin-bottom: var(--space-sm);
}

.advert-package .package-price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-maroon);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.advert-package ul {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.advert-package ul li {
    padding: var(--space-xs) 0;
    font-size: 0.88rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.advert-package ul li::before {
    content: '✓';
    color: var(--color-gold-dark);
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================
   COMMENTS
   ============================================= */
.comments-area {
    padding-top: var(--space-2xl);
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-2xl);
}

.comments-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-xl);
}

.comment-list {
    margin-bottom: var(--space-2xl);
}

.comment {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

.comment-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.comment-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-charcoal);
}

.comment-date {
    font-size: 0.78rem;
    color: var(--color-gray-500);
    margin-left: auto;
}

.comment-body {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.comment-reply-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-maroon);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    outline: none;
    transition: border-color var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-maroon);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-gold   { color: var(--color-gold); }
.text-maroon { color: var(--color-maroon); }
.text-muted  { color: var(--color-gray-500); }
.mt-lg       { margin-top: var(--space-lg); }
.mt-xl       { margin-top: var(--space-xl); }
.mb-xl       { margin-bottom: var(--space-xl); }

/* =============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .advert-packages {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-maroon-dark);
        z-index: 999;
        padding: 80px var(--space-xl) var(--space-xl);
        overflow-y: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation ul li a {
        padding: var(--space-md) 0;
        font-size: 1.1rem;
    }

    .main-navigation ul li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0,0,0,0.2);
        padding-left: var(--space-md);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-sm);
        overflow: visible;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        border-radius: var(--radius-sm);
    }

    .advertise-cta .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-section {
        min-height: 60vw;
    }

    .advert-packages {
        grid-template-columns: 1fr;
    }

    .spotlight-card {
        flex-direction: column;
    }

    .spotlight-card__avatar {
        width: 60px;
        height: 60px;
    }

    .section { padding: var(--space-2xl) 0; }
}

/* =============================================
   SKIP LINK (ACCESSIBILITY)
   ============================================= */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-maroon);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 9999;
    font-weight: 700;
    font-size: 0.9rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    color: var(--color-white);
}

/* =============================================
   WORDPRESS BLOCK EDITOR ALIGNMENT
   ============================================= */
.alignleft  { float: left; margin-right: var(--space-lg); margin-bottom: var(--space-md); }
.alignright { float: right; margin-left: var(--space-lg); margin-bottom: var(--space-md); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.alignwide  { width: calc(100% + 80px); margin-left: -40px; }

@media (max-width: 768px) {
    .alignleft, .alignright { float: none; margin: 0 0 var(--space-md); }
    .alignwide { width: 100%; margin-left: 0; }
}

/* =============================================
   FEATURED BADGE
   ============================================= */
.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-gold);
    color: var(--color-charcoal);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* =============================================
   SITE WRAPPER — full-width & boxed layouts
   ============================================= */
.site-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Boxed layout */
body.layout-boxed {
    background-color: var(--page-bg, #D6C9B6);
}

body.layout-boxed .site-wrapper {
    max-width: var(--boxed-max, 1200px);
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0,0,0,0.20);
    overflow: hidden;
    min-height: 100vh;
}

body.layout-boxed .site-header {
    width: 100%;
}

/* When boxed, the header fills the wrapper (no viewport-wide background) */
body.layout-boxed .header-top-bar,
body.layout-boxed .header-main {
    width: 100%;
}

/* =============================================
   HEADER ADVERTISEMENT SLOT (728×90)
   ============================================= */
.header-ad-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
    text-align: center;
}

.header-ad-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-ad-widget {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 728px;
    width: 100%;
    min-height: 90px;
    overflow: hidden;
}

/* Hide leaderboard on narrow viewports */
@media (max-width: 767px) {
    .header-ad-bar { display: none; }
}

/* =============================================
   RESPONSIVE — LARGE DESKTOP (1440px+)
   ============================================= */
@media (min-width: 1440px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-section {
        min-height: 620px;
    }
    .hero-content h1 {
        font-size: 3.4rem;
    }
}

/* =============================================
   RESPONSIVE — DESKTOP (1280px – 1439px)
   ============================================= */
@media (min-width: 1280px) and (max-width: 1439px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   RESPONSIVE — SMALL DESKTOP / TABLET LANDSCAPE
   (1024px – 1279px)
   ============================================= */
@media (min-width: 1024px) and (max-width: 1279px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 { font-size: 2.4rem; }
}

/* =============================================
   RESPONSIVE — TABLET PORTRAIT (768px – 1023px)
   ============================================= */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    .single-layout {
        grid-template-columns: 1fr;
    }
    .sidebar { display: none; }

    .hero-section { min-height: 50vw; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content { padding: var(--space-2xl) 0; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .header-main .container {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .advert-packages { grid-template-columns: repeat(2, 1fr); }

    .section { padding: var(--space-2xl) 0; }
}

/* =============================================
   RESPONSIVE — LARGE MOBILE (481px – 767px)
   ============================================= */
@media (min-width: 481px) and (max-width: 767px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section { min-height: 55vw; }
    .hero-content h1 { font-size: 1.6rem; }

    .newsletter-form {
        flex-direction: row;
    }
    .newsletter-form input[type="email"] {
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }
    .newsletter-form button {
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-section { min-height: 65vw; }
    .hero-content { padding: var(--space-xl) 0; }
    .hero-content h1 { font-size: 1.4rem; line-height: 1.3; }
    .hero-meta { flex-wrap: wrap; gap: var(--space-xs); font-size: 0.8rem; }

    .header-top-bar { display: none; } /* hide date/social bar on very small screens */

    .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
    .section-header h2 { font-size: 1.3rem; }

    .article-card__image { height: 180px; }
    .article-card__body { padding: var(--space-md); }
    .article-card__title { font-size: 1rem; }

    .single-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }

    .entry-content { font-size: 1rem; }
    .entry-header h1 { font-size: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand p { font-size: 0.88rem; }

    .newsletter-section h2 { font-size: 1.4rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"],
    .newsletter-form button { border-radius: var(--radius-sm); width: 100%; }

    .advert-packages { grid-template-columns: 1fr; }

    .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

    .cat-label { font-size: 0.68rem; }

    .section { padding: var(--space-xl) 0; }

    /* Boxed wrapper on very small screens — no side margins */
    body.layout-boxed .site-wrapper {
        max-width: 100%;
        box-shadow: none;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .social-share,
    .newsletter-section,
    .advertise-cta { display: none; }

    body { font-size: 12pt; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
