:root {
    --article-navy: #063653;
    --article-blue: #0a7fc4;
    --article-teal: #0997a7;
    --article-orange: #f37021;
    --article-green: #3a965d;
    --article-ink: #182635;
    --article-muted: #5d7080;
    --article-line: #dce8ee;
    --article-soft: #eef6fa;
    --article-white: #ffffff;
}

.gtec-articles,
.gtec-article-detail {
    background: #f2f7fa;
    color: var(--article-ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.gtec-articles {
    padding: 72px 0 90px;
}

.gtec-articles-hero,
.gtec-article-detail-hero,
.gtec-article-layout,
.gtec-article-filters,
.gtec-article-grid,
.gtec-articles-cta {
    width: min(1540px, calc(100% - 80px));
    margin-right: auto;
    margin-left: auto;
}

.gtec-articles-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
    align-items: stretch;
    padding: 54px;
    border-radius: 8px;
    background:
        linear-gradient(105deg, rgba(6, 54, 83, 0.96) 0%, rgba(6, 54, 83, 0.82) 52%, rgba(9, 151, 167, 0.48) 100%),
        url("/Blog/BaseB.jpg") center / cover no-repeat;
    color: var(--article-white);
}

.gtec-articles-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(3rem, 5vw, 6.4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0;
}

.gtec-article-detail-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(2.8rem, 3.9vw, 4.9rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: 0;
}

.gtec-articles-hero p,
.gtec-article-detail-hero p {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.7rem;
    font-weight: 650;
    line-height: 1.45;
}

.gtec-articles-hero__panel {
    align-self: end;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.gtec-articles-hero__panel span {
    display: block;
    color: var(--article-orange);
    font-size: 4.6rem;
    font-weight: 950;
    line-height: 1;
}

.gtec-articles-hero__panel strong {
    display: block;
    margin-top: 8px;
    font-size: 1.55rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gtec-articles-hero__panel p {
    margin-top: 18px;
    font-size: 1.25rem;
}

.gtec-article-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.gtec-article-filters a,
.gtec-article-area-list a,
.gtec-article-share a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--article-line);
    border-radius: 8px;
    background: var(--article-white);
    color: var(--article-navy);
    font-weight: 900;
    text-decoration: none;
}

.gtec-article-filters a.is-active,
.gtec-article-area-list a.is-active,
.gtec-article-share a:hover,
.gtec-article-share a:focus {
    border-color: var(--article-blue);
    background: var(--article-blue);
    color: var(--article-white);
}

.gtec-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.gtec-article-card {
    overflow: hidden;
    border: 1px solid var(--article-line);
    border-radius: 8px;
    background: var(--article-white);
    box-shadow: 0 18px 45px rgba(6, 54, 83, 0.08);
}

.gtec-article-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: var(--article-white);
}

.gtec-article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
    transform: scale(1.01);
}

.gtec-article-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(6, 54, 83, 0.08), rgba(6, 54, 83, 0.72));
}

.gtec-article-card__media span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--article-orange);
    color: var(--article-white);
    font-size: 0.95rem;
    font-weight: 950;
    text-transform: uppercase;
}

.gtec-article-card__body {
    padding: 24px;
}

.gtec-article-card h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 950;
    line-height: 1.08;
}

.gtec-article-card h2 a {
    color: var(--article-ink);
    text-decoration: none;
}

.gtec-article-card p {
    margin: 18px 0 0;
    color: var(--article-muted);
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.55;
}

.gtec-article-card__link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--article-blue);
    font-weight: 950;
    text-decoration: none;
}

.gtec-articles-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-top: 46px;
    padding: 34px;
    border-radius: 8px;
    background: var(--article-white);
    box-shadow: 0 18px 45px rgba(6, 54, 83, 0.08);
}

.gtec-articles-cta h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.9rem);
    font-weight: 950;
    line-height: 1.04;
}

.gtec-article-empty {
    grid-column: 1 / -1;
    padding: 40px;
    border: 1px solid var(--article-line);
    border-radius: 8px;
    background: var(--article-white);
}

.gtec-article-empty h2 {
    max-width: 720px;
    margin: 0 0 22px;
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 950;
    line-height: 1.04;
}

.gtec-article-detail {
    padding-bottom: 90px;
}

.gtec-article-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 44px;
    align-items: center;
    padding: 72px 0 54px;
}

.gtec-article-detail-hero h1,
.gtec-article-detail-hero p {
    color: var(--article-ink);
}

.gtec-article-detail-hero p {
    color: var(--article-muted);
}

.gtec-article-detail-hero figure {
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    background: var(--article-white);
    box-shadow: 0 20px 52px rgba(6, 54, 83, 0.18);
}

.gtec-article-detail-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
}

.gtec-article-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.gtec-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.gtec-article-paper,
.gtec-article-sidebar section {
    border: 1px solid var(--article-line);
    border-radius: 8px;
    background: var(--article-white);
    box-shadow: 0 18px 45px rgba(6, 54, 83, 0.07);
}

.gtec-article-paper {
    padding: clamp(28px, 5vw, 64px);
}

.gtec-article-paper__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.gtec-article-paper__meta span {
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--article-soft);
    color: var(--article-navy);
    font-weight: 900;
}

.gtec-article-paper__meta a {
    color: var(--article-blue);
}

.gtec-article-body {
    color: var(--article-ink);
    font-size: 1.2rem;
    font-weight: 520;
    line-height: 1.75;
}

.gtec-article-body h1,
.gtec-article-body h2,
.gtec-article-body h3 {
    margin: 1.6em 0 0.55em;
    color: var(--article-ink);
    font-weight: 950;
    line-height: 1.08;
}

.gtec-article-body h1 {
    font-size: 2.4rem;
}

.gtec-article-body h2 {
    font-size: 2rem;
}

.gtec-article-body h3 {
    font-size: 1.65rem;
}

.gtec-article-body p,
.gtec-article-body ul,
.gtec-article-body ol {
    margin-bottom: 1.15em;
}

.gtec-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.gtec-article-body a {
    color: var(--article-blue);
    font-weight: 850;
}

.gtec-article-sidebar {
    display: grid;
    gap: 18px;
}

.gtec-article-sidebar section {
    padding: 24px;
}

.gtec-article-sidebar h2 {
    margin: 0 0 16px;
    color: var(--article-ink);
    font-size: 1.18rem;
    font-weight: 950;
    text-transform: uppercase;
}

.gtec-article-side-list,
.gtec-article-area-list,
.gtec-article-share {
    display: grid;
    gap: 10px;
}

.gtec-article-side-list a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--article-line);
    border-radius: 8px;
    color: var(--article-ink);
    font-weight: 850;
    text-decoration: none;
}

.gtec-article-side-list a.is-active,
.gtec-article-side-list a:hover,
.gtec-article-side-list a:focus {
    border-color: var(--article-blue);
    background: var(--article-soft);
    color: var(--article-blue);
}

@media (max-width: 1050px) {
    .gtec-articles-hero,
    .gtec-article-detail-hero,
    .gtec-article-layout {
        grid-template-columns: 1fr;
    }

    .gtec-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gtec-articles-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .gtec-articles-hero,
    .gtec-article-detail-hero,
    .gtec-article-layout,
    .gtec-article-filters,
    .gtec-article-grid,
    .gtec-articles-cta {
        width: min(100% - 28px, 1540px);
    }

    .gtec-articles {
        padding-top: 34px;
    }

    .gtec-articles-hero {
        padding: 28px;
    }

    .gtec-articles-hero h1 {
        font-size: 3.1rem;
    }

    .gtec-article-detail-hero h1 {
        font-size: 2.65rem;
    }

    .gtec-articles-hero p,
    .gtec-article-detail-hero p {
        font-size: 1.35rem;
    }

    .gtec-article-grid {
        grid-template-columns: 1fr;
    }

    .gtec-article-detail-hero {
        padding: 40px 0 28px;
    }

    .gtec-article-body {
        font-size: 1.08rem;
    }
}
