/* ==========================================================================
   TrustDealer V2 Stylesheet - Corporate Light Theme
   ========================================================================== */

/* Modern CSS Reset & Custom Customization */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette (Clean Corporate Light Mode) */
    --bg-base: #f9fafb; /* Soft gray */
    --bg-surface: #ffffff; /* Pure white */
    --bg-surface-hover: #f8fafc;
    --bg-input: #ffffff;
    --color-primary: #1e3a8a; /* Deep Navy blue */
    --color-primary-hover: #172554;
    --color-primary-glow: rgba(30, 58, 138, 0.08);
    --color-accent: #d97706; /* Warm corporate amber/gold */
    --color-accent-glow: rgba(217, 119, 6, 0.08);
    --color-success: #15803d;
    --color-success-bg: #f0fdf4;
    --color-error: #be123c;
    --color-error-bg: #fff1f2;
    
    /* Text Colors */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #64748b; /* Slate 500 */
    --text-light: #ffffff;
    
    /* Borders & Dividers */
    --border-color: #e2e8f0; /* Slate 200 */
    --border-hover: #cbd5e1; /* Slate 300 */
    --border-focus: #3b82f6; /* Blue 500 */
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout Tokens */
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.25s ease-in-out;
    
    /* Widths */
    --container-width: 1120px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    gap: 0.5rem;
    position: relative;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-base);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.725rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #f1f5f9;
    color: #475569;
}

.badge-state {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(3, 105, 161, 0.15);
}

.badge-verified {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(21, 128, 61, 0.15);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.app-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.3rem;
    color: var(--color-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-text .highlight {
    color: #3b82f6; /* Modern electric blue */
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Hero Section & Search Header
   ========================================================================== */
.hero-section {
    padding: 3rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 600px;
}

/* Search Filters Card V2 (Corporate Clean) */
.search-filter-card {
    display: flex;
    gap: 0.75rem;
    max-width: 800px;
}

.search-box {
    display: flex;
    align-items: center;
    flex-grow: 1;
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
    transition: border-color var(--transition-fast);
}

.search-icon {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 0.65rem;
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.search-box:focus-within {
    border-color: var(--color-primary);
    background-color: var(--bg-surface);
}

.filter-box {
    min-width: 180px;
}

.filter-box select {
    width: 100%;
    background-color: var(--bg-base);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    outline: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.9em;
    padding-right: 2.5rem;
    transition: all var(--transition-fast);
}

.filter-box select:focus {
    border-color: var(--color-primary);
    background-color: var(--bg-surface);
}

/* ==========================================================================
   Dealership Section & List Rows Layout
   ========================================================================== */
.dealerships-section {
    padding: 2.5rem 0 4rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* List layout: rows instead of grid */
.dealership-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* List Row Card Layout */
.dealer-row-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), 
                box-shadow var(--transition-fast), 
                border-color var(--transition-fast);
}

.dealer-row-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

/* Left side image */
.dealer-row-img-wrapper {
    width: 280px;
    position: relative;
    flex-shrink: 0;
    background-color: #f1f5f9;
}

.dealer-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center details content */
.dealer-row-body {
    flex-grow: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dealer-row-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.dealer-row-specialty {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dealer-row-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
}

.dealer-row-name:hover {
    color: var(--color-primary-hover);
}

.dealer-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.dealer-row-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-icon {
    margin-right: 0.5rem;
    color: var(--text-muted);
}

/* Right side metrics and CTA button */
.dealer-row-metrics {
    width: 220px;
    flex-shrink: 0;
    border-left: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fafaf9;
}

.row-rating-container {
    text-align: center;
    margin-bottom: 1rem;
}

.row-rating-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.row-rating-stars {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.row-rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Dealer Detail Page (dealer.html)
   ========================================================================== */
.dealer-detail-container {
    padding: 2.5rem 0 4rem;
}

/* Breadcrumbs / Back navigation */
.back-nav {
    margin-bottom: 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.btn-back:hover {
    color: var(--color-primary);
}

/* Detail Profile Layout Grid */
.detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.dealer-main-profile {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.detail-banner-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f1f5f9;
}

.detail-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-profile-body {
    padding: 2rem;
}

.detail-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-dealer-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.detail-specialty-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.detail-address-block {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-address-block .info-item {
    font-size: 0.9rem;
}

.detail-address-block .info-icon {
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Map frame placeholder/styling */
.detail-map-container {
    width: 100%;
    height: 250px;
    background-color: #f1f5f9;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.detail-map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Rating Score Card (Side Column) */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-rating-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.sidebar-rating-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sidebar-rating-large {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.sidebar-rating-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.sidebar-rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Form Container details */
.sidebar-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 85px;
}

/* ==========================================================================
   Reviews section
   ========================================================================== */
.detail-reviews-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-reviews-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Review Card component */
.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast);
}

.review-card:hover {
    border-color: var(--border-hover);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary-glow);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.review-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--color-accent);
    font-size: 0.85rem;
}

.review-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Form Components
   ========================================================================== */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--color-error);
}

.form-group select, 
.form-group input, 
.form-group textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.65rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    outline: none;
    transition: all var(--transition-fast);
}

.form-group select:focus, 
.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

/* Star Rating Selector Component */
.star-rating-selector {
    display: flex;
    gap: 0.35rem;
    font-size: 1.5rem;
}

.star-btn {
    background: none;
    border: none;
    color: #cbd5e1; /* Gray 300 */
    cursor: pointer;
    transition: transform var(--transition-fast), color var(--transition-fast);
    padding: 0;
    line-height: 1;
}

.star-btn:hover {
    transform: scale(1.15);
}

.star-btn.hovered, .star-btn.active {
    color: var(--color-accent);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-size: 0.725rem;
    color: var(--text-muted);
}

/* Errors & Validation UI */
.error-msg {
    font-size: 0.75rem;
    color: var(--color-error);
    display: none;
    margin-top: 0.15rem;
}

.form-group.invalid select,
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--color-error);
    background-color: var(--color-error-bg);
}

.form-group.invalid .error-msg {
    display: block;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-light);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading .btn-spinner {
    display: block;
    position: absolute;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-success);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.25rem;
    width: 350px;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    color: var(--color-success);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: -0.1rem;
}

.toast-text {
    flex-grow: 1;
}

.toast-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.toast-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.app-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2.5rem;
    margin-top: auto;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.copyright {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .sidebar-form-card {
        position: static;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .main-nav {
        gap: 1.25rem;
    }
    
    .search-filter-card {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-box {
        width: 100%;
    }
    
    /* Adapt list row to standard stacked card on mobile */
    .dealer-row-card {
        flex-direction: column;
    }
    
    .dealer-row-img-wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .dealer-row-metrics {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
    }
    
    .row-rating-container {
        text-align: left;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .row-rating-stars {
        margin: 0;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-item {
        align-items: flex-start;
    }
}

/* ==========================================================================
   Editorial Magazine Style
   ========================================================================== */
.detail-editorial-section {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editorial-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
}

/* Elegant Magazine Drop Cap */
.editorial-content::first-letter {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    float: left;
    color: var(--color-primary);
    line-height: 0.8;
    padding-right: 0.65rem;
    padding-top: 0.15rem;
}

/* ==========================================================================
   Magazine Card Hover Animations
   ========================================================================== */
.magazine-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.magazine-card:hover .magazine-img {
    transform: scale(1.05);
}


