/* ── List page ── */
.art-list-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.art-list-hero {
    margin-bottom: 48px;
}

.art-list-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
}

.art-list-heading {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--text);
    margin: 10px 0 6px;
    line-height: 1.1;
}

.art-list-sub {
    font-size: 16px;
    color: var(--muted);
}

/* ── Mode toggle ── */
.art-mode-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--navy);
}

.art-mode-btn {
    padding: 10px 28px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    background: white;
    border: 1px solid var(--gray);
    border-bottom: none;
    cursor: pointer;
    transition: .15s;
    margin-bottom: -2px;
}

.art-mode-btn:hover { color: var(--navy); }

.art-mode-active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

/* ── Issue picker grid ── */
.art-issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 8px;
}

.art-issue-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray);
    background: white;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
}

.art-issue-card:hover {
    box-shadow: 0 8px 32px rgba(26,31,143,.14);
    transform: translateY(-3px);
}

.art-issue-card-cover {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.art-issue-card-star {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--navy);
    color: white;
    font-size: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-issue-card-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.art-issue-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--navy);
}

.art-issue-card-theme {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.art-issue-card-date {
    font-size: 12px;
    color: var(--muted);
}

.art-issue-card-count {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--gray);
}

/* ── Back button ── */
.art-back-issues {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px;
}
.art-back-issues:hover { text-decoration: underline; }

/* ── Issue selector ── */
.art-issue-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.art-issue-selector-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--navy);
}

.art-issue-input {
    width: 80px;
    border: 2px solid var(--navy);
    padding: 8px 12px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}
.art-issue-input::-webkit-inner-spin-button,
.art-issue-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.art-issue-input:focus { border-color: var(--navy-hover); }

.art-issue-hint {
    font-size: 13px;
    font-weight: 500;
}
.art-issue-hint--found { color: var(--navy); }
.art-issue-hint--error { color: #c0392b; }

.art-issue-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: white;
    border: 1px solid var(--gray);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 100;
    min-width: 320px;
}
.art-issue-dropdown--open { display: block; }

.art-issue-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .12s;
}
.art-issue-option:hover { background: #f5f6fb; }

.art-issue-option-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    min-width: 28px;
    text-align: right;
}
.art-issue-option-label {
    font-size: 13px;
    color: var(--text);
}

/* ── Issue info bar ── */
.art-issue-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: #f5f6fb;
    border: 1px solid var(--gray);
    border-top: none;
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 13px;
}

.art-issue-bar-label {
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .05em;
}

.art-issue-bar-theme {
    color: var(--muted);
    flex: 1;
}

.art-issue-bar-pdf {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid var(--navy);
    padding: 4px 12px;
    transition: .15s;
    white-space: nowrap;
}
.art-issue-bar-pdf:hover { background: var(--navy); color: white; }

/* ── Issue intro ── */
.art-issue-intro {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
    background: #f5f6fb;
    border: 1px solid var(--gray);
    padding: 36px;
    margin-bottom: 36px;
}

.art-intro-cover img {
    width: 100%;
    display: block;
    box-shadow: 0 8px 28px rgba(26,31,143,.16);
}

.art-intro-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
}

.art-intro-title {
    font-family: var(--serif);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 6px;
}

.art-intro-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.art-intro-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.art-intro-body p { margin-bottom: 14px; text-align: justify; }
.art-intro-body p:last-child { margin-bottom: 0; }

.art-intro-pdf {
    display: inline-block;
    margin-top: 20px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 8px 16px;
    text-decoration: none;
    transition: .15s;
}
.art-intro-pdf:hover { background: var(--navy); color: white; }

@media (max-width: 700px) {
    .art-issue-intro { grid-template-columns: 1fr; }
    .art-intro-cover { max-width: 160px; }
}

/* ── Filters ── */
.art-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 20px;
}

.art-filter-btn {
    padding: 7px 16px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: white;
    border: 1px solid var(--gray);
    cursor: pointer;
    transition: .15s;
}

.art-filter-btn:hover,
.art-filter-active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

/* ── Grid ── */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ── Card ── */
.art-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}

.art-card:hover {
    box-shadow: 0 8px 32px rgba(26,31,143,.12);
    transform: translateY(-3px);
}

.art-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.art-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px;
    flex: 1;
}

.art-card-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy);
}

.art-card-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}

.art-card-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

.art-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--gray);
}

.art-card-author {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.art-card-page {
    font-size: 12px;
    color: var(--navy);
    font-weight: 600;
}

/* ── Article page ── */
.art-page-main {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.art-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    margin-bottom: 36px;
}
.art-back:hover { text-decoration: underline; }

.art-page-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
    display: block;
    margin-bottom: 14px;
}

.art-page-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 18px;
}

.art-page-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray);
}

.art-page-meta strong { color: var(--text); }

.art-page-byline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}
.art-byline-label {
    font-weight: 600;
    color: var(--text);
    margin-right: 4px;
}

.art-page-hero {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
}

.art-page-hero--portrait {
    max-width: 480px;
    max-height: 480px;
}

/* body text */
.art-page-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.art-page-body p { margin-bottom: 24px; text-align: justify; }

.art-page-body h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text);
}

.art-page-body h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}

.art-page-body blockquote {
    border-left: 3px solid var(--navy);
    padding: 4px 0 4px 24px;
    margin: 32px 0;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--navy);
    line-height: 1.55;
}

.art-page-body figure {
    margin: 36px 0;
}

.art-page-body figure img {
    width: 100%;
    display: block;
}

.art-page-body figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    text-align: center;
}

.art-subject-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: top;
    display: block;
    margin-bottom: 28px;
    border: 3px solid var(--gray);
}

.art-issue-badge {
    display: inline-block;
    background: var(--navy);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 10px;
}

@media (max-width: 640px) {
    .art-list-main { padding: 40px 20px 60px; }
    .art-grid { grid-template-columns: 1fr; }
}
