:root {
    --bg: #f2f5f7;
    --surface: #ffffff;
    --ink: #16222e;
    --muted: #6b7a89;
    --line: #dfe6ec;
    --accent: #fe7502;
    --accent-dark: #d95f00;
    --navy: #102a43;
    --navy-soft: #1d4a63;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

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

.topline {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.topline__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    text-transform: uppercase;
}

.site-header {
    background: var(--navy);
    color: #fff;
    position: relative;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 0;
    position: relative;
    z-index: 3;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(254, 117, 2, 0.35);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand__text strong {
    font-size: 27px;
    letter-spacing: 0.02em;
}

.brand__text small {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.main-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 11px 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(254, 117, 2, 0.28), transparent 34%),
        linear-gradient(120deg, #0d2438 0%, #173f56 54%, #1f5b72 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    background:
        linear-gradient(135deg, transparent 18%, rgba(255, 255, 255, 0.06) 18% 22%, transparent 22% 38%, rgba(255, 255, 255, 0.05) 38% 43%, transparent 43%) 0 100% / 260px 92px repeat-x;
    pointer-events: none;
}

.hero__inner {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 64px;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 680px;
}

.hero__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: #ffc08a;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(40px, 5.6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 0 0 24px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

.hero__mark {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 110px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 10px;
    border: 0;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(254, 117, 2, 0.32);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding: 34px 0 54px;
    align-items: start;
}

.content-column {
    min-width: 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
}

.section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.01em;
}

.section-head h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 22px;
    background: var(--accent);
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: -3px;
}

.section-head__status {
    color: var(--muted);
    font-size: 12px;
}

.news-feed {
    min-height: 220px;
}

.lead-wrap {
    margin-bottom: 22px;
}

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

.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #cfdae3;
}

.news-card__image {
    display: block;
    background: #e8edf2;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.news-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.025);
}

.news-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__badge {
    align-self: flex-start;
    display: inline-block;
    background: #fff1e4;
    color: #b95400;
    border: 1px solid #ffd7b3;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.news-card__title {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
    color: var(--accent-dark);
}

.news-card__text {
    margin: 0 0 14px;
    color: #556574;
    font-size: 14px;
    line-height: 1.5;
}

.news-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.news-card__more {
    color: var(--accent-dark);
    font-weight: bold;
}

.news-card--lead {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 320px;
}

.news-card--lead .news-card__image {
    border-radius: var(--radius) 0 0 var(--radius);
}

.news-card--lead .news-card__image img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.news-card--lead .news-card__body {
    padding: 26px 28px;
    justify-content: center;
}

.news-card--lead .news-card__title {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.16;
}

.news-card--lead .news-card__text {
    font-size: 16px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
}

.widget h3 {
    margin: 0 0 14px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.widget h3::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 9px;
    background: var(--accent);
    border-radius: 2px;
}

.widget p {
    margin: 0 0 10px;
    color: #4f6070;
    font-size: 14px;
}

.latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: latest;
}

.latest-list li {
    counter-increment: latest;
    padding: 12px 0 12px 34px;
    border-top: 1px solid var(--line);
    position: relative;
}

.latest-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.latest-list li::before {
    content: counter(latest);
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #eef3f6;
    color: #476070;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: bold;
}

.latest-list li:first-child::before {
    top: 0;
    background: var(--accent);
    color: #fff;
}

.latest-list a {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: bold;
}

.latest-list a:hover {
    color: var(--accent-dark);
}

.latest-list span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f8;
    color: #4c6272;
    font-size: 12px;
}

.tag b {
    color: var(--accent-dark);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 16px;
}

.breadcrumbs a:hover {
    color: var(--accent-dark);
}

.article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 38px 42px;
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.02);
}

.article h1 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.13;
    letter-spacing: -0.02em;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.article-body {
    font-size: 18px;
    line-height: 1.68;
    color: #263746;
}

.article-body::after {
    content: "";
    display: table;
    clear: both;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body h2 {
    margin: 28px 0 12px;
    font-size: 26px;
    line-height: 1.2;
}

.article-body h3 {
    margin: 24px 0 10px;
    font-size: 21px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 22px 0;
    padding: 14px 20px;
    border-left: 4px solid var(--accent);
    background: #fff8f1;
    color: #435564;
    font-style: italic;
}

.article-body strong,
.article-body b {
    color: #16222e;
}

.article-img {
    margin: 6px 22px 20px 0;
    max-width: 44%;
    float: left;
    border-radius: 12px;
    overflow: hidden;
    background: #e8edf2;
    box-shadow: var(--shadow);
}

.article-img--right {
    float: right;
    margin: 6px 0 20px 22px;
}

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

.empty-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 44px 28px;
    text-align: center;
}

.empty-state__icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff1e4;
    color: var(--accent-dark);
    font-size: 26px;
    font-weight: bold;
}

.empty-state h1,
.empty-state h2 {
    margin: 0 0 10px;
}

.empty-state p {
    color: var(--muted);
    margin: 0 auto 22px;
    max-width: 420px;
}

.skeleton {
    display: grid;
    gap: 10px;
    max-width: 520px;
    margin: 22px auto 0;
}

.skeleton span {
    display: block;
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #eef2f5 25%, #e2e9ee 50%, #eef2f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.skeleton span:nth-child(2) {
    width: 86%;
    margin: 0 auto;
}

.skeleton span:nth-child(3) {
    width: 64%;
    margin: 0 auto;
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding: 38px 0 30px;
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    display: block;
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

.site-footer p {
    margin: 0 0 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    text-align: right;
    font-size: 13px;
}

.site-footer .muted {
    color: rgba(255, 255, 255, 0.48);
}

:focus-visible {
    outline: 3px solid rgba(254, 117, 2, 0.55);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .main-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 22px;
    }

    .news-card--lead {
        grid-template-columns: 1fr;
    }

    .news-card--lead .news-card__image {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .news-card--lead .news-card__image img {
        min-height: 260px;
        height: 260px;
    }

    .article {
        padding: 28px 26px 34px;
    }

    .hero__mark {
        width: 150px;
        height: 150px;
        font-size: 76px;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, 680px);
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 10px;
        background: #0d2438;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 14px;
        border-radius: 8px;
    }

    .main-layout {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

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

    .widget:first-child {
        grid-row: span 2;
    }

    .hero__inner {
        min-height: 250px;
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .hero__mark {
        display: none;
    }

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

    .footer-copy {
        grid-column: 1 / -1;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
    }
}

@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card__image img {
        height: 210px;
    }

    .news-card--lead .news-card__body {
        padding: 20px;
    }

    .article {
        padding: 22px 18px 28px;
    }

.article__views {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.article__views strong {
    color: var(--ink);
    font-weight: 700;
}

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

    .article-img,
    .article-img--right {
        float: none;
        max-width: 100%;
        margin: 0 0 18px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .widget:first-child {
        grid-row: auto;
    }

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

    .topline__inner {
        font-size: 10px;
    }

    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 420px) {
    .brand__text strong {
        font-size: 23px;
    }

    .brand__logo {
        width: 42px;
        height: 42px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .news-card__image img {
        height: 190px;
    }
}

.article-head-wrap {
    padding-top: 28px;
}

.article-head {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px 24px;
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.02);
}

.article-head h1 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.13;
    letter-spacing: -0.02em;
}

.article-head .article__meta {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.article-hero {
    margin: 0 0 26px;
    padding: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #e8edf2;
    box-shadow: var(--shadow);
}

.article-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.article--body {
    padding-top: 30px;
}

.article__views {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.article__views strong {
    color: var(--ink);
    font-weight: 700;
}

.button--ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: #f1f5f8;
    border-color: #cfdae3;
}

.button--small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
}

.archive-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff8f1;
    border: 1px solid #ffd7b3;
    border-radius: 10px;
    color: #7a4a20;
    font-size: 14px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    color: #476070;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination__link:hover,
.pagination__link:focus-visible {
    border-color: #cfdae3;
    background: #f1f5f8;
}

.pagination__link.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: bold;
}

.pagination__dots {
    color: var(--muted);
    padding: 0 4px;
}

.date-archive {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.date-archive__label {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 8px;
}

.date-archive__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.date-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: #476070;
    font-size: 12px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.date-chip:hover,
.date-chip:focus-visible {
    border-color: #cfdae3;
    background: #f1f5f8;
}

.date-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.news-card__admin {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.admin-btn {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7fafc;
    color: #334a5c;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-btn:hover,
.admin-btn:focus-visible {
    background: #eef3f6;
    border-color: #cfdae3;
}

.admin-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.admin-btn--delete:hover,
.admin-btn--delete:focus-visible {
    background: #fff1f0;
    border-color: #ffc9c4;
    color: #b42318;
}

.admin-btn--generate:hover,
.admin-btn--generate:focus-visible {
    background: #fff1e4;
    border-color: #ffd7b3;
    color: var(--accent-dark);
}

.admin-btn::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 30;
    max-width: 240px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3px);
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.24);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.admin-btn:last-child::after {
    left: auto;
    right: 0;
}

.admin-btn:hover::after,
.admin-btn:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-card,
.admin-panel {
    max-width: 520px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px 34px;
    box-shadow: var(--shadow);
}

.admin-panel {
    max-width: 760px;
}

.auth-card h1,
.admin-panel h1 {
    margin: 14px 0 10px;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-card p,
.admin-panel p {
    color: #4f6070;
    font-size: 15px;
}

.auth-form {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.auth-form label {
    font-size: 13px;
    font-weight: bold;
    color: #334a5c;
}

.auth-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(254, 117, 2, 0.15);
}

.auth-form .button {
    margin-top: 10px;
}

.form-error {
    margin: 16px 0 0;
    padding: 10px 12px;
    border: 1px solid #ffc9c4;
    border-radius: 9px;
    background: #fff1f0;
    color: #b42318;
    font-size: 14px;
}

.admin-panel__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.admin-panel__actions form {
    margin: 0;
}

code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #eef3f6;
    color: #334a5c;
    font-size: 0.92em;
}

@media (max-width: 780px) {
    .article-head {
        padding: 22px 20px 20px;
    }

    .article-hero {
        margin-bottom: 20px;
    }

    .date-archive {
        flex-direction: column;
        gap: 6px;
    }

    .date-archive__label {
        padding-top: 0;
    }

    .date-archive__list {
        width: 100%;
    }
}
