@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-1: #080808;
    --dark-2: #0f0f0f;
    --dark-3: #1a1a1a;
    --dark-4: #242424;
    --text-primary: #f0ece4;
    --text-secondary: #a89f8c;
    --text-muted: #5a5248;
    --border: #1e1b17;
    --border-warm: #2a2520;
    --accent: #d4d4d4;
    --accent-dim: #787878;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.35;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ─── HEADER ─── */
header {
    padding: clamp(20px, 4vw, 36px) 0 0;
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(14px, 2.5vw, 24px);
    flex-wrap: wrap;
    gap: 12px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(26px, 4vw, 34px);
    height: clamp(26px, 4vw, 34px);
    flex-shrink: 0;
    animation: pulse 3s ease-in-out infinite;
}

.logo-icon svg { width: 100%; height: 100%; }
.logo-icon svg path { stroke: var(--accent); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    flex-wrap: wrap;
}

.header-date {
    font-size: clamp(0.688rem, 1.5vw, 0.8rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

/* ─── SEARCH ─── */
.search-wrapper {
    position: relative;
}

.search-input {
    background: var(--dark-2);
    border: 1px solid var(--border-warm);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    padding: 9px 38px 9px 14px;
    width: clamp(160px, 22vw, 260px);
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.search-input:focus {
    border-color: var(--accent-dim);
    background: var(--dark-3);
    box-shadow: 0 0 0 1px var(--accent-dim);
}

.search-icon {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-icon svg {
    width: 15px;
    height: 15px;
    display: block;
}

.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

/* ─── THIN RULE HEADER BOTTOM ─── */
.header-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.header-rule::before,
.header-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-warm);
}

.header-rule-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

/* ─── HERO SECTION ─── */
.hero-section {
    padding: clamp(40px, 7vw, 80px) 0 clamp(30px, 5vw, 60px);
    border-bottom: 1px solid var(--border-warm);
    margin-bottom: clamp(40px, 6vw, 70px);
    display: none;
}

.hero-section.visible {
    display: block;
}

.hero-label {
    font-size: 0.65rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: clamp(14px, 2.5vw, 22px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-label::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: end;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-main-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-main-title:hover {
    color: var(--accent);
}

.hero-summary {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.75;
    margin-bottom: clamp(18px, 3vw, 28px);
    max-width: 480px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 1px solid var(--accent-dim);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
}

.hero-read-btn:hover {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
}

.hero-read-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.hero-read-btn:hover svg {
    transform: translateX(3px);
}

.hero-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border-warm);
    padding-left: clamp(20px, 4vw, 48px);
}

.hero-secondary-item {
    padding: clamp(16px, 2.5vw, 24px) 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.hero-secondary-item:last-child { border-bottom: none; }

.hero-secondary-item::before {
    content: '';
    position: absolute;
    left: calc(-1px - clamp(20px, 4vw, 48px));
    top: 0;
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
}

.hero-secondary-item:hover::before { height: 100%; }

.hero-secondary-item:hover .hero-sec-title {
    color: var(--accent);
}

.hero-sec-num {
    font-size: 0.6rem;
    color: var(--accent-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}

.hero-sec-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.25s ease;
    margin-bottom: 8px;
}

.hero-sec-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ─── SECTION HEADING ─── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    font-style: italic;
    white-space: nowrap;
}

.section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-warm);
}

/* ─── MAIN ─── */
main {
    padding: clamp(30px, 5vw, 50px) 0 clamp(50px, 8vw, 90px);
}

/* ─── ARTICLES GRID ─── */

/* ─── ARTICLE CARD ─── */
.article-card {
    background: var(--dark-1);
    padding: clamp(24px, 4vw, 38px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(200, 169, 110, 0.03) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover::after { opacity: 1; }

.article-card:hover {
    background: var(--dark-2);
    z-index: 1;
}

.card-index {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: clamp(12px, 2vw, 18px);
    font-weight: 500;
}

.article-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    margin-bottom: clamp(10px, 1.5vw, 14px);
    color: var(--text-primary);
    line-height: 1.35;
    font-weight: 700;
    transition: color 0.25s ease;
}

.article-card:hover h2 {
    color: var(--accent);
}

.article-card .summary {
    color: var(--text-secondary);
    margin-bottom: clamp(18px, 3vw, 26px);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.75;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
    font-size: clamp(0.65rem, 1.3vw, 0.75rem);
    color: var(--text-muted);
    padding-top: clamp(14px, 2vw, 20px);
    border-top: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'DM Sans', sans-serif;
    flex-wrap: wrap;
}

.meta-divider { color: var(--border-warm); }

/* ─── SKELETON ─── */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: clamp(30px, 6vw, 60px);
}

.skeleton-card {
    background: var(--dark-1);
    padding: clamp(24px, 4vw, 38px);
}

.skeleton-title {
    height: clamp(22px, 3vw, 28px);
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: clamp(10px, 2vw, 14px);
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-text {
    height: clamp(14px, 1.8vw, 17px);
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: clamp(7px, 1.2vw, 10px);
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-text:last-of-type { width: 65%; }

.skeleton-footer {
    height: 13px;
    background: var(--dark-3);
    border-radius: 2px;
    margin-top: clamp(14px, 2vw, 20px);
    width: 45%;
    animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.65; }
}

/* ─── HERO SKELETON ─── */
.skeleton-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-warm);
    margin-bottom: 60px;
}

.skeleton-hero-title {
    height: 64px;
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: 16px;
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-hero-title.narrow { height: 48px; width: 75%; }

/* ─── ARTICLE PAGE ─── */
.article-header {
    padding: clamp(15px, 3vw, 30px) 0 0;
}

.article-page {
    max-width: 820px;
    padding-top: clamp(40px, 7vw, 80px);
    padding-bottom: clamp(50px, 8vw, 100px);
}

.article-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: clamp(20px, 3vw, 32px);
    line-height: 1.15;
    color: var(--text-primary);
    font-weight: 900;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.1s forwards;
}

.article-page h1 em {
    font-style: italic;
    color: var(--accent);
}

.article-page .article-meta {
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-bottom: 0;
    border: none;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.25s forwards;
}

.article-divider {
    height: 1px;
    background: linear-gradient(to right, var(--accent-dim), var(--border), transparent);
    margin-bottom: clamp(32px, 5vw, 56px);
    opacity: 0;
    animation: fadeUp 0.5s ease 0.35s forwards;
}

.article-page #article-body {
    opacity: 0;
    animation: fadeUp 0.7s ease 0.45s forwards;
}

.article-page #article-body p {
    margin-bottom: clamp(20px, 3vw, 30px);
    font-size: clamp(1rem, 2.3vw, 1.15rem);
    line-height: 1.95;
    color: #c8c0b4;
}

.article-page #article-body p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 0.8;
    float: left;
    margin: clamp(6px, 1vw, 10px) clamp(12px, 2vw, 16px) 0 0;
    color: var(--accent);
}

.article-end-mark {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-dim);
    margin: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
    letter-spacing: 6px;
}

/* ─── SKELETON ARTICLE ─── */
.skeleton-article {
    max-width: 820px;
}

.skeleton-article-title {
    height: clamp(45px, 8vw, 72px);
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: clamp(20px, 3vw, 28px);
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-article-meta {
    height: 16px;
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: clamp(24px, 4vw, 40px);
    width: 38%;
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.skeleton-article-text {
    height: clamp(17px, 2.5vw, 22px);
    background: var(--dark-3);
    border-radius: 2px;
    margin-bottom: clamp(18px, 3vw, 26px);
    animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-article-text:nth-child(even) { width: 92%; }
.skeleton-article-text:nth-child(3n) { width: 85%; }

/* ─── BACK LINK ─── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(10px, 2vw, 13px) clamp(18px, 3vw, 26px);
    background: transparent;
    border: 1px solid var(--border-warm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.7rem, 1.4vw, 0.8rem);
}

.back-link svg {
    width: clamp(13px, 1.8vw, 16px);
    height: clamp(13px, 1.8vw, 16px);
    transition: transform 0.3s ease;
}

.back-link:hover {
    background: var(--text-primary);
    color: var(--black);
    border-color: var(--text-primary);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

/* ─── FOOTER ─── */
footer {
    background: var(--dark-1);
    padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 5vw, 48px);
    margin-top: clamp(40px, 8vw, 80px);
    border-top: 1px solid var(--border-warm);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.footer-brand-rule {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.footer-brand-rule::before,
.footer-brand-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-warm);
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-avatar-wrap {
    position: relative;
    width: clamp(64px, 10vw, 88px);
    height: clamp(64px, 10vw, 88px);
    margin-bottom: clamp(18px, 3vw, 28px);
}

.footer-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--border-warm);
    animation: footerPulse 3s ease-in-out infinite;
}

.footer-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

@keyframes footerPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

.footer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.footer-avatar:hover {
    filter: grayscale(0%);
}

.footer-creator-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.footer-creator-tag {
    font-size: clamp(0.65rem, 1.3vw, 0.75rem);
    color: var(--text-muted);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: clamp(20px, 3.5vw, 32px);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1px solid var(--border-warm);
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.footer-social-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    background: var(--dark-3);
}

.footer-social-link:hover svg {
    transform: scale(1.15);
}

.footer-social-link.yt:hover {
    border-color: #ff4444;
    color: #ff4444;
}

.footer-social-link.gh:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-copy {
    color: var(--text-muted);
    font-size: clamp(0.65rem, 1.3vw, 0.72rem);
    letter-spacing: 0.8px;
    padding-top: clamp(16px, 3vw, 24px);
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
}

.footer-divider { display: none; }
.footer-content { display: none; }
.footer-logo { display: none; }

/* ─── ERROR / LOADING ─── */
#loading, #error {
    text-align: center;
    padding: clamp(50px, 10vw, 100px) clamp(20px, 4vw, 40px);
    color: var(--text-secondary);
}

.loader {
    width: clamp(32px, 5vw, 44px);
    height: clamp(32px, 5vw, 44px);
    margin: 0 auto clamp(18px, 3vw, 28px);
    border: 1.5px solid var(--dark-4);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

#loading p, #error p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (min-width: 769px) and (max-width: 1100px) {
}

@media (min-width: 1101px) {
}

@media (max-width: 768px) {

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .search-input {
        width: 100%;
    }

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

    .hero-secondary-stack {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-warm);
        padding-top: 24px;
        flex-direction: row;
        overflow-x: auto;
        gap: 24px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hero-secondary-stack::-webkit-scrollbar { display: none; }

    .hero-secondary-item {
        min-width: 200px;
        border-bottom: none;
        border-right: 1px solid var(--border);
        padding-right: 24px;
    }

    .hero-secondary-item:last-child { border-right: none; }
    .hero-secondary-item::before { display: none; }
}

@media (max-width: 480px) {
    .article-card { padding: 22px; }
    .hero-section { padding: 32px 0 24px; }
}

/* ─── DATE SEPARATORS ─── */
.date-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: clamp(32px, 5vw, 52px) 0 clamp(18px, 3vw, 28px);
}

.date-separator-line {
    flex: 1;
    height: 1px;
    background: var(--border-warm);
}

.date-separator-label {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
    padding: 4px 10px;
    border: 1px solid var(--border-warm);
}

.articles-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1px;
    background: var(--black);
    border: 1px solid var(--border);
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

@media (min-width: 769px) and (max-width: 1100px) {
    .articles-group { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1101px) {
    .articles-group { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .articles-group { grid-template-columns: 1fr; }
}