/*
Theme Name: VijayaKranthi News Clone
Theme URI: https://example.com
Author: Your Name
Description: Telugu news portal theme inspired by VijayaKranthi News. AMP compatible, app download banner, visitor counter, mobile-first responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vk-theme
Tags: news, telugu, telangana, magazine, amp, responsive, visitor-counter
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --saffron:    #ff6600;
  --saffron-dk: #cc4f00;
  --red:        #cc0000;
  --green:      #1a7a1a;
  --green-dk:   #125012;
  --navy:       #0d1b3e;
  --navy-md:    #162952;
  --gold:       #f5a623;
  --white:      #ffffff;
  --off-white:  #f5f5f0;
  --light:      #eef0ec;
  --border:     #d8dbd4;
  --text:       #1a1a1a;
  --muted:      #666666;
  --font-head:  Georgia, 'Times New Roman', serif;
  --font-body:  Arial, 'Helvetica Neue', sans-serif;
  --radius:     3px;
  --shadow:     0 2px 8px rgba(0,0,0,.10);
  --shadow-lg:  0 5px 20px rgba(0,0,0,.16);
  --max-w:      1220px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 15px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto !important;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.55;
  overflow-x: hidden;
  overflow-y: auto !important;
  position: relative;
}
a { color: inherit; text-decoration: none; transition: color .18s; }
a:hover { color: var(--saffron); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }
input { font-family: inherit; }

/* =============================================
   CONTAINER
   ============================================= */
.vk-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 14px;
}

/* =============================================
   APP DOWNLOAD BANNER (fixed bottom)
   ============================================= */
#vk-app-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #0d1b3e 0%, #1a3c6e 60%, #0d1b3e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  box-shadow: 0 -3px 18px rgba(0,0,0,.35);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
#vk-app-banner.vk-visible  { transform: translateY(0); }
#vk-app-banner.vk-gone     { display: none !important; }

.vk-ab-icon {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.vk-ab-body { flex: 1; min-width: 0; }
.vk-ab-name  { font-size: 13px; font-weight: 700; line-height: 1.2; }
.vk-ab-desc  { font-size: 10.5px; opacity: .78; margin-top: 1px; }
.vk-ab-stars { color: var(--gold); font-size: 11px; margin-top: 2px; }
.vk-ab-btn {
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  text-decoration: none;
}
.vk-ab-btn:hover { background: #e09000; color: #111; }
.vk-ab-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vk-ab-close:hover { background: rgba(255,255,255,.3); }

/* =============================================
   TOP UTILITY BAR
   ============================================= */
.vk-topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: 11.5px;
  padding: 5px 0;
  border-bottom: 2px solid var(--saffron);
}
.vk-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.vk-topbar-left  { display: flex; align-items: center; gap: 14px; }
.vk-topbar-right { display: flex; align-items: center; gap: 8px; }
.vk-topbar .vk-date { font-style: italic; white-space: nowrap; }
.vk-topbar a       { color: rgba(255,255,255,.75); }
.vk-topbar a:hover { color: #fff; }
.vk-social-icon {
  width: 24px; height: 24px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  transition: background .18s;
}
.vk-social-icon:hover { background: var(--saffron); color: #fff; }
.vk-topbar-links { display: flex; gap: 12px; }
.vk-topbar-links a { font-size: 11px; }

/* =============================================
   SITE HEADER
   ============================================= */
.vk-header {
  background: #fff;
  padding: 10px 0 0;
  border-bottom: 4px solid var(--saffron);
  box-shadow: var(--shadow);
}
.vk-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 10px;
}
/* Logo */
.vk-logo-wrap a { display: block; }
.vk-logo-text {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}
.vk-logo-text span { color: var(--green); }
.vk-logo-sub {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 2px;
}
/* Header ad */
.vk-header-ad { text-align: center; }
.vk-header-ad .vk-ad-box {
  max-width: 728px;
  margin: 0 auto;
  min-height: 80px;
}
/* Header right */
.vk-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.vk-search-wrap {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.vk-search-wrap input {
  border: none;
  padding: 6px 14px;
  font-size: 13px;
  width: 175px;
  outline: none;
  background: var(--off-white);
}
.vk-search-wrap button {
  background: var(--saffron);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
}
.vk-header-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  text-decoration: none;
}
.vk-header-app-btn:hover { background: var(--green-dk); color: #fff; }

/* =============================================
   PRIMARY NAVIGATION
   ============================================= */
.vk-nav {
  background: var(--saffron);
  position: sticky;
  top: 0;
  z-index: 500;
  overflow: visible;
}
.vk-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: visible;
}
.vk-nav-inner > ul {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  overflow: visible;
}
.vk-nav-inner > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.vk-nav-inner > ul > li > a {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  transition: background .18s;
}
.vk-nav-inner > ul > li > a:hover,
.vk-nav-inner > ul > li.current-menu-item > a {
  background: var(--saffron-dk);
  color: #fff;
}
/* Sub-toggle chevron button */
.vk-sub-toggle {
  background: rgba(0,0,0,.15);
  border: none;
  color: #fff;
  padding: 0 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.2);
  transition: background .18s, transform .2s;
  flex-shrink: 0;
  cursor: pointer;
  min-width: 34px;
  justify-content: center;
}
.vk-sub-toggle:hover                  { background: var(--saffron-dk); }
.vk-sub-toggle[aria-expanded="true"]  { background: var(--saffron-dk); transform: rotate(180deg); }

/* Sub-menu – JS controlled ONLY via .vk-sub-open */
.vk-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  z-index: 600;
  border-top: 3px solid var(--saffron);
  max-height: 60vh;
  overflow-y: auto;
}
.vk-nav li.vk-sub-open > .sub-menu { display: block; }
.vk-nav .sub-menu li               { border-bottom: 1px solid var(--light); }
.vk-nav .sub-menu a {
  display: block;
  color: var(--text);
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
}
.vk-nav .sub-menu a:hover { background: var(--light); color: var(--saffron); }

/* Hamburger */
.vk-hamburger {
  display: none;
  background: rgba(0,0,0,.2);
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  padding: 9px 14px;
  margin-left: auto;
  flex-shrink: 0;
}

/* =============================================
   BREAKING NEWS TICKER
   ============================================= */
.vk-ticker-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 34px;
}
.vk-ticker-label {
  background: var(--red);
  color: #fff;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.vk-blink {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: vk-blink .8s step-end infinite;
  flex-shrink: 0;
}
@keyframes vk-blink { 0%,100%{opacity:1}50%{opacity:0} }
.vk-ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.vk-ticker-inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: vk-ticker 35s linear infinite;
}
.vk-ticker-inner a {
  color: var(--text);
  font-size: 12.5px;
  margin-right: 42px;
}
.vk-ticker-inner a:hover { color: var(--saffron); }
@keyframes vk-ticker { to { transform: translateX(-100%); } }

/* =============================================
   PAGE LAYOUT
   ============================================= */
.vk-page-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  padding: 18px 0;
}
.vk-main { min-width: 0; }
.vk-sidebar { min-width: 0; }

/* =============================================
   SECTION HEADING
   ============================================= */
.vk-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--saffron);
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.vk-sec-head h2 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.vk-sec-head h2 a { color: #fff; }
.vk-more-link {
  font-size: 11px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.5);
  padding: 2px 9px;
  border-radius: 10px;
  white-space: nowrap;
}
.vk-more-link:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Section block wrapper */
.vk-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
.vk-section-body { padding: 12px 14px 14px; }

/* =============================================
   HERO GRID
   ============================================= */
.vk-hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vk-hero-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
}
.vk-hero-main img,
.vk-hero-main amp-img { width: 100%; height: 340px; object-fit: cover; }
.vk-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,.82) 100%);
  padding: 28px 12px 13px;
}
.vk-hero-cat {
  background: var(--saffron);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 5px;
}
.vk-hero-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.vk-hero-title a:hover { color: #ffd0a0; }
.vk-hero-time { font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.vk-hero-side {
  position: relative;
  overflow: hidden;
  background: #111;
}
.vk-hero-side img,
.vk-hero-side amp-img { width: 100%; height: 168px; object-fit: cover; opacity: .88; }
.vk-hero-side-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  padding: 16px 9px 9px;
}
.vk-hero-side-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.vk-hero-side-title a:hover { color: #ffd0a0; }

/* =============================================
   NEWS CARDS
   ============================================= */

/* Horizontal list card */
.vk-card-h {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.vk-card-h:last-child { border-bottom: none; }
.vk-card-h .vk-ch-img {
  width: 108px; height: 72px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.vk-card-h amp-img { border-radius: var(--radius); flex-shrink: 0; }
.vk-card-h .vk-ch-body { flex: 1; min-width: 0; }
.vk-card-h .vk-ch-cat  { font-size: 10px; color: var(--saffron); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.vk-card-h .vk-ch-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: block;
}
.vk-card-h .vk-ch-title:hover { color: var(--saffron); }
.vk-card-h .vk-ch-meta { font-size: 10.5px; color: var(--muted); margin-top: 3px; }

/* Vertical grid card */
.vk-card-v {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vk-card-v .vk-cv-img { width: 100%; height: 140px; object-fit: cover; }
.vk-card-v .vk-cv-body { padding: 9px 10px 11px; }
.vk-card-v .vk-cv-cat  { font-size: 10px; color: var(--saffron); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.vk-card-v .vk-cv-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
  display: block;
}
.vk-card-v .vk-cv-title:hover { color: var(--saffron); }
.vk-card-v .vk-cv-meta { font-size: 10.5px; color: #aaa; margin-top: 4px; }

/* Grid layouts */
.vk-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.vk-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.vk-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }

/* =============================================
   LATEST NEWS BOX
   ============================================= */
.vk-latest-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}
.vk-latest-list { padding: 4px 13px 8px; }
.vk-latest-item {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}
.vk-latest-item:last-child { border-bottom: none; }
.vk-li-dot {
  width: 7px; height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.vk-latest-item a {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text);
  flex: 1;
}
.vk-latest-item a:hover { color: var(--saffron); }
.vk-li-time { font-size: 10px; color: var(--muted); white-space: nowrap; flex-shrink: 0; padding-left: 6px; }

/* =============================================
   AD BOXES
   ============================================= */
.vk-ad-box {
  background: var(--light);
  border: 1px dashed #bfc5b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: var(--radius);
}
.vk-ad-leader { min-height: 90px; margin: 12px 0; }
.vk-ad-rect   { min-height: 250px; margin: 12px 0; }
.vk-ad-sky    { min-height: 600px; margin: 12px 0; }

/* =============================================
   VISITOR COUNTER WIDGET
   ============================================= */
.vk-visitor-counter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-md) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  margin-bottom: 16px;
}
.vk-vc-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .7;
  margin-bottom: 10px;
}
.vk-vc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.vk-vc-item {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 9px 6px;
}
.vk-vc-num  { font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.vk-vc-lbl  { font-size: 9.5px; opacity: .65; margin-top: 2px; }
.vk-vc-online { margin-top: 9px; font-size: 10.5px; opacity: .75; display: flex; align-items: center; justify-content: center; gap: 5px; }
.vk-vc-dot  { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: vk-pulse 1.5s infinite; }
@keyframes vk-pulse { 0%,100%{opacity:1}50%{opacity:.3} }

/* =============================================
   SIDEBAR WIDGETS
   ============================================= */
.vk-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}
.vk-widget-head {
  background: var(--saffron);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 13px;
}
.vk-widget-body { padding: 9px 12px 11px; }

/* Popular */
.vk-pop-item { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--light); align-items: flex-start; }
.vk-pop-item:last-child { border-bottom: none; }
.vk-pop-num  { width: 22px; height: 22px; background: var(--saffron); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 2px; }
.vk-pop-title { font-size: 12px; line-height: 1.35; color: var(--text); }
.vk-pop-title:hover { color: var(--saffron); }

/* Tags */
.vk-tags-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.vk-tags-wrap a { background: var(--light); border: 1px solid var(--border); color: var(--text); padding: 3px 9px; font-size: 11px; border-radius: 12px; }
.vk-tags-wrap a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }

/* App widget card */
.vk-app-widget {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3c6e 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  margin-bottom: 16px;
}
.vk-aw-icon  { font-size: 38px; margin-bottom: 8px; }
.vk-aw-title { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.vk-aw-desc  { font-size: 11.5px; opacity: .78; margin-bottom: 14px; line-height: 1.45; }
.vk-aw-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 22px;
}
.vk-aw-btn:hover { background: #e09000; color: #111; }
.vk-aw-rating { font-size: 10.5px; opacity: .65; margin-top: 9px; }
.vk-aw-rating span { color: var(--gold); }

/* =============================================
   SINGLE ARTICLE
   ============================================= */
.vk-breadcrumb { font-size: 11.5px; color: var(--muted); margin-bottom: 9px; }
.vk-breadcrumb a { color: var(--saffron); }
.vk-cat-pill {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.vk-entry-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text);
  margin-bottom: 11px;
}
.vk-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  margin-bottom: 15px;
}
.vk-post-meta .vk-author { color: var(--saffron); font-weight: 600; }
.vk-share-row { margin-left: auto; display: flex; gap: 5px; flex-wrap: wrap; }
.vk-s-btn { padding: 4px 11px; font-size: 11px; font-weight: 700; color: #fff; border-radius: 2px; border: none; cursor: pointer; }
.vk-s-btn.fb { background: #1877f2; }
.vk-s-btn.tw { background: #1da1f2; }
.vk-s-btn.wa { background: #25d366; }
.vk-s-btn.tg { background: #2ca5e0; }
.vk-featured-img { margin-bottom: 14px; }
.vk-featured-img img,
.vk-featured-img amp-img { width: 100%; border-radius: var(--radius); }
.vk-featured-img figcaption { font-size: 11px; color: var(--muted); padding: 4px 0; font-style: italic; }

.vk-entry-content { font-size: 15px; line-height: 1.78; color: #222; }
.vk-entry-content p          { margin-bottom: 15px; }
.vk-entry-content h2,
.vk-entry-content h3         { font-family: var(--font-head); margin: 20px 0 9px; color: var(--navy); }
.vk-entry-content blockquote {
  border-left: 4px solid var(--saffron);
  background: var(--light);
  padding: 11px 18px;
  margin: 18px 0;
  font-style: italic;
  color: #333;
}
.vk-entry-content a { color: var(--saffron); text-decoration: underline; }
.vk-post-tags { margin-top: 16px; }
.vk-post-tags strong { font-size: 12px; }

/* In-article app banner */
.vk-inline-app {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3c6e 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.vk-inline-app .vk-ia-icon  { font-size: 30px; flex-shrink: 0; }
.vk-inline-app .vk-ia-text  { flex: 1; }
.vk-inline-app .vk-ia-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.vk-inline-app .vk-ia-desc  { font-size: 12px; opacity: .78; }
.vk-inline-app .vk-ia-btn {
  background: var(--gold);
  color: #111;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 12px;
  white-space: nowrap;
}
.vk-inline-app .vk-ia-btn:hover { background: #e09000; color: #111; }

/* =============================================
   PAGINATION
   ============================================= */
.vk-pagination { display: flex; gap: 4px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.vk-pagination .page-numbers {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  border-radius: var(--radius);
  color: var(--text);
}
.vk-pagination .page-numbers:hover,
.vk-pagination .current { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* =============================================
   ARCHIVE / CATEGORY HEADER
   ============================================= */
.vk-archive-head {
  border-left: 5px solid var(--saffron);
  padding-left: 13px;
  margin-bottom: 18px;
}
.vk-archive-head h1 { font-family: var(--font-head); font-size: 22px; color: var(--navy); font-weight: 700; }
.vk-archive-head p  { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* =============================================
   FOOTER
   ============================================= */
.vk-footer { background: #0a1628; color: rgba(255,255,255,.72); margin-top: 28px; }
.vk-footer-app-row {
  background: var(--navy-md);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vk-footer-app-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.vk-footer-app-text { font-size: 13px; }
.vk-footer-app-text strong { color: #fff; }
.vk-footer-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: #111;
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 700;
}
.vk-footer-app-cta:hover { background: #e09000; color: #111; }

.vk-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
  padding: 30px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vk-fw-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 7px;
  margin-bottom: 13px;
}
.vk-fw-links li { margin-bottom: 6px; }
.vk-fw-links a   { color: rgba(255,255,255,.62); font-size: 12.5px; }
.vk-fw-links a:hover { color: #fff; }
.vk-fw-about { font-size: 12.5px; line-height: 1.65; margin-bottom: 11px; }
.vk-fw-social { display: flex; gap: 7px; flex-wrap: wrap; }
.vk-fw-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.vk-fw-social a:hover { background: var(--saffron); }

.vk-footer-bottom {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,.38);
  flex-wrap: wrap;
  gap: 7px;
}
.vk-footer-bottom a { color: rgba(255,255,255,.5); }
.vk-footer-bottom a:hover { color: #fff; }
.vk-fb-links { display: flex; gap: 12px; }
.vk-footer-mini-counter {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vk-footer-mini-counter strong { color: rgba(255,255,255,.65); }

/* =============================================
   404
   ============================================= */
.vk-notfound { text-align: center; padding: 70px 20px; }
.vk-notfound h1 { font-size: 88px; color: var(--saffron); font-family: var(--font-head); line-height: 1; }
.vk-notfound h2 { font-size: 22px; color: var(--navy); margin: 12px 0 9px; }
.vk-notfound p  { color: var(--muted); margin-bottom: 22px; }
.vk-btn-primary { background: var(--saffron); color: #fff; padding: 10px 24px; border-radius: var(--radius); font-weight: 700; font-size: 13px; display: inline-block; }
.vk-btn-primary:hover { background: var(--saffron-dk); color: #fff; }

/* =============================================
   RESPONSIVE — GLOBAL OVERFLOW GUARD
   ============================================= */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Tablet */
@media (max-width: 1024px) {
  .vk-page-wrap { grid-template-columns: 1fr 265px; }
  .vk-footer-cols { grid-template-columns: repeat(2,1fr); }
  .vk-grid-4 { grid-template-columns: repeat(2,1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  /* Layout */
  .vk-page-wrap { grid-template-columns: 1fr; }
  .vk-header-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .vk-header-ad { display: none; }
  .vk-entry-title { font-size: 20px; }

  /* Hero */
  .vk-hero-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .vk-hero-main { grid-row: auto; }
  .vk-hero-main img,
  .vk-hero-main amp-img { height: 215px; }
  .vk-hero-side img,
  .vk-hero-side amp-img { height: 148px; }

  /* Grids */
  .vk-grid-3,
  .vk-grid-4 { grid-template-columns: repeat(2,1fr); }
  .vk-grid-2 { grid-template-columns: 1fr; }

  /* Footer */
  .vk-footer-cols { grid-template-columns: 1fr 1fr; }

  /* NAV — hidden by default, shown with .vk-open */
  .vk-nav-inner > ul {
    display: none;
    flex-direction: column;
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--saffron-dk);
  }
  .vk-nav-inner > ul.vk-open { display: flex; }
  .vk-hamburger { display: flex; align-items: center; justify-content: center; }
  .vk-nav-inner > ul > li {
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .vk-nav-inner > ul > li > a {
    flex: 1;
    padding: 12px 15px;
    font-size: 13px;
  }
  .vk-sub-toggle {
    padding: 0 14px;
    min-width: 44px; min-height: 44px;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,.18);
  }
  /* Mobile sub-menu: relative (not absolute), slides in */
  .vk-nav .sub-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,.22);
    border-left: 4px solid rgba(255,255,255,.4);
    max-height: none;
    overflow-y: visible;
  }
  .vk-nav .sub-menu a { color: rgba(255,255,255,.88); padding: 9px 18px 9px 22px; font-size: 12.5px; }
  .vk-nav .sub-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
}

/* Small phones */
@media (max-width: 480px) {
  .vk-grid-2,
  .vk-grid-3,
  .vk-grid-4 { grid-template-columns: 1fr; }
  .vk-footer-cols { grid-template-columns: 1fr; }
  .vk-hero-main img { height: 185px; }
  .vk-ab-desc { display: none; }
  .vk-topbar-left { gap: 8px; }
}
