/*
Theme Name: thisismyurl.com
Description: Premium Agency Skin (2025 Refine) - Focused on conversion & trust.
Version: 5.1 - Ultra Fidelity
*/

/* ==========================================================================
   0. IMPORTS & VARIABLES
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-primary: #123456;          /* Brand Blue */
    --color-primary-dark: #023e8a;    /* Richer Dark Blue */
    --color-primary-darker: #0f172a;  /* Nearly Black Blue (High Contrast) */
    
    /* Accents */
    --color-accent: #ffb703;          
    --color-accent-hover: #fa0;
    --color-accent-gradient: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    
    /* Backgrounds */
    --color-bg-body: #fff;
    --color-bg-offset: #f8fafc;       /* Cool gray-white */
    --color-bg-dark: #0b1120;         /* Footer slate */

    /* Typography */
    --font-primary: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", palatino, "URW Palladio L", p052, serif;
    --font-heading: "Avenir Next", avenir, "Segoe UI", "Noto Sans", ubuntu, cantarell, helvetica, arial, sans-serif;
    --text-main: #334155;             /* Slate 700 */
    --text-light: #64748b;            /* Slate 500 */
    --text-muted: #94a3b8;            /* Slate 400 */

    /* Layout & Spacing */
    --width-container: 1280px;
    --spacing-section: 120px;
    --spacing-gutter: 24px;

    /* Modern UI Elements */
    --radius-sm: 8px;
    --radius-card: 20px;
    --radius-pill: 100px;
    
    /* Depth System */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-card: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.01); 
    --shadow-hover: 0 25px 50px -12px rgb(0 119 182 / 0.15);
    --shadow-glow: 0 0 20px rgb(255 183 3 / 0.3); 
}

/* ==========================================================================
   1. RESET & BASE DEFAULTS
   ========================================================================== */

*, *:before, *:after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    text-rendering: optimizespeed;
    line-height: 1.75;
    font-family: var(--font-primary);
    font-size: 17px;
    color: var(--text-main);
    background-color: var(--color-bg-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol { display: flow-root; }

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

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

a:not([class]) { text-decoration-skip-ink: auto; }

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html:focus-within { scroll-behavior: auto; }

    *, *:before, *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-darker);
    margin: 0 0 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.04em;
}

h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h2 strong, h3 strong { font-weight: inherit; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--spacing-gutter);
}

.wp-block-columns.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.wp-block-column { flex-grow: 1; }

@media (max-width: 782px) {
    .wp-block-columns.is-layout-flex { flex-direction: column; }
    .wp-block-column { flex-basis: 100% !important; }
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */

.header {
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgb(0 0 0 / 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-primary-darker);
    letter-spacing: -0.05em;
    font-weight: 800;
}

.site-tagline { display: none; } 

.main-navigation ul {
    display: flex;
    gap: 8px;
}

.main-navigation a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    background-color: var(--color-bg-offset);
    color: var(--color-primary);
}

.toggleMenu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   5. COMPONENTS (BUTTONS & CARDS)
   ========================================================================== */

/* The Primary Glow Button */
.button, .cta-button, .local-btn, .read-more.button, .wpforms-submit, #commentform .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    color: #0f172a;
    padding: 18px 36px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.button:after, .cta-button:after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.button:hover:after, .cta-button:hover:after { left: 150%; }

.button:hover, .cta-button:hover, .local-btn:hover, #commentform .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -5px rgb(255 183 3 / 0.5);
}

/* Button Variants */
.button-outline {
    display: inline-flex;
    padding: 16px 34px;
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid rgb(0 119 182 / 0.2);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-outline:hover {
    border-color: var(--color-primary);
    background: rgb(0 119 182 / 0.05);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.cta-button-audit {
    display: inline-block;
    background-color: #3b82f6;
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgb(59 130 246 / 0.4);
    border: 2px solid #3b82f6;
}

.cta-button-audit:hover {
    background-color: transparent;
    color: #3b82f6 !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(59 130 246 / 0.6);
}

/* Standalone Donate Button */
.timu-donate-container {
    padding: 2.5rem 0;
    text-align: center;
    clear: both;
}

.timu-donate-btn-large {
    display: inline-block;
    background-color: #2271b1;
    color: #fff !important;
    padding: 18px 36px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timu-donate-btn-large:hover {
    background-color: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgb(0 0 0 / 0.15);
}

/* Card System */
.service-card, .articles-box, .post-card-optimized {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.04);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover, .articles-box:hover, .post-card-optimized:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgb(0 119 182 / 0.1);
}

.main-card-link:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-link {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   6. PAGE SECTIONS
   ========================================================================== */

/* Hero Section */
.home .home-hero {
    background: radial-gradient(circle at 10% 20%, rgb(240 246 252) 0%, rgb(255 255 255) 90%);
    padding: 140px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero:before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgb(0 119 182 / 0.08) 0%, rgb(255 255 255 / 0) 70%);
    animation: pulse 10s infinite alternate;
}

@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* Trust Bar */
.trust-bar {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-bg-offset);
}

.trust-intro {
    text-align: center;
    margin: 0 0 1.5rem;
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    opacity: 0.8;
}

.trust-item img {
    width: auto;
    height: 42px;
    max-width: min(180px, 32vw);
    max-height: 42px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.4s;
}

.trust-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Blog Pagination */
.pagination-wrapper {
    margin-top: 2rem;
    width: 100%;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgb(0 0 0 / 0.1);
    color: var(--text-main);
    text-decoration: none;
}

.pagination-wrapper .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination-wrapper .page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .trust-item img {
        height: 34px;
        max-width: min(150px, 40vw);
        max-height: 34px;
    }
}

/* Services & Blog Grids */
.services-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* FAQ Section */
.home-faq {
    background-color: var(--color-bg-offset);
    padding: var(--spacing-section) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid rgb(0 0 0 / 0.02);
}

/* Local Signal */
.local-signal {
    background: var(--color-primary-darker);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.city-link {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgb(255 255 255 / 0.1);
}

.city-link:hover {
    background: #fff;
    color: var(--color-primary-darker);
    transform: scale(1.05);
}

/* Conversion CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary-darker) 0%, var(--color-primary) 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 30px 60px -15px rgb(0 119 182 / 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   7. SINGLE POST CONTENT & AUTHOR
   ========================================================================== */

/* Single content specifically targets your unique layout requirements */
.single .entry-content p,
.single .entry-content ul,
.single .entry-content ol,
.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6 {
    color: #123456;
    line-height: 125%;
    margin: 1em 35% .5em 0; /* Audit note: Right margin is set to 35% */
}

.single .entry-content p { line-height: 1.75; }

.single .entry-content h2 {
    font-size: 200%;
    margin-right: 20%;
}

.single .entry-content h3 {
    font-size: 150%;
    margin-right: 20%;
    color: #333;
}

.author-box {
    background: var(--bg-offset);
    border: 1px solid rgb(0 119 182 / 0.1);
    border-radius: var(--card-radius);
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-sm);
	margin-bottom: 5em;
}

.author-box:before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: var(--color-primary);
}

/* ==========================================================================
   8. PLUGINS (RANKMATH & WPFORMS)
   ========================================================================== */


/* WPForms - Audit Form Styling */
#wpforms-100975 {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -5px rgb(0 0 0 / 0.1);
    max-width: 600px;
    margin: 0 auto;
}

div.wpforms-container-full .wpforms-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgb(59 130 246 / 0.15);
}

.page-id-11 .content-body {
    max-width: 920px;
    margin: 0 auto;
}

.contact-conversion-banner,
.contact-brief-helper {
    margin: 0 auto 1.75rem;
    max-width: 820px;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: var(--radius-card);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-sm);
}

.contact-conversion-banner h2,
.contact-brief-helper h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.3;
}

.contact-conversion-copy {
    margin-bottom: 1rem;
}

.contact-direct-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-direct-options .button {
    min-height: 2.75rem;
}

.contact-social-proof-inline {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-brief-helper p {
    margin: 0 0 0.5rem;
}

.contact-brief-helper ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.contact-brief-helper li {
    margin-bottom: 0.35rem;
}

.page-id-11 .wpforms-container {
    margin: 0 auto 1.75rem;
    max-width: 820px;
}

.page-id-11 .wpforms-submit {
    min-width: 220px;
}

/* Contact Page: What Happens Next */
.contact-next-steps {
    margin: 0 auto 2rem;
    max-width: 820px;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: var(--radius-card);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-sm);
}

.contact-next-steps h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.3;
}

.contact-next-steps-list {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.contact-next-steps-list li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.contact-next-steps-note {
    margin: 1rem 0 0;
    color: var(--text-muted);
}

/* About Page: Conversion-Focused Layout */
.page-id-9 .content-body,
.page-slug-about .content-body {
    max-width: 920px;
    margin: 0 auto;
}

.about-conversion-banner,
.about-process,
.about-final-cta {
    margin: 0 auto 1.75rem;
    max-width: 840px;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: var(--radius-card);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-sm);
}

.about-core-content {
    margin: 0 auto 1.25rem;
    max-width: 840px;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: var(--radius-card);
    padding: clamp(1.15rem, 2.2vw, 1.5rem);
    box-shadow: var(--shadow-sm);
}

.about-core-content h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    line-height: 1.3;
}

.about-core-content p {
    margin: 0;
}

.about-core-content ul {
    margin: 0;
    list-style: disc;
    padding-left: 1.2rem;
}

.about-core-content li {
    margin-bottom: 0.35rem;
}

.about-conversion-banner h2,
.about-process h2,
.about-final-cta h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.25;
}

.about-proof-points {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.about-proof-points li {
    margin-bottom: 0.35rem;
}

.about-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem auto 1.75rem;
    max-width: 840px;
}

.about-fit-card {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: var(--radius-card);
    padding: clamp(1.15rem, 2.2vw, 1.5rem);
    box-shadow: var(--shadow-sm);
}

.about-fit-card h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.about-fit-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.about-fit-card li {
    margin-bottom: 0.3rem;
}

.about-fit-card-muted {
    background: var(--color-bg-offset);
}

.about-process ol {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.about-process li {
    margin-bottom: 0.45rem;
}

.about-final-cta {
    text-align: center;
}

.about-final-cta p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-primary-actions {
        flex-direction: column;
    }

    .about-primary-actions .button {
        width: 100%;
    }

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

@media (max-width: 768px) {
    .contact-direct-options {
        flex-direction: column;
    }

    .contact-direct-options .button {
        width: 100%;
    }
}

/* ==========================================================================
   9. COMMENTS & RATINGS
   ========================================================================== */

.comment-body {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.05);
    border-radius: var(--radius-card);
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.star-rating-selection {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    font-size: 2rem;
}

.star-rating-selection label {
    cursor: pointer;
    font-size: 2.5rem !important;
    color: #e2e8f0 !important;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.star-rating-selection label:hover,
.star-rating-selection label:hover ~ label,
.star-rating-selection input:checked ~ label {
    color: var(--color-accent) !important;
    transform: scale(1.1);
}






/* ==========================================================================
   TABLES (Lakeview Brands Traditional Refine)
   ========================================================================== */


/* 1. Wrapper: Handles the Margin and Subtle Shadow */
.wp-block-table {
    margin: 3.5rem 0; /* Decent spacing above and below */
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05); /* Very subtle, wide shadow */
    overflow: hidden; /* Clips the table corners to match the container radius */
    border: 1px solid rgb(0 0 0 / 0.05);
}

/* 2. Table Core */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-family: var(--font-primary);
    margin: 0; /* Reset default table margins */
}

/* 3. The Header (Forcing Dark Blue & White Text) */
.wp-block-table table thead {
    background-color: var(--color-primary-darker) !important;
	color: #fff;
	
}

.wp-block-table table thead th {
    background-color: var(--color-primary-darker) !important;
    color: #fff !important;
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    border: none;
}

.wp-block-table table thead td {
    padding: 5px 20px;
    line-height: 1.6;
}

/* 4. Body Cell Styling */
.wp-block-table table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    line-height: 1.6;
}

/* 5. Zebra Striping */
.wp-block-table table tbody tr:nth-child(even) {
    background-color: var(--color-bg-offset);
}

/* 6. Hover State */
.wp-block-table table tbody tr:hover {
    background-color: rgb(0 119 182 / 0.03);
}



/* ==========================================================================
   LISTS (Modern Professional Refine)
   ========================================================================== */

/* 1. Base Container Styling */
.entry-content ul,
.single .entry-content ul,
.entry-content ol,
.single .entry-content ol {
    margin: 2rem 35% 2rem 1.5rem; /* Adjusted to match your specific layout */
    padding-left: 1.5rem;
    color: var(--text-main);
}

/* 2. Unordered Lists (Custom Modern Bullets) */
.entry-content ul {
    list-style: none; /* Keep custom control */
}

.entry-content ul li {
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* High-End Geometric Bullet */
.entry-content ul li:before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px; /* Slightly rounded square */
    transform: rotate(45deg); /* Diamond shape */
}

/* 3. Ordered Lists (Clean Professional Numbering) */
.entry-content ol {
    list-style: decimal;
    list-style-position: inside;
    counter-reset: custom-counter;
}

.entry-content ol li {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth, premium transition */
	margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

/* 4. Nested List Indentation */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin: 1rem 0 1rem 1rem;
    font-size: 0.95em;
}

/* 5. Mobile Adjustment (Reducing the 35% Right Margin) */
@media (max-width: 1024px) {
    .entry-content ul,
    .single .entry-content ul,
    .entry-content ol,
    .single .entry-content ol {
        margin-right: 0;
    }
}


/* 1. The Mouse-Over Effect */
.entry-content ul li:hover,
.entry-content ol li:hover {
    transform: translateX(8px); /* Subtle horizontal shift */
    color: var(--color-primary-dark); /* Shifts to your darker brand blue */
    background-color: rgb(0 119 182 / 0.03); /* Very faint "ghost" highlight */
}

/* 2. Enhancing the Diamond Bullet on Hover */
.entry-content ul li:hover:before {
    background-color: var(--color-primary); /* Bullet turns blue on hover */
    transform: rotate(45deg) scale(1.2); /* Slight grow effect */
    transition: all 0.2s ease;
}

.entry-content ol li:hover {
    font-weight: 500; /* Subtle weight increase for active list items */
}

/* ==========================================================================
   MATH BLOCKS (Ultra-Scale for Technical Authority)
   ========================================================================== */

.wp-block-math {
    margin: 3.5rem 0; /* Increased margin for greater visual focus */
    padding: 3rem 2rem;
    background-color: var(--color-bg-offset);
    border-radius: var(--radius-card);
    border-left: 6px solid var(--color-primary); /* Slightly thicker border for balance */
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
    position: relative;
    transition: all 0.3s ease;
}

/* 1. Twice the Size: Formula Typography */
.wp-block-math p,
.wp-block-math span,
.wp-block-math .latex-formula {
    font-family: Inter, serif;
    font-size: 2.7rem; /* Approximately twice the previous 1.35rem scale */
    color: var(--color-primary-darker);
    line-height: 1.2; /* Tighter line-height for large-scale characters */
    margin: 0;
    font-weight: 500; /* Medium weight improves clarity at large sizes */
    white-space: nowrap; /* Keeps equations on a single line with scrollbar */
}

/* 2. Responsive Scaling for Mobile Devices */
@media (max-width: 768px) {
    .wp-block-math p,
    .wp-block-math span {
        font-size: 1.8rem; /* Scales down gracefully on smaller screens */
    }
}

/* 3. Subtle Label Refine */
.wp-block-math:after {
    content: 'FORMULA';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* 2. Responsive Scaling for Mobile Devices */
@media (max-width: 768px) {
    .wp-block-math p,
    .wp-block-math span {
        font-size: 1.8rem; /* Scales down gracefully on smaller screens */
    }
}


/* ==========================================================================
   RANKMATH TOC (Isolated Version with Collapse Button)
   ========================================================================== */

.wp-block-rank-math-toc-block {
    margin: 3rem auto !important;
    background: var(--color-bg-offset);
    border-left: 6px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    max-height: 2000px;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Wrapper for the Button */
.wp-block-rank-math-toc-block h2 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary-darker);
    margin: 0 !important;
    display: flex;
    justify-content: space-between; /* Pushes button to the right */
    align-items: center;
}

/* The Collapse/Toggle Button */
.toc-toggle-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1;
}

.toc-toggle-btn:hover {
    background: var(--color-primary-dark);
}

/* State management for the content */
.wp-block-rank-math-toc-block.is-collapsed nav {
    display: none !important;
}

.wp-block-rank-math-toc-block.is-collapsed {
    padding-bottom: 1.5rem; /* Tighter padding when collapsed */
}

/* Resetting the TOC inner list */
.wp-block-rank-math-toc-block nav ul {
    list-style: none !important;
    margin: 2rem 0 0 !important;
    padding: 0 !important;
    display: block !important;
}

.wp-block-rank-math-toc-block nav ul li {
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    list-style: none !important;
}

.wp-block-rank-math-toc-block nav ul li:before {
    display: none !important; /* Ensures diamond bullets stay hidden in TOC */
}


/* ==========================================================================
   2. PREMIUM IMAGE ALIGNMENT (Lakeview Refine)
   ========================================================================== */

/* Base Image Styling: Matches your Table Shadow and Border */
.entry-content img,
.wp-block-image img {
    border: 1px solid rgb(0 0 0 / 0.05); /* Subtle border to match table */
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05); /* Matching table drop shadow */
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect: Adds Technical Authority feel */
.entry-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgb(0 0 0 / 0.1);
}

/* WordPress Standard Alignment Classes */
.alignleft {
    float: left;
    margin: 0.5rem 2rem 2rem 0;
    max-width: 33%;
}

.alignright {
    float: right;
    margin: 0.5rem 0 2rem 2rem;
    max-width: 45%;
}

.aligncenter {
    display: block;
    margin: 3rem auto;
    clear: both;
}

/* Captions: Modern Minimalist */
figcaption,
.wp-element-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    line-height: 1.4;
}

/* Mobile Reset: Ensures images don't break layout on small screens */
@media (max-width: 768px) {
    .alignleft, .alignright {
        float: none;
        margin: 2rem 0;
        max-width: 100%;
    }
}


/* ==========================================================================
   BLOCKQUOTES (Premium Agency Refine)
   ========================================================================== */

.entry-content blockquote,
.single .entry-content blockquote {
    /* 1. Layout & Alignment */
    margin: 4rem 15% 4rem 0; /* Creates an asymmetrical, modern look */
    padding: 3rem 3.5rem;
    position: relative;
    
    /* 2. Visual Branding */
    background: var(--color-bg-offset); /* Subtle offset to separate from prose */
    border-left: 8px solid var(--color-primary); /* Thick brand blue anchor */
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    box-shadow: var(--shadow-sm);
    
    /* 3. Typography */
    font-style: italic;
    color: var(--color-primary-darker);
    line-height: 1.6;
}

/* Big Decorative Quote Mark */
.entry-content blockquote:before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
}

/* Quote Text Content */
.entry-content blockquote p {
    font-size: 1.35rem; /* Larger than body text for emphasis */
    font-weight: 500;
    margin-bottom: 1.5rem !important;
    color: inherit !important;
}

/* Citation / Author Attribution */
.entry-content blockquote cite {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.entry-content blockquote cite:before {
    content: '— ';
    color: var(--color-accent); /* Golden accent dash */
}

/* Mobile Reset */
@media (max-width: 768px) {
    .entry-content blockquote {
        margin: 3rem 0;
        padding: 2rem;
    }

    .entry-content blockquote p {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   ENTRY TAGS (Visibility Refine)
   ========================================================================== */

.entry-tags {
    margin: 4rem 35% 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-bg-offset);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.entry-tags a {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-bg-offset);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgb(0 0 0 / 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

/* Hover State: Fixed Visibility */
.entry-tags a:hover {
    background-color: #123456;
    color: #fff !important; /* Forces white text on blue background */
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.entry-tags a:before {
    content: '#';
    margin-right: 4px;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

/* Ensures the # also turns white/light on hover for visibility */
.entry-tags a:hover:before {
    color: rgb(255 255 255 / 0.9) !important;
}

@media (max-width: 1024px) {
    .entry-tags {
        margin-right: 0;
        justify-content: center;
    }
}



/* ==========================================================================
   COMMENTS & REVIEWS (Lakeview Premium Refine)
   ========================================================================== */

#comments {
    padding: 6rem 0;
    background-color: var(--color-bg-offset); /* Subtle shift to focus the user */
}

/* 1. The Comment Respond Card */
#respond {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgb(0 119 182 / 0.05);
}

/* 2. Heading: High Impact */
#reply-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary-darker);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#reply-title small a {
    font-size: 0.9rem;
    color: #d32f2f; /* Urgency/Cancel Red */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. Star Rating Interface */
.comment-form-rating {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-bg-offset);
}

.comment-form-rating label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-primary-darker);
    margin-bottom: 12px;
}



/* 4. Textarea & Inputs */
.comment-form-comment label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-darker);
}

.comment-form-comment textarea {
    width: 100%;
    background-color: var(--color-bg-offset);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 20px;
    min-height: 200px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    resize: vertical;
}

.comment-form-comment textarea:focus {
    background-color: #fff;
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgb(0 119 182 / 0.1);
}

/* 5. Submit Button (Glow Variation) */

.wp-block-button,
#commentform .submit {
    width: auto;
    min-width: 240px;
    background: var(--color-accent-gradient);
    color: var(--color-primary-darker);
    padding: 18px 45px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button {
	margin: 3em auto;
	display: block;
	max-width: 50%;
	text-align: center;
}

.wp-block-button a:hover,
#commentform .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgb(255 183 3 / 0.5);
}

/* 6. Meta Information */
.logged-in-as, .form-allowed-tags {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.logged-in-as a {
    color: var(--color-primary);
    font-weight: 700;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #respond {
        padding: 2.5rem 1.5rem;
    }

    .star-rating-selection label {
        font-size: 2rem !important;
    }

    #commentform .submit {
        width: 100%;
    }
}

/* ==========================================================================
   ACCESSIBILITY: Skip to Content Link
   ========================================================================== */

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

/* Make it "Pop" when focused (Tabbed into) */
.screen-reader-text:focus {
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    clip: auto !important;
    clip-path: none;
    color: #fff;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 20px;
    top: 20px;
    padding: 15px 25px;
    text-decoration: none;
    width: auto;
    z-index: 100000; /* Stays above the Glass Header */
}


/* ==========================================================================
   POST HEADERS (Gorgeous & Editorial)
   ========================================================================== */

/* 1. The Gorgeous H1 Title */
.single .entry-title,
.page .entry-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem); /* Fluid typography for all devices */
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-primary-darker);
    margin-bottom: 2.5rem;
    letter-spacing: -0.04em; /* Tight, modern tracking */
    position: relative;
    max-width: 900px; /* Aligns with your centered bio layout */
}

/* Subtle Gradient Detail to make it "Pop" */
.single .entry-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--color-accent-gradient); /* Lakeview Gold Gradient */
    margin-top: 1.5rem;
    border-radius: var(--radius-pill);
}

/* 2. The Meta Header (Space & Organization) */
.entry-meta-header {
    margin: 2.5rem 0 3.5rem; /* Generous space above and below */
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-bg-offset);
    border-bottom: 1px solid var(--color-bg-offset);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Enhancing individual meta items */
.entry-meta-header .entry-categories a,
.entry-meta-header .entry-author a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta-header .entry-categories a:hover {
    color: var(--color-primary-dark);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .single .entry-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .entry-meta-header {
        margin: 2rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   FEATURED IMAGE (Premium Rounded Refine)
   ========================================================================== */

/* Targets common WordPress featured image patterns */
.page-featured-image img
 {
    /* 1. The Rounded Corners (Using your card variable) */
    border-radius: var(--radius-card);

    /* 2. Visual Polish (Matching your Tables & Large Images) */
    border: 1px solid rgb(0 0 0 / 0.05); /* Subtle definition border */
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05); /* Deep, expensive shadow */

    /* 3. Layout Structure */
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 3rem; /* Ensure space before the post title/meta */

    /* 4. Tactile Transition */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* Optional Hover Effect: A subtle lift to match your Service Cards */
.page-featured-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.1);
}

.size-large {
    width: 100% !important; /* Forces full container width */
    height: auto !important; /* Prevents stretching; maintains aspect ratio */
    margin: 2rem 0 !important; /* 2em (approx 32px) top and bottom separation */
    display: block;
    clear: both; /* Prevents floated elements from interfering */
}

/* 1. Ensuring the internal img tag also follows suit */
.size-large img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-sm); /* Matches your established table/card style */
    border: 1px solid rgb(0 0 0 / 0.05); /* Subtle border for definition */
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05); /* Matching your table drop shadow */
}

/* 2. Responsive Check: Mobile scaling */
@media (max-width: 768px) {
    .size-large {
        margin: 1.5rem 0 !important; /* Slightly tighter spacing for small screens */
    }
}




/* ==========================================================================
   RELATED ARTICLES (Premium Card Grid)
   ========================================================================== */

.related-posts-wrapper {
    background-color: var(--color-bg-offset);
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgb(0 0 0 / 0.05);
}

/* 1. The Section Title */
.related-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary-darker);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-pill);
}

/* 2. Blog Section Header */
.home-blog {
    padding-top: clamp(2.5rem, 5vw, 4rem);
}

.home-blog .section-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

/* 3. Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.home-blog-view-all-wrap {
    margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
    text-align: center;
}

.home-blog-view-all-wrap .view-all-link {
    display: inline-block;
}

/* 3. Card Base Styling */
.articles-box {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 0.05);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
}

.articles-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

/* 4. Thumbnail Refine */
.articles-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.articles-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.articles-box:hover .articles-thumb img {
    transform: scale(1.05);
}

/* 5. Content & Typography */
.articles-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-item-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.articles-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.entry-summary p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 6. Fake Button (Visual Indicator) */
.entry-footer {
    margin-top: auto;
}

.read-more-fake-btn {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.articles-box:hover .read-more-fake-btn {
    gap: 12px;
    color: var(--color-primary-dark);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .related-posts-wrapper { padding: 4rem 0; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER: SEO-Optimized Dark Surface with Internal Linking Architecture
   ========================================================================== */

#footer-wrapper {
    margin-top: clamp(3rem, 8vw, 6rem);
    padding-top: clamp(3rem, 6vw, 5rem);
    color: rgb(255 255 255 / 0.9);
    background-color: #0b1120;
}

#footer-wrapper .container {
    padding-bottom: 0;
}

#footer-wrapper .footer-heading {
    color: #fff;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#footer-wrapper p,
#footer-wrapper address,
#footer-wrapper strong,
#footer-wrapper .footer-copyright {
    color: rgb(255 255 255 / 0.88);
}

#footer-wrapper a {
    color: rgb(255 255 255 / 0.92);
    transition: color 0.2s ease;
}

#footer-wrapper a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* === Footer Grid: 4-Column Internal Link Architecture === */
.footer-grid {
    display: grid;
    gap: clamp(2rem, 3.5vw, 3.5rem);
    align-items: start;
}

.footer-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* === Heading Wrapper: Visual Hierarchy === */
.footer-heading-wrapper {
    border-bottom: 2px solid rgba(255 255 255 / 0.1);
    padding-bottom: 0.75rem;
}

/* === Services Column === */
.footer-col-services .footer-heading-services:before {
    content: '→ ';
    color: var(--color-accent);
    font-weight: 800;
}

.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list li {
    margin: 0;
    padding: 0;
}

.footer-links-list a {
    color: rgb(255 255 255 / 0.85);
    text-decoration: none;
    font-size: 0.93rem;
    line-height: 1.5;
    display: inline-block;
    position: relative;
}

.footer-links-list a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer-links-list a:hover:after {
    width: 100%;
}

.footer-links-list a:hover {
    color: var(--color-accent);
}

/* === Resources Column === */
.footer-col-resources .footer-heading-resources:before {
    content: '⊙ ';
    color: var(--color-accent);
}

/* === Trust Signals Column === */
.footer-col-trust .footer-heading-trust:before {
    content: '★ ';
    color: var(--color-accent);
}

.footer-about-badge {
    background: rgba(255 255 255 / 0.04);
    border-left: 3px solid var(--color-accent);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.footer-expertise {
    margin: 0 0 0.75rem;
    font-size: 0.93rem;
    color: rgb(255 255 255 / 0.95);
    line-height: 1.5;
}

.expertise-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    display: inline-block;
    background: rgba(var(--color-accent-rgb), 0.1);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
}

.expertise-tag a {
    color: rgb(255 255 255 / 0.92);
    text-decoration: none;
    font-weight: 500;
}

.expertise-tag a:hover {
    color: var(--color-accent);
}

/* === Contact Column === */
.footer-col-contact .footer-heading-contact:before {
    content: '✉ ';
    color: var(--color-accent);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    color: rgb(255 255 255 / 0.88);
    text-decoration: none;
    font-size: 0.93rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: var(--color-accent);
}

.contact-label {
    font-weight: 600;
    color: rgb(255 255 255 / 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255 255 255 / 0.1);
}

.footer-social-link {
    color: rgb(255 255 255 / 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255 255 255 / 0.15);
    border-radius: var(--radius-xs);
}

.footer-social-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
}

/* === Full-Width CTA Section === */
.footer-cta-section {
    grid-column: 1 / -1;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.12), rgba(var(--color-accent-rgb), 0.06));
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    border-radius: var(--radius-md);
}

.footer-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-cta-heading {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #fff;
    line-height: 1.3;
}

.footer-cta-description {
    margin: 0;
    font-size: 0.95rem;
    color: rgb(255 255 255 / 0.85);
    max-width: 500px;
}

.footer-cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--color-accent);
    color: #0b1120;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-cta-button:hover {
    background: var(--color-accent-dark, #ffa500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.3);
}

/* === Footer Divider === */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255 255 255 / 0.1), transparent);
    margin: clamp(2rem, 4vw, 3rem) 0;
}

/* === Footer Meta: Copyright + Legal Links === */
.footer-meta-wrapper {
    background: #0b1120;
    color: rgb(255 255 255 / 0.9);
    padding: 1.5rem 0 2rem;
}

.footer-meta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left-meta {
    flex: 1;
    min-width: 200px;
}

.footer-copyright {
    margin: 0;
    font-size: 0.88rem;
    color: rgb(255 255 255 / 0.75);
}

.footer-legal-nav {
    display: flex;
    justify-content: flex-end;
}

.footer-legal-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-menu li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.footer-legal-menu li:not(:last-child):after {
    content: '•';
    margin-left: 1.5rem;
    color: rgb(255 255 255 / 0.3);
}

.footer-legal-menu a {
    color: rgb(255 255 255 / 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-menu a:hover {
    color: var(--color-accent);
}

/* === Responsive: Tablet (4 cols → 2 cols) === */
@media (max-width: 1024px) {
    .footer-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === Responsive: Mobile (2 cols → 1 col) === */
@media (max-width: 768px) {
    .footer-grid.cols-4 {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .footer-cta-section {
        grid-column: auto;
    }

    .footer-meta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-legal-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-legal-menu {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-legal-menu li:not(:last-child):after {
        margin-left: 1rem;
    }
}

/* === Responsive: Small Mobile === */
@media (max-width: 480px) {
    #footer-wrapper {
        padding-top: clamp(2rem, 4vw, 3rem);
    }

    .footer-heading {
        font-size: 0.9rem;
    }

    .footer-cta-heading {
        font-size: 1.1rem;
    }

    .footer-social-links {
        flex-wrap: wrap;
    }

    .footer-social-link {
        font-size: 0.85rem;
    }

    .footer-legal-menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-menu li:not(:last-child):after {
        display: none;
    }
}

/* ==========================================================================
   RANKMATH TOC: Symmetric Fade Read Progress
   ========================================================================== */

#toc-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 6px;
    background: var(--color-accent-gradient);
    z-index: 99999;
    border-radius: 0;

    /* 1. Initial & Receded State */
    opacity: 0;
    visibility: hidden;
    
    /* 2. Symmetric Transition Logic */

    /* 0.4s provides a professional, "gentle" timing for both entrance and exit */
    transition: 
        width 0.1s linear, 
        opacity 0.4s ease-in-out, 
        visibility 0.4s ease-in-out;
}

/* 3. The Active/Visible State */
#toc-progress-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}


.post-introduction {
	font-size: 200%;
	line-height: 150%;
	color: #333;
	font-family: serif;
	font-weight: 500;
	margin-bottom: 2em;
}


/* ==========================================================================
   TOC: Collapsible Toggle UI
   ========================================================================== */

/* The Toggle Button (Open/Close) */
#lvb-toc-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--color-primary-dark);
    color: #fff;
    border: none;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

#lvb-toc-toggle:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Closed State Styles */
.toc-is-closed {
    max-height: 70px !important; /* Only shows the H2 title bar */
    background-color: var(--color-bg-offset) !important;
}

.toc-is-closed nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}




/* ==========================================================================
   DOWNLOAD TERMINAL (#download)
   ========================================================================== */

#download.lvb-donation-terminal {
    margin: 6rem auto 4rem;
    padding: 2rem;
    background-color: #efefef; /* Brand Dark Blue */
    border-radius: var(--radius-card);
    color: #fff !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgb(255 255 255 / 0.1); /* Subtle "Glass" edge */
}

#download.lvb-donation-terminal h2,
#download.lvb-donation-terminal p {
	width: 100%;
	margin-left: 0;
}



/* ==========================================================================
   PAYPAL TERMINAL: Lakeview Brands Theme
   ========================================================================== */

.lvb-paypal-terminal {
    max-width: 400px;
    margin: 2rem 5em;
    padding: 2rem;
    background: rgb(255 255 255 / 0.05); /* Subtle glass texture */
    border-radius: var(--radius-sm);
    border: 1px solid rgb(255 255 255 / 0.1);
}

.lvb-amount-wrapper {
    margin-bottom: 1.5rem;
    text-align: left;
}

.lvb-amount-wrapper label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--color-accent); /* Brand Gold */
}

/* Styled Select Menu */
.lvb-select {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary-darker);
    cursor: pointer;
}

/* High-Contrast PayPal Button */
.lvb-paypal-btn {
    width: 100%;
    background: var(--color-accent);
    color: var(--color-primary-darker);
    border: none;
    padding: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lvb-paypal-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.2);
}

/* ==========================================================================
   SEO-FIRST REDESIGN SYSTEM (2026)
   ========================================================================== */

.home-hero {
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
    text-align: center;
    background:
        radial-gradient(circle at 90% 0%, rgb(251 133 0 / 0.12), transparent 48%),
        radial-gradient(circle at 0% 100%, rgb(2 62 138 / 0.09), transparent 45%);
}

.hero-header {
    max-width: 72ch;
    margin: 0 auto;
}

.hero-eyebrow {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.hero-title {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    letter-spacing: -0.03em;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-lead {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-main);
}

.seo-cta-cluster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.75rem 0 1.25rem;
}

.seo-cta-cluster .cta-secondary {
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid rgb(2 62 138 / 0.35);
    box-shadow: none;
}

.seo-cta-cluster .cta-secondary:hover {
    border-color: var(--color-primary-dark);
    background: rgb(2 62 138 / 0.08);
}

.hero-primary-offer {
    margin: 1.4rem 0 1.25rem;
    padding: clamp(1rem, 2.6vw, 1.5rem);
    width: 100%;
    max-width: none;
    border: 1px solid rgb(15 23 42 / 0.16);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(130deg, rgb(2 62 138 / 0.08), rgb(251 133 0 / 0.08)),
        #fff;
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.08);
}

.hero-primary-offer-title {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.25;
    color: var(--color-primary-darker);
}

.hero-primary-offer-lead {
    margin: 0.65rem 0 0;
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.99rem;
    color: var(--text-main);
}

.hero-primary-offer-points {
    margin: 0.95rem 0 0;
    display: inline-block;
    padding-left: 1.15rem;
    text-align: left;
}

.hero-primary-offer-points li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-main);
}

.hero-primary-offer-button {
    margin-top: 0.6rem;
    box-shadow: none;
}

.seo-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 2.4rem 0 1.5rem;
    padding: 0.6rem 0 0;
    list-style: none;
}

.seo-trust-strip li {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(15 23 42 / 0.1);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-primary-darker);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    line-height: 1.4;
}

.single-readability-layout {
    max-width: 76ch;
    margin-left: 0;
    margin-right: auto;
}

.single .single-readability-layout h2,
.single .single-readability-layout h3,
.single .single-readability-layout p,
.single .single-readability-layout ul,
.single .single-readability-layout ol {
    margin-right: 0;
}

.single .entry-content p,
.single .entry-content li {
    font-size: 1.1rem;
    line-height: 1.72;
    color: var(--text-main);
}

.single .single-readability-layout h2 {
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 3.4vw, 2.35rem);
}

.single .single-readability-layout h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    color: var(--color-primary-dark);
}

.seo-trust-card {
    margin: 1rem 0 2rem;
    border: 1px solid rgb(15 23 42 / 0.12);
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.35rem;
}

.seo-trust-card-title {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.seo-trust-card ul {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.seo-inline-cta {
    margin: 2.4rem 0 2rem;
    padding: 1.6rem;
    background: #0f172a;
    color: #fff;
    border-radius: var(--radius-sm);
}

.seo-inline-cta h2,
.seo-inline-cta p {
    color: #fff;
    margin-right: 0;
}

.seo-inline-cta h2 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.seo-inline-cta p {
    margin: 0 0 1rem;
    font-size: 1rem;
}

.seo-inline-cta .button {
    box-shadow: none;
}

@media (max-width: 900px) {
    .seo-trust-strip {
        grid-template-columns: 1fr;
    }

    .seo-cta-cluster {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-primary-offer {
        margin-top: 1rem;
    }

    .hero-primary-offer-button {
        width: 100%;
        text-align: center;
    }

    .single .single-readability-layout p,
    .single .single-readability-layout li {
        font-size: 1.02rem;
    }
}