/*
Theme Name: KampungTridi Editorial
Theme URI: https://kampungtridi.com/
Author: KampungTridi
Author URI: https://kampungtridi.com/
Description: Tema editorial ultrarrápido para tecnologia, internet, aplicativos e finanças. Responsivo, acessível e preparado para monetização responsável.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kampungtridi
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: news, blog, grid-layout, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --kt-navy: #071b33;
  --kt-navy-2: #0d2949;
  --kt-red: #e43535;
  --kt-red-dark: #bd2229;
  --kt-cyan: #12a7b8;
  --kt-gold: #f4b740;
  --kt-ink: #132238;
  --kt-muted: #5b6777;
  --kt-line: #dfe5eb;
  --kt-soft: #f3f6f8;
  --kt-white: #fff;
  --kt-radius: 14px;
  --kt-shadow: 0 12px 34px rgba(7, 27, 51, .09);
  --kt-wrap: 1180px;
  --kt-reading: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--kt-ink);
  background: var(--kt-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--kt-red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kt-red); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--kt-gold); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { width: auto; height: auto; clip: auto; z-index: 100000; padding: 12px 16px; background: #fff; color: #000; }
.skip-link { top: 12px; left: 12px; }
.kt-wrap { width: min(calc(100% - 40px), var(--kt-wrap)); margin-inline: auto; }
.kt-reading { width: min(100%, var(--kt-reading)); }
.kt-section { padding-block: 44px; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.kt-section-kicker { margin: 0 0 5px; color: var(--kt-red-dark); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.kt-section-title { margin: 0; color: var(--kt-navy); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.12; letter-spacing: -.035em; }
.kt-section-link { flex: 0 0 auto; color: var(--kt-navy); font-size: .88rem; font-weight: 800; text-decoration: none; }
.kt-section-link::after { content: " →"; color: var(--kt-red); }

/* Header */
.kt-topline { height: 5px; background: linear-gradient(90deg, var(--kt-red) 0 38%, var(--kt-cyan) 38% 72%, var(--kt-gold) 72%); }
.site-header { position: relative; z-index: 50; background: var(--kt-white); border-bottom: 1px solid var(--kt-line); }
.kt-header-main { min-height: 96px; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 24px; }
.site-branding { justify-self: start; min-width: 0; }
.site-branding a { display: inline-flex; align-items: center; text-decoration: none; }
.custom-logo { width: auto; max-width: 290px; max-height: 72px; }
.kt-brand-logo { width: clamp(220px, 25vw, 304px); height: auto; }
.kt-header-tagline { justify-self: center; max-width: 360px; margin: 0; color: var(--kt-muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.kt-header-tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.kt-icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--kt-line); border-radius: 50%; background: #fff; color: var(--kt-navy); }
.kt-icon-button:hover { border-color: var(--kt-red); color: var(--kt-red); }
.kt-icon-button svg { width: 21px; height: 21px; }
.kt-menu-toggle { display: none; }
.kt-nav-wrap { background: var(--kt-navy); color: #fff; }
.kt-nav-row { min-height: 52px; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.primary-navigation { min-width: 0; }
.primary-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.primary-navigation li { position: relative; }
.primary-navigation a { min-height: 52px; display: flex; align-items: center; padding: 0 17px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a { background: var(--kt-red); color: #fff; }
.primary-navigation .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; display: none; background: var(--kt-navy-2); box-shadow: var(--kt-shadow); }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu a { min-height: 44px; text-transform: none; letter-spacing: 0; }
.kt-nav-date { flex: 0 0 auto; display: flex; align-items: center; color: #cbd7e3; font-size: .76rem; }
.kt-search-panel { display: none; background: var(--kt-soft); border-bottom: 1px solid var(--kt-line); }
.kt-search-panel.is-open { display: block; }
.kt-search-panel .kt-wrap { padding-block: 20px; }
.search-form { display: flex; gap: 8px; }
.search-field { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid #cbd4dd; border-radius: 9px; background: #fff; color: var(--kt-ink); }
.search-submit, .kt-button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--kt-red); color: #fff; font-weight: 800; text-decoration: none; }
.search-submit:hover, .kt-button:hover { background: var(--kt-red-dark); color: #fff; }

/* Ads */
.kt-ad { width: 100%; overflow: hidden; text-align: center; }
.kt-ad__label { display: block; margin-bottom: 6px; color: #84909d; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.kt-ad--leaderboard { min-height: 116px; padding: 18px; background: #fafbfc; }
.kt-ad--rectangle { min-height: 290px; padding: 14px; background: #fafbfc; border-radius: 10px; }
.kt-ad--incontent { min-height: 280px; margin-block: 34px; padding: 16px; background: #fafbfc; border-block: 1px solid var(--kt-line); }
.kt-ad .widget { margin: 0; }

/* Home hero */
.kt-hero { padding-block: 28px 38px; background: var(--kt-soft); border-bottom: 1px solid var(--kt-line); }
.kt-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); gap: 18px; }
.kt-lead, .kt-mini-feature { position: relative; overflow: hidden; border-radius: var(--kt-radius); background: var(--kt-navy); }
.kt-lead { min-height: 510px; }
.kt-lead::after, .kt-mini-feature::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(180deg, transparent, rgba(2, 13, 25, .94)); pointer-events: none; }
.kt-lead img, .kt-mini-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kt-lead:hover img, .kt-mini-feature:hover img { transform: scale(1.025); }
.kt-lead__media { position: absolute; inset: 0; }
.kt-lead__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: clamp(25px, 4vw, 46px); color: #fff; }
.kt-category { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: var(--kt-red); color: #fff; font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.kt-category:hover { background: var(--kt-red-dark); color: #fff; }
.kt-lead__title { max-width: 820px; margin: 12px 0 10px; font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.02; letter-spacing: -.05em; }
.kt-lead__title a, .kt-mini-feature__title a { color: #fff; text-decoration: none; }
.kt-lead__excerpt { max-width: 710px; margin: 0; color: #dce5ed; font-size: 1rem; }
.kt-feature-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.kt-mini-feature { min-height: 246px; }
.kt-mini-feature__media { position: absolute; inset: 0; }
.kt-mini-feature__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 22px; }
.kt-mini-feature__title { margin: 9px 0 0; color: #fff; font-size: clamp(1.1rem, 2vw, 1.42rem); line-height: 1.17; letter-spacing: -.025em; }
.kt-ticker { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 5px 20px rgba(7,27,51,.06); }
.kt-ticker__label { align-self: stretch; display: flex; align-items: center; padding: 0 16px; background: var(--kt-red); color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.kt-ticker__items { display: flex; gap: 28px; overflow: hidden; padding: 12px 18px; white-space: nowrap; }
.kt-ticker__items a { color: var(--kt-navy); font-size: .83rem; font-weight: 700; text-decoration: none; }
.kt-ticker__items a::before { content: "•"; margin-right: 10px; color: var(--kt-red); }

/* Cards and archives */
.kt-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.kt-card { min-width: 0; }
.kt-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: #e8edf1; }
.kt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.kt-image-placeholder { width: 100%; height: 100%; display: block; background: linear-gradient(135deg, #dce6ed, #f4f7f9 50%, #dce6ed); }
.kt-card:hover .kt-card__media img { transform: scale(1.035); }
.kt-card__body { padding-top: 15px; }
.kt-card__title { margin: 8px 0 8px; color: var(--kt-navy); font-size: 1.18rem; line-height: 1.25; letter-spacing: -.018em; }
.kt-card__title a { color: inherit; text-decoration: none; }
.kt-card__title a:hover { color: var(--kt-red); }
.kt-card__excerpt { margin: 0; color: var(--kt-muted); font-size: .9rem; line-height: 1.55; }
.kt-meta { display: flex; flex-wrap: wrap; gap: 5px 13px; color: #73808f; font-size: .74rem; }
.kt-meta a { color: inherit; text-decoration: none; }
.kt-meta span + span::before { content: "•"; margin-right: 10px; color: #b3bdc6; }
.kt-category-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.kt-horizontal-list { display: grid; gap: 19px; }
.kt-horizontal-card { display: grid; grid-template-columns: 140px 1fr; gap: 17px; padding-bottom: 19px; border-bottom: 1px solid var(--kt-line); }
.kt-horizontal-card:last-child { padding-bottom: 0; border-bottom: 0; }
.kt-horizontal-card__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px; background: #e8edf1; }
.kt-horizontal-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kt-horizontal-card h3 { margin: 5px 0 6px; font-size: 1rem; line-height: 1.28; }
.kt-horizontal-card h3 a { color: var(--kt-navy); text-decoration: none; }
.kt-horizontal-card h3 a:hover { color: var(--kt-red); }
.kt-archive-header { padding-block: 38px; background: var(--kt-soft); border-bottom: 1px solid var(--kt-line); }
.kt-archive-title { margin: 0; color: var(--kt-navy); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; }
.kt-archive-description { max-width: 720px; margin: 12px 0 0; color: var(--kt-muted); }
.kt-main-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: start; padding-block: 44px; }
.kt-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.pagination, .posts-navigation { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers, .post-page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 11px; border: 1px solid var(--kt-line); border-radius: 8px; color: var(--kt-navy); font-weight: 750; text-decoration: none; }
.page-numbers.current, .page-numbers:hover, .post-page-numbers.current, .post-page-numbers:hover { border-color: var(--kt-red); background: var(--kt-red); color: #fff; }

/* Single article */
.kt-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 0; height: 4px; background: var(--kt-red); }
.kt-breadcrumbs { margin-bottom: 22px; color: var(--kt-muted); font-size: .78rem; }
.kt-breadcrumbs a { color: inherit; text-decoration: none; }
.kt-breadcrumbs span { margin-inline: 7px; color: #a2adb9; }
.kt-article-header { padding-block: 42px 30px; border-bottom: 1px solid var(--kt-line); }
.kt-article-header__inner { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.kt-article-title { margin: 12px 0 16px; color: var(--kt-navy); font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 1.01; letter-spacing: -.055em; }
.kt-article-deck { max-width: 850px; margin: 0 0 19px; color: var(--kt-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5; }
.kt-article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; color: var(--kt-muted); font-size: .82rem; }
.kt-article-byline strong, .kt-article-byline a { color: var(--kt-navy); text-decoration: none; }
.kt-featured-image { width: min(calc(100% - 40px), 1100px); margin: 30px auto 0; }
.kt-featured-image img { width: 100%; max-height: 650px; object-fit: cover; border-radius: var(--kt-radius); }
.kt-featured-image figcaption { margin-top: 8px; color: var(--kt-muted); font-size: .72rem; }
.kt-article-layout { width: min(calc(100% - 40px), 1100px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 58px; align-items: start; padding-block: 40px 60px; }
.entry-content { min-width: 0; color: #263549; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 2vw, 1.18rem); line-height: 1.82; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.55em; }
.entry-content h2, .entry-content h3, .entry-content h4 { scroll-margin-top: 88px; color: var(--kt-navy); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.18; letter-spacing: -.035em; }
.entry-content h2 { margin: 2em 0 .65em; font-size: clamp(1.65rem, 3.5vw, 2.25rem); }
.entry-content h3 { margin: 1.7em 0 .55em; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.entry-content h4 { margin: 1.5em 0 .5em; font-size: 1.2rem; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { margin-top: 7px; color: var(--kt-muted); font-family: Inter, sans-serif; font-size: .72rem; text-align: center; }
.entry-content blockquote { margin: 2em 0; padding: 6px 0 6px 24px; border-left: 5px solid var(--kt-red); color: var(--kt-navy); font-size: 1.18em; font-style: italic; }
.entry-content ul, .entry-content ol { margin: 0 0 1.55em; padding-left: 1.35em; }
.entry-content li { margin-bottom: .55em; }
.entry-content table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-family: Inter, sans-serif; font-size: .9rem; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--kt-line); text-align: left; }
.entry-content th { background: var(--kt-navy); color: #fff; }
.entry-content pre { overflow: auto; padding: 18px; border-radius: 9px; background: var(--kt-navy); color: #eef5fb; font-size: .88rem; }
.entry-content code { padding: .12em .32em; border-radius: 4px; background: #eef2f5; font-size: .9em; }
.entry-content pre code { padding: 0; background: transparent; }
.entry-content .wp-block-button__link { border-radius: 8px; background: var(--kt-red); color: #fff; font-family: Inter, sans-serif; font-weight: 800; }
.alignwide { width: min(100vw - 40px, 1040px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.kt-article-aside { position: sticky; top: 24px; display: grid; gap: 22px; }
.kt-toc { padding: 19px; border: 1px solid var(--kt-line); border-radius: 11px; background: #fff; }
.kt-toc[hidden] { display: none; }
.kt-toc__title { margin: 0 0 10px; color: var(--kt-navy); font-size: .86rem; font-weight: 850; text-transform: uppercase; }
.kt-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: toc; }
.kt-toc li { counter-increment: toc; }
.kt-toc a { display: grid; grid-template-columns: 20px 1fr; gap: 7px; color: var(--kt-muted); font-size: .76rem; line-height: 1.35; text-decoration: none; }
.kt-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--kt-red); font-weight: 800; }
.kt-toc a:hover { color: var(--kt-navy); }
.kt-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--kt-line); font-family: Inter, sans-serif; }
.kt-share a, .kt-share button { min-height: 39px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--kt-line); border-radius: 7px; background: #fff; color: var(--kt-navy); font-size: .75rem; font-weight: 800; text-decoration: none; }
.kt-share a:hover, .kt-share button:hover { border-color: var(--kt-red); color: var(--kt-red); }
.kt-author-box { margin-top: 38px; padding: 24px; display: grid; grid-template-columns: 76px 1fr; gap: 18px; border-radius: 12px; background: var(--kt-soft); font-family: Inter, sans-serif; }
.kt-author-box img { border-radius: 50%; }
.kt-author-box h2 { margin: 0 0 5px; font-size: 1.12rem; }
.kt-author-box p { margin: 0; color: var(--kt-muted); font-size: .84rem; line-height: 1.55; }
.kt-tags { margin-top: 25px; font-family: Inter, sans-serif; font-size: .78rem; }
.kt-tags a { display: inline-flex; margin: 4px 4px 0 0; padding: 5px 9px; border-radius: 5px; background: var(--kt-soft); color: var(--kt-muted); text-decoration: none; }
.kt-related { padding-block: 46px; border-top: 1px solid var(--kt-line); background: var(--kt-soft); }

/* Sidebar, pages, comments */
.widget-area { min-width: 0; }
.widget { margin-bottom: 30px; }
.widget-title { margin: 0 0 14px; padding-bottom: 9px; border-bottom: 3px solid var(--kt-navy); color: var(--kt-navy); font-size: .93rem; letter-spacing: .02em; text-transform: uppercase; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--kt-line); font-size: .86rem; }
.widget a { color: var(--kt-navy); text-decoration: none; }
.widget a:hover { color: var(--kt-red); }
.kt-page { width: min(calc(100% - 40px), 920px); margin-inline: auto; padding-block: 48px 70px; }
.kt-page-title { margin: 0 0 28px; color: var(--kt-navy); font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.03; letter-spacing: -.05em; }
.comments-area { width: min(calc(100% - 40px), 760px); margin: 0 auto 60px; }
.comments-title, .comment-reply-title { color: var(--kt-navy); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { margin-bottom: 18px; padding: 18px; border: 1px solid var(--kt-line); border-radius: 10px; }
.comment-meta { font-size: .78rem; }
.comment-content { margin-top: 12px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 11px; border: 1px solid #cbd4dd; border-radius: 8px; }
.comment-form .submit { min-height: 45px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--kt-red); color: #fff; font-weight: 800; }
.kt-empty { padding: 45px; border-radius: 12px; background: var(--kt-soft); text-align: center; }

/* Footer */
.site-footer { background: var(--kt-navy); color: #cbd6e1; }
.kt-footer-top { padding-block: 48px 36px; display: grid; grid-template-columns: minmax(260px, 1.3fr) minmax(220px, .7fr); gap: 60px; align-items: start; }
.kt-footer-brand img { width: min(100%, 300px); }
.kt-footer-authority { max-width: 640px; margin: 18px 0 0; color: #b8c6d3; font-size: .86rem; }
.kt-footer-heading { margin: 0 0 12px; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.footer-navigation a { color: #dbe4ec; font-size: .82rem; text-decoration: none; }
.footer-navigation a:hover { color: #fff; text-decoration: underline; }
.kt-footer-bottom { padding-block: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa2b4; font-size: .72rem; }
.kt-footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .kt-header-main { grid-template-columns: 1fr auto; min-height: 82px; }
  .kt-header-tagline, .kt-nav-date { display: none; }
  .kt-menu-toggle { display: inline-grid; }
  .kt-nav-wrap { display: none; }
  .kt-nav-wrap.is-open { display: block; }
  .kt-nav-row { display: block; padding-block: 7px; }
  .primary-navigation ul { display: block; }
  .primary-navigation a { min-height: 45px; padding-inline: 12px; }
  .primary-navigation .sub-menu { position: static; display: block; padding-left: 15px; background: rgba(255,255,255,.05); box-shadow: none; }
  .kt-hero-grid { grid-template-columns: 1fr; }
  .kt-feature-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .kt-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-main-layout { grid-template-columns: 1fr; }
  .kt-main-layout > .widget-area { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .kt-article-layout { grid-template-columns: 1fr; }
  .kt-article-aside { position: static; grid-row: 1; }
  .kt-article-aside .kt-ad { display: none; }
  .kt-toc { max-width: 760px; }
}

@media (max-width: 680px) {
  .kt-wrap, .kt-article-header__inner, .kt-featured-image, .kt-article-layout, .kt-page, .comments-area { width: min(calc(100% - 28px), var(--kt-wrap)); }
  .kt-section { padding-block: 34px; }
  .kt-header-main { min-height: 74px; gap: 10px; }
  .kt-brand-logo, .custom-logo { max-width: 215px; max-height: 58px; }
  .kt-icon-button { width: 40px; height: 40px; }
  .kt-header-tools { gap: 6px; }
  .kt-hero { padding-block: 14px 25px; }
  .kt-lead { min-height: 425px; }
  .kt-lead__content { padding: 22px; }
  .kt-lead__title { font-size: clamp(1.8rem, 10vw, 2.55rem); }
  .kt-lead__excerpt { display: none; }
  .kt-feature-stack { grid-template-columns: 1fr; }
  .kt-mini-feature { min-height: 220px; }
  .kt-ticker { grid-template-columns: 1fr; }
  .kt-ticker__label { min-height: 34px; justify-content: center; }
  .kt-content-grid, .kt-post-list { grid-template-columns: 1fr; gap: 26px; }
  .kt-category-row { grid-template-columns: 1fr; }
  .kt-horizontal-card { grid-template-columns: 112px 1fr; gap: 13px; }
  .kt-main-layout { padding-block: 34px; gap: 36px; }
  .kt-main-layout > .widget-area { grid-template-columns: 1fr; }
  .kt-article-header { padding-block: 30px 24px; }
  .kt-article-title { font-size: clamp(2.1rem, 12vw, 3.25rem); }
  .kt-featured-image { margin-top: 22px; }
  .kt-featured-image img { min-height: 230px; object-fit: cover; }
  .kt-article-layout { padding-block: 28px 45px; gap: 25px; }
  .entry-content { font-size: 1.05rem; line-height: 1.76; }
  .entry-content table { display: block; overflow-x: auto; }
  .kt-author-box { grid-template-columns: 56px 1fr; padding: 18px; }
  .kt-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .kt-footer-bottom { display: block; }
  .kt-footer-bottom p + p { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .kt-article-aside, .kt-share, .kt-related, .comments-area, .kt-ad, .kt-progress { display: none !important; }
  body { color: #000; background: #fff; }
  .kt-article-layout { display: block; width: 100%; padding: 0; }
  .entry-content { font-size: 12pt; }
  a { color: #000; }
}
