/* ==========================================================================
   ShipTesla - Main Stylesheet
   ========================================================================== */

:root {
    /* Semantic Colors - Light Theme */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #6B7280;
    --border-color: #E2E8F0;
    --input-bg: #FFFFFF;
    --input-border: #CBD5E1;
    --overlay-rgb: 255, 255, 255;

    /* Legacy Aliases (to ensure nothing breaks immediately) */
    --clr-primary: #E82127;
    /* Tesla Red */
    --clr-primary-hover: #C81D22;
    --clr-navy: var(--text-primary);
    --clr-navy-light: var(--bg-card-hover);
    --clr-text-main: var(--text-secondary);
    --clr-text-muted: var(--text-muted);
    --clr-bg-light: var(--bg-secondary);
    --clr-white: var(--bg-primary);
    --clr-border: var(--border-color);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing & Sizing */
    --container-max: 1200px;
    --container-px: 20px;
    --section-py: 80px;
    --section-py-sm: 40px;
    --br-sm: 6px;
    --br-md: 12px;
    --br-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 40px -10px rgba(11, 26, 48, 0.08);
}

[data-theme="dark"] {
    /* Semantic Colors - Dark Theme */
    --bg-primary: #0B0C0F;
    --bg-secondary: #111318;
    --bg-card: #17191F;
    --bg-card-hover: #1E2128;
    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #9CA3AF;
    --border-color: #2D313A;
    --input-bg: #111318;
    --input-border: #374151;
    --overlay-rgb: 11, 12, 15;

    /* Ensure old var(--clr-white) maps to card bg in dark mode where applicable,
       but we will manually fix text instances. */
    --clr-white: var(--bg-card);

    /* Shadows - softer for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    margin-top: 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: color 0.2s ease;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--clr-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.max-w-md {
    max-width: 800px;
}

.max-w-lg {
    max-width: 900px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding: var(--section-py) 0;
}

.section-padding-small {
    padding: var(--section-py-sm) 0;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--clr-primary);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.align-center {
    align-items: center;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--br-sm);
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-pill {
    border-radius: 50px;
}

.btn-rounded {
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #FFFFFF;
    border-color: var(--clr-primary);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    border-color: var(--clr-primary-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--clr-border);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-outline-dark {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgb(177 177 177 / 50%);
    backdrop-filter: blur(4px);
}

.btn-outline-dark:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.btn-light-gray {
    background-color: #E5E7EB;
    color: #111827;
}

.btn-light-gray:hover {
    background-color: #D1D5DB;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border-radius: var(--br-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--input-border);
    border-radius: var(--br-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(232, 33, 39, 0.1);
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.subtitle {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    color: #65758B;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    border-top: 1px solid #9CA3AF;
    padding-top: 8px;
}

.section-title {
    font-size: clamp(1.875rem, 5vw, 2.25rem);
    /* text-3xl to 4xl */
    margin-bottom: 15px;
}

.section-desc {
    font-family: 'DM Sans', sans-serif;
    color: #65758B;
    font-size: 14px;
    max-width: 42rem;
    line-height: 1.625;
    margin: 1rem auto 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1400px;
}

.site-branding .custom-logo-link svg {
    display: block;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #4B5563;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 10px 0;
    display: block;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #111827;
}

/* Dropdown */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--clr-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--br-sm);
    border: 1px solid var(--clr-border);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

.main-navigation li:hover>.sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    padding: 8px 20px;
}

.main-navigation .sub-menu a:hover {
    background-color: var(--bg-secondary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    /* Offset for absolute header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-dark-img {
    display: none;
}

[data-theme="dark"] .hero-light-img {
    display: none;
}

[data-theme="dark"] .hero-dark-img {
    display: block;
}

.hero-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--overlay-rgb), 0.35);
    background: linear-gradient(90deg, rgba(var(--overlay-rgb), 0.28) 0%, rgba(var(--overlay-rgb), 0.66) 45%, rgba(var(--overlay-rgb), 0) 100%), linear-gradient(0deg, rgba(var(--overlay-rgb), 1) 0%, rgba(var(--overlay-rgb), 0) 25%);
    transition: background 0.3s ease, background-color 0.3s ease;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

.hero-text-area {
    max-width: 650px;
}

.hero-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 450px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-stats-row {
    display: flex;
    gap: 12px;
}

.hero-stat-box {
    background: #374151;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 130px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-box-val {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-box-label {
    font-size: 0.65rem;
    color: #9CA3AF;
}

.hero-quote-area {
    padding-top: 20px;
}

.dark-quote-card {
    background: #4B5563;
    border-radius: 16px;
    padding: 30px 24px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.dark-quote-header {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #D1D5DB;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 600;
}

.dark-input-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.dark-input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.dark-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-input-content {
    flex: 1;
}

.dark-input-content label {
    font-size: 0.65rem;
    color: #D1D5DB;
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.dark-input-content input,
.dark-input-content select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0;
    width: 100%;
    font-family: var(--font-main);
}

.dark-input-content input:focus,
.dark-input-content select:focus {
    outline: none;
    box-shadow: none;
}

.dark-input-content select option {
    background: #4B5563;
    color: #fff;
}

.dark-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.dark-form-row .half {
    flex: 1;
    margin-bottom: 0;
}

.dark-quote-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-top: 10px;
}

.price-left {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: #D1D5DB;
    margin-bottom: 4px;
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.price-distance {
    font-size: 0.75rem;
    color: #D1D5DB;
    margin-bottom: 4px;
    display: block;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
    border-bottom: 1px solid var(--clr-border);
}

.trust-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
    font-size: 0.875rem;
}

.trust-icon {
    font-size: 1.25rem;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.step-card {
    text-align: center;
    padding: 40px 30px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(232, 33, 39, 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    margin: 0 auto 20px;
}

/* ==========================================================================
   Pricing / Transport Comparison
   ========================================================================== */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.recommended {
    border: 2px solid var(--clr-primary);
    position: relative;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--clr-border);
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
}

.badge-outline {
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
}

.badge-primary {
    background-color: rgba(232, 33, 39, 0.1);
    color: var(--clr-primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex: 1;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check {
    font-weight: bold;
}

.pricing-footer {
    padding-top: 20px;
    border-top: 1px solid var(--clr-border);
}

.price-starting {
    display: block;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-bottom: 5px;
}

.price-val {
    font-size: 2.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--text-primary);
    line-height: 1;
}

.price-val span {
    font-size: 1.25rem;
    vertical-align: top;
    margin-right: 2px;
}

.price-unit {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: var(--fw-regular);
}

/* ==========================================================================
   Features
   ========================================================================== */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   Popular Routes
   ========================================================================== */
.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}

.route-arrow {
    color: var(--clr-primary);
}

.route-stats {
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

.route-stats .stat {
    margin-bottom: 5px;
}

.route-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--clr-border);
}

.est-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.route-price .price-val {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.stars {
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    flex: 1;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.reviewer strong {
    display: block;
    color: var(--text-primary);
}

.reviewer span {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Preparation
   ========================================================================== */
.prep-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.prep-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.prep-content h3 {
    margin-bottom: 10px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion {
    border: 1px solid var(--clr-border);
    border-radius: var(--br-md);
    background-color: var(--clr-white);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--clr-primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .custom-logo-link svg text {
    fill: #FFFFFF;
}

.footer-brand .custom-logo-link svg text:first-child {
    fill: var(--clr-primary);
}

.footer-desc {
    margin-top: 20px;
    font-size: 0.875rem;
}

.widget-title {
    color: #FFFFFF;
    font-size: 1.125rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-widget a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */

.blog-archive {
    position: relative;
    z-index: 10;
}

.blog-grid {
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(232, 33, 39, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.blog-read-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--clr-primary);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-read-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-read-more {
    gap: 8px;
}

/* Single Post */
.single-post .article-content {
    position: relative;
    z-index: 10;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-intro {
    border-left: 4px solid var(--clr-primary);
    padding: 24px;
    background-color: var(--bg-card);
    border-radius: 0 12px 12px 0;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.article-section {
    margin-bottom: 40px;
}

.article-section p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.article-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.article-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--clr-primary);
    border-radius: 50%;
}

.article-card {
    padding: 24px;
    margin-bottom: 24px;
}

.article-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.article-card p {
    margin-bottom: 0;
}

.article-cta {
    margin-top: 50px;
    padding: 40px;
}

.flex-row-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}