/*
Theme Name: Obscuriea Custom
Theme URI: https://obscuriea.com
Author: Your Name
Description: A custom, lightweight theme built from scratch for Obscuriea.
Version: 1.0.1
Text Domain: obscuriea
*/

/* ==========================================================================
   Obscuriea Single Post Styles (Moved from inline single.php)
   ========================================================================== */
   /* ==========================================================================
   Global Link Reset (Fixes purple browser default links)
   ========================================================================== */
a {
    color: #1a1a18;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* This specifically stops the browser from turning clicked links purple! */
a:visited {
    color: inherit; 
}
.obs-single-page {
    background-color: #fafaf8;
    padding: 60px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.obs-single-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border: 1px solid #e8e8e2;
    border-radius: 12px;
}

.obs-single-header {
    margin-bottom: 40px;
    text-align: center;
}

.obs-single-cat-wrapper {
    margin-bottom: 16px;
}

.obs-single-cat-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a6b4a;
    background: #edf5f1;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.obs-single-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a18;
    line-height: 1.25;
    margin-bottom: 16px;
}

.obs-single-meta {
    font-size: 13px;
    color: #7a7a72;
}

.obs-single-thumbnail {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e2;
}

.obs-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.obs-post-content {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #3a3a36;
}

/* ==========================================================================
   Obscuriea Custom Blog Archive (Hardcoded)
   ========================================================================== */

/* Base Layout */
.obs-blog-page {
    background-color: #fafaf8;
    padding: 72px 48px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a1a18;
}

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

/* Header */
.obs-blog-header {
    text-align: center;
    margin-bottom: 56px;
}
.obs-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a6b4a;
    margin-bottom: 10px;
}
.obs-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #1a1a18;
}
.obs-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #7a7a72;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

/* Filter Navigation */
.obs-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #e8e8e2;
    margin-bottom: 56px;
}
.obs-filter-link {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #7a7a72;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease;
}
.obs-filter-link:hover {
    color: #1a1a18;
}
.obs-filter-link.active {
    font-weight: 600;
    color: #1a6b4a;
    border-bottom-color: #1a6b4a;
}

/* Grid Layout */
.obs-grid-layout {
    display: grid;
    grid-template-columns: 1fr 30%;
    gap: 48px;
    align-items: start;
}

/* Article Cards */
.obs-article-card {
    background: #ffffff;
    border: 1px solid #e8e8e2;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    margin-bottom: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.obs-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.obs-card-media {
    width: 160px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #edf5f1, #d4ebe1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.obs-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.obs-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.obs-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.obs-cat-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a6b4a;
    background: #edf5f1;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.obs-date {
    font-size: 11px;
    color: #7a7a72;
}
.obs-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 10px;
}
.obs-card-title a {
    color: #1a1a18;
    text-decoration: none;
}
.obs-card-title a:hover {
    color: #1a6b4a;
}
.obs-card-excerpt {
    font-size: 13px;
    color: #7a7a72;
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}
.obs-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f4f4f0;
}
.obs-read-time {
    font-size: 11px;
    color: #7a7a72;
}
.obs-read-link {
    font-size: 12px;
    font-weight: 600;
    color: #1a6b4a;
    text-decoration: none;
}

/* Pagination */
.obs-pagination {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.obs-pagination .page-numbers {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e8e8e2;
    border-radius: 6px;
    text-decoration: none;
    color: #3a3a36;
    font-size: 14px;
    font-weight: 500;
}
.obs-pagination .current,
.obs-pagination .page-numbers:hover {
    background: #1a6b4a;
    color: #fff;
    border-color: #1a6b4a;
}

/* Sidebar Widgets */
.obs-sidebar {
    position: sticky;
    top: 80px;
}
.obs-widget {
    background: #ffffff;
    border: 1px solid #e8e8e2;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}
.obs-widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a18;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e2;
}
.obs-cat-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.obs-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 13px;
    color: #3a3a36;
    text-decoration: none;
    border-bottom: 1px solid #f4f4f0;
}
.obs-cat-item:last-child {
    border-bottom: none;
}
.obs-cat-item:hover {
    color: #1a6b4a;
}
.obs-cat-count {
    font-size: 11px;
    color: #7a7a72;
}

/* Newsletter Widget */
.obs-widget-newsletter {
    background: #1a6b4a;
    border-color: #1a6b4a;
    color: #fff;
}
.obs-newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.obs-newsletter-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: 18px;
}
.obs-newsletter-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    margin-bottom: 10px;
    background: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}
.obs-newsletter-form button {
    width: 100%;
    background: #fff;
    color: #1a6b4a;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.2s;
}
.obs-newsletter-form button:hover {
    background: #f4f4f0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .obs-grid-layout {
        grid-template-columns: 1fr;
    }
    .obs-sidebar {
        position: relative;
        top: 0;
    }
    .obs-blog-page {
        padding: 40px 24px;
    }
}
@media (max-width: 600px) {
    .obs-article-card {
        flex-direction: column;
    }
    .obs-card-media {
        width: 100%;
        height: 180px;
    }
    .obs-title {
        font-size: 36px;
    }
}
/* ==========================================================================
   Obscuriea Homepage Styles
   ========================================================================== */
.obs-home-page section {
    padding: 80px 48px;
}
.obs-home-page .obs-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero Section */
.obs-hero { background-color: #fafaf8; }
.obs-hero-flex {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.obs-hero-text { flex: 1; min-width: 300px; }
.obs-hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a6b4a;
    background: #edf5f1;
    border: 1px solid rgba(26,107,74,0.2);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 24px;
}
.obs-hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a18;
    margin-bottom: 16px;
}
.obs-hero-h1 em { font-style: italic; }
.obs-hero-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #7a7a72;
    margin-bottom: 32px;
}
.obs-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.obs-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.obs-btn-primary {
    background: #1a6b4a;
    color: #fff;
}
.obs-btn-primary:hover { background: #145c3e; }
.obs-btn-outline {
    background: transparent;
    color: #3a3a36;
    border: 1px solid #d4d4cc;
}
.obs-btn-outline:hover {
    background: #f4f4f0;
    color: #1a1a18;
}

/* Hero Stats Grid */
.obs-hero-stats {
    width: 40%;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.obs-stat-box {
    background: #fff;
    border: 1px solid #e8e8e2;
    border-radius: 10px;
    padding: 24px 20px;
}
.obs-stat-dark {
    background: #1a6b4a;
    border-color: #1a6b4a;
    color: #fff;
}
.obs-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.obs-stat-dark .obs-stat-number { color: #fff; }
.obs-stat-label { font-size: 12px; color: #7a7a72; }
.obs-stat-dark .obs-stat-label { color: rgba(255,255,255,0.85); }

/* Categories Section */
.obs-home-categories { background: #f4f4f0; border-top: 1px solid #e8e8e2; border-bottom: 1px solid #e8e8e2; }
.obs-section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a18;
    margin-bottom: 8px;
    /* !important needed: Hello Elementor parent theme resets all h2 fonts */
}
.obs-section-desc { color: #7a7a72; margin-bottom: 40px; }
.obs-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.obs-cat-card {
    background: #fff;
    border: 1px solid #e8e8e2;
    border-radius: 10px;
    padding: 24px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.obs-cat-card:hover {
    border-color: #1a6b4a;
    transform: translateY(-2px);
}
.obs-cat-icon { font-size: 24px; margin-bottom: 12px; }
.obs-cat-name { font-weight: 600; font-size: 15px; color: #1a1a18; margin-bottom: 6px; }
.obs-cat-desc { font-size: 13px; color: #7a7a72; line-height: 1.55; }

/* Dynamic Articles Grid (Vertical Cards) */
.obs-home-articles { background: #fafaf8; }
.obs-home-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.obs-home-card {
    background: #fff;
    border: 1px solid #e8e8e2;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.obs-home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.obs-home-card-media {
    height: 160px;
    background: #f4f4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.obs-home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.obs-home-card-body { padding: 20px; flex-grow: 1; }
.obs-home-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 12px 0 8px;
}
.obs-home-card-title a { color: #1a1a18; text-decoration: none; }
.obs-home-card-title a:hover { color: #1a6b4a; }
.obs-home-card-excerpt { font-size: 13px; color: #7a7a72; line-height: 1.6; }
.obs-home-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #e8e8e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Inline Newsletter Form */
.obs-home-newsletter { background: #f4f4f0; border-top: 1px solid #e8e8e2; }
.obs-inline-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}
.obs-inline-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d4d4cc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}
.obs-inline-form button {
    background: #1a6b4a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .obs-hero-stats { width: 100%; }
    .obs-home-page section { padding: 50px 24px; }
}
/* ==========================================================================
   The WPForms Sledgehammer (Force Inline Layout)
   ========================================================================== */
.obs-inline-form div.wpforms-container-full {
    margin: 0 !important;
    padding: 0 !important;
}

/* Force the form engine into a row */
.obs-inline-form div.wpforms-container-full form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Force the input container to stretch out */
.obs-inline-form div.wpforms-container-full .wpforms-field-container {
    flex: 1 1 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.obs-inline-form div.wpforms-container-full .wpforms-field {
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* Protect the button from shrinking */
.obs-inline-form div.wpforms-container-full .wpforms-submit-container {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* The actual Input Box */
.obs-inline-form input[type=email] {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1px solid #d4d4cc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #fff !important;
}

/* The actual Button */
.obs-inline-form button[type=submit] {
    height: 48px !important;
    background: #1a6b4a !important;
    color: #fff !important;
    border: none !important;
    padding: 0 24px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    white-space: nowrap !important; 
}

/* Hide the default label completely */
.obs-inline-form .wpforms-field-label { 
    display: none !important; 
}

/* Mobile Stacking */
@media (max-width: 480px) {
    .obs-inline-form div.wpforms-container-full form {
        flex-wrap: wrap !important;
    }
    .obs-inline-form div.wpforms-container-full .wpforms-submit-container,
    .obs-inline-form button[type=submit] {
        width: 100% !important;
    }
}
/* ==========================================================================
   WPForms Success Message Styling
   ========================================================================== */
.wpforms-confirmation-container-full {
    background: #edf5f1 !important; /* Soft brand green background */
    border: 1px solid rgba(26,107,74,0.2) !important; /* Subtle brand green border */
    border-radius: 6px !important;
    padding: 16px !important;
    margin-top: 16px !important;
}

.wpforms-confirmation-container-full p {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a6b4a !important; /* Dark brand green text */
    margin: 0 !important;
    text-align: center !important;
}
/* ==========================================================================
   Contact Page Form Sledgehammer (Force Full Width & Styling)
   ========================================================================== */
.obs-contact-form div.wpforms-container-full {
    margin: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Force all field containers to take up the full space */
.obs-contact-form div.wpforms-container-full .wpforms-field {
    width: 100% !important;
    clear: both !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
}

/* Style the Labels */
.obs-contact-form div.wpforms-container-full .wpforms-field-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #111 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Hide the red required asterisk */
.obs-contact-form div.wpforms-container-full .wpforms-required-label {
    display: none !important;
}

/* Style the Input Boxes & Textarea */
.obs-contact-form div.wpforms-container-full input[type=text],
.obs-contact-form div.wpforms-container-full input[type=email],
.obs-contact-form div.wpforms-container-full textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #d4d4cc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* Focus State (Green Border when typing) */
.obs-contact-form div.wpforms-container-full input:focus,
.obs-contact-form div.wpforms-container-full textarea:focus {
    border-color: #1a6b4a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(26,107,74,0.1) !important;
}

/* Style the Submit Button */
.obs-contact-form div.wpforms-container-full button[type=submit] {
    width: 100% !important;
    background: #1a6b4a !important;
    color: #fff !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    margin-top: 10px !important;
    transition: background 0.2s ease !important;
}

.obs-contact-form div.wpforms-container-full button[type=submit]:hover {
    background: #135238 !important;
}
/* ==========================================================================
   Contact Form Button
   ========================================================================== */
body .obs-contact-form .wpforms-submit-container {
    padding: 0 !important;
    margin-top: 15px !important;
    display: block !important;
    clear: both !important;
}

/* Targeting every possible WPForms button selector simultaneously */
body .obs-contact-form .wpforms-submit-container button[type="submit"],
body .obs-contact-form button.wpforms-submit,
.obs-contact-form [id^="wpforms-submit"] {
    background: #1a6b4a !important;
    background-color: #1a6b4a !important;
    color: #ffffff !important;
    width: 100% !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    cursor: pointer !important;
    display: block !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

/* Hover state */
body .obs-contact-form .wpforms-submit-container button[type="submit"]:hover,
body .obs-contact-form button.wpforms-submit:hover,
.obs-contact-form [id^="wpforms-submit"]:hover {
    background: #135238 !important;
    background-color: #135238 !important;
}

/* ==========================================================================
   Theme Header (Fallback — only renders if UAE Addons is NOT handling it)
   ========================================================================== */

.obs-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e8e8e2;
    height: 64px;
    display: flex;
    align-items: center;
}

.obs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

/* Logo */
.obs-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a18;
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.obs-logo:hover { color: #1a6b4a; }

/* Main Nav */
.obs-main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.obs-main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #3a3a36;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.obs-main-nav a:hover,
.obs-main-nav a:focus {
    background: #f4f4f0;
    color: #1a1a18;
}

/* Header right side: lang + burger */
.obs-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language Switcher */
.obs-lang-switcher {
    display: flex;
    gap: 4px;
}

.obs-lang-switcher a,
.obs-footer-lang a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a7a72;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e8e8e2;
    transition: all 0.15s;
}

.obs-lang-switcher a:hover,
.obs-footer-lang a:hover,
.obs-lang-switcher a.lang-item-current,
.obs-footer-lang a.lang-item-current {
    background: #1a6b4a;
    color: #fff;
    border-color: #1a6b4a;
}

/* Mobile Menu Toggle */
.obs-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
}

.obs-mobile-toggle span {
    display: block;
    height: 2px;
    background: #1a1a18;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Mobile nav open state */
.obs-nav-open {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e2;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
    gap: 2px;
    z-index: 998;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .obs-main-nav {
        display: none;
    }
    .obs-main-nav.obs-nav-open {
        display: flex;
    }
    .obs-mobile-toggle {
        display: flex;
    }
    .obs-site-header {
        position: relative; /* avoids sticky issues on mobile */
    }
}

/* ==========================================================================
   Footer (Fallback — only renders if UAE Addons is NOT handling it)
   ========================================================================== */

.obs-site-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #3a3a36;
}

/* Newsletter banner inside footer */
.obs-footer-newsletter {
    background: #f4f4f0;
    border-top: 1px solid #e8e8e2;
    padding: 64px 48px;
    text-align: center;
}

.obs-newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}

.obs-newsletter-form {
    max-width: 440px;
    margin: 24px auto 0;
}

/* Main footer grid */
.obs-footer-main {
    background: #1a1a18;
    color: #ccc;
    padding: 56px 48px;
}

.obs-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.obs-footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.obs-footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin-bottom: 20px;
}

.obs-footer-lang {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.obs-footer-lang a {
    border-color: rgba(255,255,255,0.2) !important;
    color: rgba(255,255,255,0.6) !important;
}

.obs-footer-lang a:hover,
.obs-footer-lang a.lang-item-current {
    background: #fff !important;
    color: #1a1a18 !important;
    border-color: #fff !important;
}

.obs-footer-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.obs-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.obs-footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s;
}

.obs-footer-links a:hover {
    color: #fff;
}

.obs-footer-newsletter-col .obs-footer-newsletter-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Footer bottom bar */
.obs-footer-bottom {
    background: #111110;
    padding: 18px 48px;
}

.obs-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.obs-footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.obs-footer-legal-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.15s;
}

.obs-footer-legal-links a:hover {
    color: rgba(255,255,255,0.8);
}

.obs-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

@media (max-width: 900px) {
    .obs-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .obs-footer-newsletter,
    .obs-footer-main,
    .obs-footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    .obs-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .obs-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .obs-footer-newsletter {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   Post Content Typography & Table Styles (.obs-post-content children)
   Prevents Hello Elementor parent theme from overriding these elements.
   ========================================================================== */

.obs-post-content h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a18;
    line-height: 1.3;
    margin: 40px 0 16px;
}

.obs-post-content h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a18;
    line-height: 1.35;
    margin: 32px 0 12px;
}

.obs-post-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a18;
    line-height: 1.4;
    margin: 24px 0 10px;
}

.obs-post-content p {
    margin-bottom: 24px;
}

.obs-post-content a {
    color: #1a6b4a;
    text-decoration: underline;
    text-decoration-color: rgba(26, 107, 74, 0.35);
    transition: text-decoration-color 0.2s;
}
.obs-post-content a:hover {
    text-decoration-color: #1a6b4a;
}

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

.obs-post-content li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.obs-post-content blockquote {
    border-left: 3px solid #1a6b4a;
    margin: 32px 0;
    padding: 16px 24px;
    background: #f4f4f0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #5a5a52;
}

.obs-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.obs-post-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background: #f4f4f0;
    color: #1a6b4a;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e8e8e2;
}

.obs-post-content pre {
    background: #1a1a18;
    color: #e8e8e2;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.obs-post-content pre code {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
    border-radius: 0;
}

.obs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
    display: block;
}

/* Table styles — prevents raw browser defaults */
.obs-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 1px solid #e8e8e2;
    border-radius: 8px;
    overflow: hidden;
}

.obs-post-content table thead {
    background: #1a6b4a;
    color: #fff;
}

.obs-post-content table th {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    letter-spacing: 0.02em;
    color: #fff;
}

.obs-post-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e2;
    color: #3a3a36;
    vertical-align: top;
}

.obs-post-content table tbody tr:last-child td {
    border-bottom: none;
}

.obs-post-content table tbody tr:nth-child(even) {
    background: #fafaf8;
}

.obs-post-content table tbody tr:hover {
    background: #f4f4f0;
}

/* Gutenberg table block — allow horizontal scroll on small screens */
.obs-post-content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0;
}

.obs-post-content .wp-block-table table {
    margin: 0;
}

@media (max-width: 600px) {
    .obs-post-content h2 { font-size: 24px; }
    .obs-post-content h3 { font-size: 20px; }
    .obs-post-content table { font-size: 13px; }
    .obs-post-content table th,
    .obs-post-content table td { padding: 8px 12px; }
    .obs-post-content pre { padding: 16px; }
}

/* ==========================================================================
   Misc: New utility classes added in rebuild
   ========================================================================== */

/* "View All" button row below homepage article grid */
.obs-view-all {
    text-align: center;
    margin-top: 40px;
}

/* Empty state notice */
.obs-empty-notice {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 0;
    color: #7a7a72;
    font-size: 15px;
}

/* Single post meta separator */
.obs-meta-sep {
    margin: 0 6px;
    color: #d4d4cc;
}

/* Post navigation (prev/next) on single post */
.post-navigation {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e8e8e2;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    font-size: 14px;
    font-weight: 500;
    color: #1a6b4a;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Card placeholder (emoji fallback when no featured image) */
.obs-card-placeholder {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
