.footer-link {
    color: var(--primary-color);
}

/* Privacy Page Headers */
.privacy-title {
    color: var(--text-structural);
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 1.2em;
    font-size: 2.2em;
    border-bottom: 3px solid #128C34;
    padding-bottom: 0.3em;
    letter-spacing: 0.01em;
}

.privacy-subtitle {
    color: var(--text-structural);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.6em;
}

[data-theme="dark"] .privacy-title,
[data-theme="dark"] .privacy-subtitle {
    color: var(--color-focus);
}

/* --- Refactored from index.html: Built for the Modern Digital Desk block and feature cards --- */
.modern-block {
    text-align: center;
    margin-bottom: 50px;
    padding: 25px;
    border-top: 3px solid #128C34;
    border-bottom: 3px solid #128C34;
    background-color: var(--card-bg);
}

.modern-block h2 {
    color: var(--text-structural);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.modern-block p {
    font-size: 1.1em;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.modern-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.modern-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 52, 89, 0.04);
    padding: 18px 16px;
    width: 30%;
    border: 1.5px solid #128C34;
}

.modern-card span {
    font-size: 1.7em;
    color: #00b894;
}

.modern-card-title {
    font-weight: bold;
    color: var(--text-structural);
    font-size: 1.1em;
    margin-top: 10px;
}

.modern-card-desc {
    color: var(--text-color);
    font-size: 0.98em;
    margin-top: 8px;
}

/* --- Refactored from index.html: Featured Productivity Tips block and cards --- */
.tips-block {
    margin-bottom: 60px;
}

.tips-block h2 {
    color: var(--text-structural);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.tips-flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.tips-card {
    text-decoration: none;
    color: inherit;
    width: 33%;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 15px;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tips-card h4 {
    color: var(--text-structural);
    margin-top: 0;
}

.tips-card p {
    font-size: 0.9em;
    color: var(--text-color);
}

/* --- Refactored from index.html main content inline styles --- */
.main-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.feature-block {
    text-align: center;
    margin-bottom: 50px;
    padding: 25px;
    border-top: 3px solid #128C34;
    border-bottom: 3px solid #128C34;
    background-color: var(--card-bg);
}

.feature-block h2 {
    color: var(--text-structural);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.feature-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
}

.feature-step {
    width: 30%;
}

.feature-step h3 {
    color: #008080;
    font-size: 1.4em;
}

.feature-step p {
    color: var(--text-color);
}

/* --- Refactored from index.html header inline styles --- */
.brand-title.custom-header {
    color: #003459;
    text-align: center;
    margin-bottom: 0.3em;
    font-size: 2.2em;
    border-bottom: 3px solid #128C34;
    padding-bottom: 0.3em;
    letter-spacing: 0.01em;
}

.brand-title-link {
    color: inherit;
    text-decoration: none;
}

.tagline.custom-header {
    text-align: center;
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1.2em;
}

footer.site-footer nav a,
footer.site-footer nav a:visited,
footer.site-footer nav a:active,
footer.site-footer nav a:focus {
    color: var(--primary-color);
}

#timer-display.timer-active {
    text-shadow: 0 0 12px #128C34, 0 0 2px #128C34;
    background: rgba(125, 220, 182, 0.08);
    border-radius: 10px;
    transition: box-shadow 0.2s, background 0.2s;
}

@keyframes timerGlow {
    0% {
        box-shadow: 0 0 16px 2px #FFC50099, 0 0 0 0 #128C34;
        text-shadow: 0 0 8px #FFC500, 0 0 2px #003459;
    }

    100% {
        box-shadow: 0 0 32px 8px #FFC500cc, 0 0 8px 2px #128C34;
        text-shadow: 0 0 16px #FFC500, 0 0 4px #003459;
    }
}

/* Additional styles can go here */

/* Brand Header Styles */
.brand-header {
    width: 100%;
    background: var(--header-bg);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.04);
    margin: 0 auto 2rem auto;
    max-width: 800px;
    padding-top: 0;
}

.brand-title-area {
    padding: 1.5rem 1rem 0.5rem 1rem;
    text-align: center;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-structural);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #003459;
    display: inline-block;
    padding-bottom: 0.2em;
}

.tagline {
    font-size: 1.1rem;
    color: #128C34;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

:root {
    color-scheme: light;
    --bg-primary: #FFFFFF;
    --text-structural: #003459;
    --color-focus: #128C34;
    --color-focus-text: #128C34;
    /* Accessible Dark Green for Light Mode */
    --color-break: #FFC500;
    --font-timer: 'Roboto Mono', monospace;
    --font-body: 'Roboto', sans-serif;
}

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

/* Global Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #128C34;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}


html,
body {
    height: 100%;
}

body {
    background-color: #F5F9FA;
    color: var(--text-structural);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.container,
main,
.main-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 52, 89, 0.04);
    padding: 2rem 1.2rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-structural);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-structural);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.timer-container {
    margin-bottom: 2rem;
}


#timer-display {
    font-family: 'Roboto', Arial, Helvetica, system-ui, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--color-focus-text);
    word-spacing: 0.2em;
}

#timer-display,
.timer-focus,
.timer-break {
    color: var(--color-focus-text);
}


.presets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.preset-btn {
    font-size: 1.232rem;
    font-weight: 500;
    padding: 1rem 0;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    color: var(--text-structural);
    width: 100%;
    margin: 0 auto;
    display: block;
    white-space: nowrap;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.07);
    transition: transform 0.1s, box-shadow 0.1s;
}

.preset-btn:active,
.preset-btn:focus {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(0, 52, 89, 0.12);
}

.preset-btn {
    background-color: #FFC500;
    border-color: #FFC500;
    color: #003459;
    font-weight: bold;
    font-size: 1.32rem;
    /* 20% bigger than 1.1rem */
}

.preset-btn:active,
.preset-btn:focus {
    background-color: #e6b300;
}

:root {
    --primary-color: #003459;
    --secondary-color: #007EA7;
    --accent-color: #00A8E8;
    --bg-color: #F5F9FA;
    --timer-bg: #ffffff;
    --text-color: #333;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --border-color: #e0e0e0;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #E0F2F1;
    --secondary-color: #80CBC4;
    --accent-color: #4DB6AC;
    --bg-color: #121212;
    --timer-bg: #1E1E1E;
    --text-color: #E0E0E0;
    --card-bg: #1E1E1E;
    --header-bg: #1E1E1E;
    --border-color: #333;
    --text-structural: #E0F2F1;
    --text-structural: #E0F2F1;
    --color-focus-text: #128C34;
    --color-focus: #128C34;
}

/* Specific override for nav links in dark mode to be Teal */
[data-theme="dark"] .nav-link,
[data-theme="dark"] .logo-text,
[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .brand-title {
    color: var(--color-focus-text);
}

/* Specific override for Start/Reset buttons in dark mode to be Black */
body[data-theme="dark"] #start-pause-btn,
body[data-theme="dark"] #reset-btn {
    color: #000000;
}

/* FORCE footer link colors in dark mode - light teal for consistency */
[data-theme="dark"] footer.site-footer nav a,
[data-theme="dark"] footer.site-footer nav a:link,
[data-theme="dark"] footer.site-footer nav a:visited,
[data-theme="dark"] footer.site-footer nav a:active {
    color: #E0F2F1 !important;
}

[data-theme="dark"] footer.site-footer nav a:hover,
[data-theme="dark"] footer.site-footer nav a:focus {
    color: #128C34 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

/* Update existing styles to use variables where appropriate */
.global-header {
    background: var(--header-bg);
    border-bottom: 3px solid #128C34;
    /* Keep brand green */
}

.logo-text {
    color: var(--primary-color);
}

.nav-link {
    color: var(--primary-color);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(125, 220, 182, 0.1);
    color: #128C34;
}

.hero-section h1 {
    color: var(--primary-color);
}

.timer-container {
    /* background: var(--timer-bg); */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    background: transparent;
    box-shadow: none;
}

.timer-focus {
    color: var(--primary-color);
}

.control-btn {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.control-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.social-proof-badge {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: #128C34;
}

.proof-text strong {
    color: var(--primary-color);
}

/* Dark Mode Override for Badge: brand Green Outline */
[data-theme="dark"] .social-proof-badge {
    background: transparent;
    border: 1px solid #128C34;
    color: #128C34;
}

[data-theme="dark"] .proof-text strong {
    color: #128C34;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    color: var(--primary-color);
    transition: transform 0.2s;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}


.controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.control-btn {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 0;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    min-width: 120px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.07);
    transition: transform 0.1s, box-shadow 0.1s;
}

.control-btn:active,
.control-btn:focus {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(0, 52, 89, 0.12);
}

#start-pause-btn {
    background-color: var(--color-focus);
    color: var(--text-structural);
    border: 2px solid var(--color-focus);
}

#start-pause-btn:active {
    background-color: #6bcba4;
}

#reset-btn {
    background-color: #128C34;
    color: #003459;
    border: 2px solid #128C34;
}

#reset-btn:active,
#reset-btn:focus {
    background-color: #6bcba4;
}





.site-footer {
    width: 100%;
    padding: 1rem 0 0.5rem 0;
    font-size: 1rem;
    color: #6c757d;
}

.site-footer p {
    margin-top: 1.5em;
    margin-bottom: 0.2em;
    font-size: 0.98em;
    color: #6c757d;
    letter-spacing: 0.01em;
}


.site-footer nav {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 1rem;
}

/* --- FORCE TEAL FOOTER LINKS --- */
body footer.site-footer nav a,
body footer.site-footer nav a:visited,
body footer.site-footer nav a:active,
body footer.site-footer nav a:focus {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 12px 16px;
    font-weight: bold;
    transition: color 0.15s;
    margin: 0 0.5em;
    display: inline-block;
}

body footer.site-footer nav a:hover,
body footer.site-footer nav a:focus-visible {
    text-decoration: underline;
    color: #FFC500;
}

p,
h1,
h2 {
    margin-bottom: 1.1em;
}




/* Tablet and Desktop Styles */
@media (min-width: 600px) {

    .presets,
    .controls {
        flex-direction: row;
        max-width: 600px;
    }

    .preset-btn,
    .control-btn {
        width: auto;
        min-width: 120px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    #timer-display {
        font-size: 7rem;
    }
}



/* --- Global Header Styles --- */
.global-header {
    width: 100%;
    background: var(--header-bg);
    border-bottom: 3px solid var(--color-focus);
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.05);
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 1.8rem;
}

.logo-icon-img {
    height: 1.8rem;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #003459;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #003459;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: #F5F9FA;
    color: var(--color-focus);
}

.nav-link.active {
    color: #003459;
    background-color: #F5F9FA;
    font-weight: 700;
    border-bottom: 2px solid var(--color-focus);
}

/* Hero Section (Replaces old brand header inside main) */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #003459;
    margin-bottom: 0.2rem;
}

.hero-section .tagline {
    font-size: 1.1rem;
    color: var(--color-focus);
    font-weight: 500;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #003459;
    color: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: #128C34;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background: var(--color-focus);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-accept:hover {
    background: #5bc9a3;
}

.btn-decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #ccc;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-decline:hover {
    color: white;
    border-color: white;
}

/* Mobile Responsive Header */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Social Proof Badge --- */
.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F5F9FA;
    border: 1px solid #128C34;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #003459;
    box-shadow: 0 2px 4px rgba(0, 52, 89, 0.05);
}

.proof-icon {
    font-size: 1.1rem;
}

.proof-text strong {
    color: #003459;
    font-weight: 800;
}

/* --- Unified Blog Styles (Refactored) --- */

/* Typography */
.blog-post-title {
    color: var(--text-structural);
    font-size: 2.2rem;
    font-weight: 800;
    border-bottom: 2px dashed #128C34;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
    letter-spacing: 0.01em;
}

.blog-article-meta {
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-article-meta time {
    font-weight: 500;
}


.blog-section-title {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #128C34;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-section-title-highlight {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #FFC500;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-subsection-title {
    color: var(--text-structural);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    border-left: 5px solid #128C34;
    padding-left: 0.7em;
    background: var(--card-bg);
}

.blog-text {
    color: var(--text-structural);
    font-size: 1.08rem;
    margin-bottom: 1.2em;
    line-height: 1.8;
}

.blog-text-intro {
    color: var(--text-structural);
    font-size: 1.1rem;
    margin-bottom: 1.3em;
    line-height: 1.8;
}

/* Article card wrapper with brand accent borders */
.blog-card {
    background: var(--card-bg);
    border-top: 3px solid #128C34;
    border-bottom: 3px solid #128C34;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 52, 89, 0.07);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.blog-card-highlight {
    background: var(--card-bg);
    border: 2px solid #003459;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.blog-list-container {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1em 1.5em;
    margin: 1.2em 0;
}

.blog-toc {
    background: var(--card-bg);
    border: 1px solid #128C34;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.blog-toc h3 {
    color: var(--text-structural);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #128C34;
    padding-bottom: 0.5rem;
}

.blog-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc li {
    margin-bottom: 0.8rem;
}

.blog-toc a {
    color: var(--text-structural);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.blog-toc span {
    color: #128C34;
    margin-right: 0.5rem;
}

.blog-cta-box {
    background: linear-gradient(135deg, #003459 0%, #004f73 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.blog-cta-title {
    color: #128C34;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.blog-cta-button {
    display: inline-block;
    background: #128C34;
    color: var(--text-structural);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.blog-separator {
    border: none;
    border-top: 2px dashed #128C34;
    margin: 2.2em 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.blog-related-card {
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    display: block;
}

.blog-related-card:hover {
    transform: translateY(-3px);
}

.blog-related-title {
    color: var(--text-structural);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.blog-related-desc {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.blog-hero-container {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-visual-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.blog-quote-box {
    background: var(--card-bg);
    border-left: 4px solid #003459;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    font-family: monospace;
    color: var(--text-structural);
}

.blog-section-title-dark {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #003459;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-card-highlight-teal {
    background: var(--card-bg);
    border: 2px solid #128C34;
    border-radius: 12px;
    padding: 1.5rem;
}

.blog-list-simple {
    padding-left: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.blog-section-title-alert {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #e74c3c;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-subsection-title-alert {
    color: #c0392b;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-table-header {
    background: #003459;
    color: white;
    padding: 1rem;
    text-align: left;
}

.blog-table-cell {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-subsection-title-orange {
    color: #e67e22;
    margin-top: 0;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.blog-subsection-title-green {
    color: #27ae60;
    margin-top: 0;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.blog-subsection-title-purple {
    color: #8e44ad;
    margin-top: 0;
    border-bottom: 2px solid #8e44ad;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.blog-quote-box-teal {
    border-left: 5px solid #128C34;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    background: var(--card-bg);
    padding: 15px;
    color: var(--text-structural);
}

.blog-card-highlight-yellow {
    background: var(--card-bg);
    border: 2px solid #FFC500;
    border-radius: 12px;
    padding: 1.5rem;
}

.blog-card-dashed-teal {
    background: var(--card-bg);
    border: 2px dashed #128C34;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.blog-card-highlight-blue {
    background: var(--card-bg);
    border: 2px solid #003459;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.blog-list-box {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1em 1.5em;
    margin: 1.2em 0;
}

.blog-section-title-yellow {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #FFC500;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-section-title-teal {
    color: var(--text-structural);
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 1em;
    border-left: 5px solid #128C34;
    padding-left: 0.7em;
    background: var(--card-bg);
    padding: 0.75rem 0 0.75rem 1rem;
}

.blog-card-border-left-blue {
    background: var(--card-bg);
    border-left: 4px solid #003459;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.06);
    margin-bottom: 1.5rem;
}

.blog-card-border-left-teal {
    background: var(--card-bg);
    border-left: 4px solid #128C34;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.06);
    margin-bottom: 1.5rem;
}

.blog-card-border-left-yellow {
    background: var(--card-bg);
    border-left: 4px solid #FFC500;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.06);
    margin-bottom: 1.5rem;
}

.blog-cta-gradient {
    background: linear-gradient(135deg, #003459 0%, #004f73 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.blog-cta-button {
    display: inline-block;
    background: #128C34;
    color: var(--text-structural);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.blog-toc-box {
    background: var(--card-bg);
    border: 1px solid #128C34;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.blog-section-title {
    color: var(--text-structural);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 700;
}

.blog-list-numbered {
    list-style-type: decimal;
    margin-left: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-color);
}

.blog-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.blog-list-disc {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* --- New Utility Classes for Blog Refactoring --- */

/* Main container standardization */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Numbered badge for step indicators */
.blog-numbered-badge {
    background: #128C34;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

.blog-numbered-badge-yellow {
    background: #FFC500;
    color: var(--text-structural);
}

/* Flex container for numbered items */
.blog-subsection-numbered {
    color: var(--text-structural);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

/* Content blocks with margins */
.blog-content-block {
    margin-bottom: 2rem;
}

/* TOC link styling */
.blog-toc-link {
    display: block;
    color: var(--text-structural);
    text-decoration: none;
    padding: 0.6rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.8rem;
    transition: all 0.2s;
}

.blog-toc-link:hover {
    border-left-color: #128C34;
    background: rgba(125, 220, 182, 0.05);
}

/* TOC title centered */
.blog-toc-title {
    color: var(--text-structural);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
    text-align: center;
}

/* TOC navigation container */
.blog-toc-nav {
    columns: 1;
    column-gap: 2rem;
}

/* Small text for callouts */
.blog-text-small {
    color: var(--text-structural);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Medium paragraph text */
.blog-text-medium {
    color: var(--text-structural);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Subsection title variations */
.blog-subsection-title-medium {
    color: var(--text-structural);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.blog-subsection-title-large {
    color: var(--text-structural);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- Mobile Spacing Fixes (Stacked Cards) --- */
@media (max-width: 600px) {

    .modern-flex,
    .tips-flex,
    .feature-flex {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .modern-card,
    .tips-card,
    .feature-step {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Ensure images or content inside don't overflow */
    .tips-card h4,
    .modern-card-title {
        font-size: 1.2rem;
    }
}

/* AdSense Trust Signals */
.contact-address {
    background: var(--card-bg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-address h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-structural);
}

.contact-address p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* --- FAQ Section Styles --- */
.faq-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 25px;
    border-top: 3px solid #128C34;
    border-bottom: 3px solid #128C34;
    background-color: var(--card-bg);
}

.faq-section h2 {
    color: var(--text-structural);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.faq-section details {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.faq-section details:last-child {
    border-bottom: none;
}

.faq-section summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--text-structural);
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-section summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
    color: var(--color-focus);
    font-size: 1.4em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-section details[open] summary::after {
    transform: rotate(45deg);
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section p {
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 1em;
    padding-left: 0;
    line-height: 1.6;
}

[data-theme="dark"] .faq-section summary {
    color: var(--text-structural);
}

[data-theme="dark"] .faq-section summary::after {
    color: var(--color-focus);
}