:root {
  --toa-primary: #c41e3a;
  --toa-dark: #141418;
  --toa-muted: #5c5c66;
  --toa-bg: #f3f4f6;
  --toa-card: #ffffff;
  --toa-border: #e4e6ea;
  --toa-radius: 12px;
  --toa-shadow: 0 8px 24px rgba(20, 20, 24, 0.06);
  --header-offset: 60px;
  --page-gutter: 1rem;
  --font-sans: "Noto Sans Tamil", "Segoe UI", Tahoma, sans-serif;
  --font-serif: "Noto Serif Tamil", Georgia, serif;
  --toa-header-bg: rgba(255,255,255,0.96);
}

html[data-theme="dark"] {
  --toa-dark: #f3f4f6;
  --toa-muted: #a1a1aa;
  --toa-bg: #0c0c0f;
  --toa-card: #17171c;
  --toa-border: #2a2a32;
  --toa-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --toa-header-bg: rgba(18, 18, 22, 0.96);
}

* { box-sizing: border-box; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(196, 30, 58, 0.06), transparent 60%),
    var(--toa-bg);
  color: var(--toa-dark);
  line-height: 1.65;
}
a { color: var(--toa-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}
h1, h2, .hero-main h2, .article-header h1, .section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

/* Header */
.site-date-strip {
  position: relative;
  z-index: 0;
  border-top: 1px solid var(--toa-border);
  background: var(--toa-bg);
}
.site-date-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.45rem 0.65rem;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
  font-size: 0.74rem;
  line-height: 1;
  color: var(--toa-primary);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
}
.site-date-strip__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  line-height: 1;
  vertical-align: middle;
}
.site-date-strip__item > span {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}
.site-date-strip__ico {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  opacity: 0.95;
}
.site-date-strip__sep {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  opacity: 0.55;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--toa-bg);
  border-bottom: 1px solid var(--toa-border);
  box-shadow: 0 1px 0 rgba(196, 30, 58, 0.35);
  transition: box-shadow .2s ease;
  overflow: visible;
}
.header-bar-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  background: var(--toa-header-bg);
  overflow: visible;
}
.header-bar-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--toa-header-bg);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.site-header .search-panel {
  background: var(--toa-header-bg);
}
.site-header.is-stuck { box-shadow: var(--toa-shadow); }
.header-bar {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 60px;
  padding: .4rem 0;
  position: relative;
  background: transparent;
}
.nav-panel-slot {
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
  overflow: visible;
}
.brand-block { min-width: 0; flex: 0 1 auto; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--toa-primary);
  letter-spacing: -0.02em;
}
.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
html[data-theme="dark"] .brand-logo[data-logo-bw=""],
html[data-theme="dark"] .brand-logo:not([data-logo-bw]),
html[data-theme="dark"] .brand-logo[data-same-src="1"] {
  filter: grayscale(1) brightness(1.35) contrast(1.05);
}
.header-theme {
  order: 3;
  flex-shrink: 0;
  margin-left: .35rem;
}
.nav-icon-btn,
.search-toggle,
.theme-toggle,
.nav-more-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border: 1px solid var(--toa-border);
  border-radius: 8px;
  background: var(--toa-card, #fff);
}
.nav-icon-btn:hover,
.search-toggle:hover,
.theme-toggle:hover,
.nav-more-btn:hover {
  background: #fff0f2;
  border-color: rgba(196, 30, 58, 0.35);
  color: var(--toa-primary);
}
.nav-more-btn .nav-more-label { display: none; }
html[data-theme="dark"] .nav-icon-btn,
html[data-theme="dark"] .search-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-more-btn {
  background: var(--toa-card);
  border-color: var(--toa-border);
}
html[data-theme="dark"] .header-theme {
  background: var(--toa-card);
  border-color: var(--toa-border);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
  overflow: visible;
}
.nav-backdrop {
  display: none;
}
body.nav-open .nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.45);
  border: 0;
  padding: 0;
  opacity: 1;
}
.brand-block { order: 1; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .2rem;
  overflow: visible;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--toa-dark);
  font-size: .86rem;
  font-weight: 600;
  padding: .45rem .65rem;
  border-radius: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.nav-link:hover {
  background: #fff0f2;
  color: var(--toa-primary);
  text-decoration: none;
}
.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: #fff0f2;
  color: var(--toa-primary);
}
.nav-parent-btn.is-active {
  background: #fff0f2;
  color: var(--toa-primary);
}
html[data-theme="dark"] .nav-link.is-active,
html[data-theme="dark"] .nav-link[aria-current="page"],
html[data-theme="dark"] .nav-parent-btn.is-active {
  background: rgba(196, 30, 58, 0.18);
  color: #ff8a9a;
}
.nav-link.nav-admin {
  background: var(--toa-primary);
  color: #fff;
}
.nav-link.nav-admin:hover { filter: brightness(1.05); color: #fff; }
.nav-ico { flex-shrink: 0; }

.nav-more { position: relative; }
.nav-more::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 10px;
}
.nav-more-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  box-shadow: var(--toa-shadow);
  padding: .4rem;
  flex-direction: column;
  gap: .15rem;
  z-index: 300;
}
.nav-more-menu.is-open,
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
  display: flex;
}
.nav-mobile-search { display: none; }
html[data-theme="dark"] .nav-more-menu { background: var(--toa-card); }
.nav-more-menu .nav-link { width: 100%; justify-content: flex-start; }
.nav-more-mobile { display: none; }
.nav-more-mobile summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .7rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-more-mobile summary::-webkit-details-marker { display: none; }
.nav-more-mobile-list { display: flex; flex-direction: column; padding: 0 .4rem .5rem; }

.search-toggle .search-toggle-label { display: none; }
.search-toggle .nav-ico,
.theme-toggle .nav-ico,
.nav-more-btn .nav-ico {
  width: 18px;
  height: 18px;
}
.search-panel {
  display: none;
  border-top: 1px solid var(--toa-border);
  background: #fff;
  padding: .75rem 0 1rem;
}
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: .35rem; }
.search-form--panel { width: 100%; max-width: 640px; margin: 0 auto; }
.search-form input {
  padding: .55rem .8rem;
  border: 1px solid var(--toa-border);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  font: inherit;
  background: #fff;
}
.search-form button, .btn {
  background: var(--toa-primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: .5rem .9rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--toa-border);
  border-radius: 10px;
  background: var(--toa-card, #fff);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--toa-dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-more-mobile summary.is-active {
  background: #fff0f2;
  color: var(--toa-primary);
}

.site-main { padding: 1.5rem 0 2.8rem; }
.flash { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.flash-success { background: #e8f8ef; color: #146c43; }
.flash-error { background: #fde8e8; color: #b42318; }

.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

/* Hero slider — full-bleed image + progress above title */
.hero-slider {
  position: relative;
  margin: 0 0 1.5rem;
  border-radius: var(--toa-radius);
  overflow: hidden;
  border: 1px solid var(--toa-border);
  box-shadow: var(--toa-shadow);
  background: var(--toa-card);
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
}
.hero-slide.is-active { display: block; }
.hero-slide.is-active .hero-slide-media img {
  animation: heroKen 5s ease-out forwards;
}
.hero-slide-caption.is-animating {
  animation: heroCaptionIn .45s ease both;
}
@keyframes heroKen {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
@keyframes heroCaptionIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero-slide-caption h2 {
  margin: .35rem 0 .4rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--toa-dark);
  font-family: var(--font-serif);
}
.hero-progress {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  height: 3px;
  margin: 0 0 .65rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(196, 30, 58, 0.18);
  pointer-events: none;
}
html[data-theme="dark"] .hero-progress { background: rgba(255,255,255,0.15); }
.hero-slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hero-slide-link:hover { text-decoration: none; }
.hero-slide-link:hover .hero-slide-caption h2 { color: var(--toa-primary); }
.hero-slide-media {
  position: relative;
  background: #1a1a1e;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}
.hero-slide img, .hero-ph {
  width: 100%;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
  background: #333;
  display: block;
}
.hero-slide-caption {
  padding: .85rem 1.1rem 1.15rem;
  background: var(--toa-card);
}
.hero-slide-caption time {
  color: var(--toa-muted);
  font-size: .88rem;
}
.hero-progress > span,
.hero-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--toa-primary);
  transform-origin: left center;
}
.hero-progress > span.is-running,
.hero-progress-bar.is-running {
  animation: heroProgressFill 5s linear forwards;
}
@keyframes heroProgressFill {
  from { width: 0; }
  to { width: 100%; }
}
.hero-nav {
  position: absolute;
  top: calc(clamp(220px, 42vw, 420px) / 2);
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}
.hero-prev { left: .7rem; }
.hero-next { right: .7rem; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(220px, 42vw, 420px) - 1.6rem);
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: .4rem;
  pointer-events: none;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  pointer-events: auto;
}
.hero-dot.is-active { background: #fff; }
.hero-main, .hero-side .post-card {
  background: var(--toa-card);
  border-radius: var(--toa-radius);
  overflow: hidden;
  box-shadow: var(--toa-shadow);
  border: 1px solid var(--toa-border);
}
.hero-main { position: relative; min-height: 340px; }
.hero-main img { width: 100%; height: 340px; object-fit: cover; }
.hero-main .overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff;
}
.hero-main .overlay a { color: #fff; }
.hero-main .overlay h2 { margin: .35rem 0; font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
.hero-side { display: grid; gap: .8rem; }

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.35rem;
  align-items: start;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--toa-primary);
}
.section-title {
  font-size: 1.25rem;
  margin: 0;
  padding-bottom: .35rem;
  border-bottom: 0;
  display: inline-block;
}
.section-title a { color: var(--toa-dark); }
.section-more {
  font-size: .88rem;
  font-weight: 650;
  white-space: nowrap;
  color: var(--toa-primary);
  text-decoration: none;
}
.section-more:hover { text-decoration: underline; }
.section-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .85rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--toa-border);
  background: var(--toa-card);
  color: var(--toa-primary);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.section-more-btn:hover {
  border-color: var(--toa-primary);
  text-decoration: none;
  background: rgba(196, 30, 58, 0.06);
}
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.post-grid--magazine .post-card--lead {
  grid-column: span 2;
}
.post-grid--magazine .post-card--lead .post-card-media img,
.post-grid--magazine .post-card--lead .thumb-placeholder {
  height: 280px;
}
.post-grid--magazine .post-card--lead h3 { font-size: 1.25rem; }
.post-card {
  background: var(--toa-card);
  border-radius: var(--toa-radius);
  overflow: hidden;
  box-shadow: var(--toa-shadow);
  border: 1px solid var(--toa-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,20,24,.1); }
.post-card-media { display: block; overflow: hidden; }
.post-card-media img, .thumb-placeholder {
  width: 100%; height: 180px; object-fit: cover; background: #e8e8ec;
  transition: transform .35s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: .9rem 1rem 1.05rem; }
.post-card-body h3 { margin: .35rem 0; font-size: 1.02rem; line-height: 1.4; font-family: var(--font-serif); }
.post-card-body h3 a { color: var(--toa-dark); }
.post-card-body time, .muted { color: var(--toa-muted); font-size: .84rem; }

.latest-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
}
.latest-strip-label {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--toa-primary);
  padding-top: .2rem;
}
.latest-strip-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55rem;
}
.latest-strip-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .65rem;
  align-items: baseline;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--toa-border);
}
.latest-strip-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-num {
  font-weight: 800; color: var(--toa-primary); font-size: .9rem; min-width: 1.1rem;
}
.latest-strip-list a {
  color: var(--toa-dark); font-weight: 650; text-decoration: none; line-height: 1.35;
}
.latest-strip-list a:hover { color: var(--toa-primary); }
.latest-strip-list time { color: var(--toa-muted); font-size: .8rem; }
.badge {
  display: inline-block;
  background: #ffe8ec;
  color: var(--toa-primary);
  font-size: .72rem;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 999px;
}

.category-block { margin: 1.6rem 0; }
.sidebar.home-sidebar,
.sidebar.article-sidebar {
  position: sticky;
  top: calc(var(--header-offset, 72px) + 1rem);
}
.sidebar .widget {
  background: var(--toa-card);
  border-radius: var(--toa-radius);
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
  box-shadow: var(--toa-shadow);
  border: 1px solid var(--toa-border);
}
.sidebar .widget h3 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-family: var(--font-serif);
  border-bottom: 2px solid var(--toa-primary);
  padding-bottom: .35rem;
  display: inline-block;
}
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--toa-border);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { color: var(--toa-dark); font-weight: 600; font-size: .92rem; }
.sidebar li a:hover { color: var(--toa-primary); }

.article-header { margin-bottom: 1rem; }
.article-header h1 { margin: .4rem 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  color: var(--toa-muted);
  margin-bottom: 1rem;
  font-size: .92rem;
}
.article-meta .meta-author,
.article-meta .meta-date {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.article-meta .meta-author { font-weight: 600; color: var(--toa-dark); }
.article-meta .meta-ico {
  flex-shrink: 0;
  color: var(--toa-primary);
}
.article-meta time { white-space: nowrap; }
.article-meta .meta-views {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
@media (max-width: 700px) {
  .article-meta {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }
}
.lead-image {
  border-radius: var(--toa-radius);
  overflow: hidden;
  margin: 0 0 1.2rem;
  border: 1px solid var(--toa-border);
  background: var(--toa-card);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.lead-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  vertical-align: middle;
}
body.single-article .layout-split > article {
  min-width: 0;
}
body.single-article .lead-image {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
body.single-article .lead-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
body.single-article .home-feature-strip {
  margin: 0 0 1.1rem;
}
.article-views {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.1rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid var(--toa-border);
}
.article-views-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--toa-border);
  border-radius: 999px;
  background: var(--toa-card);
  color: var(--toa-primary);
  cursor: pointer;
  padding: 0;
}
.article-views-btn[aria-expanded="true"] {
  background: #fff0f2;
  border-color: var(--toa-primary);
}
.article-views-count {
  font-size: .92rem;
  color: var(--toa-muted);
  font-weight: 600;
}
.article-views-count[hidden] { display: none !important; }
.article-body {
  background: var(--toa-card);
  color: var(--toa-dark);
  padding: 1.4rem;
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
  border: 1px solid var(--toa-border);
  font-size: 1.05rem;
}
.article-body p { margin: 0 0 1rem; }
.article-body,
.article-body p,
.article-body li,
.article-body td,
.article-body span,
.article-body div {
  color: var(--toa-dark);
}
.copy-protected .article-body { user-select: none; -webkit-user-select: none; }

.article-reactions {
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
}
.article-reactions-title {
  margin: 0 0 .2rem;
  font-size: 1.05rem;
}
.article-reactions-hint {
  margin: 0 0 .75rem;
  font-size: .85rem;
}
.article-reactions-row {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  align-items: stretch;
  justify-content: center;
}
.article-reaction-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .55rem .35rem .5rem;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  background: var(--toa-bg);
  color: var(--toa-dark);
  cursor: pointer;
  font: inherit;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.article-reaction-btn:hover {
  border-color: rgba(196, 30, 58, 0.4);
  transform: translateY(-1px);
}
.article-reaction-btn.is-selected {
  border-color: var(--toa-primary);
  background: rgba(196, 30, 58, 0.08);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.2);
}
.article-reaction-emoji {
  font-size: 1.45rem;
  line-height: 1;
}
.article-reaction-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--toa-muted);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.article-reaction-btn.is-selected .article-reaction-label {
  color: var(--toa-primary);
}
.article-reaction-count {
  font-size: .8rem;
  font-weight: 800;
  color: var(--toa-dark);
  min-height: 1.1em;
}

.comments {
  margin-top: 1.5rem;
  background: var(--toa-card);
  color: var(--toa-dark);
  padding: 1.2rem;
  border-radius: var(--toa-radius);
  border: 1px solid var(--toa-border);
}
.comment { border-bottom: 1px solid var(--toa-border); padding: .8rem 0; }
.comment:last-child { border-bottom: 0; }

.ad-slot { margin: 1rem 0; text-align: center; }
.ad-slot--adsense {
  max-width: 100%;
  overflow: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
}
.page-home .ad-slot,
body.single-article .ad-slot {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.ad-slot--adsense iframe,
.ad-slot--adsense ins,
.ad-slot--adsense .adsbygoogle {
  max-width: 100% !important;
  box-sizing: border-box;
}
.ad-banner img { margin: 0 auto; max-height: 250px; width: auto; border-radius: 8px; }
.ad-slot--article_sidebar .ad-banner,
.ad-slot--home_sidebar .ad-banner { display: block; }
.ad-slot--article_sidebar .ad-banner img,
.ad-slot--home_sidebar .ad-banner img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
}
.ad-slot--article_after_content {
  margin: 1.5rem 0 1.75rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--toa-border);
  border-radius: 10px;
}
.ad-slot--article_after_content::before {
  content: "Ad";
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--toa-muted);
  margin-bottom: .55rem;
}
.ad-slot--article_after_content .ad-banner img {
  max-height: none;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
html[data-theme="dark"] .ad-slot--article_after_content {
  background: rgba(255, 255, 255, 0.04);
}

.pagination { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.pagination a, .pagination span {
  padding: .4rem .75rem; background: #fff; border-radius: 8px; border: 1px solid var(--toa-border);
}
.pagination .current { background: var(--toa-primary); color: #fff; border-color: var(--toa-primary); }

.site-footer { background: var(--toa-dark); color: #c9c9d1; margin-top: 1rem; }
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.05fr;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
}
.footer-grid--5 { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.05fr; }
.footer-col h3 {
  margin: 0 0 .8rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.footer-logo { max-height: 52px; width: auto; margin-bottom: .75rem; border-radius: 0; display: block; }
.footer-about { margin: 0; font-size: .92rem; line-height: 1.55; color: #b8b8c2; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 .45rem; }
.footer-links a { color: #ddd; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.social-icons {
  list-style: none; margin: 0 0 .9rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.social-icons .muted { color: #999; font-size: .85rem; }
.social-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; color: #fff !important;
  text-decoration: none !important; transition: transform .15s ease, opacity .15s ease;
  opacity: .92;
}
.social-ico:hover { transform: translateY(-1px); opacity: 1; }
.social-facebook { background: #1877f2; }
.social-youtube { background: #cd201f; }
.social-instagram { background: #c13584; }
.social-x { background: #1a1a1a; }
.social-whatsapp { background: #25d366; }
.footer-contact { margin-top: .35rem; }
.footer-ad-cta { margin-top: .75rem !important; list-style: none; }
.footer-ad-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border-radius: 8px;
  background: var(--toa-primary) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none !important;
  border: 0;
}
.footer-ad-btn:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.share-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: .55rem;
  align-items: center;
  margin: .85rem 0 1.1rem;
  padding: .5rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: static;
  transform: none;
}
.share-bar-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 1 1 80%;
  min-width: 0;
}
.share-emergency {
  flex: 0 0 auto;
  max-width: 20%;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: var(--toa-primary);
  padding: .55rem .55rem;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.share-emergency:hover { filter: brightness(1.05); color: #fff; text-decoration: none; }
.share-bar-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--toa-muted);
  margin-right: .15rem;
}
.share-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; text-decoration: none; background: #475569;
  opacity: .95; transition: opacity .15s ease, transform .15s ease;
}
.share-btn:hover { opacity: 1; transform: translateY(-1px); }
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-x { background: #1a1a1a; }
.share-copy, .share-more { background: var(--toa-primary); color: #fff; }
body.single-article { padding-bottom: 0; }

.footer-fx { display: flex; flex-direction: column; gap: .45rem; max-width: 260px; }
.footer-tagline {
  margin: .35rem 0 .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}
.footer-fx-pair {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-fx-swap {
  display: none;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.footer-fx-label { font-size: .72rem; color: #9a9aa6; letter-spacing: .02em; }
.footer-fx-input, .footer-fx-select {
  width: 100%; padding: .4rem .55rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1);
  color: #fff; font: inherit; font-size: .9rem;
}
.footer-fx-select option {
  background: #1a1a1e;
  color: #fff;
}
html:not([data-theme="dark"]) .site-footer .footer-fx-select option {
  background: #1a1a1e;
  color: #fff;
}
.footer-fx-result { margin: .25rem 0 0; font-size: .9rem; color: #e8e8ee; line-height: 1.4; }

.scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--toa-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover { transform: translateY(-2px); }
.scroll-top[hidden] { display: none !important; }

.pwa-install-hint {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .65rem;
  width: min(360px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--toa-card, #fff);
  color: var(--toa-text, #1a1a1a);
  border: 1px solid var(--toa-border, #e2e2e8);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}
.pwa-install-hint__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
  text-align: center;
}
.pwa-install-hint__actions {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: .5rem;
}
.pwa-install-hint__btn,
.pwa-install-hint__dismiss {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: .55rem .75rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.pwa-install-hint__btn {
  background: var(--toa-primary, #c41e3a);
  color: #fff;
}
.pwa-install-hint__dismiss {
  background: transparent;
  color: var(--toa-muted, #666);
  border: 1px solid var(--toa-border, #e2e2e8);
}
.pwa-install-hint--ios {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
.pwa-install-hint--ios .pwa-install-hint__actions {
  justify-content: center;
}
.pwa-install-hint--ios .pwa-install-hint__dismiss {
  flex: 0 1 auto;
  min-width: 7rem;
}

.footer-visits {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .65rem;
  color: #c8c8d0;
  font-size: .88rem;
  list-style: none;
}
.footer-visits__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: footer-live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes footer-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-visits__dot { animation: none; }
}
.footer-visits__label { color: #c8c8d0; font-weight: 600; }
.footer-visits__count {
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.quick-fab {
  position: fixed;
  left: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.quick-fab__toggle {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--toa-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.35);
  transition: box-shadow .15s ease;
  position: relative;
  z-index: 2;
}
.quick-fab__toggle:hover {
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.45);
}
.quick-fab__close { display: none; }
.quick-fab.is-open .quick-fab__plus { display: none; }
.quick-fab.is-open .quick-fab__close { display: block; }
.quick-fab__menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.55rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  z-index: 1;
}
.quick-fab__menu[hidden] { display: none !important; }
.quick-fab__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem .55rem .55rem;
  border-radius: 999px;
  background: var(--toa-card, #fff);
  color: var(--toa-text, #1a1a1a) !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: .86rem;
  border: 1px solid var(--toa-border, #e2e2e8);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  white-space: nowrap;
}
.quick-fab__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  color: var(--toa-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.single-article .quick-fab {
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.advertise-page { max-width: 640px; margin: 0 auto 2rem; }
.advertise-hero {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.1rem;
  border-radius: var(--toa-radius);
  background:
    linear-gradient(145deg, rgba(196, 30, 58, 0.12), transparent 55%),
    var(--toa-card);
  border: 1px solid var(--toa-border);
  box-shadow: var(--toa-shadow);
}
.advertise-kicker {
  margin: 0 0 .4rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--toa-primary);
}
.advertise-hero h1 { margin: 0 0 .65rem; font-family: var(--font-serif); }
.advertise-lead-en, .advertise-lead-ta {
  margin: 0 0 .55rem;
  line-height: 1.55;
  color: var(--toa-dark);
}
.advertise-lead-ta { color: var(--toa-muted); }
.advertise-success {
  padding: 1.25rem;
  border-radius: var(--toa-radius);
  border: 1px solid var(--toa-border);
  background: var(--toa-card);
  text-align: center;
}
.advertise-wa-btn { background: #25d366 !important; }
.advertise-permanent .toa-toggle { margin-top: .25rem; }
.advertise-form {
  display: grid;
  gap: .85rem;
  padding: 1.1rem;
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  background: var(--toa-card);
  box-shadow: var(--toa-shadow);
}
.advertise-form .form-group label { display: block; font-weight: 600; margin-bottom: .3rem; }
.advertise-form input,
.advertise-form select,
.advertise-form textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--toa-border);
  border-radius: 8px;
  font: inherit;
  background: var(--toa-card);
  color: var(--toa-dark);
}
.toa-toggle {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}
.toa-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.toa-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background .2s ease;
  flex-shrink: 0;
}
.toa-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.toa-toggle input:checked + .toa-toggle-track {
  background: var(--toa-primary);
}
.toa-toggle input:checked + .toa-toggle-track::after {
  transform: translateX(20px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide-media img,
  .hero-slide-caption.is-animating,
  .post-card, .post-card-media img { animation: none !important; transition: none !important; }
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .9rem 0;
  font-size: .88rem;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.footer-bottom-inner--center {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  gap: 1rem;
}
.footer-bottom-inner--center .footer-utils {
  justify-content: flex-end;
}
.footer-bottom p { margin: 0; }
.footer-utils { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; }
@media (max-width: 900px) {
  .footer-bottom-inner--center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: .35rem;
  }
  .footer-bottom-inner--center .footer-utils {
    justify-content: center;
  }
}
.theme-toggle { cursor: pointer; }
html[data-theme="dark"] .theme-ico-sun { display: none; }
html:not([data-theme="dark"]) .theme-ico-moon { display: none; }
html[data-theme="dark"] .site-footer { background: #050507; }
html[data-theme="dark"] .nav-panel.is-open,
html[data-theme="dark"] .search-panel.is-open,
html[data-theme="dark"] .nav-more-menu.is-open { background: var(--toa-card); }

.comment-form {
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--toa-border);
  display: grid; gap: .75rem;
}
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: .25rem; font-size: .9rem; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--toa-border); border-radius: 8px; font: inherit;
}
.read-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-offset, 72px);
  height: 3px;
  z-index: 99;
  background: transparent;
  pointer-events: none;
}
.read-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--toa-primary);
  transform-origin: left center;
  transition: width .05s linear;
}

.auth-wrap {
  max-width: 420px; margin: 3rem auto; background: #fff; padding: 2rem;
  border-radius: 14px; box-shadow: var(--toa-shadow); border: 1px solid var(--toa-border);
}
.auth-wrap h1 { margin-top: 0; font-family: var(--font-serif); }
body.auth-minimal .site-main--minimal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
body.auth-minimal .auth-wrap { margin: 0 auto; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .3rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .6rem .7rem; border: 1px solid var(--toa-border); border-radius: 8px; font: inherit;
}
.form-group--check label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  cursor: pointer;
}
.form-group--check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border-radius: 3px;
}

@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid--magazine .post-card--lead { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid--5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 0.75rem;
  }
  .hero-grid, .layout-split, .post-grid { grid-template-columns: 1fr; }
  .post-grid--magazine .post-card--lead { grid-column: auto; }
  .post-grid { gap: .75rem; }
  .post-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transform: none;
    gap: 0;
    background: var(--toa-card);
    border: 1px solid var(--toa-border);
    border-radius: var(--toa-radius);
    box-shadow: var(--toa-shadow);
    overflow: hidden;
  }
  .post-card:hover { transform: none; box-shadow: var(--toa-shadow); }
  .post-card:hover .post-card-media img { transform: none; }
  .post-card-media {
    flex: 0 0 20%;
    width: 20%;
    max-width: 20%;
    align-self: stretch;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #e8e8ec;
  }
  .post-card-media img,
  .post-card .thumb-placeholder,
  .post-grid--magazine .post-card--lead .post-card-media img,
  .post-grid--magazine .post-card--lead .thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 4.75rem;
    aspect-ratio: 1;
    border-radius: 0;
    object-fit: cover;
    display: block;
  }
  .post-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: center;
    gap: .2rem .45rem;
    padding: .65rem .75rem;
    background: transparent;
  }
  .post-card-body h3 {
    flex: 1 1 100%;
    order: 1;
    margin: 0;
    font-size: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-card-body .badge {
    order: 2;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--toa-muted);
    font-size: .72rem;
    font-weight: 600;
    border-radius: 0;
  }
  .post-card-body .badge::after { content: " ·"; }
  .post-card-body time {
    order: 2;
    margin: 0;
    font-size: .72rem;
  }
  .post-card-body p { display: none; }
  .post-grid--magazine .post-card--lead h3 { font-size: .95rem; }
  .hero-main img, .hero-slide img, .hero-ph { height: 240px; }
  .hero-nav { top: 120px; }
  .hero-dots { top: calc(240px - 1.4rem); }
  .sidebar.home-sidebar,
  .sidebar.article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .latest-strip { grid-template-columns: 1fr; }
  .share-bar {
    position: fixed;
    left: 0; right: 0; top: auto; bottom: 0; transform: none;
    z-index: 60;
    flex-direction: row; flex-wrap: nowrap; justify-content: stretch;
    align-items: stretch;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid var(--toa-border);
    background: var(--toa-card);
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
    gap: .45rem;
  }
  .share-bar-actions { flex: 1 1 80%; justify-content: space-evenly; }
  .share-emergency {
    flex: 0 0 20%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    padding: .35rem .3rem;
    white-space: normal;
  }
  .share-bar-label { display: none; }
  body.single-article { padding-bottom: 4.5rem; }
  body.single-article .scroll-top {
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }
  .comment-form .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; grid-area: menu; justify-self: end; }
  .header-bar {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    grid-template-areas:
      "theme brand menu";
    align-items: center;
    gap: .35rem .5rem;
    min-height: 56px;
  }
  .header-theme {
    order: 0;
    grid-area: theme;
    margin-left: 0;
    justify-self: start;
  }
  .brand-block {
    order: 0;
    grid-area: brand;
    justify-self: center;
    text-align: center;
  }
  .brand-logo {
    height: 40px;
    max-height: 40px;
    max-width: 160px;
    object-position: center;
    margin: 0 auto;
  }
  .nav-panel-slot { display: none; }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.45);
    border: 0;
    padding: 0;
    opacity: 0;
    transition: opacity .28s ease;
  }
  body.nav-open .nav-backdrop {
    display: block;
    opacity: 1;
  }
  .nav-panel {
    order: 0;
    grid-area: auto;
    display: flex;
    position: fixed;
    top: var(--header-offset, 56px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    z-index: 1001;
    background: var(--toa-card);
    border-bottom: 0;
    border-left: 1px solid var(--toa-border);
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.2);
    padding: .5rem .75rem calc(1rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: none;
    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-panel.is-open { display: flex; transform: translateX(0); }
  body.nav-open .site-header { z-index: 1002; }
  .nav-mobile-search {
    display: block;
    margin: 0 0 .55rem;
    padding: 0 0 .65rem;
    border-bottom: 1px solid var(--toa-border);
  }
  .search-form--drawer {
    display: flex;
    gap: .35rem;
    width: 100%;
  }
  .search-form--drawer input {
    flex: 1;
    min-width: 0;
    padding: .55rem .7rem;
    border: 1px solid var(--toa-border);
    border-radius: 8px;
    font: inherit;
    background: var(--toa-bg);
    color: var(--toa-dark);
  }
  .search-toggle--desktop { display: none !important; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .1rem;
    margin: 0;
    padding: 0;
  }
  .nav-link { width: 100%; justify-content: flex-start; padding: .7rem .8rem; border-radius: 10px; }
  .nav-link.is-active,
  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--toa-primary);
  }
  .nav-more { display: none; }
  .nav-more-mobile {
    display: block;
    margin-top: .25rem;
    border-top: 1px solid var(--toa-border);
    padding-top: .25rem;
  }
  .nav-more-mobile summary {
    padding: .7rem .8rem;
    border-radius: 10px;
    border: 0;
    background: transparent;
    width: auto;
    height: auto;
    justify-content: flex-start;
  }
  .nav-more-mobile-list { padding: 0 0 .25rem .35rem; gap: .05rem; }
  .nav-has-children { width: 100%; }
  .nav-has-children .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 .55rem;
    background: transparent;
  }
  .nav-has-children.is-open .nav-sub { display: flex; flex-direction: column; }
  .search-toggle {
    margin-top: .35rem;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: .7rem .8rem;
    border: 1px solid var(--toa-border);
    border-radius: 10px;
  }
  .search-toggle .search-toggle-label { display: inline; margin-left: .35rem; }
  .search-form { width: 100%; }
  .search-form input { flex: 1; min-width: 0; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .header-bar { min-height: 52px; }
  .brand-logo { height: 36px; max-height: 36px; max-width: 140px; }
}

/* 404 */
.not-found {
  text-align: center;
  padding: 2.5rem 1rem 3.5rem;
  max-width: 520px;
  margin: 0 auto;
  color: var(--toa-dark);
}
.not-found-art {
  color: var(--toa-primary);
  margin-bottom: .5rem;
}
.not-found-svg { display: inline-block; max-width: 100%; height: auto; }
.not-found-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: .35rem 0 .5rem;
}
.not-found-msg {
  color: var(--toa-muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.not-found-actions { margin: 0; }
.not-found .btn { display: inline-block; text-decoration: none; }
@keyframes nf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes nf-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.06); }
}
.nf-float { animation: nf-float 4.5s ease-in-out infinite; transform-origin: center; }
.nf-pulse { animation: nf-pulse 2.4s ease-in-out infinite; transform-origin: center; }
.nf-digits { animation: nf-float 5.5s ease-in-out infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .nf-float, .nf-pulse, .nf-digits { animation: none !important; }
}

/* Home UX pack extras */
.section-title { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.section-title a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; }
.section-ico { display: inline-flex; color: var(--toa-primary); }
.section-ico .nav-ico { width: 20px; height: 20px; }
body.single-article .layout-split > article {
  padding-left: 0;
  padding-right: 0;
}
body.single-article .lead-image,
body.single-article .article-body,
body.single-article .ad-slot,
body.single-article .article-sidebar .widget,
body.single-article .comments {
  margin-left: 0;
  margin-right: 0;
}
body.single-article .article-body {
  padding: 1.25rem;
}
body.single-article .sidebar.article-sidebar {
  padding-left: 0;
  padding-right: 0;
}
body.single-article .ad-slot {
  padding-left: 0;
  padding-right: 0;
}
.comment-form-wrap {
  margin-top: 1rem;
  border: 1px solid var(--toa-border);
  border-radius: 10px;
  background: var(--toa-card);
}
.comment-form-wrap > summary {
  cursor: pointer;
  font-weight: 700;
  padding: .85rem 1rem;
  list-style: none;
}
.comment-form-wrap > summary::-webkit-details-marker { display: none; }
.comment-form-wrap[open] > summary { border-bottom: 1px solid var(--toa-border); }
.comment-form-wrap .comment-form {
  margin: 0;
  padding: 1rem;
  border-top: 0;
}
.comment-form input, .comment-form textarea {
  background: var(--toa-card);
  color: var(--toa-dark);
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-quick-mobile { display: none; }
.footer-collapse { display: none; }
.footer-collapse > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  list-style: none;
  padding: .2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.footer-collapse > summary::-webkit-details-marker { display: none; }
.footer-collapse > summary::after,
.nav-chevron {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
  opacity: .85;
}
.footer-collapse[open] > summary::after {
  transform: rotate(225deg);
  margin-top: .25rem;
}
.nav-parent-btn .nav-chevron,
.nav-more-mobile summary .nav-chevron {
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-left: .35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.nav-has-children.is-open > .nav-parent-btn .nav-chevron,
.nav-more-mobile[open] > summary .nav-chevron {
  transform: rotate(225deg);
  margin-top: .2rem;
}
.nav-more-mobile summary {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.gallery-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
}
.gallery-carousel-track {
  position: relative;
  min-height: 220px;
}
.gallery-carousel-slide {
  margin: 0;
  display: none;
}
.gallery-carousel-slide.is-active { display: block; }
.gallery-carousel-slide img {
  width: 100%;
  max-height: 360px;
  min-height: 220px;
  object-fit: cover;
  display: block;
  background: #111;
}
.gallery-carousel-slide figcaption {
  padding: .7rem 1rem .85rem;
}
.gallery-carousel-slide figcaption span {
  display: block;
  font-weight: 700;
}
.gallery-carousel-slide small {
  color: var(--toa-muted);
}
.gallery-carousel-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-carousel-prev { left: .65rem; }
.gallery-carousel-next { right: .65rem; }
.gallery-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .35rem;
  padding: 0 0 .75rem;
}
.gallery-carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #c9c9d1;
  padding: 0;
  cursor: pointer;
}
.gallery-carousel-dot.is-active { background: var(--toa-primary); }
.gallery-strip-item {
  margin: 0;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  overflow: hidden;
}
.gallery-strip-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.gallery-strip-item figcaption {
  padding: .55rem .7rem .7rem;
  font-size: .85rem;
}
.gallery-strip-item small {
  display: block;
  color: var(--toa-muted);
  margin-top: .2rem;
}
.gallery-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin-top: .9rem;
}
.gallery-page-head { margin-bottom: 1rem; }
.gallery-upload-panel {
  margin: 0 0 1.25rem;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  background: var(--toa-card);
  overflow: hidden;
}
.gallery-upload-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  font-weight: 700;
}
.gallery-upload-summary::-webkit-details-marker { display: none; }
.gallery-upload-summary-hint {
  font-weight: 500;
  font-size: .82rem;
  color: var(--toa-muted);
}
.gallery-upload {
  margin: 0;
  padding: 0 1rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.gallery-upload--compact .gallery-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.gallery-masonry {
  column-count: 3;
  column-gap: .85rem;
}
.gallery-masonry-item {
  break-inside: avoid;
  margin: 0 0 .85rem;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--toa-card);
  cursor: pointer;
}
.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.gallery-masonry-item figcaption {
  padding: .55rem .7rem .7rem;
}
.gallery-masonry-item strong {
  display: block;
  font-size: .9rem;
  line-height: 1.35;
}
.gallery-masonry-item small {
  display: block;
  margin-top: .25rem;
  font-size: .75rem;
  color: var(--toa-muted);
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 14, 0.72);
  cursor: pointer;
}
.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--toa-card);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.gallery-lightbox-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #0c0c0f;
}
.gallery-lightbox-meta {
  padding: .85rem 1rem 1.1rem;
}
.gallery-lightbox-meta strong { display: block; margin-bottom: .25rem; }
.gallery-lightbox-meta small { color: var(--toa-muted); }
.gallery-lightbox-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
body.gallery-lightbox-open { overflow: hidden; }
.gallery-preview {
  margin: .85rem 0 1rem;
}
.gallery-preview-head {
  margin: 0 0 .65rem;
  font-size: .9rem;
  color: var(--toa-muted);
}
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .65rem;
}
.gallery-preview-item {
  position: relative;
  margin: 0;
  border: 1px solid var(--toa-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--toa-bg);
  padding-bottom: .55rem;
}
.gallery-preview-item img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.gallery-preview-fname {
  margin: .35rem .5rem 0;
  font-size: .7rem;
  color: var(--toa-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-preview-caption-label {
  display: block;
  margin: .25rem .5rem 0;
  font-size: .72rem;
  font-weight: 700;
}
.gallery-preview-caption {
  display: block;
  width: calc(100% - 1rem);
  margin: .2rem .5rem 0;
  padding: .35rem .45rem;
  border: 1px solid var(--toa-border);
  border-radius: 6px;
  font: inherit;
  font-size: .82rem;
  background: var(--toa-card);
  color: var(--toa-dark);
}
.gallery-preview-item figcaption {
  padding: .35rem .45rem;
  font-size: .72rem;
  line-height: 1.25;
  color: var(--toa-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-preview-remove {
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.78);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery-preview-remove:hover {
  background: var(--toa-primary);
}
.gallery-preview-error {
  margin: 0 0 .75rem;
}
#gallerySubmitBtn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .gallery-masonry { column-count: 2; }
  .gallery-upload--compact .gallery-upload-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery-masonry { column-count: 2; }
}
.home-collab-prayer {
  margin-bottom: 1.5rem;
}
.home-collab-prayer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.home-collab,
.home-collab-prayer-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-collab .section-head,
.home-collab-prayer-aside .section-head {
  margin-bottom: .85rem;
}
.home-collab .collab-card,
.home-prayer-card {
  flex: 1 1 auto;
  min-height: 14.5rem;
  display: flex;
  flex-direction: column;
}
.home-prayer-card {
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
  padding: 1rem 1.05rem 1.05rem;
  margin: 0;
}
.home-prayer-card .prayer-times-date {
  margin: 0 0 .55rem;
}
.home-prayer-card .prayer-times-list {
  flex: 1 1 auto;
}
.home-prayer-card .prayer-times-more {
  margin-top: auto;
  padding-top: .65rem;
}
.home-collab-prayer-aside .prayer-times-widget {
  margin-bottom: 0;
  height: auto;
}
@media (max-width: 900px) {
  .home-collab-prayer-grid {
    grid-template-columns: 1fr;
  }
  .home-collab .collab-card,
  .home-prayer-card {
    min-height: 0;
  }
}
.collab-card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  min-height: 11.5rem;
  padding: 1.6rem 1.5rem 1.55rem;
  border-radius: 18px;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: #fff !important;
  background:
    linear-gradient(125deg, rgba(20, 12, 28, 0.55), rgba(20, 12, 28, 0.2) 42%, transparent 70%),
    radial-gradient(120% 90% at 100% 0%, rgba(245, 133, 41, 0.55), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(221, 42, 123, 0.55), transparent 50%),
    linear-gradient(135deg, #515bd4 0%, #8134af 28%, #dd2a7b 58%, #f58529 100%);
  box-shadow:
    0 18px 40px rgba(129, 52, 175, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform .28s ease, box-shadow .28s ease;
}
.collab-card:hover,
.collab-card:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 24px 48px rgba(129, 52, 175, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  outline: none;
}
.collab-card-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: collab-glow 7s ease-in-out infinite;
}
.collab-card-rings {
  position: absolute;
  right: -2.5rem;
  bottom: -3.5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 0 1.4rem rgba(255, 255, 255, 0.06),
    0 0 0 3rem rgba(255, 255, 255, 0.04);
}
.collab-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  max-width: 34rem;
}
.collab-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.collab-brand-row {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.collab-ig-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: .85rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(20, 12, 28, 0.22);
  animation: collab-mark 5.5s ease-in-out infinite;
}
.collab-handle {
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(20, 12, 28, 0.25);
}
.collab-copy {
  margin: 0;
  max-width: 28rem;
  font-size: .98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.collab-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .35rem;
  padding: .55rem 1rem .55rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: #1a1020 !important;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 12, 28, 0.18);
  transition: transform .2s ease, gap .2s ease;
}
.collab-card:hover .collab-cta,
.collab-card:focus-visible .collab-cta {
  gap: .65rem;
  transform: translateX(2px);
}
@keyframes collab-glow {
  0%, 100% { opacity: .7; transform: translate(0, 0) scale(1); }
  50% { opacity: 1; transform: translate(-6%, 4%) scale(1.06); }
}
@keyframes collab-mark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .collab-card,
  .collab-card-glow,
  .collab-ig-mark,
  .collab-cta { animation: none; transition: none; }
}
.sidebar-cats li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  text-align: left;
}
.sidebar-cats a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  justify-content: flex-start;
  text-align: left;
  flex: 1;
}
.sidebar-cats .muted {
  margin-left: auto;
  flex-shrink: 0;
}
.sidebar-cat-ico {
  display: inline-flex;
  color: var(--toa-primary);
  flex-shrink: 0;
}
.emergency-hero {
  margin: 0 0 1.25rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--toa-radius);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, 0.12), transparent 55%),
    linear-gradient(180deg, var(--toa-card), var(--toa-bg));
  border: 1px solid var(--toa-border);
}
.emergency-eyebrow {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--toa-primary);
}
.emergency-hero h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.emergency-hero p { margin: 0; color: var(--toa-muted); max-width: 40rem; }
.emergency-toolbar {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin: 0 0 1rem;
  padding: .75rem; border-radius: 12px; background: var(--toa-card);
  border: 1px solid var(--toa-border);
}
.emergency-toolbar input[type="search"],
.emergency-toolbar select {
  flex: 1 1 160px;
  min-width: 0;
  padding: .6rem .8rem;
  border: 1px solid var(--toa-border);
  border-radius: 10px;
  font: inherit;
  background: var(--toa-bg);
  color: var(--toa-dark);
}
.emergency-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.25rem;
  align-items: center;
}
.emergency-topic-prompt {
  flex: 1 1 100%;
  margin: 0 0 .15rem;
  font-size: .9rem;
  color: var(--toa-muted);
}
.emergency-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .85rem;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  background: var(--toa-card);
  color: var(--toa-dark);
  font: inherit;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.emergency-topic-chip .nav-ico { width: 16px; height: 16px; color: var(--toa-primary); }
.emergency-topic-chip.is-active,
.emergency-topic-chip[aria-pressed="true"] {
  border-color: var(--toa-primary);
  background: rgba(196, 30, 58, 0.08);
  color: var(--toa-primary);
}
.emergency-list[hidden] { display: none !important; }
.emergency-group { margin-bottom: 1.75rem; }
.emergency-group h2 { font-size: 1rem; margin: 0 0 .85rem; }
.emergency-group-chip {
  display: inline-block; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(196, 30, 58, 0.1); color: var(--toa-primary);
  font-weight: 700; font-size: .92rem;
}
.emergency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.emergency-item {
  position: relative;
  display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center;
  padding: .9rem 1rem; border: 1px solid var(--toa-border); border-radius: 12px;
  background: var(--toa-card); margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.emergency-item:hover {
  border-color: rgba(196, 30, 58, 0.35);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.emergency-item.is-copied {
  border-color: var(--toa-primary);
}
.emergency-item-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(196, 30, 58, 0.08);
  color: var(--toa-primary);
}
.emergency-item-main { flex: 1 1 140px; min-width: 0; }
.emergency-item-main strong { display: block; }
.emergency-item-main .name-en { display: block; font-size: .82rem; color: var(--toa-muted); margin-top: .1rem; }
.emergency-item-main .dept { display: block; font-size: .78rem; color: var(--toa-muted); }
.emergency-phones { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.emergency-phones a, .emergency-phones button {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid var(--toa-border); background: var(--toa-page, #f8fafc);
  color: var(--toa-dark); border-radius: 999px; padding: .3rem .65rem;
  font: inherit; font-size: .82rem; cursor: pointer; text-decoration: none;
}
.emergency-tel:hover { border-color: var(--toa-primary); color: var(--toa-primary); }
.emergency-phones button.copy-phone { padding: .3rem .45rem; }
.emergency-phones button.copy-phone.is-copied { border-color: var(--toa-primary); color: var(--toa-primary); }
.emergency-copy-toast {
  position: absolute;
  top: .45rem;
  right: .55rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--toa-primary);
  background: rgba(255, 255, 255, 0.95);
  padding: .15rem .45rem;
  border-radius: 999px;
}
.emergency-purpose {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--toa-border);
  background: var(--toa-card);
  color: var(--toa-muted);
  font-size: .9rem;
  line-height: 1.55;
  max-width: 46rem;
}
html[data-theme="dark"] .emergency-phones a,
html[data-theme="dark"] .emergency-phones button { background: #0f172a; }
html[data-theme="dark"] .emergency-copy-toast { background: rgba(23, 23, 28, 0.95); }
@media (max-width: 700px) {
  .emergency-grid { grid-template-columns: 1fr; }
}
.about-hero {
  text-align: center; padding: 1.5rem 0 1rem; color: var(--toa-dark);
}
.legal-page { max-width: 720px; margin: 0 auto 2rem; }
.legal-header h1 { margin: 0 0 .35rem; }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 1.5rem;
}
.legal-toc a {
  font-weight: 700; font-size: .9rem; color: var(--toa-primary);
}
.legal-section { margin-bottom: 2rem; scroll-margin-top: calc(var(--header-offset, 70px) + 1rem); }
.legal-section h2 { margin-top: 0; color: var(--toa-primary); }
.legal-section h3 { margin: 1.1rem 0 .4rem; font-size: 1.05rem; }
.legal-section p, .legal-section li { line-height: 1.65; color: var(--toa-dark); }
.legal-section ul { padding-left: 1.2rem; }
.nav-more-menu .nav-has-children .nav-sub,
.nav-more-mobile .nav-has-children .nav-sub {
  position: static;
  display: none;
  box-shadow: none;
  border: 0;
  padding: 0 0 0 .65rem;
  min-width: 0;
  background: transparent;
}
.nav-more-menu .nav-has-children.is-open .nav-sub,
.nav-more-mobile .nav-has-children.is-open .nav-sub { display: flex; }
.about-hero svg { color: var(--toa-primary); margin-bottom: .5rem; }
.about-block {
  background: var(--toa-card); border: 1px solid var(--toa-border);
  border-radius: 14px; padding: 1.2rem 1.3rem; margin-bottom: 1rem;
}
.about-block h2 { margin-top: 0; font-size: 1.2rem; }
.submit-news-page { max-width: 680px; margin: 0 auto 2rem; width: 100%; }
.submit-news-hero {
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--toa-border);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, 0.1), transparent 55%),
    var(--toa-card);
}
.submit-news-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--toa-primary);
}
.submit-news-hero h1 { margin: 0 0 .55rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.submit-news-lead-en { margin: 0 0 .4rem; color: var(--toa-dark); }
.submit-news-lead-ta { margin: 0; color: var(--toa-muted); font-size: .95rem; }
.submit-news-form, .gallery-upload form {
  display: grid; gap: .85rem; max-width: 680px; width: 100%;
}
.submit-news-section {
  margin: 0;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--toa-border);
  border-radius: 12px;
  background: var(--toa-card);
}
.submit-news-section-title {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--toa-dark);
}
.submit-news-section-hint {
  margin: 0 0 .9rem;
  font-size: .86rem;
  color: var(--toa-muted);
  line-height: 1.4;
}
.submit-news-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.submit-news-form .form-group { margin: 0 0 .75rem; }
.submit-news-form .form-group:last-child { margin-bottom: 0; }
.submit-news-terms { font-size: .85rem; margin: .35rem 0 0; }
.submit-news-form label, .gallery-upload label { font-weight: 600; display: block; margin-bottom: .25rem; }
.submit-news-form input, .submit-news-form textarea,
.gallery-upload input, .gallery-upload textarea {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--toa-border);
  border-radius: 8px; font: inherit; background: var(--toa-card); color: var(--toa-dark);
}
@media (max-width: 640px) {
  .submit-news-row { grid-template-columns: 1fr; }
}
.nav-has-children { position: relative; }
.nav-sub {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 200px;
  background: var(--toa-card); border: 1px solid var(--toa-border); border-radius: 12px;
  box-shadow: var(--toa-shadow); padding: .35rem; z-index: 300; flex-direction: column;
}
.nav-has-children:hover .nav-sub,
.nav-has-children:focus-within .nav-sub,
.nav-has-children.is-open .nav-sub { display: flex; }
.nav-sub .nav-link { width: 100%; justify-content: flex-start; }
.load-more-btn {
  cursor: pointer; border: 0; width: 100%; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
.load-more-ico { flex-shrink: 0; }
@media (max-width: 900px) {
  .footer-quick-desktop { display: none; }
  .footer-quick-mobile { display: block; }
  .footer-collapse-desktop { display: none; }
  .footer-collapse { display: block; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .collab-card { min-height: 12.5rem; padding: 1.45rem 1.2rem 1.4rem; }
  .collab-card-inner { align-items: center; text-align: center; max-width: none; }
  .collab-copy { max-width: 22rem; }
  .collab-card-rings { right: -4rem; bottom: -5rem; opacity: .75; }
  body.single-article .layout-split > article {
    padding-left: 0;
    padding-right: 0;
  }
  body.single-article .article-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  body.single-article .sidebar.article-sidebar {
    padding-left: 0;
    padding-right: 0;
  }
  body.single-article .ad-slot--article_after_content {
    margin-left: 0;
    margin-right: 0;
  }
  .page-home .ad-slot,
  body.single-article .ad-slot {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .article-reactions-row {
    flex-wrap: nowrap;
    gap: .3rem;
    justify-content: center;
  }
  .article-reaction-btn {
    min-width: 0;
    max-width: none;
    padding: .4rem .2rem .35rem;
  }
  .article-reaction-emoji { font-size: 1.25rem; }
  .article-reaction-label { font-size: .68rem; }
  .article-reaction-count { font-size: .72rem; }
  .site-footer .footer-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .site-footer .footer-bottom > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .footer-collapse > summary {
    padding-left: 0;
  }
  .footer-col--brand,
  .footer-col--fx,
  .footer-col--social {
    text-align: center;
  }
  .footer-col--brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-col--fx .footer-fx {
    max-width: none;
    margin: 0 auto;
    align-items: stretch;
  }
  .footer-fx-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .5rem;
    align-items: end;
  }
  .footer-fx-swap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .1rem;
  }
  .footer-col--social .social-icons {
    justify-content: center;
  }
  .footer-col--social .footer-links {
    align-items: center;
  }
  .footer-col--social .footer-links a {
    justify-content: center;
  }
  .footer-ad-cta {
    display: flex;
    justify-content: center;
  }
  .footer-visits {
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .gallery-strip { grid-template-columns: 1fr; }
}

/* Adirai Diary collaborator page */
.page-adiraidiary .site-main { padding-top: 0; }
.diary-hero {
  position: relative;
  overflow: hidden;
  margin: 0 calc(50% - 50vw) 2rem;
  width: 100vw;
  padding: clamp(2.5rem, 8vw, 4.5rem) 1.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(196, 30, 58, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(245, 133, 41, 0.22), transparent 50%),
    linear-gradient(165deg, #1a0a0e 0%, #2a1018 45%, #12080c 100%);
  color: #fff;
  text-align: center;
}
.diary-hero-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.25), transparent 70%);
  pointer-events: none;
}
.diary-hero-inner { position: relative; max-width: 640px; margin: 0 auto; }
.diary-kicker {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 220, 200, 0.85);
}
.diary-brand-mark { margin: 0 auto 1rem; width: 72px; }
.diary-hero h1 {
  margin: 0 0 .65rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
}
.diary-lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  line-height: 1.55;
  color: rgba(255, 245, 240, 0.88);
  font-size: 1.05rem;
}
.diary-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.diary-cta-primary {
  background: #fff;
  color: #1a0a0e !important;
  text-decoration: none !important;
}
.diary-cta-primary:hover { filter: brightness(0.96); }
.diary-cta-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none !important;
}
.diary-feed-wrap { margin-bottom: 2.5rem; }
.diary-feed-head { margin-bottom: 1.25rem; }
.diary-feed-head .muted { margin: .35rem 0 0; }
.diary-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
  justify-items: center;
}
.diary-embed-card {
  width: 100%;
  max-width: 540px;
  min-height: 120px;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: 14px;
  padding: .75rem;
  box-shadow: var(--toa-shadow);
  overflow: hidden;
}
.diary-embed-card .instagram-media { margin: 0 auto !important; }
.diary-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
  margin: 0 0 2rem;
}
.diary-tile {
  display: flex;
  align-items: flex-end;
  min-height: 110px;
  padding: .75rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: .85rem;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -40px 50px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease;
}
.diary-tile:hover { transform: translateY(-2px); }
.diary-tile--1 { background-image: linear-gradient(135deg, #c41e3a, #7a1020); }
.diary-tile--2 { background-image: linear-gradient(145deg, #2a1018, #c41e3a 80%); }
.diary-tile--3 { background-image: linear-gradient(160deg, #f58529, #dd2a7b); }
.diary-tile--4 { background-image: linear-gradient(120deg, #8134af, #c41e3a); }
.diary-tile--5 { background-image: linear-gradient(200deg, #1a0a0e, #515bd4); }
.diary-tile--6 { background-image: linear-gradient(40deg, #dd2a7b, #1a0a0e); }
.diary-bottom-cta {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
}
.diary-bottom-cta p { margin: 0 0 1rem; color: var(--toa-muted); }
@media (max-width: 700px) {
  .diary-mosaic { grid-template-columns: repeat(2, 1fr); }
  .share-emergency { font-size: .65rem; line-height: 1.2; }
}

/* Home feature strip + TOA Social */
.home-feature-strip {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1rem 1.2rem;
  border-radius: var(--toa-radius);
  border: 1px solid rgba(196, 30, 58, 0.22);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(196, 30, 58, 0.02)),
    var(--toa-card);
  box-shadow: var(--toa-shadow);
}
.home-feature-kicker {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--toa-primary);
  text-align: center;
}
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}
.home-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: .85rem .55rem;
  border-radius: 12px;
  border: 1px solid var(--toa-border);
  background: var(--toa-card);
  color: var(--toa-dark);
  text-decoration: none !important;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.home-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--toa-primary);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.12);
  color: var(--toa-primary);
}
.home-feature-ico {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff0f2;
  color: var(--toa-primary);
}
.home-feature-label {
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
}
.toa-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.toa-social-panel {
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
  overflow: hidden;
}
.toa-social-panel--wa {
  grid-column: 1 / -1;
}
.toa-social-panel h3 {
  margin: 0;
  padding: .75rem 1rem;
  font-size: .95rem;
  border-bottom: 1px solid var(--toa-border);
}
.toa-social-frame {
  position: relative;
  height: 420px;
  overflow: auto;
  display: flex;
  justify-content: center;
  background: #fafafa;
}
html[data-theme="dark"] .toa-social-frame { background: #121218; }
.toa-social-frame iframe {
  max-width: 100%;
}
.toa-social-frame--ig {
  padding: .5rem;
  overflow: auto;
}
.toa-social-frame--ig .instagram-media {
  max-width: 100%;
}
.toa-social-frame--wa {
  height: auto;
  min-height: 0;
  align-items: stretch;
  padding: 1rem 1.15rem;
  overflow: visible;
}
.toa-wa-card {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  text-align: left;
  color: var(--toa-dark);
}
.toa-wa-badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
}
.toa-wa-copy {
  flex: 1;
  min-width: 0;
}
.toa-wa-card strong {
  display: block;
  margin-bottom: .2rem;
  font-size: 1.05rem;
}
.toa-wa-card p {
  margin: 0;
  color: var(--toa-muted);
  font-size: .92rem;
}
.toa-wa-btn {
  flex-shrink: 0;
  background: #25d366 !important;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.single-article .home-feature-strip {
    margin: 0 0 .85rem;
    padding: .7rem .55rem .75rem;
  }
  body.single-article .home-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
  }
  body.single-article .home-feature-card {
    padding: .55rem .25rem;
    gap: .3rem;
  }
  body.single-article .home-feature-ico svg {
    width: 18px;
    height: 18px;
  }
  body.single-article .home-feature-label {
    font-size: .62rem;
    line-height: 1.2;
  }
  body.single-article .home-feature-kicker {
    margin: 0 0 .45rem;
    font-size: .68rem;
  }
  .toa-social-grid { grid-template-columns: 1fr; }
  .toa-social-frame { height: 380px; }
  .toa-social-frame--wa { height: auto; }
}
@media (max-width: 560px) {
  .home-feature-label { font-size: .8rem; }
  body.single-article .home-feature-label { font-size: .58rem; }
  .toa-wa-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .toa-wa-copy { flex: 1 1 100%; }
  .toa-wa-btn { width: 100%; }
}

/* Prayer times */
.prayer-times-widget .prayer-times-date {
  margin: -.35rem 0 .65rem;
  font-size: .8rem;
}
.prayer-times-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prayer-times-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem .75rem;
  align-items: center;
  padding: .45rem 0;
  border-bottom: 1px solid var(--toa-border);
  font-size: .9rem;
}
.prayer-times-row:last-child { border-bottom: 0; }
.prayer-times-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}
.prayer-times-ico {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--toa-primary);
  opacity: .9;
}
.prayer-times-ico svg { display: block; }
.prayer-times-name { font-weight: 600; color: var(--toa-dark); }
.prayer-times-vals {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--toa-primary);
  white-space: nowrap;
}
.prayer-times-list--compact .prayer-times-row { font-size: .84rem; padding: .32rem 0; }
.prayer-times-list--compact .prayer-times-ico svg { width: 15px; height: 15px; }
.prayer-times-more { margin: .75rem 0 0; font-size: .85rem; font-weight: 600; }
.prayer-times-more a { color: var(--toa-primary); }

/* Override .sidebar li column flex so prayer rows stay name | time */
.sidebar .prayer-times-list li.prayer-times-row,
.sidebar .prayer-times-widget .prayer-times-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  gap: .5rem .75rem;
  flex-direction: unset;
  text-align: left;
  padding: .38rem 0;
}
.sidebar .prayer-times-row .prayer-times-label-wrap {
  justify-self: start;
}
.sidebar .prayer-times-row .prayer-times-vals {
  justify-self: end;
  text-align: right;
}
.sidebar .prayer-times-widget .prayer-times-list {
  border: 0;
}

.prayer-page { max-width: 920px; margin: 0 auto; }
.prayer-page-hero { margin-bottom: 1.25rem; }
.prayer-page-hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.prayer-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.prayer-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--prayer-mark);
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(78%, 220px);
  opacity: .13;
  pointer-events: none;
  z-index: 0;
}
.prayer-box > * { position: relative; z-index: 1; }
.prayer-times-widget.prayer-box::before {
  background-size: min(92%, 260px);
  opacity: .15;
}
.prayer-page-today {
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1.75rem;
}
.prayer-countdown {
  background: var(--toa-card);
  border: 1px solid rgba(196, 30, 58, 0.28);
  border-radius: var(--toa-radius);
  box-shadow: var(--toa-shadow);
  padding: .85rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}
.prayer-countdown-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--toa-muted);
}
.prayer-countdown-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: .4rem .65rem;
  white-space: nowrap;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prayer-countdown-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--toa-primary);
  font-weight: 700;
  flex: 0 0 auto;
}
.prayer-countdown-time {
  margin: 0;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.prayer-countdown-clock {
  margin: 0;
  margin-left: .15rem;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--toa-dark);
  flex: 0 0 auto;
}
.prayer-countdown.is-due .prayer-countdown-clock { color: var(--toa-primary); }
.prayer-times-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: .5rem;
  padding: 0 0 .55rem;
  margin-bottom: .35rem;
  border-bottom: 2px solid var(--toa-primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--toa-muted);
}
.prayer-times-head--iqamah {
  grid-template-columns: 1.2fr 1fr 1fr;
  text-align: center;
}
.prayer-times-head--iqamah span:first-child { text-align: left; }
.prayer-page-today .prayer-times-list--iqamah .prayer-times-row--iqamah {
  grid-template-columns: 1.2fr 1fr 1fr;
}
.prayer-times-list--iqamah .prayer-times-adhan,
.prayer-times-list--iqamah .prayer-times-iqamah {
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 700;
  color: var(--toa-primary);
}
.prayer-times-list--iqamah .prayer-times-iqamah {
  color: var(--toa-dark);
  font-weight: 650;
}
.prayer-times-list--iqamah .prayer-times-iqamah--empty {
  color: var(--toa-muted);
  font-weight: 500;
}
.prayer-iqamah-note {
  margin: .75rem 0 0;
  font-size: .78rem;
  line-height: 1.4;
}
.prayer-page-today .prayer-times-row {
  grid-template-columns: 1.4fr 1fr;
}
.prayer-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .85rem;
}
.prayer-week-day {
  background: var(--toa-card);
  border: 1px solid var(--toa-border);
  border-radius: var(--toa-radius);
  padding: .85rem .9rem 1rem;
}
.prayer-week-day.is-today {
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.15);
}
.prayer-week-day h3 {
  margin: 0 0 .55rem;
  font-size: .92rem;
  font-family: var(--font-serif);
}
.prayer-week-day .prayer-times-row { font-size: .82rem; padding: .28rem 0; }
.prayer-week-day .prayer-times-ico svg { width: 14px; height: 14px; }

/* Home + article: equal L/R page gutters; stop ads/embeds from eating the right edge */
body.page-home,
body.single-article {
  overflow-x: hidden;
}
body.page-home .site-main > .container,
body.single-article .site-main > .container {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}
body.page-home .layout-split,
body.single-article .layout-split,
body.page-home .home-main,
body.single-article .layout-split > article,
body.page-home .sidebar,
body.single-article .sidebar {
  min-width: 0;
  max-width: 100%;
}
body.page-home .ad-slot,
body.single-article .ad-slot,
body.page-home .ad-slot--adsense,
body.single-article .ad-slot--adsense {
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden !important;
  margin-left: 0;
  margin-right: 0;
}
body.page-home .ad-slot iframe,
body.single-article .ad-slot iframe,
body.page-home .ad-slot ins,
body.single-article .ad-slot ins,
body.page-home .adsbygoogle,
body.single-article .adsbygoogle {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.page-home .toa-social-frame,
body.page-home .toa-social-panel,
body.single-article .share-bar,
body.single-article .article-reactions,
body.single-article .comments {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  body.page-home .site-main > .container,
  body.single-article .site-main > .container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  body.page-home .sidebar .widget,
  body.single-article .sidebar .widget,
  body.page-home .post-card,
  body.single-article .article-body,
  body.single-article .lead-image,
  body.single-article .comments,
  body.single-article .home-feature-strip {
    max-width: 100%;
    box-sizing: border-box;
  }
}
