/* ---------- PSYCHOLOGY INTRODUCTION ---------- */
.psychology-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.psychology-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 50px 50px;
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: .18;
}

.glow-left {
    top: -150px;
    left: -150px;
    background: var(--primary);
}

.glow-right {
    bottom: -150px;
    right: -150px;
    background: var(--primary-light);
}

.psychology-container {
    position: relative;
    z-index: 1;
    width: min(1200px, 90%);
    margin: auto;
    padding: 60px 0;
}

/* ---------- INTRODUCTION HERO ---------- */
.psychology-hero {
    text-align: center;
    margin-bottom: 70px;
}

.hero-label {
    display: inline-block;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .85rem;
    margin-bottom: 20px;
}

.psychology-hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 760px;
    margin: auto;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ---------- QUICK NAVIGATION ---------- */
.psychology-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 70px;
}

.psychology-navigation a {
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    padding: 12px 22px;
    border-radius: 8px;
    transition: .3s;
    border: 1px solid var(--border-accent);
}

.psychology-navigation a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.psychology-navigation a.active {
    background: var(--primary);
    color: #ffffff;
}

/* ---------- INTRODUCTION SECTIONS ---------- */
.psychology-section {
    margin-bottom: 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 20px;
    font-size: 2rem;
}

/* ---------- INTRODUCTION INTRODUCTION ---------- */
.psychology-introduction {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.psychology-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-muted);
}

.info-box {
    background: var(--surface);
    border-left: 4px solid var(--primary-light);
    padding: 25px;
    border-radius: 8px;
}

.info-box h3 {
    margin-bottom: 15px;
}

/* ---------- INTRODUCTION GRID ---------- */
.psychology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.psychology-info-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.psychology-info-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.card-number {
    color: var(--primary-light);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.psychology-info-card h3 {
    margin-bottom: 15px;
}

.psychology-info-card p {
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------- INTRODUCTION QUOTE ---------- */
.museum-panel {
    background: var(--surface);
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    border-left: 5px solid var(--primary-light);
}

.museum-panel blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text);
}

/* ---------- FUNDIMENTAL PAGE ---------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.split-column {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
}

.split-column h3 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.split-column p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.split-divider {
    width: 2px;
    background: var(--primary);
}

.quote-card {
    background: var(--surface);
    padding: 35px;
    border-left: 5px solid var(--primary-light);
    border-radius: 10px;
    text-align: center;
}

.quote-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
}

.quote-card span {
    color: var(--text-muted);
    font-size: .9rem;
}

/* ---------- FUNDIMENTAL TIMELINES ---------- */
.timeline-introduction {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.development-timeline, .timeline-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.timeline-marker, .timeline-year {
    min-width: 90px;
    padding: 12px;
    text-align: center;
    background: var(--primary);
    border-radius: 8px;
    font-weight: bold;
    color: #ffffff;
}

.timeline-content {
    flex: 1;
    background: var(--surface);
    padding: 25px;
    border-radius: 10px;
}

.timeline-content h3 {
    margin-bottom: 15px;
}

.timeline-content p {
    line-height: 1.8;
    color: var(--text-muted);
}

/* Hide decorative line */
.timeline-line {
    display: none;
}

/* ---------- FUNDIMENTAL BRAIN ---------- */
.brain-information {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 35px;
    border: 1px solid var(--border-accent);
}

.brain-information p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.brain-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.brain-region {
    background: var(--surface);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.brain-region:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.brain-region h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.brain-region p {
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------- PSYCOPATHY & SOCIOPATHY ---------- */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.comparison-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.comparison-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
}

.comparison-card h3 {
    margin: 0;
}

.comparison-card ul {
    padding-left: 20px;
    line-height: 1.8;
}

.comparison-card li {
    margin-bottom: 10px;
}

.myth-warning {
    margin-top: 35px;
    background: var(--surface);
    border-left: 5px solid var(--primary-light);
    padding: 30px;
    border-radius: 10px;
}

.myth-warning h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.myth-warning p {
    line-height: 1.8;
}

/* ---------- PEROSNALITY DISORDER ---------- */
.disorder-grid {
    margin-top: 35px;
}

.disorder-card {
    background: var(--surface);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.disorder-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.disorder-card h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.disorder-card p {
    line-height: 1.8;
    color: var(--text-muted);
}

/* ---------- SERIAL KILLER TYPOLOGIES ---------- */
.typology-grid {
    margin-top: 35px;
}

.typology-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.typology-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.typology-number {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.typology-card h3 {
    margin-bottom: 15px;
}

.typology-card p {
    line-height: 1.8;
    color: var(--text-muted);
}

/* ---------- GENEREAL CARD ---------- */
.psychology-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    margin-bottom: 35px;
}

.psychology-card h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.psychology-card p {
    line-height: 1.8;
    color: var(--text-muted);
}

.psychology-card ul {
    padding-left: 20px;
    line-height: 1.8;
}

.psychology-card li {
    margin-bottom: 10px;
}

/* ---------- MO vs SIGNATURE ---------- */
.comparison-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.comparison-panel {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.comparison-panel:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.comparison-panel h3 {
    color: var(--primary-light);
    margin-bottom: 18px;
}

.comparison-panel p {
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--text-muted);
}

.comparison-panel ul {
    padding-left: 20px;
    line-height: 1.8;
}

.comparison-panel li {
    margin-bottom: 10px;
}

/* ---------- EXPERIMENTS ---------- */
.experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.experiment-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: .3s;
}

.experiment-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.experiment-year {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 18px;
}

.experiment-card h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.experiment-card p {
    line-height: 1.8;
    color: var(--text-muted);
}

.experiment-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-accent);
}

.experiment-footer span {
    display: block;
    color: var(--primary-light);
    font-weight: bold;
    margin-bottom: 8px;
}

.experiment-footer p {
    margin: 0;
    color: var(--text-muted);
}

/* ---------- MYTHS ---------- */
.myth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.flip-card {
    perspective: 1000px;
    height: 420px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    background: var(--surface);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    padding: 30px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.flip-card-front {
    justify-content: space-between;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.card-label {
    display: inline-block;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.myth-label {
    background: var(--primary);
    color: #ffffff;
}

.fact-label {
    background: var(--primary-light);
    color: #ffffff;
}

.flip-card h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
}

.flip-card p {
    line-height: 1.8;
    color: var(--text-muted);
}

.flip-icon {
    margin-top: auto;
    font-size: 1.6rem;
    color: var(--primary-light);
    align-self: flex-end;
}

.myth-card hr {
    border: none;
    border-top: 1px solid var(--border-accent);
    margin: 20px 0;
}

/* ---------- PSYCHOLOGY RESOURCES ---------- */
/* intro */
.psychology-resource-intro {
    text-align: center;
}

.psychology-resource-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.psychology-resource-categories span, .psychology-resource-type {
    display: inline-block;
    padding: 6px 11px;
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* featured resources */
.psychology-featured-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.psychology-featured-resource {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 330px;
    padding: 28px;
    background:
        linear-gradient(
            145deg,
            var(--surface-light),
            var(--surface)
        );
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.psychology-featured-resource::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-light);
}

.psychology-featured-resource:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 0 18px 35px var(--shadow);
}

.featured-resource-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 45px;
}

.featured-resource-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: transform 0.2s ease;
}

.psychology-featured-resource:hover .featured-resource-arrow {
    transform: translate(3px, -3px);
}

.psychology-featured-resource h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.psychology-featured-resource p {
    color: var(--text-muted);
}

.featured-resource-action {
    margin-top: 30px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* research list */
.psychology-resource-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.psychology-resource-row {
    display: grid;
    grid-template-columns: 65px 1fr 40px;
    align-items: center;
    gap: 20px;
    padding: 22px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition:
        background 0.2s ease,
        padding 0.2s ease;
}

.psychology-resource-row:hover {
    padding-left: 20px;
    background: var(--surface-light);
}

.resource-row-number {
    color: var(--primary-light);
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.65;
}

.resource-row-content h3 {
    margin: 8px 0 4px;
}

.resource-row-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.resource-row-arrow {
    color: var(--primary-light);
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.psychology-resource-row:hover .resource-row-arrow {
    transform: translate(4px, -4px);
}

/* bookshelf */
.psychology-book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.psychology-book-card {
    display: grid;
    grid-template-columns: 55px 1fr;
    min-height: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.psychology-book-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.book-spine {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 0;
    background: var(--primary);
    border-right: 1px solid var(--border-accent);
}

.book-spine span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.book-content {
    padding: 24px;
}

.book-content h3 {
    margin: 12px 0 5px;
}

.book-content > p:not(.card-subtitle) {
    margin-top: 15px;
    color: var(--text-muted);
}

/* publications */
.psychology-publication-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.psychology-publication-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.psychology-publication-card:hover {
    transform: translateY(-5px);
    background: var(--surface-light);
    border-color: var(--border-accent);
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 35px;
    color: var(--primary-light);
}

.psychology-publication-card h3 {
    margin-bottom: 12px;
}

.psychology-publication-card p {
    color: var(--text-muted);
}

.publication-source {
    display: block;
    margin-top: auto;
    padding-top: 25px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* normal resource link */
.psychology-resource-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.psychology-resource-link:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

/* ---------- FACTS ---------- */
.fact-grid, .facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.fact-card, .fact-highlight {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: .3s;
}

.fact-card:hover, .fact-highlight:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    font-size: 28px;
    background: rgba(142, 22, 22, 0.2);
    border-radius: 50%;
}

.fact-card h3, .fact-highlight h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.3rem;
}

.fact-card p, .fact-highlight p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 35px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: .3s;
}

.faq-question:hover {
    background: rgba(142, 22, 22, 0.15);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: .3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-answer p {
    padding: 0 26px 22px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 20px;
}

/* ---------- RESPONSIVE DESIGN ---------- */
/* large screen */
@media (min-width: 1441px) {
    /* main layout */
    .psychology-container {
        width: min(1450px, 88%);
        padding: 70px 0;
    }

    /* hero */
    .psychology-hero {
        margin-bottom: 80px;
    }

    .hero-description {
        max-width: 850px;
    }

    /* navigation */
    .psychology-navigation {
        gap: 18px;
        margin-bottom: 80px;
    }

    /* sections */
    .psychology-section {
        margin-bottom: 90px;
    }

    /* grids */
    .psychology-grid, .brain-region-grid, .comparison-grid,
    .comparison-large, .experiment-grid, .myth-grid, .fact-grid, .facts-grid {
        gap: 30px;
    }

    .psychology-featured-resources,
    .psychology-publication-grid {
        grid-template-columns: 1fr 1fr;
    }

    .psychology-featured-resource:last-child,
    .psychology-publication-card:last-child {
        grid-column: 1 / -1;
    }
}

/* mobile */
@media (max-width: 768px) {
    /* main layout */
    .psychology-container {
        width: 92%;
        padding: 40px 0;
    }

    /* hero */
    .psychology-hero {
        margin-bottom: 3rem;
    }

    .psychology-hero h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-label {
        font-size: 0.8rem;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.7;
    }

    /* navigation */
    .psychology-navigation {
        gap: .75rem;
        margin-bottom: 3rem;
    }

    .psychology-navigation a {
        padding: .7rem 1rem;
        font-size: .85rem;
    }

    /* sections */
    .psychology-section {
        margin-bottom: 3.5rem;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-tag {
        font-size: .75rem;
    }

    /* introduction */
    .psychology-introduction {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .psychology-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .info-box {
        padding: 1.25rem;
    }

    /* basic cards */
    .psychology-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .psychology-info-card {
        padding: 1.25rem;
    }

    .museum-panel {
        padding: 1.5rem;
    }

    /* split layout */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .split-column {
        padding: 1.25rem;
    }

    .split-divider {
        width: 100%;
        height: 1px;
        margin: .5rem 0;
    }

    /* quotes */
    .quote-card {
        padding: 1.5rem;
    }

    .quote-card blockquote {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* development timeline */
    .timeline-introduction {
        margin-bottom: 2rem;
    }

    .development-timeline {
        margin-top: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: .75rem;
    }

    .timeline-marker {
        width: 100%;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-content {
        width: 100%;
        padding: 1.25rem;
    }

    /* brain regions */
    .brain-information {
        margin-bottom: 2rem;
    }

    .brain-region-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .brain-region {
        padding: 1.25rem;
    }

    /* comparison cards */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-card {
        padding: 1.25rem;
    }

    .comparison-header {
        gap: .75rem;
    }

    .comparison-number {
        flex-shrink: 0;
    }

    /* large comparisons */
    .comparison-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-panel {
        padding: 1.25rem;
    }

    /* warning box */
    .myth-warning {
        padding: 1.25rem;
    }
    
    /* disorders */
    .disorder-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .disorder-card {
        padding: 1.25rem;
    }

    /* typologies */
    .typology-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .typology-card {
        padding: 1.25rem;
    }

    /* psychology cards */
    .psychology-card {
        padding: 1.25rem;
    }

    /* experiments */
    .experiment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experiment-card {
        padding: 1.25rem;
    }

    /* myth flip cards */
    .myth-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .flip-card {
        width: 100%;
        height: 380px;
    }

    .flip-card-front, .flip-card-back {
        padding: 1.5rem;
    }

    /* resources */
    .psychology-featured-resources,
    .psychology-publication-grid,
    .psychology-book-grid {
        grid-template-columns: 1fr;
    }

    .psychology-featured-resource:last-child,
    .psychology-publication-card:last-child {
        grid-column: auto;
    }

    .psychology-resource-row {
        grid-template-columns: 45px 1fr 25px;
        gap: 10px;
    }

    .psychology-book-card {
        grid-template-columns: 42px 1fr;
    }

    /* facts */
    .fact-grid, .facts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .fact-card {
        padding: 1.25rem;
    }

    .fact-highlight {
        padding: 1.25rem;
    }

    /* faq */
    .faq-container {
        width: 100%;
    }

    .faq-item {
        width: 100%;
    }

    .faq-question {
        gap: 1rem;
        padding: 1.25rem;
        text-align: left;
    }

    .faq-answer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .faq-answer.active {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .psychology-container {
        width: 94%;
        padding: 30px 0;
    }

    .psychology-hero h1 {
        font-size: 1.9rem;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .psychology-navigation {
        gap: .5rem;
    }

    .psychology-navigation a {
        padding: .6rem .8rem;
        font-size: .8rem;
    }

    .museum-panel, .psychology-info-card, .split-column, .timeline-content,
    .brain-region, .comparison-card, .comparison-panel, .disorder-card,
    .typology-card, .psychology-card, .experiment-card, .fact-card {
        padding: 1rem;
    }

    .quote-card {
        padding: 1.25rem;
    }

    .quote-card blockquote {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 1rem;
    }
}