/* These variables make it easy to adjust the Fullshangwe theme in one place. */
:root {
  --fs-red: #c4161c;
  --fs-dark: #141414;
  --fs-ink: #252525;
  --fs-muted: #6c757d;
  --fs-border: #dedede;
  --fs-soft: #f4f5f7;
  --fs-gold: #b88916;
}

/* The body settings keep the page readable for long hard-news articles. */
body {
  color: var(--fs-ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--fs-red);
}

.fw-black {
  font-weight: 900;
}

.top-strip {
  background: var(--fs-dark);
  font-size: 0.9rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.breaking-line {
  min-width: 0;
}

.breaking-line a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  padding: 0;
}

.brand-mark img {
  display: block;
  height: auto;
  max-height: 58px;
  max-width: min(230px, 58vw);
  width: auto;
}

.navbar .nav-link {
  color: var(--fs-dark);
  font-weight: 700;
  padding-inline: 0.8rem;
}

.navbar .nav-link.active,
.navbar .current-menu-item > .nav-link,
.navbar .current_page_item > .nav-link,
.navbar .nav-link:hover {
  color: var(--fs-red);
}

.search-box {
  min-width: min(100%, 260px);
}

.search-box .form-control {
  border-radius: 0;
  border-color: var(--fs-border);
}

.search-box .btn {
  border-radius: 0;
}

.banner-strip {
  background: #fff;
}

.banner-strip .container {
  display: grid;
  gap: 0.6rem;
}

.banner-link {
  background: #f2f2f2;
  border: 1px solid var(--fs-border);
  display: block;
  overflow: hidden;
  width: 100%;
}

.banner-link img {
  display: block;
  height: auto;
  width: 100%;
}

.headline-section {
  background: linear-gradient(180deg, #f7f7f7 0%, #fff 100%);
}

/* This keeps the top news area compact while preserving a strong lead story. */
.lead-story {
  max-width: 100%;
}

.story-image {
  background: #d9d9d9;
  display: block;
  overflow: hidden;
}

.story-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  width: 100%;
}

.story-image:hover img {
  transform: scale(1.03);
}

.story-meta {
  align-items: center;
  color: var(--fs-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.55rem;
  text-transform: uppercase;
}

.section-tag {
  color: var(--fs-red);
}

.display-title {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.7vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 0.65rem;
}

.lead-story .lead {
  font-size: 1rem;
  line-height: 1.45;
  max-width: 760px;
}

.byline {
  border-left: 3px solid var(--fs-red);
  color: var(--fs-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding-left: 0.6rem;
}

.side-story,
.quick-panel,
.news-card {
  border: 1px solid var(--fs-border);
  border-radius: 6px;
  background: #fff;
}

.side-story {
  padding: 0.75rem;
}

.side-story h2,
.news-card h3 {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.side-story h2 {
  font-size: 1.12rem;
  margin-bottom: 0;
}

.quick-panel {
  padding: 1rem;
}

.panel-title {
  border-bottom: 2px solid var(--fs-red);
  color: var(--fs-dark);
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  padding-bottom: 0.55rem;
  text-transform: uppercase;
}

.latest-list li {
  border-bottom: 1px solid var(--fs-border);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr auto;
  padding: 0.55rem 0;
}

.latest-list li:first-child {
  padding-top: 0;
}

.latest-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.latest-list a {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.latest-list span {
  color: var(--fs-red);
  font-size: 0.78rem;
  font-weight: 900;
}

.topic-bar {
  position: relative;
}

.topic-pill {
  border: 1px solid var(--fs-border);
  border-radius: 999px;
  color: var(--fs-dark);
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
}

.topic-pill:hover {
  background: var(--fs-red);
  border-color: var(--fs-red);
  color: #fff;
}

.section-heading {
  align-items: end;
  border-bottom: 2px solid var(--fs-dark);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading h2 {
  color: var(--fs-dark);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
  padding-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--fs-red);
  font-size: 0.9rem;
  font-weight: 800;
  padding-bottom: 0.75rem;
}

.news-card {
  overflow: hidden;
}

.news-card p {
  color: var(--fs-muted);
  margin-bottom: 0;
}

.category-header {
  background: var(--fs-soft);
  border-bottom: 1px solid var(--fs-border);
}

.breadcrumb a {
  color: var(--fs-red);
  font-weight: 700;
}

.category-title-row {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.category-title-row h1,
.post-title {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.category-title-row h1 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  margin: 0.25rem 0 0.5rem;
}

.category-title-row p {
  color: var(--fs-muted);
  margin: 0;
  max-width: 760px;
}

.category-count {
  border: 1px solid var(--fs-border);
  border-radius: 999px;
  color: var(--fs-dark);
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.45rem 0.9rem;
}

.category-lead,
.compact-panel {
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 6px;
  overflow: hidden;
}

.category-lead h2 {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
}

.category-lead p,
.post-list-card p {
  color: var(--fs-muted);
  margin-bottom: 0;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-list-card {
  border-bottom: 1px solid var(--fs-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 210px 1fr;
  padding-bottom: 1rem;
}

.post-list-card .story-image {
  aspect-ratio: 4 / 3;
}

.post-list-card h3 {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.12;
}

.byline-small {
  color: var(--fs-muted);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.7rem;
}

.content-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 92px;
}

.compact-panel {
  padding: 1rem;
}

.ranked-list {
  margin: 0;
  padding-left: 1.35rem;
}

.ranked-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}

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

.ranked-list li::marker {
  color: var(--fs-red);
  font-weight: 900;
}

.ranked-list a {
  font-weight: 800;
  line-height: 1.28;
}

.page-link {
  color: var(--fs-dark);
  font-weight: 800;
}

.page-item.active .page-link {
  background: var(--fs-red);
  border-color: var(--fs-red);
}

.news-pagination {
  border-top: 1px solid var(--fs-border);
  padding-top: 1.25rem;
}

.news-pagination .nav-links,
.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.news-pagination .screen-reader-text {
  display: none;
}

.news-pagination .page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 4px;
  color: var(--fs-dark);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0.5rem 0.75rem;
}

.news-pagination .page-numbers.current {
  background: var(--fs-red);
  border-color: var(--fs-red);
  color: #fff;
}

.news-pagination .page-numbers:hover {
  background: var(--fs-dark);
  border-color: var(--fs-dark);
  color: #fff;
}

.news-pagination .dots {
  background: transparent;
  border-color: transparent;
  min-width: auto;
  padding-inline: 0.25rem;
}

.news-pagination .dots:hover {
  background: transparent;
  border-color: transparent;
  color: var(--fs-dark);
}

.news-pagination .prev,
.news-pagination .next {
  padding-inline: 1rem;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  border-bottom: 1px solid var(--fs-border);
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
}

.widget li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-title {
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.post-deck {
  color: var(--fs-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  max-width: 850px;
}

.article-author {
  align-items: center;
  border-bottom: 1px solid var(--fs-border);
  border-top: 1px solid var(--fs-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 0.9rem 0;
}

.article-author span {
  color: var(--fs-muted);
  display: block;
  font-size: 0.9rem;
}

.share-actions {
  display: flex;
  gap: 0.55rem;
}

.share-actions a {
  align-items: center;
  border: 1px solid var(--fs-border);
  border-radius: 50%;
  color: var(--fs-dark);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.share-actions a:hover {
  background: var(--fs-red);
  border-color: var(--fs-red);
  color: #fff;
}

.article-figure {
  margin: 0 0 1.75rem;
}

.article-figure img {
  display: block;
  height: auto;
  width: 100%;
}

.article-figure figcaption {
  color: var(--fs-muted);
  font-size: 0.86rem;
  margin-top: 0.55rem;
}

.article-body {
  color: var(--fs-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.8;
}

.article-body h2 {
  color: var(--fs-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
}

.article-body blockquote {
  border-left: 4px solid var(--fs-red);
  color: var(--fs-dark);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 1.75rem 0;
  padding-left: 1rem;
}

.error-page {
  background: linear-gradient(180deg, #fff 0%, var(--fs-soft) 100%);
}

.error-panel {
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 4rem);
}

.error-code {
  color: var(--fs-red);
  display: block;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
}

.error-panel h1 {
  color: var(--fs-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin: 1rem 0;
}

.error-panel p {
  color: var(--fs-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-inline: auto;
  max-width: 640px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.72);
  clear: both;
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: 2.75rem 0 2.25rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand img {
  background: #fff;
  border-radius: 6px;
  display: block;
  height: auto;
  max-width: 92px;
  padding: 0.35rem;
  width: 100%;
}

.footer-summary {
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 340px;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-contact a {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 0.95rem;
  padding-bottom: 0.55rem;
  position: relative;
  text-transform: uppercase;
}

.site-footer h2::after {
  background: var(--fs-red);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 34px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover,
.footer-brand:hover {
  color: #fff;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.footer-links {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.social-links a:hover {
  background: var(--fs-red);
  border-color: var(--fs-red);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 1rem 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* These mobile adjustments keep headlines and navigation comfortable on small screens. */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .search-box {
    width: 100%;
  }

  .content-sidebar {
    position: static;
  }

}

@media (max-width: 575.98px) {
  .breaking-line {
    align-items: flex-start;
    width: 100%;
  }

  .breaking-line a {
    white-space: normal;
  }

  .display-title {
    line-height: 1.05;
  }

  .latest-list li {
    grid-template-columns: 1fr;
  }

  .category-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-list-card {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
