:root {
    --bg: #f7f8f7;
    --surface: #fff;
    --surface-2: #f0f2ef;
    --text: #17231e;
    --muted: #69756f;
    --line: #dce3dd;
    --accent: #e54f32;
    --accent-dark: #c63d24;
    --green: #163f32;
    --green-2: #215846;
    --shadow: 0 18px 55px rgba(22, 44, 34, .09);
    color-scheme: light
}

:root[data-theme=dark] {
    --bg: #101a17;
    --surface: #17231e;
    --surface-2: #1c2d25;
    --text: #edf3ed;
    --muted: #a8b8ae;
    --line: #34483d;
    --accent: #f4785d;
    --accent-dark: #ff9b82;
    --green: #b9e3ca;
    --green-2: #99c5aa;
    --shadow: 0 18px 55px rgba(0, 0, 0, .24);
    color-scheme: dark
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6
}

body,
header,
footer,
section,
article,
aside,
button,
input,
select,
textarea,
.brand-mark,
.site-header a {
    transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

.container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.muted {
    color: var(--muted)
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.site-header {
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 93%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: transform .32s ease, background-color .35s ease, border-color .35s ease
}

.site-header.is-hidden {
    transform: translateY(-100%)
}

.site-header.is-scrolled {
    border-color: var(--line)
}

.header-inner {
    width: min(1376px, calc(100% - 64px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 45px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1.4px;
    line-height: 1;
    color: var(--text)
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 24px;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700
}

.desktop-nav {
    display: flex;
    gap: 33px;
    margin: auto
}

.desktop-nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    position: relative;
    white-space: nowrap
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--text)
}

.desktop-nav a.is-active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -29px;
    height: 2px;
    background: var(--accent)
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 17px
}

.icon-button {
    border: 0;
    background: transparent;
    color: var(--text);
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1
}

.header-account {
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap
}

.header-account:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.menu-button,
.mobile-nav {
    display: none
}

.lead-band {
    padding: 26px 0 55px
}

.lead-topline {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 3px 0 29px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted)
}

.lead-date {
    margin-left: auto
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent)
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: 530px;
    gap: 4.5%;
    align-items: stretch
}

.lead-copy {
    padding: 66px 0 42px;
    display: flex;
    align-items: flex-start;
    flex-direction: column
}

.section-kicker {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1.8px
}

.lead-copy h1 {
    font-size: clamp(47px, 5.1vw, 75px);
    line-height: 1.13;
    letter-spacing: -3.8px;
    margin: 23px 0 20px;
    font-weight: 800;
    max-width: 720px
}

.lead-copy h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -2px
}

.lead-copy>p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 450px;
    margin: 0 0 39px
}

.button {
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 21px;
    font-size: 13px;
    font-weight: 800;
    min-height: 48px;
    transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease
}

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

.button-primary {
    background: var(--accent);
    color: #fff
}

.button-primary:hover {
    background: var(--accent-dark)
}

.button-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--line)
}

.button-outline:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.button-light {
    background: #fff;
    color: #1b3026
}

.lead-image {
    position: relative;
    overflow: hidden;
    min-height: 490px;
    border-radius: 2px
}

.lead-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.lead-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 29, 20, .6));
    padding: 42px 27px 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-between
}

.caption-mark {
    color: #fff;
    opacity: .8
}

.ticker-band {
    overflow: hidden;
    background: var(--green);
    color: var(--bg);
    min-height: 55px;
    display: flex;
    align-items: center
}

.ticker-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 45px;
    min-width: 100%;
    padding: 0 32px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    white-space: nowrap
}

.ticker-track i {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex: none
}

.content-section {
    padding: 86px 0 109px
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 37px
}

.section-heading h2 {
    font-size: 35px;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 11px 0 0
}

.section-heading>p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.section-heading.compact {
    margin-bottom: 25px
}

.section-heading.compact h2 {
    font-size: 26px
}

.feed-toolbar {
    display: flex;
    align-items: end;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    margin-bottom: 31px
}

.search-field {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 4px;
    padding: 0 14px;
    flex: 1;
    min-width: 180px
}

.search-field span {
    font-size: 27px;
    line-height: 1;
    color: var(--muted)
}

.search-field input {
    border: 0;
    background: transparent;
    outline: 0;
    color: var(--text);
    width: 100%;
    font-size: 13px
}

.select-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 166px
}

.select-wrap label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: var(--muted)
}

select,
input,
textarea {
    color: var(--text);
    background: var(--surface)
}

.select-wrap select {
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 13px;
    font-weight: 700;
    font-size: 12px;
    outline: 0
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 25px
}

.article-card {
    min-width: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px
}

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.55;
    overflow: hidden;
    background: var(--surface-2)
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.article-card:hover .card-media img {
    transform: scale(1.045)
}

.category-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px
}

.card-content {
    padding: 20px 0 0
}

.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted)
}

.article-card h3 {
    font-size: 20px;
    line-height: 1.37;
    letter-spacing: -.6px;
    margin: 11px 0 10px
}

.article-card h3 a:hover {
    color: var(--accent)
}

.article-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 22px
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    font-weight: 800
}

.card-meta a:hover {
    color: var(--accent)
}

.rating {
    color: var(--accent);
    white-space: nowrap
}

.article-card--featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 25px;
    align-items: stretch
}

.article-card--featured .card-media {
    height: 100%;
    min-height: 350px
}

.article-card--featured .card-content {
    padding: 25px 0;
    display: flex;
    flex-direction: column
}

.article-card--featured h3 {
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -1.2px
}

.article-card--featured p {
    font-size: 14px
}

.article-card--featured .card-meta {
    margin-top: auto
}

.feed-empty,
.loading-state {
    padding: 70px 0;
    color: var(--muted);
    text-align: center
}

.subscribe-band {
    background: var(--green);
    color: var(--bg);
    padding: 66px 0
}

.subscribe-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.subscribe-band .section-kicker {
    color: var(--accent)
}

.subscribe-band h2 {
    font-size: 35px;
    line-height: 1.2;
    letter-spacing: -1.3px;
    margin: 12px 0
}

.subscribe-band p {
    opacity: .8;
    margin: 0;
    font-size: 14px
}

.site-footer {
    background: var(--surface);
    padding: 67px 0 23px;
    border-top: 1px solid var(--line)
}

.footer-grid,
.footer-bottom {
    width: min(1240px, calc(100% - 64px));
    margin: auto
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 70px
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px
}

.footer-grid p {
    max-width: 280px;
    font-size: 13px;
    margin: 14px 0 0
}

.footer-grid a:not(.brand) {
    font-size: 13px;
    color: var(--muted)
}

.footer-grid a:hover {
    color: var(--accent)
}

.footer-label {
    margin: 0 0 7px !important;
    font-size: 11px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text)
}

.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-top: 19px;
    color: var(--muted);
    font-size: 11px
}

.article-page {
    padding-top: 36px;
    padding-bottom: 100px
}

.back-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted)
}

.back-link:hover {
    color: var(--accent)
}

.article-top {
    max-width: 900px;
    margin: 0 auto 34px
}

.article-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 34px 0 17px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px
}

.article-kicker i {
    width: 4px;
    height: 4px;
    background: var(--muted);
    border-radius: 50%
}

.article-top h1 {
    font-size: clamp(37px, 4.2vw, 62px);
    line-height: 1.16;
    letter-spacing: -2.5px;
    margin: 0 0 19px
}

.article-subtitle {
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 28px
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 22px
}

.avatar,
.profile-avatar {
    background: var(--green);
    color: var(--bg);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-size: 24px;
    width: 44px;
    height: 44px;
    flex: none
}

.avatar.small {
    width: 34px;
    height: 34px;
    font-size: 18px
}

.article-byline>div:nth-child(2) {
    display: flex;
    flex-direction: column
}

.article-byline a {
    font-size: 12px;
    font-weight: 800
}

.article-byline span {
    font-size: 11px;
    color: var(--muted)
}

.text-button {
    border: 0;
    background: none;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    padding: 7px
}

.article-byline .text-button {
    margin-left: auto
}

.article-hero {
    margin: 0 0 55px
}

.article-hero img {
    width: 100%;
    max-height: 600px;
    object-fit: cover
}

.article-hero figcaption {
    font-size: 11px;
    color: var(--muted);
    margin-top: 10px
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
    gap: 75px
}

.article-body {
    font-size: 17px;
    line-height: 1.95
}

.article-body p {
    margin: 0 0 24px
}

.article-body p:first-child:first-letter {
    font-size: 3.6em;
    line-height: 1;
    float: left;
    margin: 8px 10px 0 0;
    color: var(--accent);
    font-family: Georgia, serif
}

.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 34px 0 52px
}

.tag-list a {
    border: 1px solid var(--line);
    padding: 6px 11px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted)
}

.tag-list a:hover {
    color: var(--accent);
    border-color: var(--accent)
}

.rating-section {
    border-block: 1px solid var(--line);
    padding: 27px 0;
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap
}

.rating-section h2 {
    font-size: 17px;
    margin: 0 15px 0 0
}

.rating-section .muted {
    font-size: 11px
}

.rating-buttons {
    display: flex;
    gap: 2px
}

.rating-buttons button {
    border: 0;
    background: none;
    color: var(--line);
    font-size: 22px;
    padding: 0 2px
}

.rating-buttons button:hover,
.rating-buttons button.is-selected {
    color: var(--accent)
}

.comments-section {
    padding-top: 59px
}

.comments-section textarea {
    display: block;
    width: 100%;
    resize: vertical;
    min-height: 110px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 16px;
    outline: 0
}

.comments-section form .button {
    margin-top: 12px
}

.comments-list {
    margin-top: 35px
}

.comment {
    display: flex;
    gap: 13px;
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.comment strong {
    font-size: 12px
}

.comment time {
    font-size: 11px;
    color: var(--muted);
    margin-left: 11px
}

.comment p {
    font-size: 13px;
    margin: 8px 0
}

.article-aside {
    border-top: 2px solid var(--text);
    padding-top: 22px;
    align-self: start
}

.article-aside h3 {
    font-size: 22px;
    letter-spacing: -.8px;
    margin: 8px 0 14px
}

.related-item {
    display: flex;
    gap: 13px;
    padding: 17px 0;
    border-top: 1px solid var(--line)
}

.related-item img {
    width: 80px;
    height: 69px;
    object-fit: cover;
    flex: none
}

.related-item span {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.related-item small {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800
}

.related-item strong {
    font-size: 12px;
    line-height: 1.4
}

.related-item:hover strong {
    color: var(--accent)
}

.auth-main {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 46% 54%
}

.auth-visual {
    position: relative;
    min-height: 730px;
    background: #14281d
}

.auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: .6
}

.auth-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 25, 14, .8), transparent 65%)
}

.auth-visual-copy {
    position: absolute;
    z-index: 1;
    left: clamp(36px, 6vw, 100px);
    bottom: 70px;
    color: #fff;
    max-width: 390px
}

.auth-visual-copy h1 {
    font-size: clamp(40px, 4vw, 59px);
    line-height: 1.17;
    letter-spacing: -2px;
    margin: 15px 0
}

.auth-visual-copy p {
    font-size: 14px;
    line-height: 1.7
}

.auth-panel {
    display: grid;
    place-items: center;
    padding: 60px 30px
}

.auth-box {
    width: min(420px, 100%)
}

.auth-box .back-link {
    display: inline-block;
    margin-bottom: 53px
}

.auth-box h2 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 11px 0
}

.auth-box>.muted {
    font-size: 13px;
    margin: 0 0 30px
}

.auth-box form,
.editor-form {
    display: flex;
    flex-direction: column;
    gap: 19px
}

.auth-box label,
.editor-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
    font-weight: 800
}

.auth-box input,
.editor-form input,
.editor-form select,
.editor-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 3px;
    min-height: 48px;
    padding: 10px 13px;
    outline: 0;
    font-size: 13px;
    font-weight: 500
}

.auth-box input:focus,
.editor-form :is(input, select, textarea):focus,
.comments-section textarea:focus {
    border-color: var(--accent)
}

.full-width {
    width: 100%;
    margin-top: 4px
}

.auth-switch {
    font-size: 12px;
    text-align: center;
    margin-top: 28px;
    color: var(--muted)
}

.auth-switch a {
    color: var(--accent);
    font-weight: 800
}

.profile-page,
.editor-page {
    min-height: 70vh;
    padding-top: 75px;
    padding-bottom: 100px
}

.empty-panel {
    max-width: 650px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.empty-panel h1 {
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: -2.6px;
    line-height: 1.15;
    margin: 17px 0
}

.empty-panel p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 26px
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 40px
}

.profile-avatar {
    width: 95px;
    height: 95px;
    font-size: 50px
}

.profile-head h1 {
    font-size: 43px;
    letter-spacing: -1.7px;
    line-height: 1.2;
    margin: 7px 0
}

.profile-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto
}

.profile-head>.button {
    margin-left: auto
}

.profile-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 55px;
    padding-top: 55px
}

.profile-articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px
}

.subscription-panel {
    border-top: 2px solid var(--text);
    padding-top: 18px
}

.subscription-panel h3 {
    font-size: 23px;
    margin: 8px 0
}

.subscription-panel h4 {
    font-size: 13px;
    margin: 35px 0 12px
}

.subscription-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.subscription-list span {
    padding: 5px 9px;
    background: var(--surface-2);
    font-size: 11px
}

.category-subscribe {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    color: var(--text);
    font-size: 12px;
    font-weight: 700
}

.category-subscribe span:last-child {
    color: var(--accent)
}

.editor-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 35px
}

.editor-heading h1 {
    font-size: 50px;
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 10px 0
}

.editor-heading p {
    margin: 0;
    color: var(--muted)
}

.role-badge {
    background: var(--surface-2);
    color: var(--text);
    padding: 7px 13px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(210px, 1fr);
    gap: 70px;
    padding-top: 50px
}

.editor-form-section {
    min-width: 0
}

.editor-form {
    gap: 18px
}

.editor-form textarea {
    resize: vertical;
    min-height: 250px
}

.editor-form .button {
    align-self: flex-start;
    margin-top: 5px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.editor-side {
    border-top: 2px solid var(--text);
    padding-top: 18px;
    align-self: start
}

.editor-side h3 {
    font-size: 22px;
    margin: 8px 0
}

.editor-side p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8
}

.editor-steps {
    margin-top: 30px
}

.editor-steps div {
    padding: 13px 0;
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700
}

.editor-steps span {
    color: var(--accent);
    margin-right: 15px;
    font-size: 11px
}

.moderation-section {
    margin-top: 90px;
    border-top: 1px solid var(--line);
    padding-top: 40px
}

.pending-item {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.pending-item h3 {
    font-size: 18px;
    margin: 7px 0
}

.pending-item p {
    color: var(--muted);
    font-size: 12px;
    margin: 0
}

.pending-item small {
    font-size: 10px;
    color: var(--muted)
}

.pending-actions {
    display: flex;
    gap: 8px
}

.pending-actions .button {
    padding: 10px 13px;
    min-height: 38px;
    font-size: 11px
}

.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    background: var(--text);
    color: var(--bg);
    padding: 13px 18px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 800;
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1
}

.toast[data-type=error] {
    background: var(--accent);
    color: #fff
}

@media(max-width:1000px) {
    .desktop-nav {
        gap: 17px
    }

    .header-inner {
        gap: 20px
    }

    .lead-layout {
        gap: 3%
    }

    .lead-copy h1 {
        font-size: 56px
    }

    .article-layout,
    .editor-layout {
        gap: 35px
    }

    .article-card--featured {
        grid-template-columns: 1fr
    }

    .article-card--featured .card-media {
        min-height: 280px
    }

    .article-card--featured .card-content {
        padding: 0
    }

    .article-card--featured h3 {
        font-size: 23px
    }

    .feed-grid {
        gap: 25px 18px
    }
}

@media(max-width:760px) {

    .container,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 34px, 560px)
    }

    .site-header {
        height: 66px
    }

    .header-inner {
        width: calc(100% - 34px)
    }

    .brand {
        font-size: 21px
    }

    .brand-mark {
        width: 31px;
        height: 31px;
        font-size: 22px
    }

    .desktop-nav {
        display: none
    }

    .header-tools {
        margin-left: auto;
        gap: 5px
    }

    .header-account {
        padding: 6px 11px
    }

    .menu-button {
        display: grid
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 0 18px;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height .32s ease, padding .32s ease, visibility .32s
    }

    .mobile-nav.is-open {
        max-height: 310px;
        padding: 14px 18px;
        visibility: visible
    }

    .mobile-nav a {
        padding: 10px 0;
        font-size: 13px;
        font-weight: 700
    }

    .lead-band {
        padding: 15px 0 35px
    }

    .lead-topline {
        padding-bottom: 25px
    }

    .lead-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
        min-height: 0
    }

    .lead-copy {
        padding: 0
    }

    .lead-copy h1 {
        font-size: clamp(42px, 10vw, 64px);
        letter-spacing: -2.7px;
        margin: 15px 0
    }

    .lead-copy>p {
        font-size: 14px;
        margin-bottom: 22px
    }

    .lead-image {
        min-height: 0;
        aspect-ratio: 1.45
    }

    .ticker-track {
        justify-content: flex-start;
        overflow: auto;
        scrollbar-width: none
    }

    .ticker-track::-webkit-scrollbar {
        display: none
    }

    .content-section {
        padding: 57px 0 75px
    }

    .section-heading h2 {
        font-size: 29px
    }

    .section-heading>p {
        display: none
    }

    .feed-toolbar {
        flex-wrap: wrap
    }

    .search-field {
        flex-basis: 100%
    }

    .select-wrap {
        flex: 1;
        min-width: 140px
    }

    .feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 17px
    }

    .article-card--featured {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr
    }

    .article-card--featured .card-media {
        min-height: 0;
        height: 100%
    }

    .article-card--featured .card-content {
        padding: 5px 0
    }

    .article-card--featured h3 {
        font-size: 21px
    }

    .article-card h3 {
        font-size: 17px
    }

    .article-card p {
        font-size: 12px
    }

    .subscribe-layout {
        align-items: flex-start;
        flex-direction: column
    }

    .subscribe-band h2 {
        font-size: 29px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px
    }

    .footer-grid>div:first-child {
        grid-column: span 2
    }

    .article-page {
        padding-top: 25px
    }

    .article-top h1 {
        letter-spacing: -1.7px
    }

    .article-subtitle {
        font-size: 16px
    }

    .article-layout,
    .profile-content,
    .editor-layout {
        display: block
    }

    .article-aside {
        margin-top: 60px
    }

    .article-hero {
        margin-bottom: 35px
    }

    .auth-main {
        display: block
    }

    .auth-visual {
        display: none
    }

    .auth-panel {
        min-height: calc(100vh - 66px);
        padding: 45px 25px
    }

    .auth-box .back-link {
        margin-bottom: 42px
    }

    .profile-page,
    .editor-page {
        padding-top: 48px
    }

    .profile-head {
        flex-wrap: wrap
    }

    .profile-actions {
        width: 100%;
        margin: 10px 0 0
    }

    .profile-content {
        padding-top: 42px
    }

    .subscription-panel,
    .editor-side {
        margin-top: 50px
    }

    .editor-heading h1 {
        font-size: 42px
    }
}

@media(max-width:500px) {
    .lead-date {
        display: none
    }

    .lead-copy h1 {
        font-size: 43px
    }

    .feed-grid {
        display: block
    }

    .article-card {
        margin-bottom: 30px
    }

    .article-card--featured {
        display: block
    }

    .article-card--featured .card-media {
        aspect-ratio: 1.5
    }

    .article-card--featured .card-content {
        padding: 19px 0 0
    }

    .article-card--featured h3 {
        font-size: 23px
    }

    .card-media {
        aspect-ratio: 1.6
    }

    .article-top h1 {
        font-size: 35px
    }

    .article-byline .text-button {
        font-size: 11px
    }

    .profile-avatar {
        width: 68px;
        height: 68px;
        font-size: 37px
    }

    .profile-head h1 {
        font-size: 31px
    }

    .profile-articles {
        display: block
    }

    .form-row {
        display: block
    }

    .form-row label+label {
        margin-top: 18px
    }

    .pending-item,
    .pending-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 15px
    }

    .footer-bottom {
        gap: 12px
    }

    .footer-bottom span:last-child {
        text-align: right
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

.lead-copy h1,
.article-top h1,
.empty-panel h1 {
    overflow-wrap: break-word
}

.lead-image {
    background: var(--surface-2)
}

.lead-image>img {
    font-size: 0
}

.lead-image>img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--surface-2)
}

.card-media {
    background: var(--surface-2)
}

.lead-layout {
    min-height: 440px
}

.lead-copy {
    padding-top: 42px
}

.lead-copy h1 {
    font-size: clamp(38px, 4vw, 57px);
    letter-spacing: 0;
    line-height: 1.16
}

.lead-image {
    min-height: 420px
}

@media(max-width:500px) {
    .lead-copy h1 {
        font-size: 35px;
        line-height: 1.17;
        letter-spacing: 0
    }

    .lead-copy h1 em {
        letter-spacing: 0
    }

    .lead-copy>p {
        max-width: 100%
    }

    .header-account {
        font-size: 11px
    }

    .lead-image {
        aspect-ratio: 1.6
    }

    .ticker-track {
        gap: 28px
    }
}

@media(max-width:760px) {
    .lead-layout {
        min-height: 0
    }

    .lead-copy {
        padding-top: 0
    }

    .lead-image {
        min-height: 0
    }

    .lead-copy h1 {
        font-size: 37px
    }
}

@media(max-width:500px) {
    .lead-copy h1 {
        font-size: 29px
    }
}

@media(max-width:500px) {
    .lead-image {
        aspect-ratio: 1.9
    }

    .lead-band {
        padding-bottom: 23px
    }

    .ticker-band {
        min-height: 48px
    }

    .content-section {
        padding-top: 36px
    }
}

.pending-item>div:first-child {
    min-width: 0;
    flex: 1
}

.pending-item details {
    margin-top: 13px;
    font-size: 12px
}

.pending-item summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: 800
}

.pending-body {
    max-width: 650px;
    padding: 10px 0;
    line-height: 1.75
}

.pending-body p {
    font-size: 13px;
    margin: 0 0 12px;
    color: var(--text)
}

.pending-item details a {
    color: var(--accent);
    font-weight: 800
}

.user-access {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 140px minmax(220px, 2fr) auto;
    align-items: center;
    gap: 17px;
    border-top: 1px solid var(--line);
    padding: 16px 0
}

.user-access>div:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.user-access strong {
    font-size: 12px
}

.user-access small {
    color: var(--muted);
    font-size: 10px;
    overflow-wrap: anywhere
}

.user-access select {
    border: 1px solid var(--line);
    min-height: 38px;
    padding: 5px 8px;
    font-size: 12px
}

.category-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px
}

.category-checks label {
    white-space: nowrap;
    font-size: 11px;
    color: var(--muted)
}

.category-checks input {
    accent-color: var(--accent);
    margin-right: 4px
}

.user-access .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 11px
}

@media(max-width:900px) {
    .user-access {
        grid-template-columns: 1fr 150px
    }

    .category-checks {
        grid-column: 1/-1
    }

    .user-access .button {
        grid-column: 2;
        grid-row: 2
    }
}

@media(max-width:500px) {
    .user-access {
        grid-template-columns: 1fr 120px;
        gap: 10px
    }

    .category-checks {
        grid-column: 1/-1
    }

    .user-access .button {
        grid-column: 1/-1;
        grid-row: auto
    }
}