        /* -------------------------------------------------- */
        /* 1. GLOBAL VARIABLES & RESET */
        /* -------------------------------------------------- */
        :root {
            /* Brand Colors */
            --color-primary: #0F172A; /* Deep Navy */
            --color-primary-light: #1E293B;
            --color-secondary: #F1F5F9; /* Soft Gray */
            --color-accent: #D97706; /* Professional Gold/Amber */
            --color-accent-hover: #B45309;
            --color-text-main: #334155;
            --color-text-light: #64748B;
            --color-white: #FFFFFF;
            
            /* Spacing & Layout */
            --container-width: 1200px;
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            
            /* Typography */
            --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-main);
            color: var(--color-text-main);
            line-height: 1.6;
            background-color: var(--color-white);
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; height: auto; }

        /* Utilities */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .text-center { text-align: center; }
        .text-primary { color: var(--color-primary); }
        .text-accent { color: var(--color-accent); }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: var(--radius-md);
            font-weight: 600;
            cursor: pointer;
            border: none;
            font-size: 1rem;
            transition: all 0.2s ease;
        }

        .btn-primary {
            background-color: var(--color-accent);
            color: var(--color-white);
        }
        .btn-primary:hover { background-color: var(--color-accent-hover); transform: translateY(-1px); }

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

        .btn-secondary {
            background-color: var(--color-primary);
            color: var(--color-white);
        }
        .btn-secondary:hover { background-color: var(--color-primary-light); }

        .section-header {
            margin-bottom: 3rem;
            text-align: center;
        }
        .section-header h2 {
            font-size: 2rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }
        .section-header p {
            color: var(--color-text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        /* -------------------------------------------------- */
        /* 2. HEADER & NAV */
        /* -------------------------------------------------- */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--color-white);
            box-shadow: var(--shadow-sm);
            padding: 1rem 0;
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .logo span { color: var(--color-accent); }

        .main-nav { display: none; } /* Hidden on mobile initially */

        .header-actions { display: none; gap: 1rem; align-items: center; }

        .mobile-toggle {
            display: block;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--color-primary);
        }

        /* -------------------------------------------------- */
        /* 3. HERO SECTION */
        /* -------------------------------------------------- */
        .hero {
            background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), 
                        url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
            background-size: cover;
            background-position: center;
            color: var(--color-white);
            padding: 4rem 0;
            position: relative;
        }

        .hero-content {
            display: grid;
            gap: 2rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 2.5rem;
            line-height: 1.2;
            margin-bottom: 1rem;
            font-weight: 800;
        }

        .hero-text p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .hero-trust {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            font-size: 0.9rem;
            font-weight: 500;
        }
        .trust-item { display: flex; align-items: center; gap: 5px; }

        /* Embedded Quote Form (Adam Style) */
        .hero-quote-form {
            background: var(--color-white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            color: var(--color-text-main);
        }
        .hero-quote-form h3 { margin-bottom: 1rem; color: var(--color-primary); }

        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-md);
            font-family: inherit;
        }
        .form-control:focus { outline: 2px solid var(--color-accent); border-color: transparent; }

        /* -------------------------------------------------- */
        /* 4. SECTIONS (General) */
        /* -------------------------------------------------- */
        .section { padding: 4rem 0; }
        .bg-light { background-color: var(--color-secondary); }

        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--color-white);
            padding: 2rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid #eee;
            transition: 0.3s;
            text-align: center;
        }
        .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
        .service-icon { 
            width: 60px; height: 60px; background: var(--color-secondary); 
            border-radius: 50%; margin: 0 auto 1rem; display: flex; 
            align-items: center; justify-content: center; color: var(--color-accent);
        }
        .service-card h3 { margin-bottom: 0.5rem; color: var(--color-primary); }
        .service-link { color: var(--color-accent); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; display: inline-block; }

        /* Sliders (Scroll Snap) */
        .slider-wrapper { position: relative; }
        .slider-container {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 1.5rem;
            padding-bottom: 1.5rem;
            -webkit-overflow-scrolling: touch;
        }
        .slider-container::-webkit-scrollbar { display: none; }
        
        .slider-controls {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-bottom: 1rem;
        }
        .slider-btn {
            background: var(--color-white); border: 1px solid #eee;
            width: 40px; height: 40px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: 0.2s;
        }
        .slider-btn:hover { background: var(--color-primary); color: white; }

        .gallery-card {
            min-width: 280px;
            flex: 0 0 auto;
            scroll-snap-align: start;
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
        }
        .gallery-img { height: 200px; width: 100%; object-fit: cover; }
        .gallery-overlay {
            position: absolute; bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 1rem; color: white;
        }

        /* Stats Bar */
        .stats-section {
            background: var(--color-primary);
            color: white;
            padding: 3rem 0;
        }
        .stats-grid {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            text-align: center;
        }
        .stat-item h3 { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 0.2rem; }

        /* Value Props */
        .value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
        }
        .value-card { display: flex; gap: 1rem; align-items: flex-start; }
        .value-icon { min-width: 40px; color: var(--color-accent); }

        /* How It Works */
        .steps-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            position: relative;
        }
        .step-item {
            background: white; padding: 1.5rem; border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: center;
        }
        .step-num {
            background: var(--color-primary); color: white; width: 32px; height: 32px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-weight: bold; flex-shrink: 0;
        }

        /* Before & After */
        .comparison-card {
            min-width: 300px;
            background: white;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            scroll-snap-align: center;
        }
        .comp-images { display: flex; height: 200px; }
        .comp-img { width: 50%; height: 100%; object-fit: cover; }
        .comp-label {
            position: absolute; bottom: 5px; left: 5px; 
            background: rgba(0,0,0,0.6); color: white; 
            font-size: 0.7rem; padding: 2px 6px; border-radius: 4px;
        }
        .comp-desc { padding: 1rem; text-align: center; font-weight: 600; }

        /* Testimonials */
        .testimonial-card {
            min-width: 300px;
            background: white; padding: 2rem; border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md); scroll-snap-align: center;
            border-top: 4px solid var(--color-accent);
        }
        .stars { color: #F59E0B; margin-bottom: 1rem; }
        .client-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
        .client-avatar { width: 40px; height: 40px; background: #ddd; border-radius: 50%; }

        /* Blog */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        .blog-card {
            background: white; border-radius: var(--radius-md); overflow: hidden;
            box-shadow: var(--shadow-sm); transition: 0.3s;
        }
        .blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
        .blog-thumb { height: 180px; width: 100%; background: #eee; object-fit: cover; }
        .blog-content { padding: 1.5rem; }
        .blog-date { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
        .blog-title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--color-primary); }

        /* Footer */
        .site-footer {
            background: var(--color-primary);
            color: #94a3b8;
            padding-top: 4rem;
            padding-bottom: 2rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        .footer-col h4 { color: white; margin-bottom: 1.5rem; }
        .footer-col ul li { margin-bottom: 0.8rem; }
        .footer-col ul li a:hover { color: var(--color-accent); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }

        /* Modals */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.9);
            z-index: 2000;
            display: none; /* JS toggles this */
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        
        .modal-box {
            background: white;
            width: 100%; max-width: 400px;
            padding: 2.5rem;
            border-radius: var(--radius-lg);
            position: relative;
            animation: slideUp 0.3s ease;
        }
        .modal-close {
            position: absolute; top: 15px; right: 15px;
            background: none; border: none; font-size: 1.5rem; cursor: pointer;
        }
        .modal-tabs {
            display: flex; border-bottom: 1px solid #eee; margin-bottom: 1.5rem;
        }
        .modal-tab {
            flex: 1; padding: 1rem; text-align: center; cursor: pointer;
            font-weight: 600; color: var(--color-text-light);
        }
        .modal-tab.active {
            color: var(--color-primary); border-bottom: 2px solid var(--color-accent);
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* -------------------------------------------------- */
        /* 5. RESPONSIVE QUERIES */
        /* -------------------------------------------------- */
        @media (min-width: 768px) {
            .hero-content {
                grid-template-columns: 1.2fr 0.8fr;
            }
            .hero-text h1 { font-size: 3.5rem; }
            .stats-grid { flex-direction: row; justify-content: space-around; }
            .steps-grid { grid-template-columns: repeat(4, 1fr); }
            .step-item { flex-direction: column; text-align: center; }
            .footer-bottom { flex-direction: row; justify-content: space-between; }
        }

        @media (min-width: 1024px) {
            .mobile-toggle { display: none; }
            .main-nav { display: flex; gap: 2rem; align-items: center; }
            .main-nav a { font-weight: 500; font-size: 0.95rem; }
            .main-nav a:hover { color: var(--color-accent); }
            .header-actions { display: flex; }
            .container { padding: 0; }
        }
        
        /* Mobile Menu State */
        .main-nav.active {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 100%; left: 0; right: 0;
            background: white;
            padding: 2rem;
            box-shadow: var(--shadow-lg);
            border-top: 1px solid #eee;
        }

    /* Contact Form 7 – Instant Quote Styling */

.hero-quote-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-quote-form h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Inputs & Select */
.cf7-quote-form .form-control {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    margin-bottom: 15px;
}

/* Submit Button */
.cf7-quote-form .btn-primary {
    width: 100%;
    background: #d97706;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cf7-quote-form .btn-primary:hover {
    background: #B45309;
}

/* Error Messages */
.wpcf7-not-valid-tip {
    color: #d63638;
    font-size: 13px;
}

.wpcf7-response-output {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
}

/* Message POP UP*/
.cf7-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.cf7-popup-content {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cf7-popup-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cf7-popup-content button {
  background: #0a58ca; /* match your site primary color */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.cf7-popup-content button:hover {
  opacity: 0.9;
}


    /* ===============================
   ASTRA CONTENT BASE STYLING
================================ */

.ast-container,
.ast-single-post .entry-content,
.ast-page-builder-template .entry-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===============================
   TYPOGRAPHY
================================ */

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151; /* neutral gray */
}

.entry-content p {
    margin-bottom: 1.4em;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-weight: 700;
    color: #111827;
    margin: 1.8em 0 0.6em;
    line-height: 1.3;
}

.entry-content h1 { font-size: 2.3rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; }

/* ===============================
   LINKS
================================ */

.entry-content a {
    color: #d97706;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: #b45309;
}

/* ===============================
   LISTS
================================ */

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5em;
}

.entry-content li {
    margin-bottom: 0.6em;
}

/* ===============================
   BLOCKQUOTES
================================ */

.entry-content blockquote {
    background: #fff7ed;
    border-left: 5px solid #d97706;
    padding: 1.2rem 1.5rem;
    margin: 2em 0;
    font-style: italic;
    color: #92400e;
}

.entry-content blockquote p {
    margin: 0;
}

/* ===============================
   TABLES
================================ */

.entry-content table {
    width: 90%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 15px;
}

.entry-content th,
.entry-content td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
}

.entry-content th {
    background: #f9fafb;
    font-weight: 600;
}

/* ===============================
   IMAGES
================================ */

.entry-content img {
    border-radius: 10px;
    margin: 1.8em 0;
}

/* ===============================
   BUTTONS INSIDE CONTENT
================================ */

.entry-content .wp-block-button__link,
.entry-content button,
.entry-content input[type="submit"] {
    background: #d97706;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

.entry-content .wp-block-button__link:hover,
.entry-content button:hover,
.entry-content input[type="submit"]:hover {
    background: #b45309;
}

/* Global content width for pages & posts */
.site-content,
.content-area,
.entry-content,
.page-content,
.wp-block-post-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===============================
   POST META (DATE, AUTHOR)
================================ */

.ast-single-post .entry-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 1.5em;
}

/* ===============================
   POST TITLE
================================ */

.ast-single-post .entry-title,
.ast-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8em;
    color: #111827;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {
    .entry-content {
        font-size: 16px;
    }

    .ast-single-post .entry-title,
    .ast-page-title {
        font-size: 2rem;
    }
}

/* ===== AUTH MODAL TAB FIX (MOBILE SAFE) ===== */

/* Hide all tab contents by default */
.auth-tab-content {
    display: none;
}

/* Only show active tab */
.auth-tab-content.active {
    display: block;
}

/* Extra safety for mobile */
@media (max-width: 768px) {
    #loginTab,
    #registerTab {
        display: none;
    }

    #loginTab.active,
    #registerTab.active {
        display: block;
    }
}

/* =================================================
   AUTH MODAL – PROFILE BUILDER (FINAL STYLING)
   ================================================= */

/* Reset spacing */
#wppb-login-wrap,
#wppb-register-user {
    font-family: inherit;
}

/* Field wrapper */
#wppb-login-wrap .wppb-form-field,
#wppb-register-user .wppb-form-field {
    margin-bottom: 16px;
}

/* Labels */
#wppb-login-wrap label,
#wppb-register-user label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #111827;
}

/* LOGIN INPUTS */
#wppb-login-wrap input.input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

/* REGISTER INPUTS */
#wppb-register-user input.text-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

/* Focus state */
#wppb-login-wrap input:focus,
#wppb-register-user input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

/* Remember me */
#wppb-login-wrap .login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* SUBMIT BUTTONS */
#wppb-submit,
#wppb-register-user input[type="submit"] {
    width: 100%;
    background: #d97706 !important;
    color: #ffffff !important;
    padding: 13px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

/* Hover */
#wppb-submit:hover,
#wppb-register-user input[type="submit"]:hover {
    background: #b45309 !important;
}

/* Remove WP default button styling */
#wppb-submit.button,
#wppb-register-user .button {
    box-shadow: none;
    text-shadow: none;
}

/* Hide default headings (Name, etc if undesired) */
#wppb-register-user h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Error & success messages */
.wppb-error,
.wppb-success {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.wppb-error {
    background: #fee2e2;
    color: #991b1b;
}

.wppb-success {
    background: #dcfce7;
    color: #166534;
}

/* MOBILE STICKY QUOTE BAR */
@media (max-width: 768px) {

    /* Container */
    .wpforms-container {
        padding-bottom: 140px;
        /* space for sticky bar */
    }

    /* Sticky bar */
    .quote-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
        padding: 12px 16px;
        z-index: 9999;
    }

    /* Pricing rows */
    .quote-sticky-bar .wpforms-field {
        margin: 4px 0;
    }

    /* Total emphasis */
    .quote-total input {
        font-weight: 700;
        color: #2563eb;
        font-size: 18px;
    }

    /* Button */
    .quote-submit button {
        background-color: #facc15 !important;
        color: #000 !important;
        font-weight: 600;
        border-radius: 12px;
        padding: 14px;
        width: 100%;
    }

}
/* ================================
   ASTRA SINGLE POST + COMMENTS UI
   Modern clean layout
   ================================ */

/* Page width + spacing */
.ast-separate-container .ast-article-single,
.ast-separate-container .comments-area,
.ast-separate-container .ast-related-posts-container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Main article card */
.ast-separate-container .ast-article-single {
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* Title */
.ast-single-post .entry-title {
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Meta (date, author, etc.) */
.ast-single-post .entry-meta,
.ast-single-post .entry-meta a {
  font-size: 14px;
  opacity: .85;
}

/* Featured image */
.ast-single-post .post-thumb img,
.ast-single-post .post-thumb-img-content img,
.ast-single-post .wp-post-image {
  border-radius: 18px;
}

/* Content typography */
.ast-single-post .entry-content {
  font-size: 18px;
  line-height: 1.75;
}

.ast-single-post .entry-content p {
  margin: 0 0 18px;
}

/* Headings inside content */
.ast-single-post .entry-content h2 {
  font-size: 28px;
  margin: 34px 0 14px;
  letter-spacing: -0.01em;
}
.ast-single-post .entry-content h3 {
  font-size: 22px;
  margin: 26px 0 12px;
}
.ast-single-post .entry-content h4 {
  font-size: 18px;
  margin: 22px 0 10px;
}

/* Lists */
.ast-single-post .entry-content ul,
.ast-single-post .entry-content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.ast-single-post .entry-content li {
  margin: 8px 0;
}

/* Blockquote */
.ast-single-post blockquote {
  border-left: 4px solid currentColor;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 22px 0;
  background: rgba(0,0,0,.03);
}

/* Code blocks */
.ast-single-post pre,
.ast-single-post code {
  border-radius: 12px;
}
.ast-single-post pre {
  padding: 14px;
  overflow: auto;
  background: rgba(0,0,0,.06);
}

/* Links in content */
.ast-single-post .entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ast-single-post .entry-content a:hover {
  opacity: .85;
}

/* ================================
   Next/Prev navigation (Astra)
   ================================ */
.ast-single-post .post-navigation,
.ast-single-post .ast-post-navigation {
  max-width: 860px;
  margin: 22px auto 0;
  padding: 0;
}

.ast-single-post .post-navigation .nav-links,
.ast-single-post .ast-post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Nav cards */
.ast-single-post .post-navigation a,
.ast-single-post .ast-post-navigation a {
  display: block;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.ast-single-post .post-navigation a:hover,
.ast-single-post .ast-post-navigation a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

/* Make arrows look cleaner */
.ast-single-post .post-navigation .nav-previous a:before,
.ast-single-post .post-navigation .nav-next a:after,
.ast-single-post .ast-post-navigation .nav-previous a:before,
.ast-single-post .ast-post-navigation .nav-next a:after {
  font-size: 18px;
  opacity: .7;
}

/* Label + title */
.ast-single-post .post-navigation .nav-subtitle,
.ast-single-post .ast-post-navigation .nav-subtitle {
  display: block;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ast-single-post .post-navigation .nav-title,
.ast-single-post .ast-post-navigation .nav-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

/* Mobile nav stack */
@media (max-width: 768px) {
  .ast-single-post .entry-title { font-size: 30px; }
  .ast-separate-container .ast-article-single { padding: 22px 16px; }
  .ast-single-post .post-navigation .nav-links,
  .ast-single-post .ast-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Comments section
   ================================ */
.ast-separate-container .comments-area {
  margin-top: 18px;
  border-radius: 18px;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

/* Comments title */
.comments-title,
.comment-reply-title {
  font-size: 20px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

/* Each comment */
.comment-list .comment-body {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 14px;
  margin-bottom: 12px;
  background: rgba(0,0,0,.02);
}

/* Avatar */
.comment-author .avatar {
  border-radius: 999px;
}

/* Comment meta */
.comment-metadata,
.comment-metadata a {
  font-size: 12px;
  opacity: .75;
}

/* Reply button */
.comment-reply-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
}
.comment-reply-link:hover {
  opacity: .85;
}

/* Comment form fields */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  padding: 12px 12px;
  background: #fff;
  outline: none;
}

.comment-respond textarea {
  min-height: 140px;
  resize: vertical;
}

/* Submit button */
.comment-respond input[type="submit"] {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}

.comment-respond input[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: .92;
}

/* If Astra is outputting SVG arrows */
.ast-single-post .post-navigation svg,
.ast-single-post .ast-post-navigation svg {
  width: 18px !important;
  height: 18px !important;
}
@media (max-width: 768px) {
  .ast-single-post .post-navigation svg,
  .ast-single-post .ast-post-navigation svg {
    width: 16px !important;
    height: 16px !important;
  }
}
