* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans Tamil", sans-serif;
  background: #f4f5f7;
  color: #1c1c1c;
}

.top-strip {
  background: #004a96;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-categories-inner {
  padding: 4px 0;
}

.categories-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
}

.categories-nav::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.categories-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.categories-nav-bottom {
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.categories-nav-bottom a {
  font-size: 12px;
  color: #112f58;
  border-radius: 0;
  padding: 8px 0;
  transition: color 0.2s;
}

.categories-nav-bottom a:hover {
  background: transparent;
  color: #d00000;
}

.categories-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #fff url('background.png') no-repeat center center;
  background-size: cover;
  border-bottom: 0px solid #d8dce3;
}


.header-row {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-btn span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0b3d78;
}

.hamburger-btn:hover span {
  background: #0b56a3;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 40px;
  font-weight: 800;
  color: #0b3d78;
}

.logo img {
  display: block;
  height: 60px;
  width: 250px;
}

.main-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: #0b56a3;
}

.header-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-toggle-checkbox {
  display: none;
}

.search-toggle-btn {
  display: none;
  /* desktop: show search bar */
  cursor: pointer;
  user-select: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0b56a3;
  color: #fff;
  border: 1px solid #0b56a3;
  font-weight: 800;
  white-space: nowrap;
}

.search-toggle-btn:hover {
  background: #094b86;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search-form .search-input {
  width: 200px;
}

.header-search-submit {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon-svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Mobile search elements - hidden on desktop */
.mobile-search-icon {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s;
}

.mobile-search-icon:hover {
  background: #f0f2f5;
}

.mobile-search-bar {
  display: none;
}

.header-bottom-categories {
  background: transparent;
  border-bottom: none;
}


.header-bottom-categories-inner {
  padding: 10px 0 0 0;
}

.categories-nav-bottom a {
  color: #112f58;
}

.categories-nav-bottom a:hover {
  background: #f2f5ff;
}

.mobile-footer {
  display: none;
  /* desktop hidden; shown in mobile media query */
}

.mobile-foot-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

.mobile-foot-icon {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0px;
  height: 500px;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Hero Slider Styles */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.hero-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #112f58;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: #fff;
  color: #d00000;
}

.h-prev-arrow { left: 20px; }
.h-next-arrow { right: 20px; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .h-prev-arrow { left: 10px; }
  .h-next-arrow { right: 10px; }
}

.card {
  background: #fff;
  border: 0px solid #dce0e6;
}

.large-card,
.side-card {
  position: relative;
  overflow: hidden;
}

.large-card img,
.side-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.large-card:hover img,
.side-card:hover img {
  transform: scale(1.08);
}

.large-card {
  height: 100%;
}

.large-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.side-card {
  height: 250px !important; /* Overriding common card height to fit two in the grid */
}

.side-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.large-card .overlay {
  padding: 30px;
}

.large-card .overlay h1 {
  font-size: 34px;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.overlay h1 {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.overlay h3 {
  font-size: 15px;
  line-height: 1.3;
}

.overlay p {
  font-size: 12px;
}

.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0px;
}

.thumb-slider-wrap {
  position: relative;
  margin-top: 10px;
  padding: 0 10px;
}

.thumb-slider-viewport {
  overflow-x: hidden;
  width: 100%;
}

.thumb-row-slider {
  display: flex;
  gap: 8px;
  padding: 15px 5px;
}

.thumb-card {
  flex: 0 0 calc((100% - (5 * 8px)) / 6);
  min-width: calc((100% - (5 * 8px)) / 6);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.thumb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: #0b56a3;
}

.thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* More compact aspect ratio */
  overflow: hidden;
}

.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumb-card:hover .thumb-img img {
  transform: scale(1.1);
}

.thumb-news-title {
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Strictly clamp to 3 lines */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 5.0em;
  /* Perfectly fits exactly 3 lines (1.4 * 3) */
  text-align: left;
  margin-bottom: 10px;
}

.thumb-card a {
  text-decoration: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: #fff;
  color: #0b56a3;
  border: 1px solid #eee;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #0b56a3;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: -23px;
}

.next-arrow {
  right: -23px;
}

@media (max-width: 1024px) {
  .thumb-row-slider .thumb-card {
    flex: 0 0 calc((100% - (3 * 10px)) / 4);
    min-width: calc((100% - (3 * 10px)) / 4);
  }
}

@media (max-width: 768px) {
  .thumb-row-slider .thumb-card {
    flex: 0 0 calc((100% - (2 * 8px)) / 3.1);
    min-width: calc((100% - (2 * 8px)) / 3.1);
  }

  .thumb-row-slider {
    gap: 8px;
  }

  .slider-arrow {
    display: flex !important;
    width: 34px;
    height: 34px;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .prev-arrow {
    left: 5px;
  }

  .next-arrow {
    right: 5px;
  }

  .thumb-slider-wrap {
    padding: 0 2px;
  }

  .bn-title {
    margin-left: 15px !important;
  }

  .sub-nav-row {
    padding-left: 15px !important;
  }

  .sub-nav-row::after {
    left: 15px !important;
  }
}

@media (max-width: 560px) {
  .thumb-row-slider .thumb-card {
    flex: 0 0 calc((100% - (1 * 8px)) / 2);
    min-width: calc((100% - (1 * 8px)) / 2);
  }

  .thumb-row-slider {
    gap: 8px;
    padding: 10px 4px;
  }

  .thumb-img {
    aspect-ratio: 16 / 12;
  }

  .thumb-news-title {
    font-size: 13px;
    padding: 10px 8px 15px;
    height: 5em;
  }

  .slider-arrow {
    display: flex !important;
    width: 34px;
    height: 34px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
  }

  .prev-arrow {
    left: -5px;
  }

  /* Moved arrows slightly in for better visibility */
  .next-arrow {
    right: -5px;
  }

  .thumb-slider-wrap {
    padding: 0 15px;
  }

  /* Add padding to wrapper so arrows don't clip */
}

/* Breaking News Ticker */
.breaking-label {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #ff0000;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
  text-transform: uppercase;
}

.breaking-news-wrap {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  height: auto;
  background: transparent;
}

.ticker-content.horizontal-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-list {
  display: inline-flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: ticker-horizontal 25s linear infinite;
}

.ticker-list:hover {
  animation-play-state: paused;
}

.ticker-list li {
  display: inline-flex;
  align-items: center;
}

.ticker-list li a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 15px;
}

.ticker-list li a:hover {
  color: #0b56a3;
}

@keyframes ticker-horizontal {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1001;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-drawer.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: #004a96;
  color: #fff;
}

.mobile-menu-header h3 {
  font-size: 18px;
  margin: 0;
}

.close-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

.mobile-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-cat-list li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-cat-list li a:hover {
  background: #f9f9f9;
  color: #0b56a3;
}

.sub-nav-row {
  margin: 80px 0 20px;
  display: flex;
  align-items: center;
  gap: 200px;
  /* Increased gap from 20px to 50px */
  border-bottom: 2px solid #0b56a3;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-nav-row::-webkit-scrollbar {
  display: none;
}

.sub-nav-title {
  font-weight: 800;
  color: #0b56a3;
  white-space: nowrap;
  font-size: 16px;
}

.sub-nav-links {
  display: flex;
  gap: 15px;
}

.sub-nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.sub-nav-links a:hover,
.sub-nav-links a.active {
  color: #0b56a3;
}


.content-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}

.highlight {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.highlight img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.highlight h2 {
  font-size: 21px;
  margin-bottom: 8px;
  color: #183a67;
}

.highlight p {
  font-size: 14px;
  color: #4b4b4b;
}

.post-list {
  display: grid;
  gap: 15px;
}

.post {
  display: flex !important;
  gap: 18px;
  padding: 15px !important;
  border-bottom: 1px solid #f0f0f0;
}

.post-image-link {
  flex-shrink: 0;
  width: 200px;
}

.post-image-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.post-body {
  flex: 1;
}

.post h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #112f58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.post p {
  font-size: 14px;
  color: #505050;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 6.4em;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  position: sticky;
  top: 20px;
}

.widget {
  padding: 12px;
}

.widget h4 {
  font-size: 15px;
  margin-bottom: 10px;
  border-bottom: 2px solid #2d6cb4;
  padding-bottom: 5px;
}

.calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: center;
}

.calendar th,
.calendar td {
  border: 1px solid #d9dde4;
  padding: 6px 4px;
}

.calendar .active {
  background: #2d6cb4;
  color: #fff;
  font-weight: 700;
}

.cat-list {
  list-style: none;
  max-height: 180px;
  /* Small height */
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom Scrollbar for cat-list */
.cat-list::-webkit-scrollbar {
  width: 4px;
}

.cat-list::-webkit-scrollbar-thumb {
  background: #dbdee5;
  border-radius: 10px;
}

.cat-list::-webkit-scrollbar-track {
  background: transparent;
}

.cat-list li+li {
  margin-top: 8px;
}

.cat-list a {
  text-decoration: none;
  color: #2f2f2f;
  font-size: 14px;
}

.cat-list a:hover {
  color: #1057a1;
}

/* ====================================================================
   SIDEBAR – Social Follow + Contact Widget
   ==================================================================== */
.sb-social-widget {
  padding: 12px !important;
}

.sb-social-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.sb-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.sb-social-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

.sb-fb {
  background: #1877f2;
}

.sb-tw {
  background: #1da1f2;
}

.sb-contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #e8f4fd;
  border: 1px solid #b3d9f5;
  border-radius: 8px;
  padding: 10px 12px;
}

.sb-contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sb-contact-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}

.sb-contact-text span {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.sb-contact-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  margin-top: -2px;
}
.sb-contact-close:hover {
  color: #333;
}

/* ====================================================================
   SIDEBAR – Unique Category Styles
   ==================================================================== */

/* ── Shared Section Head ── */
.sb-section-head {
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Shared VIEW MORE Button ── */
.sb-view-more {
  display: block;
  text-align: center;
  padding: 8px 0;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s ease;
}

/* ──────────────────────────────────────────────────────────────────────
   1. வீடியோ தொகுதி  –  Video thumbnail grid + play overlay
   ────────────────────────────────────────────────────────────────────── */
.sb-video-head {
  border-bottom: 3px solid #e53935;
  color: #c62828;
}

.sb-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sb-video-card {
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.2s;
}
.sb-video-card:hover {
  transform: translateY(-2px);
}

.sb-video-thumb {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.sb-video-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.sb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.25s;
}
.sb-video-card:hover .sb-play-icon {
  opacity: 1;
}

.sb-video-card h5 {
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-video-more {
  background: #e53935;
  color: #fff;
}
.sb-video-more:hover {
  background: #c62828;
  color: #fff;
}

/* ──────────────────────────────────────────────────────────────────────
   2. அரசியல்  –  Red accent numbered list with left border
   ────────────────────────────────────────────────────────────────────── */
.sb-politics-head {
  border-bottom: 3px solid #d32f2f;
  color: #b71c1c;
}

.sb-politics-list {
  display: flex;
  flex-direction: column;
}

.sb-politics-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  text-decoration: none;
  color: #222;
  border-left: 3px solid transparent;
  padding-left: 10px;
  transition: all 0.2s;
}
.sb-politics-item + .sb-politics-item {
  border-top: 1px solid #f0f0f0;
}
.sb-politics-item:hover {
  border-left-color: #d32f2f;
  background: #fef2f2;
}

.sb-politics-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-politics-item h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────
   3. சினிமா  –  Auto-sliding carousel
   ────────────────────────────────────────────────────────────────────── */
.sb-cinema-head {
  border-bottom: 3px solid #f57c00;
  color: #e65100;
}

.sb-cinema-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.sb-cinema-track {
  position: relative;
}

.sb-cinema-slide {
  display: none;
  animation: cinemaFadeIn 0.6s ease;
}
.sb-cinema-slide.active {
  display: block;
}

@keyframes cinemaFadeIn {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

.sb-cinema-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.sb-cinema-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.sb-cinema-card:hover img {
  transform: scale(1.04);
}

.sb-cinema-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
}
.sb-cinema-overlay h5 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dots */
.sb-cinema-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 2px;
}
.sb-cinema-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
}
.sb-cinema-dot.active {
  background: #f57c00;
  transform: scale(1.3);
}

/* ──────────────────────────────────────────────────────────────────────
   4. கட்டுரைகள்  –  Horizontal image + text cards (blue accent)
   ────────────────────────────────────────────────────────────────────── */
.sb-articles-head {
  border-bottom: 3px solid #1565c0;
  color: #0d47a1;
}

.sb-articles-list {
  display: flex;
  flex-direction: column;
}

.sb-article-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.2s;
}
.sb-article-item + .sb-article-item {
  border-top: 1px solid #eef1f5;
}
.sb-article-item:hover {
  background: #eef5ff;
  border-radius: 6px;
  padding-left: 4px;
}

.sb-article-item img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.sb-article-item h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────
   5. தொடர் கட்டுரைகள்  –  Timeline / series style (teal accent)
   ────────────────────────────────────────────────────────────────────── */
.sb-series-head {
  border-bottom: 3px solid #00897b;
  color: #00695c;
}

.sb-timeline {
  position: relative;
  padding-left: 18px;
}
.sb-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #b2dfdb;
  border-radius: 2px;
}

.sb-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: #222;
  position: relative;
  transition: all 0.2s;
}
.sb-timeline-item:hover {
  color: #00695c;
}

.sb-timeline-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00897b;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px #e0f2f1;
  transition: transform 0.2s;
}
.sb-timeline-item:hover .sb-timeline-dot {
  transform: scale(1.3);
}

.sb-timeline-ep {
  font-size: 10px;
  font-weight: 700;
  color: #00897b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sb-timeline-content h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-section-head-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.sb-section-head-wrap .sb-section-head {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sb-header-view-more {
  font-size: 11px;
  font-weight: 800;
  color: #666;
  text-decoration: none;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.sb-header-view-more:hover {
  background: #e0e0e0;
  color: #333;
}

/* ──────────────────────────────────────────────────────────────────────
   6. ஆரோக்கியம்  –  Featured Layout (Orange/Red accent)
   ────────────────────────────────────────────────────────────────────── */
.sb-health-head {
  color: #e64a19 !important; /* Orange-red as in image */
}

.sb-health-featured {
  margin-bottom: 15px;
}
.sb-health-main-link {
  text-decoration: none;
  display: block;
}
.sb-health-featured-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.sb-health-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.sb-health-main-link:hover img {
  transform: scale(1.05);
}
.sb-health-featured-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sb-health-featured-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-health-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-health-mini-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: center;
}
.sb-health-mini-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.sb-health-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sb-health-mini-body h5 {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sb-health-mini-date {
  font-size: 11px;
  color: #888;
}

/* ──────────────────────────────────────────────────────────────────────
   7. அந்தரங்கம்  –  Purple accent, minimal numbered
   ────────────────────────────────────────────────────────────────────── */
.sb-intimate-head {
  border-bottom: 3px solid #7b1fa2;
  color: #6a1b9a;
}

.sb-intimate-list {
  display: flex;
  flex-direction: column;
}

.sb-intimate-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  text-decoration: none;
  color: #222;
  transition: all 0.2s;
}
.sb-intimate-item + .sb-intimate-item {
  border-top: 1px solid #f3e5f5;
}
.sb-intimate-item:hover {
  background: #f3e5f5;
  border-radius: 6px;
  padding-left: 6px;
}

.sb-intimate-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 900;
  color: #ce93d8;
  line-height: 1;
  min-width: 24px;
  text-align: center;
}

.sb-intimate-item h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────
   8. சிறப்பு கட்டுரைகள்  –  Gold accent, featured image cards
   ────────────────────────────────────────────────────────────────────── */
.sb-special-head {
  border-bottom: 3px solid #f9a825;
  color: #f57f17;
}

.sb-special-list {
  display: flex;
  flex-direction: column;
}

.sb-special-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s;
}
.sb-special-item + .sb-special-item {
  border-top: 1px solid #fff8e1;
}
.sb-special-item:hover {
  background: #fff8e1;
  border-radius: 6px;
  padding-left: 4px;
}

.sb-special-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 2px solid #ffe082;
}

.sb-special-info {
  flex: 1;
  min-width: 0;
}
.sb-special-info h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sb-special-date {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
  display: block;
}

/* ── Sidebar Mobile Responsive ── */
@media (max-width: 900px) {
  .sidebar {
    position: static;
  }
  .sb-video-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* cinema slider is already full-width */
}

@media (max-width: 480px) {
  .sb-video-grid {
    grid-template-columns: 1fr;
  }
  .sb-video-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
    align-items: center;
  }
  .sb-video-card h5 {
    margin-top: 0;
  }

  /* cinema slider adapts automatically */

  .sb-article-item img {
    width: 60px;
    height: 44px;
  }

  .sb-special-item img {
    width: 55px;
    height: 55px;
  }
}

.site-footer {
  margin-top: 20px;
  background: #0a4a90;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
}

@media (max-width: 900px) {

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: 100%;
  }

  .overlay h1 {
    font-size: 22px;
  }

  .overlay h3 {
    font-size: 15px;
  }

  .thumb-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight {
    grid-template-columns: 1fr;
  }

  /* Header behavior */
  .header-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }

  .main-nav {
    display: none;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .search-toggle-btn {
    display: inline-flex;
  }

  .header-search-form {
    display: none;
    width: 100%;
    gap: 10px;
  }

  .search-toggle-checkbox:checked~.header-search-form {
    display: flex;
    width: 100%;
  }

  .header-search-form .search-input {
    width: 100%;
  }

  .header-bottom-categories-inner {
    padding: 8px 0;
  }

  /* Mobile footer */
  .site-footer-desktop {
    display: none;
  }

  .mobile-footer {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #0a4a90;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 10px;
  }

  body {
    padding-bottom: 74px;
  }
}

/* ===== Shared page sections (category/post/search) ===== */
.left-column {
  min-width: 0;
}

.category-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 14px;
}

.section-title {
  font-size: 22px;
  color: #112f58;
}

.section-sub {
  font-size: 13px;
  color: #5a5a5a;
}

/* ===== Category list ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-post {
  padding: 10px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: start;
}

.cat-post img {
  width: 160px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
}

.cat-post-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #112f58;
  line-height: 1.25;
}

.cat-post-body p {
  font-size: 13px;
  color: #505050;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #dce0e6;
  background: #fff;
  color: #0b3d78;
  font-weight: 700;
  font-size: 13px;
}

.page-btn:hover {
  border-color: #0b56a3;
  color: #0b56a3;
}

.page-btn.active {
  background: #0b56a3;
  border-color: #0b56a3;
  color: #fff;
}

.ticker a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed #d6dbe3;
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f;
}

.ticker a:last-child {
  border-bottom: none;
}

.ticker a:hover {
  color: #0b56a3;
}

/* ===== Post detail ===== */
.post-detail-premium {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 25px;
}

.post-header-premium {
  padding: 40px 40px 0;
  text-align: center;
}

.post-badge-wrap {
  margin-bottom: 20px;
}

.post-badge {
  display: inline-block;
  background: #0b56a3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-title-premium {
  font-size: 30px;
  font-weight: 900;
  color: #112f58;
  line-height: 1.35;
  margin: 0 0 25px;
}

.post-meta-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  margin-bottom: 30px;
  text-align: left;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 800;
  font-size: 16px;
  color: #1a1a1a;
}

.post-date {
  font-size: 14px;
  color: #666;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.drop-btn {
  background: #f4f6f9;
  border: 1px solid #e1e5eb;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0b56a3;
  transition: 0.3s;
}

.drop-btn:hover {
  background: #0b56a3;
  color: #fff;
  transform: scale(1.05);
}

.drop-content {
  display: flex;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 55px;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  z-index: 100;
  padding: 12px;
  flex-direction: row;
  gap: 15px;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(10px);
}

.drop-content.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.drop-content a {
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.drop-content a:hover {
  color: #0b56a3;
  transform: translateY(-3px);
}

.post-featured-image-premium {
  margin: 0;
}

.post-featured-image-premium img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
}

.post-content-premium {
  padding: 40px;
  font-size: 20px;
  line-height: 1.85;
  color: #333;
}

.post-content-premium p {
  margin-bottom: 25px;
}

.post-content-premium img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .post-title-premium {
    font-size: 28px;
  }

  .post-header-premium {
    padding: 25px 25px 0;
  }

  .post-content-premium {
    padding: 25px;
    font-size: 18px;
  }

  .post-meta-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .drop-content {
    left: 0;
    right: auto;
  }
}

.post-hero {
  margin-top: 14px;
}

/* ===== Post Unique Premium UI ===== */
.post-unique-hero {
  position: relative;
  width: 100%;
  padding-bottom: 120px;
  background: #111;
  margin-top: 0px;
}

.post-unique-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.post-unique-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.post-unique-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: linear-gradient(to top, rgba(11, 20, 30, 1) 5%, rgba(11, 20, 30, 0) 100%);
}

.post-unique-header-container {
  position: relative;
  z-index: 10;
  padding-top: 120px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 960px;
}

.post-badge-wrap {
  margin-bottom: 20px;
}

.post-unique-badge {
  display: inline-block;
  background: #d00000;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-unique-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 15px 0 35px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.post-unique-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
}

.unique-meta-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.unique-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
}

.unique-author-info {
  display: flex;
  flex-direction: column;
}

.unique-author-name {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.unique-post-date {
  color: #b0c4de;
  font-size: 14px;
}

.unique-share-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.unique-share-btn:hover {
  background: #fff;
  color: #112f58;
}

.unique-drop-content {
  top: auto;
  bottom: 55px;
  /* open upwards to avoid sliding under container */
}

.post-unique-body-container {
  position: relative;
  z-index: 20;
  max-width: 900px;
  margin: -80px auto 0;
  padding-left: 20px;
  padding-right: 20px;
}

.post-unique-article {
  background: #fff;
  border-radius: 12px;
  padding: 50px 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
}

.post-excerpt-video {
  margin-bottom: 35px;
  width: 100%;
}

.post-excerpt-video iframe,
.post-excerpt-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: none;
  background: #000;
  display: block;
}

.post-unique-content {
  font-size: 19px;
  line-height: 1.8;
  color: #2a2a2a;
}

.post-unique-content p {
  margin-bottom: 30px;
}

/* Drop cap effect */
.post-unique-content>p:first-of-type::first-letter {
  float: left;
  font-size: 75px;
  line-height: 60px;
  padding-top: 6px;
  padding-right: 12px;
  padding-left: 0;
  color: #0b56a3;
  font-weight: 900;
}

.post-unique-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
}

@media (max-width: 768px) {
  .post-unique-title {
    font-size: 32px;
  }

  .post-unique-article {
    padding: 30px 20px;
  }

  .post-unique-content {
    font-size: 16px;
  }

  .post-unique-header-container {
    padding-top: 60px;
    padding-right: 0;
  }

  .unique-drop-content {
    top: 60px;
    bottom: auto;
    flex-direction: column;
    padding: 0;
    gap: 15px;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    align-items: flex-end;
    z-index: 999;
  }

  .unique-drop-content a {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #0b56a3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .post-unique-header-container {
    z-index: 30;
  }

  .share-dropdown {
    position: relative;
    z-index: 999;
  }
}

/* ===== Unique Related Posts ===== */
.unique-related-posts-wrapper {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eaeaea;
}

.unique-related-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}

.unique-related-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #112f58;
  margin: 0;
  white-space: nowrap;
}

.related-line {
  flex: 1;
  height: 2px;
  background: #0b56a3;
  opacity: 0.2;
}

.unique-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.unique-related-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #fff;
}

.unique-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.unique-related-card a {
  text-decoration: none;
  display: block;
}

.related-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.unique-related-card:hover .related-img-wrap img {
  transform: scale(1.05);
}

.related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.unique-related-card:hover .related-overlay {
  opacity: 1;
}

.related-card-content {
  padding: 15px;
}

.related-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9em;
  transition: color 0.3s;
}

.related-excerpt {
  font-size: 14px;
  color: #4b4b4b;
  margin: 0 0 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unique-related-card:hover .related-card-content h4 {
  color: #0b56a3;
}

.related-meta {
  font-size: 13px;
  color: #777;
  font-weight: 500;
}

@media (max-width: 768px) {
  .unique-related-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .unique-related-card a {
    display: flex;
    align-items: stretch;
    gap: 12px;
  }

  .related-img-wrap {
    width: 120px;
    flex: 0 0 120px;
    aspect-ratio: 4 / 3;
  }

  .related-card-content {
    padding: 12px 12px 12px 0;
  }
}

.post-body-grid {
  margin-top: 14px;
}

.article-body {
  padding: 16px;
}

.article-header {
  margin-bottom: 10px;
}

.post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.meta-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f5ff;
  color: #103e80;
  font-weight: 700;
  font-size: 12px;
}

.meta-dot {
  color: #9aa3b2;
  font-weight: 900;
}

.article-body p {
  font-size: 15px;
  color: #414141;
  margin: 12px 0;
}

.article-list {
  margin: 12px 0;
  padding-left: 18px;
}

.article-list li {
  margin: 8px 0;
  font-size: 15px;
  color: #414141;
}

.quote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 5px solid #0b56a3;
  background: #f7faff;
  border-radius: 8px;
  font-weight: 800;
  color: #163a6a;
}

.article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ===== Search ===== */
.search-hero {
  margin-top: 14px;
}

.search-card {
  padding: 16px;
}

.search-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.search-title {
  font-size: 22px;
  font-weight: 900;
  color: #112f58;
}

.search-sub {
  font-size: 13px;
  color: #5a5a5a;
  margin-top: 4px;
}

.search-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 560px;
}

.search-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dce0e6;
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: #0b56a3;
  box-shadow: 0 0 0 3px rgba(11, 86, 163, 0.12);
}

.btn-primary {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: #0b56a3;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #094b86;
}

.results-grid {
  display: grid;
  gap: 12px;
}

.result {
  padding: 14px;
}

.result h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.result h3 a {
  color: #112f58;
}

.result p {
  font-size: 14px;
  color: #505050;
}

.tips {
  font-size: 14px;
  color: #414141;
  display: grid;
  gap: 8px;
}

@media (max-width: 700px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .cat-post {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center;
  }

  .cat-post img {
    width: 110px;
    height: 75px;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: cover;
  }

  .cat-post-body p {
    display: none !important;
  }

  .search-form {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  /* Responsive fixes */
  .post {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
  }

  .post-image-link {
    width: 110px;
    flex-shrink: 0;
  }
}

/* Sidebar Specific UI Styles */
.widget-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 15px;
  padding-bottom: 8px;
  display: flex !important;
  align-items: center;
}

.articles-title {
  color: #d00000;
  border-bottom: 3px solid #d00000 !important;
}

.series-title {
  color: #0b56a3;
  border-bottom: 3px solid #0b56a3 !important;
}

/* UI style 1: Vertical List with Thumbnail */
.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-news-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: #333;
}

.sidebar-news-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.sidebar-item-info h5 {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1a1a1a;
}

.sidebar-news-item:hover h5 {
  color: #0b56a3;
}

/* UI style 2: Numbered List / Series Style */
.sidebar-series-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.series-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a1a;
  padding: 8px;
  border-radius: 6px;
  background: #f8f9fa;
  transition: 0.2s;
}

.series-num {
  width: 26px;
  height: 26px;
  background: #0b56a3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.series-item h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.series-item:hover {
  background: #0b56a3;
  color: #fff;
}

.series-item:hover .series-num {
  background: #fff;
  color: #0b56a3;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {

  /* Hide top strip and bottom categories */
  .top-strip {
    display: none !important;
  }

  .header-bottom-categories {
    display: none !important;
  }

  /* Header row: hamburger left, logo center, search icon right — all same line */
  .header-row {
    min-height: 56px;
    padding: 0 10px;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .logo {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 60px;
    width: auto;
  }

  /* Hide desktop search on mobile */
  .desktop-only-search {
    display: none !important;
  }

  /* Mobile search icon: right side of logo */
  .mobile-search-icon {
    display: flex !important;
  }

  /* Mobile search bar dropdown */
  .mobile-search-bar {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    border-bottom: none;
  }

  .mobile-search-bar.active {
    max-height: 80px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .mobile-search-form {
    display: flex;
    gap: 8px;
  }

  .mobile-search-form .search-input {
    flex: 1;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
  }

  .mobile-search-form .search-input:focus {
    border-color: #0b56a3;
  }

  /* ===== Hero Grid → Horizontal Slider on Mobile ===== */
  .hero-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  .hero-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-grid .hero-left {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
    height: auto !important;
  }

  .hero-grid .hero-right {
    display: contents !important;
  }

  .hero-grid .side-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
    height: auto !important;
  }

  .large-card img {
    min-height: 320px !important;
    height: 320px !important;
  }

  .side-card img {
    min-height: 320px !important;
    height: 320px !important;
  }

  .large-card .overlay {
    padding: 12px !important;
  }

  .large-card .overlay h1 {
    font-size: 20px !important;
    margin-bottom: 4px !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5) !important;
  }

  .overlay h1 {
    font-size: 20px;
  }

  .overlay h3 {
    font-size: 15px;
  }

  .overlay p {
    display: none !important;
  }

  /* Mobile footer nav */
  .mobile-footer {
    display: flex !important;
  }

  /* Content grid responsive */
  .content-grid {
    grid-template-columns: 1fr !important;
  }

  /* Thumb slider: show 2 per view on mobile */
  .thumb-row-slider .thumb {
    flex: 0 0 calc(100% / 2);
    max-width: calc(100% / 2);
  }

  /* ===== News list: image left, heading right ===== */
  .post,
  .cat-post {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    padding: 12px 10px !important;
    align-items: center;
  }

  .post-image-link,
  .cat-post a:first-child {
    width: 110px;
    flex-shrink: 0;
  }

  .post-image-link img,
  .cat-post img {
    width: 110px !important;
    height: 75px !important;
    aspect-ratio: auto !important;
    border-radius: 6px;
    object-fit: cover;
  }

  .post-body,
  .cat-post-body {
    flex: 1;
    min-width: 0;
  }

  .post h3,
  .cat-post-body h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 0;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    height: auto;
    max-height: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  /* Hide excerpt on mobile */
  .post p,
  .cat-post-body p {
    display: none !important;
  }

  /* Breaking news section padding (mobile) */
  .section-title {
    padding-right: 2px;
    margin-bottom: 12px;
    display: block;
    border-left: 4px solid #d00000;
    padding-left: 10px;
  }

  .thumb-slider-wrap {
    padding-left: 2px;
    padding-right: 2px;
  }

  /* Sub-nav row visible and compact on mobile */
  .sub-nav-row {
    margin: 28px 0 14px;
    gap: 12px;
    padding: 0 2px 8px;
    justify-content: space-between;
  }

  .sub-nav-links {
    gap: 10px;
    margin-left: auto;
  }

  .sub-nav-links a {
    display: none;
  }

  .sub-nav-links a.active {
    display: inline-block;
  }

  /* Force full-width on mobile (header + post-unique-hero) */
  body {
    overflow-x: hidden;
  }

  .site-header,
  .post-unique-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .site-header .container,
  .post-unique-header-container,
  .post-unique-body-container {
    width: 100%;
    max-width: 100%;
  }
}

/* Floating Email Label (Toast Style) - Only for mobile */
.floating-email-wrap {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 85px;
  transform: translateX(-50%);
  z-index: 1001;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.floating-email-label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 40px 0;
}

.page-btn {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.page-btn:hover {
  background: #f0f2f5;
  border-color: #0b56a3;
  color: #0b56a3;
}

.page-btn.active {
  background: #0b56a3;
  border-color: #0b56a3;
  color: #fff;
}

/* ===== Modern Post Layout (Screenshot Style) ===== */
.post-modern-wrap {
  padding-top: 30px;
  padding-bottom: 50px;
}

.post-modern-content-col.full-width {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}



.post-modern-title {
  font-size: 32px;
  font-weight: 800;
  color: #000;
  line-height: 1.3;
  margin-bottom: 25px;
}

.post-modern-share-row-horizontal {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.share-modern-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 2px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.share-modern-btn.fb { background: #3b5998; }
.share-modern-btn.tw { background: #55acee; }
.share-modern-btn.pin { background: #cb2027; }
.share-modern-btn.share { background: #757575; }

.post-modern-featured-img {
  margin-bottom: 10px;
  max-width: 1000px;
  height: auto; 
}

.post-modern-featured-img img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}


.post-modern-body { font-size: 17px; line-height: 1.8; color: #333; }
.post-modern-body p { margin-bottom: 25px; }
.post-modern-body iframe,
.post-modern-body video {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: none;
}


/* Bottom social icons */
.post-bottom-social-row {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.social-icons-group { display: flex; gap: 10px; }
.s-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 2px;
}
.s-icon.fb { background: #3b5998; }
.s-icon.tw { background: #55acee; }
.s-icon.yt { background: #cd201f; }

/* Navigation bar style from screenshot */
.post-modern-nav-bar {
  display: flex;
  margin: 30px 0;
  border: 1px solid #eee;
  background: #f9f9f9;
}
.nav-bar-item { flex: 1; padding: 15px 20px; }
.nav-bar-item.prev { border-right: 1px solid #eee; }
.nav-bar-item.next { text-align: right; }
.nav-bar-item a { text-decoration: none; color: inherit; }
.nav-label { font-size: 11px; font-weight: 700; color: #ff0000; margin-bottom: 4px; display: block; }
.nav-title { font-size: 14px; font-weight: 700; color: #333; margin: 0; line-height: 1.4; }

/* Related Stories Red Underline */
.related-modern-section { margin-top: 50px; }
.related-modern-header { border-bottom: 1px solid #eee; margin-bottom: 25px; }
.related-modern-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ff0000;
  margin: 0;
  padding-bottom: 10px;
  display: inline-block;
  border-bottom: 2px solid #ff0000;
  margin-bottom: -1px;
}

.related-modern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-modern-card a { text-decoration: none; color: inherit; }
.rm-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.rm-title { font-size: 14px; font-weight: 700; margin-top: 10px; line-height: 1.4; color: #333; }
.rm-meta { font-size: 11px; color: #999; margin-top: 5px; }

@media (max-width: 600px) {
  .related-modern-grid { grid-template-columns: 1fr; }
  .post-modern-nav-bar { flex-direction: column; }
  .nav-bar-item.prev { border-right: none; border-bottom: 1px solid #eee; }
  .post-modern-title { font-size: 24px; }
}
.post-modern-featured-img {
  margin-bottom: 30px;
  width: 100%;
}

.post-modern-featured-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-modern-body {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.post-modern-body p { margin-bottom: 25px; }
.post-modern-body img {
  display: block;
  margin: 30px auto;
  max-width: 500px;
  height: auto;
  border-radius: 4px;
}

/* Post Navigation Bar */
.post-modern-nav-bar {
  display: flex;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 40px 0;
  background: #fcfcfc;
}

.nav-bar-item {
  flex: 1;
  padding: 20px;
}

.nav-bar-item.prev { border-right: 1px solid #eee; }
.nav-bar-item.next { text-align: right; }

.nav-bar-item a { text-decoration: none; color: inherit; display: block; }
.nav-label { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; margin-bottom: 5px; display: block; }
.nav-title { font-size: 15px; font-weight: 800; color: #0b56a3; margin: 0; line-height: 1.4; }

/* Related Modern Section */
.related-modern-section { margin-top: 40px; }
.related-modern-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.related-modern-header h3 { font-size: 22px; font-weight: 800; color: #1a1a1a; margin: 0; white-space: nowrap; }
.related-modern-line { height: 2px; background: #eee; flex: 1; }

.related-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-modern-card a { text-decoration: none; color: inherit; }
.rm-img-wrap { margin-bottom: 12px; }
.rm-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.rm-title { font-size: 15px; font-weight: 800; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rm-meta { font-size: 12px; color: #888; }

@media (max-width: 900px) {
  .post-modern-wrap { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .post-modern-title { font-size: 26px; }
  .related-modern-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-modern-nav-bar { flex-direction: column; }
  .nav-bar-item.prev { border-right: none; border-bottom: 1px solid #eee; }
  .related-modern-card { display: flex; gap: 12px; align-items: center; }
  .rm-img-wrap { width: 100px; flex-shrink: 0; margin: 0; }
  .rm-title { -webkit-line-clamp: 3; font-size: 14px; }
}
/* ===== Vertical Sidebar Share (Fixed & Small) ===== */
.post-modern-sidebar-fixed {
  position: fixed;
  top: 55%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

@media (min-width: 1400px) {
  .post-modern-sidebar-fixed {
    left: calc((100vw - 1000px) / 2 - 70px); 
  }
}

.share-label-sidebar {
  font-size: 11px;
  font-weight: 900;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-family: sans-serif;
}

.sidebar-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid #f2f2f2;
}

.sidebar-btn svg {
  width: 18px;
  height: 18px;
}

.sidebar-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sidebar-btn.fb { color: #1877F2; }
.sidebar-btn.tw { color: #000; }
.sidebar-btn.li { color: #0077b5; }
.sidebar-btn.pin { color: #E60023; }
.sidebar-btn.share { color: #666; }

@media (max-width: 1160px) {
  .post-modern-sidebar-fixed {
    display: none;
  }
}

/* ===== New Post Navigation (Prev/Next) ===== */
.post-nav-container-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-nav-item-new {
    flex: 1;
}

.post-nav-item-new.next {
    text-align: right;
}

.post-nav-item-new a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-arrow-label {
    font-size: 12px;
    font-weight: 800;
    color: #ff5e14;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.nav-post-title-new {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
}

.post-nav-separator {
    width: 1px;
    height: 60px;
    background: #eaeaea;
    margin: 0 30px;
}

/* ===== New Related Posts Section ===== */
.related-posts-section-new {
    margin-top: 50px;
}

.related-posts-header-new {
    font-size: 16px;
    font-weight: 900;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 25px;
    color: #333;
    letter-spacing: 0.5px;
}

.highlight-orange {
    color: #ff5e14;
}

.related-posts-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card-new a {
    text-decoration: none;
}

.rc-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 12px;
}

.rc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card-new:hover .rc-thumb img {
    transform: scale(1.05);
}

.rc-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.4em;
}

.rc-date {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

@media (max-width: 768px) {
    .related-posts-grid-new {
        grid-template-columns: 1fr;
    }
    .post-nav-container-new {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .post-nav-item-new.next {
        text-align: center;
    }
    .post-nav-separator {
        display: none;
    }
}

@media (max-width: 600px) {
    .share-modern-btn span {
        display: none;
    }
    .share-modern-btn {
        padding: 0;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 50%;
    }
    .post-modern-share-row-horizontal {
        gap: 10px;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .post-modern-title {
        font-weight: 600;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .post-modern-body img {
        max-width: 300px;
        display: block;
        margin: 20px auto;
        height: auto;
    }
}

.s-icon.wa { background: #25D366; }
.s-icon.em { background: #757575; }
.s-icon.yt { background: #ff0000; }
.s-icon:hover { opacity: 0.9; transform: translateY(-1px); transition: all 0.2s; }

.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #999;
    font-size: 16px;
    font-weight: 700;
}

.pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* ===== Thirai Murasu Brand Theme ===== */
:root {
  --tm-blue: #174a7a;
  --tm-blue-dark: #123b62;
  --tm-orange: #f26532;
  --tm-orange-dark: #de5324;
}

.top-strip,
.mobile-menu-header,
.site-footer,
.mobile-footer {
  background: var(--tm-blue);
}

.hamburger-btn span,
.search-title,
.section-title,
.sub-nav-title,
.post h3,
.cat-post-body h3,
.post-title-premium,
.unique-related-header h3,
.related-modern-header h3 {
  color: var(--tm-blue);
}

.categories-nav-bottom a:hover,
.ticker-list li a:hover,
.cat-list a:hover,
.sidebar-news-item:hover h5,
.search-input:focus,
.mobile-search-form .search-input:focus {
  color: var(--tm-blue);
  border-color: var(--tm-blue);
}

.btn-primary,
.header-search-submit,
.search-toggle-btn,
.page-btn.active,
.post-badge,
.drop-btn:hover {
  background: var(--tm-blue);
  border-color: var(--tm-blue);
}

.btn-primary:hover,
.header-search-submit:hover,
.search-toggle-btn:hover {
  background: var(--tm-blue-dark);
}

.drop-btn,
.page-btn,
.slider-arrow {
  color: var(--tm-blue);
}

.mobile-search-icon {
  color: var(--tm-blue);
}

.breaking-label,
.articles-title,
.related-modern-header h3,
.highlight-orange {
  color: var(--tm-orange);
  border-color: var(--tm-orange);
}

.post-unique-badge,
.breaking-label {
  background: var(--tm-orange);
}

.sub-nav-row::after,
.related-line {
  background: var(--tm-blue);
}

.quote {
  border-left-color: var(--tm-orange);
  color: var(--tm-blue);
}

/* ===== UI Polish Layer ===== */
body {
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 101, 50, 0.07), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(23, 74, 122, 0.09), transparent 30%),
    #f4f5f7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(18, 59, 98, 0.08);
}

.header-row {
  padding: 8px 0;
}

.logo img {
  border-radius: 10px;
  padding: 2px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18, 59, 98, 0.12);
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

.categories-nav-bottom a {
  position: relative;
  font-weight: 800;
}

.categories-nav-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--tm-orange);
  transition: width 0.25s ease;
}

.categories-nav-bottom a:hover::after {
  width: 100%;
}

.card {
  border-radius: 14px;
  border: 1px solid rgba(18, 59, 98, 0.07);
  box-shadow: 0 8px 24px rgba(18, 59, 98, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post.card:hover,
.highlight.card:hover,
.cat-post.card:hover,
.result.card:hover,
.widget.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 59, 98, 0.12);
}

.sub-nav-row {
  margin-top: 56px;
}

.section-title,
.search-title {
  letter-spacing: 0.2px;
}

.post h3,
.cat-post-body h3,
.result h3 a {
  transition: color 0.2s ease;
}

.post:hover h3,
.cat-post:hover .cat-post-body h3,
.result:hover h3 a {
  color: var(--tm-orange);
}

.search-input {
  background: #fff;
  border: 1px solid #d7deea;
}

.btn-primary,
.page-btn,
.search-toggle-btn {
  box-shadow: 0 6px 16px rgba(18, 59, 98, 0.14);
}

.pagination .page-btn {
  border-radius: 10px;
}

.widget h4 {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.calendar th {
  background: rgba(23, 74, 122, 0.08);
  color: var(--tm-blue);
}

/* Modern, subtle scrollbar */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(18, 59, 98, 0.06);
}

*::-webkit-scrollbar-thumb {
  background: rgba(23, 74, 122, 0.35);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(23, 74, 122, 0.55);
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-row {
    padding: 4px 0;
  }

  .logo img {
    border-radius: 8px;
  }

  .card {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(18, 59, 98, 0.09);
  }
}

/* ===== Cinema Homepage (reference-style layout) ===== */
.cinema-home {
  margin-top: 20px;
  margin-bottom: 30px;
}

.cinema-hero-block {
  padding: 14px;
  overflow: hidden;
}

.cinema-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.cinema-hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cinema-hero-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.cinema-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 100%);
  color: #fff;
}

.cinema-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.8px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tm-orange);
  margin-bottom: 8px;
}

.cinema-hero-overlay h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.cinema-hero-overlay p {
  font-size: 12px;
  opacity: 0.92;
}

.cinema-hero-side {
  display: grid;
  gap: 10px;
}

.cinema-side-item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 10px;
  overflow: hidden;
}

.cinema-side-item a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 15px;
  padding-right: 10px;
  text-decoration: none;
}

.cinema-side-item img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

.cinema-side-item h3 {
  font-size: 13px;
  color: #112f58;
  line-height: 1.35;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cinema-side-item p {
  font-size: 11px;
  color: #6b778a;
  margin-top: 5px;
}

.cinema-section {
  margin-top: 26px;
}

.cinema-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #edf2f8;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.cinema-section-head h2 {
  font-size: 15px;
  letter-spacing: 0.4px;
  font-weight: 900;
  color: var(--tm-blue);
}

.cinema-section-head a {
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tm-orange);
  font-weight: 800;
}

.cinema-mini-grid,
.cinema-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cinema-mini-card,
.cinema-compact-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 10px;
  overflow: hidden;
}

.cinema-mini-card a,
.cinema-compact-card a {
  text-decoration: none;
}

.cinema-mini-card img,
.cinema-compact-card img {
  width: 100%;
  height: 80px; /* Reduced by 2px */
  object-fit: cover;
  display: block;
}

.cinema-mini-card h4,
.cinema-compact-card h4 {
  font-size: 12px;
  color: #112f58;
  line-height: 1.35;
  padding: 4px 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 3 lines for heading */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px; /* Reduced by 2px */
}

.cinema-compact-card p {
  font-size: 11px;
  color: #6f7f95;
  padding: 0 10px 11px;
}

.cinema-main-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.cinema-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cinema-feature-card {
  overflow: hidden;
}

.cinema-feature-card a {
  text-decoration: none;
}

.cinema-feature-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.cinema-feature-body {
  padding: 10px 12px 12px;
}

.cinema-feature-body h3 {
  font-size: 15px;
  color: #112f58;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cinema-feature-body p {
  font-size: 12px;
  color: #516178;
  line-height: 1.45;
}

.cinema-main-right {
  display: grid;
  gap: 12px;
  align-content: start;
}

.cinema-sidebar-widget {
  padding: 12px;
}

.cinema-sidebar-widget h3 {
  font-size: 15px;
  color: var(--tm-blue);
  border-bottom: 2px solid #edf2f8;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.cinema-headline-list {
  display: grid;
  gap: 9px;
}

.cinema-headline-list a {
  text-decoration: none;
  font-size: 13px;
  color: #1d3557;
  border-left: 3px solid #e8eef7;
  padding-left: 8px;
  line-height: 1.4;
}

.cinema-headline-list a:hover {
  border-left-color: var(--tm-orange);
  color: var(--tm-orange-dark);
}

.cinema-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cinema-tags a {
  text-decoration: none;
  font-size: 12px;
  color: #113257;
  border: 1px solid #dce7f3;
  background: #f8fbff;
  border-radius: 999px;
  padding: 5px 10px;
}

.cinema-video-list {
  display: grid;
  gap: 10px;
}

.cinema-video-item {
  text-decoration: none;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  align-items: center;
}

.cinema-video-item img {
  width: 90px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.cinema-video-item span {
  font-size: 12px;
  color: #193a61;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .cinema-mini-grid,
  .cinema-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cinema-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cinema-home {
    margin-top: 10px;
  }

  .cinema-hero-grid {
    grid-template-columns: 1fr;
  }

  .cinema-hero-main img {
    height: 300px;
  }

  .cinema-hero-overlay h1 {
    font-size: 20px;
  }

  .cinema-feature-grid {
    grid-template-columns: 1fr;
  }

  .cinema-mini-grid,
  .cinema-four-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ===== Static index.html header overrides ===== */
.cinema-header-simple {
  background: #fff url('background.png') no-repeat center center !important;
  background-size: cover !important;
  border-bottom: 1px solid #e8edf5;
}

.cinema-header-simple .header-row {
  height: 80px;
  justify-content: flex-start;
  gap: 16px;
}

.cinema-logo-large img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.cinema-search-only {
  margin-left: auto;
}

.cinema-search-btn {
  display: inline-flex !important;
  color: var(--tm-blue);
  background: #f3f7fc;
  border: 1px solid #d8e3f1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.cinema-search-btn:hover {
  background: #eaf2fb;
}

.cinema-bottom-cats {
  display: block !important;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #eef2f8;
  backdrop-filter: blur(5px);
}

.cinema-bottom-cats .categories-nav-bottom {
  justify-content: center;
  gap: 25px;
  padding: 5px 0;
}

.cinema-bottom-cats .categories-nav-bottom a {
  color: #112f58;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.top-mini-bar {
  background: var(--tm-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.top-mini-bar .container {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.site-header {
  background: #fff url('background.png') no-repeat center center;
  background-size: cover;
}

@media (max-width: 768px) {
  .cinema-header-simple .header-row {
    height: auto;
    min-height: 170px;
    padding: 12px 0;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .cinema-logo-large img {
    width: min(95vw, 400px);
    max-height: 160px;
  }

  .cinema-search-only {
    margin: 0;
  }

  .cinema-bottom-cats {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cinema-bottom-cats .categories-nav-bottom {
    display: flex;
    justify-content: flex-start;
    padding: 6px 20px;
    white-space: nowrap;
    width: max-content;
    gap: 15px;
  }

/* ====================================================================
   CINEMA PREMIUM POST PAGE (Modern Style)
   ==================================================================== */

.post-cinema-page {
  background: #f8fafc;
}

.cinema-post-hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #000;
}

.cinema-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.cinema-hero-overlay-dark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.cinema-hero-content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  color: #fff;
  z-index: 5;
}

.cinema-hero-content .post-cat-badge {
  display: inline-block;
  background: var(--tm-orange);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 0.5px;
}

.cinema-hero-content h1 {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cinema-hero-meta {
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.cinema-post-body-container {
  max-width: 1100px;
  margin: -50px auto 40px;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  padding: 0 20px;
}

.cinema-post-main-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  line-height: 1.8;
  font-size: 18px;
  color: #1e293b;
}

.cinema-post-main-content h2, 
.cinema-post-main-content h3 {
  color: #0f172a;
  margin: 30px 0 15px;
  font-weight: 800;
}

.cinema-post-main-content p {
  margin-bottom: 25px;
}

.cinema-post-main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.cinema-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cinema-sidebar-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.cinema-sidebar-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--tm-blue);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
  position: relative;
}

.cinema-sidebar-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--tm-orange);
}

.cinema-share-sticky {
  position: sticky;
  top: 100px;
}

.cinema-share-v-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cinema-share-v-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.cinema-share-v-item:hover {
  background: #f1f5f9;
  color: var(--tm-orange);
  transform: translateX(5px);
}

.cinema-share-v-item svg {
  width: 18px;
  height: 18px;
}

.cinema-related-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.cinema-nav-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 30px;
}

.cinema-nav-link {
  text-decoration: none;
  display: block;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
}

.cinema-nav-link span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 5px;
}

.cinema-nav-link h4 {
  font-size: 14px;
  color: #334155;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .cinema-post-body-container {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
  .cinema-post-hero {
    height: 350px;
  }
  .cinema-hero-content {
    bottom: 30px;
  }
  .cinema-post-main-content {
    padding: 25px;
    font-size: 16px;
  }
  .cinema-nav-posts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cinema-header-simple .header-row {
    height: auto;
    min-height: 110px;
    padding: 10px 15px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .header-mobile-toggle {
    display: block !important;
    order: 1;
    flex: 0 0 40px;
  }

  .cinema-logo-large {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 5px;
  }

  .cinema-logo-large img {
    width: auto;
    max-width: 320px;
    max-height: 110px;
  }

  .cinema-search-only {
    order: 3;
    flex: 0 0 40px;
    margin: 0;
    display: flex;
    justify-content: flex-end;
  }
}

.header-mobile-toggle {
  display: none;
}
}

/* Related Stories Mobile List View */
.cinema-related-list-mobile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.related-list-item a {
  text-decoration: none;
  color: inherit;
}

.related-list-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.related-list-item h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin: 15px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.excerpt-mobile {
  display: none; /* Hide by default on desktop */
}

@media (max-width: 768px) {
  .cinema-related-list-mobile {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-list-item a {
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  .related-item-image {
    flex: 0 0 120px;
  }

  .related-list-item img {
    height: 90px;
  }

  .related-item-text {
    flex: 1;
  }

  .related-list-item h4 {
    margin: 0 0 5px;
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .excerpt-mobile {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
  }
}
