/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C81E1E;
    --navigation-blue: #1E40AF;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #f5f5f5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-blue: 0 4px 12px rgba(30, 64, 175, 0.3);
}

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Red Header */
.site-header {
    position: sticky;
    top: 0;
    background: var(--primary-red);
    padding: 14px 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Red Search Strip */
.hero-section {
    background: var(--primary-red);
    color: var(--white);
    padding: 40px 16px;
    text-align: center;
}

.hero-section h1 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-section .subtext {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 24px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    outline: none;
    background: var(--white);
    color: var(--black);
}

.search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 20px;
    font-weight: bold;
}

/* Recently Viewed Module */
.recently-viewed {
    background: var(--light-gray);
    padding: 24px 16px;
    margin: 24px 0;
    border-radius: 8px;
}

.recently-viewed h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--black);
}

.recent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.recent-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 25px;
    text-decoration: none;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
}

.recent-link:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Blue Navigation Stack - Pill Shaped Buttons */
.arbitrage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 32px 0;
}

.arbitrage-button {
    background: var(--navigation-blue);
    border: none;
    color: var(--white);
    padding: 18px 32px;
    border-radius: 50px;
    text-align: left;
    font-weight: 700;
    font-size: 17px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.arbitrage-button::after {
    content: "→";
    color: var(--white);
    font-size: 26px;
    font-weight: bold;
    margin-left: 16px;
}

.arbitrage-button:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-blue);
    background: #1e3a8a;
}

/* Section Headers */
.section {
    margin: 48px 0;
}

.section-header {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--black);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-red);
}

/* Job Cards with Red Borders */
.role-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
}

.role-card {
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.role-card:hover {
    box-shadow: 0 6px 16px rgba(200, 30, 30, 0.2);
    transform: translateY(-4px);
    border-width: 3px;
}

.role-card h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 12px;
    font-weight: 700;
}

.role-card .salary {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.role-card .description {
    font-size: 15px;
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.role-card .view-details {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
}

.role-card .view-details:hover {
    background: #a01818;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

/* Chips - Cities, Experience */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.chip {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--navigation-blue);
    border-radius: 25px;
    font-size: 14px;
    color: var(--navigation-blue);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

.chip:hover {
    background: var(--navigation-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* People Also Explore */
.explore-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
}

.explore-link {
    display: flex;
    padding: 16px 24px;
    background: var(--white);
    border: 2px solid var(--navigation-blue);
    border-radius: 50px;
    text-decoration: none;
    color: var(--navigation-blue);
    font-weight: 700;
    transition: all 0.2s;
    justify-content: space-between;
    align-items: center;
}

.explore-link::after {
    content: "→";
    font-weight: bold;
    font-size: 20px;
}

.explore-link:hover {
    background: var(--navigation-blue);
    color: var(--white);
    transform: translateX(6px);
    box-shadow: var(--shadow-blue);
}

/* Compare Roles Block */
.compare-roles {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 12px;
    margin: 32px 0;
    border: 2px solid var(--primary-red);
}

.compare-roles h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-red);
    font-weight: 700;
}

.compare-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.compare-cta {
    display: block;
    padding: 14px 24px;
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.compare-cta:hover {
    background: #a01818;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

/* Next Recommended Strip */
.next-recommended {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
}

.next-recommended h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--black);
    font-weight: 700;
}

.recommended-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.recommended-link {
    display: block;
    padding: 14px 24px;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 700;
    transition: all 0.2s;
    text-align: center;
}

.recommended-link:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

/* Content Section - Long-form content at bottom */
.content-section {
    margin: 48px 0;
    padding: 32px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--black);
    font-weight: 700;
}

.content-section h3 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--primary-red);
    font-weight: 700;
}

.content-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--black);
}

.content-section ul, .content-section ol {
    margin: 16px 0 16px 24px;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background: var(--primary-red);
    padding: 40px 16px;
    margin-top: 64px;
    color: var(--white);
}

.footer-section {
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Responsive Design - Tablet (768px+) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 42px;
    }

    .arbitrage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .role-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-ctas {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommended-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 48px;
    }

    .arbitrage-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 32px auto;
    }

    .role-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .explore-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-ctas {
        grid-template-columns: repeat(3, 1fr);
    }

    .recommended-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .role-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .recommended-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Hidden class for search filtering */
.hidden {
    display: none !important;
}

/* Infinite Scroll Animations */
.infinite-scroll-divider {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth appearance for dynamically loaded content */
main.container > .section {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Application Form Styles */
.application-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.application-form-section h2 {
    color: var(--primary-red);
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}

.application-form-section .form-subtext {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navigation-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit-btn {
    background: var(--primary-red);
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.form-submit-btn:hover {
    background: #a01818;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(200, 30, 30, 0.3);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 24px;
    }
    
    .application-form-section {
        padding: 40px 16px;
    }
}

/* Salary Comparison Table Section */
.salary-comparison-section {
    background: linear-gradient(135deg, #1E40AF 0%, #1e3a8a 100%);
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
    position: relative;
    overflow: hidden;
}

.salary-comparison-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.salary-comparison-section h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.salary-comparison-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.salary-table-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.salary-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.salary-table thead {
    background: linear-gradient(135deg, #C81E1E 0%, #a01818 100%);
}

.salary-table thead th {
    color: white;
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salary-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.salary-table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.salary-table tbody tr:last-child {
    border-bottom: none;
}

.salary-table tbody td {
    padding: 20px 16px;
    font-size: 15px;
    color: #1f2937;
}

.salary-table tbody td:first-child {
    font-weight: 600;
    color: #1E40AF;
}

.salary-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    font-weight: 700;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    font-size: 16px;
}

.salary-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
}

.salary-badge.high {
    background: #dcfce7;
    color: #166534;
}

.salary-badge.medium {
    background: #dbeafe;
    color: #1e40af;
}

.salary-badge.entry {
    background: #f3e8ff;
    color: #6b21a8;
}

.salary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.salary-action-btn {
    background: white;
    color: #1E40AF;
    padding: 14px 28px;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.salary-action-btn:hover {
    background: #1E40AF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.salary-action-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.salary-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

.salary-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 24px;
    font-style: italic;
}

@media (max-width: 768px) {
    .salary-comparison-section {
        padding: 40px 16px;
        margin: 40px -16px;
        border-radius: 0;
    }

    .salary-comparison-section h2 {
        font-size: 24px;
    }

    .salary-table {
        font-size: 14px;
    }

    .salary-table thead th,
    .salary-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .salary-table thead th {
        font-size: 12px;
    }

    .salary-highlight {
        font-size: 14px;
        padding: 4px 8px;
    }

    .salary-actions {
        flex-direction: column;
    }

    .salary-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   AD SLOT — placeholder for ad codes. Replace inner HTML
   comment with your <ins> / <script> ad markup.
   ============================================================ */
.ad-slot {
    margin: 28px auto;
    max-width: 970px;
    min-height: 90px;
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 100%);
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ad-slot__hint {
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.ad-slot--inline {
    margin: 24px auto;
}

.ad-slot--sidebar {
    min-height: 250px;
    max-width: 320px;
}

/* When an ad gets injected, the dashed outline becomes visually noisy.
   Hide hint as soon as a real ad iframe shows up. */
.ad-slot:has(iframe),
.ad-slot:has(ins) {
    border-style: solid;
    border-color: transparent;
    background: transparent;
}
.ad-slot:has(iframe) .ad-slot__hint,
.ad-slot:has(ins) .ad-slot__hint {
    display: none;
}

/* ============================================================
   TRENDING TICKER STRIP — high-engagement scroller under header
   ============================================================ */
.trending-strip {
    background: linear-gradient(90deg, #fff7ed 0%, #fef3c7 50%, #fff7ed 100%);
    border-bottom: 1px solid #fde68a;
    padding: 10px 0;
    overflow: hidden;
}
.trending-strip__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.trending-strip__badge {
    flex-shrink: 0;
    background: var(--primary-red);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}
.trending-strip__track {
    display: flex;
    gap: 28px;
    animation: marquee 32s linear infinite;
    white-space: nowrap;
}
.trending-strip:hover .trending-strip__track {
    animation-play-state: paused;
}
.trending-strip__item {
    color: #92400e;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.trending-strip__item:hover { color: var(--primary-red); }
.trending-strip__item span { margin-left: 6px; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   STATS BANNER — credibility hits right under hero
   ============================================================ */
.stats-banner {
    background: #ffffff;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: center;
}
.stat-card {
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 1px solid #fecaca;
}
.stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1.1;
}
.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .stat-num { font-size: 28px; }
}

/* ============================================================
   HIGHLIGHT CTA — vivid mid-page card to capture attention
   ============================================================ */
.highlight-cta {
    margin: 36px 0;
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1E40AF 0%, #5b21b6 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.25);
}
.highlight-cta h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}
.highlight-cta p {
    font-size: 15px;
    opacity: 0.9;
}
.highlight-cta__btn {
    align-self: flex-start;
    background: #fff;
    color: #1E40AF;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    font-size: 14px;
}
.highlight-cta__btn:hover { transform: translateY(-2px); }
@media (min-width: 768px) {
    .highlight-cta { flex-direction: row; align-items: center; padding: 32px; }
    .highlight-cta__copy { flex: 1; }
}

/* ============================================================
   FACT GRID — bite-size info cards (drives dwell + clicks)
   ============================================================ */
.fact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}
.fact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    border-color: #fecaca;
}
.fact-card__icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}
.fact-card__title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: #111827;
}
.fact-card__value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 4px;
}
.fact-card__sub {
    font-size: 13px;
    color: #6b7280;
}
@media (min-width: 768px) {
    .fact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    padding: 14px 0;
    font-size: 13px;
    color: #6b7280;
}
.breadcrumbs a {
    color: var(--navigation-blue);
    text-decoration: none;
    margin-right: 6px;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin-right: 6px; }

/* ============================================================
   "PEOPLE ALSO SEARCHED" — low-friction internal link cloud
   ============================================================ */
.also-searched {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    border-left: 4px solid var(--primary-red);
}
.also-searched h3 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #111827;
}
.also-searched__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.also-searched__cloud a {
    display: inline-block;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.also-searched__cloud a:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section { margin: 36px 0; }
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 700;
    color: #111827;
    list-style: none;
    position: relative;
    padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--primary-red);
    font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: #fef2f2; }
.faq-item p { padding: 0 20px 18px; color: #374151; line-height: 1.7; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    z-index: 999;
    display: flex;
    justify-content: center;
}
.sticky-cta__btn {
    background: var(--primary-red);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(200,30,30,0.35);
    transition: transform 0.2s;
    font-size: 14px;
}
.sticky-cta__btn:hover { transform: scale(1.04); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 70px; } }

/* ============================================================
   PILL TAG (NEW / HOT badges)
   ============================================================ */
.pill-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
}
.pill-tag--new { background: #dcfce7; color: #166534; }
.pill-tag--hot { background: #fee2e2; color: #991b1b; }
.pill-tag--top { background: #fef3c7; color: #854d0e; }

/* ============================================================
   GUIDE / ARTICLE BODY
   ============================================================ */
.guide-body {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 24px 0;
}
.guide-body h2 {
    font-size: 24px;
    margin: 28px 0 12px;
    color: #111827;
    border-left: 4px solid var(--primary-red);
    padding-left: 12px;
}
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 {
    font-size: 18px;
    margin: 20px 0 8px;
    color: var(--navigation-blue);
}
.guide-body p { margin-bottom: 14px; line-height: 1.75; color: #1f2937; }
.guide-body ul, .guide-body ol { margin: 10px 0 18px 24px; line-height: 1.8; }
.guide-body li { margin-bottom: 6px; }
.guide-body blockquote {
    border-left: 4px solid #fde68a;
    background: #fffbeb;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 18px 0;
    font-style: italic;
    color: #78350f;
}
.guide-body strong { color: var(--primary-red); }

/* ============================================================
   POSTING / TOP-LIST CARDS — clickable rows
   ============================================================ */
.list-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
}
.list-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--primary-red);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.list-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-left-width: 6px;
}
.list-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}
.list-card__meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.list-card__meta span {
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 999px;
}
.list-card__meta .salary {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}

/* ============================================================
   HERO ENHANCEMENTS — bigger, more clickable
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #C81E1E 0%, #7c1d1d 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 35%);
    pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section .hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

