:root {
  --brand: #f0396a;
  --brand-dark: #d81f52;
  --dark: #14151f;
  --dark-soft: #1c1d2b;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
}

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

.site-logo { height: 60px; width: auto; display: block; }

/* Topbar */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
}
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.main-nav .nav-link { font-weight: 600; color: var(--dark); font-size: .92rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand); }

/* Ticker */
.news-ticker { border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: .85rem; }
.news-ticker .badge-cat { font-size: .68rem; }

/* Category badge */
.badge-cat {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; padding: .25rem .55rem; border-radius: 2px;
}

/* Ad slot */
.ad-slot {
  background: #f2f2f2; border: 1px dashed #ccc; color: #999;
  text-align: center; padding: 2.25rem 1rem; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em; border-radius: 4px;
}
.ad-slot small { display: block; text-transform: none; letter-spacing: 0; margin-top: .35rem; font-size: .72rem; }

/* Hero */
.hero-post { position: relative; border-radius: 6px; overflow: hidden; height: 420px; }
.hero-post img { width: 100%; height: 100%; object-fit: cover; }
.hero-post .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.hero-post .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; }
.hero-post .content h2 { font-size: 1.5rem; font-weight: 700; }
.hero-post .content .meta { font-size: .8rem; opacity: .85; }

.side-post-thumb { width: 90px; height: 65px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }

/* Category spotlight strip */
.spotlight-header {
  display: flex; align-items: stretch; background: var(--dark); border-radius: 4px 4px 0 0; overflow: hidden;
}
.spotlight-header .label {
  background: var(--brand); color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: .85rem; padding: .6rem 1.25rem; white-space: nowrap;
}

.post-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }

/* Section header */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  background: #f5f5f7; padding: .6rem 1rem; font-weight: 700; text-transform: uppercase; font-size: .85rem;
}
.section-header a { font-size: .75rem; font-weight: 700; color: var(--brand); }

/* Recent list item */
.recent-item img { width: 150px; height: 110px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.recent-item h3 { font-size: 1.05rem; font-weight: 700; }
.recent-item .excerpt { font-size: .88rem; color: #666; }

/* Sidebar */
.widget-title {
  background: var(--dark); color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: .8rem; padding: .6rem 1rem; letter-spacing: .04em;
}
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.social-grid a {
  display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 4px;
  color: #fff; font-size: .95rem;
}
.popular-item { width: 60px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.tag-pill {
  display: inline-block; border: 1px solid #ddd; color: #555; font-size: .78rem;
  padding: .3rem .7rem; border-radius: 3px; margin: 0 .3rem .4rem 0;
}
.tag-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Footer */
.site-footer { background: var(--dark); color: #b7b7c2; }
.site-footer h6 { color: #fff; }
.footer-widget-title {
  background: var(--dark-soft); color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: .8rem; padding: .55rem 1rem; margin-bottom: 1rem;
}
.footer-mini-item { width: 55px; height: 45px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.footer-bottom { background: #0d0e15; font-size: .82rem; }
.footer-bottom a { color: #b7b7c2; }

.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* Post body (rendered from admin rich text editor) */
.post-body p { margin-bottom: 1.25rem; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 1rem 0; }
.post-body h1, .post-body h2, .post-body h3 { font-weight: 700; margin: 1.5rem 0 .75rem; }
.post-body blockquote { border-left: 4px solid var(--brand); padding-left: 1rem; color: #555; font-style: italic; margin: 1.25rem 0; }
.post-body ul, .post-body ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
