:root {
  --primary: #c1121f;
  --primary-dark: #780000;
  --accent: #0891b2;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --soft: #f1f5f9;
}

body {
  font-family: var(--site-font, Inter, Arial, sans-serif);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(193, 18, 31, .12), transparent 30rem),
    radial-gradient(circle at top right, rgba(8, 145, 178, .10), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0, #eef3f8 46rem, #f7fafc 100%);
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

.container {
  max-width: 1280px;
}

.top-strip {
  background: #0f172a;
  color: #cbd5e1;
  font-size: .86rem;
}

.top-strip a {
  color: #e2e8f0;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .86);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.brand-logo {
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: 0;
  color: var(--primary);
}

.nav-link {
  font-weight: 700;
  color: #1f2937;
  padding-inline: .85rem !important;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar .form-control {
  border-radius: 999px;
  background: var(--soft);
  border-color: transparent;
  min-width: 190px;
}

.breaking-wrap {
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,.72));
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
}

.breaking-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 10px;
  padding: .7rem .8rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--primary), #8f0714);
  color: #fff;
  font-weight: 900;
  padding: .65rem .95rem;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: .02em;
}

.breaking-label span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}

.breaking-ticker {
  min-width: 0;
  overflow: hidden;
}

.breaking-news-list {
  display: flex;
  gap: .65rem;
  width: max-content;
  animation: breakingTicker 34s linear infinite;
}

.breaking-ticker:hover .breaking-news-list {
  animation-play-state: paused;
}

@keyframes breakingTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.breaking-news-list a {
  min-width: 260px;
  max-width: 420px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: .62rem .75rem;
}

.breaking-news-list time {
  color: var(--primary);
  font-weight: 900;
  font-size: .82rem;
  white-space: nowrap;
}

.breaking-news-list strong {
  min-width: 0;
  color: #111827;
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.22;
  font-size: .92rem;
}

.breaking-all {
  border: 1px solid rgba(193,18,31,.28);
  color: var(--primary);
  border-radius: 8px;
  padding: .62rem .9rem;
  font-weight: 900;
  white-space: nowrap;
}

.duty-pharmacy-section {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.duty-pharmacy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
}

.section-eyebrow {
  display: inline-flex;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}

.duty-pharmacy-head h2 {
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0;
}

.duty-pharmacy-head p {
  color: var(--muted);
  margin: .35rem 0 0;
}

.duty-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(8, 145, 178, .28);
  color: #036672;
  border-radius: 8px;
  padding: .45rem .75rem;
  font-weight: 900;
  background: #ecfeff;
  white-space: nowrap;
}

.duty-district-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.duty-district {
  border: 1px solid #e5edf5;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff, #ffffff);
  overflow: hidden;
}

.duty-district-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid #eef2f7;
}

.duty-district-title span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #8f0714);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}

.duty-district-title h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
}

.duty-district-title small {
  color: var(--muted);
  font-weight: 700;
}

.duty-pharmacy-list {
  display: grid;
  gap: .8rem;
  padding: 1rem;
}

.duty-pharmacy-card {
  display: grid;
  gap: .8rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: .9rem;
  background: #fff;
}

.duty-pharmacy-card h4 {
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 .28rem;
}

.duty-pharmacy-card p {
  color: #475569;
  font-size: .92rem;
  line-height: 1.45;
  margin: 0;
}

.duty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.duty-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  padding: .38rem .62rem;
  font-size: .86rem;
  font-weight: 900;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.duty-actions a:first-child {
  background: #fef2f2;
  border-color: rgba(193, 18, 31, .22);
  color: var(--primary);
}

.duty-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 1rem;
  color: var(--muted);
  background: #f8fafc;
  font-weight: 700;
}

.post-video-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.compact-widget {
  margin: 0;
}

.compact-widget-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .8rem;
  margin-bottom: .85rem;
}

.compact-widget-head h2 {
  font-size: 1.18rem;
  font-weight: 900;
  margin: 0;
}

.compact-widget-head p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
  margin: .25rem 0 0;
}

.compact-widget-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(8, 145, 178, .28);
  color: #036672;
  border-radius: 8px;
  padding: .34rem .56rem;
  font-size: .82rem;
  font-weight: 900;
  background: #ecfeff;
  white-space: nowrap;
}

.post-video-widgets .duty-pharmacy-section {
  padding: 1rem;
  border-radius: 8px;
}

.post-video-widgets .duty-pharmacy-head {
  display: flex;
}

.post-video-widgets .duty-district-grid {
  grid-template-columns: 1fr;
  gap: .7rem;
}

.post-video-widgets .duty-district {
  border-radius: 8px;
}

.post-video-widgets .duty-district-title {
  padding: .68rem .75rem;
}

.post-video-widgets .duty-district-title span {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  font-size: .95rem;
}

.post-video-widgets .duty-pharmacy-list {
  gap: .55rem;
  padding: .7rem;
}

.post-video-widgets .duty-pharmacy-card {
  padding: .68rem;
  gap: .55rem;
}

.post-video-widgets .duty-pharmacy-card h4 {
  font-size: .94rem;
}

.post-video-widgets .duty-pharmacy-card p {
  font-size: .84rem;
}

.fixture-widget {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.fixture-list {
  display: grid;
  gap: .55rem;
}

.fixture-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: .68rem;
  background: #fbfdff;
}

.fixture-meta {
  display: grid;
  gap: .16rem;
}

.fixture-meta span {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.25;
}

.fixture-meta strong {
  color: var(--primary);
  font-size: .9rem;
}

.fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  font-weight: 900;
}

.fixture-teams span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-teams span:first-child {
  text-align: right;
}

.fixture-teams b {
  color: #94a3b8;
  font-size: .72rem;
}

.info-tabs-widget {
  max-width: 1280px;
}

.info-tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .75rem;
}

.info-tabs-nav button {
  border: 1px solid #dbe6f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: .5rem .88rem;
  font-weight: 900;
  font-size: .9rem;
  line-height: 1;
}

.info-tabs-nav button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(193, 18, 31, .18);
}

.info-tab-panel {
  display: none;
}

.info-tab-panel.is-active {
  display: block;
}

.info-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  border-radius: 9px;
  padding: 1rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.info-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  margin-bottom: 1rem;
}

.info-card-title div:first-child {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

.info-card-title div:first-child > span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary) 0 28%, transparent 28% 38%, var(--accent) 38% 66%, transparent 66% 76%, #111827 76%);
}

.info-card-title h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 900;
}

.source-links {
  display: inline-flex;
  flex: 0 0 auto;
  gap: .45rem;
}

[data-async-source] {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  background: transparent;
}

.source-links a,
.info-card-title > a,
.info-card-title > [data-async-source] > a {
  border: 1px solid rgba(193, 18, 31, .22);
  border-radius: 8px;
  padding: .36rem .58rem;
  background: #fff7f7;
  color: var(--primary);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.sports-combo-grid {
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(420px, 1.06fr);
  gap: 1rem;
  align-items: start;
}

.sports-combo-grid > div {
  min-width: 0;
}

.sports-combo-grid h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 .65rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid #e2e8f0;
}

.standings-mini-table {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.standings-mini-head,
.standings-mini-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 54px 54px;
  align-items: center;
  min-height: 34px;
  padding: 0 .75rem;
  gap: .45rem;
}

.standings-mini-head {
  border-bottom: 1px solid #dbe4ec;
  font-weight: 900;
}

.standings-mini-row:nth-child(odd) {
  background: #f1f5f9;
}

.standings-mini-row strong,
.standings-mini-row b {
  font-weight: 900;
}

.standings-mini-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-list-tabs .fixture-row {
  border-width: 1px;
  border-radius: 8px;
  background: #fff;
  padding: .62rem .72rem;
  grid-template-columns: 104px minmax(0, 1fr);
  min-width: 0;
}

.fixture-list-tabs .fixture-teams {
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  min-width: 0;
  gap: .35rem;
}

.fixture-list-tabs .fixture-meta span {
  display: block;
}

.fixture-list-tabs .fixture-meta strong {
  display: block;
  margin-top: .14rem;
}

.district-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .8rem;
}

.district-filter button {
  border: 1px solid #dbe6f0;
  background: #f8fafc;
  color: #334155;
  border-radius: 8px;
  padding: .42rem .65rem;
  font-size: .86rem;
  font-weight: 900;
}

.district-filter button.is-active {
  background: #ecfeff;
  border-color: rgba(8, 145, 178, .34);
  color: #036672;
}

.pharmacy-tab-list {
  display: grid;
  gap: .65rem;
}

.district-panel {
  display: none;
}

.district-panel.is-active {
  display: grid;
  gap: .65rem;
}

.pharmacy-tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: .65rem;
}

.pharmacy-tab-row strong,
.pharmacy-tab-row span {
  display: block;
}

.pharmacy-tab-row strong {
  font-weight: 900;
}

.pharmacy-tab-row span {
  color: #64748b;
  font-size: .86rem;
  line-height: 1.35;
}

.pharmacy-tab-row a {
  flex: 0 0 auto;
  background: #fef2f2;
  border: 1px solid rgba(193,18,31,.22);
  color: var(--primary);
  border-radius: 8px;
  padding: .36rem .58rem;
  font-size: .82rem;
  font-weight: 900;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .duty-district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.headline-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 390px;
  gap: 20px;
  align-items: stretch;
}

.headline-carousel,
.headline-side {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
  border: 1px solid rgba(226, 232, 240, .95);
  background: #fff;
}

.headline-carousel {
  position: relative;
}

.instant-slides {
  position: relative;
  height: 546px;
  background: #111827;
}

.headline-slide {
  position: relative;
  display: none;
  height: 546px;
  overflow: hidden;
  color: #fff;
}

.headline-slide.is-active {
  display: block;
}

.headline-slide img {
  width: 100%;
  height: 546px;
  object-fit: cover;
  display: block;
}

.headline-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.02) 12%, rgba(15,23,42,.18) 42%, rgba(15,23,42,.92));
}

.headline-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.1rem 2.25rem 4.55rem;
}

.headline-kicker {
  display: inline-flex;
  position: relative;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 800;
  padding: .42rem 1.05rem;
  margin-bottom: .08rem;
  letter-spacing: 0;
  isolation: isolate;
}

.headline-kicker::before {
  content: "";
  position: absolute;
  inset: 0 -1.15rem;
  z-index: -1;
  background: linear-gradient(90deg, rgba(227, 6, 19, 0), rgba(227, 6, 19, .96) 18%, rgba(227, 6, 19, .96) 82%, rgba(227, 6, 19, 0));
}

.headline-caption h1 {
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
  max-width: 850px;
  text-shadow: 0 2px 16px rgba(0,0,0,.34);
}

.slider-number-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  background: rgba(17, 24, 39, .88);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
  border-top: 1px solid rgba(255,255,255,.72);
}

.slider-number-nav::-webkit-scrollbar {
  display: none;
}

.slider-number-nav button {
  appearance: none;
  position: relative;
  border: 0;
  background: transparent;
  color: #fff;
  min-width: 39px;
  height: 46px;
  padding: 0 .35rem;
  font-weight: 800;
  font-size: 1rem;
}

.slider-number-nav button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.48);
}

.slider-number-nav button:hover,
.slider-number-nav button.is-active {
  background: #e30613;
  color: #fff;
}

.slider-number-nav button.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #e30613;
}

.headline-side {
  padding: .9rem;
}

.headline-side-title {
  font-weight: 900;
  font-size: 1.15rem;
  padding: .2rem .2rem .8rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: .35rem;
}

.headline-side-item {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: .85rem;
  padding: .82rem .15rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.headline-side-item img {
  width: 98px;
  height: 68px;
  object-fit: cover;
  border-radius: 7px;
  background: #e2e8f0;
}

.headline-side-item span {
  display: block;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .24rem;
}

.headline-side-item strong {
  display: block;
  color: #111827;
  font-weight: 900;
  line-height: 1.18;
  font-size: .95rem;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: .7rem;
}

.section-title h2 {
  font-size: 1.62rem;
  font-weight: 900;
  margin: 0;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.78rem;
  width: 72px;
  height: 2px;
  background: var(--primary);
}

.news-card {
  background: var(--paper);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
}

.card-media {
  display: block;
  position: relative;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.18));
  pointer-events: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e5e7eb;
  transition: transform .28s ease;
}

.news-card:hover img {
  transform: scale(1.035);
}

.sample-ad {
  display: grid;
  gap: .2rem;
  padding: 1.15rem;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .16);
}

.sample-ad:hover {
  color: #fff;
}

.sample-ad span {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .82;
}

.sample-ad strong {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
}

.sample-ad small {
  opacity: .86;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #fff;
  padding: .34rem .58rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.card-title {
  font-size: 1.17rem;
  font-weight: 900;
  line-height: 1.23;
  letter-spacing: 0;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  height: 190px;
}

.horizontal-card .card-media {
  height: 100%;
}

.horizontal-card img {
  height: 100%;
  aspect-ratio: auto;
}

.gallery-card {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 318px;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, .18);
  color: #fff;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
  transform: scale(1.01);
  transition: transform .32s ease;
}

.gallery-card:hover img {
  transform: scale(1.07);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,.08) 0%, rgba(15,23,42,.38) 42%, rgba(15,23,42,.94) 100%);
}

.gallery-card-body {
  align-self: end;
  padding: 1.15rem;
  color: #fff;
}

.gallery-card-body span {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.94);
  color: var(--primary);
  border-radius: 6px;
  padding: .36rem .55rem;
  font-weight: 900;
  font-size: .74rem;
  text-transform: uppercase;
  margin-bottom: .65rem;
}

.gallery-card-body h3 {
  font-size: 1.28rem;
  line-height: 1.18;
  font-weight: 900;
  margin: 0 0 .45rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.gallery-card-body p {
  color: rgba(255,255,255,.82);
  margin: 0;
  font-size: .94rem;
  line-height: 1.42;
}

.video-gallery-card .play-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(193, 18, 31, .95);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .3);
}

.gallery-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  padding: 1.25rem;
  font-weight: 700;
}

.gallery-detail-head {
  max-width: 940px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}

.gallery-detail-head span {
  display: inline-flex;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: .55rem;
}

.gallery-detail-head h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 .85rem;
}

.gallery-detail-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.photo-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .85rem;
}

.photo-thumb-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f172a;
  border-radius: 8px;
  border: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
  transition: transform .32s ease;
}

.photo-thumb-item:hover img {
  transform: scale(1.055);
}

.photo-thumb-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.72));
  opacity: .85;
}

.photo-thumb-item span {
  position: absolute;
  left: .65rem;
  bottom: .65rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5rem 6rem 4rem;
  background: rgba(3, 7, 18, .94);
  pointer-events: none;
}

.photo-lightbox.is-open {
  display: flex;
  pointer-events: auto;
}

.lightbox-open {
  overflow: hidden;
}

.photo-lightbox figure {
  width: min(1180px, 100%);
  margin: 0;
}

.photo-lightbox img {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  display: block;
}

.photo-lightbox figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  padding-top: 1rem;
}

.photo-lightbox figcaption span {
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--primary);
  padding: .4rem .65rem;
  font-weight: 900;
}

.photo-lightbox figcaption strong {
  min-width: 0;
  line-height: 1.35;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 0;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  border-radius: 8px;
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--primary);
}

.video-detail-player {
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: 0 24px 62px rgba(15, 23, 42, .18);
  border: 1px solid rgba(15, 23, 42, .08);
}

.video-detail-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.video-direct-link {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.ad-box {
  min-height: 90px;
  border: 1px dashed #94a3b8;
  background: repeating-linear-gradient(135deg, #fff, #fff 12px, #f8fafc 12px, #f8fafc 24px);
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.newsletter-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(193,18,31,.42), transparent 18rem),
    linear-gradient(135deg, #07111f, #162033);
  color: #fff;
  border-block: 1px solid var(--line);
}

.newsletter-band .text-muted {
  color: #cbd5e1 !important;
}

.site-footer {
  background: #070d18;
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  margin-bottom: .45rem;
}

.footer-newsletter {
  border-bottom: 1px solid rgba(203, 213, 225, .18);
}

.footer-newsletter p {
  color: #cbd5e1;
}

.newsletter-form {
  align-items: stretch;
}

.newsletter-form .form-control {
  min-width: 0;
}

.newsletter-form .btn {
  flex: 0 0 auto;
  min-width: 112px;
  white-space: nowrap;
  padding-inline: 1rem;
}

.news-detail-page {
  background: #f8fafc;
}

.news-detail-hero {
  padding: 1.4rem 0 2rem;
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: .9rem;
  font-weight: 800;
}

.news-breadcrumb a {
  color: #475569;
}

.news-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 1.5rem;
  align-items: center;
}

.news-detail-headline {
  min-width: 0;
}

.news-detail-headline h1 {
  margin: .85rem 0 .85rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: 0;
}

.news-detail-headline p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 1.12rem;
  line-height: 1.58;
  font-weight: 700;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.news-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #111827);
  font-weight: 900;
}

.news-detail-meta a,
.news-detail-meta strong {
  display: block;
  color: #111827;
  font-weight: 900;
}

.news-detail-meta span {
  display: block;
  color: #64748b;
  font-size: .9rem;
  font-weight: 700;
}

.news-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.news-share-actions a,
.news-share-actions button {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  padding: 0 .75rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .11);
}

.news-share-actions .share-facebook { background: #1877f2; }
.news-share-actions .share-x { background: #111827; }
.news-share-actions .share-whatsapp { background: #25d366; }
.news-share-actions .share-copy { background: var(--primary); }

.news-detail-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

.news-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.news-detail-layout {
  max-width: 1280px;
  margin-inline: auto;
}

.news-detail-article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: clamp(1.1rem, 3vw, 2.6rem);
  box-shadow: 0 18px 52px rgba(15, 23, 42, .07);
}

.article-body {
  color: #1f2937;
  font-size: 1.1rem;
  line-height: 1.82;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body > :last-child {
  margin-bottom: 0;
}

.article-body p {
  margin-bottom: 1.2rem;
}

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

.market-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .03);
}

.market-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem 1rem;
  border-right: 1px solid var(--line);
  font-size: .86rem;
}

.market-item strong {
  color: var(--primary);
}

.contact-page {
  background: #f8fafc;
}

.contact-hero {
  padding: 3rem 0 2.4rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: .8rem;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0 0 .75rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 680px;
  margin: 0;
  color: #475569;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-info,
.contact-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(15, 23, 42, .06);
}

.contact-info {
  padding: 1.5rem;
}

.contact-info h2 {
  margin: 0 0 .55rem;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 950;
}

.contact-info p {
  margin-bottom: 1.2rem;
  color: #64748b;
  font-weight: 700;
  line-height: 1.65;
}

.contact-info div {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.contact-info strong,
.contact-info span {
  display: block;
}

.contact-info strong {
  color: #0f172a;
  font-weight: 950;
}

.contact-info span {
  margin-top: .25rem;
  color: #475569;
  font-weight: 700;
}

.contact-form {
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.contact-form label {
  margin-bottom: .4rem;
  color: #334155;
  font-size: .9rem;
  font-weight: 900;
}

.contact-form .form-control {
  border-radius: 8px;
  border-color: #cbd5e1;
  font-weight: 700;
}

.contact-form textarea {
  resize: vertical;
}

.contact-submit {
  min-height: 44px;
  border-radius: 8px;
  padding-inline: 1.15rem;
  font-weight: 900;
}

.contact-alert {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.contact-alert.is-success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.contact-alert.is-error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.admin-message-subject {
  margin: .4rem 0 .35rem;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 950;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .65rem;
}

.admin-permission-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  padding: .65rem .75rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 850;
}

.admin-permission-item input {
  flex: 0 0 auto;
}

.async-loading {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 68px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.async-loading-inline {
  min-height: 42px;
  padding: .55rem 1rem;
}

.async-loading span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: async-spin .75s linear infinite;
}

@keyframes async-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-page-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 900;
}

.admin-page-head p {
  max-width: 620px;
  margin: .25rem 0 0;
  color: #64748b;
}

.admin-eyebrow {
  display: inline-block;
  margin-bottom: .25rem;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 1rem;
  align-items: start;
}

.admin-form-stack {
  display: block;
  margin-bottom: 1.5rem;
}

.admin-form-stack > .admin-card {
  width: 100%;
}

.admin-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.demo-mod-alert {
  margin: 1rem auto;
  max-width: 1140px;
  padding: .85rem 1rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  font-weight: 800;
}

.admin-settings-card {
  padding: 0;
  overflow: hidden;
}

.admin-settings-tabs {
  padding: 1rem 1rem 0;
  background: #f8fafc;
}

.admin-settings-tabs .nav-link {
  color: #475569;
  border-radius: 8px 8px 0 0;
  font-weight: 900;
}

.admin-settings-tabs .nav-link.active {
  color: #0f172a;
}

.admin-settings-content {
  padding: 1.25rem;
}

.admin-settings-actions {
  padding: 1rem 1.25rem;
  text-align: right;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.note-editor .note-fontsize .dropdown-menu {
  max-height: 260px;
  overflow-y: auto;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.admin-card-head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 900;
}

.admin-card-head p {
  margin: .2rem 0 0;
  color: #64748b;
  font-size: .9rem;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: 2.1rem;
}

.admin-check .form-check-input {
  margin: 0;
}

.admin-repeat-fields {
  display: grid;
  gap: .5rem;
}

.admin-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
}

.admin-link-builder {
  display: grid;
  gap: .55rem;
}

.admin-social-builder {
  display: grid;
  gap: .55rem;
}

.admin-link-row {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(220px, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .55rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-social-row {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(260px, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .55rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.social-links a:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .22);
}

.social-links span {
  width: 100%;
  height: 100%;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.social-links b {
  font: inherit;
  font-weight: 700;
}

.site-footer .social-links a {
  display: inline-flex;
  margin-bottom: 0;
}

.social-icon-facebook {
  background: #1877f2 !important;
}

.social-icon-x {
  background: #111827 !important;
}

.social-icon-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af) !important;
}

.social-icon-youtube {
  background: #ff0033 !important;
}

.social-icon-tiktok {
  background: linear-gradient(135deg, #111827 0 58%, #25f4ee 58% 72%, #fe2c55 72%) !important;
}

.social-icon-linkedin {
  background: #0a66c2 !important;
}

.social-icon-whatsapp {
  background: #25d366 !important;
}

.social-icon-telegram {
  background: #229ed9 !important;
}

.social-icon-website {
  background: linear-gradient(135deg, var(--primary), #111827) !important;
}

.top-strip .social-links a {
  width: 30px;
  height: 30px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
}

.site-footer .social-links {
  margin-top: .85rem;
}

.site-footer .social-links a {
  width: 36px;
  height: 36px;
}

.admin-color-picker {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
}

.admin-color-picker .form-control-color {
  width: 58px;
  height: 38px;
  padding: .25rem;
}

.admin-list {
  display: grid;
  gap: .65rem;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-thumb {
  width: 58px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  color: #64748b;
  font-weight: 900;
}

.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-list-item strong,
.admin-list-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-list-item strong {
  color: #0f172a;
  font-weight: 900;
}

.admin-list-item small {
  color: #64748b;
}

.admin-list-actions {
  display: inline-flex;
  gap: .35rem;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .8rem;
}

.admin-media-tile {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.admin-media-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-media-tile div {
  display: grid;
  gap: .55rem;
  padding: .75rem;
}

.admin-media-tile strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
}

.comments-widget {
  margin: 1.5rem 0 3rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.comments-head span {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comments-head h2 {
  margin: .15rem 0 0;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 900;
}

.comments-head strong {
  color: #64748b;
  font-size: .9rem;
}

.comment-form {
  padding: 1rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
}

.comment-message {
  color: #64748b;
  font-weight: 800;
}

.site-notice {
  position: fixed;
  z-index: 3000;
  left: 50%;
  top: 50%;
  width: min(420px, calc(100vw - 2rem));
  transform: translate(-50%, -44%) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.site-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.site-notice > div {
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .26);
  text-align: center;
}

.site-notice strong {
  display: block;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
}

.site-notice p {
  margin: .35rem 0 0;
  color: #475569;
  font-weight: 700;
}

.site-notice.is-success > div {
  border-top: 4px solid #16a34a;
}

.site-notice.is-error > div {
  border-top: 4px solid #dc2626;
}

.comment-list,
.admin-comment-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.comment-item,
.admin-comment-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .75rem;
  padding: .85rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fff;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #111827);
  color: #fff;
  font-weight: 900;
}

.comment-meta,
.admin-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  align-items: center;
  margin-bottom: .35rem;
}

.comment-meta strong,
.admin-comment-meta strong {
  color: #111827;
  font-weight: 900;
}

.comment-meta span,
.admin-comment-meta span,
.admin-comment-item small {
  color: #64748b;
  font-size: .86rem;
  font-weight: 700;
}

.comment-item p,
.admin-comment-item p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.comment-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 1rem;
  color: #64748b;
  background: #f8fafc;
  font-weight: 800;
}

.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}

.admin-filter-tabs a {
  border: 1px solid #dbe6f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: .48rem .8rem;
  font-weight: 900;
}

.admin-filter-tabs a.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.admin-comment-item {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
}

.admin-comment-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
}

.admin-comment-technical {
  margin-top: .65rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-comment-technical summary {
  cursor: pointer;
  padding: .55rem .7rem;
  color: #334155;
  font-weight: 900;
}

.admin-comment-technical dl {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0 .7rem .7rem;
}

.admin-comment-technical dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
}

.admin-comment-technical dt {
  color: #64748b;
  font-size: .82rem;
}

.admin-comment-technical dd {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  font-size: .82rem;
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .news-detail-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .news-detail-meta-row {
    align-items: flex-start;
  }

  .news-share-actions {
    width: 100%;
  }

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

  .admin-page-head,
  .admin-card-head {
    display: grid;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .admin-list-actions {
    grid-column: 1 / -1;
  }

  .admin-link-row {
    grid-template-columns: 1fr;
  }

  .admin-social-row {
    grid-template-columns: 1fr;
  }

  .admin-comment-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .admin-comment-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-comment-technical dl div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}

.story-rank {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: .85rem;
  align-items: center;
  padding: .98rem 0;
  border-bottom: 1px solid var(--line);
}

.story-rank span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #111827);
  color: #fff;
  font-weight: 800;
}

.story-rank a {
  font-weight: 900;
  line-height: 1.28;
}

.author-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.author-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.author-card img,
.author-profile img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.author-card strong {
  display: block;
  font-weight: 900;
  font-size: 1.05rem;
}

.author-card span {
  color: var(--primary);
  font-weight: 800;
  font-size: .85rem;
}

.author-card p {
  color: var(--muted);
  margin: .25rem 0 0;
  font-size: .9rem;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-profile img {
  width: 118px;
  height: 118px;
}

.author-profile h1 {
  font-weight: 900;
  margin: 0 0 .35rem;
}

.author-profile-detail {
  box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
  position: relative;
  z-index: 1;
}

.author-profile-detail img {
  width: 132px;
  height: 132px;
}

.author-kicker {
  display: inline-flex;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
}

.author-meta strong,
.author-meta a {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #f1f5f9;
  color: #1f2937;
  padding: .48rem .7rem;
  font-size: .88rem;
  font-weight: 800;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.pagination-wrap .pagination {
  flex-wrap: wrap;
  gap: .45rem;
}

.pagination-wrap .page-link {
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 7px;
  color: #1f2937;
  min-width: 42px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.pagination-wrap .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-wrap .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
}

.admin-shell {
  min-height: 100vh;
  background: #f3f6fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100vh;
  background: #0b1220;
  border-right: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 18px 0 48px rgba(15, 23, 42, .12);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .35rem .25rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.admin-brand > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #dc2626;
  font-weight: 900;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #fff;
  line-height: 1.15;
}

.admin-brand small {
  color: #94a3b8;
  font-size: .78rem;
}

.admin-sidebar-nav {
  display: grid;
  gap: .28rem;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #cbd5e1;
  min-height: 42px;
  padding: .55rem .65rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.admin-sidebar a:hover {
  transform: translateX(2px);
}

.admin-sidebar a.active {
  box-shadow: inset 3px 0 0 #dc2626;
}

.admin-nav-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  color: #e2e8f0;
  background: rgba(148, 163, 184, .16);
}

.admin-nav-svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-sidebar a:hover .admin-nav-icon,
.admin-sidebar a.active .admin-nav-icon {
  color: #fff;
  background: rgba(220, 38, 38, .32);
}

.admin-nav-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav-count {
  min-width: 30px;
  padding: .12rem .45rem;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(148, 163, 184, .18);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}

.admin-logout {
  margin-top: auto;
  color: #fecaca !important;
}

.admin-main {
  padding: 2rem;
}

.admin-dashboard-head {
  align-items: center;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}

.admin-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}

.admin-stat-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: currentColor;
  opacity: .1;
}

.admin-stat-card span,
.admin-stat-card small {
  display: block;
  color: #64748b;
  font-size: .82rem;
}

.admin-stat-card strong {
  display: block;
  margin: .35rem 0 .1rem;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.admin-stat-card.is-blue { color: #2563eb; }
.admin-stat-card.is-green { color: #16a34a; }
.admin-stat-card.is-amber { color: #f59e0b; }
.admin-stat-card.is-red { color: #dc2626; }
.admin-stat-card.is-violet { color: #7c3aed; }
.admin-stat-card.is-slate { color: #475569; }

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-dashboard-grid-secondary {
  grid-template-columns: minmax(260px, .9fr) minmax(220px, .65fr) minmax(280px, .95fr) minmax(340px, 1.35fr);
}

.admin-chart-card canvas {
  max-height: 330px;
}

.admin-status-list,
.admin-counter-list,
.admin-rank-list,
.admin-recent-list {
  display: grid;
  gap: .65rem;
}

.admin-status-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-status-list div,
.admin-counter-list p,
.admin-rank-list div,
.admin-recent-list div {
  padding: .78rem;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-counter-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
}

.admin-status-list span,
.admin-counter-list span,
.admin-rank-list small,
.admin-recent-list span {
  display: block;
  color: #64748b;
  font-size: .82rem;
}

.admin-counter-list strong {
  color: #0f172a;
  font-weight: 900;
}

.admin-status-list strong {
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 900;
}

.admin-rank-list div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
}

.admin-rank-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}

.admin-rank-list strong,
.admin-recent-list strong {
  min-width: 0;
  overflow: hidden;
  color: #0f172a;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-card {
  padding: 0;
  overflow: hidden;
}

.admin-table-card .admin-card-head {
  padding: 1rem 1rem .85rem;
  margin-bottom: 0;
}

.admin-table-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(150px, .35fr));
  gap: .7rem;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.admin-ajax-table {
  margin-bottom: 0;
}

.admin-ajax-table thead th {
  color: #475569;
  background: #f8fafc;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-ajax-table tbody td {
  border-color: #edf2f7;
}

.admin-table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  font-size: .88rem;
}

.admin-ajax-pages {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 1rem 1rem;
  background: #fff;
}

.admin-ajax-pages button {
  min-width: 38px;
  height: 36px;
  padding: 0 .75rem;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #334155;
  background: #fff;
  font-weight: 800;
}

.admin-ajax-pages button:hover:not(:disabled),
.admin-ajax-pages button.is-active {
  color: #fff;
  border-color: #dc2626;
  background: #dc2626;
}

.admin-ajax-pages button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.sortable-row {
  cursor: grab;
}

@media (max-width: 1100px) {
  .sports-combo-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-grid,
  .admin-dashboard-grid,
  .admin-dashboard-grid-secondary,
  .admin-table-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-stat-grid,
  .admin-dashboard-grid,
  .admin-dashboard-grid-secondary,
  .admin-table-filters,
  .admin-status-list {
    grid-template-columns: 1fr;
  }

  .admin-table-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-head {
    align-items: flex-start;
  }

  .admin-rank-list div {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .admin-rank-list small {
    grid-column: 2;
  }

  .post-video-widgets {
    grid-template-columns: 1fr;
  }

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

  .fixture-teams span:first-child {
    text-align: left;
  }

  .info-tabs-widget {
    max-width: none;
  }

  .info-card {
    padding: .85rem;
  }

  .info-card-title {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
  }

  .source-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .standings-mini-head,
  .standings-mini-row {
    grid-template-columns: 34px minmax(0, 1fr) 42px 42px;
    padding: 0 .55rem;
  }

  .pharmacy-tab-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .duty-pharmacy-section {
    padding: 1rem;
  }

  .duty-pharmacy-head {
    flex-direction: column;
  }

  .duty-district-grid {
    grid-template-columns: 1fr;
  }

  .breaking-panel {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .6rem;
    padding: .45rem;
  }

  .breaking-label {
    padding: .52rem .68rem;
    font-size: .82rem;
  }

  .breaking-label span {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(255,255,255,.18);
  }

  .breaking-news-list {
    flex-direction: row;
    width: max-content;
    animation: breakingTicker 24s linear infinite;
  }

  .breaking-news-list a {
    min-width: 245px;
    max-width: 245px;
    padding: .52rem .62rem;
    background: transparent;
    border-color: transparent;
  }

  .breaking-news-list strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .breaking-all {
    display: none;
  }

  .headline-layout { grid-template-columns: 1fr; }
  .instant-slides,
  .headline-slide,
  .headline-slide img { height: 432px; }
  .headline-caption { padding: 1.25rem 1.25rem 4rem; }
  .headline-caption h1 { font-size: 1.9rem; }
  .headline-kicker { font-size: 1rem; }
  .slider-number-nav button { min-width: 36px; height: 42px; }
  .author-strip { grid-template-columns: 1fr; }
  .author-profile { align-items: flex-start; flex-direction: column; }
  .horizontal-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .horizontal-card .card-media { height: auto; }
  .horizontal-card img { aspect-ratio: 16 / 9; }
  .photo-thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-lightbox { padding: 4.5rem 1rem 2rem; }
  .lightbox-nav { width: 42px; height: 58px; font-size: 2.4rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .photo-lightbox figcaption { align-items: flex-start; flex-direction: column; gap: .6rem; }
}
