@charset "utf-8";

/* October issue: original PDF cover color and paper-blended artwork. */
#cover {
    background-color: #bc8877;
    isolation: isolate;
}

#cover::after {
    background: none;
}

#cover .cover-inner {
    top: 6%;
    transform: none;
}

#cover .cover-title span {
    font-size: clamp(2.25rem, 8vw, 3rem);
}

#cover .cover-image figure {
    width: min(120%, 68vh);
    width: min(120%, 68dvh);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.cover {
    border-bottom: 0.05rem solid #cbcbcb;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    background-color: #53aa60;
    color: #fff;
    position: relative;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.cover-image figure {
    width: 150%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-40%);
}

.cover-image img {
    width: 100%;
    height: auto;
}

.cover-inner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 3;
    transform: translateY(-40%);
}

@media (max-width: 40rem) {
    .cover-image figure {
        width: 180%;
        left: 50%;
        transform: translateX(-40%);
    }

    .cover-inner {
        top: 50%;
        transform: translateY(-50%);
    }
}

.cover-scroll {
    position: absolute;
    top: calc(100% + 2rem);
    left: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    transform: translateX(-50%);
    animation: cover-scroll-bounce 1.5s ease-in-out infinite;
}

.cover-vol {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01rem;
}

.cover-title {
    display: flex;
    flex-direction: column;
}

.cover-title span {
    font-size: 3rem;
    line-height: 1.1;
    font-family: "Presentation";
    font-weight: 900;
    letter-spacing: -0.1rem;
    text-align: center;
}

.cover-info {
    text-align: center;
    margin-top: 1rem;
}

.share-button[hidden] {
    display: none;
}

.share-toast {
    position: fixed;
    z-index: 30;
    bottom: 2rem;
    left: 50%;
    padding: 0.7rem 1rem;
    border-radius: 9999px;
    background: rgba(17, 17, 17, 0.9);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.3;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0.5rem);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.share-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.site-footer {
    padding: 2rem 1.5rem;
    background: transparent;
    border-top: 0.05rem solid #cbcbcb;
}

.footer-inner {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-image {
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    color: #333;
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-name {
    font-weight: 700;
}

@keyframes cover-scroll-bounce {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: 0.6rem;
    }
}


.contents {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom: 0.05rem solid #cbcbcb;
    background-color: #fff;
    box-shadow: 0 0.75rem 1rem -0.9rem rgba(0, 0, 0, 0.14);
}

.toc a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.toc-section {
    padding: 3rem 3rem 4rem;
}

.toc-title {
    margin: 0 0 2.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.toc ul {
    margin: 0;
    padding: 0;
}

.toc li {
    margin: 0 0 1.6rem;
}

.toc li:last-child {
    margin-bottom: 0;
}

.toc-item-meta {
    display: block;
    width: fit-content;
    margin-right: 0;
    margin-bottom: 0.3rem;
    color: #77797b;
    font-size: 0.85rem;
    line-height: 1.4;
    border-top: 2px solid #77797b;
    padding-top: 0.2rem;
}

.toc-item-meta2 {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toc-item-name {
    display: block;
    margin-top: 0.3rem;
    color: #77797b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.toc-item-title {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.45;
    letter-spacing: -0.04rem;
}

.publisher-note {
    margin-top: 0.5rem;
    border-top: 0.05rem solid #cbcbcb;
    background-color: #fffef9;
}

.article-section {
    margin-top: 0.5rem;
    border-top: 0.05rem solid #cbcbcb;
}

.section-label {
    margin: 0 auto;
    width: fit-content;

    padding: 0.15rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    /* 라운드 방식
    padding: 0.25rem 1rem;
    border: 1px solid #e4e5e5;
    border-radius: 9999px;
    font-weight: 500;
    line-height: 1.5; 
    */
}

.section-title {
    margin: 0.8rem 2rem 1rem;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: -0.01rem;
    word-break: keep-all;
}

.section-small-title {
    margin: 0.1rem 2rem 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.4;
    letter-spacing: -0.01rem;
}

.section-title:has(+ .section-small-title) {
    margin-bottom: 0;
}

.section-share {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.share-button {
    background-color: #eee;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-button svg {
    display: block;
}

.section-writer {
    margin: 2.5rem 1.5rem 5rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1.428;
    color: #77797b;
}

.contents p {
    font-size: 1.1rem;
    font-weight: 460;
    line-height: 1.72;
    letter-spacing: -0.01rem;
    margin-top: 1.8rem;
    padding: 0 1.5rem;
}

.contents p.publisher-note-date {
    text-align: right;
    font-size: 0.82rem;
}

h3.article-heading {
    margin: 2.5rem 1.5rem 0;
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.03rem;
    text-align: center;
}

h3.article-heading span {
    font-size: 1.15rem;
    line-height: 1.6;
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
}

h4.article-subheading {
    margin: 2rem 1.5rem 0;
    font-size: 1.25rem;
    letter-spacing: -0.03rem;
    line-height: 1.5;
    word-break: keep-all;
}

h5.article-subheading-small {
    margin: 2rem 1.5rem 0;
    font-size: 1.1rem;
    letter-spacing: -0.03rem;
}

.section-bottom-writer {
    margin: 3rem 1.5rem 0;
    display: flex;
    gap: 1rem;
}

.section-bottom-writer figure {
    flex: 0 0 35%;
    width: 35%;
    margin: 0;
}

.section-bottom-writer .writer-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02rem;
    line-height: 1.4;
}

.section-bottom-writer .writer-info {
    font-size: 0.9rem;
}

.section-bottom-writer p {
    font-size: 0.9rem;
    padding: 0;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.trial-status {
    margin: 2rem 3rem;
}

.trial-status li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.trial-status li::marker {
    font-size: 0.7em;
    line-height: 1.4;
}

.table-scroll {
    display: block;
    width: auto;
    max-width: calc(100% - 3rem);
    min-width: 0;
    margin: 2rem 1.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: max-content;
    min-width: 42rem;
    border-collapse: collapse;
    border-top: 2px solid #3039b8;
    border-bottom: 2px solid #3039b8;
    color: #222;
    font-size: 0.95rem;
    line-height: 1.2;
    table-layout: fixed;
}

.data-table .table-col-election {
    width: 4.2rem;
}

.data-table .table-col-party {
    width: 6rem;
}

.data-table .table-col-total {
    width: 7.2rem;
}

.data-table caption {
    caption-side: top;
    padding: 0 0 0.8rem;
    text-align: left;
    color: #3039b8;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.data-table th,
.data-table td {
    padding: 0.4rem 0.45rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.data-table thead th {
    font-weight: 700;
}

.data-table thead {
    border-bottom: 2px solid #3039b8;
}

.data-table .table-header-group-row th {
    border-bottom: 1px solid #3039b8;
}

.data-table .party-group-democrat {
    border-right: 1px dotted #3039b8;
}

.data-table .table-header-label-row th {
    border-bottom: 0;
}

.data-table .party-divider {
    border-right: 1px dotted #3039b8;
}

.data-table .table-election-column {
    border-right: 1px solid #3039b8;
}

.data-table .table-total-column {
    border-left: 1px solid #3039b8;
}

.data-table tbody th {
    font-weight: 700;
}

.table-note {
    margin-top: 0.75rem !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
}

.legal-quote {
    margin: 2rem 1.5rem;
    border: 1px solid #111;
    padding: 2rem 1rem;
}

.legal-quote h4+p {
    margin-top: 0;
}

.legal-quote p {
    padding: 0;
    font-size: 1rem;
}

.legal-quote p b {
    text-decoration: underline;
}

.section-footnotes {
    margin: 3rem 1.5rem;
    border-top: 1px solid #000;
    padding-top: 1rem;
}

.section-footnotes li {
    margin-bottom: 0.8rem;
}

sup a,
.section-footnotes li a {
    color: #0263b8;
}

.article-image {
    margin: 3rem 1.5rem;
}

.toc-menu-button {
    position: fixed;
    z-index: 20;
    top: 1.5rem;
    right: 1.5rem;
    width: 3.75rem;
    height: 3.75rem;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.35rem;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1rem 1.75rem rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.toc-menu-button.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 45.25rem) {
    .toc-menu-button {
        right: calc((100vw - 40rem) / 2 - 5.25rem);
    }
}

@media (max-width: 40rem) {
    .toc-menu-button {
        top: 0.75rem;
        width: 3rem;
        height: 3rem;
    }
}

.toc-menu-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.4rem;
    height: 2px;
    margin: -1px 0 0 -0.7rem;
    background: #111;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.toc-menu-button span:nth-child(1) {
    transform: translateY(-0.4rem);
}

.toc-menu-button span:nth-child(3) {
    transform: translateY(0.4rem);
}

.toc-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.toc-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.toc-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

.toc-overlay {
    position: fixed;
    z-index: 19;
    inset: 0;
    padding: 5rem 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.toc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.toc-overlay-inner {
    position: relative;
    max-width: 40rem;
    min-height: 100%;
    margin: 0 auto;
    padding-top: 2rem;
}

.toc-overlay h2 {
    margin: 0 0 2.5rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.toc-overlay ul {
    padding: 0;
}

.toc-overlay li {
    margin-bottom: 1.5rem;
}

.toc-overlay li a {
    color: #111;
    font-size: 1.35rem;
    line-height: 1.45;
    text-decoration: none;
}

body.toc-open {
    overflow: hidden;
}
