/* Dearmindlab - Common Styles */

:root {
    --primary-color: #E07B5D;
    --primary-light: #F0A88C;
    --secondary-color: #7CB342;
    --accent-color: #78909C;
    --background-color: #FFF9F5;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(224, 123, 93, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.language-dropdown-btn:hover {
    background: rgba(224, 123, 93, 0.1);
}

.language-dropdown.open .language-dropdown-btn {
    background: rgba(224, 123, 93, 0.1);
    border-radius: 20px 20px 0 0;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-dropdown.open .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
    text-align: left;
}

.language-option:hover {
    background: rgba(224, 123, 93, 0.1);
}

.language-option.active {
    background: rgba(224, 123, 93, 0.15);
    color: var(--primary-color);
    font-weight: 500;
}

.lang-flag {
    font-size: 1.1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content */
main {
    flex: 1;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Cards */
.categories {
    padding: 4rem 2rem;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.category-tests {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Disabled Category Card */
.category-card.disabled {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.category-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Test List */
.test-list {
    padding: 2rem;
}

.test-list h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.test-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.test-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.test-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 123, 93, 0.1);
    border-radius: 12px;
}

.test-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.test-card-content {
    flex: 1;
    min-width: 0;
}

.test-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.test-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Test Page Styles */
.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.test-header {
    text-align: center;
    margin-bottom: 2rem;
}

.test-header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.test-header p {
    color: var(--text-light);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.question-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Test Intro Screen */
.test-intro-screen {
    padding: 0.5rem 0;
}

.test-intro-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--primary-color);
}

.test-intro-section h2 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.test-intro-section h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.test-intro-section p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.test-intro-desc {
    color: var(--text-color) !important;
    font-size: 1rem !important;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.test-intro-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.test-result-preview-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.test-result-preview-list li {
    padding: 0.4rem 0.75rem;
    background: var(--background-color);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-color);
    border-left: 3px solid var(--primary-light);
}

.test-start-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    text-align: center;
}

/* Test Static Intro (visible without JS) */
.test-static-intro {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.test-static-intro h2 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.test-static-intro p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

.question-number {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.answer-option:hover {
    border-color: var(--primary-color);
    background: rgba(224, 123, 93, 0.05);
}

.answer-option.selected {
    border-color: var(--primary-color);
    background: rgba(224, 123, 93, 0.1);
}

.answer-option input {
    display: none;
}

.answer-option .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #CCC;
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    transition: var(--transition);
}

.answer-option.selected .radio-custom {
    border-color: var(--primary-color);
}

.answer-option.selected .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #C96A4E;
}

.btn-primary:disabled {
    background: #CCC;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Result Page */
.result-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

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

.result-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.result-type {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.result-type-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 179, 66, 0.15);
    border-radius: 50%;
}

.result-type-icon svg {
    width: 28px;
    height: 28px;
    color: var(--secondary-color);
}

.result-introduction {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(224, 123, 93, 0.08);
    border-radius: 8px;
    display: inline-block;
}

.result-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.result-traits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trait-badge {
    padding: 0.5rem 1rem;
    background: rgba(224, 123, 93, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Result Sections */
.result-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.result-section-title.traits-title {
    color: var(--primary-color);
}

.result-section-title.strengths-title {
    color: var(--secondary-color);
}

.result-section-title.weaknesses-title {
    color: var(--accent-color);
}

.result-section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.strength-badge {
    background: rgba(124, 179, 66, 0.1);
    color: var(--secondary-color);
}

.weakness-badge {
    background: rgba(120, 144, 156, 0.1);
    color: var(--accent-color);
}

/* Result Paragraphs */
.result-paragraphs {
    text-align: left;
}

.result-paragraph {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(224, 123, 93, 0.3);
}

.result-section.strengths-title+.result-paragraphs .result-paragraph,
.strengths-title~.result-paragraphs .result-paragraph {
    border-left-color: rgba(124, 179, 66, 0.4);
}

.result-section .weaknesses-title~.result-paragraphs .result-paragraph {
    border-left-color: rgba(120, 144, 156, 0.4);
}

.result-section:has(.strengths-title) .result-paragraph {
    border-left-color: rgba(124, 179, 66, 0.4);
}

.result-section:has(.weaknesses-title) .result-paragraph {
    border-left-color: rgba(120, 144, 156, 0.4);
}

/* Compatibility Section */
.result-compatibility {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(224, 123, 93, 0.05);
    border-radius: var(--border-radius);
}

.compatibility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.compatibility-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.compatibility-value {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compatibility-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compatibility-icon svg {
    width: 18px;
    height: 18px;
}

.best-match .compatibility-value {
    background: rgba(124, 179, 66, 0.15);
    color: var(--secondary-color);
}

.best-match .compatibility-icon svg {
    color: var(--secondary-color);
}

.worst-match .compatibility-value {
    background: rgba(120, 144, 156, 0.15);
    color: var(--accent-color);
}

.worst-match .compatibility-icon svg {
    color: var(--accent-color);
}

/* Clickable compatibility items */
.clickable {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable:hover {
    transform: translateY(-2px);
}

.clickable:active {
    transform: translateY(0);
}

.best-match.clickable:hover .compatibility-value {
    background: rgba(124, 179, 66, 0.25);
    box-shadow: 0 4px 8px rgba(124, 179, 66, 0.15);
}

.worst-match.clickable:hover .compatibility-value {
    background: rgba(120, 144, 156, 0.25);
    box-shadow: 0 4px 8px rgba(120, 144, 156, 0.15);
}

.compatibility-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
    max-width: 300px;
    text-align: center;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Site Introduction */
.site-intro {
    padding: 2rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.site-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.site-intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Language dropdown mobile styles */
    .language-dropdown {
        width: 100%;
    }

    .language-dropdown-btn {
        width: 100%;
        justify-content: center;
    }

    .language-dropdown-menu {
        position: relative;
        top: 0;
        border: 1px solid var(--primary-color);
        border-radius: 12px;
        margin-top: 0.5rem;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transform: none;
    }

    .language-dropdown.open .language-dropdown-menu {
        opacity: 1;
        max-height: 200px;
        visibility: visible;
    }

    .language-dropdown.open .language-dropdown-btn {
        border-radius: 20px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .categories {
        padding: 2rem 1rem;
    }

    .categories h2 {
        font-size: 1.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .test-container {
        padding: 1rem;
    }

    .question-container {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .test-navigation {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .result-card {
        padding: 1.5rem;
    }

    .result-score {
        font-size: 2.5rem;
    }

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

    .result-actions .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading Spinner */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E0E0E0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Column Article Styles */
.article-hero {
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* Default background, override in specific pages if needed */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.article-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 6s ease-in-out infinite;
}

.article-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 24px;
    position: relative;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin: 56px 0 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #334155;
    margin: 40px 0 16px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 24px;
    word-break: keep-all;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 28px;
    color: #475569;
}

.article-content li {
    margin-bottom: 12px;
    padding-left: 6px;
}

.highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 5px solid var(--primary-color);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-box {
    background: #faf5ff;
    border-left: 5px solid #a855f7;
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 12px;
    font-style: italic;
    color: #581c87;
    font-size: 1.2rem;
    line-height: 1.6;
}

.quote-box cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-weight: 600;
    color: #7e22ce;
    font-size: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.article-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.article-tag:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.article-nav a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
}

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

.article-nav a span:last-child {
    font-weight: 600;
    color: #1e293b;
    margin-top: 4px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 640px) {
    .article-hero {
        padding: 60px 20px;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-content {
        font-size: 1.05rem;
    }
}

/* Card Styles for Column Content */
.type-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.type-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}