/* TimesNowToday - Backend styles. Copy of site CSS, one file. */

/* ---- global styles.css ---- */
/* TimesNowToday - common styles only. Own CSS lives in each component .css file. */

* {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: #fcfcf9;
  color: #1c1917;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.dim { color: #78716c; }
.sm { font-size: 0.75rem; }
.red { color: #b91c1c; }
.red-link { color: #b91c1c; font-weight: 600; }
.red-lt { color: #f87171; }

.kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b91c1c;
}

.pill {
  border-radius: 9999px;
  background: #b91c1c;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.excerpt { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: #57534e; }
.meta { margin: 0.75rem 0 0; font-size: 0.75rem; color: #78716c; }
.meta.light { color: #d6d3d1; }

/* ---------- shared buttons ---------- */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border-radius: 9999px;
  border: 1px solid #e7e5e4;
  background: transparent;
  color: #57534e;
  font-size: 1.1rem;
  cursor: pointer;
}

.icon-btn:hover { background: #f5f5f4; }

.wide-only { display: none; }
@media (min-width: 640px) {
  .wide-only { display: flex; }
  a.wide-only { display: flex; }
}

.subscribe {
  display: none;
  align-items: center;
  min-height: 44px;
  border-radius: 9999px;
  background: #1c1917;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

@media (min-width: 640px) {
  .subscribe { display: flex; }
}

.subscribe:hover { background: #44403c; }

.subscribe-big {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 0.5rem;
  background: #b91c1c;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.subscribe-big:hover { background: #991b1b; }

/* ---------- crumbs / heads ---------- */
.crumbs {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #78716c;
}

.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-head { margin-top: 1rem; border-bottom: 2px solid #1c1917; padding-bottom: 1rem; }
.page-head h1 { margin: 0.25rem 0 0; font-size: 1.875rem; font-weight: 800; }
@media (min-width: 640px) {
  .page-head h1 { font-size: 2.25rem; }
}
.page-head p { margin: 0.5rem 0 0; font-size: 15px; line-height: 1.6; color: #57534e; }

/* ---------- shared panels and grids ---------- */
.panel {
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
}

.panel-h {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel p { font-size: 15px; color: #57534e; line-height: 1.6; }

.ranked { list-style: none; margin: 0.5rem 0 0; padding: 0; }

.ranked li {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid #f5f5f4;
  padding: 0.75rem 0;
}

.ranked li:last-child { border-bottom: 0; }

.rank {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #d6d3d1;
}

.ranked a { font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.ranked a:hover { text-decoration: underline; }

.grid2 { margin-top: 1rem; display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
}

.grid3 { margin-top: 1.25rem; display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid3 { grid-template-columns: 1fr 1fr 1fr; }
}

.split { margin-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.block { margin-top: 2.5rem; }

.sec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 2px solid #1c1917;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

h2.sec-bar { font-size: 1.25rem; }

.more { font-size: 0.875rem; font-weight: 600; color: #b91c1c; text-decoration: none; }
.more:hover { text-decoration: underline; }

.ad-box {
  margin-top: 2rem;
  display: flex;
  height: 6rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px dashed #d6d3d1;
  background: #fafaf9;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8a29e;
}

.ad-box.tall { height: 16rem; margin-top: 0; }

.empty {
  margin-top: 2.5rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #57534e;
}

.side { display: flex; flex-direction: column; gap: 1.5rem; }

.prose { margin: 1.5rem auto 0; max-width: 68ch; font-size: 17px; line-height: 1.75; color: #44403c; }
.prose.narrow { max-width: 68ch; }
.narrow { max-width: 68ch; margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 1.25rem; }
.prose blockquote {
  border-left: 4px solid #b91c1c;
  background: #fafaf9;
  padding: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1c1917;
  margin: 0 0 1.25rem;
}

.stack { display: flex; flex-direction: column; gap: 1rem; }
.narrow.stack { gap: 1.5rem; margin-top: 1.5rem; }
.card-h { font-size: 1.125rem; font-weight: 700; margin: 0; }

/* ---------- phone ---------- */
@media (max-width: 640px) {
  input, textarea, select { font-size: 16px; }
}

/* TimesNowToday - Backend styles. Copy of site CSS, one file. */

/* ---- app\\site\\components\\header\\header.component.css ---- */
.site-header {
  border-bottom: 1px solid #e7e5e4;
  background: #fcfcf9;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.date-line {
  display: none;
  font-size: 0.75rem;
  color: #78716c;
}
@media (min-width: 640px) {
  .date-line { display: block; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1c1917;
}
.logo-text.sm { font-size: 1.125rem; }
.logo-text.light { color: #fff; font-size: 1.25rem; }
.logo-text .red { color: #b91c1c; }
.tagline {
  display: none;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c;
}
@media (min-width: 768px) {
  .tagline { display: inline; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-btn { display: flex; }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
}
.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.drawer-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 25, 23, 0.5);
  border: 0;
  cursor: default;
}
.drawer {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 84vw;
  max-width: 20rem;
  background: #fcfcf9;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid #e7e5e4;
  padding: 0 1rem;
}
.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 0.75rem;
  padding: 0 0.75rem;
  font-size: 15px;
  font-weight: 500;
  color: #44403c;
  text-decoration: none;
}
.drawer-nav a:hover { background: #f5f5f4; }
.drawer-nav a.on { background: #1c1917; color: #fff; font-weight: 600; }
.drawer-foot {
  border-top: 1px solid #e7e5e4;
  padding: 1rem;
}

/* ---- app\\site\\components\\breaking-ticker\\breaking-ticker.component.css ---- */
.ticker {
  display: flex;
  align-items: stretch;
  background: #b91c1c;
  color: #fff;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pulse { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: #fff;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-w { position: relative; display: inline-flex; height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: #fff; }
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.ticker-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #991b1b;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
  white-space: nowrap;
  padding: 0 1rem;
  font-size: 0.875rem;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-item { display: flex; align-items: center; gap: 2.5rem; }
.sep { color: #fca5a5; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ping { animation: none; }
}

/* ---- app\\site\\components\\navbar\\navbar.component.css ---- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e7e5e4;
  background: rgba(252, 252, 249, 0.95);
  backdrop-filter: blur(8px);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-row::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #57534e;
  text-decoration: none;
}
.nav-link:hover { color: #1c1917; border-bottom-color: #d6d3d1; }
.nav-link.on { border-bottom-color: #1c1917; color: #1c1917; font-weight: 600; }

/* ---- app\\site\\components\\footer\\footer.component.css ---- */
.site-footer { margin-top: 3rem; border-top: 1px solid #292524; background: #0c0a09; color: #d6d3d1; }
.foot-grid {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.foot-h { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.foot-note { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: #a8a29e; }
.foot-list { list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.875rem; }
.foot-list li { margin-top: 0.5rem; }
.foot-list a { color: #d6d3d1; text-decoration: none; }
.foot-list a:hover { color: #fff; }
.news-form { margin-top: 0.75rem; display: flex; gap: 0.5rem; }
.news-form input {
  margin-top: 0.25rem;
  width: 100%;
  border: 1px solid #44403c;
  border-radius: 0.5rem;
  background: #1c1917;
  color: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.news-form input::placeholder { color: #78716c; }
.news-form button {
  border: 0;
  border-radius: 0.5rem;
  background: #b91c1c;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1rem;
  cursor: pointer;
}
.news-form button:hover { background: #991b1b; }
.joined { margin-top: 0.75rem; font-size: 0.875rem; color: #86efac; }
.foot-base {
  border-top: 1px solid #292524;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: #78716c;
}
.foot-base .bromax-link { color: #facc15; text-decoration: none; }
.foot-base .bromax-link:hover { text-decoration: underline; }

/* ---- app\\site\\components\\article-card\\article-card.component.css ---- */
.card {
  display: block;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
}
.card.group:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.card-body { padding: 1rem; }
.card-body h3 { margin: 0.25rem 0 0; font-size: 17px; line-height: 1.35; }
.group:hover h3, .group:hover h2, .group:hover .compact-title { text-decoration: underline; }
.lead { position: relative; }
.lead-img { position: relative; height: 16rem; }
@media (min-width: 640px) {
  .lead-img { height: 20rem; }
}
.lead-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0c0a09, rgba(12, 10, 9, 0.4), transparent);
}
.lead-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.lead-text h2 { margin: 0.75rem 0 0; font-size: 1.5rem; line-height: 1.2; color: #fff; }
@media (min-width: 640px) {
  .lead-text h2 { font-size: 1.875rem; }
}
.lead-text .excerpt { display: none; color: #d6d3d1; }
@media (min-width: 640px) {
  .lead-text .excerpt { display: block; }
}
.compact {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid #f5f5f4;
  padding: 0.75rem 0;
  text-decoration: none;
}
.compact:last-child { border-bottom: 0; }
.compact .dot {
  margin-top: 0.4rem;
  height: 0.5rem;
  width: 0.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #b91c1c;
}
.compact-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; color: #1c1917; }
.compact-date { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: #78716c; }

/* ---- app\\site\\components\\category-image\\category-image.component.css ---- */
.cat-img { position: relative; overflow: hidden; }
.cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-img.h36 { height: 9rem; }
.cat-img.fill { position: absolute; inset: 0; }
.cat-img.hero { height: 18rem; border-radius: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) {
  .cat-img.hero { height: 24rem; }
}

/* ---- app\\site\\components\\share-buttons\\share-buttons.component.css ---- */
.share-row { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn.saved { border-color: #1c1917; background: #1c1917; color: #fff; }

/* ---- app\\site\\components\\icons\\icons.component.css ---- */
svg { width: 18px; height: 18px; display: block; }

/* ---- app\\site\\pages\\home\\home.component.css ---- */
.hero-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 2fr 1fr; }
}

/* ---- app\\site\\pages\\article\\article.component.css ---- */
.art-grid { margin-top: 1.5rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .art-grid { grid-template-columns: 2fr 1fr; }
}
.art-h { margin: 0.75rem 0 0; font-size: 1.875rem; line-height: 1.2; font-weight: 800; }
@media (min-width: 640px) {
  .art-h { font-size: 2.25rem; }
}
.standfirst { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.6; color: #57534e; }
.byline {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
  padding: 0.75rem 0;
}
.by-left { display: flex; align-items: center; gap: 0.75rem; }
.face {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  background: #1c1917;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.face.big { height: 3rem; width: 3rem; font-size: 1.125rem; flex-shrink: 0; }
.by-name { font-size: 0.875rem; font-weight: 600; }
.by-date { font-size: 0.75rem; color: #78716c; }
.cap { margin-top: 0.5rem; font-size: 0.75rem; color: #78716c; }
.keybox {
  margin-top: 1.5rem;
  border: 1px solid #fde68a;
  border-radius: 1rem;
  background: #fffbeb;
  padding: 1.25rem;
}
.key-h { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #92400e; }
.keybox ul { margin: 0.5rem 0 0; padding-left: 1.25rem; font-size: 15px; line-height: 1.6; color: #44403c; }
.keybox li { margin-top: 0.375rem; }
.tagrow { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid #e7e5e4; padding-top: 1.25rem; }
.tag {
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
}
.tag:hover { background: #f5f5f4; }
.author-box {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
}
.author-box p { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: #57534e; }
.cta-dark { border-radius: 1rem; background: #0c0a09; color: #fff; padding: 1.25rem; }
.cta-dark .cta-h { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 1.125rem; font-weight: 700; }
.cta-dark p { margin: 0.25rem 0 0; font-size: 0.875rem; color: #a8a29e; }
.cta-dark .subscribe-big { margin-top: 0.75rem; }

/* ---- app\\site\\pages\\category\\category.component.css ---- */
.cat-grid { margin-top: 1.5rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: 2fr 1fr; }
}
.chiprow { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
}
.chip:hover { background: #f5f5f4; }
.chip.on { border-color: #1c1917; background: #1c1917; color: #fff; }

/* ---- app\\site\\pages\\about\\about.component.css ---- */
/* Styles for AboutPage - component-scoped. Global styles live in src/styles.css */

/* ---- app\\site\\pages\\contact\\contact.component.css ---- */
.contact-grid { margin-top: 1.5rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { font-size: 0.875rem; font-weight: 600; display: block; }
.form input,
.form textarea {
  margin-top: 0.25rem;
  width: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.form input:focus,
.form textarea:focus { border-color: #1c1917; }
.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 9999px;
  background: #1c1917;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-dark:hover { background: #44403c; }
.done-box {
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  background: #f0fdf4;
  padding: 2rem;
  text-align: center;
}
.done-h { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: #14532d; }
.done-box p { font-size: 0.875rem; color: #15803d; }

/* ---- app\\site\\pages\\not-found\\not-found.component.css ---- */
/* Styles for NotFoundPage - component-scoped. Global styles live in src/styles.css */

/* ---- app\\site\\pages\\privacy\\privacy.component.css ---- */
/* Styles for PrivacyPage - component-scoped. Global styles live in src/styles.css */

/* ---- app\\site\\pages\\terms\\terms.component.css ---- */
/* Styles for TermsPage - component-scoped. Global styles live in src/styles.css */
