/* Dark blue background for the entire page */
body {
    background-color: #0b1320 !important;
}

/* Alternative: If the above doesn't work, target the page content wrapper */
#page_content {
    background-color: #0b1320 !important;
}

/* Also ensure the main container has the dark blue background */
.main-content,
.container-fluid,
main {
    background-color: #0b1320 !important;
}

/* Font stack aligned with other pages */
@font-face {
    font-family: 'Blinker';
    src: url('https://static.igem.wiki/teams/5836/fonts/blinker/blinker-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('https://static.igem.wiki/teams/5836/fonts/fraunces/fraunces-72pt-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nixie One';
    src: url('') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Section Navigation */
.section-navigation {
    position: fixed;
    top: 100px;
    left: 20px;
    background: rgba(11, 19, 32, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(215, 175, 107, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 180px;
    max-width: 250px;
    transition: all 0.3s ease;
    transform: scale(0.75);
    transform-origin: top left;
}

.navigation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(215, 175, 107, 0.2);
    cursor: pointer;
}

.navigation-title {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d7af6b;
    letter-spacing: 0.5px;
}

.navigation-toggle {
    background: none;
    border: none;
    color: #d7af6b;
    cursor: pointer;
    padding: 0;
    display: none;
    transition: transform 0.3s ease;
}

.navigation-toggle:hover {
    background-color: rgba(215, 175, 107, 0.2);
}

.navigation-content {
    padding: 0.75rem 0;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.navigation-content::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.navigation-item {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #afc1d0;
    text-decoration: none;
    font-family: 'Nixie One', serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.navigation-item:hover {
    color: #d7af6b;
    background: rgba(215, 175, 107, 0.1);
    border-left-color: #d7af6b;
    text-decoration: none;
}

.navigation-item.active {
    color: #d7af6b;
    background: rgba(215, 175, 107, 0.15);
    border-left-color: #d7af6b;
    font-weight: 500;
}

/* Main Content */
.poc-main-content {
    background-color: #0b1320;
    padding: 4rem 0 4rem 150px;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.content-frame {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #0b1320;
}

/* Text Classes - Model specific typography */
.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: bold;
    color: #d7af6b;
    margin: 3rem 0 2rem 0;
    text-align: left;
    line-height: 1.2;
}

.subsection-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #afc1d0;
    margin: 2.5rem 0 1.5rem 0;
    text-align: left;
    line-height: 1.3;
}

.paragraph {
    font-family: 'Nixie One', serif;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem);
    color: white;
    margin: 1.5rem 0;
    text-align: left;
    line-height: 1.6;
}

/* References section styling - same size as paragraphs */
.references-section {
    text-align: left;
    line-height: 1.8;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem); /* Same as paragraph font size */
    font-family: 'Nixie One', serif !important;
}

.references-section p {
    margin-bottom: 1rem;
    font-family: 'Nixie One', serif !important;
    color: white !important;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important;
    line-height: 1.8 !important;
}

/* References List Styling */
.references-list {
    font-family: 'Nixie One', serif !important;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important;
    color: white !important;
    line-height: 1.8 !important;
}

.references-list li {
    font-family: 'Nixie One', serif !important;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important;
    color: white !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem;
}

/* Additional specificity for references */
ol.references-list,
ol.references-list li {
    font-family: 'Nixie One', serif !important;
    color: white !important;
}

/* Links styling */
.poc-link {
    color: #afc1d0;
    text-decoration: underline;
    font-weight: normal;
}

.poc-link:hover {
    color: #d7af6b;
    text-decoration: underline;
}

/* Custom bullet list styling - matching model.css */
.mylist {
    font-family: 'Nixie One', serif;
    font-size: clamp(1.15rem, 1.45vw, 1.45rem); /* Same as paragraph */
    color: white;
    margin: 1.5rem 0;
    text-align: left;
    line-height: 1.6;
    list-style: none;
    padding-left: 0;
}

.mylist li {
    margin: 0.8rem 0;
    padding-left: 6rem;
    position: relative;
}

.mylist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1.5rem;
    width: 5rem;
    height: 5rem;
    background-image: url('https://static.igem.wiki/teams/5836/model/special/bullet.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

/* Read more link styling - matching model.css */
.read-more-link {
    color: white;
    text-decoration: underline;
    font-weight: normal;
}

.read-more-link:hover {
    color: #d7af6b;
    text-decoration: underline;
}

/* Hero heading */
.poc-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(calc(var(--vh, 1vh) * 72), 720px);
    padding: clamp(6rem, 12vw, 10rem) 1.5rem clamp(3.5rem, 8vw, 5rem);
    padding-top: calc(90px + clamp(6rem, 12vw, 10rem));
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.poc-hero::before {
    content: none;
}

.poc-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.poc-hero__graphic {
    position: relative;
    width: min(78vw, 960px);
    max-width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: clamp(1.8rem, 5vw, 3rem);
    overflow: visible;
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.poc-hero__check {
    position: absolute;
    width: clamp(3.5rem, 8vw, 4.8rem);
    height: clamp(3.5rem, 8vw, 4.8rem);
    border: 3px solid #d7af6b;
    border-radius: 0.4rem;
    display: grid;
    place-items: center;
    color: #d7af6b;
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    opacity: 0;
    transform: scale(0.6);
    animation: poc-hero-check 0.6s ease forwards;
}

.poc-hero__check svg {
    width: 60%;
    height: auto;
}

.poc-hero__check--tl { top: 8%; left: 6%; animation-delay: 0.2s; }
.poc-hero__check--bl { bottom: 4%; left: 10%; animation-delay: 0.55s; }
.poc-hero__check--tr { top: 8%; right: 10%; animation-delay: 0.9s; }
.poc-hero__check--br { bottom: 4%; right: 6%; animation-delay: 1.25s; }

@keyframes poc-hero-check {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.poc-hero__title {
    font-family: 'Fraunces', serif;
    font-weight: bold;
    font-size: clamp(3rem, 8vw, 5.2rem);
    color: #d7af6b;
    letter-spacing: 0.06em;
    text-transform: none;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

/* Section heading */
.poc-section {
    display: flex;
    justify-content: center;
    padding: clamp(3rem, 9vw, 5rem) 1.5rem clamp(4rem, 9vw, 6rem);
}

.poc-section__inner {
    width: min(90vw, 1200px);
    text-align: center;
}

.poc-section__inner--left {
    text-align: left;
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    justify-items: start;
}

.poc-section__inner--left #poc-cha-title ~ .poc-section__copy {
    text-align: center;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
}

.poc-section__title {
    font-family: 'Fraunces', serif;
    font-weight: bold;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    color: #d7af6b;
    letter-spacing: 0.08em;
    margin: 0;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.poc-section__subtitle {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 3.8vw, 1.9rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: clamp(2rem, 5vw, 3rem) 0 clamp(1.2rem, 3.4vw, 2rem);
}

.poc-section__subtitle--red {
    color: #a3213b;
}

.poc-section__subtitle--observations {
    margin-top: clamp(4rem, 10vw, 6rem);
    margin-bottom: clamp(0.2rem, 0.6vw, 0.4rem);
}

.poc-section__title--gold {
    font-size: clamp(1.9rem, 5.5vw, 3.2rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.poc-section__title--gold-spaced {
    padding-top: clamp(10rem, 24vw, 16rem);
}

.poc-section__title--extra-space {
    padding-top: clamp(4rem, 14vw, 9rem);
}

.poc-section__title--left {
    text-align: left;
}

.poc-section__title--future {
    padding-top: clamp(4rem, 12vw, 8rem);
}

#poc-cha-title {
    justify-self: center;
    text-align: center;
}

.poc-results__title {
    font-family: 'Fraunces', serif;
    font-weight: bold;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #a3213b;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: clamp(4rem, 12vw, 6rem) 0 0;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.poc-section__lead,
.poc-section__copy {
    font-family: 'Nixie One', serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    line-height: 1.72;
    color: rgba(230, 233, 245, 0.94);
    letter-spacing: 0.01em;
    max-width: min(85ch, 100%);
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    text-align: left;
}

.poc-section__inner--left .poc-section__lead,
.poc-section__inner--left .poc-section__copy {
    margin-left: 0;
    margin-right: 0;
}

.poc-section__copy + .poc-section__copy {
    margin-top: clamp(1rem, 3vw, 1.8rem);
}

.poc-section__copy--spaced {
    margin-top: clamp(3rem, 9vw, 4.8rem);
}

.poc-section__list + .poc-section__copy {
    margin-top: clamp(1.6rem, 4vw, 2.8rem);
}

.poc-section__list {
    list-style: none;
    padding: 0;
    margin: clamp(4.8rem, 14vw, 8rem) 0 clamp(4rem, 12vw, 7rem);
    max-width: min(72ch, 100%);
    display: grid;
    gap: clamp(0.65rem, 2.6vw, 1.1rem);
}

.poc-section__inner--left .poc-section__list {
    margin-left: 0;
    margin-right: 0;
}

.poc-section__list--compact {
    margin: clamp(1.2rem, 3.8vw, 2.2rem) 0 clamp(1.5rem, 4vw, 2.6rem);
    gap: clamp(0.5rem, 2vw, 0.9rem);
}

.poc-section__item {
    position: relative;
    padding-left: clamp(1.6rem, 4.2vw, 2.5rem);
    font-family: 'Nixie One', 'Blinker', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.74;
    color: rgba(230, 233, 245, 0.94);
    letter-spacing: 0.01em;
    text-align: left;
}

.poc-section__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    transform: translateY(-50%);
    width: clamp(0.45rem, 1.2vw, 0.6rem);
    height: clamp(0.45rem, 1.2vw, 0.6rem);
    border-radius: 50%;
    background: #d7af6b;
}

.poc-section__list--numbered {
    counter-reset: pocCounter;
}

.poc-section__list--numbered .poc-section__item {
    padding-left: clamp(2.4rem, 6vw, 3.1rem);
}

.poc-section__list--numbered .poc-section__item::before {
    counter-increment: pocCounter;
    content: counter(pocCounter) '.';
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #d7af6b;
    top: 0;
    transform: none;
}

.poc-link {
    color: #d7af6b;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(215, 175, 107, 0.6);
    transition: color 0.2s ease;
}

.poc-link:hover,
.poc-link:focus {
    color: #f4dca8;
}

.poc-text--red {
    color: #a3213b;
}


.poc-goals {
    list-style: none;
    padding: 0;
    margin: clamp(1.2rem, 3.5vw, 2rem) 0 0;
    display: grid;
    gap: clamp(1rem, 2.8vw, 1.8rem);
    justify-items: start;
}

.poc-goals li {
    display: grid;
    grid-template-columns: min-content minmax(0, 1fr);
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.6rem);
    text-align: left;
    width: min(82ch, 100%);
}

.poc-goals__number {
    font-family: 'Fraunces', serif;
    font-weight: bold;
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
    color: #a3213b;
    letter-spacing: 0.08em;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    justify-self: end;
}

.poc-goals__text {
    font-family: 'Nixie One', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.8;
    color: rgba(230, 231, 242, 0.9);
    text-align: left;
}

.poc-figure {
    margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
    max-width: min(90vw, 900px);
    display: grid;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.poc-figure__image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.poc-figure--small {
    max-width: min(82vw, 620px);
}

.poc-figure--small .poc-figure__image {
    border-radius: 0.4rem;
}

.poc-figure__caption {
    font-family: 'Nixie One', serif;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: rgba(230, 231, 242, 0.75);
    text-align: center;
    margin: 0;
}

.poc-table {
    width: min(100%, 960px);
    margin: clamp(2.8rem, 6vw, 4rem) auto clamp(3rem, 7vw, 4.8rem);
    display: grid;
    gap: clamp(1rem, 3vw, 1.6rem);
    background: rgba(12, 20, 35, 0.92);
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgba(215, 175, 107, 0.45);
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.45);
}

.poc-table__caption {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #d7af6b;
    margin: 0;
    text-align: center;
}
.poc-table__scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: clamp(0.6rem, 2vw, 1rem);
    border: 1px solid rgba(215, 175, 107, 0.35);
    background: linear-gradient(180deg, rgba(22, 34, 56, 0.92), rgba(12, 20, 35, 0.9));
    box-shadow: inset 0 0 0 1px rgba(215, 175, 107, 0.08);
}

.poc-table__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-family: 'Nixie One', 'Blinker', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: rgba(230, 233, 245, 0.94);
}

.poc-table__table thead th {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #d7af6b;
    background: rgba(12, 20, 35, 0.88);
}

.poc-table__table th,
.poc-table__table td {
    border: 1px solid rgba(215, 175, 107, 0.28);
    padding: clamp(0.85rem, 2.4vw, 1.15rem);
    text-align: center;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
}

.poc-table__table tbody th {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    text-align: left;
    color: rgba(244, 220, 168, 0.9);
}

.poc-table__table tbody tr:nth-child(odd) {
    background: rgba(16, 26, 46, 0.6);
}

.poc-table__table tbody tr:nth-child(even) {
    background: rgba(10, 18, 32, 0.55);
}

.poc-table__table tbody tr:hover {
    background: rgba(215, 175, 107, 0.12);
}

.poc-abbreviations {
    width: min(100%, 960px);
    margin: clamp(2.5rem, 6vw, 3.6rem) auto clamp(6.4rem, 16vw, 9.6rem);
    padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1.8rem, 4.5vw, 2.8rem);
    background: rgba(12, 20, 35, 0.88);
    border-radius: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgba(215, 175, 107, 0.35);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
    display: grid;
    gap: clamp(1rem, 3vw, 1.8rem);
}

.poc-abbreviations__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: clamp(0.6rem, 2.4vw, 1rem);
    text-align: left;
    font-family: 'Nixie One', 'Blinker', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    line-height: 1.7;
    color: rgba(230, 233, 245, 0.92);
}

.poc-abbreviations__list li strong {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: #d7af6b;
    letter-spacing: 0.05em;
}

.poc-figure__details {
    list-style: none;
    padding: 0;
    margin: clamp(2rem, 5vw, 3rem) auto 0;
    max-width: min(90vw, 900px);
    display: grid;
    gap: clamp(0.6rem, 2vw, 1rem);
    text-align: left;
    font-family: 'Nixie One', serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(230, 231, 242, 0.85);
}

.poc-figure__details li::before {
    content: "";
}

@media (prefers-reduced-motion: reduce) {
    html.js-enabled .poc-hero,
    html.js-enabled .poc-section,
    html.js-enabled .poc-hero .poc-hero__inner {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .section-navigation {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        min-width: auto;
        max-width: none;
        transform: scale(1);
        transform-origin: top center;
    }

    .navigation-toggle {
        display: block;
    }

    .navigation-content {
        max-height: 0;
        overflow: hidden;
        padding: 0;
    }

    .navigation-content.open {
        max-height: 300px;
        padding: 0.75rem 0;
    }

    .poc-main-content {
        padding: 2rem 0 4rem 0;
        margin-left: 0;
        width: 100%;
    }

    .content-frame {
        width: 90%;
        padding: 1rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin: 2rem 0 1.5rem 0;
    }

    .subsection-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin: 2rem 0 1rem 0;
    }

    .paragraph {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin: 1rem 0;
    }

    .poc-hero {
        height: auto;
        min-height: calc(var(--vh, 1vh) * 100);
        padding: clamp(3rem, 12vw, 4rem) 1rem clamp(2.5rem, 10vw, 3.5rem);
    }

    .poc-hero__graphic {
        padding: clamp(1.6rem, 8vw, 2.8rem) clamp(2.2rem, 12vw, 3.8rem);
        gap: clamp(1.2rem, 5vw, 1.6rem);
    }

    .poc-hero__title {
        font-size: clamp(2.4rem, 10vw, 3.1rem);
        line-height: 1.2;
    }

    .poc-hero__check {
        width: clamp(2.4rem, 10vw, 3.2rem);
        height: clamp(2.4rem, 10vw, 3.2rem);
        border-width: 2px;
        font-size: clamp(1.35rem, 5.8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .section-navigation {
        top: 70px;
        left: 5px;
        right: 5px;
        transform: scale(0.9);
    }

    .poc-main-content {
        padding: 1rem 0 3rem 0;
    }

    .content-frame {
        width: 95%;
        padding: 0.5rem;
    }
}