.page-tech { background: #fae9d8; color: #1a2420; }
.page-tech .header-inner,
.page-tech main > .tm > .container,
.page-tech .site-footer > .container {
    width: min(92%, 1280px);
    max-width: none;
}
.tm { padding: 10px 0 8px; }
.tm a { color: inherit; }
.tm svg { width: 16px; height: 16px; flex-shrink: 0; }
.tm h1, .tm h2, .tm h3 { color: #1a2a22; font-family: var(--serif); }

.tm-crumb {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 8px; margin: 6px 0 18px; font-size: 0.86rem; font-weight: 600; color: #6b1d1d;
}
.tm-crumb a { color: #6b1d1d; }
.tm-crumb span { opacity: 0.55; margin: 0 6px; }
.tm-back { color: #6b1d1d; font-weight: 700; }

.tm-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
    gap: 28px; align-items: center; margin-bottom: 28px;
}
.tm-hero h1 {
    margin: 0 0 8px; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.95;
    color: #1a2a22; letter-spacing: -0.03em;
}
.tm-kicker {
    margin: 0 0 12px; color: #8a6a32; font-family: var(--serif); font-style: italic;
    font-size: 1.22rem; font-weight: 600;
}
.tm-lead { margin: 0 0 18px; max-width: 36rem; color: #3f3a34; font-size: 1.02rem; line-height: 1.55; }
.tm-pills {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none;
}
.tm-pills li, .tm-hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px 7px 8px; border-radius: 999px; background: #fffaf3;
    border: 1px solid #ead9bd; font-size: 0.82rem; font-weight: 700; color: #2a332c;
}
.tm-hero-pill svg { width: 18px; height: 18px; color: #b48a4a; }
.tm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 8px; padding: 12px 18px; font-weight: 700;
    font-size: 0.92rem; font-family: var(--sans); text-decoration: none; cursor: pointer;
}
.tm-btn svg { width: 16px; height: 16px; }
.tm-btn-wine { background: #6b1d1d; color: #fff !important; }
.tm-btn-wine:hover { background: #541616; color: #fff !important; }
.tm-btn-green { background: #1f3d32; color: #fff !important; }
.tm-btn-green:hover { background: #162c24; color: #fff !important; }
.tm-btn-ghost {
    background: #fff; color: #1f3d32 !important; border: 1.5px solid #1f3d32;
}
.tm-btn-ghost:hover { background: #1f3d32; color: #fff !important; }
.tm-hero-art {
    position: relative; min-height: 280px;
}
.tm-hero-art img {
    width: 100%; height: auto; max-height: 430px; object-fit: cover; object-position: center;
    border-radius: 8px;
}

.tm-search {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid #e2d2b8; border-radius: 12px;
    padding: 4px 8px 4px 14px; margin: 8px 0 18px;
}
.tm-search svg { width: 20px; height: 20px; color: #6a655c; flex-shrink: 0; }
.tm-search input {
    flex: 1; border: 0; background: transparent; font: inherit; padding: 12px 4px; outline: none;
}
.tm-search button {
    background: #6b1d1d; color: #fff; border: 0; border-radius: 9px;
    padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer;
}

.tm-filter-label {
    margin: 0 0 8px; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: #6a655c;
}
.tm-types, .tm-topics {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
}
.tm-types a, .tm-topics a, .tm-sort {
    padding: 8px 14px; border-radius: 999px; border: 1px solid #e2d2b8;
    background: #fffaf3; color: #1a2a22; font-size: 0.88rem; font-weight: 600;
}
.tm-types a.is-on, .tm-types a:hover,
.tm-topics a.is-on, .tm-topics a:hover {
    background: #6b1d1d; color: #fff; border-color: #6b1d1d;
}
.tm-topics a { font-size: 0.82rem; padding: 6px 12px; }
.tm-tools {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 8px;
}
.tm-sort-wrap { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tm-sort { appearance: none; padding-right: 28px; cursor: pointer; }
.tm-clear { color: #6b1d1d; font-weight: 700; font-size: 0.86rem; }
.tm-count { margin: 0 0 18px; color: #6a655c; font-size: 0.86rem; }

.tm-section { margin: 28px 0 8px; scroll-margin-top: 90px; }
.tm-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin: 0 0 16px;
}
.tm-head h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.tm-head a { color: #6b1d1d; font-weight: 700; font-size: 0.9rem; }

.tm-featured {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: 16px;
}
.tm-feature {
    display: grid; color: inherit; background: #fffaf3;
    border: 1px solid #eadfce; border-radius: 16px; overflow: hidden;
}
.tm-feature > img { width: 100%; height: 250px; object-fit: cover; }
.tm-feature-body { padding: 16px 18px 18px; display: grid; align-content: start; gap: 8px; }
.tm-feature h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; color: #1a2a22; }
.tm-side-picks { display: grid; gap: 14px; }
.tm-side-pick {
    display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; align-items: center;
    padding: 10px; background: #fffaf3; border: 1px solid #eadfce; border-radius: 14px; color: inherit;
}
.tm-side-pick img { width: 118px; height: 92px; object-fit: cover; border-radius: 10px; }
.tm-side-pick strong { display: block; font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; color: #1a2a22; }

.tm-tag {
    display: inline-block; width: fit-content; padding: 3px 10px; border-radius: 999px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; color: #fff;
    background: #c9a24a;
}
.tm-meta { color: #6a655c; font-size: 0.82rem; }
.tm-meta svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 2px; }
.tm-excerpt { margin: 0; color: #4a453e; font-size: 0.94rem; }
.tm-read { color: #6b1d1d; font-weight: 700; font-size: 0.9rem; }
.tm-read svg { width: 14px; height: 14px; vertical-align: -2px; }

.tm-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.tm-card {
    display: grid; align-content: start; color: inherit; background: #fffaf3;
    border: 1px solid #eadfce; border-radius: 14px; overflow: hidden;
}
.tm-card-media { position: relative; }
.tm-card-media img { width: 100%; height: 168px; object-fit: cover; }
.tm-card-media .tm-tag { position: absolute; left: 10px; bottom: 10px; }
.tm-card-body { display: grid; gap: 7px; padding: 12px 14px 16px; }
.tm-card-body h3, .tm-card-body strong {
    margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.28; color: #1a2a22;
}
.tm-more { display: flex; justify-content: center; margin: 22px 0 8px; }
.tm-more .tm-btn { min-width: min(420px, 100%); }

.tm-split {
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.75fr);
    gap: 28px; align-items: start; margin-top: 10px;
}
.tm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tm-tabs a {
    padding: 7px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
    background: #efe6d3; color: #1a2a22;
}
.tm-tabs a.is-on { background: #1f3d32; color: #fff; }

.tm-research { display: grid; gap: 12px; }
.tm-research-item {
    display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: start;
    background: #fffaf3; border: 1px solid #eadfce; border-radius: 14px; padding: 14px 16px;
}
.tm-doc {
    width: 46px; height: 46px; border-radius: 10px; background: #efe3cc; color: #8a5a2b;
    display: grid; place-items: center;
}
.tm-doc svg { width: 24px; height: 24px; }
.tm-research-item h3 { margin: 0 0 4px; font-size: 1.08rem; }
.tm-research-item p { margin: 6px 0 0; color: #4a453e; font-size: 0.9rem; }
.tm-research-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tm-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tm-labels span {
    padding: 3px 8px; border-radius: 999px; background: #efe6d3; color: #5a564c;
    font-size: 0.72rem; font-weight: 700;
}

.tm-aside { display: grid; gap: 22px; }
.tm-box {
    background: #fffaf3; border: 1px solid #eadfce; border-radius: 16px; padding: 16px 18px 18px;
}
.tm-box h2 { margin: 0 0 12px; font-size: 1.15rem; }
.tm-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-rank li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; }
.tm-rank b { color: #6b1d1d; font-family: var(--serif); font-size: 1.05rem; }
.tm-rank a { font-weight: 700; line-height: 1.3; color: #1a2a22; }
.tm-why { display: grid; gap: 14px; }
.tm-why article { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: start; }
.tm-why-ico {
    width: 42px; height: 42px; border-radius: 50%; background: #1f3d32; color: #e0b13a;
    display: grid; place-items: center;
}
.tm-why-ico svg { width: 20px; height: 20px; }
.tm-why h3 { margin: 0 0 4px; font-size: 0.98rem; }
.tm-why p { margin: 0; color: #5c564c; font-size: 0.86rem; }

.tm-ext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tm-ext-card {
    background: #fffaf3; border: 1px solid #eadfce; border-radius: 14px; padding: 16px 18px;
    display: grid; align-content: start; gap: 8px;
}
.tm-ext-top {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    color: #6a655c; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.tm-ext-top em { font-style: normal; color: #8a5a2b; }
.tm-ext-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.tm-ext-card p { margin: 0; color: #4a453e; font-size: 0.9rem; }
.tm-ext-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.tm-ext-row {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start; gap: 14px;
}
.tm-ext-num {
    font-family: var(--serif); font-size: 1.1rem; color: #6b1d1d; font-weight: 700;
}

.tm-mail {
    display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 16px; align-items: center; margin: 36px 0 8px; padding: 22px 24px;
    background: #1f3d32; color: #f4ead8; border-radius: 16px;
    background-image: url("../images/technomics/footer-map.jpg");
    background-size: cover; background-position: right center;
    box-shadow: inset 0 0 0 2000px rgba(20, 48, 40, 0.88);
}
.tm-mail-ico {
    width: 52px; height: 52px; border-radius: 50%; background: rgba(224, 177, 58, 0.15);
    color: #e0b13a; display: grid; place-items: center;
}
.tm-mail-ico svg { width: 26px; height: 26px; }
.tm-mail h2 { margin: 0 0 4px; color: #f7f1e6; font-size: 1.35rem; }
.tm-mail p { margin: 0; color: #d9cbb3; font-size: 0.92rem; }
.tm-mail form { display: flex; gap: 8px; }
.tm-mail input {
    flex: 1; border: 0; border-radius: 8px; padding: 12px 14px; font: inherit;
}
.tm-mail button {
    background: #6b1d1d; color: #fff; border: 0; border-radius: 8px;
    padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer;
}

.tm-list { display: grid; gap: 12px; }
.tm-row {
    display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 16px; align-items: center;
    background: #fffaf3; border: 1px solid #eadfce; border-radius: 14px; padding: 12px; color: inherit;
}
.tm-row img { width: 148px; height: 96px; object-fit: cover; border-radius: 10px; }
.tm-row h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.tm-row .tm-read { white-space: nowrap; }

.tm-col-hero { text-align: center; padding: 8px 0 10px; }
.tm-col-hero .tm-kicker { letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; font-size: 0.75rem; font-family: var(--sans); }
.tm-col-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.tm-note {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    color: #6a655c; font-size: 0.84rem;
}
.tm-note svg { width: 16px; height: 16px; }

.tm-article { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.75fr); gap: 32px; align-items: start; }
.tm-story h1 { margin: 8px 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; }
.tm-story-hero {
    width: 100%; height: 340px; object-fit: cover; border-radius: 16px; margin: 8px 0 18px;
}
.tm-body { font-size: 1.08rem; line-height: 1.8; color: #2a2622; }
.tm-body p { margin: 0 0 1.05em; }
.tm-body h2 { margin: 1.4em 0 0.55em; font-size: 1.35rem; }
.tm-body ul, .tm-body ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.tm-story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }

.tm-empty { padding: 24px; background: #fffaf3; border: 1px dashed #eadfce; border-radius: 14px; color: #6a655c; }
.page-tech .pagination ul { justify-content: center; margin: 22px 0 0; }
.page-tech .pagination a { background: #fffaf3; }
.page-tech .pagination .is-active a { background: #6b1d1d; border-color: #6b1d1d; }

@media (max-width: 980px) {
    .tm-hero, .tm-featured, .tm-split, .tm-article, .tm-mail, .tm-ext, .tm-ext-row { grid-template-columns: 1fr; }
    .tm-grid { grid-template-columns: 1fr 1fr; }
    .tm-research-item, .tm-row { grid-template-columns: 1fr; }
    .tm-research-actions { justify-content: flex-start; }
    .tm-hero-art img { max-height: 320px; }
}
@media (max-width: 680px) {
    .tm-grid, .tm-side-pick { grid-template-columns: 1fr; }
    .tm-mail form { flex-direction: column; }
    .tm-more .tm-btn { min-width: 0; width: 100%; }
    .tm-search { flex-wrap: wrap; }
    .tm-search button { width: 100%; }
}
