/* ==========================================================================
   Khobor Desk — homepage templates
   0 Shared story markup · 1 Broadsheet · 2 Metro Portal · 3 Headline Bold
   4 The Daily Front · 5 Bangla Daily · 6 Responsive
   ========================================================================== */

/* 0. Shared ----------------------------------------------------------- */
.kdh {
	--h-bg: var(--kd-bg);
	--h-ink: var(--kd-text);
	--h-mute: var(--kd-muted);
	--h-rule: var(--kd-border);
	--c: var(--kd-primary);
	background: var(--h-bg);
	color: var(--h-ink);
	padding: 24px 0 56px;
}
.kdh a { color: inherit; }
.kdh a:hover { color: var(--c); }
.kdh ol, .kdh ul { list-style: none; margin: 0; padding: 0; }
.kdh .kds { margin: 0; min-width: 0; }
.kdh .kds-img {
	display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10;
	background: var(--kd-surface);
}
.kdh .kds-img img, .kdh .kds-img .kd-ph {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.kdh .kds-img img { transition: transform .35s ease; }
.kdh .kds:hover .kds-img img { transform: scale(1.035); }
.kdh .kds-play {
	position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
	background: rgba(0, 0, 0, .72); color: #fff; display: grid; place-items: center; font-size: 16px;
}
.kdh .kds-cat {
	display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--c); margin-bottom: 4px;
}
.kdh .kds-kicker { display: block; font-size: 13px; font-weight: 600; color: var(--h-mute); margin-bottom: 2px; }
.kdh .kds-title { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 0; }
.kdh .kds-exc { margin: 8px 0 0; color: var(--h-mute); font-size: 15px; line-height: 1.55; }
.kdh .kds-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--h-mute); }
.kdh .kds-meta .kd-i { margin-right: 4px; }
.kdh .kds-num { display: block; }
.kdh .kdh-more { font-size: 13px; font-weight: 700; color: var(--c); }
.kdh .kdh-empty { padding: 60px 0; text-align: center; }

/* 1. Broadsheet -------------------------------------------------------- */
.kdh-1 {
	--h-bg: #f6f1e5; --h-ink: #17140f; --h-mute: #5d564a; --h-rule: #17140f; --c: #8c1d1d;
	--serif: "Playfair Display", "Noto Serif Bengali", Georgia, "Times New Roman", serif;
}
html.kd-dark .kdh-1 { --h-bg: #15120d; --h-ink: #efe8d8; --h-mute: #a79d88; --h-rule: #efe8d8; --c: #e08a8a; }
.kdh-1 .kds-title, .kdh-1 .kdh1-label, .kdh-1 .kdh1-cathead { font-family: var(--serif); }
.kdh-1 .kds-img { aspect-ratio: 3 / 2; filter: grayscale(.25) contrast(1.03); }
.kdh-1 .kds-cat { font-family: var(--kd-font); letter-spacing: .12em; font-size: 11px; }
.kdh1-dateline {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
	border-top: 4px double var(--h-rule); border-bottom: 1px solid var(--h-rule); padding: 8px 0;
	font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px;
}
.kdh1-dateline strong { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; }
.kdh1-label {
	font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
	border-bottom: 2px solid var(--h-rule); padding-bottom: 6px; margin: 0 0 12px;
}
.kdh1-top { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 0; }
.kdh1-top > * { padding: 0 22px; }
.kdh1-top > *:first-child { padding-left: 0; }
.kdh1-top > *:last-child { padding-right: 0; }
.kdh1-top > * + * { border-left: 1px solid var(--h-rule); }
.kdh1-briefs .kds { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--h-rule) 35%, transparent); }
.kdh1-briefs .kds:last-child { border-bottom: 0; }
.kdh1-briefs .kds-title { font-size: 19px; font-weight: 700; }
.kdh1-leadstory .kds-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 900; margin: 6px 0 10px; }
.kdh1-leadstory .kds-img { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.kdh1-leadstory .kds-exc { font-size: 18px; font-style: italic; color: var(--h-ink); }
.kdh1-leadstory .kds-meta { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.kdh1-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 22px; border-top: 1px solid var(--h-rule); }
.kdh1-subs .kds { padding: 16px 18px 0 0; }
.kdh1-subs .kds + .kds { padding: 16px 0 0 18px; border-left: 1px solid var(--h-rule); }
.kdh1-subs .kds-title { font-size: 21px; margin: 6px 0 0; }
.kdh1-subs .kds-img { margin-bottom: 8px; }
.kdh1-right .kds-title { font-size: 22px; margin: 8px 0 0; }
.kdh1-read { margin-top: 26px; }
.kdh1-read ol { counter-reset: r; }
.kdh1-read li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px dotted var(--h-rule); font-family: var(--serif); font-weight: 700; line-height: 1.3; }
.kdh1-read li span { font-size: 28px; line-height: 1; color: var(--c); font-weight: 900; }
.kdh1-rule { border-top: 4px double var(--h-rule); margin: 28px 0 22px; }
.kdh1-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.kdh1-cat { padding: 0 20px; border-left: 1px solid var(--h-rule); }
.kdh1-cat:first-child { padding-left: 0; border-left: 0; }
.kdh1-cat:last-child { padding-right: 0; }
.kdh1-cathead { font-size: 22px; font-weight: 900; border-top: 3px solid var(--h-rule); padding-top: 6px; margin: 0 0 12px; }
.kdh1-cat .kds.has-img .kds-title { font-size: 20px; margin-top: 8px; }
.kdh1-cat .kds-exc { font-size: 14px; }
.kdh1-headline { padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--h-rule) 35%, transparent); margin-top: 10px; }
.kdh1-headline .kds-title { font-size: 16.5px; font-weight: 700; }
.kdh1-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; column-rule: 1px solid var(--h-rule); }
.kdh1-more-grid .kds { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--h-rule) 30%, transparent); }
.kdh1-more-grid .kds-title { font-size: 19px; }

/* 2. Metro Portal ------------------------------------------------------ */
.kdh-2 { --h-bg: var(--kd-bg); padding-bottom: 0; }
.kdh2-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.kdh2-lead .kds-title { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; font-weight: 800; margin: 10px 0 6px; }
.kdh2-lead .kds-img { aspect-ratio: 16 / 10; }
.kdh2-lead .kds-cat { margin-top: 10px; }
.kdh2-mid { display: grid; gap: 18px; }
.kdh2-mid .kds { display: grid; grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--h-rule); }
.kdh2-mid .kds:last-child { border-bottom: 0; padding-bottom: 0; }
.kdh2-mid .kds-title { font-size: 18px; }
.kdh2-boxhead {
	font-size: 18px; font-weight: 800; margin: 0 0 14px; padding: 0 0 8px;
	border-bottom: 2px solid var(--c); position: relative;
}
.kdh2-boxhead::before { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 4px; background: var(--c); }
.kdh2-latest { background: var(--kd-surface); padding: 16px; border-radius: 6px; }
.kdh2-latest ul { max-height: 560px; overflow: auto; }
.kdh2-latest li { padding: 10px 0; border-bottom: 1px dashed var(--h-rule); display: grid; gap: 2px; }
.kdh2-latest li:last-child { border-bottom: 0; }
.kdh2-latest time { font-size: 12px; font-weight: 700; color: var(--c); }
.kdh2-latest a { font-weight: 600; line-height: 1.4; font-size: 15.5px; }
.kdh2-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 32px 0; padding: 22px 0; border-top: 1px solid var(--h-rule); border-bottom: 1px solid var(--h-rule); }
.kdh2-strip .kds-title { font-size: 16.5px; margin-top: 8px; }
.kdh2-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
.kdh2-box .kds-title { font-size: 19px; margin-top: 8px; }
.kdh2-box .kds-img { aspect-ratio: 16 / 9; }
.kdh2-bullets { margin-top: 12px; }
.kdh2-bullets li { position: relative; padding: 8px 0 8px 16px; border-top: 1px solid var(--h-rule); font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.kdh2-bullets li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--c); border-radius: 50%; }
.kdh2-video { background: #0f1722; color: #fff; margin-top: 44px; padding: 32px 0 40px; }
.kdh2-video .kdh2-boxhead { color: #fff; border-color: #e11d2e; --c: #e11d2e; }
.kdh2-videogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kdh2-video .kds-title { font-size: 16px; margin-top: 8px; color: #fff; }
.kdh2-video .kds-meta { color: #9fb0c3; }
.kdh2-video .kds-play { width: 48px; height: 48px; right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(225, 29, 46, .92); font-size: 20px; }

/* 3. Headline Bold ----------------------------------------------------- */
.kdh-3 {
	--h-bg: var(--kd-bg); --h-ink: #0b0b0b; --h-rule: #0b0b0b; --c: #e11d2e; --y: #ffd400;
	--cond: "Barlow Condensed", "Inter", "Hind Siliguri", system-ui, sans-serif;
}
html.kd-dark .kdh-3 { --h-ink: #f5f5f5; --h-rule: #f5f5f5; }
.kdh-3 .kds-title { font-family: var(--cond); font-weight: 800; letter-spacing: .005em; }
.kdh3-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
.kdh3-main { position: relative; }
.kdh3-tag {
	position: absolute; z-index: 3; left: 0; top: 0; background: var(--y); color: #000; font-family: var(--cond);
	font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px;
}
.kdh3-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; }
.kdh-3 .kdh3-over { position: relative; border: 3px solid var(--h-rule); background: #000; color: #fff; overflow: hidden; }
.kdh-3 .kdh3-over .kds-img { aspect-ratio: auto; height: 100%; min-height: 150px; }
.kdh-3 .kdh3-over .kds-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)); }
.kdh-3 .kdh3-over .kds-title { color: #fff; font-size: 22px; line-height: 1.1; }
.kdh-3 .kdh3-over .kds-title a:hover { color: var(--y); }
.kdh-3 .kdh3-over .kds-cat { background: var(--y); color: #000; padding: 2px 8px; margin-bottom: 8px; }
.kdh-3 .kdh3-over .kds-meta, .kdh-3 .kdh3-over .kds-exc { color: #e5e5e5; }
.kdh3-main .kdh3-over { height: 100%; min-height: 520px; box-shadow: 8px 8px 0 var(--y); }
.kdh3-main .kdh3-over .kds-title { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; text-transform: uppercase; }
.kdh3-main .kdh3-over .kds-body { padding: 80px 28px 28px; }
.kdh3-main .kdh3-over .kds-exc { font-size: 17px; max-width: 62ch; }
.kdh3-small .kds-title { font-size: 21px; }
.kdh3-ribbon { background: var(--y); color: #000; border: 3px solid #000; margin: 38px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; }
.kdh3-ribbon h2 { background: #000; color: var(--y); font-family: var(--cond); font-size: 28px; line-height: 1; text-transform: uppercase; padding: 18px; display: flex; align-items: center; }
.kdh3-ribbon ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kdh3-ribbon li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 14px 16px; border-left: 3px solid #000; }
.kdh3-ribbon li b { font-family: var(--cond); font-size: 46px; line-height: .9; font-weight: 800; }
.kdh3-ribbon li a { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.kdh3-ribbon li a:hover { color: #000; text-decoration: underline; }
.kdh3-block { margin: 0 0 44px; }
.kdh3-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 5px solid var(--h-rule); margin-bottom: 18px; }
.kdh3-head h2 { font-family: var(--cond); font-weight: 800; font-size: 34px; text-transform: uppercase; background: var(--c); color: #fff; padding: 2px 18px; line-height: 1.25; }
.kdh3-head a { font-weight: 800; text-transform: uppercase; font-size: 14px; }
.kdh3-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.kdh3-mosaic .kds:first-child { grid-column: span 2; grid-row: span 2; }
.kdh3-mosaic .kds { height: 100%; }
.kdh3-mosaic .kdh3-big .kds-title { font-size: 38px; line-height: 1.05; text-transform: uppercase; }
.kdh3-mosaic .kds-title { font-size: 20px; }
.kdh3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kdh-3 .kdh3-card { background: var(--kd-card); border: 3px solid var(--h-rule); padding: 20px; box-shadow: 7px 7px 0 var(--y); }
.kdh-3 .kdh3-card .kds-title { font-size: 26px; line-height: 1.08; margin: 6px 0 8px; }
.kdh-3 .kdh3-card .kds-cat { background: var(--c); color: #fff; padding: 2px 8px; }
.kdh-3 .kdh3-card .kds-by { font-weight: 700; color: var(--h-ink); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }

/* 4. The Daily Front --------------------------------------------------- */
.kdh-4 { --h-bg: #fff; --h-ink: #14181f; --h-mute: #5b6472; --h-rule: #dde1e7; --c: #0b3d91; }
html.kd-dark .kdh-4 { --h-bg: #12151b; --h-ink: #eceff4; --h-mute: #98a2b3; --h-rule: #2a303b; --c: #6ea0ff; }
.kdh4-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 28px; padding-bottom: 24px; border-bottom: 3px double var(--h-rule); }
.kdh4-lead .kds-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; font-weight: 800; margin: 12px 0 8px; }
.kdh4-lead .kds-cat { margin-top: 12px; }
.kdh4-lead .kds-exc { font-size: 17px; }
.kdh4-stack { display: grid; align-content: start; }
.kdh4-stack .kds { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--h-rule); }
.kdh4-stack .kds:first-child { padding-top: 0; }
.kdh4-stack .kds:last-child { border-bottom: 0; padding-bottom: 0; }
.kdh4-stack .kds-title { font-size: 16.5px; line-height: 1.32; }
.kdh4-stack .kds-img { aspect-ratio: 4 / 3; }
.kdh4-stack .kds-play, .kdh5-row .kds-play, .kdh5-left .kds-play, .kdh4-picks .kds-play, .kdh5-more-grid .kds-play { width: 26px; height: 26px; font-size: 11px; right: 5px; bottom: 5px; }
.kdh4-strip { display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid var(--h-rule); }
.kdh4-strip-label { flex: none; background: var(--c); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px; display: flex; align-items: center; }
.kdh4-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; min-width: 0; }
.kdh4-strip li { padding: 12px 16px; border-left: 1px solid var(--h-rule); display: grid; gap: 2px; align-content: start; }
.kdh4-strip li:first-child { border-left: 0; }
.kdh4-strip time { font-size: 12px; font-weight: 700; color: var(--c); }
.kdh4-strip a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.kdh4-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; margin-top: 30px; align-items: start; }
.kdh4-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
.kdh4-sechead, .kdh4-sidehead, .kdh5-head { font-size: 17px; font-weight: 800; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--h-ink); position: relative; }
.kdh4-sechead::after, .kdh4-sidehead::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 2px; background: var(--c); }
.kdh4-sechead a { color: var(--h-ink); }
.kdh4-secbody .kds-title { font-size: 20px; margin-top: 8px; }
.kdh4-secbody .kds-img { aspect-ratio: 16 / 9; }
.kdh4-secbody ul { margin-top: 12px; }
.kdh4-secbody li { padding: 9px 0 9px 15px; border-top: 1px solid var(--h-rule); position: relative; font-weight: 600; font-size: 15.5px; line-height: 1.38; }
.kdh4-secbody li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; background: var(--c); }
.kdh4-side { display: grid; gap: 32px; }
.kdh4-read { background: color-mix(in srgb, var(--c) 6%, var(--h-bg)); padding: 18px; border-top: 4px solid var(--c); }
.kdh4-read li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--h-rule); align-items: start; }
.kdh4-read li:last-child { border-bottom: 0; }
.kdh4-read li span { font-size: 28px; font-weight: 800; line-height: 1; color: var(--c); }
.kdh4-read a { font-weight: 600; line-height: 1.4; font-size: 15.5px; }
.kdh4-picks .kds { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--h-rule); }
.kdh4-picks .kds:last-child { border-bottom: 0; }
.kdh4-picks .kds-title { font-size: 15.5px; }
.kdh4-picks .kds-img { aspect-ratio: 4 / 3; }

/* 5. Bangla Daily ------------------------------------------------------ */
.kdh-5 { --h-bg: #fff; --h-ink: #161616; --h-mute: #62666d; --h-rule: #e1e1e1; --c: #c8102e; }
html.kd-dark .kdh-5 { --h-bg: #121212; --h-ink: #eee; --h-mute: #9a9a9a; --h-rule: #2b2b2b; --c: #ff5a6e; }
.kdh5-top { display: grid; grid-template-columns: minmax(0, 1fr) 270px 260px; gap: 0; padding-bottom: 28px; border-bottom: 1px solid var(--h-rule); }
.kdh5-top > * { padding: 0 22px; border-left: 1px solid var(--h-rule); }
.kdh5-top > :first-child { padding-left: 0; border-left: 0; }
.kdh5-top > :last-child { padding-right: 0; }
.kdh5-lead .kds-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; font-weight: 800; margin: 12px 0 8px; }
.kdh5-lead .kds-cat { margin-top: 12px; background: var(--c); color: #fff; padding: 2px 9px; border-radius: 2px; }
.kdh5-under { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--h-rule); }
.kdh5-under .kds-title { font-size: 19px; }
.kdh5-left .kds { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--h-rule); }
.kdh5-left .kds:first-child { padding-top: 0; }
.kdh5-left .kds:last-child { border-bottom: 0; }
.kdh5-left .kds-title, .kdh5-row .kds-title { font-size: 15.5px; line-height: 1.35; }
.kdh5-left .kds-img, .kdh5-row .kds-img, .kdh5-more-grid .kds-img { aspect-ratio: 4 / 3; }
.kdh5-latest .kdh5-head { color: var(--c); border-color: var(--c); }
.kdh5-latest li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 0 10px; padding: 11px 0; border-bottom: 1px dotted var(--h-rule); position: relative; }
.kdh5-latest li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-top: 7px; grid-row: span 2; }
.kdh5-latest time { font-size: 12px; font-weight: 700; color: var(--h-mute); }
.kdh5-latest a { font-weight: 600; line-height: 1.38; font-size: 15.5px; }
.kdh5-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; margin-top: 30px; }
.kdh5-cathead { margin: 0 0 14px; font-size: 18px; font-weight: 800; border-top: 4px solid var(--c); padding-top: 8px; }
.kdh5-cathead a { color: var(--h-ink); }
.kdh5-cat > .kds:first-of-type .kds-title { font-size: 21px; margin-top: 9px; }
.kdh5-cat > .kds:first-of-type .kds-img { aspect-ratio: 16 / 9; }
.kdh5-row { display: grid !important; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--h-rule); margin-top: 0; }
.kdh5-more { margin-top: 38px; }
.kdh5-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.kdh5-more-grid .kds { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--h-rule); }
.kdh5-more-grid .kds-title { font-size: 16.5px; }

/* 6. Responsive -------------------------------------------------------- */

@media (max-width: 1100px) {
	.kdh1-top { grid-template-columns: 220px minmax(0, 1fr) 250px; }
	.kdh2-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.kdh2-latest { grid-column: 1 / -1; }
	.kdh2-latest ul { max-height: none; columns: 2; column-gap: 28px; }
}
@media (max-width: 991px) {
	.kdh1-top { grid-template-columns: 1fr; }
	.kdh1-top > * { padding: 0 0 22px; border-left: 0 !important; }
	.kdh1-top > * + * { border-top: 1px solid var(--h-rule); padding-top: 22px; }
	.kdh1-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.kdh1-cat:nth-child(odd) { padding-left: 0; border-left: 0; }
	.kdh2-strip, .kdh2-videogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh2-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh3-hero { grid-template-columns: 1fr; }
	.kdh3-stack { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
	.kdh3-main .kdh3-over { min-height: 420px; }
	.kdh3-ribbon { grid-template-columns: 1fr; }
	.kdh3-ribbon ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh3-ribbon li { border-top: 3px solid #000; }
	.kdh3-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh3-cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.kdh-1 .kdh1-dateline { justify-content: center; text-align: center; }
	.kdh1-subs { grid-template-columns: 1fr; }
	.kdh1-subs .kds + .kds { padding-left: 0; border-left: 0; border-top: 1px solid var(--h-rule); margin-top: 16px; }
	.kdh1-more-grid { grid-template-columns: 1fr; }
	.kdh1-cats { grid-template-columns: 1fr; }
	.kdh1-cat { padding-left: 0; border-left: 0; }
	.kdh2-top { grid-template-columns: 1fr; }
	.kdh2-latest ul { columns: 1; }
	.kdh2-boxes { grid-template-columns: 1fr; }
	.kdh3-stack { grid-template-columns: 1fr; }
	.kdh3-main .kdh3-over { min-height: 340px; }
	.kdh3-main .kdh3-over .kds-body { padding: 60px 18px 18px; }
	.kdh3-ribbon ol { grid-template-columns: 1fr; }
	.kdh3-mosaic { grid-auto-rows: 190px; }
	.kdh3-mosaic .kds:first-child { grid-column: span 2; grid-row: span 1; }
	.kdh3-mosaic .kdh3-big .kds-title { font-size: 28px; }
}
@media (max-width: 520px) {
	.kdh2-strip, .kdh2-videogrid { grid-template-columns: 1fr; }
	.kdh3-mosaic { grid-template-columns: 1fr; }
	.kdh3-mosaic .kds:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.kdh .kds-img img { transition: none; }
}

/* fixes */
.kd-home-tpl .kd-main { padding-top: 0; padding-bottom: 0; }
.kdh2-mid .kds-img { aspect-ratio: 16 / 7; }
.kdh2-mid { gap: 14px; }
.kdh3-mosaic .kds:first-child:last-child { grid-column: 1 / -1; grid-row: span 1; }
.kdh3-mosaic .kds:first-child:last-child .kds-title { font-size: 30px; }

/* responsive: templates 4 and 5 */
@media (max-width: 1100px) {
	.kdh4-body { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
	.kdh5-top { grid-template-columns: minmax(0, 1fr) 240px; }
	.kdh5-latest { grid-column: 1 / -1; border-left: 0 !important; padding: 24px 0 0 !important; margin-top: 24px; border-top: 1px solid var(--h-rule); }
	.kdh5-latest ul { columns: 2; column-gap: 28px; }
}
@media (max-width: 991px) {
	.kdh4-top { grid-template-columns: 1fr; }
	.kdh4-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.kdh4-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh4-strip li:nth-child(3) { border-left: 0; }
	.kdh4-body { grid-template-columns: 1fr; }
	.kdh5-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kdh5-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.kdh4-stack { grid-template-columns: 1fr; }
	.kdh4-strip { flex-direction: column; }
	.kdh4-strip-label { padding: 9px 14px; }
	.kdh4-main { grid-template-columns: 1fr; }
	.kdh5-top { grid-template-columns: 1fr; }
	.kdh5-top > * { padding: 22px 0 0; border-left: 0; }
	.kdh5-top > :first-child { padding-top: 0; }
	.kdh5-left { border-top: 1px solid var(--h-rule); margin-top: 22px; }
	.kdh5-latest ul { columns: 1; }
	.kdh5-under { grid-template-columns: 1fr; }
	.kdh5-cats, .kdh5-more-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. Opening block (hero) of every homepage
   ========================================================================== */
.kdhero { --hc: var(--c, #e11d2e); color: var(--h-ink); }
.kdhero a { color: inherit; }
.kdhero a:hover { color: var(--hc); }
.kdhero-img { display: block; position: relative; overflow: hidden; background: var(--kd-surface); }
.kdhero-img img, .kdhero-img .kd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kdhero-img:hover img { transform: scale(1.03); }
.kdhero .kds-play { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; display: grid; place-items: center; font-size: 14px; }
.kdhero-title { margin: 0; font-weight: 800; line-height: 1.22; font-size: 19px; }
.kdhero-exc { margin: 0; color: var(--h-mute); line-height: 1.6; }
.kdhero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--h-mute); }
.kdhero-cat { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--h-ink); padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--h-rule); }
.kdhero-head { display: flex; align-items: center; gap: 24px; margin: 0 0 8px; font-size: 20px; font-weight: 700; text-align: center; }
.kdhero-head::before, .kdhero-head::after { content: ""; flex: 1; height: 4px; background: var(--hc); }
.kdhero-head span { flex: none; }
.kdhero-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0)); pointer-events: none; }
.kdhero-over a, .kdhero-over .kdhero-meta, .kdhero-over .kdhero-cat, .kdhero-over .kdhero-exc { color: #fff; pointer-events: auto; }
.kdhero-over .kdhero-cat { border-color: rgba(255, 255, 255, .4); }
.kdhero-over .kdhero-exc { opacity: .85; margin-top: 8px; }
.kdhero-over .kdhero-title { margin: 8px 0 0; }
.kdhero-card .kdhero-img { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.kdhero-card .kdhero-meta { margin-bottom: 4px; }

/* a: text | picture | Top News list — dark band */
.kdhero-a { --h-ink: #fff; --h-mute: #9b9b9b; --h-rule: #3a3a3a; background: #0f0f0f; padding: 54px 0; margin-top: -24px; }
.kdhero-a .kd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.kdhero-a .kdhero-text { display: grid; gap: 22px; }
.kdhero-a .kdhero-title { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.08; overflow-wrap: break-word; }
.kdhero-a .kdhero-exc { font-size: 15.5px; }
.kdhero-a > .kd-wrap > .kdhero-img { aspect-ratio: 4 / 5; max-height: 540px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); }
.kdhero-a .kdhero-item { padding: 20px 0; border-bottom: 1px solid var(--h-rule); display: grid; gap: 10px; }
.kdhero-a .kdhero-item:last-child { border-bottom: 0; }
.kdhero-a .kdhero-item .kdhero-title { font-size: 22px; }

/* b: 2 picture stories | lead | 2 picture stories */
.kdhero-b { padding: 0 0 26px; border-bottom: 3px double var(--h-rule); margin-bottom: 26px; }
.kdhero-b .kd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr); gap: 0; padding: 0; max-width: none; }
.kdhero-b .kdhero-side, .kdhero-b .kdhero-mid { padding: 0 22px; }
.kdhero-b .kdhero-side:first-child { padding-left: 0; }
.kdhero-b .kdhero-side:last-child { padding-right: 0; }
.kdhero-b .kdhero-side { display: grid; gap: 22px; align-content: start; }
.kdhero-b .kdhero-side + .kdhero-mid, .kdhero-b .kdhero-mid + .kdhero-side { border-left: 1px solid var(--h-rule); }
.kdhero-b .kdhero-mid > .kdhero-img { aspect-ratio: 16 / 11; margin-bottom: 14px; }
.kdhero-b .kdhero-mid .kdhero-title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; margin: 6px 0 10px; }
.kdhero-b .kdhero-mid .kdhero-meta { margin-top: 2px; }
.kdhero-b .kdhero-card + .kdhero-card { padding-top: 22px; border-top: 1px solid var(--h-rule); }

/* c: headline on the picture | Top News list with thumbnails */
.kdhero-c { padding: 0 0 30px; }
.kdhero-c .kd-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 34px; align-items: start; padding: 0; max-width: none; }
.kdhero-c .kdhero-lead { position: relative; min-height: 440px; border-radius: 4px; overflow: hidden; }
.kdhero-c .kdhero-lead > .kdhero-img { position: absolute; inset: 0; }
.kdhero-c .kdhero-lead .kdhero-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.14; }
.kdhero-c .kdhero-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--h-rule); }
.kdhero-c .kdhero-row:last-child { border-bottom: 0; }
.kdhero-c .kdhero-row .kdhero-img { aspect-ratio: 4 / 3; }
.kdhero-c .kdhero-row .kdhero-title { font-size: 16.5px; margin-bottom: 6px; }

/* d: big picture beside the lead text, picture stories underneath */
.kdhero-d { padding: 4px 0 26px; }
.kdhero-d .kd-wrap { padding: 0; max-width: none; }
.kdhero-d .kdhero-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--h-rule); }
.kdhero-d .kdhero-top > .kdhero-img { aspect-ratio: 16 / 10; }
.kdhero-d .kdhero-text { display: grid; gap: 14px; }
.kdhero-d .kdhero-text .kdhero-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; font-weight: 900; }
.kdhero-d .kdhero-exc { font-size: 17px; }
.kdhero-d .kdhero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 24px; }
.kdhero-d .kdhero-card { padding: 0 22px; }
.kdhero-d .kdhero-card:first-child { padding-left: 0; }
.kdhero-d .kdhero-card:last-child { padding-right: 0; }
.kdhero-d .kdhero-card + .kdhero-card { border-left: 1px solid var(--h-rule); }

/* e: big overlay lead | 2 x 2 overlay stories */
.kdhero-e { padding: 0 0 30px; }
.kdhero-e .kd-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding: 0; max-width: none; }
.kdhero-e .kdhero-lead { position: relative; min-height: 520px; overflow: hidden; }
.kdhero-e .kdhero-lead > .kdhero-img { position: absolute; inset: 0; }
.kdhero-e .kdhero-lead .kdhero-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.kdhero-e .kdhero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kdhero-e .kdhero-tile { position: relative; min-height: 253px; overflow: hidden; }
.kdhero-e .kdhero-tile > .kdhero-img { position: absolute; inset: 0; }
.kdhero-e .kdhero-tile .kdhero-over { padding: 50px 16px 14px; }
.kdhero-e .kdhero-tile .kdhero-title { font-size: 17px; }

/* template skins */
.kdh-1 .kdhero { --hc: #8c1d1d; }
.kdh-1 .kdhero-title { font-family: var(--serif, Georgia, serif); }
.kdh-1 .kdhero-cat, .kdh-1 .kdhero-meta { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.kdh-1 .kdhero-d .kdhero-top { border-color: var(--h-ink); }
.kdh-3 .kdhero-a { --hc: #ffd400; border-bottom: 6px solid #ffd400; }
.kdh-3 .kdhero-a .kdhero-title { font-family: var(--cond, inherit); text-transform: uppercase; letter-spacing: .005em; }
.kdh-3 .kdhero-a .kdhero-cat { color: #ffd400; }
.kdh-4 .kdhero { --hc: #0b3d91; }
.kdh-5 .kdhero { --hc: #c8102e; }

/* the page padding is replaced by the band itself */
.kdh-3 { padding-top: 24px; }

/* neighbouring blocks now that the lead moved up */
.kdh1-top { grid-template-columns: 250px minmax(0, 1fr) 300px; }
.kdh1-subs { margin-top: 0; border-top: 0; }
.kdh1-subs .kds, .kdh1-subs .kds + .kds { padding-top: 0; }
.kdh2-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
.kdh2-mid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.kdh2-mid .kds { border-bottom: 0; padding-bottom: 0; }
.kdh2-mid .kds-img { aspect-ratio: 16 / 10; }
.kdh5-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--h-rule); }
.kdh5-top > * { padding: 0; border-left: 0; }
.kdh5-top > :last-child { padding-left: 30px; border-left: 1px solid var(--h-rule); }
.kdh5-under { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; padding-top: 0; border-top: 0; gap: 22px; }
.kdh5-latest ul { max-height: none; }

@media (max-width: 1100px) {
	.kdh1-top { grid-template-columns: 220px minmax(0, 1fr) 250px; }
	.kdhero-a .kd-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.kdhero-a .kdhero-list { grid-column: 1 / -1; }
	.kdhero-a > .kd-wrap > .kdhero-img { aspect-ratio: 1; }
	.kdhero-b .kd-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
	.kdh2-top { grid-template-columns: 1fr; }
	.kdh2-mid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kdh5-top { grid-template-columns: 1fr; }
	.kdh5-top > :last-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 991px) {
	.kdh1-top { grid-template-columns: 1fr; }
	.kdhero-b .kd-wrap { grid-template-columns: 1fr; }
	.kdhero-b .kdhero-mid { order: -1; padding: 0 0 22px; }
	.kdhero-b .kdhero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 !important; gap: 20px; }
	.kdhero-b .kdhero-side + .kdhero-mid, .kdhero-b .kdhero-mid + .kdhero-side { border-left: 0; }
	.kdhero-b .kdhero-mid + .kdhero-side { margin-top: 20px; }
	.kdhero-b .kdhero-card + .kdhero-card { padding-top: 0; border-top: 0; }
	.kdhero-c .kd-wrap, .kdhero-d .kdhero-top, .kdhero-e .kd-wrap { grid-template-columns: 1fr; }
	.kdhero-c .kdhero-lead { min-height: 380px; }
	.kdhero-e .kdhero-lead { min-height: 400px; }
	.kdhero-d .kdhero-cards { grid-template-columns: 1fr; }
	.kdhero-d .kdhero-card { padding: 0 0 18px; }
	.kdhero-d .kdhero-card + .kdhero-card { border-left: 0; padding-top: 18px; border-top: 1px solid var(--h-rule); }
}
@media (max-width: 767px) {
	.kdhero-a { padding: 34px 0; }
	.kdhero-a .kd-wrap { grid-template-columns: 1fr; gap: 26px; }
	.kdhero-a > .kd-wrap > .kdhero-img { order: -1; aspect-ratio: 4 / 3; max-height: none; -webkit-mask-image: none; mask-image: none; }
	.kdhero-a .kdhero-text { order: 0; }
	.kdhero-b .kdhero-side { grid-template-columns: 1fr; }
	.kdhero-e .kdhero-grid { grid-template-columns: 1fr 1fr; }
	.kdhero-e .kdhero-tile { min-height: 190px; }
	.kdhero-e .kdhero-tile .kdhero-title { font-size: 15px; }
	.kdh2-mid { grid-template-columns: 1fr; }
	.kdh5-under { grid-template-columns: 1fr; }
	.kdhero-c .kdhero-row { grid-template-columns: 96px minmax(0, 1fr); }
}

/* sections placed one by one in Elementor */
.kdh.kdh-part { padding: 0 0 22px; }
.kdh.kdh-part-hero { padding-top: 0; }
.kdh-part .kdhero-a { margin-top: 0; }
.kdh-part .kdh1-rule:first-child { margin-top: 0; }

.kdhero-a .kdhero-text { min-width: 0; }
