/*
Theme Name: TechHub
Text Domain: techhub
Version: 1.0.0
Description: Technology editorial homepage theme rebuilt from the TechHub HTML reference.
*/

:root {
    --techhub-bg: #f5f7fb;
    --techhub-surface: #ffffff;
    --techhub-surface-2: #eef2f8;
    --techhub-border: #dbe2ec;
    --techhub-text: #111827;
    --techhub-muted: #627086;
    --techhub-primary: #2563eb;
    --techhub-primary-2: #7c3aed;
    --techhub-accent: #f97316;
    --techhub-danger: #ef4444;
    --techhub-card-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --techhub-radius: 24px;
    --techhub-radius-sm: 18px;
    --techhub-container: min(1280px, calc(100% - 32px));
    --techhub-header-height: 76px;
    --techhub-hero-height: 650px;
    --techhub-news-promo-bg-left: #ecefef;
    --techhub-news-promo-bg-right: #f6f7f9;
    --techhub-news-promo-title: #2f3345;
    --techhub-news-promo-body: #5f6d82;
    --techhub-news-promo-link: #6f7a8d;
    --techhub-news-promo-muted: #8a94a6;
    --techhub-news-promo-accent: #00bcd4;
}

html.dark {
    --techhub-bg: #0b1220;
    --techhub-surface: #121b2d;
    --techhub-surface-2: #1a2438;
    --techhub-border: #243149;
    --techhub-text: #e8eefb;
    --techhub-muted: #98a7c0;
    --techhub-primary: #60a5fa;
    --techhub-primary-2: #a78bfa;
    --techhub-accent: #fb923c;
    --techhub-card-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    --techhub-news-promo-bg-left: #121b2d;
    --techhub-news-promo-bg-right: #0b1220;
    --techhub-news-promo-title: #e8eefb;
    --techhub-news-promo-body: #b4c1d5;
    --techhub-news-promo-link: #c4d2e6;
    --techhub-news-promo-muted: #9eaec5;
    --techhub-news-promo-accent: #58d0e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--techhub-text);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 24%),
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 28%),
        var(--techhub-bg);
}
a { 
    color: inherit; 
    text-decoration: none; 
}
html.dark a {
    color: #fff;
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

.screen-reader-text { position: absolute; left: -9999px; }
.techhub-home-hidden-h1 {
    position: absolute;
    top: -9999px;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.techhub-shell { min-height: 100vh; transition: background-color 0.3s ease, color 0.3s ease; }
.techhub-container { width: var(--techhub-container); margin: 0 auto; }

.techhub-lazy-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 0.68s ease,
        transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}

.techhub-lazy-reveal--left {
    transform: translate3d(-34px, 0, 0);
}

.techhub-lazy-reveal--right {
    transform: translate3d(34px, 0, 0);
}

.techhub-lazy-reveal--zoom {
    transform: translate3d(0, 18px, 0) scale(0.94);
}

.techhub-lazy-reveal--pop {
    transform: translate3d(0, 20px, 0) scale(0.97);
}

.techhub-lazy-reveal.is-lazy-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.techhub-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--techhub-surface) 92%, transparent);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.techhub-header__inner {
    min-height: var(--techhub-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.techhub-brand,
.techhub-header__actions,
.techhub-header__search { display: flex; align-items: center; }

.techhub-brand { gap: 12px; flex-shrink: 0; }
.techhub-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 160px;
}
.techhub-brand__logo img {
    display: block;
    max-height: 38px;
    width: auto;
    max-width: 100%;
}
.techhub-nav { display: flex; align-items: center; }
.techhub-nav--desktop { margin-left: 8px; }
.techhub-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.techhub-menu li {
    position: relative;
}

.techhub-menu a {
    display: inline-flex;
    align-items: center;
    color: var(--techhub-text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
}

.techhub-menu--desktop > li > a {
    position: relative;
    padding-bottom: 4px;
}

.techhub-menu--desktop > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--techhub-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.techhub-menu--desktop > li:hover > a::after,
.techhub-menu--desktop > li:focus-within > a::after {
    transform: scaleX(1);
}

.techhub-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    min-width: 220px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    background: var(--techhub-surface);
    border: 1px solid var(--techhub-border);
    box-shadow: var(--techhub-card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.techhub-menu .sub-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
}

.techhub-menu .menu-item-has-children:hover > .sub-menu,
.techhub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.techhub-submenu-toggle {
    display: none;
}

.techhub-brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--techhub-primary), var(--techhub-primary-2));
    color: #fff;
    font-weight: 800;
}
.techhub-brand__title { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em; }

.techhub-header__search {
    flex: 1 1 auto;
    max-width: 420px;
    gap: 10px;
    padding: 12px 14px;
    background: var(--techhub-surface-2);
}

.techhub-header__search svg,
.techhub-meta svg,
.techhub-list-meta svg { width: 18px; height: 18px; color: var(--techhub-muted); }

.techhub-header__search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--techhub-text);
    outline: none;
}

.techhub-header__actions { gap: 10px; }

.techhub-icon-button,
.techhub-button,
.techhub-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: var(--techhub-surface);
    color: var(--techhub-text);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.techhub-icon-button:hover,
.techhub-button:hover,
.techhub-menu-toggle:hover { transform: translateY(-1px); }

.techhub-icon-button,
.techhub-menu-toggle { width: 42px; height: 42px; padding: 0; }
.techhub-button { min-height: 42px; padding: 0 16px; font-weight: 600; }

.techhub-button--primary {
    background: linear-gradient(135deg, var(--techhub-primary), var(--techhub-primary-2));
    color: #fff;
}

.techhub-button--ghost {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(8px);
}

.techhub-menu-toggle { display: none; }
.techhub-search-toggle { display: none; }
.techhub-search-toggle svg {
    width: 18px;
    height: 18px;
}
.techhub-mobile-search {
    display: none;
    padding: 0 0 12px;
}
.techhub-mobile-search.is-open {
    display: block;
}
.techhub-mobile-panel { display: none; padding: 0 0 18px; }
.techhub-mobile-panel.is-open { display: grid; gap: 12px; }
.techhub-mobile-panel .techhub-header__search { max-width: none; }
.techhub-nav--mobile {
    display: none;
}
.techhub-main section { padding: 34px 0; }
/* .techhub-hero { padding-top: 22px; } */
.techhub-hero .techhub-container {
    width: 100%;
    max-width: none;
}

.techhub-hero__slider {
    position: relative;
    height: var(--techhub-hero-height);
    overflow: hidden;
    width: 100%;
    background: #0f172a;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.techhub-hero-slide.is-active {
    position: absolute;
    opacity: 1;
    pointer-events: auto;
}

.techhub-hero-slide__media,
.techhub-hero-slide__media::after { position: absolute; inset: 0; }

.techhub-hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.techhub-hero-slide__media::after {
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.46) 48%, rgba(0, 0, 0, 0.1));
}

.techhub-hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 48px clamp(28px, 6vw, 140px);
}

.techhub-hero-slide__content-inner {
    max-width: min(640px, calc(100vw - clamp(56px, 12vw, 176px)));
    color: #fff;
}

.techhub-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 700;
}

.techhub-tag--hero { margin-bottom: 18px; background: rgba(37, 99, 235, 0.78); }
.techhub-tag--trend { background: rgba(239, 68, 68, 0.88); color: #fff; }

.techhub-hero-slide h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.techhub-hero-slide p { margin: 0 0 22px; font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); }

.techhub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.techhub-meta span,
.techhub-list-meta { display: inline-flex; align-items: center; gap: 8px; }

.techhub-hero-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.techhub-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    backdrop-filter: blur(8px);
}

.techhub-hero__slider:hover .techhub-hero__arrow { opacity: 1; }
.techhub-hero__arrow--prev { left: 18px; }
.techhub-hero__arrow--next { right: 18px; }

.techhub-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.techhub-hero__dot {
    width: 10px;
    height: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.techhub-hero__dot.is-active { width: 32px; background: var(--techhub-accent); }

.techhub-section__head { margin-bottom: 24px; }
.techhub-section__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--techhub-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.techhub-section__head h2,
.techhub-section__head h3,
.techhub-editorial h2,
.techhub-insights h2
{
    margin: 0 0 6px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
}


.techhub-section__head p { margin: 0; color: var(--techhub-muted); }

.techhub-categories__grid,
.techhub-latest__grid,
.techhub-partners__grid {
    display: grid;
    gap: 22px;
}

.techhub-categories__grid {
    grid-template-columns: 2.15fr 1.1fr 1.1fr;
    grid-template-areas:
        "lead feature stack-top"
        "lead feature stack-bottom";
    align-items: stretch;
}
.techhub-latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.techhub-partners__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.techhub-latest__grid .techhub-story-card:nth-child(n + 4) {
    display: none;
}

.techhub-category-card,
.techhub-story-card,
.techhub-side-list__item,
.techhub-rank-card,
.techhub-partner-card {
    border: 0;
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-category-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    color: #fff;
    isolation: isolate;
}

.techhub-category-card--xl { grid-area: lead; min-height: 452px; }
.techhub-category-card--lg { grid-area: feature; min-height: 452px; }
.techhub-category-card--sm:nth-of-type(3) { grid-area: stack-top; min-height: 215px; }
.techhub-category-card--sm:nth-of-type(4) { grid-area: stack-bottom; min-height: 215px; }

.techhub-category-card__media,
.techhub-category-card__overlay {
    position: absolute;
    inset: 0;
}

.techhub-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-category-card__overlay {
    background:
        linear-gradient(180deg, rgba(12, 15, 36, 0.02) 0%, rgba(17, 20, 52, 0.4) 42%, rgba(20, 16, 85, 0.92) 100%);
}

.techhub-category-card__content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 26px 28px 24px;
}

.techhub-category-card__content h3 {
    margin: 0 0 12px;
    max-width: 88%;
    font-size: 1.9rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.techhub-category-card--lg .techhub-category-card__content h3,
.techhub-category-card--sm .techhub-category-card__content h3 {
    font-size: 1.05rem;
    max-width: 92%;
    line-height: 1.18;
}

.techhub-category-card__content p {
    margin: 0 0 18px;
    max-width: 86%;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.techhub-category-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
}

.techhub-category-card__author-mark {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    background: #ffb000;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 800;
}

.techhub-category-card__score {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    min-width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    background: #0b1220;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.techhub-editorial {
    padding-top: 30px;
}

.techhub-editorial__grid,
.techhub-insights__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}

.techhub-editorial__grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 2.9fr) minmax(320px, 0.9fr);
    gap: 36px;
}

.techhub-editorial-feature {
    position: relative;
    align-self: start;
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
    overflow: hidden;
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-editorial-feature__media,
.techhub-editorial-feature__overlay {
    position: static;
}

.techhub-editorial-feature__media {
    order: 1;
}

.techhub-editorial-feature__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.techhub-editorial-feature__overlay {
    display: none !important;
}

.techhub-editorial-feature__content {
    order: 2;
    position: static !important;
    inset: auto !important;
    z-index: auto;
    padding: 18px 22px 22px;
    color: var(--techhub-text);
}

.techhub-editorial-feature__label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    background: #000;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1;
}

.techhub-editorial-feature__content h2,
.techhub-editorial-feature__content h3 {
    margin: 0 0 24px;
    max-width: 94%;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.28;
    letter-spacing: -0.04em;
}

.techhub-editorial-feature__date {
    color: var(--techhub-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* .techhub-editorial-sidebar {
    padding-top: 10px;
} */

.techhub-editorial-sidebar h2,
.techhub-editorial-sidebar h3 {
    margin: 0 0 6px;
    color: #363654;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

html.dark .techhub-editorial-sidebar h2,
html.dark .techhub-editorial-sidebar h3 {
    color: var(--techhub-text);
}

.techhub-editorial-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.techhub-editorial-list__item {
    display: grid;
    grid-template-columns: 172px 1fr;
    gap: 20px;
    align-items: center;
    padding: 26px 0;
    position: relative;
}

.techhub-editorial-list__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
}

.techhub-editorial-list__thumb {
    width: 172px;
    height: 108px;
    overflow: hidden;
}

.techhub-editorial-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-editorial-list__content h3,
.techhub-editorial-list__content h4 {
    margin: 0 0 10px;
    color: #56637c;
    font-size: 0.98rem;
    line-height: 1.48;
    font-weight: 500;
}

.techhub-editorial-list__content h3 a,
.techhub-editorial-list__content h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.techhub-editorial-list__meta {
    color: #9aa7bb;
    font-size: 0.92rem;
    line-height: 1.4;
}

.techhub-showcase {
    padding-top: 14px;
    --techhub-showcase-gap: 34px;
    --techhub-showcase-item-height: 148px;
}

.techhub-showcase__head {
    margin: 0 auto 44px;
    max-width: 1120px;
    text-align: center;
}

.techhub-showcase__head h2 {
    margin: 0;
    color: #3b3a58;
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}
html.dark .techhub-showcase__head h2 {
    color: var(--techhub-text);
}

.techhub-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.techhub-showcase__column {
    display: grid;
    gap: var(--techhub-showcase-gap);
}

.techhub-showcase__lead {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.techhub-showcase__column--left {
    grid-template-rows: calc(var(--techhub-showcase-item-height) * 2 + var(--techhub-showcase-gap)) var(--techhub-showcase-item-height);
}

.techhub-showcase__column--right {
    grid-template-rows: repeat(3, var(--techhub-showcase-item-height));
}

.techhub-showcase__lead-media {
    height: 100%;
    overflow: hidden;
}

.techhub-showcase__lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.04) 0%, rgba(12, 18, 32, 0.14) 42%, rgba(12, 18, 32, 0.76) 100%);
}

.techhub-showcase__lead-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 28px 24px;
}

.techhub-showcase__lead-body h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.9rem;
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.techhub-showcase__lead-date {
    display: inline-block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
    line-height: 1.4;
}

.techhub-showcase__lead-media img,
.techhub-showcase__item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-showcase__item {
    grid-template-columns: 174px 1fr;
    display: grid;
    gap: 24px;
    align-items: start;
    min-height: var(--techhub-showcase-item-height);
}

.techhub-showcase__item-media {
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.techhub-showcase__item-body {
    padding-top: 2px;
}

.techhub-showcase__item-body h3 {
    margin: 0 0 12px;
    color: #3f4062;
    font-size: 1.06rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.techhub-showcase__item-body p {
    margin: 0 0 14px;
    color: #6c7b90;
    font-size: 0.94rem;
    line-height: 1.72;
}

.techhub-showcase__author {
    color: #9da9ba;
    font-size: 0.9rem;
    line-height: 1.4;
}

.techhub-news-promo {
    background:
        linear-gradient(
            90deg,
            var(--techhub-news-promo-bg-left) 0 66%,
            var(--techhub-news-promo-bg-right) 66% 100%
        );
    padding-top: 82px;
    padding-bottom: 66px;
}

.techhub-news-promo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
    gap: 56px;
    align-items: center;
}

.techhub-news-promo__list {
    display: grid;
    gap: 36px;
    padding-right: 25px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.techhub-news-promo__item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: start;
    background: transparent;
    box-shadow: none;
}

.techhub-news-promo__thumb {
    display: block;
    width: 170px;
    height: 120px;
    overflow: hidden;
}

.techhub-news-promo__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-news-promo__body h3 {
    margin: 0 0 8px;
    color: var(--techhub-news-promo-title);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.techhub-news-promo__body h3 a {
    color: var(--techhub-news-promo-link);
    font-weight: 400;
}

.techhub-news-promo__date {
    color: var(--techhub-news-promo-title);
    font-weight: 600;
}

.techhub-news-promo__body p {
    margin: 0 0 8px;
    color: var(--techhub-news-promo-body);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 470px;
}

.techhub-news-promo__author {
    color: var(--techhub-news-promo-accent);
    font-size: 1rem;
    font-weight: 600;
}

.techhub-news-promo__cta {
    text-align: right;
    position: relative;
    z-index: 1;
    background: transparent;
}

.techhub-news-promo__cta h2 {
    margin: 0 0 34px;
    color: var(--techhub-news-promo-title);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-size: clamp(2.8rem, 4.8vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.techhub-news-promo__cta h2 span {
    display: block;
}

.techhub-news-promo__cta p {
    margin: 0 0 46px;
    color: var(--techhub-news-promo-muted);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 300;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.techhub-news-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 36px;
    border: 3px solid var(--techhub-news-promo-accent);
    color: var(--techhub-news-promo-accent);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.techhub-story-card { overflow: hidden; }
.techhub-story-card__media { aspect-ratio: 16 / 10; }
.techhub-story-card__media img { width: 100%; height: 100%; object-fit: cover; }
.techhub-story-card__body { padding: 22px; }
.techhub-story-card__body h3,
.techhub-story-card__body h4 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.25; }
.techhub-story-card__body p { margin: 0 0 18px; color: var(--techhub-muted); line-height: 1.7; }

.techhub-side-list,
.techhub-ranking-list,
.techhub-footer-nav { list-style: none; margin: 0; padding: 0; }
.techhub-side-list { display: grid; gap: 16px; }

.techhub-side-list__item {
    display: grid;
    grid-template-columns: 172px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.techhub-side-list__thumb { width: 172px; height: 108px; overflow: hidden; }
.techhub-side-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.techhub-side-list__content h4,
.techhub-rank-card h4 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; }
.techhub-side-list__excerpt {
    margin: 0 0 10px;
    color: var(--techhub-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.techhub-list-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--techhub-muted); font-size: 0.84rem; }
.techhub-side-list__arrow,
.techhub-rank-card__arrow { color: var(--techhub-primary); }

.techhub-insights__column h3 { margin: 0 0 20px; font-size: 1.8rem; }
.techhub-ranking-list { display: grid; gap: 16px; }

.techhub-rank-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
}

.techhub-rank-card__index {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.12);
    color: var(--techhub-primary);
    font-weight: 800;
}

.techhub-partners {}

.techhub-partners__title {
    margin: 0 0 24px;
    color: var(--techhub-muted);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.techhub-partner-card {
    padding: 22px 16px;
    text-align: center;
    color: var(--techhub-muted);
    font-weight: 700;
}

.techhub-footer { background: rgba(37, 99, 235, 0.05); }
.techhub-footer__inner { padding: 34px 0 26px; }
.techhub-footer__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(220px, 1.25fr) repeat(var(--techhub-footer-col-count, 3), minmax(0, 1fr));
    margin-bottom: 30px;
}

.techhub-footer h4,
.techhub-footer h5 { margin: 0 0 16px; }
.techhub-footer p,
.techhub-footer a { color: var(--techhub-muted); }
.techhub-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
}
.techhub-footer__logo img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 180px;
}
.techhub-footer-nav { display: grid; gap: 10px; }
.techhub-footer__bottom {
    padding-top: 20px;
    text-align: center;
    color: var(--techhub-muted);
    font-size: 0.92rem;
}

.techhub-archive-hero {
    padding: 40px 0 34px;
    background: rgba(15, 23, 42, 0.03);
}

.techhub-archive-hero__inner h1 {
    margin: 0 0 12px;
    color: #363654;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    padding-top: 30px;
}

.techhub-archive-hero__description {
    margin: 0;
    max-width: 860px;
    color: #627086;
    font-size: 1rem;
    line-height: 1.75;
}

html.dark .techhub-archive-hero__description {
    color: var(--techhub-muted);
}

.techhub-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #8c99ad;
    font-size: 0.86rem;
}

.techhub-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.techhub-breadcrumb__item:not(:last-child)::after {
    content: ">";
    color: #b4bfce;
}

.techhub-archive {
    padding: 42px 0 56px;
}

.techhub-archive__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 340px);
    gap: 30px;
    align-items: start;
}

.techhub-archive__content {
    display: grid;
    gap: 34px;
}

.techhub-archive-feature {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-archive-feature__media,
.techhub-archive-feature__overlay {
    position: absolute;
    inset: 0;
}

.techhub-archive-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-archive-feature__overlay {
    background: linear-gradient(180deg, rgba(8, 11, 20, 0.02) 0%, rgba(8, 11, 20, 0.14) 44%, rgba(8, 11, 20, 0.78) 100%);
}

.techhub-archive-feature__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 28px 30px;
    color: #fff;
}

.techhub-archive-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.techhub-archive-feature__body h2 {
    margin: 16px 0 12px;
    max-width: 82%;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.techhub-archive-feature__date {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
}

.techhub-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
}

.techhub-archive-card {
    display: grid;
    gap: 18px;
}

.techhub-archive-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-archive-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-archive-card__media .techhub-archive-tag {
    position: absolute;
    top: 10px;
    left: 10px;
}

.techhub-archive-card__body {
    display: grid;
    gap: 12px;
}

.techhub-archive-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #93a1b5;
    font-size: 0.82rem;
}

.techhub-archive-card__body h3 {
    margin: 0;
    color: #363654;
    font-size: 1.5rem;
    line-height: 1.28;
    letter-spacing: -0.03em;
}

.techhub-archive-card__body p {
    margin: 0;
    color: var(--techhub-muted);
    line-height: 1.72;
}

.techhub-archive-placeholder,
.techhub-archive-sidebar__placeholder {
    background: rgba(37, 99, 235, 0.05);
}

.techhub-archive-placeholder {
    margin-top: 34px;
}

.techhub-archive-placeholder__inner,
.techhub-archive-sidebar__placeholder {
    padding: 28px;
}

.techhub-archive-placeholder__inner h2,
.techhub-archive-sidebar__placeholder h3 {
    margin: 0 0 10px;
    color: #363654;
    letter-spacing: -0.03em;
}

.techhub-archive-placeholder__inner p,
.techhub-archive-sidebar__placeholder p {
    margin: 0;
    color: var(--techhub-muted);
    line-height: 1.7;
}

.techhub-archive-editor {
    color: #4a5670;
    line-height: 1.8;
}

.techhub-archive-editor__toc {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--techhub-surface);
}

.techhub-archive-editor__toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.techhub-archive-editor__toc-head h2 {
    margin: 0;
    color: #273246;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.techhub-archive-editor__toc-toggle {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: var(--techhub-surface);
    color: #5d6b81;
    font-size: 0.8rem;
    cursor: pointer;
}

.techhub-archive-editor__toc-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #4b5b74;
    font-size: 0.9rem;
    line-height: 1.5;
}

.techhub-archive-editor__toc-item--h3 {
    margin-left: 12px;
    font-size: 0.86rem;
}

.techhub-archive-editor__content-wrap {
    position: relative;
    max-height: none;
    overflow: hidden;
}

.techhub-archive-editor__content-wrap.is-collapsed {
    max-height: var(--techhub-archive-editor-collapsed-height, 54em);
}

.techhub-archive-editor__fade {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--techhub-surface));
}

.techhub-archive-editor__content-wrap.is-collapsed .techhub-archive-editor__fade {
    display: block;
}

.techhub-archive-editor__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.techhub-archive-editor__button {
    min-height: 45px;
    padding: 0 28px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: var(--techhub-surface);
    color: #47566d;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.techhub-archive-editor > *:first-child {
    margin-top: 0;
}

.techhub-archive-editor > *:last-child {
    margin-bottom: 0;
}

.techhub-archive-editor h2,
.techhub-archive-editor h3,
.techhub-archive-editor h4 {
    color: #363654;
    letter-spacing: -0.03em;
}

.techhub-archive-editor ul,
.techhub-archive-editor ol {
    padding-left: 20px;
}

html.dark .techhub-archive-editor__toc,
html.dark .techhub-archive-editor__toc-toggle,
html.dark .techhub-archive-editor__button {
    border-color: var(--techhub-border);
    background: var(--techhub-surface);
    color: var(--techhub-muted);
}

html.dark .techhub-archive-editor__toc-head h2 {
    color: var(--techhub-text);
}

html.dark .techhub-archive-editor__toc-list {
    color: var(--techhub-muted);
}

html.dark .techhub-archive-editor__fade {
    background: linear-gradient(180deg, rgba(18, 27, 45, 0), var(--techhub-surface));
}

.techhub-archive-sidebar {
    display: grid;
    gap: 30px;
}

.techhub-archive-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.techhub-archive-pagination__item a,
.techhub-archive-pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--techhub-surface);
    color: #4a5670;
    box-shadow: var(--techhub-card-shadow);
    font-weight: 600;
}

.techhub-archive-pagination__item .current {
    background: linear-gradient(135deg, var(--techhub-primary), var(--techhub-primary-2));
    color: #fff;
}

.techhub-archive-sidebar__section h3 {
    margin: 0 0 20px;
    color: #363654;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.techhub-archive-sidebar__recent,
.techhub-archive-sidebar__simple-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.techhub-archive-sidebar__recent-item {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 16px;
    align-items: center;
    padding: 0 0 18px;
    margin-bottom: 18px;
    position: relative;
}

.techhub-archive-sidebar__recent-item:not(:last-child)::after,
.techhub-archive-sidebar__simple-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
}

.techhub-archive-sidebar__recent-thumb {
    width: 148px;
    height: 96px;
    overflow: hidden;
}

.techhub-archive-sidebar__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-archive-sidebar__recent-body h4,
.techhub-archive-sidebar__stack-body h4 {
    margin: 0 0 8px;
    color: #56637c;
    font-size: 0.98rem;
    line-height: 1.46;
}

.techhub-archive-sidebar__recent-body h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.techhub-archive-sidebar__recent-body span,
.techhub-archive-sidebar__stack-body span,
.techhub-archive-sidebar__simple-list span {
    color: #98a6ba;
    font-size: 0.86rem;
}

.techhub-archive-sidebar__stack {
    display: grid;
    gap: 24px;
}

.techhub-archive-sidebar__stack-item {
    display: grid;
    gap: 14px;
}

.techhub-archive-sidebar__stack-media {
    position: relative;
    display: block;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-archive-sidebar__stack-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techhub-archive-sidebar__stack-media .techhub-archive-tag {
    position: absolute;
    top: 10px;
    left: 10px;
}

.techhub-archive-sidebar__stack-body p {
    margin: 0 0 10px;
    color: var(--techhub-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.techhub-archive-sidebar__simple-list li {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
    margin-bottom: 18px;
}

.techhub-archive-sidebar__simple-list a {
    color: #4a5670;
    font-weight: 600;
    line-height: 1.5;
}

.techhub-empty {
    padding: 26px;
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-single {
    padding: 26px 0 54px;
}

.techhub-single__container {
    max-width: none;
}

.techhub-single__hero {
    max-width: 1040px;
    margin: 0 auto 28px;
}

.techhub-single .techhub-breadcrumb {
    margin-bottom: 16px;
}

.techhub-single .techhub-breadcrumb__list {
    color: #8c99ad;
    font-size: 0.86rem;
}

.techhub-single .techhub-breadcrumb__item:not(:last-child)::after {
    color: #b4bfce;
}

.techhub-single__category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--techhub-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.techhub-single__hero h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.techhub-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    color: #718198;
    font-size: 0.86rem;
    margin-bottom: 14px;
}

.techhub-single__excerpt {
    margin: 0 0 22px;
    color: #4a5670;
    font-size: 1.02rem;
    line-height: 1.8;
}

.techhub-single__featured-media {
    overflow: hidden;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-single__featured-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.7 / 1;
    object-fit: cover;
}

.techhub-single__article {
    max-width: 1040px;
    margin: 0 auto;
}

.techhub-single__toc {
    margin: 0 0 26px;
    padding: 18px 20px;
    border: 1px solid #ccd5e3;
    background: #fff;
}

.techhub-single__toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.techhub-single__toc h2 {
    margin: 0;
    color: #20293a;
    font-size: 1.02rem;
}

.techhub-single__toc-toggle {
    border: 1px solid #c9d3e3;
    background: #fff;
    color: #51627d;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.82rem;
    cursor: pointer;
}

.techhub-single__toc-body {
    display: block;
}

.techhub-single__toc.is-collapsed .techhub-single__toc-body {
    display: none;
}

.techhub-single__toc-list {
    margin: 0;
    padding-left: 18px;
    color: #40506a;
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.techhub-single__toc-list li.techhub-single__toc-item--h3 {
    margin-left: 14px;
    font-size: 0.88rem;
}

.techhub-single__toc-list a:hover {
    color: var(--techhub-primary);
}

.techhub-single__content {
    color: #2f3b50;
    line-height: 1.88;
}

.techhub-single__content > *:first-child {
    margin-top: 0;
}

.techhub-single__content > *:last-child {
    margin-bottom: 0;
}

.techhub-single__content h2,
.techhub-single__content h3,
.techhub-single__content h4 {
    margin: 34px 0 14px;
    color: #0f172a;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.techhub-single__content h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.techhub-single__content h3 {
    font-size: 1.36rem;
}

.techhub-single__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

.techhub-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.92rem;
}

.techhub-single__content th,
.techhub-single__content td {
    padding: 10px 12px;
    border: 1px solid #d9e1ec;
    text-align: left;
    vertical-align: top;
}

.techhub-single__share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #dbe3ee;
}

.techhub-single__share span {
    color: #58677f;
    font-weight: 600;
}

.techhub-single__share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #c7d2e1;
    color: #42526d;
    font-size: 0.84rem;
    font-weight: 600;
}

.techhub-single__author-box {
    max-width: 1040px;
    margin: 40px auto 0;
    padding: 20px 22px;
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-single__author-box h2 {
    margin: 0 0 10px;
    color: #172132;
    font-size: 1.1rem;
}

.techhub-single__author-box p {
    margin: 0;
    color: #54637a;
    line-height: 1.7;
}

.techhub-single__related {
    max-width: 1040px;
    margin: 44px auto 0;
}

.techhub-single__related h2 {
    margin: 0 0 20px;
    color: #1a2435;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

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

.techhub-single__related-card {
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
    overflow: hidden;
}

.techhub-single__related-media img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.techhub-single__related-body {
    padding: 14px;
}

.techhub-single__related-body h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.42;
}

.techhub-single__related-body p {
    margin: 0;
    color: #617188;
    font-size: 0.9rem;
    line-height: 1.62;
}

html.dark .techhub-single__hero h1,
html.dark .techhub-single__content h2,
html.dark .techhub-single__content h3,
html.dark .techhub-single__content h4,
html.dark .techhub-single__related h2,
html.dark .techhub-single__author-box h2 {
    color: var(--techhub-text);
}

html.dark .techhub-single__toc h2,
html.dark .techhub-single__related-body h3 {
    color: var(--techhub-text);
}

html.dark .techhub-single__hero h1 a,
html.dark .techhub-single__content h2 a,
html.dark .techhub-single__content h3 a,
html.dark .techhub-single__content h4 a,
html.dark .techhub-single__related h2 a,
html.dark .techhub-single__related-body h3 a {
    color: inherit;
}

html.dark .techhub-single__meta,
html.dark .techhub-single__excerpt,
html.dark .techhub-single__content,
html.dark .techhub-single__author-box p,
html.dark .techhub-single__related-body p {
    color: var(--techhub-muted);
}

html.dark .techhub-single__toc,
html.dark .techhub-single__toc-toggle,
html.dark .techhub-single__share a,
html.dark .techhub-single__content th,
html.dark .techhub-single__content td {
    background: var(--techhub-surface);
    border-color: var(--techhub-border);
    color: var(--techhub-muted);
}

html.dark .techhub-legal__hero h1,
html.dark .techhub-legal__content h2,
html.dark .techhub-legal__content h3,
html.dark .techhub-legal__content h4,
html.dark .techhub-legal__related h2,
html.dark .techhub-legal__related-body h3,
html.dark .techhub-legal-toc__head h2 {
    color: var(--techhub-text);
}

html.dark .techhub-legal__hero h1 a,
html.dark .techhub-legal__content h2 a,
html.dark .techhub-legal__content h3 a,
html.dark .techhub-legal__content h4 a,
html.dark .techhub-legal__related h2 a,
html.dark .techhub-legal__related-body h3 a,
html.dark .techhub-legal-toc__head h2 a {
    color: inherit;
}

.techhub-legal__hero {
    padding: 46px 0 54px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 251, 0.84)),
        url("assets/techhub-home/images/legal-hero-bg.jpg") center/cover no-repeat;
}

html.dark .techhub-legal__hero {
    background:
        linear-gradient(145deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.56)),
        url("assets/techhub-home/images/legal-hero-bg.jpg") center/cover no-repeat;
}

.techhub-legal__hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.techhub-legal__meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 16px;
    color: #6c7b90;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.techhub-legal__hero h1 {
    margin: 0 0 18px;
    color: #121826;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.techhub-legal__summary {
    max-width: 720px;
    margin: 0 auto;
    color: #627086;
    font-size: 1rem;
    line-height: 1.8;
}

.techhub-legal__body {
    position: relative;
    padding: 44px 0 64px;
}

.techhub-legal__body .techhub-container {
    position: relative;
}

.techhub-legal-toc__toggle {
    position: absolute;
    top: 18px;
    left: -10px;
    z-index: 15;
    min-width: 104px;
    height: 42px;
    padding: 0 16px;
    border: 0;
    background: #111827;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-legal-toc {
    position: absolute;
    top: 72px;
    left: -10px;
    z-index: 20;
    width: 280px;
}

.techhub-legal-toc__inner {
    padding: 22px 20px;
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-legal-toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.techhub-legal-toc__head h2 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.techhub-legal-toc__close {
    border: 0;
    background: transparent;
    color: #627086;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.techhub-legal-toc__list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.techhub-legal-toc__item a {
    color: #4a5670;
    line-height: 1.5;
}

.techhub-legal-toc__item--h3 a {
    padding-left: 14px;
    color: #6c7b90;
    font-size: 0.92rem;
}

.techhub-legal__article {
    max-width: 860px;
    margin: 0 auto;
}

.techhub-legal__featured-media {
    overflow: hidden;
    box-shadow: var(--techhub-card-shadow);
}

.techhub-legal__featured-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.65 / 1;
    object-fit: cover;
}

.techhub-legal__content {
    padding-top: 28px;
    color: #3f4b61;
    line-height: 1.9;
}

.techhub-legal__content > *:first-child {
    margin-top: 0;
}

.techhub-legal__content > *:last-child {
    margin-bottom: 0;
}

.techhub-legal__content h2,
.techhub-legal__content h3,
.techhub-legal__content h4 {
    margin: 36px 0 16px;
    color: #111827;
    line-height: 1.28;
    letter-spacing: -0.03em;
}

.techhub-legal__content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.techhub-legal__content h3 {
    font-size: 1.4rem;
}

.techhub-legal__content p,
.techhub-legal__content ul,
.techhub-legal__content ol,
.techhub-legal__content blockquote {
    margin: 0 0 18px;
}

.techhub-legal__content ul,
.techhub-legal__content ol {
    padding-left: 20px;
}

.techhub-legal__content blockquote {
    padding: 18px 20px;
    background: rgba(17, 24, 39, 0.04);
    color: #263246;
    font-weight: 500;
}

.techhub-legal__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px 0;
}

.techhub-legal__related {
    margin-top: 54px;
    padding-top: 34px;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.techhub-legal__related h2 {
    margin: 0 0 24px;
    color: #111827;
    text-align: center;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.techhub-legal__related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.techhub-legal__related-card {
    background: var(--techhub-surface);
    box-shadow: var(--techhub-card-shadow);
}

.techhub-legal__related-media {
    display: block;
    overflow: hidden;
}

.techhub-legal__related-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.techhub-legal__related-body {
    padding: 18px;
}

.techhub-legal__related-body h3 {
    margin: 0 0 10px;
    color: #121826;
    font-size: 1.12rem;
    line-height: 1.4;
}

.techhub-legal__related-body p {
    margin: 0;
    color: #627086;
    line-height: 1.7;
}

@media (max-width: 1080px) {
    .techhub-news-promo {
        background: var(--techhub-news-promo-bg-left);
    }

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

    .techhub-showcase__grid {
        grid-template-columns: 1fr;
    }

    .techhub-showcase__column--left,
    .techhub-showcase__column--right {
        grid-template-rows: none;
    }

    .techhub-showcase__lead-media {
        aspect-ratio: 1.78 / 1;
        height: auto;
    }

    .techhub-latest__grid,
    .techhub-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .techhub-latest__grid .techhub-story-card:nth-child(-n + 4) {
        display: block;
    }
    .techhub-latest__grid .techhub-story-card:nth-child(n + 5) {
        display: none;
    }
    .techhub-editorial__grid,
    .techhub-insights__grid,
    .techhub-archive__layout,
    .techhub-footer__grid { grid-template-columns: 1fr; }

    .techhub-archive-feature {
        min-height: 400px;
    }

    .techhub-archive-sidebar {
        gap: 24px;
    }

    .techhub-editorial-feature {
        min-height: 320px;
    }

    .techhub-editorial-sidebar {
        padding-top: 0;
    }

    .techhub-news-promo__grid {
        grid-template-columns: 1fr;
    }

    .techhub-news-promo__cta {
        order: -1;
    }

    .techhub-news-promo__list {
        order: 1;
    }

    .techhub-news-promo__cta {
        text-align: left;
    }

    .techhub-news-promo__cta p {
        margin-bottom: 30px;
    }
}

@media (max-width: 860px) {
    :root { --techhub-hero-height: 460px; }

    .techhub-nav--desktop { display: none; }
    .techhub-header__inner > .techhub-header__search,
    .techhub-header__actions .techhub-button { display: none; }
    .techhub-search-toggle { display: inline-flex; }
    .techhub-menu-toggle { display: inline-flex; }
    .techhub-header__actions .techhub-icon-button,
    .techhub-header__actions .techhub-menu-toggle {
        background: transparent;
    }
    .techhub-mobile-search .techhub-header__search {
        display: flex;
        max-width: none;
    }
    .techhub-mobile-panel .techhub-nav--mobile { display: block; }
    .techhub-menu--mobile {
        display: grid;
        gap: 6px;
    }
    .techhub-menu--mobile > li > a {
        min-height: 40px;
        padding: 8px 0;
    }
    .techhub-menu--mobile .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        padding: 0 0 0 12px;
        border: 0;
        box-shadow: none;
        background: transparent;
        display: none;
    }
    .techhub-menu--mobile .menu-item-has-children.is-open > .sub-menu {
        display: grid;
        gap: 4px;
        padding-top: 6px;
    }
    .techhub-menu--mobile .sub-menu a {
        padding: 6px 0;
    }
    .techhub-menu--mobile .menu-item-has-children {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
    }
    .techhub-menu--mobile .menu-item-has-children > .sub-menu {
        grid-column: 1 / -1;
    }
    .techhub-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid var(--techhub-border);
        background: var(--techhub-surface);
        color: var(--techhub-muted);
        cursor: pointer;
        line-height: 1;
    }
    .techhub-menu--mobile .menu-item-has-children.is-open > .techhub-submenu-toggle {
        transform: rotate(180deg);
    }
    .techhub-hero-slide__content { padding: 32px clamp(20px, 5vw, 40px); }
    .techhub-archive-grid {
        grid-template-columns: 1fr;
    }
    .techhub-legal-toc {
        left: 0;
    }
    .techhub-legal-toc__toggle {
        left: 0;
    }
    .techhub-side-list__item,
    .techhub-rank-card { grid-template-columns: 1fr; align-items: start; }
    .techhub-side-list__thumb { width: 100%; height: 180px; }
    .techhub-archive-sidebar__recent-item {
        grid-template-columns: 132px 1fr;
    }
    .techhub-archive-sidebar__recent-thumb {
        width: 132px;
        height: 84px;
    }
}

@media (max-width: 640px) {
    :root {
        --techhub-container: min(100% - 20px, 1280px);
        --techhub-hero-height: 540px;
    }
    .techhub-main section { padding: 24px 0; }
    .techhub-single {
        padding: 20px 0 40px;
    }
    .techhub-single__hero h1 {
        font-size: 1.9rem;
    }
    .techhub-single__content h2 {
        font-size: 1.45rem;
    }
    .techhub-single__toc {
        padding: 16px;
    }
    .techhub-single__related-grid {
        grid-template-columns: 1fr;
    }
    .techhub-hero-slide__content { padding: 24px 18px; }
    .techhub-hero-slide h1 { font-size: 2rem; }
    .techhub-archive-hero {
        padding: 26px 0 24px;
    }
    .techhub-archive {
        padding: 28px 0 40px;
    }
    .techhub-archive-feature {
        min-height: 280px;
    }
    .techhub-archive-feature__body {
        padding: 18px 18px 20px;
    }
    .techhub-archive-feature__body h2 {
        max-width: 100%;
        font-size: 1.8rem;
    }
    .techhub-archive-card__body h3 {
        font-size: 1.24rem;
    }
    .techhub-archive-sidebar__placeholder,
    .techhub-archive-placeholder__inner {
        padding: 20px;
    }
    .techhub-archive-placeholder {
        margin-top: 24px;
    }
    .techhub-legal__hero {
        padding: 30px 0 34px;
    }
    .techhub-legal__body {
        padding: 28px 0 42px;
    }
    .techhub-legal-toc__toggle {
        position: static;
        margin-bottom: 16px;
    }
    .techhub-legal-toc {
        position: static;
        width: 100%;
        margin-bottom: 16px;
    }
    .techhub-legal__featured-media img {
        aspect-ratio: 1.25 / 1;
    }
    .techhub-legal__related-grid {
        grid-template-columns: 1fr;
    }
    .techhub-showcase__head {
        margin-bottom: 28px;
    }
    .techhub-showcase__head h2 {
        font-size: 2.1rem;
    }
    .techhub-showcase {
        --techhub-showcase-gap: 22px;
        --techhub-showcase-item-height: auto;
    }
    .techhub-showcase__lead-media {
        aspect-ratio: 1.35 / 1;
    }
    .techhub-showcase__column {
        gap: 22px;
    }
    .techhub-showcase__item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .techhub-showcase__item-media {
        height: 190px;
    }
    .techhub-showcase__lead-body {
        padding: 18px 20px 18px;
    }
    .techhub-showcase__lead-body h3 {
        font-size: 1.35rem;
    }
    .techhub-editorial-feature {
        min-height: 240px;
    }
    .techhub-editorial-feature__content {
        padding: 18px 20px 22px;
    }
    .techhub-editorial-feature__content h2 {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: 2rem;
    }
    .techhub-editorial-sidebar h2,
    .techhub-editorial-sidebar h3 {
        margin-bottom: 6px;
        font-size: clamp(1.7rem, 3vw, 2.2rem);
    }
    .techhub-editorial-list__item {
        grid-template-columns: 132px 1fr;
        gap: 14px;
        padding: 18px 0;
    }
    .techhub-editorial-list__thumb {
        width: 132px;
        height: 84px;
    }
    .techhub-editorial-list__content h3,
    .techhub-editorial-list__content h4 {
        font-size: 0.92rem;
    }
    .techhub-archive-sidebar__recent-item {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .techhub-archive-sidebar__recent-thumb {
        width: 100%;
        height: 180px;
    }
    .techhub-news-promo__item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .techhub-news-promo__thumb {
        width: 100%;
        height: 190px;
    }
    .techhub-news-promo__body h3 {
        font-size: 0.98rem;
        line-height: 1.25;
    }
    .techhub-news-promo__cta h2 {
        margin-bottom: 14px;
        font-size: 2.1rem;
    }
    .techhub-news-promo__cta p {
        margin-bottom: 20px;
        font-size: 0.82rem;
    }
    .techhub-news-promo__button {
        min-height: 46px;
        padding: 0 20px;
        border-width: 2px;
        font-size: 0.92rem;
    }
    .techhub-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "lead lead"
            "feature stack-top"
            "feature stack-bottom";
        gap: 16px;
    }
    .techhub-category-card--xl { min-height: 320px; }
    .techhub-category-card--lg { min-height: 320px; }
    .techhub-category-card--sm:nth-of-type(3),
    .techhub-category-card--sm:nth-of-type(4) { min-height: 152px; }
    .techhub-category-card__content { padding: 18px 18px 16px; }
    .techhub-category-card__content h3 {
        max-width: 100%;
        font-size: 1.3rem;
    }
    .techhub-category-card--lg .techhub-category-card__content h3,
    .techhub-category-card--sm .techhub-category-card__content h3 {
        font-size: 0.98rem;
    }
    .techhub-category-card__content p {
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.45;
    }
    .techhub-category-card__meta {
        gap: 8px;
        font-size: 0.78rem;
    }
    .techhub-category-card__score {
        top: 12px;
        right: 12px;
        min-width: 44px;
        height: 44px;
        font-size: 0.82rem;
    }
    .techhub-latest__grid,
    .techhub-partners__grid { grid-template-columns: 1fr; }
    .techhub-hero-slide__actions { flex-direction: column; align-items: stretch; }
    .techhub-hero__arrow { display: none; }
}
