/*
Theme Name: breakingpage24
Author: Mhamudul Hasan
Theme URI: https://example.com/
Author URI: https://example.com/
Description: Custom coded newspaper theme with 8 homepage news rows and no Elementor dependency.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bp24-news-custom
*/

:root {
  --bp-red: #c40000;
  --bp-black: #111;
  --bp-muted: #666;
  --bp-border: #e5e5e5;
  --bp-bg: #ffffff;
  --bp-white: #fff;
  --bp-font-family: Kalpurush, sans-serif;
  --bp-base-font-size: 16px;
  --bp-text-align: left;
  --bp-body-text-color: #111111;
  --bp-link-color: #ea4335;
  --bp-header-bg: #ea4335;
  --bp-footer-top-bg: #ea4335;
  --bp-footer-bottom-bg: #000000;
  --bp-hero-lead-h: 385px;
  --bp-hero-side-h: 175px;
  --bp-national-card-h: 185px;
  --bp-politics-feature-h: 240px;
  --bp-politics-mini-h: 120px;
  --bp-international-h: 140px;
  --bp-sports-feature-h: 340px;
  --bp-three-topic-lead-h: 190px;
  --bp-header-logo-h: 92px;
  --bp-footer-logo-h: 135px;
}

* { box-sizing: border-box; }
html {
  margin-top: 0 !important;
  scroll-behavior: smooth;
}
html[style] {
  margin-top: 0 !important;
}
body {
  margin: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow-x: hidden;
  font-family: var(--bp-font-family) !important;
  font-size: var(--bp-base-font-size);
  text-align: var(--bp-text-align);
  background: var(--bp-bg);
  color: var(--bp-body-text-color);
}
body.menu-open {
  overflow: hidden;
}
.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.admin-bar .site-header {
  margin-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body, p, h1, h2, h3, h4, h5, h6, li, a, span, small, strong {
  font-family: var(--bp-font-family) !important;
}
a { color: var(--bp-link-color); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
iframe,
video,
table {
  max-width: 100%;
}
table {
  display: block;
  overflow-x: auto;
}

.home-grid-hero h2 a:hover,
.home-grid-hero h3 a:hover,
.national-card h4 a:hover,
.national-latest li a:hover,
.politics-feature h4 a:hover,
.politics-title-list li a:hover,
.politics-mini h5 a:hover,
.international-item h4 a:hover,
.sports-feature h4 a:hover,
.sports-duo h5 a:hover,
.sports-mini h6 a:hover,
.three-topic-lead h4 a:hover,
.three-topic-item h5 a:hover,
.news-section-grid h3 a:hover,
.news-list li a:hover,
.small-list li a:hover,
.home-grid-hero h2 a:focus,
.home-grid-hero h3 a:focus,
.national-card h4 a:focus,
.national-latest li a:focus,
.politics-feature h4 a:focus,
.politics-title-list li a:focus,
.politics-mini h5 a:focus,
.international-item h4 a:focus,
.sports-feature h4 a:focus,
.sports-duo h5 a:focus,
.sports-mini h6 a:focus,
.three-topic-lead h4 a:focus,
.three-topic-item h5 a:focus,
.news-section-grid h3 a:focus,
.news-list li a:focus,
.small-list li a:focus {
  color: #EA4335 !important;
}


.hero-lead > a,
.hero-side-item > a,
.card > a,
.national-card > a,
.politics-feature > a,
.politics-mini > a,
.international-item > a,
.sports-feature > a,
.sports-duo > a,
.sports-mini > a,
.three-topic-lead > a,
.three-topic-item > a {
  display: block;
  overflow: hidden;
  position: relative;
}
.hero-lead img,
.hero-side-item img,
.card img,
.national-card img,
.politics-feature img,
.politics-mini img,
.international-item img,
.sports-feature img,
.sports-duo img,
.sports-mini img,
.three-topic-lead img,
.three-topic-item img {
  filter: saturate(1) contrast(1) brightness(1);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.hero-lead > a:hover img,
.hero-side-item > a:hover img,
.card > a:hover img,
.national-card > a:hover img,
.politics-feature > a:hover img,
.politics-mini > a:hover img,
.international-item > a:hover img,
.sports-feature > a:hover img,
.sports-duo > a:hover img,
.sports-mini > a:hover img,
.three-topic-lead > a:hover img,
.three-topic-item > a:hover img {
  transform: scale(1.05);
  filter: saturate(1.2) contrast(1.08) brightness(1.06);
}

@keyframes bp24-shimmer {
  0% { background-position: -220px 0; }
  100% { background-position: 220px 0; }
}

.bp24-skeleton .skel-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ececec 20%, #f7f7f7 50%, #ececec 80%);
  background-size: 440px 100%;
  animation: bp24-shimmer 1.2s infinite linear;
}
.bp24-skeleton .skel-media img,
.bp24-skeleton img.skel-img {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bp24-skeleton .skel-media.is-loaded {
  animation: none;
  background: transparent;
}
.bp24-skeleton .skel-media.is-loaded img,
.bp24-skeleton img.skel-img.is-loaded {
  opacity: 1;
}

.bp24-skeleton .hero-lead h2,
.bp24-skeleton .hero-side-item h3,
.bp24-skeleton .news-list a,
.bp24-skeleton .small-list a {
  color: transparent !important;
  border-radius: 4px;
  background: linear-gradient(90deg, #ececec 20%, #f7f7f7 50%, #ececec 80%);
  background-size: 440px 100%;
  animation: bp24-shimmer 1.2s infinite linear;
}

.container {
  width: min(1220px, 96%);
  margin: 0 auto;
}

.site-header {
  background: var(--bp-header-bg);
}
.header-top-strip {
  background: #111;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
}
.header-top-times {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow-x: auto;
  font-size: 1.12rem !important;
  font-weight: 600;
}
.ht-time {
  font-size: 1.12rem !important;
}
.ht-sep {
  opacity: 0.55;
}
.header-top-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ht-social {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.ht-social svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.ht-social.fb { background: #1877f2; }
.ht-social.yt { background: #ff0000; }
.ht-social.x { background: #000; }
.ht-social.wa { background: #25d366; }
.ht-social.tg { background: #229ed9; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
}
.top-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
}
.top-brand img { max-height: var(--bp-header-logo-h); width: auto; }
.site-title {
  margin: 0;
  font-size: 2rem;
  color: #fff;
}

.main-nav-wrap {
  background: var(--bp-header-bg);
  position: relative;
  z-index: 1000;
  transition: transform 0.28s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.main-nav-wrap.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.main-nav-wrap.is-sticky.is-hidden {
  transform: translateY(-100%);
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  padding: 0;
  list-style: none;
  margin: 0;
  align-items: center;
  overflow: visible;
  justify-content: flex-end;
  flex: 1 1 auto;
  align-self: center;
  height: 108px;
}
.main-nav .menu-item {
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
}
.main-nav a,
.main-nav .menu-item > a,
.main-nav-wrap .main-nav .menu-item > a {
  color: #fff;
  font-size: 22px !important;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 7px;
  border-radius: 0;
  position: relative;
  transition: background-color 0.28s ease, color 0.28s ease;
}
.main-nav a:hover,
.main-nav .menu-item > a:hover,
.main-nav-wrap .main-nav .menu-item > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: #fff;
  color: #000 !important;
}

.offcanvas-backdrop,
.menu-toggle {
  display: none;
}

.home-grid-hero {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 20px;
  margin: 20px 0;
  align-items: start;
}
.hero-lead {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  padding: 0;
  background: transparent;
}
.hero-lead > a {
  display: block;
  height: var(--bp-hero-lead-h);
}
.hero-lead h2 {
  font-size: 30px;
  line-height: 1.35;
  margin: 12px 0 0;
}
.hero-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.hero-side-item {
  border: none;
  padding: 0;
  background: transparent;
}
.hero-side-item h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

@keyframes bp24-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Front page top section staggered load (image + text one by one) */
.home .hero-lead,
.home .hero-side-item {
  opacity: 0;
  animation: bp24-fade-up 0.6s ease forwards;
}
.home .hero-lead { animation-delay: 0.05s; }
.home .hero-side-item:nth-child(1) { animation-delay: 0.2s; }
.home .hero-side-item:nth-child(2) { animation-delay: 0.35s; }
.home .hero-side-item:nth-child(3) { animation-delay: 0.5s; }
.home .hero-side-item:nth-child(4) { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .home .hero-lead,
  .home .hero-side-item {
    opacity: 1;
    animation: none;
  }
}
.hero-lead img,
.hero-side-item img {
  width: 100%;
  object-fit: cover;
}
.hero-lead img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.hero-side-item img {
  height: var(--bp-hero-side-h);
}
.card {
  background: var(--bp-white);
  border: 1px solid var(--bp-border);
  padding: 12px;
}
.card h2, .card h3, .card h4, .card p { margin: 0 0 10px; }
.card h2 { font-size: 1.8rem; line-height: 1.25; }
.card h3 { font-size: 1.25rem; line-height: 1.3; }

/* Fix legacy /home page blocks that use figure background-image */
.card article figure[style*="background-image"] {
  display: block;
  width: 100%;
  min-height: 220px;
  margin: 0 0 12px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.card article figure[style*="background-image"] a {
  display: block;
  width: 100%;
  min-height: 220px;
}
.meta {
  color: var(--bp-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.small-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.small-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--bp-border);
}
.small-list li:last-child { border-bottom: none; }

.latest-strip {
  background: var(--bp-white);
  border: 1px solid var(--bp-border);
  padding: 12px;
  margin-bottom: 20px;
}
.latest-strip h2 {
  margin: 0 0 10px;
  color: var(--bp-red);
  font-size: 1.3rem;
}

.news-section {
  background: var(--bp-white);
  border: 1px solid var(--bp-border);
  margin-bottom: 20px;
  content-visibility: auto;
  contain-intrinsic-size: 780px;
}
.news-section-header {
  border-left: 6px solid var(--bp-red);
  padding: 12px 14px;
  border-bottom: 1px solid var(--bp-border);
}
.news-section-header h3 {
  margin: 0;
  font-size: 1.35rem;
}
.news-section-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  padding: 14px;
}
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--bp-border);
}
.news-list li:last-child { border-bottom: none; }

.news-section-national {
  border: 1px solid var(--bp-border);
  background: var(--bp-white);
}
.national-header {
  background: #ffe1d8;
  border-left: 6px solid #ff5722;
  border-left-color: #ff5722;
  border-top: 1px solid var(--bp-border);
  border-bottom: 1px solid var(--bp-border);
}
.national-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  padding: 15px;
  align-items: start !important;
}
.national-grid > * {
  align-self: start !important;
}
.national-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.national-card a {
  display: block;
  overflow: hidden;
}
.national-card img {
  width: 100%;
  height: var(--bp-national-card-h);
  object-fit: cover;
}
.national-card h4 {
  margin: 8px 0 0;
  font-size: 19px;
  line-height: 1.35;
}

.national-latest {
  padding: 0px 0px 10px;
  border: 1px solid #dedede;
  align-self: start !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
}
.national-latest-title {
	background: #ef4337;
	color: #fff;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 700;
	padding: 8px 10px;
	margin-bottom: 12px;
	border-radius: 0;
	border: 1px solid #dedede;
}
.national-latest ul {
	list-style: none;
	margin: 0;
	padding: 0px 10px;
  max-height: 330px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 6px;
}
.national-latest li {
  padding: 9px 2px;
  border-bottom: 1px dashed #bdbdbd;
  font-size: 1.2rem;
  line-height: 1.45;
}
.national-latest li:last-child {
  border-bottom: none;
}

.politics-section .news-section-header {
  background: #fff0b5;
  border-left: 6px solid #c46500;
  margin-bottom: 12px;
}
.politics-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.75fr;
  gap: 18px;
  padding: 0 14px 14px;
}
.politics-feature img {
  width: 100%;
  height: var(--bp-politics-feature-h);
  object-fit: cover;
}
.politics-feature h4 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  line-height: 1.35;
}
.politics-title-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.politics-title-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #c9c9c9;
  font-size: 1.2rem;
  line-height: 1.4;
}
.politics-title-list li:last-child {
  border-bottom: none;
}
.politics-mini + .politics-mini {
  margin-top: 14px;
}
.politics-mini img {
  width: 100%;
  height: var(--bp-politics-mini-h);
  object-fit: cover;
}
.politics-mini h5 {
  margin: 8px 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.international-section .news-section-header {
  background: #e7f4ff;
  border-left: 6px solid #1e88e5;
  margin-bottom: 10px;
  border-left-color: #1e88e5;
}
.international-onecol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 14px 14px;
}
.international-item {
  border: none;
  padding: 8px;
}
.international-item img {
  width: 100%;
  height: var(--bp-international-h);
  object-fit: cover;
}
.international-item h4 {
  margin: 8px 0 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.sports-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.9fr;
  gap: 18px;
  padding: 0 14px 14px;
}
.sports-feature img {
  width: 100%;
  height: var(--bp-sports-feature-h);
  object-fit: cover;
}
.sports-feature h4 {
  margin: 8px 0 0;
  font-size: 1.35rem;
  line-height: 1.35;
}
.sports-duo + .sports-duo {
  margin-top: 14px;
}
.sports-duo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.sports-duo h5 {
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
}
.sports-mini {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed #cfcfcf;
}
.sports-mini:last-child {
  border-bottom: none;
}
.sports-mini img {
  width: 78px;
  height: 58px;
  object-fit: cover;
}
.sports-mini h6 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}
.sports-section .news-section-header {
  background: #e8f7e8;
  border-left: 6px solid #2e7d32;
  margin-bottom: 12px;
}

.tri-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 16px;
  padding: 0 14px 14px;
}
.tri-big-post img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.tri-big-post h4 {
  margin: 8px 0 0;
  font-size: 1.3rem;
  line-height: 1.35;
}
.tri-list-row {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tri-list-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.tri-list-item h5 {
  margin: 8px 0 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.three-topic-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.three-topic-col {
  border: 1px solid var(--bp-border);
  background: var(--bp-white);
}
.three-topic-col .news-section-header {
  margin: 0;
}
.three-topic-col:nth-child(1) .news-section-header {
  background: #fff4e5;
  border-left: 6px solid #ef6c00;
}
.three-topic-col:nth-child(2) .news-section-header {
  background: #e9f7ef;
  border-left: 6px solid #2e7d32;
}
.three-topic-col:nth-child(3) .news-section-header {
  background: #e8f0ff;
  border-left: 6px solid #3949ab;
}
.three-topic-body {
  padding: 10px;
}
.three-topic-lead img {
  width: 100%;
  height: var(--bp-three-topic-lead-h);
  object-fit: cover;
}
.three-topic-lead h4 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}
.three-topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.three-topic-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px dotted #cfcfcf;
}
.three-topic-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.three-topic-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.three-topic-item h5 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.site-footer {
  background: transparent;
  color: #fff;
  margin-top: 30px;
}
.footer-top-red {
  background: var(--bp-footer-top-bg);
  padding: 26px 0 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
}
.footer-logo-col {
  display: flex;
  justify-content: center;
}
.footer-logo-col img {
  max-height: var(--bp-footer-logo-h);
  width: auto;
}
.footer-site-name {
  margin: 0;
  font-size: 1.4rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
  line-height: 1.3;
}
.footer-links li:last-child {
  border-bottom: none;
}
.footer-links a {
  color: #fff;
}
.footer-bottom-black {
  background: var(--bp-footer-bottom-bg);
  padding: 14px 0;
}
.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-bottom-inner small {
  color: #fff;
  font-size: 1.15rem;
}
.footer-bottom-inner small:last-child {
  text-align: right;
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.social-icon.fb { background: #1877f2; }
.social-icon.yt { background: #ff0000; }
.social-icon.x { background: #000000; }
.social-icon.tiktok { background: #000000; }
.social-icon.wa { background: #25d366; }
.social-icon.tg { background: #229ed9; }
.social-icon.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.social-icon:hover,
.social-icon:focus {
  transform: translateY(-2px);
  filter: brightness(1.15) saturate(1.12);
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1f4fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 9999;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus {
  background: #143de0;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cat-page {
  margin: 20px 0 30px;
}
.cat-page-header {
  border-left: 6px solid #ea4335;
  border-bottom: 1px solid var(--bp-border);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.cat-page-header h1 {
  margin: 0;
  font-size: 2rem;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  border: 1px solid var(--bp-border);
  background: #fff;
  padding: 8px;
}
.cat-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}
.cat-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.cat-thumb-empty {
  background: #efefef;
}
.cat-thumb-wrap:hover .cat-thumb {
  transform: scale(1.06);
  filter: saturate(1.18) contrast(1.05) brightness(1.05);
}
.cat-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #ea4335;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 3px;
}
.cat-title {
  margin: 10px 0 0;
  font-size: 1.18rem;
  line-height: 1.35;
}
.cat-title a {
  transition: color 0.25s ease;
}
.cat-title a:hover,
.cat-title a:focus {
  color: #EA4335 !important;
}
.cat-pagination {
  margin-top: 20px;
  text-align: center;
}
.cat-pagination .page-numbers {
  display: inline-block;
  border: 1px solid var(--bp-border);
  padding: 6px 10px;
  margin-right: 6px;
}

.single-layout-wrap {
  margin: 20px 0 30px;
}
.single-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 20px;
  align-items: start;
}
.single-article {
  border: 1px solid var(--bp-border);
  background: #fff;
  padding: 16px;
}
.single-cat {
  display: inline-block;
  background: #ea4335;
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 3px;
}
.single-title {
  margin: 10px 0 8px;
  font-size: 2rem;
  line-height: 1.3;
}
.single-meta {
  color: var(--bp-muted);
  font-size: 0.95rem;
}
.single-meta-share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--bp-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.single-meta-cat:hover,
.single-meta-cat:focus {
  color: #ea4335;
}
.single-share {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}
.share-btn {
  display: inline-block;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
}
.share-btn.fb { background: #1877f2; }
.share-btn.x { background: #000; }
.share-btn.wa { background: #25d366; }
.share-btn.tg { background: #229ed9; }
.single-thumb-wrap {
  margin: 14px 0;
}
.single-thumb {
  width: 100%;
  height: auto;
}
.single-content {
  font-size: 1.1rem;
  line-height: 1.75;
}
.single-content p {
  margin: 0 0 14px;
}
.single-sidebar-box {
  border: 1px solid #dedede;
  background: #fff;
}
.single-sidebar-title {
  margin: 0;
  background: #ef4337;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 1.5rem;
}
.single-latest-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  max-height: 330px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.single-latest-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #cfcfcf;
  font-size: 1.05rem;
  line-height: 1.4;
}
.single-latest-list li:last-child {
  border-bottom: none;
}
.single-latest-list a:hover,
.single-latest-list a:focus {
  color: #ea4335;
}
.related-posts {
  margin-top: 22px;
  border: 1px solid var(--bp-border);
  background: #fff;
  padding: 12px;
}
.related-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  border-left: 4px solid #ea4335;
  padding-left: 8px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related-card a {
  display: block;
  overflow: hidden;
}
.related-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.related-thumb-empty {
  background: #efefef;
}
.related-card h4 {
  margin: 8px 0 0;
  font-size: 0.98rem;
  line-height: 1.35;
}
.related-card h4 a:hover,
.related-card h4 a:focus {
  color: #ea4335;
}

.single-comments {
  margin-top: 22px;
  border-top: 1px solid var(--bp-border);
  padding-top: 14px;
}
.single-comments-title,
.single-comments .comment-reply-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  border-left: 4px solid #ea4335;
  padding-left: 8px;
}
.single-comments .comment-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.single-comments .comment {
  border: 1px solid var(--bp-border);
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}
.single-comments .comment-meta {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--bp-muted);
}
.single-comments .comment-author img {
  border-radius: 50%;
  margin-right: 8px;
}
.single-comments .comment-content p {
  margin: 0;
  line-height: 1.6;
}
.single-comments .comment-form p {
  margin: 0 0 10px;
}
.single-comments .comment-respond {
  background: #fafafa;
  border: 1px solid #ececec;
  padding: 14px;
  border-radius: 6px;
}
.single-comments .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.single-comments .comment-form-comment,
.single-comments .form-submit,
.single-comments .comment-notes,
.single-comments .comment-form-cookies-consent,
.single-comments .logged-in-as {
  grid-column: 1 / -1;
}
.single-comments .comment-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
}
.single-comments .comment-form input[type=\"text\"],
.single-comments .comment-form input[type=\"email\"],
.single-comments .comment-form input[type=\"url\"],
.single-comments .comment-form textarea {
  width: 100%;
  border: 1px solid #d5dbe1;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.single-comments .comment-form input[type=\"text\"]:focus,
.single-comments .comment-form input[type=\"email\"]:focus,
.single-comments .comment-form input[type=\"url\"]:focus,
.single-comments .comment-form textarea:focus {
  outline: none;
  border-color: #ea4335;
  box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.12);
}
.single-comments .comment-form textarea {
  min-height: 130px;
  resize: vertical;
}
.single-comments .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}
.comment-submit-btn {
  background: linear-gradient(180deg, #ef5447 0%, #ea4335 100%);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
}
.comment-submit-btn:hover,
.comment-submit-btn:focus {
  background: #cf362a;
}

.page-layout-wrap {
  margin: 20px 0 30px;
}
.page-article {
  border: 1px solid var(--bp-border);
  background: #fff;
  padding: 16px;
}
.page-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.3;
}
.page-meta {
  margin-top: 8px;
  color: var(--bp-muted);
  font-size: 0.95rem;
}
.page-thumb-wrap {
  margin: 14px 0;
}
.page-thumb {
  width: 100%;
  height: auto;
}
.page-content {
  font-size: 1.06rem;
  line-height: 1.75;
}
.page-content p {
  margin: 0 0 14px;
}
.page-links {
  margin-top: 16px;
  font-size: 0.95rem;
}
.page-links span {
  font-weight: 700;
}

@media (max-width: 980px) {
  main.container img {
    height: auto !important;
    max-height: 150px;
  }
  .home-grid-hero, .news-section-grid { grid-template-columns: 1fr; }
  .politics-grid { grid-template-columns: 1fr; }
  .politics-feature img,
  .politics-mini img { height: auto !important; }
  .sports-grid { grid-template-columns: 1fr; }
  .sports-feature img,
  .sports-duo img { height: auto; }
  .sports-mini {
    grid-template-columns: 86px 1fr;
  }
  .tri-grid,
  .tri-list-row { grid-template-columns: 1fr; }
  .tri-list-row { grid-column: auto; }
  .tri-big-post img,
  .tri-list-item img { height: auto; }
  .three-topic-row { grid-template-columns: 1fr; }
  .three-topic-lead img { height: auto; width: 100%; }
  .three-topic-item {
    grid-template-columns: 72px 1fr;
    align-items: center;
  }
  .three-topic-item > a {
    width: 72px !important;
    height: 72px !important;
  }
  .three-topic-item img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
  }
  .international-onecol { grid-template-columns: 1fr; }
  .international-item img { height: auto !important; }
  .national-grid,
  .national-cards { grid-template-columns: 1fr; }
  .national-card img { height: auto; }
  .national-header h3,
  .national-latest-title { font-size: 1.5rem; }
  .hero-side-grid { grid-template-columns: 1fr; }
  .hero-lead > a { height: auto; }
  .hero-side-item img { height: auto; }
  .hero-lead h2 { font-size: 24px; }
  .hero-side-item h3 { font-size: 18px; }
  .header-inner {
    min-height: auto;
    padding: 8px 0;
    gap: 12px;
  }
  .header-top-inner {
    min-height: 36px;
  }
  .header-top-times {
    font-size: 0.95rem !important;
  }
  .ht-time {
    font-size: 0.95rem !important;
  }
  .ht-social {
    width: 21px;
    height: 21px;
    font-size: 10px;
  }
  .top-brand img { max-height: 58px; }
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #111;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
    position: relative;
    z-index: 1305;
    pointer-events: auto;
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    width: 20px;
    height: 2px;
    background: currentColor;
    display: block;
    content: "";
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle span::before { transform: translateY(-6px); }
  .menu-toggle span::after { transform: translateY(4px); }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--bp-header-bg);
    z-index: 1200;
    padding: 72px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform .26s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .main-nav .menu-item {
    height: auto;
  }
  .main-nav a,
  .main-nav .menu-item > a,
  .main-nav-wrap .main-nav .menu-item > a {
    font-size: 20px !important;
    height: auto;
    padding: 12px 10px;
    display: block;
  }
  body.menu-open .main-nav-wrap {
    z-index: 1300;
  }
  body.menu-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1150;
  }
  body.menu-open .offcanvas-backdrop {
    display: block;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col h4 { font-size: 1.5rem; }
  .footer-links li { font-size: 1.15rem; }
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-bottom-inner small { font-size: 1.1rem; }
  .footer-bottom-inner small:last-child { text-align: left; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-thumb { height: auto; }
  .single-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-thumb { height: auto; }
  .single-comments .comment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1220px, 94%);
  }
  .single-title,
  .page-title {
    font-size: 1.55rem;
  }
  .hero-lead h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .single-sidebar-title,
  .national-latest-title {
    font-size: 1.2rem !important;
  }
  .related-title,
  .single-comments-title,
  .single-comments .comment-reply-title {
    font-size: 1.12rem;
  }
  .single-content,
  .page-content {
    font-size: 1rem;
    line-height: 1.65;
  }
  .footer-top-red {
    padding: 20px 0 12px;
  }
}

@media (max-width: 1200px) and (min-width: 981px) {
  .international-onecol {
    grid-template-columns: repeat(3, 1fr);
  }
  .sports-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}

