:root {
  --tm-blue: #0b1622;
  --tm-blue-light: #152a41;
  --tm-orange: #ff6600;
  --tm-orange-dark: #e65c00;
  --tm-bg: #f8fafc;
  --tm-card: #ffffff;
  --tm-text-dark: #0f172a;
  --tm-text-dim: #64748b;
  --tm-border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hind Madurai', sans-serif;
  background: var(--tm-bg);
  color: var(--tm-text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Arima Madurai', cursive;
  font-weight: 800;
}

.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: 20px;
  white-space: normal;
  flex-wrap: wrap;
  overflow: visible;
  scrollbar-width: none;
  max-width: 1100px;
  margin: 0 auto;
}

.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: var(--tm-orange);
}

.categories-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-home-link {
  color: var(--tm-orange) !important;
  font-weight: 800 !important;
}

.categories-nav-bottom a.nav-home-link:hover {
  color: var(--tm-orange-dark) !important;
}


.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-item-dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100;
  border-radius: 8px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 0;
}

.nav-item-dropdown .dropdown-content a {
  color: #112f58;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  text-align: left;
  border-radius: 0;
}

.nav-item-dropdown .dropdown-content a:hover {
  background-color: #f2f5ff;
  color: var(--tm-orange);
}

.nav-item-dropdown:hover .dropdown-content {
  display: block;
}

/* Subcategory Pills */
.sub-category-pills {
  margin: 15px 0 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 10px;
}

.sub-cat-pill {
  padding: 6px 15px;
  background: #f0f0f0;
  border-radius: 20px;
  text-decoration: none;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #ddd;
}

.sub-cat-pill:hover {
  background: var(--tm-orange);
  color: white;
  border-color: var(--tm-orange);
}

.mobile-cat-item .mobile-subcat-list {
  list-style: none;
  padding-left: 0; /* Remove left padding to control it via a tag */
  margin-top: 0;
  margin-bottom: 5px;
}

.mobile-cat-item .mobile-subcat-list a {
  font-size: 13px;
  color: #64748b;
  padding: 5px 20px 5px 35px !important; /* Smaller vertical padding */
  border-bottom: none !important;
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: relative;
  z-index: 1000;
  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;
  background: var(--tm-bg);
  padding: 15px 20px;
  border-bottom: 2px solid var(--tm-orange);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-search-bar.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-search-form {
  display: flex;
  gap: 10px;
  max-width: 1160px;
  margin: 0 auto;
}

.mobile-search-form .search-input {
  
  padding: 12px 18px;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.mobile-search-form .search-input:focus {
  border-color: var(--tm-orange);
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px; /* Reduced gap */
  color: #fff;
  text-decoration: none;
  font-size: 10px; /* Slightly smaller text */
  font-weight: 700;
  flex: 1;
}

.mobile-foot-icon {
  width: 18px; /* Reduced from 22px */
  height: 18px;
  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: var(--tm-orange);
}

.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.2;
  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; Removed to allow date alignment */
  text-align: left;
  margin-bottom: 5px;
}

.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; Removed to allow date alignment */
  }

  .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 {
  
  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 {
  
  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 {
  
}

.post h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 5px;
  color: #112f58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* height: 2.6em; Removed to allow date alignment */
}

.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; Removed to allow date alignment */
}

.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 {
  
  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 {
  
  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: 0 10px; /* No vertical padding */
    height: 60px; /* Smaller fixed height */
    align-items: center;
  }

  body {
    padding-bottom: 45px; /* Match new footer height */
  }
}

/* ===== 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: var(--tm-orange);
  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 {
  
  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 5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* height: 2.9em; Removed to allow date alignment */
  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 {
  
  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: var(--tm-orange);
  border-bottom: 3px solid var(--tm-orange) !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 {
    
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 100px;
    width: 150px;
  }

  /* 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 {
    
    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 {
    
    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 var(--tm-orange);
    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 {
  
  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 {
  
  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;
  
}

.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 {
  
}

.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 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* height: 4.4em; Removed to allow date alignment */
}

.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 ===== */
/* ===== Unique Desktop Enhancements ===== */
@media (min-width: 1025px) {

  /* 1. Custom Premium Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--tm-orange);
  }

  /* 2. Glassmorphism Sticky Header */
  .site-header {
    backdrop-filter: blur(12px) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
  }

  /* 3. Floating Card Interactions */
  .card,
  .cinema-mini-card,
  .today-news-item,
  .sidebar-slider-container {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  }

  .card:hover,
  .cinema-mini-card:hover,
  .today-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  }

  /* 4. Unique Link Hover */
  a {
    transition: color 0.2s ease;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
}

.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 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.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: 160px;
  object-fit: cover;
  display: block;
}

.cinema-mini-card h4,
.cinema-compact-card h4 {
  font-size: 15px;
  color: var(--tm-blue);
  line-height: 1.4;
  padding: 8px 12px 15px;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Strictly 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em; /* Exactly 3 lines (1.4 * 3) */
}

.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: 15px;
}

.cinema-feature-body h3 {
  font-size: 17px;
  color: var(--tm-blue);
  margin-bottom: 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* height: 4.2em; Removed to allow date alignment */
}

.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: 15px;
  color: var(--tm-blue);
  border-left: 4px solid var(--tm-orange);
  padding: 4px 0 4px 12px;
  line-height: 1.5;
  display: block;
}

.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: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.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;
  }

/* ============================================================
   MODERN POST PAGE & PREMIUM COMMENT SECTION
   ============================================================ */
.post-modern-page {
  background: #fff;
  padding-bottom: 80px;
}

.post-hero-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.post-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(11, 22, 34, 0.95) 0%, rgba(11, 22, 34, 0.3) 100%);
  z-index: 2;
}

.post-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 900px;
}

.post-hero-badge {
  background: var(--tm-orange);
  color: #fff;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.post-hero-title {
  font-size: clamp(32px, 6vw, 54px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  margin-bottom: 25px !important;
  color: #fff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.post-hero-meta {
  display: flex;
  gap: 25px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.post-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}

.post-featured-image-wrap {
  margin-bottom: 45px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.post-featured-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.post-article-content {
  font-size: 20px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 60px;
}

.post-share-row {
  padding: 35px 0;
  border-top: 2px solid #f1f5f9;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 60px;
}

.share-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--tm-blue);
  letter-spacing: 1px;
}

.share-btns {
  display: flex;
  gap: 15px;
}

.share-btns a {
  padding: 10px 22px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-tw { background: #000; }

.share-btns a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  filter: brightness(1.1);
}

/* Premium Comment Section */
.post-comment-section {
  background: #fdfdfd;
  padding: 50px;
  border-radius: 25px;
  border: 1px solid #edf2f7;
  box-shadow: 0 20px 40px rgba(0,0,0,0.02);
  margin-top: 80px;
}

.comment-title {
  font-size: 24px !important;
  color: var(--tm-blue) !important;
  margin-bottom: 40px !important;
  font-weight: 900 !important;
  display: flex;
  align-items: center;
  gap: 15px;
}

.comment-title::after {
  content: "";
  
  height: 2px;
  background: linear-gradient(90deg, var(--tm-orange), transparent);
}

.comment-form {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  margin-bottom: 60px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  background: #fff;
  border-color: var(--tm-orange);
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.08);
}

.submit-comment {
  background: var(--tm-blue);
  color: #fff;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 22, 34, 0.2);
}

.submit-comment:hover {
  background: var(--tm-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.comments-display {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.comment-item {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  transition: transform 0.3s ease;
}

.comment-item:hover {
  transform: translateX(5px);
  border-color: var(--tm-orange);
}

.comment-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.comment-details {
  
}

.comment-details h5 {
  font-size: 18px !important;
  color: var(--tm-blue) !important;
  margin-bottom: 10px !important;
  font-weight: 800 !important;
}

.comment-details p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.7;
}

.comment-time {
  font-size: 12px;
  color: #a0aec0;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-time::before {
  content: "🕒";
  font-size: 10px;
}

@media (min-width: 1025px) {
  .comments-display {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  
  .comment-item {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 102, 0, 0.1) !important;
    height: fit-content !important;
  }
  
  .post-comment-section {
    background-image: 
      radial-gradient(at 0% 0%, rgba(255, 102, 0, 0.03) 0, transparent 50%), 
      radial-gradient(at 100% 0%, rgba(11, 22, 34, 0.03) 0, transparent 50%) !important;
  }
}

@media (max-width: 1024px) {
  .post-main-layout {
    grid-template-columns: 1fr;
  }
  .post-comment-section {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .post-hero-section {
    height: 400px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .comment-form {
    padding: 25px;
  }
  .comment-item {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  .comment-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

  .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 var(--tm-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.cinema-header-simple .header-row {
  height: 95px;
  justify-content: space-between;
  gap: 16px;
}

.cinema-logo-large img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  filter: drop-shadow(0 0 5px rgba(255, 102, 0, 0.2));
}

.cinema-search-only {
  margin-left: auto;
}

.cinema-search-btn {
  display: inline-flex !important;
  color: var(--tm-orange);
  background: #222;
  border: 1px solid #333;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}

.cinema-search-btn:hover {
  background: #333;
  color: var(--tm-orange-dark);
}

.top-mini-bar {
  background: var(--tm-orange);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.top-mini-bar .container {
  min-height: 24px; /* Reduced from 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: 55px;
    min-height: 55px;
    padding: 0 15px;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .cinema-logo-large img {
    max-height: 50px;
    width: auto;
  }

  .cinema-search-only {
    margin: 0;
  }

  /* ====================================================================
   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: 55px;
      min-height: 55px;
      padding: 0 12px;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .header-mobile-toggle {
      display: block !important;
      order: 3;
      flex: 0 0 40px;
    }

    .cinema-logo-large {
      order: 1;
      flex: 1;

      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-left: 5px;
    }

    .cinema-logo-large img {
      width: auto;
      max-width: 280px;
      height: 55px;
      object-fit: contain;
    }

    .cinema-search-only {
      order: 2;

      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 {
    
  }

  .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;
  }
}

/* ====================================================================
   DARK COLOR (NAVY) & ORANGE ACCENT THEME
   ==================================================================== */

/* Global Colors */
body {
  background: var(--tm-bg);
  color: var(--tm-text-dark);
}

/* Header Overrides */
.cinema-header-simple {
  border-bottom: 2px solid var(--tm-orange);
}

.cinema-logo-large img {
  filter: none !important;
  /* Keep original logo color */
}

.cinema-search-btn {
  background: #fff !important;
  border: 1px solid #ddd !important;
  color: var(--tm-orange) !important;
}

.cinema-search-btn:hover {
  background: #f8f8f8 !important;
}

/* Card & Widget Backgrounds */
.card,
.cinema-mini-card,
.cinema-compact-card,
.cinema-sidebar-card,
.cinema-post-main-content,
.cinema-sidebar-widget,
.thumb-card,
.cinema-nav-link,
.cinema-feature-card,
.side-card,
.large-card {
  background: var(--tm-card) !important;
  color: var(--tm-text-dark) !important;
  border: 1px solid var(--tm-border) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.cinema-feature-body h3,
.thumb-news-title,
.cinema-post-main-content h2,
.cinema-post-main-content h3,
.cinema-video-item span,
.cinema-nav-link h4 {
  color: var(--tm-blue) !important;
}

.cinema-feature-body p,
.cinema-compact-card p,
.cinema-post-main-content p,
.cinema-hero-meta,
.cinema-nav-link span,
.excerpt-mobile {
  color: var(--tm-text-dim) !important;
}

/* Links & Accents */
a {
  color: inherit;
}

a:hover {
  color: var(--tm-orange);
}

.cinema-section-head h2,
.cinema-sidebar-widget h3.sidebar-heading {
  color: var(--tm-blue) !important;
  border-bottom: 2px solid var(--tm-orange) !important;
  position: relative;
  padding-bottom: 8px;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin-bottom: 15px !important;
  display: inline-block;
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-news-item a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  text-decoration: none;
  align-items: center;
}

.sidebar-news-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0f0f0;
}

.sidebar-news-text h4 {
  font-size: 13px !important;
  color: var(--tm-blue) !important;
  line-height: 1.4;
  margin-bottom: 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-news-text span {
  font-size: 11px;
  color: var(--tm-text-dim);
}

/* Sidebar Review Slider */
.sidebar-slider-container {
  width: 100%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.sidebar-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-slider-item {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
}

.sidebar-slider-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sidebar-slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
}

.sidebar-slider-overlay h4 {
  font-size: 14px !important;
  color: #fff !important;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.today-news-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.today-news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.today-news-item a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 15px;
  text-decoration: none;
}

.today-news-item img {
  width: 160px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
}

.today-news-body h3 {
  font-size: 18px !important;
  color: var(--tm-blue) !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* height: 2.8em; Removed to allow date alignment */
}

.today-news-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.today-news-date {
  font-size: 11px;
  color: #999;
}

@media (max-width: 768px) {
  .today-news-item a {
    grid-template-columns: 130px 1fr;
    gap: 15px;
  }

  .today-news-item img {
    width: 130px;
    height: 90px;
  }

  .today-news-excerpt,
  .cinema-hero-overlay p,
  .cinema-side-item p {
    display: none !important;
  }

  /* Mobile Ticker for LATEST CINEMA NEWS */
  .mobile-ticker-wrap {
    display: flex !important;
    overflow-x: hidden !important;
    white-space: nowrap !important;
    gap: 15px !important;
    padding: 10px 0 !important;
    position: relative !important;
  }

  .mobile-ticker-wrap .cinema-mini-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    animation: marquee 25s linear infinite !important;
  }

  /* Pause ticker on touch/hover */
  .mobile-ticker-wrap:active .cinema-mini-card,
  .mobile-ticker-wrap:hover .cinema-mini-card {
    animation-play-state: paused !important;
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1000%); } /* Adjust based on content length */
  }

  .mobile-ticker-wrap .cinema-mini-card h4 {
    font-size: 13px !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}

/* Modern Post Page Styles */
.post-modern-page {
    background: #fff;
    padding-bottom: 80px;
  }

  .post-hero-section {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
  }

  .post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 22, 34, 0.95) 0%, rgba(11, 22, 34, 0.4) 100%);
    z-index: 2;
  }

  .post-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
  }

  .post-hero-badge {
    background: var(--tm-orange);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
  }

  .post-hero-title {
    font-size: clamp(28px, 5vw, 48px) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
  }

  .post-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
  }

  .post-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
  }

  .post-featured-image-wrap {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .post-featured-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
  }

  .post-article-content {
    font-size: 19px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 50px;
  }

  .post-article-content p {
    margin-bottom: 25px;
  }

  .post-share-row {
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
  }

  .share-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--tm-blue);
  }

  .share-btns {
    display: flex;
    gap: 12px;
  }

  .share-btns a {
    padding: 8px 18px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.2s;
  }

  .share-fb {
    background: #1877F2;
  }

  .share-wa {
    background: #25D366;
  }

  .share-tw {
    background: #000;
  }

  .post-story-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .story-nav-btn {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
  }

  .story-nav-btn:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
  }

  .nav-dir {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--tm-orange);
    margin-bottom: 8px;
  }

  .nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--tm-blue);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Post Sidebar Modern */
  .post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
  }

  .sidebar-widget-modern {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  }

  .widget-title-modern {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--tm-blue) !important;
    border-bottom: 2px solid var(--tm-orange) !important;
    padding-bottom: 12px;
    margin-bottom: 20px !important;
    display: inline-block;
  }

  .sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sidebar-related-item a {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    text-decoration: none;
    align-items: center;
  }

  .sidebar-related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }

  .sidebar-related-info h4 {
    font-size: 13px !important;
    color: var(--tm-blue) !important;
    line-height: 1.4;
    margin-bottom: 5px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sidebar-related-info span {
    font-size: 11px;
    color: #94a3b8;
  }

  @media (max-width: 1024px) {
    .post-main-layout {
      grid-template-columns: 1fr;
    }

    .post-sidebar {
      position: static;
    }
  }

  @media (max-width: 768px) {
    .post-hero-section {
      height: 350px;
    }

    .post-hero-title {
      font-size: 28px !important;
    }

    .post-story-nav {
      grid-template-columns: 1fr;
    }
  }

  /* Mobile Footer - Unique Curved & Glowing Style (Mobile Only) */
  .mobile-footer {
    display: none !important;
    /* Hidden on desktop */
  }

  @media (max-width: 768px) {
    .mobile-footer {
      position: fixed !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      background: linear-gradient(180deg, #112f58 0%, #0a1d37 100%) !important;
      border-top: 2px solid var(--tm-orange) !important;
      border-radius: 25px 25px 0 0 !important;
      box-shadow: 0 -10px 30px rgba(255, 102, 0, 0.15), 0 -5px 15px rgba(0, 0, 0, 0.4) !important;
      padding: 10px 5px 15px !important;
      display: flex !important;
      justify-content: space-around !important;
      align-items: center !important;
      z-index: 9999 !important;
    }

    .mobile-foot-item {
      position: relative !important;
      color: rgba(255, 255, 255, 0.7) !important;
      padding: 12px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
      flex: 1 !important;
    }

    .mobile-foot-item.active,
    .mobile-foot-item:hover {
      color: var(--tm-orange) !important;
      transform: translateY(-5px) !important;
    }

    /* Glowing Indicator for Active Item */
    .mobile-foot-item.active::after {
      content: "" !important;
      position: absolute !important;
      top: -12px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      width: 30px !important;
      height: 4px !important;
      background: var(--tm-orange) !important;
      border-radius: 10px !important;
      box-shadow: 0 0 15px var(--tm-orange) !important;
    }
  }

  .mobile-foot-icon {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
  }

  .mobile-foot-label {
    font-size: 9px !important;
    font-weight: 600 !important;
    margin-top: 3px !important;
    opacity: 0.8;
    letter-spacing: 0.3px;
  }

  .mobile-foot-center {
    position: relative !important;
    color: var(--tm-orange) !important;
  }

  .mobile-foot-center .mobile-foot-icon {
    width: 26px !important;
    height: 26px !important;
    filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.5)) !important;
  }

  .mobile-foot-center .mobile-foot-label {
    color: var(--tm-orange) !important;
    opacity: 1;
  }

  .mobile-foot-item:active .mobile-foot-icon {
    transform: scale(1.2) !important;
  }

  /* Hamburger Fix */
  .hamburger-btn span {
    background: var(--tm-blue) !important;
  }

  .top-mini-bar {
    background: var(--tm-blue) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tm-orange) !important;
  }

  /* Numbered Headlines UI */
  .cinema-headline-list-numbered {
    display: grid;
    gap: 12px;
  }

  .headline-rank-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    text-decoration: none;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--tm-border);
    transition: all 0.2s;
  }

  .headline-rank-item:last-child {
    border-bottom: none;
  }

  .rank-number {
    width: 32px;
    height: 32px;
    background: var(--tm-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
    font-size: 14px;
  }

  .rank-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tm-blue);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .headline-rank-item:hover .rank-title {
    color: var(--tm-orange);
  }

  .headline-rank-item:hover .rank-number {
    background: var(--tm-blue);
  }

  /* Hero Overlay Heading Fix */
  .cinema-hero-overlay h1 {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  }

  .cinema-hero-overlay p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  }

  .cinema-badge {
    background: var(--tm-orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
  }

  /* FOOTER DESIGN (DESKTOP & MOBILE) */
  .site-footer-desktop {
    background: var(--tm-blue);
    color: #fff;
    padding: 0px 0 0;
    display: block;
    border-top: 4px solid var(--tm-orange);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-col h4 {
    color: var(--tm-orange);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--tm-orange);
  }

  .footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-top: 20px;
  }

  .footer-links {
    list-style: none;
    padding: 0;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
  }

  .footer-links a:hover {
    color: var(--tm-orange);
    padding-left: 5px;
  }

  .footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-icon:hover {
    background: var(--tm-orange);
    border-color: var(--tm-orange);
    transform: translateY(-5px);
  }

  .footer-email {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 20px;
  }

  .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
  }

  .site-footer-mobile {
    display: none;
    background: #000;
    color: #666;
    padding: 20px 0 110px;
    /* Space for mobile nav */
    text-align: center;
    font-size: 13px;
  }

  @media (max-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 768px) {
    .site-footer-desktop {
      display: none;
    }

    .site-footer-mobile {
      display: block;
    }
  }

/* Top Mini Bar & Social Icons */
.top-mini-bar {
  background: var(--tm-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0; /* Reduced from 6px */
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-text {
  letter-spacing: 0.5px;
}

.top-social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-social-icons a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  transition: all 0.3s ease;
  padding: 2px;
}

.top-social-icons a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.top-social-icons a:hover {
  color: var(--tm-orange);
  transform: translateY(-2px);
}


/* ============================================================
   STUNNING PREMIUM POST PAGE & COMMENT SECTION
   ============================================================ */
.post-modern-page {
  background: #fff;
  padding-bottom: 80px;
}

.post-hero-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.post-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.post-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(11, 22, 34, 0.95) 0%, rgba(11, 22, 34, 0.3) 100%);
  z-index: 2;
}

.post-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 900px;
}

.post-hero-badge {
  background: var(--tm-orange);
  color: #fff;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 25px;
}

.post-hero-title {
  font-size: clamp(32px, 6vw, 54px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  margin-bottom: 25px !important;
  color: #fff !important;
  font-family: 'Arima Madurai', cursive !important;
}

.post-hero-meta {
  display: flex;
  gap: 25px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.post-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}

.post-featured-image-wrap {
  margin-bottom: 45px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.post-featured-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.post-article-content {
  font-size: 20px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 60px;
  font-family: 'Hind Madurai', sans-serif;
}

.post-share-row {
  padding: 30px 0;
  border-top: 2px solid #f1f5f9;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.share-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--tm-blue);
  letter-spacing: 1px;
}

.share-btns {
  display: flex;
  gap: 12px;
}

.share-btns a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.share-btns a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-btns a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-tw { background: #000; }

.post-story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.story-nav-btn {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.story-nav-btn:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
}

.nav-dir {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--tm-orange);
  margin-bottom: 8px;
}

.nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-blue);
  line-height: 1.4;
}

/* PREMIUM COMMENT UI */
.post-comment-section {
  background: #fdfdfd;
  padding: 50px;
  border-radius: 30px;
  border: 1px solid #edf2f7;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
  margin-top: 80px;
}

.comment-title {
  font-size: 24px !important;
  color: var(--tm-blue) !important;
  margin-bottom: 40px !important;
  font-weight: 900 !important;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.comment-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--tm-orange);
  border-radius: 10px;
}

.comment-form h4 {
  font-size: 18px !important;
  color: var(--tm-blue) !important;
  margin-bottom: 25px !important;
  font-weight: 800 !important;
}

.comments-display {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.comment-item {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
}

.comment-item:hover {
  border-color: var(--tm-orange);
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.comment-avatar {
  width: 65px; height: 65px;
  background: linear-gradient(135deg, var(--tm-blue), #1a365d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-weight: 900;
  font-size: 26px;
  flex-shrink: 0;
}

.comment-details h5 {
  font-size: 18px !important;
  color: var(--tm-blue) !important;
  margin-bottom: 8px !important;
  font-weight: 800 !important;
}

.comment-details p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.7;
}

.comment-time {
  font-size: 12px;
  color: #a0aec0;
  margin-top: 15px;
  display: block;
}

/* Responsive */
@media (min-width: 1025px) {
  .comments-display {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 30px !important;
  }
}

@media (max-width: 1024px) {
  .post-main-layout { grid-template-columns: 1fr; }
  .comment-split-layout { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  .post-hero-section { height: 400px; }
  .form-grid { grid-template-columns: 1fr; }
  .comment-item { flex-direction: column; gap: 15px; padding: 25px; }
  .post-comment-section { padding: 30px; }
}

/* RESTORING FORM STYLES */
.comment-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 18px 22px;
  border: 2px solid #f1f5f9;
  border-radius: 15px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  background: #fff;
  border-color: var(--tm-orange);
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.1);
}

.submit-comment {
  background: var(--tm-blue);
  color: #fff;
  padding: 16px 45px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-comment:hover {
  background: var(--tm-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
}




/* POST PAGE RESPONSIVE FIXES */
@media (max-width: 1024px) {
  .post-main-layout { 
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .post-hero-section {
    height: 380px;
  }
  .post-hero-title {
    font-size: 32px !important;
  }
  .post-featured-image-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-align: center;
    border-radius: 12px;
    padding-right: 20px; /* Requested padding on right only */
  }
  .post-featured-image-wrap img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    display: inline-block;
  }
  .post-comment-section {
    padding: 25px;
    border-radius: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* CATEGORY & SEARCH INTEGRATION */
.cat-search-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-desktop-search {
  margin-left: 20px;
  flex-shrink: 0;
}

.desktop-search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.desktop-search-form:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--tm-orange);
}

.desktop-search-form input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
  width: 250px;
}

.desktop-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.desktop-search-form button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.desktop-search-form button:hover {
  color: var(--tm-orange);
}

@media (max-width: 1024px) {
  .header-desktop-search {
    display: none;
  }
}

/* CINEMA WIDE HEADER */
.cinema-header-wide {
  background: var(--tm-blue);
  padding: 10px 0;
  border-bottom: 2px solid var(--tm-orange);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo-nav-group {
  display: flex;
  align-items: center;
  gap: 40px;
  
}

.cinema-logo-compact img {
  height: 50px;
  width: auto;
  display: block;
}

.categories-nav.desktop-only {
  display: flex;
  gap: 25px;
}

.categories-nav.desktop-only a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.categories-nav.desktop-only a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--tm-orange);
  transition: all 0.3s ease;
}

.categories-nav.desktop-only a:hover {
  color: var(--tm-orange);
}

.categories-nav.desktop-only a:hover::after {
  width: 100%;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Utilities */
.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .cinema-header-wide { padding: 15px 0; }
  .cinema-logo-compact img { height: 40px; }
}




/* Sidebar Video Styling */
.cinema-video-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cinema-video-item {
  display: flex !important;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
  transition: transform 0.2s;
}
.cinema-video-item:hover {
  transform: translateX(5px);
}
.cinema-video-thumb {
  position: relative;
  width: 100px;
  height: 65px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cinema-video-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.cinema-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: rgba(255, 102, 0, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.cinema-video-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--tm-blue) !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cinema-video-item:hover .cinema-video-title {
  color: var(--tm-orange) !important;
}


/* Premium Modern Calendar Styling */
.calendar-wrapper {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f2f5;
  margin-top: 5px;
}

.calendar-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: var(--tm-blue);
  padding: 10px 15px;
  border-radius: 12px;
  color: #fff;
}

.cal-nav {
  text-decoration: none;
  font-weight: 900;
  color: var(--tm-orange) !important;
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cal-nav:hover {
  background: var(--tm-orange);
  color: #fff !important;
}

.cal-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cal-selection {
  display: flex;
  gap: 5px;
  align-items: center;
}

.cal-select {
  border: none;
  background: transparent;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  outline: none;
  padding: 4px;
  text-align: center;
}

.cal-select option {
  background: var(--tm-blue);
  color: #fff;
}

.calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  text-align: center;
}

.calendar-table thead th {
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.calendar-table tbody td {
  padding: 0;
  width: 14.28%;
}

.calendar-table tbody td span,
.calendar-table tbody td a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #475569;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-table tbody td a.has-news {
  background: #f1f5f9;
  color: var(--tm-blue);
  border: 1px solid #e2e8f0;
}

.calendar-table tbody td a.has-news:hover {
  background: var(--tm-orange);
  color: #fff !important;
  border-color: var(--tm-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.calendar-table tbody td .is-today {
  color: var(--tm-orange);
  position: relative;
  font-weight: 900;
}

.calendar-table tbody td .is-today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--tm-orange);
  border-radius: 50%;
}

.calendar-table tbody td .has-news.is-today {
  background: var(--tm-blue);
  color: #fff;
  border: none;
}


/* Sidebar Video Slider Styling */
.video-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}
.video-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--tm-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  z-index: 2;
}


/* Unique Glassmorphism News Section */
.unique-glass-section {
  background: linear-gradient(135deg, #0b1622 0%, #152a41 100%) !important;
  border: none !important;
  overflow: hidden;
  position: relative;
  padding: 20px !important;
}

.unique-glass-section .sidebar-heading {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 20px !important;
}

.glass-news-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 5px 0;
}

.glass-news-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-news-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02) translateX(5px);
  border-color: var(--tm-orange);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.glass-news-item a {
  display: flex;
  gap: 15px;
  text-decoration: none;
  align-items: center;
}

.glass-news-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.glass-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-news-item:hover .glass-news-thumb img {
  transform: scale(1.15);
}

.glass-news-body h4 {
  font-size: 13px !important;
  color: #fff !important;
  line-height: 1.4;
  margin-bottom: 5px !important;
  font-weight: 700 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glass-news-date {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.unique-glass-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}




/* Expanding Inline Search Styling */
.header-search-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 99px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2px;
}

.header-search-form.active {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding-left: 15px;
}

.header-search-input {
  width: 0;
  opacity: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--tm-blue);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.header-search-form.active .header-search-input {
  width: 200px;
  opacity: 1;
  padding: 8px 0;
}

.cinema-search-btn {
  background: transparent;
  border: none;
  color: var(--tm-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.header-search-form.active .cinema-search-btn {
  color: var(--tm-orange);
}

.cinema-search-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}


@media (max-width: 600px) {
  .header-search-form.active .header-search-input {
    width: 140px;
  }
}


/* Force Mobile Header Layout: Hamburger Left, Logo Middle, Search Right */
@media (max-width: 480px) {
  .header-mobile-toggle {
    order: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    flex: 0 0 40px !important;
  }
  .cinema-logo-large {
    order: 2 !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    margin-left: 10px !important;
  }
  .cinema-search-only {
    order: 3 !important;
    flex: 0 0 40px !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
}


/* --- Minimal Post Page Styles --- */
.post-header-minimal {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 30px;
}

.post-header-minimal .post-hero-title {
  color: #1e293b !important;
  font-size: clamp(24px, 5vw, 42px) !important;
  text-shadow: none !important;
  margin-bottom: 15px !important;
}

.post-header-minimal .post-hero-meta {
  color: #64748b !important;
  font-size: 14px;
}

.post-main-layout.full-width-layout {
  grid-template-columns: 1fr !important;
  display: block !important;
  max-width: 100%;
}

.post-content-area {
  max-width: 100% !important;
}

.post-article-content {
  font-size: 16px !important;
  line-height: 1.7;
  color: #334155;
  width: 100%;
}

.post-featured-image-wrap {
  display: none !important;
}

/* Hide related news if any styles remain */
.post-sidebar, .sidebar-related-list {
  display: none !important;
}


/* Categories Bar Orange Bottom Line */
/* Shorter Post Hero Section */
.post-hero-section {
  height: 380px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .post-hero-section {
    height: 320px !important;
  }
}


/* Smaller Share Row Height */
.post-share-row {
  padding: 15px 0 !important;
  margin-bottom: 30px !important;
}


/* Desktop: Larger Images for Today's News */
@media (min-width: 1025px) {
  .today-news-item a {
    grid-template-columns: 240px 1fr !important;
    gap: 25px !important;
  }
  .today-news-item img {
    width: 240px !important;
    height: 160px !important;
  }
  .today-news-body h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
}


/* Mobile: Horizontal Scrolling for Hero Side News */
@media (max-width: 1024px) {
  .cinema-hero-side {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 5px 2px 15px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .cinema-hero-side::-webkit-scrollbar {
    display: none !important;
  }
  .cinema-side-item {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }
  .cinema-side-item a {
    grid-template-columns: 100px 1fr !important;
    gap: 12px !important;
    padding: 8px !important;
    align-items: center !important;
  }
  .cinema-side-item img {
    width: 100px !important;
    height: 70px !important;
    border-radius: 6px !important;
  }
  .cinema-side-item h3 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}


/* --- Infinite Auto-Scrolling Side News (Mobile) --- */
.mobile-only-item {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-only-item {
    display: block;
  }
  .cinema-hero-side {
    overflow: hidden !important;
    width: 100vw !important;
    margin-left: -20px !important; /* Counteract container padding if any */
    padding: 10px 0 !important;
    position: relative;
  }
  .cinema-hero-side-track {
    display: flex !important;
    width: max-content;
    animation: sideTicker 30s linear infinite;
    gap: 15px;
    padding-left: 15px;
  }
  .cinema-hero-side:hover .cinema-hero-side-track {
    animation-play-state: paused;
  }

  @keyframes sideTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5px)); } /* Half of track + half of gap */
  }

  .cinema-side-item {
    flex: 0 0 240px !important;
    min-width: 240px !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    border: 1px solid #f1f5f9 !important;
  }

  .cinema-side-item a {
    display: flex !important;
    flex-direction: column !important; /* HEADING BELOW IMAGE */
    grid-template-columns: none !important;
    padding: 0 !important;
  }

  .cinema-side-item img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .side-item-content {
    padding: 12px 15px !important;
  }

  .cinema-side-item h3 {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    color: var(--tm-blue) !important;
    font-weight: 700 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .cinema-side-item p {
    font-size: 12px !important;
    color: #94a3b8 !important;
  }
}


/* Adjusting Side Ticker: Smaller and Clearer */
@media (max-width: 1024px) {
  .cinema-hero-side {
    padding: 5px 0 !important;
  }
  .cinema-hero-side-track {
    animation-duration: 35s !important; /* Slower for clarity */
    gap: 12px !important;
  }
  .cinema-side-item {
    flex: 0 0 180px !important;
    min-width: 180px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
  }
  .cinema-side-item img {
    height: 110px !important;
  }
  .side-item-content {
    padding: 10px !important;
  }
  .cinema-side-item h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .cinema-side-item p {
    font-size: 11px !important;
  }
}


/* Mobile: Full-Width Hero Image Fix */
@media (max-width: 480px) {
  .cinema-hero-block {
    padding: 0 !important;
    border-radius: 0 !important;
    margin-left: -15px !important; /* Negative margin to counteract container padding */
    margin-right: -15px !important;
    width: calc(100% + 30px) !important;
  }
  .cinema-hero-main img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 250px !important; /* Adjusted for better mobile view */
    object-fit: cover !important;
  }
  .cinema-hero-overlay {
    border-radius: 0 !important;
    padding: 20px 15px !important;
  }
}


/* Sidebar Video Grid Styling */
.sidebar-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sidebar-video-item a {
  text-decoration: none;
  display: block;
}

.video-grid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #000;
}

.video-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar-video-item:hover img {
  transform: scale(1.05);
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 102, 0, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sidebar-video-item:hover .video-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon svg {
  width: 18px;
  height: 18px;
}

.video-grid-info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tm-blue);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}


/* Pagination Styling */
.cinema-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
}

.pag-btn {
  background: var(--tm-blue);
  color: #fff;
  padding: 10px 25px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 22, 34, 0.15);
}

.pag-btn:hover {
  background: var(--tm-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.25);
}

.pag-info {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  padding: 8px 20px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
}


/* Numbered Pagination Styles */
.pag-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--tm-blue);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pag-num:hover {
  background: #f1f5f9;
  border-color: var(--tm-blue);
  transform: translateY(-2px);
}

.pag-num.active {
  background: var(--tm-blue);
  color: #fff;
  border-color: var(--tm-blue);
  box-shadow: 0 4px 12px rgba(11, 22, 34, 0.2);
}

.pag-btn {
  padding: 0 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Tighten Gap between Heading and Content */
.cinema-section-head {
  margin-bottom: 8px !important;
  padding-bottom: 5px !important;
}

.cinema-section {
  margin-top: 15px !important;
}


/* --- Premium Post Reader Design --- */
.post-reader-page {
  background: #fff;
  padding: 50px 0 80px;
}

.post-reader-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.post-reader-header {
  text-align: center;
  margin-bottom: 45px;
}

.post-reader-title {
  font-size: clamp(26px, 5vw, 44px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  margin-bottom: 25px !important;
  letter-spacing: -0.5px;
}

.post-reader-meta {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-reader-share {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.share-icon.fb { background: #1877f2; }
.share-icon.tw { background: #000; }
.share-icon.wa { background: #25d366; }

.share-icon svg { width: 18px; height: 18px; fill: currentColor; }

.post-reader-image {
  margin: 0 auto 50px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link.next { text-align: right; }
.reader-comment-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}


/* Change Post Reader Alignment to Left */
.post-reader-header {
  text-align: left !important;
}

.post-reader-meta, .post-reader-share {
  justify-content: flex-start !important;
}

.post-reader-title {
  text-align: left !important;
}

/* Revert Share Buttons to Icon-only if requested */
.share-icon span {
  display: none !important;
}

.share-icon {
  padding: 10px !important;
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Tighten Gaps in Post Reader Layout */
.post-reader-header {
  margin-bottom: 25px !important;
}

.post-reader-title {
  margin-bottom: 10px !important;
}

.post-reader-meta {
  margin-bottom: 15px !important;
}

.post-reader-image {
  margin-bottom: 25px !important;
}

.post-reader-page {
  padding-top: 30px !important;
}


/* Smaller Heading Font for Post Reader */
.post-reader-title {
  font-size: clamp(20px, 4.5vw, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}


.cinema-bottom-cats {
  position: relative;
  z-index: 1000;
  overflow: visible !important;
  background: var(--tm-blue-light);
  border-bottom: 3px solid var(--tm-orange);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.categories-nav-bottom a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0 !important; /* Reduced from 12px */
  background: transparent !important; /* Ensure no background change */
}

.categories-nav-bottom a:hover {
  color: var(--tm-orange) !important;
  background: transparent !important; /* Ensure no background change */
}

.nav-item-dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.3);
  z-index: 100;
  border-radius: 8px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 0 10px 15px;
  border-top: 3px solid var(--tm-orange);
}

.nav-item-dropdown:hover .dropdown-content {
  display: block;
}

.nav-item-dropdown .dropdown-content a {
  color:  #174a7a !important;
  padding: 10px 20px 10px 0 !important; /* Padding handled by container */
}

.nav-item-dropdown .dropdown-content a:hover {
  background-color: transparent !important; /* No background change on hover */
  color: var(--tm-orange) !important;
}
/* Sidebar Stories List */
.sidebar-stories-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.story-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.story-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-item img {
  width: 70px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.story-info h4 {
  font-size: 14px;
  line-height: 1.3;
  color: var(--tm-blue);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-item:hover h4 {
  color: var(--tm-orange);
}

/* Sidebar Photos Grid */
.sidebar-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .cinema-bottom-cats {
    overflow: hidden !important;
  }

  .categories-nav-bottom {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    gap: 25px !important;
    padding: 8px 15px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .categories-nav-bottom::-webkit-scrollbar {
    display: none;
  }

  .categories-nav-bottom a {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 0 !important;
    letter-spacing: 0.3px;
  }

  /* Hide dropdowns on mobile by default, allow JS toggle via .mobile-show */
  .categories-nav-bottom .nav-item-dropdown .dropdown-content {
    display: none !important;
  }
  .categories-nav-bottom .nav-item-dropdown .dropdown-content.mobile-show {
    display: block !important;
    position: fixed !important;
    background: #fff !important;
    border-radius: 10px !important;
    min-width: 180px !important;
    transform: none !important;
    padding: 8px 0 !important;
  }
}

.footer-brand-orange {
  color: var(--tm-orange);
  font-weight: 800;
}

/* Sidebar View More Button Inline */
.sidebar-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sidebar-header-flex .sidebar-heading {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-bottom: 8px;
}

.sidebar-view-more-inline {
  font-size: 10px;
  font-weight: 800;
  color: var(--tm-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--tm-orange);
  transition: all 0.2s ease;
}

.sidebar-view-more-inline:hover {
  background: var(--tm-orange);
  color: #fff;
}

/* Post Reader Navigation */
.post-reader-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
}

.nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.nav-link:hover {
  background: #fff;
  border-color: var(--tm-orange);
  box-shadow: 0 10px 25px rgba(255, 102, 0, 0.1);
  transform: translateY(-3px);
}

.nav-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--tm-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.nav-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-blue);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-link.next {
  text-align: right;
}

@media (max-width: 640px) {
  .post-reader-nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }
  .nav-link {
    text-align: left !important;
  }
}
