/**
 * Theme 01 — Hindustan-style news layout on Bootstrap 5.
 */
:root {
  --primary: #c4121c;
  --secondary: #111111;
  --bs-primary: var(--primary);
  --bs-primary-rgb: 196, 18, 28;
  --font-sans: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
  --font-serif: "Noto Serif Devanagari", "Noto Serif", Georgia, serif;
  --border-color: #e5e5e5;
  --text-muted: #666;
  --bg-light: #f5f5f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.theme-body {
  font-family: var(--font-sans);
  color: #1a1a1a;
  background: #fff;
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Header top ── */
.site-header {
  border-bottom: 1px solid var(--border-color);
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #333;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-logo__img {
  display: block;
  width: auto;
  max-width: 280px;
  height: 85px;
  object-fit: contain;
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.header-utility:hover {
  color: var(--primary);
}

.header-utility svg {
  flex-shrink: 0;
  color: var(--primary);
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 24px;
  padding: 6px 14px;
  gap: 8px;
  min-width: 200px;
}

.header-search__input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  width: 100%;
  color: #333;
}

.header-search__input::placeholder {
  color: #999;
}

.header-search__btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
}

/* ── Main navigation ── */
.main-nav {
  border-bottom: 1px solid var(--border-color);
}

.main-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav__list::-webkit-scrollbar {
  display: none;
}

.main-nav__item a {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav__item a:hover {
  color: var(--primary);
}

.main-nav__item.is-active a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ── Mobile drawer ── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.mobile-drawer__brand-img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.mobile-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  color: #333;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-drawer__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 16px;
  padding: 8px 14px;
  background: var(--bg-light);
  border-radius: 24px;
}

.mobile-drawer__search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #333;
  min-width: 0;
}

.mobile-drawer__search-btn {
  border: none;
  background: none;
  padding: 0;
  color: #666;
  cursor: pointer;
  display: flex;
}

.mobile-drawer__nav {
  flex: 1;
  padding: 4px 0;
}

.mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__list .main-nav__item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer__list .main-nav__item a {
  border-bottom: none;
  white-space: normal;
}

.mobile-drawer__link {
  display: block;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.mobile-drawer__list .main-nav__item.is-active .mobile-drawer__link {
  color: var(--primary);
  background: #fff5f5;
  border-left: 3px solid var(--primary);
  padding-left: 13px;
}

.mobile-drawer__link:hover {
  color: var(--primary);
  background: #fafafa;
}

.mobile-drawer__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-color);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.mobile-drawer__utility {
  display: block;
  padding: 14px 12px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-align: center;
}

.mobile-drawer__utility:hover {
  color: var(--primary);
  background: #fafafa;
}

body.drawer-open {
  overflow: hidden;
}

/* ── Trending bar ── */
.trending-bar {
  background: #fafafa;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.trending-bar__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trending-bar__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  padding: 0;
}

.trending-bar__arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.trending-bar__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}

.trending-bar__track::-webkit-scrollbar {
  display: none;
}

.trending-tag {
  flex-shrink: 0;
  padding: 5px 14px;
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #222;
  text-decoration: none;
  background: #fff;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-tag:hover {
  background: #fff5f5;
  color: var(--primary);
}

/* ── Home layout ── */
.home-main {
  padding: 20px 0 40px;
}

.home-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

.home-content {
  min-width: 0;
}

/* ── Top block: hero + side stack + 2×3 grid ── */
.home-top-block {
  margin-bottom: 16px;
}

.home-featured-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--border-color);
  border-bottom: none;
  align-items: stretch;
}

/* Hero */
.hero-story {
  position: relative;
  border-right: 1px solid var(--border-color);
  min-height: 300px;
}

.hero-story__link {
  display: block;
  position: relative;
  text-decoration: none;
  height: 100%;
  min-height: 300px;
}

.hero-story__img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.hero-story__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
  z-index: 1;
}

.hero-story__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  padding: 50px 14px 14px;
}

.hero-story__title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.45;
}

/* Side stack (3 articles beside hero) */
.home-stack--side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.home-stack--side .news-card {
  border-bottom: 1px solid var(--border-color);
  display: flex;
}

.home-stack--side .news-card:last-child {
  border-bottom: none;
}

.home-stack--side .news-card__link {
  padding: 10px 12px;
  align-items: flex-start;
  width: 100%;
}

.home-stack--side .news-card__thumb {
  width: 100px;
  height: 68px;
}

.home-stack--side .news-card__title {
  font-size: 1rem;
  -webkit-line-clamp: 3;
}

/* ── News grid (2 cols × 3 rows) ── */
.home-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-color);
}

.home-news-grid--standalone {
  border-top: 1px solid var(--border-color);
}

.news-card--grid {
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.news-card--grid:nth-child(2n) {
  border-right: none;
}

.home-news-grid .news-card--grid:nth-last-child(-n+2) {
  border-bottom: none;
}

.news-card__link {
  display: flex;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  height: 100%;
  align-items: flex-start;
}

.news-card__link:hover .news-card__title {
  color: var(--primary);
}

.news-card__thumb {
  flex-shrink: 0;
  width: 110px;
  height: 72px;
  overflow: hidden;
  border-radius: 4px;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  flex: 1;
  min-width: 0;
}

.news-card__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 6px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__date {
  display: block;
  font-size: 0.68rem;
  color: #888;
  font-weight: 400;
  line-height: 1.3;
}

/* ── Summary ── */
.home-summary {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.home-summary p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ── Category section (lead + list block) ── */
.cat-section {
  background: #fff;
  padding: 0 0 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.cat-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cat-section__header--page {
  margin-bottom: 20px;
  background: transparent;
  padding: 0;
}

.cat-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  white-space: nowrap;
}

.cat-section__bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--primary);
  flex-shrink: 0;
}

.cat-section__line {
  flex: 1;
  height: 2px;
  background: var(--primary);
  min-width: 20px;
}

.cat-section__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.cat-section__more:hover {
  text-decoration: underline;
}

.cat-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.cat-section__col--lead {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-section__col--right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid #ececec;
  padding-left: 18px;
}

.cat-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.cat-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.cat-card__link:hover .cat-card__title {
  color: var(--primary);
}

.cat-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.cat-card__link--lead {
  position: relative;
  display: block;
  min-height: 280px;
}

.cat-card__img--lead {
  width: 100%;
  min-height: 280px;
  aspect-ratio: auto;
  height: 280px;
  object-fit: cover;
}

.cat-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}

.cat-card__title--overlay {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  -webkit-line-clamp: 4;
}

.cat-card__link--secondary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.cat-card__thumb--secondary {
  width: 118px;
  height: 78px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.cat-card--secondary .cat-card__body {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.cat-card--secondary .cat-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
}

.cat-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card__title--featured {
  font-size: 1.15rem;
  font-weight: 400;
  -webkit-line-clamp: 4;
  margin-bottom: 10px;
}

.cat-card__excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-date {
  display: block;
  font-size: 0.68rem;
  color: #888;
  font-weight: 400;
  line-height: 1.3;
}

.cat-card--compact {
  border-bottom: 1px solid #ececec;
}

.cat-card--compact:last-child {
  border-bottom: 0;
}

.cat-card__link--compact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
}

.cat-card__link--compact .cat-card__body {
  flex: 1;
  min-width: 0;
}

.cat-card__link--compact .cat-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  -webkit-line-clamp: 3;
}

.cat-card__thumb {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Category below: article list + sidebar ── */
.cat-below {
  background: #f4f4f4;
  padding: 20px 16px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.cat-below__layout {
  align-items: start;
}

.cat-below__main {
  min-width: 0;
}

.cat-article-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-article-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-article-card__link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}

.cat-article-card__link:hover .cat-article-card__title {
  color: var(--primary);
}

.cat-article-card__body {
  flex: 1;
  min-width: 0;
}

.cat-article-card__title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.cat-article-card__excerpt {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  color: #555;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-article-card .article-date {
  margin-top: 2px;
}

.cat-article-card__thumb {
  width: 200px;
  height: 118px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cat-below .home-sidebar {
  background: #fff;
  border-left: none;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.cat-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  background: #fff;
}

.cat-pagination__item.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cat-pagination__item:hover:not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Sidebar ── */
.home-sidebar {
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
}

.widget {
  margin-bottom: 28px;
}

.widget-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--primary);
  flex-shrink: 0;
}

.widget-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--primary);
}

.widget-title span {
  white-space: nowrap;
}

/* Must Read */
.must-read__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.must-read__item {
  border-bottom: 1px solid var(--border-color);
}

.must-read__item:last-child {
  border-bottom: none;
}

.must-read__link {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  align-items: flex-start;
}

.must-read__link:hover .must-read__title {
  color: var(--primary);
}

.must-read__thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  flex-shrink: 0;
}

.must-read__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cricket widget */
.cricket-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.cricket-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 4px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  margin-bottom: -1px;
}

.cricket-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.cricket-scorecard {
  background: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px;
}

.cricket-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.cricket-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cricket-team--right {
  justify-content: flex-end;
}

.cricket-team__flag {
  font-size: 1.1rem;
}

.cricket-score {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.cricket-overs {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.cricket-actions {
  display: flex;
  gap: 8px;
}

.cricket-btn {
  flex: 1;
  text-align: center;
  padding: 7px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: #333;
  background: #fff;
}

.cricket-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cricket-btn--primary:hover {
  background: #a00f17;
  color: #fff;
}

/* Rashifal widget */
.rashifal-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rashifal-grid__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: #666;
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #fafafa;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.rashifal-grid__link.is-published {
  color: #111;
  background: #fff;
  border-color: #ddd;
}

.rashifal-grid__link:hover,
.rashifal-grid__link.is-published:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: #fff;
}

/* Horoscope page */
.horoscope-list {
  display: grid;
  gap: 16px;
}

.horoscope-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
}

.horoscope-card__sign {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.horoscope-card__content {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
}

.horoscope-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.widget .view-all-link {
  display: inline-block;
  margin-top: 12px;
}

/* Videos widget */
.video-widget-item {
  margin-bottom: 14px;
}

.video-widget-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 8px 0 0;
  line-height: 1.4;
}

.view-all-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.view-all-link:hover {
  text-decoration: underline;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Article detail page ── */
.article-main {
  padding: 20px 0 40px;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.article-sidebar {
  min-width: 0;
}

.article-sidebar--left .widget,
.article-sidebar--right .widget {
  margin-bottom: 20px;
}

.article-detail__title {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0 0 14px;
}

.article-detail__meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-detail__meta {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.5;
}

.article-detail__meta .article-date {
  display: inline;
}

.article-detail__meta-sep {
  margin: 0 6px;
  color: #ccc;
}

.article-detail__author,
.article-detail__publisher {
  color: #555;
}

.article-detail__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.article-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: #fff;
  color: #444;
  cursor: pointer;
  padding: 0;
}

.article-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.article-detail__summary {
  border: 1px solid var(--border-color);
  background: #fafafa;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 4px;
}

.article-detail__summary p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.article-detail__figure {
  margin: 0 0 20px;
}

.article-detail__image {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.article-read-also {
  border-left: 4px solid var(--primary);
  padding: 12px 14px;
  margin-bottom: 20px;
  background: #fafafa;
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-read-also strong {
  color: #111;
  margin-right: 6px;
}

.article-read-also a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.article-read-also a:hover {
  text-decoration: underline;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #222;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 1.5em 0 0.75em;
  line-height: 1.4;
}

.article-related {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.article-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-related__list li {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.article-related__list a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.article-related__list a:hover {
  color: var(--primary);
}

/* Photo gallery sidebar */
.photo-gallery__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.photo-gallery__item {
  border-bottom: 1px solid var(--border-color);
}

.photo-gallery__item:last-child {
  border-bottom: none;
}

.photo-gallery__link {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  align-items: flex-start;
}

.photo-gallery__link:hover .photo-gallery__title {
  color: var(--primary);
}

.photo-gallery__thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 56px;
}

.photo-gallery__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.photo-gallery__count {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  line-height: 1;
}

.photo-gallery__title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ad slots */
.ad-slot {
  margin-bottom: 20px;
}

.ad-slot__img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.ad-slot__placeholder {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: 1px dashed #ccc;
  border-radius: 4px;
  color: #888;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.article-sidebar--right .ad-slot__placeholder {
  min-height: 280px;
}

/* ── Footer ── */
.site-footer {
  background: #000;
  color: #b8b8b8;
  font-family: var(--font-sans);
  margin-top: 32px;
}

.site-footer__inner {
  padding: 28px 0 24px;
}

.site-footer__section {
  margin-bottom: 22px;
}

.site-footer__section:last-of-type {
  margin-bottom: 28px;
}

.site-footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.4;
}

.site-footer__links {
  font-size: 0.82rem;
  line-height: 1.75;
  margin: 0;
  color: #b0b0b0;
}

.site-footer__links a {
  color: #b8b8b8;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__sep {
  color: #666;
}

.site-footer__bottom {
  border-top: 1px solid #222;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.site-footer__copy,
.site-footer__meta {
  font-size: 0.78rem;
  color: #888;
  margin: 0;
}

.site-footer__meta a {
  color: #aaa;
  text-decoration: none;
}

.site-footer__meta a:hover {
  color: #fff;
}

/* ── Article & inner pages ── */
.meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.section-title {
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: #a00f17;
  --bs-btn-hover-border-color: #a00f17;
}

.list-article h3 a:hover {
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar--left {
    display: none;
  }

  .article-sidebar--right {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
  }

  .cat-section__grid {
    grid-template-columns: 1fr;
  }

  .cat-section__col--right {
    gap: 0;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #ececec;
    padding-top: 14px;
    margin-top: 4px;
  }

  .cat-card__img--lead,
  .cat-card__link--lead {
    min-height: 220px;
    height: 220px;
  }

  .cat-card__thumb--secondary {
    width: 96px;
    height: 64px;
  }

  .cat-article-card__link {
    flex-direction: column;
    align-items: stretch;
  }

  .cat-article-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    order: -1;
  }

  .cat-below .home-sidebar {
    margin-top: 14px;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
  }

  .home-featured-row {
    grid-template-columns: 1fr;
  }

  .hero-story {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .home-stack--side {
    grid-template-rows: auto;
  }
}

@media (max-width: 991px) {
  .header-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }

  .header-utilities {
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
  }

  .header-utilities .header-utility {
    display: none;
  }

  .header-search {
    flex: 1;
    max-width: 220px;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .header-utilities {
    width: auto;
  }

  .header-search {
    max-width: none;
    flex: 1;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .news-card--grid {
    border-right: none !important;
  }

  .home-news-grid .news-card--grid:last-child {
    border-bottom: none;
  }

  .news-card__thumb,
  .home-stack--side .news-card__thumb {
    width: 96px;
    height: 64px;
  }

  .hero-story__title {
    font-size: 1.05rem;
  }

  .article-detail__title {
    font-size: 1.35rem;
  }
}
