.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-brand);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.hero {
    position: relative;
    background: #1a1a1a;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 3;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px 100px;
    width: 100%;
}

.hero-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    max-width: 700px;
    line-height: 1.6;
}

.hero-sub {
    font-size: 18px;
    color: #ccc;
    max-width: 560px;
    margin: 0 0 36px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta-wrap {
    display: flex;
    justify-content: flex-start;
}

.hero .btn {
    font-size: 16px;
    padding: 14px 36px;
}

.diagonal-section {
    position: relative;
    background: #f3f3f3;
    padding: 80px 0 60px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-bottom: -20px;
}

.section-intro {
    padding: 70px 0 50px;
    background: #fff;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.6;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 40px;
    line-height: 1.6;
    font-weight: 400;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-head-text {
    flex: 1;
}

.section-accent-line {
    height: 4px;
    width: 48px;
    background: var(--color-brand);
    margin-bottom: 14px;
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 0;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

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

.article-card-img {
    overflow: hidden;
    height: 220px;
    background: #e0e0e0;
}

.article-card.featured-card .article-card-img {
    height: 100%;
    min-height: 280px;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.03);
}

.article-card-body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
}

.article-card.featured-card .article-card-body {
    padding: 28px 28px 24px;
    justify-content: center;
}

.card-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-brand);
    margin-bottom: 8px;
    font-family: var(--font-main);
}

.article-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.6;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.article-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-top: auto;
}

.card-meta-sep {
    width: 3px;
    height: 3px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.card-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-read-time svg {
    color: var(--color-brand);
}

.articles-secondary {
    padding: 60px 0 70px;
    background: #f8f8f8;
}

.articles-secondary::before {
    content: '';
    display: block;
    height: 40px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    margin-bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.articles-secondary-wrapper {
    position: relative;
    padding-top: 40px;
}

.articles-secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 7px 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: var(--text-dark);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
    line-height: 1.6;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
}

.categories-section {
    padding: 60px 0;
    background: #1a1a1a;
}

.categories-section .section-title,
.categories-section .section-sub {
    color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.cat-card {
    background: #252525;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #333;
    transition: border-color 0.2s, background-color 0.2s;
    text-decoration: none;
    display: block;
}

.cat-card:hover {
    border-color: var(--color-brand);
    background: #2e2e2e;
    text-decoration: none;
}

.cat-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    color: var(--color-brand);
}

.cat-card-icon svg {
    width: 44px;
    height: 44px;
}

.cat-card-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.6;
}

.cat-card-count {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 400;
    line-height: 1.6;
}

.newsletter-section {
    background: var(--color-brand);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -60px;
    width: 320px;
    height: 320px;
    border: 60px solid rgba(255,255,255,0.07);
    border-radius: 50%;
}

.newsletter-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.newsletter-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.6;
}

.newsletter-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 28px;
    line-height: 1.6;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 13px 18px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    line-height: 1.6;
}

.newsletter-form input[type="email"]::placeholder {
    color: #999;
}

.newsletter-form button {
    background: var(--color-cta);
    color: #1a1a1a;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, box-shadow 0.2s;
    line-height: 1.6;
}

.newsletter-form button:hover {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.newsletter-note {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.stats-strip {
    background: #fff;
    padding: 48px 0;
    border-bottom: 1px solid #e8e8e8;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    border-right: 1px solid #e8e8e8;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.6;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

.diagonal-red {
    background: var(--color-brand);
    padding: 56px 0;
    clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
    margin: 20px 0;
}

.diagonal-red .section-title {
    color: #fff;
}

.diagonal-red p {
    color: rgba(255,255,255,0.9);
}

.about-strip {
    padding: 64px 0;
    background: #fff;
}

.about-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.about-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-brand);
}

.about-text .section-accent-line {
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px;
    line-height: 1.6;
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
    font-weight: 400;
}

.article-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-img-placeholder svg {
    opacity: 0.3;
    color: #999;
}

[data-filter] {
    display: block;
}

[data-filter].hidden {
    display: none;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .article-card.featured-card {
        grid-column: span 1;
        display: block;
    }

    .article-card.featured-card .article-card-img {
        height: 220px;
        min-height: unset;
    }

    .about-strip-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-img img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 420px;
    }

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

    .hero-sub {
        font-size: 16px;
    }

    .hero-content {
        padding: 56px 20px 80px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .articles-secondary-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid #e8e8e8;
        border-top: 1px solid #e8e8e8;
    }

    .stat-item:nth-child(4) {
        border-top: 1px solid #e8e8e8;
    }

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

    .diagonal-section {
        clip-path: none;
        padding: 60px 0 40px;
    }

    .filters-bar {
        gap: 8px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-num {
        font-size: 28px;
    }

    .newsletter-section h2 {
        font-size: 22px;
    }
}