/*
Theme Name: NewsMedia
Theme URI: https://example.com/newsmedia
Author: NewsMedia
Author URI: https://example.com
Description: Custom news portal theme with premium hero layout, trending slider, and vertical video reports.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsmedia
*/

:root {
  --bg: #f8f6f5;
  --surface: #ffffff;
  --surface-strong: #f4f0ef;
  --border: #e4dbd9;
  --text: #111111;
  --muted: #6f6b6a;
  --accent: #d9202a;
  --accent-soft: #ffe6e8;
  --accent-strong: #ac0710;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.08);
  --radius: 24px;
}

html,
body {
  width: 100%;
  min-width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.topbar {
  width: 100%;
  background: #111111;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.topbar-contact a,
.topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.topbar-social a:hover,
.topbar-social a:focus {
  background: var(--accent);
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header .header-inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 420px) max-content;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.site-branding {
  min-width: 0;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.primary-nav,
.header-right {
  min-width: 0;
}


.primary-nav {
  display: flex;
  justify-content: center;
}

.primary-menu {
  list-style: none;
  margin: 0;
  .video-card h3 {
    font-weight: bold;
  }
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.primary-menu li {
  min-width: 0;
}

.primary-menu li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-menu li a:hover,
.primary-menu li a:focus {
  background: rgba(217, 32, 42, 0.08);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

/* In-menu CTA (inside .primary-nav) is mobile-only */
.primary-nav .header-cta { display: none; }

.header-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.btn-subscribe {
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(217, 32, 42, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-subscribe:hover,
.btn-subscribe:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(217, 32, 42, 0.22);
}

.mobile-menu-button {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-menu-button span::before {
  transform: translateY(-7px);
}

.mobile-menu-button span::after {
  transform: translateY(5px);
}

.mobile-menu-button.active span {
  transform: rotate(45deg);
}

.mobile-menu-button.active span::before {
  transform: rotate(90deg) translateX(0);
}

.mobile-menu-button.active span::after {
  opacity: 0;
}

.hero {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

.btn-login {
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-subscribe {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(217,32,42,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr);
  gap: 28px;
}

.hero-card,
.side-card,
.feature-card,
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
  display: grid;
  gap: 28px;
}

.hero-eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 2.7vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .slider-inner {
  display: block;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

  .button {
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.post-sharing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 32, 42, 0.12);
  border-radius: 999px;
  background: rgba(217, 32, 42, 0.05);
}

.post-sharing-label {
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-share-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.post-share-link--facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.15);
}

.post-share-link--x {
  color: #000;
  border-color: rgba(17, 17, 17, 0.15);
}

.post-share-link--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.2);
}

.post-share-link--linkedin {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.15);
}

.post-share-link--copy {
  color: var(--accent-strong);
  border-color: rgba(217, 32, 42, 0.15);
}

.post-share-link.is-copied {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.share-warning {
  background: #fff7f7;
  border: 1px solid rgba(217,32,42,0.06);
  color: var(--accent-strong);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.post-share-link--native {
  background: linear-gradient(135deg, #f6faff, #e9f3ff);
  border-color: rgba(10,102,194,0.08);
  color: #0a66c2;
}

/* Recent headlines full-width dark section */
.recent-headlines-fullwidth {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: #f7f8fb;
  color: var(--text);
  padding: 48px 0 54px;
  overflow: hidden;
}

.recent-headlines-fullwidth::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.85), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(217,32,42,0.08), transparent 18%);
}

.recent-headlines-inner {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

.recent-headlines-fullwidth .recent-headlines-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.recent-headlines-fullwidth .recent-headlines-header .label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17,18,26,0.08);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-headlines-fullwidth .recent-headlines-header h2 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--text);
}

.hero-service-cta h1,
.recent-headlines-fullwidth .recent-headlines-header h2,
.customer-header h2,
.about-hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.08;
}

.recent-headlines-fullwidth .headline-item-card {
  background: #ffffff;
  border: 1px solid rgba(17,18,26,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  padding: 22px;
  color: var(--text);
}

.recent-headlines-fullwidth .headline-item-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 22px;
}

.recent-headlines-fullwidth .headline-item-title {
  color: var(--text);
}

.recent-headlines-fullwidth .headline-item-excerpt {
  color: var(--muted);
}

.recent-headlines-fullwidth .headline-item-actions {
  gap: 10px;
}

.recent-headlines-fullwidth .button.button-primary {
  background: var(--text);
  color: #fff;
}

.recent-headlines-fullwidth .button.button-secondary {
  background: rgba(17,18,26,0.08);
  color: var(--text);
  border: 1px solid rgba(17,18,26,0.12);
}

.recent-headlines-fullwidth .share-icon {
  border-color: rgba(17,18,26,0.12);
  background: rgba(17,18,26,0.05);
  color: var(--text);
}

.recent-headlines-fullwidth .share-icon:hover,
.recent-headlines-fullwidth .share-icon:focus {
  background: rgba(17,18,26,0.1);
}

.recent-headlines-fullwidth .headline-item-share-group {
  justify-content: flex-end;
}

.recent-headlines-fullwidth .recent-headlines-empty {
  color: var(--muted);
  padding: 18px 0;
}

/* Headline list two-column layout */
.headline-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.headline-item-main {
  display: flex;
  flex-direction: column;
}

.headline-item-title {
  display: block;
  margin: 0 0 6px 0;
  font-weight: 700;
  color: var(--text);
}

.headline-item-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.headline-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.headline-item-button {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.headline-item-share {
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(17,18,26,0.06);
  color: var(--muted);
}

.headline-item-share-group,
.post-sharing-icon-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(17,18,26,0.12);
  background: #fff;
  color: var(--text);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.share-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

.share-icon svg path,
.share-icon svg circle,
.share-icon svg rect,
.share-icon svg polygon,
.share-icon svg line,
.share-icon svg polyline {
  fill: currentColor;
  stroke: currentColor;
}

.share-icon--facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.12);
}

.share-icon--x {
  color: #000;
  background: rgba(0, 0, 0, 0.06);
}

.share-icon--whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.share-icon--copy {
  color: var(--accent-strong);
  background: rgba(220, 33, 40, 0.08);
}

.share-icon:hover,
.share-icon:focus {
  background: rgba(217, 32, 42, 0.1);
  border-color: rgba(217, 32, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.post-sharing-icon-group,
.headline-item-share-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 768px) {
  .share-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .share-icon svg {
    width: 22px;
    height: 22px;
  }

  .post-sharing-icon-group,
  .headline-item-share-group {
    gap: 12px;
  }
}

.share-icon--facebook {
  color: #1877f2;
}

.share-icon--x {
  color: #000;
}

.share-icon--whatsapp {
  color: #25d366;
}

.share-icon--copy {
  color: var(--accent-strong);
}

  .about-hero-buttons .button {
  padding: 14px 32px;
}

  .button.button-primary {
  background: linear-gradient(135deg, #dc2128, #ff5555);
  color: #fff;
  box-shadow: 0 18px 40px rgba(220, 33, 40, 0.18);
}

  .button.button-primary:hover,
  .about-hero-buttons .button.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(220, 33, 40, 0.25);
}

  .button.button-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-strong);
  border: 1px solid rgba(217, 32, 42, 0.2);
  box-shadow: 0 12px 28px rgba(17, 18, 26, 0.08);
}

  .button.button-secondary:hover,
  .about-hero-buttons .button.button-secondary:hover {
  background: #fff;
  border-color: rgba(217, 32, 42, 0.3);
  box-shadow: 0 16px 34px rgba(17, 18, 26, 0.12);
  transform: translateY(-2px);
  border: 1px solid rgba(17,18,26,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}


.headline-item-title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  flex: 1 1 auto;
}

.headline-item-button {
  margin-top: 0;
  padding: 10px 18px;
  white-space: nowrap;
}

.headline-item-excerpt {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-section {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.about-hero-copy {
  display: grid;
  gap: 22px;
}

.about-eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.about-hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-hero-image {
  position: relative;
  height: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #fff;
}

.about-hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-feature-panel {
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  margin-top: 32px;
}


.about-feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-feature-item {
  padding: 28px 24px;
  display: grid;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.about-feature-item + .about-feature-item {
  border-left: 1px solid var(--border);
}

.about-feature-icon,
.about-metric-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin: 0 auto;
}

.about-feature-item h3 {
  margin: 0;
  font-size: 1rem;
}

.about-feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-metrics-panel {
  margin-top: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f1d38 0%, #101f43 100%);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-metric {
  padding: 28px 24px;
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  color: #f6f8ff;
}

.about-metric + .about-metric {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.about-metric strong {
  display: block;
  font-size: 1.55rem;
  color: #ffffff;
}

.about-metric span {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.customer-section {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.customer-header {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.customer-header .label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217, 32, 42, 0.12);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.customer-intro {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 28px;
}

.customer-testimonials {
  display: grid;
  gap: 18px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(17, 18, 26, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
  font-size: 0.98rem;
}

.testimonial-card strong {
  display: block;
  font-size: 1rem;
  margin-top: 8px;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.choose-us-panel {
  display: grid;
  gap: 20px;
}

.choose-us-panel h3 {
  margin: 0;
  font-size: 1.45rem;
}

.choose-us-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.choose-us-list li {
  background: rgba(217, 32, 42, 0.05);
  border-radius: 20px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
}

.choose-us-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(217, 32, 42, 0.12);
  color: var(--accent-strong);
}

.choose-us-icon svg {
  width: 22px;
  height: 22px;
}

.choose-us-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.choose-us-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-width: 0;
}

.hero-slider .slider-inner {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
}

  .slide-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
    color: #fff;
    display: grid;
  }

.slide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.68) 45%, rgba(0,0,0,0.88) 100%);
}

.slide-card img {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.96;
}

.slide-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  gap: 12px;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.75) 100%);
}

.slide-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
}

.slide-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.slide-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.85rem;
}
.hero-slider-nav {
  display: flex;
  gap: 12px;
}

.hero-slider button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.hero-slider button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero__right {
  display: grid;
  gap: 24px;
}

.side-card,
.feature-card {
  padding: 24px;
}

.side-card h2,
.feature-card h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.side-posts {
  display: grid;
  gap: 16px;
}

.side-post {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.side-post img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 18px;
}

.report-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
  background: rgba(17,18,26,0.04);
}

.report-thumb--placeholder {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.report-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17,18,26,0.08);
}

.report-item:last-child {
  border-bottom: none;
}

.report-item-title {
  color: inherit;
  text-decoration: none;
}

.report-item-meta {
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 4px;
}

.side-post h3 {
  margin: 0;
  font-size: 0.96rem;
}

.side-post span {
  color: var(--muted);
  font-size: 0.85rem;
}

.feature-card .video-preview {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 210px;
}

/* Single post and archive styles */
.site-main.site-container {
  max-width: 1380px;
  margin: 36px auto;
  padding: 0 28px;
}

.single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.single-content .post-single {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.post-featured img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 18px;
}

.post-header .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.post-place,
.post-publisher {
  display: inline-flex;
  align-items: center;
}

.post-title {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.12;
}

.post-content {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.post-content img,
.post-content iframe,
.post-content embed,
.post-content video,
.post-content object,
.post-content .wp-block-image,
.post-content .wp-block-embed,
.post-content figure {
  max-width: 100%;
  margin: 24px auto;
  display: block;
}

.post-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.post-content iframe,
.post-content embed,
.post-content video,
.post-content object {
  width: 100%;
  height: auto;
  min-height: 320px;
}

.post-content .wp-block-image img,
.post-content .wp-block-embed figcaption,
.post-content figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.single-sidebar .widget {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.single-sidebar .widget h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.single-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.single-sidebar .widget li { margin-bottom: 8px; }

.subscribe-form { display:flex; gap:8px; }
.subscribe-form input { flex:1; padding:8px 10px; border:1px solid var(--border); border-radius:8px; }

.related-posts { margin-top:28px; }
.related-list { display:flex; gap:12px; }
.related-item { width:33%; }
.related-item img { width:100%; height:72px; object-fit:cover; border-radius:8px; }
.related-item h4 { font-size:0.95rem; margin:8px 0 0; }

/* Archive styles */
.archive-header { margin-bottom:18px; }
.archive-title { font-size:2rem; margin:0 0 10px; line-height:1.12; }
.archive-description { max-width: 720px; margin: 0 0 20px; color: var(--muted); }
.archive-list { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:20px; }
.archive-item { display:flex; gap:18px; background: var(--surface); border:1px solid var(--border); padding:16px; border-radius:16px; align-items:flex-start; }
.archive-thumb img { width:140px; height:100px; object-fit:cover; border-radius:12px; flex-shrink:0; }
.archive-content { flex:1; display:flex; flex-direction:column; gap:10px; }
.archive-item-title { margin:0; font-size:1.05rem; }
.archive-item-title a { color: inherit; text-decoration:none; }
.archive-item-title a:hover { text-decoration:underline; }
.archive-item-meta { font-size:0.92rem; color: var(--muted); }
.archive-excerpt { color:var(--muted); margin:0; }
.pagination { margin-top:28px; display:flex; justify-content:center; }

@media (max-width: 900px) {
  .archive-list { grid-template-columns: 1fr; }
  .archive-item { flex-direction: column; }
  .archive-thumb img { width:100%; height:180px; }
}

@media (max-width: 600px) {
  .archive-title { font-size:1.75rem; }
  .archive-header { margin-bottom:16px; }
  .archive-item { padding:14px; gap:14px; }
  .archive-thumb img { height:160px; }
  .archive-item-title { font-size:1rem; }
  .archive-item-meta { font-size:0.85rem; }
}

/* Sidebar search, recent separators, and comment form polishing */
.widget-search .search-form,
.widget-search form.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.widget-search .search-field,
.widget-search input[type="search"],
.search-field {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.widget-search .search-submit,
.widget-search button.search-submit,
.search-submit {
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.widget-search .search-submit:hover { background: var(--accent-strong); }

.widget-recent ul { margin: 0; padding: 0; list-style: none; }
.widget-recent li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.widget-recent li:last-child { border-bottom: none; padding-bottom: 0; }

/* Comment form */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
}

.comment-form textarea { min-height: 140px; resize: vertical; }

.comment-form .form-submit input[type="submit"],
.comment-form .form-submit button,
#submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}
.comment-form .form-submit input[type="submit"]:hover,
.comment-form .form-submit button:hover,
#submit:hover { background: var(--accent-strong); }

.comment-form label { display:block; margin-bottom:6px; color:var(--muted); }


.feature-card .video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
}

.feature-card .video-preview img,
.summary-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .video-preview .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
}

.feature-card .video-preview .play-button::before {
  content: "";
  display: inline-block;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--accent-strong);
}

.summary-card {
  padding: 24px;
}

.summary-card h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.summary-card .summary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid #f1ecec;
}

.summary-card .summary-item:first-child {
  border-top: none;
}

.summary-card .summary-item span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.summary-card .summary-item .summary-text {
  display: grid;
  gap: 6px;
}

.summary-card .summary-text h3 {
  margin: 0;
  font-size: 0.95rem;
}

.summary-card .summary-text span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Three-column homepage layout adjustments */
.site-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 32px 80px;
}

/* Text-based logo styling */
.site-branding .site-title { display:inline-block; }
.site-logo-text { display:flex; flex-direction:column; line-height:1; }
.logo-main { font-weight:900; font-size:1.1rem; letter-spacing:0.02em; display:inline-flex; align-items:center; gap:8px; color:var(--text); }
.logo-square { background:var(--accent); color:#fff; padding:6px 10px; border-radius:6px; font-weight:900; display:inline-block; }
.logo-tagline { font-size:0.82rem; color:var(--muted); margin-top:4px; font-weight:700; }

  .home-grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 1.2fr) 300px;
    gap: 22px;
    align-items: stretch;
    grid-auto-rows: 1fr;
  }

  .home-grid > * {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

.left-nav,
.center-hero,
.right-columns {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.left-nav {
  background: transparent;
  padding: 8px 4px;
}

.left-nav .nav-list {
  display: grid;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.center-hero {
  min-height: 0;
}

.hero-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.hero-slider {
  flex: 1;
  min-height: 0;
}

.right-columns {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.video-card {
  flex: 0;
  min-height: 0;
}


.left-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
 }
 
 .left-nav a:hover {
   background: rgba(217, 32, 42, 0.08);
   border-color: rgba(217, 32, 42, 0.16);
   color: var(--accent-strong);
 }
 
 .nav-icon {
   width: 30px;
   height: 30px;
   flex: 0 0 30px;
   object-fit: contain;
   background: transparent;
   padding: 0;
 }

/* Compact left navigation: slightly smaller type and tighter spacing */
.left-nav .nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.95rem;
  line-height: 1.2;
  border-radius: 12px;
}
.left-nav .nav-list a .nav-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}
 
  .left-nav a img { display: block; }

.center-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.center-hero .hero-slider {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.hero-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 18px;
}

.right-columns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  justify-content: space-between;
  align-items: stretch;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.right-columns .video-card:first-child {
  flex: 1;
}

.right-columns .video-card:last-child {
  flex: 0 1 auto;
}

.video-card h3 {
  margin: 0;
  font-size: 1.18rem; /* restored slightly larger for right-column headings */
  line-height: 1.28;
}

.video-card > div {
  min-height: 0;
}

/* Compact styles for right-column report list to reduce height */
.right-columns .report-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 6px 0;
}
.right-columns .report-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 64px;
}
.right-columns .report-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.right-columns .report-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.right-columns .report-item-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Explore-more button inserted after 5th report item */
.report-explore-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 6px;
}
.report-explore-btn {
  padding: 8px 14px;
  font-size: 0.95rem;
  border-radius: 999px;
}

/* Global heading scale: reduce h1/h2 sizes slightly for a tighter layout */
h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.06;
}
h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  line-height: 1.18;
}

/* Category reports grid inside center column */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.category-item {
  background: var(--surface-strong);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #f3eaea;
}

/* ============================================================
   RESPONSIVE  (single consolidated set of breakpoints)
   1100 (tablet) -> 768 (mobile) -> 480 (small phone)
   No duplicate media queries. Only real theme classes are
   targeted, so the desktop layout is preserved as-is.
   ============================================================ */

/* ---------- Tablet / small desktop (<= 1100px) ---------- */
@media (max-width: 1100px) {
  /* Homepage: single column. LEFT NAV becomes an INLINE
     horizontal scroller placed ABOVE the hero; right rail hidden. */
  .home-grid { grid-template-columns: 1fr; grid-auto-rows: auto; align-items: start; }
  .right-columns { display: none; }

  .center-hero { order: 2; }
  .left-nav {
    order: 1;
    width: 100%;
    padding: 0;
    background: transparent;
    display: block;
  }
  .left-nav .nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .left-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 14px;
  }

  /* Hero slider contained on tablets */
  .hero-slider,
  .center-hero .hero-slider { min-height: 0; }
  .slider-inner { display: block; }
    .slide-card { min-height: 0; aspect-ratio: 16 / 9; }

  /* Inline 2-col headlines grid collapses (inline-styled) */
  .recent-headlines-fullwidth > div:first-child { flex-direction: column; align-items: stretch; }
  .recent-headlines-fullwidth [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }

  /* About + trending panels stack */
  .about-hero,
  .about-feature-row,
  .about-metrics { grid-template-columns: 1fr; }
  .about-feature-item + .about-feature-item,
  .about-metric + .about-metric { border-left: none; border-top: 1px solid var(--border); }
  .trending-content { grid-template-columns: 1fr; }

  /* Single + archive: sidebar below, items stack */
  .single-grid { grid-template-columns: 1fr; gap: 22px; }
  .single-content { order: 1; }
  .single-sidebar { order: 2; }
  .archive-list { grid-template-columns: 1fr; }
  .archive-item { flex-direction: column; padding: 14px; gap: 12px; }
  .archive-thumb,
  .archive-thumb img { width: 100%; height: auto; border-radius: 8px; }
}

/* ---------- Mobile (<= 768px) ---------- */
@media (max-width: 768px) {
  .site-container { padding: 16px 12px 28px; }
  .hero { padding: 20px 16px 40px; }

  /* Header: simple row -> [logo LEFT] [hamburger RIGHT].
     Nav links + CTA both live INSIDE the toggle menu. */
  .site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .header-left {
    flex: 0 1 auto;
    min-width: 0;
    flex-direction: row;
    align-items: center;
  }

  /* hamburger on the right, always visible on mobile */
  .mobile-menu-button {
    display: inline-flex;
    flex: 0 0 auto;
    order: 3;
  }

  /* inline row CTA hidden on mobile; the in-menu CTA
     (.header-cta, inside .primary-nav) is used instead */
  .header-right {
    display: none;
    order: 2;
    flex: 1 0 100%;
    width: 100%;
    justify-content: stretch;
  }

  /* Nav + CTA panel drops full-width BELOW the row */
  .primary-nav {
    display: flex;
    flex-direction: column;
    flex: 1 0 100%;
    width: 100%;
    order: 4;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 250ms ease, opacity 250ms ease;
  }
  .primary-nav.active {
    max-height: 100vh;
    opacity: 1;
  }
  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .primary-menu li { width: 100%; }
  .primary-menu li a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.94rem;
    color: var(--text) !important;
    border-radius: 14px;
    background: var(--surface);
  }
  .primary-menu li a:hover { background: var(--accent-soft); }

  /* CTA sits BELOW the menu list, inside the same panel */
  .primary-nav.active .header-cta {
    display: flex;
    width: 100%;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .header-cta .btn-subscribe {
    width: 100%;
    justify-content: center;
  }
  .primary-nav:not(.active) .header-cta { display: none; }

  /* Text logo */
  .site-branding .site-title { align-items: flex-start; }
  .logo-main { font-size: 1rem; }
  .logo-tagline { font-size: 0.76rem; }
  .site-logo { height: 44px; }

  /* Homepage single column; LEFT NAV = inline horizontal
     scroller shown ABOVE the hero (order 1), full width. */
  .home-grid { grid-template-columns: 1fr; grid-auto-rows: auto; align-items: start; }
  .left-nav,
  .center-hero,
  .right-columns { width: 100%; }
  .left-nav {
    order: 1;
    padding: 0;
    background: transparent;
    display: block;
  }
  .center-hero { order: 2; }
  .right-columns { order: 3; display: block; }
  .left-nav .nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
  }
  .left-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    white-space: nowrap;
    border-radius: 14px;
  }

  /* Hero card + slider */
  .hero-card { padding: 18px; gap: 20px; }
  .hero-eyebrow { padding: 8px 12px; font-size: 0.8rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-description { font-size: 0.95rem; max-width: 100%; }
  .hero-slider,
  .center-hero .hero-slider { min-height: 0; }
  .slider-inner { display: block; }
    .slide-card { min-height: 0; aspect-ratio: 16 / 9; }
  .slide-card-content { padding: 16px; }
  .slide-card h3 { font-size: 1.05rem; }
  .slide-card p { font-size: 0.9rem; }

  .hero-service-cta { padding: 20px !important; }
  .hero-service-cta h2 { font-size: 1.5rem !important; }

  /* Recent headlines */
  .recent-headlines-fullwidth { padding: 0; }
  .recent-headlines-fullwidth > div:first-child { flex-direction: column; align-items: stretch; }
  .recent-headlines-fullwidth [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }
  .recent-headlines-cta { width: 100%; justify-content: center; }
  .headline-item-row { flex-direction: column; align-items: stretch; }
  .headline-item-button { width: 100%; margin-top: 12px; }

  /* About */
  .about-section { padding: 24px; }
  .about-hero { gap: 24px; }
  .about-hero-buttons { flex-direction: column; align-items: stretch; }
  .about-hero-buttons .button { width: 100%; justify-content: center; }
  .about-hero-image { min-height: 220px; }

  /* Trending */
  .trending-news { padding: 24px 18px; }
  .trending-header { flex-direction: column; align-items: stretch; }
  .trending-content { gap: 18px; }
  .news-card.large { min-height: 360px; }
  .news-card-content { padding: 20px; }
  .news-card-content h3 { font-size: 1.3rem; }
  .news-card-actions { flex-direction: column; align-items: stretch; }
  .news-card-actions .button { width: 100%; justify-content: center; }

  /* CTA buttons everywhere */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; justify-content: center; min-width: 0; }

  /* Single post + archive */
  .site-main.site-container { margin: 20px auto; padding: 0 14px; }
  .single-grid { grid-template-columns: 1fr; gap: 22px; }
  .single-content { order: 1; }
  .single-sidebar { order: 2; }
  .single-content .post-single { padding: 18px; }
  .post-title { font-size: 1.55rem; }
  .post-header .post-meta { flex-wrap: wrap; font-size: 0.85rem; }
  .post-content { font-size: 1rem; }
  .post-sharing {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .post-sharing-label {
    margin-bottom: 0;
  }
  .post-sharing-icon-group {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  .post-share-link,
  .share-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .post-share-link {
    padding: 0;
  }
  .post-content iframe,
  .post-content embed,
  .post-content video,
  .post-content object {
    min-height: 220px;
  }
  .post-footer { flex-direction: column; align-items: flex-start; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input { width: 100%; }

  .archive-header { margin-bottom: 14px; }
  .archive-title { font-size: 1.5rem; }
  .archive-list { grid-template-columns: 1fr; }
  .archive-item { flex-direction: column; padding: 14px; gap: 12px; }
  .archive-thumb,
  .archive-thumb img { width: 100%; height: auto; border-radius: 8px; }
  .archive-item-title { font-size: 1rem; }
  .archive-item-meta { font-size: 0.85rem; }
  .archive-excerpt { font-size: 0.9rem; }
  .pagination { flex-wrap: wrap; }

  .site-footer { padding: 24px 16px; }
}

/* ---------- Small phones (<= 480px) ---------- */
@media (max-width: 480px) {
  .site-container { padding: 14px 10px 24px; }
  .hero { padding: 16px 12px 32px; }
  .hero-card { padding: 16px; gap: 16px; }
    .slide-card { aspect-ratio: 16 / 9; }
  .slide-card-content { padding: 14px; }
  .slide-card p { display: none; }

  .button { min-width: 0; width: 100%; justify-content: center; }

  .about-section { padding: 18px; }
  .about-hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }

  .trending-news { padding: 18px 12px; }
  .news-card-content { padding: 16px; }

  .site-main.site-container { padding: 0 10px; }
  .single-content .post-single { padding: 14px; border-radius: 10px; }
  .post-sharing {
    padding: 12px 14px;
    gap: 10px;
  }
  .post-sharing-icon-group {
    gap: 8px;
  }
  .post-share-link,
  .share-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .post-share-link svg,
  .share-icon svg {
    width: 18px;
    height: 18px;
  }
  .post-title { font-size: 1.35rem; }
  .archive-item { padding: 12px; }
  .archive-excerpt { font-size: 0.85rem; }
}

