/*
Theme Name: Kosova ime 2026
Theme URI: https://kosovaime.tv/
Author: Kosova ime
Description: Theme editoriale e pavarur, e optimizuar per performance.
Version: 0.6.5
Text Domain: kosovaime
*/

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
}

:root {
  --ki-red: #ff0009;
  --ki-ink: #000000;
  --ki-muted: #686868;
  --ki-line: #e5e5e5;
  --ki-soft: #f5f5f5;
  --ki-white: #ffffff;
  --ki-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ki-ink);
  background: var(--ki-white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.ki-container { width: min(calc(100% - 40px), var(--ki-container)); margin-inline: auto; }
.ki-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ki-skip-link { position: fixed; left: 16px; top: 12px; z-index: 999; padding: 10px 14px; transform: translateY(-150%); background: var(--ki-ink); color: var(--ki-white); font-size: 13px; font-weight: 800; }
.ki-skip-link:focus { transform: translateY(0); }

.ki-site-header { border-top: 0; }
.ki-brandbar { background: var(--ki-red); color: var(--ki-white); }
.ki-brandbar__inner { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.ki-logo img { width: 276px; max-height: 54px; object-fit: contain; filter: brightness(0) invert(1); }
.ki-brandbar__date { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.ki-brandbar__tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.ki-icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; }
.ki-icon-button:hover, .ki-icon-button:focus-visible { border-color: #fff; background: #fff; color: var(--ki-red); }
.ki-icon-button svg { width: 20px; height: 20px; }
.ki-menu-toggle { display: none; }

.ki-nav { border-bottom: 3px solid var(--ki-red); background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.ki-nav__inner { display: flex; align-items: stretch; justify-content: center; min-height: 50px; }
.ki-nav ul { list-style: none; display: flex; align-items: stretch; justify-content: center; gap: 0; padding: 0; margin: 0; }
.ki-nav li { position: relative; display: flex; }
.ki-nav a { display: flex; align-items: center; padding: 0 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ki-nav a:hover, .ki-nav .current-menu-item > a { background: var(--ki-red); color: #fff; }
.ki-nav .sub-menu { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 190px; display: none; padding: 7px 0; background: #fff; border: 1px solid var(--ki-line); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.ki-nav li:hover > .sub-menu, .ki-nav li:focus-within > .sub-menu { display: block; }
.ki-nav .sub-menu li { display: block; }
.ki-nav .sub-menu a { min-height: 38px; padding: 0 14px; font-size: 12px; }

.ki-search-panel { display: none; border-bottom: 1px solid var(--ki-line); padding: 18px 0; }
.ki-search-panel.is-open { display: block; }
.ki-search-form { display: flex; max-width: 720px; margin: auto; }
.ki-search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #cfcfcf; border-right: 0; }
.ki-search-form button { width: 52px; border: 0; background: var(--ki-red); color: #fff; cursor: pointer; }

.ki-breaking { background: var(--ki-white); border-bottom: 1px solid var(--ki-line); }
.ki-breaking__inner { display: flex; align-items: center; min-height: 44px; overflow: hidden; }
.ki-breaking__label { flex: 0 0 auto; margin-right: 16px; padding: 6px 10px; background: var(--ki-red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ki-breaking__link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }

.ki-lead h1,
.ki-lead h1 a,
.ki-card h3,
.ki-card h3 a,
.ki-latest-item a,
.ki-panel-title,
.ki-section-title { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: var(--ki-ink); letter-spacing: 0; }

.ki-main { padding: 30px 0 58px; }
.ki-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .78fr) minmax(245px, .62fr); gap: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--ki-line); }
.ki-lead__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ki-soft); }
.ki-lead__media picture { display: block; width: 100%; height: 100%; }
.ki-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ki-lead:hover .ki-lead__media img { transform: scale(1.02); }
.ki-kicker { display: inline-block; margin-top: 14px; color: var(--ki-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ki-lead h1 { max-width: 880px; margin: 7px 0 9px; font-size: clamp(32px, 3vw, 48px); line-height: 1.04; font-weight: 900; }
.ki-lead h1.ki-title--medium { font-size: clamp(29px, 2.55vw, 42px); }
.ki-lead h1.ki-title--long { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.08; }
.ki-lead h1.ki-title--xlong { font-size: clamp(24px, 1.9vw, 31px); line-height: 1.1; }
.ki-lead h1.ki-title--xlong + .ki-lead__excerpt { display: none; }
.ki-lead h1 a { display: block; overflow: visible; }
.ki-lead__excerpt { margin: 0; color: var(--ki-muted); font-size: 16px; }
.ki-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: var(--ki-muted); font-size: 12px; font-weight: 700; }

.ki-side-stack { min-width: 0; display: grid; align-content: start; gap: 22px; }
.ki-card { min-width: 0; overflow: hidden; }
.ki-card__body { min-width: 0; }
.ki-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ki-soft); }
.ki-card__media picture { display: block; width: 100%; height: 100%; }
.ki-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ki-card:hover .ki-card__media img { transform: scale(1.025); }
.ki-card h3 { max-width: 100%; margin: 8px 0 0; overflow-wrap: anywhere; font-size: 18px; line-height: 1.2; font-weight: 800; }
.ki-card h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ki-card h3 a, .ki-lead h1 a, .ki-latest-item a { text-decoration-color: var(--ki-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ki-card:hover h3 a, .ki-lead:hover h1 a, .ki-latest-item:hover a { text-decoration-line: underline; }
.ki-card--compact { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--ki-line); }
.ki-card--compact:first-child { padding-top: 0; border-top: 0; }
.ki-card--compact .ki-card__media { aspect-ratio: 4 / 3; }
.ki-card--compact h3 { margin-top: 0; font-size: 16px; }

.ki-panel-title, .ki-section-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; border-bottom: 2px solid var(--ki-ink); }
.ki-panel-title span, .ki-section-title span { display: inline-block; padding: 0 0 8px; border-bottom: 4px solid var(--ki-red); margin-bottom: -3px; font-size: 17px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.ki-section-title a { color: var(--ki-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ki-hero__latest { min-width: 0; display: flex; flex-direction: column; }
.ki-hero__latest .ki-panel-title { flex: 0 0 auto; }
.ki-latest-list { counter-reset: latest; }
.ki-hero__latest .ki-latest-list { flex: 1; display: flex; flex-direction: column; }
.ki-latest-item { counter-increment: latest; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--ki-line); }
.ki-hero__latest .ki-latest-item { flex: 1; align-content: center; }
.ki-latest-item::before { content: counter(latest, decimal-leading-zero); color: var(--ki-red); font-size: 13px; font-weight: 900; }
.ki-latest-item a { font-size: 14px; line-height: 1.28; font-weight: 750; }
.ki-latest-item time { display: block; margin-top: 4px; color: var(--ki-muted); font-size: 11px; }

.ki-ad-slot { width: 100%; max-width: 100%; margin: 28px auto; overflow: hidden; text-align: center; }

.ki-section { padding-top: 46px; content-visibility: auto; contain-intrinsic-size: auto 760px; }
.ki-feature-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; }
.ki-feature-grid > *, .ki-single-layout > * { min-width: 0; }
.ki-feature-main .ki-card__media { aspect-ratio: 16 / 9; }
.ki-feature-main h3 { font-size: 28px; line-height: 1.12; }
.ki-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.ki-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }

.ki-video-band { margin-top: 48px; padding: 42px 0 48px; background: var(--ki-ink); color: #fff; content-visibility: auto; contain-intrinsic-size: auto 720px; }
.ki-video-band .ki-section-title { border-color: #444; }
.ki-video-band .ki-section-title a { color: #bcbcbc; }
.ki-video-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(2,minmax(0,.75fr)); gap: 22px; }
.ki-video-grid .ki-card__media { position: relative; }
.ki-play { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ki-red); color: #fff; }
.ki-video-grid .ki-card:first-child h3 { font-size: 27px; }
.ki-youtube-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .75fr); gap: 28px; align-items: start; }
.ki-youtube-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; display: block; padding: 0; overflow: hidden; border: 0; background: #171717; color: #fff; cursor: pointer; }
.ki-youtube-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ki-youtube-stage:hover img { transform: scale(1.015); }
.ki-youtube-stage iframe { width: 100%; height: 100%; display: block; border: 0; }
.ki-youtube-play { position: absolute; left: 50%; top: 50%; width: 70px; height: 52px; display: grid; place-items: center; transform: translate(-50%, -50%); background: var(--ki-red); color: #fff; }
.ki-youtube-play svg { width: 30px; height: 30px; }
.ki-youtube-main-title { margin: 14px 0 0; max-width: 900px; font-size: 27px; line-height: 1.15; }
.ki-youtube-list { display: grid; align-content: start; }
.ki-youtube-item { width: 100%; display: grid; grid-template-columns: 142px minmax(0,1fr); gap: 14px; align-items: center; padding: 0 0 14px; margin: 0 0 14px; border: 0; border-bottom: 1px solid #343434; background: transparent; color: #fff; text-align: left; cursor: pointer; }
.ki-youtube-item__media { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #1b1b1b; }
.ki-youtube-item__media img { width: 100%; height: 100%; object-fit: cover; }
.ki-youtube-item__play { position: absolute; left: 8px; bottom: 8px; width: 27px; height: 23px; display: grid; place-items: center; background: var(--ki-red); color: #fff; font-size: 11px; }
.ki-youtube-item__body { min-width: 0; display: block; }
.ki-youtube-item strong { display: block; overflow-wrap: anywhere; font-size: 14px; line-height: 1.25; }
.ki-youtube-item time { display: block; margin-top: 7px; color: #aaa; font-size: 10px; font-weight: 700; }
.ki-youtube-item:hover strong, .ki-youtube-item:focus-visible strong { color: #ff4a50; }

.ki-category-pairs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px; }
.ki-category-block .ki-grid-2 { gap: 18px; }
.ki-editorial-rail { min-width: 0; padding-top: 46px; }
.ki-editorial-rail__ad { width: 100%; min-height: 0; overflow: hidden; text-align: center; }
.ki-editorial-rail__ad .ki-managed-ad, .ki-editorial-rail__ad .ki-ad-slot { margin: 0 auto; }
.ki-editorial-rail__ad img, .ki-editorial-rail__ad iframe, .ki-editorial-rail__ad ins { max-width: 100% !important; }
.ki-rail-articles__list { display: grid; }
.ki-rail-articles .ki-card--compact { grid-template-columns: 108px minmax(0,1fr); gap: 12px; }
.ki-rail-articles .ki-card--compact h3 { font-size: 14px; line-height: 1.25; }

.ki-page-head { margin-bottom: 28px; border-bottom: 1px solid var(--ki-line); }
.ki-page-head h1 { display: inline-block; margin: 0 0 -1px; padding-bottom: 12px; border-bottom: 5px solid var(--ki-red); font-size: 38px; line-height: 1; }
.ki-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 24px; }
.ki-pagination { margin-top: 38px; }
.ki-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ki-pagination a, .ki-pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--ki-line); font-weight: 800; }
.ki-pagination .current, .ki-pagination a:hover { background: var(--ki-red); border-color: var(--ki-red); color: #fff; }

.ki-single-layout { display: grid; grid-template-columns: minmax(0,860px) 300px; gap: 64px; align-items: start; }
.ki-single { min-width: 0; max-width: 860px; margin: 0; }
.ki-single__header { max-width: 840px; margin: 0 auto 8px; padding-bottom: 20px; border-bottom: 1px solid var(--ki-line); }
.ki-single__category { color: var(--ki-red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ki-single h1 { max-width: 820px; margin: 10px 0 16px; overflow-wrap: anywhere; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 850; }
.ki-single__header .ki-meta { font-size: 13px; }
.ki-single__dek { margin: 0 0 16px; color: var(--ki-muted); font-size: 20px; line-height: 1.4; }
.ki-single__image { margin: 26px 0 32px; }
.ki-single__image img { width: 100%; max-height: 680px; object-fit: cover; }
.ki-content { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.7; font-weight: 450; }
.ki-content > * { max-width: min(100%, 720px); margin-left: auto; margin-right: auto; }
.ki-content p { margin-top: 0; margin-bottom: 1.35em; }
.ki-content figure, .ki-content .wp-block-image, .ki-content .wp-block-embed { width: 100%; max-width: 760px; }
.ki-content iframe, .ki-content video, .ki-content embed, .ki-content object { display: block; max-width: 100% !important; margin-left: auto; margin-right: auto; }
.ki-content video { width: 100%; height: auto; }
.ki-content .wp-block-embed__wrapper { width: 100%; max-width: 100%; overflow: hidden; }
.ki-content iframe[src*="youtube.com"],
.ki-content iframe[src*="youtube-nocookie.com"],
.ki-content iframe[src*="youtu.be"],
.ki-content iframe[src*="vimeo.com"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.ki-content iframe[src*="facebook.com/plugins/"] { width: 100% !important; max-width: 500px !important; }
.ki-content a { color: var(--ki-red); text-decoration: underline; }
.ki-content h2, .ki-content h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; line-height: 1.15; }
.ki-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ki-tags a { padding: 7px 10px; background: var(--ki-soft); font-size: 12px; font-weight: 800; }
.ki-editorial-rail--single { align-self: stretch; padding-top: 0; }
.ki-editorial-rail--single .ki-rail-articles { position: sticky; top: 24px; }
.ki-related { width: 100%; margin-top: 58px; padding-top: 4px; }
.ki-related-title { display: flex; align-items: center; margin: 0 0 20px; padding: 0 0 14px; border-bottom: 1px solid var(--ki-ink); }
.ki-related-title::before { content: none; }
.ki-related-title span { font-size: 25px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.ki-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 42px 18px; }
.ki-related-grid .ki-card__media { aspect-ratio: 16 / 10; }
.ki-related-grid .ki-card h3 { margin-top: 8px; font-size: 17px; line-height: 1.22; }

.ki-footer { margin-top: 24px; border-top: 5px solid var(--ki-red); background: var(--ki-ink); color: #fff; content-visibility: auto; contain-intrinsic-size: auto 400px; }
.ki-footer__main { display: grid; grid-template-columns: .72fr 1.55fr .85fr; gap: 56px; padding: 52px 0 46px; }
.ki-footer__logo { width: 220px; max-height: 48px; object-fit: contain; object-position: left center; margin-bottom: 22px; filter: brightness(0) invert(1); }
.ki-footer__social { display: flex; gap: 10px; }
.ki-footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #3b3b3b; color: var(--ki-white); }
.ki-footer__social a:hover, .ki-footer__social a:focus-visible { background: var(--ki-red); border-color: var(--ki-red); }
.ki-footer__social svg { width: 19px; height: 19px; }
.ki-footer h2 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #353535; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.ki-footer h2::after { content: ''; display: block; width: 42px; height: 3px; margin: 10px 0 -13px; background: var(--ki-red); }
.ki-footer__impressum p { max-width: 680px; margin: 0 0 13px; color: #d5d5d5; font-size: 14px; line-height: 1.65; }
.ki-footer__contact address { display: grid; gap: 4px; font-style: normal; }
.ki-footer__contact address span { margin-top: 8px; color: #848484; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ki-footer__contact address span:first-child { margin-top: 0; }
.ki-footer__contact a, .ki-footer__contact p { margin: 0; color: #e5e5e5; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.ki-footer__contact a:hover, .ki-footer__contact a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--ki-red); text-underline-offset: 4px; }
.ki-footer__bottom { padding: 17px 0; border-top: 1px solid #303030; color: #8f8f8f; font-size: 11px; }
.ki-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ki-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.ki-footer__legal a { color: #bdbdbd; }
.ki-footer__legal a:hover, .ki-footer__legal a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--ki-red); text-underline-offset: 4px; }

@media (max-width: 1040px) {
  .ki-nav a { padding-inline: 11px; font-size: 12px; }
  .ki-hero { grid-template-columns: minmax(0,1.35fr) minmax(260px,.75fr); }
  .ki-hero__latest { grid-column: 1 / -1; display: block; }
  .ki-hero__latest .ki-latest-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
  .ki-hero__latest .ki-latest-item { display: grid; }
  .ki-single-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .ki-editorial-rail--single { align-self: auto; }
  .ki-editorial-rail--single .ki-rail-articles { position: static; }
  .ki-editorial-rail { padding-top: 0; }
  .ki-rail-articles__list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
  .ki-single { width: 100%; max-width: 900px; margin-inline: auto; }
  .ki-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body.ki-menu-open { overflow: hidden; }
  .ki-container { width: min(calc(100% - 28px), var(--ki-container)); }
  .ki-section, .ki-video-band, .ki-footer { content-visibility: visible; contain-intrinsic-size: none; }
  .ki-brandbar__date { display: none; }
  .ki-brandbar__inner { min-height: 72px; grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .ki-logo { justify-self: center; }
  .ki-logo img { width: 174px; max-height: 38px; }
  .ki-menu-toggle { display: inline-grid; grid-column: 1; grid-row: 1; }
  .ki-brandbar__tools { grid-column: 3; grid-row: 1; }
  .ki-brandbar__tools > a { display: none; }
  .ki-brandbar { position: relative; z-index: 91; }
  .ki-menu-toggle[aria-expanded="true"] svg { display: none; }
  .ki-menu-toggle[aria-expanded="true"]::before { content: "×"; font-size: 31px; font-weight: 400; line-height: 1; }
  .ki-nav { display: none; position: fixed; inset: 72px 0 0; z-index: 90; overflow-y: auto; border: 0; background: #fff; box-shadow: none; overscroll-behavior: contain; }
  .ki-nav.is-open { display: block; animation: ki-menu-in .18s ease-out; }
  .ki-nav__inner { display: block; width: 100%; min-height: 100%; padding: 21px 22px 36px; }
  .ki-nav__inner::before { content: "Kategoritë"; display: block; padding: 0 0 13px; border-bottom: 4px solid var(--ki-red); color: var(--ki-ink); font-size: 12px; font-weight: 900; text-transform: uppercase; }
  .ki-nav ul { display: block; width: 100%; }
  .ki-nav li { display: block; width: 100%; }
  .ki-nav a { min-height: 54px; padding: 0 3px; border-bottom: 1px solid #d9d9d9; color: var(--ki-ink); font-size: 15px; font-weight: 850; letter-spacing: 0; }
  .ki-nav #ki-primary-menu > li > a::after { content: "→"; margin-left: auto; color: var(--ki-red); font-size: 19px; font-weight: 500; }
  .ki-nav a:hover, .ki-nav a:focus-visible, .ki-nav .current-menu-item > a { background: transparent; color: var(--ki-red); }
  .ki-nav .sub-menu { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; padding: 4px 0 9px 12px; border: 0; box-shadow: none; }
  .ki-nav .sub-menu a { min-height: 38px; padding: 0 8px 0 0; border-bottom: 0; color: var(--ki-muted); font-size: 12px; font-weight: 750; }
  .ki-editorial-rail__ad--after-latest { margin-top: 28px; }
  .ki-breaking__label { margin-right: 10px; }
  .ki-breaking__link { color: var(--ki-ink); font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 750; }
  .ki-main { padding-top: 16px; }
  .ki-hero { display: block; }
  .ki-lead, .ki-lead h1 { width: 100%; max-width: 100%; }
  .ki-lead h1, .ki-lead h1.ki-title--medium { overflow-wrap: anywhere; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 900; line-height: 1.08; }
  .ki-lead h1.ki-title--long { font-size: 26px; line-height: 1.1; }
  .ki-lead h1.ki-title--xlong { font-size: 23px; line-height: 1.12; }
  .ki-lead h1 a { color: var(--ki-ink) !important; font: inherit; }
  .ki-lead__excerpt { display: none; }
  .ki-side-stack { display: block; width: 100%; max-width: 100%; margin-top: 24px; }
  .ki-side-stack .ki-card { display: grid; grid-template-columns: 124px minmax(0,1fr); gap: 13px; padding: 14px 0; border-top: 1px solid var(--ki-line); }
  .ki-side-stack .ki-card__media { aspect-ratio: 4 / 3; }
  .ki-side-stack .ki-kicker { margin-top: 0; }
  .ki-side-stack .ki-card h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.22; }
  .ki-card h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 17px; font-weight: 800; }
  .ki-card h3 a, .ki-latest-item a { color: var(--ki-ink) !important; font-family: inherit; }
  .ki-hero__latest { display: block; margin-top: 28px; }
  .ki-hero__latest .ki-latest-list { display: block; }
  .ki-latest-item:nth-child(n+4) { display: none; }
  .ki-latest-item > div { min-width: 0; overflow: hidden; }
  .ki-latest-item a { overflow-wrap: anywhere; }
  .ki-latest-item a { font-size: 14px; font-weight: 800; line-height: 1.28; }
  .ki-lead h1,
  .ki-lead h1 a,
  .ki-lead h1 a:link,
  .ki-lead h1 a:visited,
  .ki-lead h1 a:hover,
  .ki-lead h1 a:active,
  .ki-side-stack .ki-card h3,
  .ki-side-stack .ki-card h3 a,
  .ki-side-stack .ki-card h3 a:link,
  .ki-side-stack .ki-card h3 a:visited,
  .ki-hero__latest .ki-panel-title,
  .ki-hero__latest .ki-panel-title span,
  .ki-latest-item a,
  .ki-latest-item a:link,
  .ki-latest-item a:visited,
  .ki-latest-item a:hover,
  .ki-latest-item a:active {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
  }
  .ki-feature-grid, .ki-category-pairs, .ki-video-grid, .ki-youtube-layout { grid-template-columns: minmax(0,1fr); }
  .ki-feature-main h3, .ki-video-grid .ki-card:first-child h3 { font-size: 24px; }
  .ki-grid-2, .ki-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px; }
  .ki-grid-2 .ki-card h3, .ki-grid-3 .ki-card h3 { font-size: 15px; line-height: 1.24; }
  .ki-video-grid > .ki-card:not(:first-child) { display: grid; grid-template-columns: 130px 1fr; gap: 14px; }
  .ki-video-grid > .ki-card:not(:first-child) h3 { margin-top: 0; }
  .ki-youtube-main-title { font-size: 23px; }
  .ki-youtube-item { grid-template-columns: 120px minmax(0,1fr); }
  .ki-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
  .ki-single__header { padding-bottom: 16px; }
  .ki-single h1 { font-size: 32px; line-height: 1.12; }
  .ki-single__dek { font-size: 18px; }
  .ki-single__image { margin-left: -14px; margin-right: -14px; }
  .ki-content { font-size: 18px; }
  .ki-content iframe, .ki-content video, .ki-content embed, .ki-content object { width: 100% !important; }
  .ki-footer__main { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 34px; }
  .ki-footer__bottom-inner { align-items: flex-start; flex-direction: column; }
  .ki-footer__legal { justify-content: flex-start; }
  .ki-rail-articles__list { grid-template-columns: 1fr; }
  .ki-editorial-rail { border-top: 1px solid var(--ki-line); padding-top: 30px; }
  .ki-related { margin-top: 40px; }
  .ki-related-title { margin-bottom: 16px; padding-bottom: 11px; }
  .ki-related-title::before { width: 15px; height: 27px; flex-basis: 15px; }
  .ki-related-title span { font-size: 21px; }
  .ki-related-grid { gap: 24px 14px; }
  .ki-related-grid .ki-card h3 { font-size: 15px; line-height: 1.24; }
}

@keyframes ki-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 430px) {
  .ki-archive-grid { grid-template-columns: 1fr; }
  .ki-side-stack .ki-card h3 { font-size: 15px; }
  .ki-card--compact { grid-template-columns: 112px minmax(0,1fr); }
}

@media (max-width: 350px) {
  .ki-grid-2, .ki-grid-3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ki-lead__media img, .ki-card__media img, .ki-youtube-stage img { transition: none; }
}
