/* ==========================================================================
   Rupali TV — static site stylesheet
   Recreates the WPZOOM VideoZoom layout + the site's customiser colours.
   ========================================================================== */

:root {
  --red: #db161c;
  --red-dark: #ba0000;
  --ink: #010101;
  --text: #888;
  --grey: #808080;
  --line: #eaeaea;
  --accent: #3858e9;
  --dark: #1f1f1f;
  --dark-2: #252525;
  --dark-3: #292929;
  --search-bg: #3a3a3a;
  --footer-bg: #121212;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fefefe;
  color: var(--text);
  font: 14px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--ink); }
p { margin: 0 0 20px; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
picture { display: contents; }
a { color: var(--ink); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
a:hover { color: var(--accent); }
button { font: inherit; }
iframe { max-width: 100%; }
hr { border: 0; border-top: 1px solid #ccc; margin: 20px 0; }

[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* matches the live theme: fixed 1170px container, fluid 92% at <= 1170px */
.inner-wrap { width: 1170px; margin: 0 auto; }
/* live wraps content in floats/clears, so the last block's bottom margin doesn't collapse into the footer's */
#main:not(.layout-sidebar) { display: flow-root; } /* the grid layout already contains its margins */

/* ---------- icons (headline media icons) ---------- */
.rupali-title-icon {
  display: inline-block;
  width: 1.2em; height: 1.2em;
  margin-right: .4em;
  vertical-align: middle;
  position: relative; top: -.05em;
  line-height: 1;
  flex-shrink: 0;
  color: var(--grey);
}
.rupali-title-icon svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.rupali-title-icon .audio-svg { transform: scale(.72); fill: none; stroke: currentColor; }
.rupali-title-icon .video-svg, .rupali-title-icon .audio-svg { position: relative; top: -.05em; }
.rupali-title-icon .article-svg { position: relative; top: .04em; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; }
.navbar-brand { margin: 5px 0; }
.navbar-brand a {
  display: inline-block;
  color: var(--ink);
  font-size: 24px; font-weight: 700; line-height: 24px; letter-spacing: -.5px;
  font-family: var(--font);
}
.navbar-brand a:hover { color: var(--ink); }

.main-navbar {
  background: var(--red);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin: 0 0 40px;
}
.main-navbar .inner-wrap { display: flex; align-items: center; min-height: 80px; gap: 20px; }

.main-menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; flex: 1; margin: 15px 0; }
.main-menu > li { position: relative; display: flex; align-items: center; }
.main-menu > li > a {
  display: block;
  padding: 4px 12px;
  border-radius: 3px;
  color: #fff;
  font-size: 16px; line-height: 1.7;
  white-space: nowrap;
}
.main-menu > li > a:hover, .main-menu > li:hover > a { background: var(--red-dark); color: #fff; }
.main-menu > li.current > a { background: var(--dark-3); color: #fff; }
.main-menu .rupali-title-icon { color: var(--grey); }
.main-menu > li.has-children { margin-right: 8px; }
.main-menu > li.has-children > a { padding-right: 24px; position: relative; }
.main-menu > li.has-children > a::after {
  content: ''; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.sub-menu {
  list-style: none;
  position: absolute; top: 100%; left: 0; z-index: 99;
  min-width: 220px;
  margin-top: -2px; padding: 6px 0;
  background: var(--dark-3);
  border-radius: 0 3px 3px 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.main-menu > li:hover > .sub-menu, .main-menu > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.sub-menu a { display: block; padding: 8px 16px; color: #999; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.sub-menu a:hover, .sub-menu li.current a { color: #fff; }

.navbar-search { position: relative; margin: 1px 0 0; flex: 0 0 auto; width: 149px; height: 49px; } /* old site sat 0.5px below centre */
.navbar-search input {
  display: block; position: absolute; top: 0; right: 0; /* grows leftward over the menu on focus, like the old site */
  width: 149px; height: 49px;
  padding: 15px 22px 15px 52px;
  border: 0; border-radius: 3px;
  background: var(--search-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cline x1='11' y1='11' x2='15' y2='15'/%3E%3C/svg%3E") no-repeat 22px center;
  color: #fff; font: 14px/19px var(--font);
  transition: width .25s ease;
  -webkit-appearance: none; appearance: none;
}
.navbar-search input::placeholder { color: #999; opacity: 1; }
.navbar-search input:focus { width: 274px; outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.navbar-search input::-webkit-search-cancel-button { filter: invert(1); }

.navbar-toggle { display: none; }

/* ---------- mobile off-canvas menu (recreates the theme's jQuery.mmenu: theme-dark, pageshadow, border-full) ---------- */
.site-page { position: relative; z-index: 1; background: #fefefe; transition: transform .4s ease; }
.mobile-menu {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 0;
  width: 80%; min-width: 140px; max-width: 440px;
  overflow-y: auto; overscroll-behavior: contain;
  background: #333; color: rgba(255, 255, 255, .8);
  font-size: 14px; line-height: 20px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { position: relative; }
.mobile-menu li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px solid rgba(0, 0, 0, .15); pointer-events: none; }
.mobile-menu a { display: block; padding: 10px 10px 10px 20px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-menu a:hover, .mobile-menu .sub-menu li.current a { color: #fff; }
.mobile-menu .sub-menu a { font-size: 14px; line-height: 20px; }
.mobile-menu .rupali-title-icon { color: var(--grey); }
.mobile-menu li.current > a { background: rgba(0, 0, 0, .2); }
.mobile-menu li.has-children > a { margin-right: 50px; }
.mobile-menu .sub-toggle {
  position: absolute; top: 0; right: 0; width: 50px; height: 40px;
  padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
.mobile-menu li.current > .sub-toggle { background: rgba(0, 0, 0, .2); }
.mobile-menu .sub-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%; margin: -2px 0 0 -4px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid rgba(255, 255, 255, .8);
  transition: transform .2s ease;
}
.mobile-menu .sub-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.mobile-menu .sub-menu {
  position: static; display: none; min-width: 0; margin: 0; padding: 10px 0 10px 10px;
  opacity: 1; visibility: visible; transform: none; transition: none;
  border: 0; border-radius: 0; box-shadow: none; background: rgba(255, 255, 255, .05);
}
.mobile-menu .sub-menu.is-open { display: block; }
.mobile-menu .sub-menu li:last-child::after { border-bottom-color: transparent; }
.mobile-menu-blocker { position: fixed; inset: 0; z-index: 2; }
.mobile-menu-blocker[hidden] { display: none; }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-opening .site-page { transform: translateX(min(80vw, 440px)); box-shadow: 0 0 20px rgba(0, 0, 0, .5); }
html.menu-opening .mobile-menu-blocker { left: min(80vw, 440px); }

/* ---------- homepage slider ---------- */
.featured-slider {
  background: var(--dark);
  border-radius: 10px;
  margin: 0 0 40px;
}
.slider-main { position: relative; padding: 25px 25px 0; }
.slides { list-style: none; position: relative; overflow: hidden; }
.slide { display: flex; gap: 25px; align-items: flex-start; padding-bottom: 15px; }
.slide[hidden] { display: none; }
.slide.is-leaving { position: absolute; top: 0; left: 0; right: 0; } /* overlaps the incoming slide during the swipe */
.slide-media {
  flex: 0 0 560px; max-width: 560px;
  aspect-ratio: 16 / 9;
  position: relative; overflow: hidden;
  border-radius: 5px;
  background: #000;
  isolation: isolate;
}
.slide-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slide-poster { position: absolute; inset: 0; display: block; }
.slide-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; left: 50%; top: 50%;
  width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: rgba(219, 22, 28, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 55% center / 34px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.slide-poster:hover .play-btn { transform: scale(1.08); }
.slide-content { flex: 1; min-width: 0; overflow: hidden; padding-top: 5px; }
.slide .entry-title { font-size: 30px; line-height: 1.3; margin: 0 0 10px; padding: 0; border: 0; color: #fff; }
.slide .entry-title a { color: #fff; }
.slide .entry-title a:hover { color: var(--accent); }
.slide .entry-title .rupali-title-icon { color: gray; } /* live: fill:gray !important */
.slide-excerpt { color: #aaa; margin: 0 0 20px; overflow-wrap: anywhere; }
.slide-excerpt .pub-time { color: #aaa; }

.slider-arrow {
  position: absolute; top: calc(25px + 130px); z-index: 5;
  width: 40px; height: 40px; margin-top: -20px; padding: 0;
  border: 0;
  background: transparent no-repeat center / 30px;
  opacity: .6; cursor: pointer;
  transition: opacity .3s ease;
}
.slider-arrow:hover { opacity: 1; }
/* live: dark 30px disc + white chevron, hanging half outside the slider box */
.slider-arrow.prev { left: -20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231f1f1f'/%3E%3Cpolyline points='12,4 7,10 12,16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.slider-arrow.next { right: -20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231f1f1f'/%3E%3Cpolyline points='8,4 13,10 8,16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.slider-carousel {
  position: relative;
  background: var(--dark-2);
  padding: 30px 35px 10px 55px;
  border-radius: 0 0 10px 10px;
}
.carousel-viewport { overflow: hidden; }
.carousel-track { list-style: none; display: flex; gap: 20px; transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.carousel-track li { flex: 0 0 160px; opacity: .45; transition: opacity .25s cubic-bezier(.4, 0, .2, 1); }
.carousel-track li.is-active, .carousel-track li:hover { opacity: 1; }
.carousel-track button { display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 160px; height: 120px; }
.carousel-track img { width: 160px; height: 120px; object-fit: cover; border-radius: 6px; -webkit-user-drag: none; user-select: none; }
.carousel-arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 30px; height: 30px; margin-top: -30px; padding: 0;
  border: 0;
  background: transparent no-repeat center / 30px 30px;
  opacity: .6; cursor: pointer;
  transition: opacity .3s ease;
}
.carousel-arrow:hover:not(:disabled) { opacity: 1; }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
.carousel-arrow.prev { left: 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='14' fill='%23666'/%3E%3Cpolyline points='17,10 11,15 17,20' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.carousel-arrow.next { right: 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='14' fill='%23666'/%3E%3Cpolyline points='13,10 19,15 13,20' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.carousel-dots { display: flex; justify-content: center; align-items: flex-start; gap: 12px; margin: 20px 0 5px; min-height: 25.797px; } /* live: inline-block dots line box is 25.797px, not 26 — keeps the footer on the same subpixel */
.carousel-dots button {
  width: 16px; height: 16px; padding: 0;
  border: 2px solid rgba(255, 255, 255, .08); border-radius: 20px;
  background: transparent; cursor: pointer;
}
.carousel-dots button:hover { border-color: rgba(0, 0, 0, .54); }
.carousel-dots button[aria-selected="true"] { border-color: rgba(0, 0, 0, .54); background: rgba(0, 0, 0, .54); cursor: default; }

/* ---------- single post / page ---------- */
.layout-sidebar { display: grid; grid-template-columns: 830px 300px; column-gap: 40px; align-items: start; }
.post-single, .page-single { min-width: 0; }
.post-single { padding-top: 5px; }
.entry-title {
  display: block;
  font-size: 35px; line-height: 1.3; font-weight: 600;
  color: var(--ink);
  padding: 0 0 15px; margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: break-word;
}
h1.entry-title { display: inline-block; } /* live: h1{display:inline-block !important}, so the rule only spans the title */
.page-single .entry-title { font-size: 36px; } /* live: .post-entry h1.entry-title; the 35px is .single only */
.entry-content { font-size: 16px; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
.entry-content p { margin: 0 0 20px; }
.entry-content a { color: var(--ink); text-decoration: none; }
.entry-content p a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 2px; } /* live: only links inside <p> are underlined */
.entry-content a:hover { color: var(--accent) !important; }
.entry-content a[style*="text-decoration: none"] { text-decoration: none; }
.entry-content img { border-radius: 3px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 30px 0 15px; line-height: 1.3; }
.entry-content h2 { font-size: 26px; } .entry-content h3 { font-size: 22px; } .entry-content h4 { font-size: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 14px 14px; padding: 0; list-style-position: inside; } /* live theme */
.entry-content li ul, .entry-content li ol { margin-bottom: 0; }
.entry-content blockquote { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: #444; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 0 0 20px; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 6px 10px; }
.entry-content iframe { border: 0; }
.entry-content iframe[width][height]:not([style*="position"]) { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content video { width: 100%; height: auto; background: #000; border-radius: 5px; }
.entry-content .vwrap-fs { position: absolute; bottom: 6px; right: 6px; z-index: 2; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }

.more-toggle {
  background: transparent; border: 0; padding: 0; margin: 0;
  color: var(--grey); font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.more-toggle:hover { color: var(--accent); }

/* :published: live time + click tooltip */
.pub-time { position: relative; display: inline-block; cursor: pointer; user-select: none; color: inherit; }
.pub-time-tooltip {
  visibility: hidden; opacity: 0;
  position: absolute; z-index: 999; bottom: 130%; left: 50%; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 5px;
  background: #333; color: #fff;
  font-size: 12px; line-height: 1.2; white-space: nowrap; text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
  pointer-events: none; transition: opacity .2s ease-in-out;
}
.pub-time.show-tip .pub-time-tooltip { visibility: visible; opacity: 1; }
.slide-excerpt .pub-time-tooltip { display: none; }

/* share buttons */
.share { margin: 0 0 20px; }
.share-title { font-weight: 700; color: var(--grey); font-size: 16px; }
.share-list { display: flex; gap: 4px; align-items: center; padding: 3px 0 2px 2px; }
.share-btn {
  display: inline-flex; width: 25px; height: 25px; padding: 0;
  border: 0; border-radius: 999px; overflow: hidden;
  background: var(--grey); cursor: pointer;
  transition: background-color .2s ease;
  text-decoration: none !important;
}
.share-btn svg { width: 100%; height: 100%; display: block; }
.share-btn:hover { background: #999; }
.share-btn.copied { background: #2e9e4f; }
.share-btn.copy { position: relative; overflow: visible; }
.share-btn.copy::after {
  content: 'Link copied'; position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: #222; color: #fff; font-size: 12px; line-height: 1; padding: 5px 7px; border-radius: 3px;
  opacity: 0; transition: opacity .15s ease;
}
.share-btn.copied::after { opacity: 1; }

/* ---------- sidebar ---------- */
.sidebar { min-width: 0; }
.widget { margin: 0 0 30px; }
.widget > .title {
  font-size: 18px; line-height: 1.7; font-weight: 600; color: var(--ink);
  padding: 0 0 10px; margin: 0 0 25px;
  border-bottom: 2px solid var(--line);
}
/* live widgets set font-family: 'Open Sans', sans-serif inline (never loaded); only links get the system stack */
.sidebar-list, .sidebar-featured { font-family: "Open Sans", sans-serif; }
.sidebar-list a, .sidebar-featured a { font-family: var(--font); }
.sidebar-list { list-style: none; }
.sidebar-list li { line-height: 1.4; }
.sidebar-list li + li { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.sidebar-list a { display: block; color: var(--ink); font-weight: 700; font-size: 1.05em; }
.sidebar-list .rupali-title-icon { width: 1.25em; height: 1.25em; top: .13em; vertical-align: baseline; margin-right: .645em; } /* live: .4em + a space */
.sidebar-list .rupali-title-icon:has(.article-svg) { top: .26em; }
/* live .sidebar-grey-block svg: inline-block 1.2em on the baseline, top .12em (articles .06em) */
.sidebar-list .rupali-title-icon svg { display: inline-block; vertical-align: baseline; width: 1.2em; height: 1.2em; top: .12em; }
.sidebar-list .rupali-title-icon .article-svg { top: .06em; }
.sidebar-list a:hover, .sidebar-list a:hover .rupali-sub-hook { color: var(--accent); }
.rupali-sub-hook { display: block; margin-top: 5px; color: var(--grey); font-weight: 700; font-size: 1.05em; transition: color .2s ease; }
.sidebar-featured .featured-item {
  display: block; color: inherit;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sidebar-featured .featured-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.featured-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #000; margin-bottom: 12px; }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s ease, filter .2s ease; }
.featured-title { display: block; color: var(--ink); font-weight: 700; font-size: 1.05em; line-height: 1.4; transition: color .2s ease; }
.featured-title .rupali-title-icon { width: 1.25em; height: 1.25em; top: -.07em; }
.featured-title .rupali-title-icon svg { top: 0; } /* live's featured widget uses inline styles, not the shared icon class */
.featured-item .rupali-sub-hook { font-size: 1em; line-height: 1.4; margin-top: 6px; }
.featured-item:hover .featured-thumb img { opacity: 1; filter: brightness(1.15); }
.featured-item:hover .featured-title, .featured-item:hover .rupali-sub-hook { color: var(--accent); }

/* ---------- archives ---------- */
.section-title { background: var(--dark); border-radius: 3px; padding: 10px 20px; margin: 0 0 25px; }
.section-title h1 { font-size: 18px; line-height: 1.7; font-weight: 600; color: #fff; }
.section-title strong { color: #fff; }
.recent-posts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.card {
  display: flex; flex-direction: column; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s cubic-bezier(.4, 0, .2, 1);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.card-thumb:hover img { opacity: .7; transition: opacity .25s ease-in-out; }
.card-time { position: absolute; right: 6px; bottom: 6px; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; font-variant-numeric: tabular-nums; pointer-events: none; }
.no-thumb { display: block; width: 100%; height: 100%; background: #111; }
/* live has empty .post-meta blocks (margin-bottom 8px) above and below the title */
.card-content { flex: 1; padding: 24px 18px 24px; background: var(--dark); transition: background-color .25s ease; }
.card:hover .card-content { background: var(--dark-2); }
.card h2 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 8px; color: #fff; }
.card h2 a { color: #fff; }
.card h2 a:hover { color: var(--accent); }
.card .rupali-title-icon { color: gray; } /* live: fill:gray !important */

.pagination {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 47px; margin: 20px 0 50px; padding: 0 10px;
  background: var(--dark); border-radius: 3px;
  font-size: 16px; font-weight: 600;
}
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 4px; }
.page-numbers { display: inline-block; padding: 10px; color: var(--text); }
.page-numbers.current { padding: 5px 10px; }
.page-numbers.dots { padding: 0; }
/* live always prints div.navigation (margin-bottom 50px), even when empty */
.recent-posts:last-child, .recent-posts:has(+ .pagination[hidden]) { margin-bottom: 50px; }
a.page-numbers:hover { color: #fff; }
.page-numbers.current { color: #fff; }
.pagination .prev, .pagination .next { position: absolute; top: 0; padding: 10px; color: var(--text); }
.pagination .prev { left: 15px; } .pagination .next { right: 15px; }
.pagination .prev:hover, .pagination .next:hover { color: #fff; }

/* search page */
.search-empty, .search-noscript, .notfound-text { font-size: 16px; color: #555; margin: 0 0 25px; }
.search-page .card mark { background: none; color: inherit; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 30px 0;
  margin: 20px 0 0;
}
.footer-widgets { display: grid; grid-template-columns: repeat(4, 23%); column-gap: 2.6666%; }
/* live: .footer-widgets .column { font-family: 'Open Sans', sans-serif } — Open Sans isn't
   loaded there, so plain text falls back to the system sans-serif; links/headings get the system UI stack */
.footer-widgets > * { font: 16px/1.7 "Open Sans", sans-serif; }
.footer-widgets a, .footer-widgets h3 { font-family: var(--font); }
.site-footer .widget { margin: 0 0 30px; }
.site-footer .widget > .title { color: #f7f7f7; border-bottom-color: #383838; }
.site-footer .textwidget { color: var(--text); }
.site-footer .textwidget a { color: #ccc; }
.site-footer .textwidget a:hover { color: #fefefe; }
.site-footer .textwidget .site-footer { background: none; border: 0; padding: 0; margin: 0; }
.site-footer .textwidget ul { list-style: none; margin: 0; padding: 0; }
#footer-notice { border-top: 1px solid rgba(255, 255, 255, .08); padding: 30px 0 0; margin: 20px 0 0; }
#footer-notice .inner-wrap { display: flow-root; }
#footer-notice p { margin: 0 0 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* breakpoints follow the live VideoZoom theme: 1170 / 980 / 768 / 640 */
@media (max-width: 1170px) {
  .inner-wrap { width: 92%; }
  .layout-sidebar { grid-template-columns: minmax(0, 65fr) minmax(0, 30fr); column-gap: 5%; }
  .slide-media { flex-basis: 50%; max-width: 50%; }
}

@media (max-width: 980px) {
  /* header: hamburger opens the off-canvas .mobile-menu */
  .main-navbar .inner-wrap { min-height: 0; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0; }
  .navbar-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 34px; padding: 10px; margin: 15px 15px 0 0;
    border: 0; border-radius: 2px;
    background: var(--search-bg); cursor: pointer;
  }
  .navbar-toggle:hover { background: #fff; }
  .navbar-toggle span { display: block; width: 20px; height: 2px; background: #020206; border-radius: 1px; }
  .navbar-search { margin: 16px 0 8px; }
  .navbar-search input, .navbar-search input:focus { width: 149px; height: 49px; }
  .main-menu { display: none; }

  /* slider: video stacked above the text (live keeps a 30px strip above the video) */
  .slide { display: block; }
  .slide-media { max-width: none; width: 100%; margin: 30px 0 20px; }
  .slide-content { padding-top: 0; }

  .layout-sidebar { display: block; }
  .post-single { padding-top: 0; }
  .sidebar { margin-top: 80px; }
  .recent-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-widgets { grid-template-columns: repeat(2, 48%); column-gap: 3%; }
}

@media (max-width: 768px) {
  .inner-wrap { width: 88%; }
  .navbar-search { margin: 8px 0; }
  .slider-main { padding: 10px 10px 0; }
  .slider-arrow { top: calc(10px + 130px); }
  .slide .entry-title { font-size: 22px; }
  .entry-title, .page-single .entry-title { font-size: 24px; }
  .recent-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h2 { font-size: 16px; }
}

@media (max-width: 640px) {
  .inner-wrap { width: 80%; }
  .slide .entry-title { font-size: 16px; }
  .slide-excerpt { display: none; }
  .slider-carousel { display: none; }
  .recent-posts { grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
  .pagination { font-size: 12px; }
  .page-numbers, .pagination .prev, .pagination .next { padding: 10px 5px; }
  .page-numbers.current { padding: 5px 10px; }
  .footer-widgets { grid-template-columns: 1fr; }
  #footer-notice p { margin: 0 0 10px; }
}

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

@media print {
  .main-navbar, .site-footer, .sidebar, .share, .featured-slider .slider-carousel { display: none !important; }
  .layout-sidebar { display: block; }
}
