/**
 * Intermittent Fasting Calculators - Main Stylesheet
 * Inspired by CNET Download, FileHippo & Softonic
 * Developer: Alok Dey (https://alokdey.xyz)
 * Domain: intermittentfastingcalculators.com
 */

/* ==========================================================================
   1. CSS Reset & Variables
   ========================================================================== */
:root {
    --primary: #0284c7;           /* Vibrant Tech Blue */
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #10b981;            /* Healthy Emerald Green */
    --accent-hover: #059669;
    --accent-light: #d1fae5;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;              /* Slate 900 */
    --dark-muted: #1e293b;        /* Slate 800 */
    --border: #e2e8f0;            /* Slate 200 */
    --bg-page: #f8fafc;           /* Slate 50 */
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;        /* Slate 500 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --container-max: 1240px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   2. Ad Placements (Zero CLS - Cumulative Layout Shift Safe)
   ========================================================================== */
.ad-slot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    margin: 24px auto;
    overflow: hidden;
    text-align: center;
}

.ad-leaderboard {
    min-height: 90px;
    max-width: 728px;
    width: 100%;
}

.ad-sidebar {
    min-height: 600px;
    max-width: 300px;
    width: 100%;
}

.ad-in-article {
    min-height: 250px;
    max-width: 100%;
    width: 100%;
    margin: 32px 0;
}

.ad-placeholder {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* ==========================================================================
   3. Header & Navigation (Softonic / CNET Style Tech Portal)
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-weight: 600;
    font-size: 14.5px;
    color: #334155;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.btn-cta-nav {
    background-color: var(--accent);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-cta-nav:hover {
    background-color: var(--accent-hover) !important;
}

/* Mobile Nav Toggle */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease-in-out;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1050;
    display: none;
}

.drawer-backdrop.active {
    display: block;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   4. Breadcrumbs
   ========================================================================== */
.breadcrumbs-nav {
    padding: 16px 0;
    font-size: 13.5px;
    color: var(--text-muted);
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.crumb-separator {
    font-size: 10px;
    color: #94a3b8;
    margin: 0 4px;
}

.crumb-item.active {
    color: #334155;
    font-weight: 600;
}

/* ==========================================================================
   5. Main Portal Grid & Layout
   ========================================================================== */
.page-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding: 32px 0 60px 0;
}

.main-content {
    min-width: 0; /* Fix flex/grid overflow bugs */
}

/* ==========================================================================
   6. CNET / Softonic Style Hero & Featured Software Cards
   ========================================================================== */
.portal-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.portal-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.portal-hero h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.portal-hero p {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 720px;
    line-height: 1.6;
}

/* Primary Promoted Tool Spotlight (FileHippo / CNET Featured Card) */
.featured-spotlight-card {
    background: #ffffff;
    border: 2px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.spotlight-badge {
    position: absolute;
    top: -14px;
    left: 32px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
}

.spotlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.spotlight-info h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.spotlight-info p {
    color: var(--text-muted);
    font-size: 15.5px;
    max-width: 600px;
    margin-bottom: 18px;
}

.spotlight-meta-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-pill {
    background: var(--bg-page);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-launch-tool {
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.btn-launch-tool:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Software Hub Grid (Softonic App Cards Style) */
.section-heading-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tools-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.tool-app-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.tool-app-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.app-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.tool-app-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.tool-app-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.app-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tool-app-card:hover .app-card-btn {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   7. Interactive Calculator Interfaces (Tools Engine)
   ========================================================================== */
.calculator-app-shell {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px;
    margin-bottom: 48px;
}

.calc-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.calc-form-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-calculate {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    border: none;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-calculate:hover {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transform: translateY(-1px);
}

/* Result Dashboard Screen */
.calc-results-display {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 320px;
}

.result-metric-large {
    font-size: 44px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    margin: 12px 0 6px 0;
}

.result-caption {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.result-breakdown-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.result-breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
}

.result-breakdown-item strong {
    color: var(--dark);
}

/* Fasting Timer Clock Canvas */
.timer-radial-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 20px auto;
}

.timer-time-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-mono);
}

/* ==========================================================================
   8. Article Typography & Rank Math Long-Form Elements (2000+ Words)
   ========================================================================== */
.article-entry {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-meta-bar a {
    color: inherit;
    font-weight: 600;
}

.article-meta-bar a:hover {
    color: var(--primary);
}

/* Google AI Overviews Quick Answer Box */
.quick-answer-card {
    background: #eff6ff;
    border-left: 5px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px;
    margin: 28px 0;
}

.quick-answer-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-answer-card p {
    font-size: 15.5px;
    color: #1e3a8a;
    line-height: 1.6;
}

/* Key Takeaways Box */
.key-takeaways-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 28px 0;
}

.key-takeaways-box h3 {
    font-size: 18px;
    font-weight: 800;
    color: #166534;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-takeaways-box ul {
    margin-left: 20px;
    color: #14532d;
}

.key-takeaways-box li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Dynamic Table of Contents (TOC) */
.article-toc {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
}

.toc-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-main-item a {
    font-weight: 600;
    color: #334155;
    font-size: 14.5px;
}

.toc-sub-item {
    margin-left: 20px;
}

.toc-sub-item a {
    color: var(--text-muted);
    font-size: 14px;
}

.toc-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Article Body Elements */
.article-content {
    font-size: 17px;
    color: #334155;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin: 44px 0 18px 0;
    line-height: 1.3;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 32px 0 14px 0;
}

.article-content p {
    margin-bottom: 22px;
}

.article-content ul, .article-content ol {
    margin: 0 0 24px 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 20px 24px;
    margin: 28px 0;
    font-style: italic;
    color: #475569;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Responsive Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 32px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}

.styled-table thead tr {
    background-color: #0f172a;
    color: #ffffff;
}

.styled-table th, .styled-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.styled-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* ImageRouter Visual Container */
.article-featured-visual {
    margin: 32px 0;
    text-align: center;
}

.responsive-article-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.article-featured-visual figcaption {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* FAQ Accordion Styling */
.faqs-container {
    margin: 48px 0 24px 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
}

.faq-question {
    padding: 18px 22px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--dark);
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   9. Comments Engine
   ========================================================================== */
.comments-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 48px;
}

.comments-thread-level {
    list-style: none;
    margin: 24px 0;
}

.depth-1 { margin-left: 36px; }
.depth-2 { margin-left: 72px; }

.comment-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    border-radius: 50%;
}

.comment-author {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--dark);
}

.comment-date {
    font-size: 12.5px;
    color: var(--text-muted);
}

.btn-reply {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    padding: 4px 8px;
}

/* ==========================================================================
   10. Sidebar & Widgets
   ========================================================================== */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.widget-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-links-list a {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-links-list a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* Sticky Sidebar Ad */
.sidebar-sticky-ad {
    position: sticky;
    top: 90px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 32px 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand h4 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-brand p {
    line-height: 1.6;
    max-width: 340px;
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom-bar {
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.dev-credit a {
    color: #38bdf8;
    font-weight: 600;
}

/* ==========================================================================
   12. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .page-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-nav {
        display: none;
    }
    .mobile-toggle-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .calc-grid-layout {
        grid-template-columns: 1fr;
    }
    .spotlight-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-launch-tool {
        width: 100%;
        justify-content: center;
    }
    .article-entry {
        padding: 24px;
    }
    .article-title {
        font-size: 26px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}