/* ==========================================================================
   Kolkata Today CMS — main.css
   Newspaper-style layout matching kolkatatoday.com aesthetic.
   ========================================================================== */

:root {
  --red: #e63946;
  --red-dark: #c0392b;
  --dark: #141420;
  --text: #202020;
  --muted: #666;
  --muted-light: #999;
  --border: #e8e8e8;
  --border-strong: #d0d0d0;
  --bg: #fff;
  --bg-alt: #f8f8f8;
  --wrap: 1200px;
  --radius: 3px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Load Playfair Display for headlines */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  font: 14px/1.55 var(--font-sans);
  color: var(--text); background: var(--bg);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; margin: 0 0 .4em; line-height: 1.25; color: #111; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
form { margin: 0; }
time { color: var(--muted); font-size: 12px; }

.kt-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.inline { display: inline; }

/* ─── Topbar ─────────────────────────────────────────────── */
.kt-topbar { background: var(--dark); color: #eee; font-size: 12px; padding: 7px 0; }
.kt-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kt-topbar-left, .kt-topbar-right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.kt-topbar a { color: #eee; }
.kt-topbar a:hover { color: var(--red); }
.kt-linkbtn { background: none; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.kt-linkbtn.danger { color: var(--red); }
.kt-social a { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; background: rgba(255,255,255,.1); border-radius: 50%; font-weight: 700; font-size: 11px; }
.kt-social a:hover { background: var(--red); color: #fff; }

/* ─── Header ─────────────────────────────────────────────── */
.kt-header { background: #fff; padding: 16px 0; }
.kt-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.kt-logo { display: flex; flex-direction: column; gap: 0; font-family: var(--font-serif); line-height: 1; }
.kt-logo span { font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.kt-logo em { font-style: italic; color: var(--red); font-weight: 700; }
.kt-logo small { font-size: 10px; letter-spacing: 2px; color: var(--muted); font-family: var(--font-sans); margin-top: 2px; }
.kt-logo-tag { font-size: 10px; color: var(--muted); font-style: italic; font-family: var(--font-sans); margin-top: 1px; }
.kt-header-ad { flex: 0 0 auto; max-width: 720px; }
.kt-header-ad img { width: 100%; border-radius: var(--radius); }
.kt-header-ad-fallback { background: linear-gradient(90deg, #2c3e50, #c0392b); color: #fff; padding: 18px 26px; border-radius: var(--radius); text-align: center; min-width: 560px; }
.kt-header-ad-fallback strong { font-size: 22px; display: block; font-family: var(--font-serif); }
.kt-header-ad-fallback strong em { color: #fff; }
.kt-header-ad-fallback span { font-size: 11px; opacity: .8; letter-spacing: .5px; }

/* ─── Main nav ───────────────────────────────────────────── */
.kt-mainnav { background: var(--dark); color: #fff; border-bottom: 3px solid var(--red); }
.kt-mainnav .kt-wrap { display: flex; justify-content: space-between; align-items: center; }
.kt-nav { display: flex; list-style: none; margin: 0; padding: 0; }
.kt-nav > li { position: relative; }
.kt-nav > li > a { color: #fff; display: block; padding: 11px 12px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; font-family: var(--font-sans); }
.kt-nav > li:hover > a { background: var(--red); color: #fff; }
.kt-nav-sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; color: var(--text); min-width: 200px; list-style: none; padding: 0; margin: 0; box-shadow: 0 6px 24px rgba(0,0,0,.15); z-index: 100; }
.kt-nav > li:hover .kt-nav-sub { display: block; }
.kt-nav-sub a { display: block; padding: 9px 14px; font-size: 12px; border-bottom: 1px solid var(--border); }
.kt-nav-sub a:hover { background: var(--bg-alt); color: var(--red); }
.kt-search { display: flex; align-items: center; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.15); }
.kt-search input { border: 0; background: rgba(255,255,255,.08); color: #fff; padding: 6px 10px; border-radius: var(--radius); font-size: 12px; width: 150px; }
.kt-search input::placeholder { color: rgba(255,255,255,.55); }
.kt-search button { background: transparent; border: 0; color: #fff; padding: 4px 6px; }

/* ─── FD ticker (LATEST NEWS red bar) ────────────────────── */
.kt-fdticker { background: #fff; border-bottom: 1px solid var(--border); }
.kt-fdticker-inner { display: flex; align-items: stretch; gap: 0; padding: 0; }
.kt-fdticker-label { display: flex; align-items: center; padding: 9px 16px; font-weight: 700; letter-spacing: .5px; font-size: 11px; white-space: nowrap; font-family: var(--font-sans); }
.kt-fdticker-bar { flex: 1; overflow: hidden; position: relative; border-bottom: 2px solid var(--red); }
.kt-fdticker-track { display: flex; gap: 0; white-space: nowrap; padding: 10px 0; animation: kt-marquee 15s linear infinite; font-size: 12px; }
.kt-fdticker-track a, .kt-fdticker-track span { padding: 0 18px; color: #333; }
.kt-fdticker-track a:hover { color: var(--red); }
.kt-fdticker-divider { color: #ccc; padding: 0 !important; }
.kt-fdticker:hover .kt-fdticker-track { animation-play-state: paused; }
.kt-fdticker-nav { display: flex; border-left: 1px solid var(--border); }
.kt-fdticker-nav button { border: 0; background: #fff; padding: 0 14px; font-size: 16px; cursor: pointer; color: var(--muted); }
.kt-fdticker-nav button:hover { background: var(--red); color: #fff; }
@keyframes kt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Main layout ────────────────────────────────────────── */
.kt-main { padding: 20px 0 30px; background: var(--bg); min-height: 60vh; }
.kt-row { display: grid; gap: 24px; margin-bottom: 24px; }
.kt-empty-home { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); margin: 20px auto; }

/* Hero row: 2/3 main + 1/3 brief-news */
.kt-hero-row { grid-template-columns: 2fr 1fr; }

/* Two-column layouts */
.kt-twocol-main { grid-template-columns: minmax(0, 1fr) 320px; }

.kt-col-main { min-width: 0; }
.kt-col-side  { min-width: 0; }

/* ─── Hero card ──────────────────────────────────────────── */
.kt-hero-main { min-width: 0; }
.kt-hero-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: #1a1a1a; aspect-ratio: 16/10; }
/* Hero: image FULLY COVERS the entire 16/10 box on desktop too — no
   letterbox bars. Crops the edges as needed to fill the frame. */
.kt-hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #1a1a1a; }
.kt-hero-overlay { position: absolute; inset: auto 0 0 0; padding: 40px 24px 22px; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: #fff; }
.kt-hero-overlay h1 { font-size: 26px; color: #fff; margin: 0 0 6px; line-height: 1.2; }
.kt-hero-overlay p  { color: rgba(255,255,255,.9); font-size: 13px; margin: 0; line-height: 1.5; }
.kt-hero-side { min-width: 0; }

/* ─── Brief News sidebar widget ──────────────────────────── */
/* ─── Brief News widget — hidden scrollbar + smooth auto-scroll ──── */
.kt-briefnews-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.kt-briefnews-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.kt-pulse-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: kt-pulse 1.5s infinite;
}
.kt-briefnews-head h3 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text);
}

/* Outer container — fixed height, hides overflow (no scrollbar) */
.kt-briefnews-list {
  position: relative;
  height: 420px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.kt-briefnews-list::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Inner track — contains items, auto-scrolls with CSS animation */
.kt-briefnews-track {
  display: flex;
  flex-direction: column;
  animation: kt-briefnews-scroll 45s linear infinite;
}
.kt-briefnews-widget:hover .kt-briefnews-track {
  animation-play-state: paused;
}

.kt-briefnews-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  flex-shrink: 0;
}
.kt-briefnews-item:hover { background: #fafafa; }
.kt-briefnews-item img {
  border-radius: 6px;
  width: 60px; height: 60px;
  object-fit: cover;
}
.kt-briefnews-body h4 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.35;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #1a1a1a;
}
.kt-briefnews-body time {
  font-size: 11px;
  color: var(--muted);
}

.kt-briefnews-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.kt-briefnews-pause {
  border: 1px solid var(--border);
  background: #fff;
  width: 28px; height: 28px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kt-briefnews-pause:hover { background: #f0f0f0; }
.kt-briefnews-pause.paused { background: var(--red); color: #fff; border-color: var(--red); }

@keyframes kt-pulse { 50% { opacity: .3; } }

/* Marquee animation — translates track up continuously */
@keyframes kt-briefnews-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ─── Section title (red bar + title) ────────────────────── */
.kt-section-title {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  font-weight: 700;
  padding-left: 10px;
  border-left: 4px solid var(--red);
  margin: 0 0 14px;
}

/* ─── Block wrapper ──────────────────────────────────────── */
.kt-block { margin-bottom: 14px; }

/* ─── Global News featured split ─────────────────────────── */
.kt-featured-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.kt-feat-large { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; }
/* Featured image: keep aspect ratio + show ENTIRE image (no cropping)
   The container holds the size; the image fits inside proportionally. */
.kt-feat-large img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center top; background: #f3f4f6; }
.kt-feat-meta { padding: 12px 0 0; }
.kt-feat-meta h3 { font-size: 18px; line-height: 1.25; margin: 6px 0 6px; font-family: var(--font-serif); font-weight: 700; }
.kt-feat-large:hover h3 { color: var(--red); }
.kt-feat-meta p  { font-size: 13px; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }
.kt-tag { display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; letter-spacing: 1px; }
.kt-byline { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); font-family: var(--font-sans); }
.kt-byline time { font-size: 11px; }

.kt-feat-list { display: flex; flex-direction: column; gap: 14px; }

/* ─── Mini card (Global News right column, Popular etc.) ── */
.kt-mini-card { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; }
.kt-mini-card img { width: 110px; height: 74px; object-fit: cover; border-radius: 3px; }
.kt-mini-card h4 { font-size: 13px; line-height: 1.3; margin: 0 0 4px; font-family: var(--font-serif); font-weight: 700; }
.kt-mini-card:hover h4 { color: var(--red); }
.kt-mini-card time { font-size: 10px; color: var(--muted); }

/* ─── Category label ─────────────────────────────────────── */
.kt-cat-label { display: inline-block; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; font-family: var(--font-sans); }

/* ─── Standard post card (vertical) ──────────────────────── */
.kt-card { background: #fff; }
.kt-card-image { display: block; overflow: hidden; border-radius: var(--radius); position: relative; background: #f3f4f6; }
.kt-card-image img { aspect-ratio: 16/10; object-fit: contain; width: 100%; transition: transform .35s; background: #f3f4f6; }
.kt-card:hover .kt-card-image img { transform: scale(1.04); }
.kt-card-body { padding: 10px 0 0; }
.kt-card-title { font-size: 16px; line-height: 1.3; margin: 4px 0 6px; font-family: var(--font-serif); font-weight: 700; }
.kt-card-title a:hover { color: var(--red); }
.kt-card-excerpt { font-size: 12px; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }

/* ─── Post card row (horizontal thumb + text) ────────────── */
.kt-card-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); align-items: start; }
.kt-card-row:last-child { border-bottom: 0; margin-bottom: 0; }
.kt-card-row-image img { width: 100px; height: 68px; object-fit: cover; border-radius: 3px; }
.kt-card-row-body h4 { font-size: 13px; line-height: 1.3; margin: 0 0 5px; font-family: var(--font-serif); font-weight: 700; }
.kt-card-row-body h4 a:hover { color: var(--red); }

/* ─── Grids ──────────────────────────────────────────────── */
.kt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ─── Duo layout (side-by-side blocks) ───────────────────── */
.kt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 14px; padding-top: 10px; border-top: 1px solid var(--border); }

/* ─── Widgets / sidebar ──────────────────────────────────── */
.kt-widget { background: #fff; margin-bottom: 22px; }
.kt-widget-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; padding-left: 10px; border-left: 4px solid var(--red); margin: 0 0 14px; font-family: var(--font-sans); font-weight: 700; }
.kt-popular { list-style: none; padding: 0; margin: 0; }
.kt-popular li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.kt-popular li:last-child { border: 0; }
.kt-popular a { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: start; }
.kt-popular img { width: 70px; height: 70px; object-fit: cover; border-radius: 3px; }
.kt-popular h4 { font-size: 13px; line-height: 1.3; margin: 3px 0 4px; font-family: var(--font-serif); font-weight: 700; }
.kt-popular a:hover h4 { color: var(--red); }
.kt-popular time { font-size: 10px; color: var(--muted); }

/* ─── Archive / category pages ───────────────────────────── */
.kt-archive, .kt-briefnews, .kt-staticpage, .kt-single {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 16px;
}
.kt-archive-head { grid-column: 1 / -1; border-bottom: 2px solid var(--red); padding-bottom: 12px; margin: 4px 0 20px; }
.kt-archive-head h1 { margin: 0; font-size: 26px; font-family: var(--font-serif); }
.kt-breadcrumb { grid-column: 1 / -1; font-size: 11px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; text-transform: uppercase; letter-spacing: .5px; }
.kt-subcats { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.kt-subcats a { display: inline-block; background: var(--bg-alt); padding: 5px 12px; border-radius: 20px; font-size: 12px; }
.kt-subcats a:hover { background: var(--red); color: #fff; }
.kt-empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* Category/tag archive also uses kt-grid-3 */
.kt-archive .kt-grid-3 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .kt-archive .kt-grid-3 { grid-column: 1 / 2; }
}

/* ─── Single post ────────────────────────────────────────── */
.kt-single { margin-top: 12px; }
.kt-single-main { min-width: 0; }
.kt-single-cats a { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-right: 10px; text-transform: uppercase; }
.kt-single-title { font-size: 32px; margin: 10px 0 14px; line-height: 1.18; font-family: var(--font-serif); font-weight: 900; color: #111; }
.kt-single-meta { font-size: 12px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.kt-single-feature { margin: 0 0 18px; }
.kt-single-feature img { width: 100%; border-radius: var(--radius); }
.kt-single-feature figcaption { font-size: 11px; color: var(--muted); padding-top: 5px; font-style: italic; }
.kt-single-body { font-size: 16px; line-height: 1.75; color: #222; font-family: var(--font-serif); }
.kt-single-body p { margin-bottom: 1.2em; }
.kt-single-body img { margin: 18px auto; border-radius: var(--radius); }
.kt-single-body h2 { margin: 1.4em 0 .5em; font-size: 22px; font-family: var(--font-serif); }
.kt-single-body h3 { margin: 1.2em 0 .5em; font-size: 18px; font-family: var(--font-serif); }
.kt-single-body blockquote { border-left: 4px solid var(--red); padding: 10px 20px; margin: 20px 0; background: var(--bg-alt); font-style: italic; }
.kt-single-body pre, .kt-single-body code { background: #272822; color: #f8f8f2; padding: 10px 14px; border-radius: var(--radius); overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-style: normal; }
.kt-single-body table { border-collapse: collapse; width: 100%; margin: 14px 0; font-family: var(--font-sans); font-size: 14px; }
.kt-single-body th, .kt-single-body td { border: 1px solid var(--border); padding: 7px 11px; }
.kt-single-body th { background: var(--bg-alt); font-weight: 600; text-align: left; }
.kt-single-tags { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; }
.kt-single-tags a { display: inline-block; margin: 0 6px; color: var(--muted); }
.kt-single-tags a:hover { color: var(--red); }
.kt-related { margin-top: 34px; }
.kt-views { color: var(--muted-light); }

/* ─── Comments ───────────────────────────────────────────── */
.kt-comments { margin-top: 36px; border-top: 2px solid var(--red); padding-top: 16px; }
.kt-comment { background: var(--bg-alt); padding: 11px 13px; margin: 8px 0; border-radius: var(--radius); }
.kt-comment strong { font-size: 13px; font-family: var(--font-sans); }
.kt-comment time { font-size: 10px; color: var(--muted); margin-left: 8px; }
.kt-comment p { margin: 5px 0 0; font-family: var(--font-sans); font-size: 13px; line-height: 1.5; }
.kt-comment-form { margin-top: 26px; display: grid; gap: 8px; max-width: 520px; font-family: var(--font-sans); }
.kt-comment-form input, .kt-comment-form textarea { padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; }
.kt-comment-form button { background: var(--red); color: #fff; border: 0; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; align-self: start; }
.kt-comment-msg { font-size: 12px; padding: 7px 11px; border-radius: var(--radius); }
.kt-comment-msg.success { background: #e6f4ea; color: #1e7a3a; }
.kt-comment-msg.error { background: #fce8e8; color: #a83232; }

/* ─── Brief News archive ─────────────────────────────────── */
.kt-briefnews { grid-template-columns: 1fr; }
.kt-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.kt-photo-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.kt-photo-image { position: relative; display: block; }
.kt-photo-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.kt-photo-date { position: absolute; top: 0; left: 10px; background: var(--red); color: #fff; font-size: 10px; padding: 5px 12px; font-weight: 700; letter-spacing: .5px; font-family: var(--font-sans); }
.kt-photo-body { padding: 12px; }
.kt-photo-body h3 { font-size: 15px; margin: 0 0 5px; font-family: var(--font-serif); font-weight: 700; }
.kt-photo-body p { font-size: 12px; color: var(--muted); margin: 0 0 5px; line-height: 1.5; }
.kt-photo-credit { font-size: 10px; font-style: italic; color: var(--muted-light); }
.kt-briefnews-controls { text-align: center; margin: 20px 0; }
.kt-load-more { background: var(--red); color: #fff; border: 0; padding: 12px 34px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--radius); font-family: var(--font-sans); }
.kt-load-more:hover { background: var(--red-dark); }
.kt-load-more:disabled { background: #aaa; cursor: not-allowed; }

/* ─── Pagination ─────────────────────────────────────────── */
.kt-pagination { text-align: center; margin: 26px 0; font-family: var(--font-sans); }
.kt-pagination ul { list-style: none; display: inline-flex; gap: 3px; padding: 0; margin: 0; }
.kt-pagination a { display: block; min-width: 34px; padding: 7px 9px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; color: var(--text); }
.kt-pagination .active a { background: var(--red); color: #fff; border-color: var(--red); }
.kt-pagination .gap { padding: 7px 4px; color: var(--muted); font-size: 12px; }

/* ─── Error pages ────────────────────────────────────────── */
.kt-error { padding: 70px 20px; text-align: center; }
.kt-error h1 { font-size: 90px; color: var(--red); margin: 0; font-family: var(--font-serif); }
.kt-error h2 { font-size: 22px; margin: 0 0 13px; font-family: var(--font-serif); }
.kt-btn { display: inline-block; background: var(--red); color: #fff; padding: 11px 22px; border-radius: var(--radius); border: 0; font-weight: 600; font-family: var(--font-sans); font-size: 13px; }
.kt-btn:hover { background: var(--red-dark); color: #fff; }

/* ─── Static page ────────────────────────────────────────── */
.kt-staticpage { max-width: 760px; margin: 20px auto; grid-template-columns: 1fr; }
.kt-staticpage-body { font-size: 16px; line-height: 1.75; font-family: var(--font-serif); }

/* ─── Search ─────────────────────────────────────────────── */
.kt-search-big { display: flex; gap: 10px; margin: 16px 0; }
.kt-search-big input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; }
.kt-search-big button { padding: 12px 26px; background: var(--red); color: #fff; border: 0; border-radius: var(--radius); font-weight: 600; }
.kt-search-count { color: var(--muted); margin: 8px 0 16px; font-size: 13px; }

/* ─── Footer ─────────────────────────────────────────────── */
.kt-footer { background: var(--dark); color: #aaa; margin-top: 30px; padding: 24px 0; font-family: var(--font-sans); }
.kt-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; }
.kt-footer-ad { max-width: 1000px; margin: 0 auto 20px; }
.kt-footer-ad img { width: 100%; border-radius: var(--radius); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .kt-hero-row, .kt-twocol-main, .kt-archive, .kt-single,
  .kt-duo, .kt-featured-split { grid-template-columns: 1fr; }
  .kt-grid-3, .kt-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .kt-header-inner { flex-direction: column; align-items: flex-start; }
  .kt-header-ad { width: 100%; max-width: 100%; }
  .kt-header-ad-fallback { min-width: 0; }
  .kt-nav { flex-wrap: wrap; }
  .kt-hero-overlay h1 { font-size: 20px; }
}
@media (max-width: 560px) {
  .kt-grid-3, .kt-photo-grid { grid-template-columns: 1fr; }
  .kt-mini-card { grid-template-columns: 90px 1fr; }
  .kt-mini-card img { width: 90px; height: 62px; }
  .kt-nav > li > a { padding: 8px 10px; font-size: 11px; }
  .kt-logo span { font-size: 24px; }
  .kt-single-title { font-size: 24px; }
}
.kt-logo-img {
  max-height: 70px;
  max-width: 320px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 720px) {
  .kt-logo-img {
    max-height: 50px;
    max-width: 220px;
  }
}

/* ─── News modal (Brief News lightbox) ────────────────────── */
.kt-news-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  font-family: var(--font-sans);
}
.kt-news-modal[hidden] { display: none; }

.kt-news-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .78);
  cursor: pointer;
  animation: kt-modal-fade .18s ease-out;
}
.kt-news-modal__dialog {
  position: relative;
  background: var(--bg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  animation: kt-modal-pop .22s ease-out;
}
.kt-news-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 2;
  transition: background .15s ease, transform .15s ease;
}
.kt-news-modal__close:hover { background: var(--red); transform: scale(1.05); }

.kt-news-modal__img {
  display: block; width: 100%;
  max-height: 60vh; object-fit: cover;
  background: var(--bg-alt);
}
.kt-news-modal__body { padding: 22px 26px 26px; }
.kt-news-modal__date {
  display: block;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.kt-news-modal__title {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #111;
}
.kt-news-modal__caption {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
}
.kt-news-modal__credit { color: var(--muted); font-size: 12px; }
.kt-news-modal__credit:empty,
.kt-news-modal__date:empty { display: none; }

body.kt-modal-open { overflow: hidden; }

@keyframes kt-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kt-modal-pop  { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .kt-news-modal { padding: 0; }
  .kt-news-modal__dialog { max-height: 100vh; height: 100vh; border-radius: 0; }
  .kt-news-modal__title { font-size: 20px; }
  .kt-news-modal__body  { padding: 18px 18px 22px; }
}
.kt-archive .kt-archive-pagination {
  grid-column: 1 / -1;
  order: 99;
}
.kt-archive .kt-archive-pagination .kt-pagination { margin: 12px 0 26px; }

.kt-sidebar {
  grid-column: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-sans);
}

.kt-sidebar .kt-widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 12px;
}
.kt-sidebar .kt-widget-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #111;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  position: relative;
}

/* Stay Connected — social grid */
.kt-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.kt-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: #fff !important;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.kt-social-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff !important; }
.kt-social-fb { background: #1877f2; }
.kt-social-ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.kt-social-tw { background: #111; }
.kt-social-yt { background: #ff0000; }

/* Sidebar advertisement */
.kt-widget-ad { padding: 12px; text-align: center; }
.kt-widget-ad .kt-ad-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.kt-widget-ad img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* Latest Articles list */
.kt-widget-list { display: flex; flex-direction: column; gap: 14px; }
.kt-widget-list .kt-card-row { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.kt-widget-list .kt-card-row:last-child { padding-bottom: 0; border-bottom: 0; }
.kt-widget-list .kt-card-row h4 { font-size: 14px; line-height: 1.35; margin: 0 0 6px; }
.kt-widget-list .kt-card-row .kt-byline { font-size: 11px; }

/* Stack the sidebar below the grid on tablet/mobile */
@media (max-width: 960px) {
  .kt-archive .kt-sidebar { grid-column: 1; }
  .kt-social-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .kt-social-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}


/* ===========================================================
   ▼  CHANGES — May 2026  ▼
   1. Social icons strip ABOVE stories (right column on home).
   2. Photo strip (4 large cards under category duos).
   3. Bottom News block (more posts to fill scroll-down white-space).
   4. Mobile: hide horizontal-ticker arrows + give marquee full width.
   5. Bottom Must Read sidebar widget.
   =========================================================== */

/* ─── 1) Social-above-stories strip ──────────────────────── */
.kt-stories-social {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.kt-stories-social__btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.kt-stories-social__btn:hover {
  background: #f6f7f9;
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}
.kt-stories-social__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* ─── 2) Photo strip (4 horizontal cards) ────────────────── */
.kt-photostrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 28px;
}
.kt-photostrip__item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  text-decoration: none;
  color: #fff;
}
.kt-photostrip__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}
.kt-photostrip__item:hover img { transform: scale(1.04); }
.kt-photostrip__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
}
.kt-photostrip__cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 7px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.kt-photostrip__title {
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kt-photostrip__meta {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-sans);
}
.kt-photostrip__meta time { color: inherit; font-size: 10px; }

/* ─── 3) Bottom News (extra rows under photo strip) ──────── */
.kt-bottom-news { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--border); }
.kt-bottom-news__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.kt-bottom-news .kt-card-post { margin-bottom: 0; }

/* Bottom Must Read widget — same look as Most Popular */
.kt-mustread-widget { margin-top: 8px; }

/* ─── 4) Hide ticker arrows on mobile + give marquee full width ─── */
@media (max-width: 720px) {
  .kt-fdticker-nav { display: none !important; }
  .kt-fdticker-bar { flex: 1 1 100%; }
  /* Slightly faster scroll & a touch larger text so it reads better
     on a small viewport. */
  .kt-fdticker-track {
    animation-duration: 20s !important;
    font-size: 13px;
    padding: 11px 0;
  }
  .kt-fdticker-label {
    font-size: 10px;
    padding: 9px 12px;
    letter-spacing: .4px;
  }
}

/* ─── Photo strip + bottom news responsive collapse ─── */
@media (max-width: 960px) {
  .kt-photostrip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kt-bottom-news__grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .kt-photostrip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kt-stories-social { justify-content: center; gap: 6px; }
  .kt-stories-social__btn { width: 40px; height: 40px; }
}

/* =====================================================================
   MOBILE HERO CARD
   • Image at NATURAL aspect at FULL container width (no cropping, no gutters)
   • Title + excerpt BELOW the image (overflow:visible, not clipped)
   ===================================================================== */
@media (max-width: 720px) {
  /* ───────────────────────────────────────────────────────────────
     HERO CARD on mobile — image covers the entire box (no letterbox)
     with the title overlaid on a dark gradient at the bottom. Matches
     the requested look (image with title over it, no left/right space).
     ─────────────────────────────────────────────────────────────── */
  .kt-hero-card {
    aspect-ratio: 4/3;
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
    display: block;
    position: relative;
  }
  .kt-hero-card img {
    position: absolute; inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;            /* fill the entire box, crop as needed */
    object-position: center;
    display: block;
    border-radius: 0;
    background: transparent;
  }
  .kt-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 14px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.88));
    color: #fff;
  }
  .kt-hero-overlay h1 { color: #fff; font-size: 18px; line-height: 1.3; margin: 0 0 6px; }
  .kt-hero-overlay p  { color: rgba(255,255,255,.9); font-size: 12.5px; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Featured-large card (Global News): on mobile fully cover the box too
     so it matches the hero treatment — no awkward letterbox bars. */
  .kt-feat-large img {
    aspect-ratio: 16/10;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* =====================================================================
   ▼  ADDITIONAL MOBILE FIXES  ▼ (May 2026)
   1. "LATEST NEWS" ticker label flush to the left edge on mobile.
   2. Photo strip + hero card extend edge-to-edge on small screens
      (no left/right gutter).
   3. Photo strip card image fills the entire container, no gaps.
   ===================================================================== */

/* ─── 1) Latest News ticker — label hugs the left edge on mobile ─── */
@media (max-width: 720px) {
  /* Remove the wrap padding for the ticker so the red LATEST NEWS label
     sits at x=0. The marquee text inside still gets its own padding. */
  .kt-fdticker .kt-wrap.kt-fdticker-inner,
  .kt-fdticker .kt-fdticker-inner {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .kt-fdticker-label {
    margin-left: 0 !important;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0;
  }
}

/* ─── 2) Photo strip + hero edge-to-edge on mobile ───────────────── */
@media (max-width: 720px) {
  /* Allow the hero row to break out of the .kt-wrap horizontal padding
     so the card image truly goes edge-to-edge. We achieve this by
     negative-margining the wrap padding (16px) on the hero row only. */
  .kt-hero-row.kt-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .kt-hero-row .kt-hero-main {
    padding: 0;
  }

  /* Photo strip: tighten gaps and remove wrap padding so cards fill
     the viewport width fully on phones. */
  .kt-photostrip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
  .kt-photostrip__item {
    border-radius: 0;
    aspect-ratio: 16/10;          /* a bit shorter on mobile for one-up */
  }
}

/* ─── 3) Photo strip image always fully covers its container ─────── */
.kt-photostrip__item img {
  object-position: center center;  /* override "center top" so we don't
                                       chop the bottom of the subject */
}

/* ─── 4) Bottom news cards: edge-to-edge on mobile too ───────────── */
@media (max-width: 560px) {
  .kt-bottom-news__grid {
    margin-left: -16px;
    margin-right: -16px;
    gap: 14px;
  }
  .kt-bottom-news .kt-card-post {
    border-radius: 0;
  }
}
