/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,400;0,500;1,700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --bg-primary: #fefefe;
    --bg-secondary: #f8f8f8;
    --text-primary: #1a1a1a;
    --text-secondary: #333;
    --text-tertiary: #666;
    --text-quaternary: #999;
    --border-color: #e8e8e8;
    --border-light: #f0f0f0;
    --input-bg: white;
    --input-border: #ccc;
    --accent-blue: #0066FF;
    --accent-blue-hover: #0052CC;
    --accent-orange: #FF6B35;
    --banner-bg: #f0f6ff; 
    --banner-border: #e2e8f0;
    --callout-bg: #f0f6ff;
    --callout-text: #1e3a8a;
    --callout-border: #bfdbfe;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --text-primary: #f0f0f0;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --text-quaternary: #808080;
    --border-color: #333;
    --border-light: #2a2a2a;
    --input-bg: #2a2a2a;
    --input-border: #444;
    --accent-blue: #3399FF;
    --accent-blue-hover: #0066FF;
    --accent-orange: #FF8C42; 
    --banner-bg: #1a1f2e;
    --banner-border: #334155;
    --callout-bg: #1e293b;
    --callout-text: #94a3b8;
    --callout-border: #334155;
}

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

/* Submissions Banner - Static Version */
.submissions-banner {
    background: var(--banner-bg);
    border-top: 1px solid var(--banner-border);
    border-bottom: 1px solid var(--banner-border);
    border-left: none;
    border-right: none;
    padding: 12px 0;
    text-align: center;
}

.banner-content {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.banner-item a {
    color: var(--accent-blue);
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    margin-left: 12px;
    transition: all 0.2s ease;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
}

.banner-item a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    margin-bottom: 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 24px;
    font-weight: normal;
    color: var(--text-primary);
    text-decoration: none;
    font-style: italic;
    letter-spacing: 0.5px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-tertiary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-size: 16px;
}

.nav-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-blue);
}

/* Hero Section - Left-Right Layout */
.hero {
    margin-bottom: 120px;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: center;
}

.hero-cover {
    position: relative;
}

.hero-cover-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(38, 38, 38, 0.15);
}

.hero-cover-text {
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 10px;
}

.hero-cover-subtitle {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text {
    padding-left: 20px;
}

.publication-info {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.publication-info .divider {
    margin: 0 8px;
    color: var(--border-color);
}

.hero h1 {
    font-size: 56px;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
}

.value-proposition .primary {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.value-proposition .secondary {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Enhanced Email Signup - Now in Hero */
.hero-signup {
    margin-top: 30px;
}

.signup-intro {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.signup-benefits {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.email-signup {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid var(--input-border);
    border-radius: 25px;
    background: var(--input-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(38, 38, 38, 0.04);
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    outline: none;
    background: var(--input-bg);
    color: var(--text-primary);
}

.subscribe-btn {
    padding: 15px 25px;
    background: var(--accent-blue);
    color: white;
    border: none;
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscribe-btn:hover {
    background: var(--accent-blue-hover);
}

/* Typography */
.page-title {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 60px;
    line-height: 1.5;
}

/* Issue Preview */
.issue-preview {
    margin: 80px 0;
    padding: 40px 0;
}

.issue-preview h2 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

.issue-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.issue-cover {
    position: sticky;
    top: 100px;
}

.cover-carousel {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(38, 38, 38, 0.15);
}

.cover-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.cover-slide.active {
    opacity: 1;
}

.cover-slide.digital {
    background-image: url('src/allie_sullberg.png');
    background-size: cover;
    background-position: center;
}

.cover-slide.papercut {
    background-image: url('src/isabelle_suen.jpeg');
    background-size: cover;
    background-position: center;
}

.cover-slide.collage {
    background-image: url('src/estee_zales.png');
    background-size: cover;
    background-position: center;
}


.cover-text {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 8px;
    z-index: 1;
    position: relative;
}

.cover-subtitle {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
}

.cover-attribution {
    margin-top: 15px;
    text-align: center;
}

.cover-attribution p {
    font-size: 14px;
    color: var(--text-tertiary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 5px;
}

.cover-attribution a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cover-attribution a:hover {
    opacity: 1;
    text-decoration: underline;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-quaternary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: var(--accent-blue);
}

.cover-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(38, 38, 38, 0.15);
}

.issue-header {
    margin-bottom: 30px;
}

.issue-number {
    font-size: 14px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.issue-theme {
    font-size: 24px;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 15px;
}

.issue-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.articles-preview {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.article-section h4 {
    font-size: 16px;
    font-weight: normal;
    color: var(--accent-orange);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-item {
    margin-bottom: 20px;
}

.article-item:last-child {
    margin-bottom: 0;
}

.article-title {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.article-author {
    font-size: 14px;
    color: var(--text-tertiary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Skeleton Loader Styles */
.skeleton-bar {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, rgba(38, 38, 38, 0.05) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 10.5s infinite;
    border-radius: 4px;
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-bar.title {
    height: 18px;
    width: 80%;
}

.skeleton-bar.author {
    height: 14px;
    width: 45%;
}

.skeleton-bar:last-child {
    margin-bottom: 0;
}

.title-skeleton {
    height: 24px;
    width: 70%;
}

.title-skeleton.medium {
    height: 18px;
    width: 85%;
}

.desc-skeleton {
    width: 100%;
}

.desc-skeleton.short {
    width: 60%;
}

.author-skeleton {
    height: 16px;
    width: 40%;
}

.author-skeleton.small {
    height: 14px;
    width: 35%;
}

.content-skeleton {
    height: 16px;
    width: 90%;
}

.content-skeleton.short {
    width: 65%;
}

@keyframes loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Editorial Mission - Streamlined */
.editorial-mission {
    margin: 80px 0;
    max-width: 700px;
}

.editorial-mission h2 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.mission-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.mission-text p {
    margin-bottom: 20px;
}

.mission-text .highlight {
    color: var(--accent-blue);
    font-style: italic;
}

/* Contributors - Streamlined */
.contributor-section {
    margin: 80px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.contributor-section h2 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.contributor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contributor-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contributor-text p {
    margin-bottom: 20px;
}

.submission-cta {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.submission-cta h4 {
    font-size: 18px;
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.submission-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.submission-cta a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 2px solid var(--accent-blue);
    transition: opacity 0.2s ease;
}

.submission-cta a:hover {
    opacity: 0.7;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal h3 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.modal p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.discord-link:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
}

.modal-footer {
    font-size: 14px;
    color: var(--text-tertiary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.modal-footer button {
    background: none;
    border: none;
    color: var(--text-tertiary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.modal-footer button:hover {
    color: var(--text-primary);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-quaternary);
    font-size: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-left {
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
        font-size: 14px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    body {
        font-size: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-cover {
        order: 1;
        max-width: 240px;
        margin: 0 auto;
    }

    .hero-text {
        order: 2;
        padding-left: 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .value-proposition .primary {
        font-size: 20px;
    }

    .issue-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .issue-cover {
        position: static;
        max-width: 220px;
        margin: 0 auto;
    }

    .contributor-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .email-signup {
        flex-direction: column;
        max-width: 300px;
    }

    .issue-preview h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-cover {
        max-width: 200px;
    }

    .issue-preview {
        margin: 60px 0;
        padding: 40px 0;
    }

    .issue-content {
        gap: 30px;
    }

    .cover-text {
        font-size: 24px;
    }

    .articles-preview {
        gap: 30px;
    }
}

/* Mission Page Specific Styles */
.mission-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.mission-section {
    margin-bottom: 60px;
    line-height: 1.8;
}

.mission-section h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 10px;
}

.mission-section p {
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.mission-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.mission-footer {
    margin-top: 80px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.mission-footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

.mission-footer a:hover {
    text-decoration: underline;
}

/* Updated Sidebar Functionality */
sidebar {
    position: relative;
    display: inline;
    background-color: rgba(255, 107, 53, 0.15);
    color: var(--text-primary);
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

sidebar:hover {
    background-color: rgba(255, 107, 53, 0.25);
}

sidebar::after {
    content: attr(data-content);
    position: fixed;
    left: calc((100vw - 900px) / 2 - 270px); /* Close to left edge of main content */
    top: var(--sidebar-top, 50%);
    background: none;
    border: none;
    box-shadow: none;
    padding: 15px 15px 15px 30px;
    border-radius: 0;
    width: 280px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

sidebar:hover::after {
    opacity: 1;
    visibility: visible;
}

/* When screen is too narrow for side-by-side layout */
@media (max-width: 1280px) {
    sidebar::after {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 5px;
        background: rgb(255, 233, 225); /* Same orange background as highlighted text */
        border: 1px solid rgba(255, 107, 53, 0.3);
        border-radius: 6px;
        padding: 15px 20px;
        width: 300px;
        max-width: calc(100vw - 40px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    sidebar::after {
        width: calc(100vw - 40px);
        left: -10px;
    }
}

/* Quote Styling */
quote {
    display: block;
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-blue);
    margin: 30px 0;
    padding: 25px 30px;
    border-radius: 0 6px 6px 0;
    position: relative;
}

quote::before {
    content: '"';
    font-size: 48px;
    color: var(--accent-blue);
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
    opacity: 0.6;
}

quote::after {
    content: '"';
    font-size: 48px;
    color: var(--accent-blue);
    position: absolute;
    bottom: -10px;
    right: 15px;
    line-height: 1;
    opacity: 0.6;
}

/* Responsive quote styling */
@media (max-width: 768px) {
    quote {
        font-size: 18px;
        padding: 20px 25px;
        margin: 25px 0;
    }
    
    quote::before,
    quote::after {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    quote {
        padding: 15px 20px;
        margin: 20px 0;
    }
}

/* Enhanced Link Styling */

a:not(.logo):not(.nav-links a):not(.banner-item a):not(.discord-link):not(.contact-info a) {
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    padding-right: 16px;
}

a:not(.logo):not(.nav-links a):not(.banner-item a):not(.discord-link):not(.contact-info a):hover {
    color: var(--accent-blue-hover);
    border-bottom-color: var(--accent-blue);
}

/* External link icon using Lucide */
a:not(.logo):not(.nav-links a):not(.banner-item a):not(.discord-link):not(.contact-info a)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3e%3cpolyline points='15,3 21,3 21,9'/%3e%3cline x1='10' y1='14' x2='21' y2='3'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

/* Remove the dark theme specific rule - no longer needed */

/* Email links - no external icon needed */
a[href^="mailto:"]::after {
    display: none;
}

a[href^="mailto:"] {
    padding-right: 0;
}

.inline-submission-cta {
    margin-top: 25px;
    padding: 20px 25px 25px 25px;
    background: rgba(255, 107, 53, 0.08);
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 6px 6px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.inline-submission-cta strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
}

.inline-submission-cta .inline-cta-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border: 1px solid var(--accent-orange);
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s ease;
    background: transparent;
}

.inline-submission-cta .inline-cta-link::after {
    display: none;
}

.inline-submission-cta .inline-cta-link:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

/* Footnote Styling */
footnote {
    display: inline;
    color: var(--accent-blue);
    font-size: 0.85em;
    vertical-align: super;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

footnote::before {
    content: counter(footnote-counter);
    counter-increment: footnote-counter;
}

/* Initialize footnote counter */
body {
    counter-reset: footnote-counter;
}

/* Footnotes section at bottom of page */
.footnotes-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.footnotes-section h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footnotes-section .footnote-item {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    counter-increment: footnote-display-counter;
}

.footnotes-section .footnote-item::before {
    content: counter(footnote-display-counter) ". ";
    color: var(--accent-blue);
    font-weight: 500;
    margin-right: 5px;
}

.footnotes-section {
    counter-reset: footnote-display-counter;
}

/* Enhanced link visibility in footnotes */
.footnotes-section a {
    color: var(--accent-blue) !important;
    text-decoration: underline !important;
    font-weight: 500;
}

.footnotes-section a:hover {
    color: var(--accent-blue-hover) !important;
    text-decoration: underline !important;
}

/* Callout Styling */
callout {
    display: block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--callout-text);
    background: var(--callout-bg);
    margin: 30px 0 30px 20px;
    padding: 25px 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--callout-border);
}

/* Responsive callout styling */
@media (max-width: 768px) {
    callout {
        margin: 25px 0 25px 15px;
        padding: 20px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    callout {
        margin: 20px 0 20px 10px;
        padding: 18px 20px;
        font-size: 15px;
    }
}