/* Civak Media / Kurdish Europe News conversion for CIVAKMEDIA */
:root {
  --news-blue: #145da0;
  --news-blue-dark: #0b3d6e;
  --news-red: #e85d3f;
  --news-green: #159447;
  --news-yellow: #f4b400;
  --news-ink: #102239;
  --news-muted: #5d6b7c;
  --news-bg: #f7f6f3;
  --news-surface: #ffffff;
  --news-soft: #edf3f8;
  --news-border: #dde4eb;
  --news-shadow: 0 14px 36px rgba(7, 28, 51, .08);
  --news-radius: 16px;
  --font-kurdish-body: "Noto Sans Arabic", "Noto Naskh Arabic", sans-serif;
  --font-kurdish-display: "Noto Kufi Arabic", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  direction: rtl;
  text-align: right;
  color: var(--news-ink);
  background: var(--news-bg) !important;
  font-family: var(--font-kurdish-body), Tahoma, Arial, sans-serif !important;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Remove store-only UI defensively even if a component is re-enabled later. */
.cart,
.currency-selector,
.nav-item.user,
#customer-login-modal,
.product-form,
.stock-indicator,
.notification-container,
.products .price,
.products .stock,
.news-card .price,
.news-card .stock,
[data-component-id="product-page"] form[action*="cart"],
[data-component-id="product-page"] [x-data*="product"] .btn-buy,
[data-component-id="product-page"] .payment-methods { display: none !important; }

.bg-image { opacity: .025 !important; filter: grayscale(1); }
.flex-wrapper { min-height: 100vh; }
header.sticky-top { z-index: 1035; box-shadow: 0 1px 0 var(--news-border); }
.component { color: var(--news-ink); }
.text-muted { color: var(--news-muted) !important; }
a { color: inherit; }

/* Kurdish editorial typography: Kufi for interface/headlines, Naskh for reading text */
.news-nav-links,
.news-search-form,
.news-search-button,
.news-section-heading,
.news-category-tabs,
.news-category-label,
.news-read-more,
.news-archive-header,
.news-empty-state h1,
.news-empty-state h2,
.news-card-title,
.news-lead-content h2,
.news-article-header h1,
.news-article-meta,
.news-article-body h2,
.news-article-body h3,
.news-article-body h4,
.news-aside-card h2,
.news-footer h3,
.news-mission-copy h2,
.news-mission-subtitle,
.news-mission-toggle,
button,
.btn {
  font-family: var(--font-kurdish-display) !important;
}

.news-card-summary,
.news-article-summary,
.news-article-body,
.news-mission-copy p,
.news-footer p {
  font-family: var(--font-kurdish-body) !important;
}

/* Header */
.news-navbar {
  min-height: 84px;
  padding: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--news-border);
}
.news-navbar > .container { min-height: 84px; gap: 24px; }
.news-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--news-ink) !important;
  text-decoration: none;
  flex-shrink: 0;
}
.news-logo { width: 58px; height: 58px; object-fit: contain; }
.news-brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.15;
  letter-spacing: 0;
}
.news-brand-text strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: .045em;
  line-height: 1.05;
  direction: ltr;
}
.news-brand-text small {
  margin-top: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--news-muted);
  line-height: 1.25;
  direction: rtl;
}
.news-navbar .navbar-collapse { align-items: center; gap: 20px; }
.news-nav-links { gap: 2px; margin-inline: auto !important; }
.news-nav-links .nav-link {
  position: relative;
  padding: 29px 10px 25px !important;
  color: #29364a !important;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.news-nav-links .nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  left: 10px;
  bottom: 17px;
  height: 2px;
  background: var(--news-blue);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.news-nav-links .nav-link:hover { color: var(--news-blue) !important; }
.news-nav-links .nav-link:hover::after { transform: scaleX(1); }
.news-search-form {
  width: 218px;
  height: 42px;
  border: 1px solid var(--news-border);
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
  align-items: center;
  flex-shrink: 0;
}
.news-search-form input {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--news-ink);
  font-size: .82rem;
}
.news-search-form button,
.news-search-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--news-blue);
  display: inline-grid;
  place-items: center;
}
.news-navbar .navbar-toggler { border: 1px solid var(--news-border); border-radius: 9px; padding: 8px 10px; }
.news-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(11,77,173,.12); }

/* Reusable headings */
.news-kicker {
  color: var(--news-blue);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.news-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--news-border);
}
.news-section-heading h2 { position: relative; margin: 0; font-size: 1.45rem; font-weight: 900; }
.news-section-heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--news-red), var(--news-blue));
}
.news-section-heading > a { color: var(--news-blue); text-decoration: none; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.news-section-heading > a:hover { color: var(--news-blue-dark); }

/* Homepage */
.news-home { padding-bottom: 72px; }
.news-home-intro { padding-top: 48px; padding-bottom: 30px; }
.news-home-intro h1 { max-width: 880px; margin: 0 0 6px; font-size: clamp(1.8rem, 3.1vw, 3rem); font-weight: 950; letter-spacing: -.035em; line-height: 1.35; }
.news-home-intro p { margin: 0; color: var(--news-muted); font-size: 1rem; }
.news-featured-section { margin-top: 8px; }
.news-featured-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr); gap: 24px; }
.news-lead-story {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--news-radius);
  background: #0f172a;
  box-shadow: var(--news-shadow);
  text-decoration: none;
  color: white !important;
  min-height: 500px;
}
.news-lead-image-wrap { position: absolute; inset: 0; }
.news-lead-image-wrap::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,23,42,.05) 25%, rgba(15,23,42,.88) 100%); }
.news-lead-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-lead-content { position: absolute; right: 0; left: 0; bottom: 0; z-index: 2; padding: clamp(24px, 4vw, 42px); }
.news-lead-content h2 { margin: 10px 0 12px; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.35; font-weight: 950; }
.news-lead-story .news-card-meta time { color: rgba(255,255,255,.78); }
.news-lead-story .news-read-more { color: white; }
.news-secondary-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-content: start; }
.news-secondary-item .news-card-title { font-size: 1rem; }
.news-category-sections { margin-top: 56px; }
.news-category-section { margin-top: 52px; }
.news-category-section .news-grid-item:nth-child(n+5) { display: none; }

/* Cards */
.news-grid,
.news-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.news-grid-item { min-width: 0; }
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--news-surface);
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius);
  overflow: hidden;
  color: var(--news-ink) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--news-shadow); border-color: #cbd5e1; }
.news-card-image-wrap { aspect-ratio: 16 / 9; overflow: hidden; background: var(--news-soft); }
.news-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-image { transform: scale(1.025); }
.news-card-placeholder { width: 100%; height: 100%; min-height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf0f8, #f8fafc); }
.news-card-placeholder img { width: 30%; max-width: 105px; height: auto; object-fit: contain; opacity: .82; }
.news-card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 16px; }
.news-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 24px; font-size: .75rem; }
.news-card-meta time { color: var(--news-muted); }
.news-category-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--news-blue) !important;
  padding: 3px 9px;
  font-size: .73rem;
  font-weight: 900;
  text-decoration: none;
}
.news-card-title { margin: 11px 0 13px; font-size: 1.08rem; line-height: 1.55; font-weight: 900; letter-spacing: -.018em; }
.news-read-more { margin-top: auto; color: var(--news-blue); font-size: .8rem; font-weight: 800; }
.news-read-more i, .news-section-heading i, .news-aside-card i { margin-right: 5px; }

/* Category / archive page */
.py-5-nav { padding-top: 48px; padding-bottom: 70px; }
.news-archive-header { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 30px; }
.news-archive-header h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 950; }
.news-archive-header p { margin: 8px 0 0; color: var(--news-muted); max-width: 720px; }
.news-archive-search { display: flex; width: min(100%, 430px); height: 46px; border: 1px solid var(--news-border); background: white; border-radius: 10px; overflow: hidden; }
.news-archive-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 14px; background: transparent; }
.news-archive-search button { display: flex; align-items: center; gap: 7px; border: 0; padding: 0 17px; background: var(--news-blue); color: white; font-weight: 800; }
.news-category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 20px; margin-bottom: 28px; scrollbar-width: thin; }
.news-category-tabs a { flex: 0 0 auto; text-decoration: none; padding: 8px 15px; border: 1px solid var(--news-border); border-radius: 999px; background: white; color: #3f4b5d; font-size: .86rem; font-weight: 800; }
.news-category-tabs a:hover, .news-category-tabs a.active { color: white; border-color: var(--news-blue); background: var(--news-blue); }
.news-empty-state { max-width: 620px; margin: 44px auto; padding: 50px 24px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 14px; background: white; }
.news-empty-state > i { font-size: 3rem; color: #98a2b3; margin-bottom: 15px; }
.news-empty-state h1, .news-empty-state h2 { font-weight: 900; }

/* Article page */
.news-article { padding: 52px 0 76px; }
.news-article-header { width: min(100%, 960px); margin: 0 auto 28px; }
.news-article-header h1 { margin: 15px 0 16px; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.3; font-weight: 950; letter-spacing: -.04em; }
.news-article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--news-muted); font-size: .84rem; }
.news-article-meta span, .news-article-meta time { display: inline-flex; align-items: center; gap: 7px; }
.news-article-hero { width: min(100%, 1120px); aspect-ratio: 16/9; margin: 0 auto 38px; overflow: hidden; border-radius: 14px; background: var(--news-soft); box-shadow: var(--news-shadow); }
.news-article-hero img { width: 100%; height: 100%; object-fit: cover; }
.news-article-layout { display: grid; grid-template-columns: minmax(0, 820px) 260px; justify-content: center; align-items: start; gap: 54px; }
.news-article-body { min-width: 0; font-size: 1.08rem; line-height: 2.05; color: #263244; }
.news-article-body > :first-child { margin-top: 0; }
.news-article-body p { margin: 0 0 1.55em; }
.news-article-body h2, .news-article-body h3, .news-article-body h4 { color: var(--news-ink); font-weight: 950; line-height: 1.5; margin: 1.7em 0 .75em; }
.news-article-body h2 { font-size: 1.65rem; }
.news-article-body h3 { font-size: 1.35rem; }
.news-article-body img { display: block; max-width: 100%; height: auto; margin: 28px auto; border-radius: 10px; }
.news-article-body a { color: var(--news-blue); text-decoration: underline; text-underline-offset: 3px; }
.news-article-body blockquote { border-right: 4px solid var(--news-blue); background: #f8fafc; margin: 28px 0; padding: 18px 22px; color: #29364a; border-radius: 8px 0 0 8px; }
.news-article-body ul, .news-article-body ol { padding-right: 1.45rem; padding-left: 0; }
.news-article-body table { width: 100%; display: block; overflow-x: auto; }
.news-aside-card { position: sticky; top: 112px; padding: 24px; border: 1px solid var(--news-border); border-radius: 12px; background: white; text-align: center; }
.news-aside-card img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 12px; }
.news-aside-card h2 { font-size: 1rem; font-weight: 950; }
.news-aside-card p { color: var(--news-muted); font-size: .82rem; }
.news-aside-card a { color: var(--news-blue); text-decoration: none; font-size: .8rem; font-weight: 900; }
.news-related { margin-top: 66px; }

/* Dynamic groups/categories */
.news-category-directory { padding-top: 40px; padding-bottom: 40px; }
.news-category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.news-category-pills a { padding: 9px 16px; border: 1px solid var(--news-border); border-radius: 999px; background: white; color: var(--news-ink); font-weight: 800; text-decoration: none; }
.news-category-pills a:hover { border-color: var(--news-blue); color: var(--news-blue); }
.news-modal { background: var(--news-bg); color: var(--news-ink); }
.news-modal .modal-header { border-color: var(--news-border); }

/* Footer */
.news-footer { margin-top: auto; padding: 54px 0 22px; background: #111827; color: #e5e7eb; }
.news-footer .news-brand { color: white !important; }
.news-footer .news-logo { width: 64px; height: 64px; }
.news-footer .news-brand-text { white-space: normal; }
.news-footer .news-brand-text strong { color: white; }
.news-footer .news-brand-text small { color: #aab4c3; }
.news-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 58px; }
.news-footer-brand > p { max-width: 520px; margin: 18px 0 0; color: #aab4c3; font-size: .9rem; }
.news-footer-socials { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.news-footer-socials a { display: inline-flex; align-items: center; justify-content: center; color: #aab4c3; font-size: 1.35rem; line-height: 1; text-decoration: none; transition: opacity .18s ease, transform .18s ease; }
.news-footer-socials a:hover { color: #aab4c3; opacity: .78; transform: translateY(-1px); }
.news-footer-socials i { color: inherit; }
.news-footer h3 { margin: 8px 0 16px; color: white; font-size: .95rem; font-weight: 900; }
.news-footer-links { display: grid; gap: 9px; }
.news-footer-links a { color: #aab4c3; text-decoration: none; font-size: .86rem; }
.news-footer-links a:hover { color: white; }
.news-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8a9b; font-size: .77rem; }

/* Bootstrap / inherited theme light normalization */
.card, .modal-content, .bg-gray { background-color: var(--news-surface) !important; color: var(--news-ink) !important; border-color: var(--news-border) !important; }
.btn-primary { background: var(--news-blue) !important; border-color: var(--news-blue) !important; }
.btn-outline-primary { color: var(--news-blue) !important; border-color: var(--news-blue) !important; }
.btn-outline-primary:hover { color: white !important; background: var(--news-blue) !important; }
.form-control, .form-select { background-color: white !important; color: var(--news-ink) !important; border-color: var(--news-border) !important; }
.pagination .page-link { background: white; color: var(--news-blue); border-color: var(--news-border); }
.pagination .active .page-link { background: var(--news-blue); border-color: var(--news-blue); }

@media (max-width: 1199.98px) {
  .news-brand-text { display: none; }
  .news-grid, .news-archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .news-nav-links .nav-link { font-size: .84rem; padding-inline: 7px !important; }
  .news-search-form { width: 180px; }
  .news-article-layout { grid-template-columns: minmax(0, 780px) 230px; gap: 36px; }
}

@media (max-width: 991.98px) {
  .news-navbar { min-height: 74px; }
  .news-navbar > .container { min-height: 74px; }
  .news-logo { width: 50px; height: 50px; }
  .news-brand-text { display: inline-flex; }
  .news-brand-text strong { font-size: 1rem; }
  .news-brand-text small { font-size: .62rem; }
  .news-navbar .navbar-collapse { margin: 10px 0 18px; padding-top: 10px; border-top: 1px solid var(--news-border); }
  .news-nav-links { gap: 0; }
  .news-nav-links .nav-link { padding: 10px 4px !important; }
  .news-nav-links .nav-link::after { display: none; }
  .news-featured-grid { grid-template-columns: 1fr; }
  .news-lead-story { min-height: 460px; }
  .news-secondary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-grid, .news-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-article-layout { display: block; max-width: 820px; margin: 0 auto; }
  .news-article-aside { display: none; }
  .news-footer-grid { grid-template-columns: 1fr 1fr; }
  .news-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .news-home-intro { padding-top: 30px; }
  .news-home-intro p { font-size: .9rem; }
  .news-lead-story { min-height: 420px; }
  .news-lead-content h2 { font-size: 1.65rem; }
  .news-secondary-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-secondary-item .news-card-body { padding: 12px; }
  .news-secondary-item .news-card-meta time { display: none; }
  .news-secondary-item .news-read-more { display: none; }
  .news-category-sections { margin-top: 38px; }
  .news-category-section { margin-top: 38px; }
  .news-section-heading { margin-bottom: 18px; }
  .news-section-heading h2 { font-size: 1.2rem; }
  .news-section-heading h2::after { bottom: -12px; width: 54px; }
  .news-section-heading > a { font-size: .78rem; }
  .news-archive-header { display: block; }
  .news-archive-search { margin-top: 20px; width: 100%; }
  .news-article { padding-top: 34px; }
  .news-article-header h1 { font-size: 2rem; }
  .news-article-hero { margin-bottom: 28px; border-radius: 10px; }
  .news-article-body { font-size: 1rem; line-height: 1.95; }
  .news-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-footer-brand { grid-column: auto; }
  .news-footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .news-navbar .container { padding-inline: 14px; }
  .news-brand-text { max-width: 175px; white-space: normal; line-height: 1.2; }
  .news-brand-text strong { font-size: .92rem; }
  .news-brand-text small { font-size: .56rem; }
  .news-featured-grid { gap: 16px; }
  .news-lead-story { min-height: 370px; }
  .news-lead-content { padding: 20px; }
  .news-lead-content h2 { font-size: 1.45rem; }
  .news-grid, .news-archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-secondary-grid { grid-template-columns: 1fr; }
  .news-secondary-item:nth-child(n+3) { display: none; }
  .news-secondary-item .news-card { display: grid; grid-template-columns: 120px 1fr; }
  .news-secondary-item .news-card-image-wrap { aspect-ratio: 1 / 1; }
  .news-secondary-item .news-card-title { margin: 7px 0; font-size: .92rem; }
  .news-category-section .news-grid-item:nth-child(n+4) { display: none; }
  .news-card-title { font-size: 1.02rem; }
  .news-archive-search button span { display: none; }
  .news-archive-search button { width: 48px; justify-content: center; padding: 0; }
  .news-article-header, .news-article-layout { padding-inline: 2px; }
  .news-article-meta { gap: 10px; font-size: .76rem; }
}

/* ==========================================================
   CIVAKMEDIA v7: mobile/tablet navigation + archive + footer
   ========================================================== */

/* Use our own visible hamburger instead of the inherited dark-theme icon. */
.news-navbar .navbar-toggler {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  border: 1px solid #cdd8e8 !important;
  border-radius: 12px !important;
  background: #f4f7fb !important;
  color: var(--news-ink) !important;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.news-navbar .navbar-toggler:hover {
  border-color: #adc3e3 !important;
  background: #edf3fb !important;
}
.news-navbar .navbar-toggler[aria-expanded="true"] {
  border-color: var(--news-blue) !important;
  background: var(--news-blue) !important;
}
.news-menu-icon {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-menu-icon > span {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 99px;
  background: #172033;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}
.news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span { background: #fff; }
.news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span:nth-child(2) { opacity: 0; }
.news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

.news-mobile-actions { flex-shrink: 0; }
.news-search-button {
  border: 1px solid #cdd8e8 !important;
  border-radius: 12px;
  background: #f4f7fb !important;
  text-decoration: none;
  font-size: 1rem;
}
.news-search-button:hover { background: #edf3fb !important; color: var(--news-blue-dark); }

@media (max-width: 991.98px) {
  .news-navbar {
    min-height: 76px;
    padding: 0 !important;
  }
  .news-navbar > .container {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .news-navbar .news-brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .news-navbar .navbar-brand {
    padding: 0 !important;
  }
  .news-navbar .navbar-collapse {
    order: 5;
    flex-basis: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--news-border) !important;
    border-radius: 16px;
    background: #f7f9fc;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .10);
  }
  .news-navbar .navbar-collapse.collapsing,
  .news-navbar .navbar-collapse.show { overflow: hidden; }
  .news-nav-links {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .news-nav-links .nav-item {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .news-nav-links .nav-link {
    min-height: 46px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid #e0e7f0;
    border-radius: 11px;
    background: #fff;
    color: #29364a !important;
    text-align: center;
    line-height: 1.45;
    font-size: .86rem;
    box-shadow: 0 1px 1px rgba(15, 23, 42, .02);
  }
  .news-nav-links .nav-link:hover,
  .news-nav-links .nav-link:focus {
    border-color: #b9cceb;
    background: #edf4ff;
    color: var(--news-blue) !important;
  }

  /* Archive/category tabs should fit the screen rather than being clipped. */
  .news-category-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    overflow: visible;
    width: 100%;
    padding: 0;
    margin: 0 0 28px;
  }
  .news-category-tabs a {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    border-radius: 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  /* Keep the footer compact and horizontal on tablets. */
  .news-footer { padding: 38px 0 20px; }
  .news-footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .85fr);
    gap: 22px;
    align-items: start;
  }
  .news-footer-brand { grid-column: auto; }
  .news-footer-brand > p { margin-top: 14px; }
  .news-footer h3 { margin-top: 3px; }
}

@media (max-width: 767.98px) {
  .news-navbar > .container { padding-inline: 18px; }
  .news-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .py-5-nav { padding-top: 30px; padding-bottom: 48px; }
  .news-archive-header { margin-bottom: 22px; }
  .news-archive-header h1 { font-size: clamp(1.7rem, 8vw, 2.25rem); line-height: 1.4; }
  .news-archive-search { height: 50px; border-radius: 12px; }
  .news-archive-search button { min-width: 52px; }
  .news-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .news-category-tabs a { font-size: .82rem; padding-inline: 8px; }
  .news-empty-state { margin: 30px auto; padding: 36px 18px; }
  .news-empty-state > i { font-size: 2.35rem; }
  .news-empty-state h1, .news-empty-state h2 { font-size: 1.3rem; line-height: 1.5; }

  /* Mobile footer: brand across the top, then two compact columns side-by-side. */
  .news-footer { padding: 30px 0 18px; }
  .news-footer .container { padding-inline: 18px; }
  .news-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .news-footer-brand {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
  }
  .news-footer-brand .news-brand { width: 100%; }
  .news-footer .news-logo { width: 50px; height: 50px; }
  .news-footer .news-brand-text { align-items: flex-start; }
  .news-footer .news-brand-text strong { font-size: .98rem; }
  .news-footer .news-brand-text small { font-size: .6rem; }
  .news-footer-brand > p {
    max-width: none;
    margin: 12px 0 0;
    font-size: .78rem;
    line-height: 1.75;
  }
  .news-footer-grid > div:not(.news-footer-brand) {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
  }
  .news-footer h3 { margin: 0 0 10px; font-size: .85rem; }
  .news-footer-links { gap: 6px; }
  .news-footer-links a {
    display: block;
    padding: 3px 0;
    font-size: .76rem;
    line-height: 1.55;
  }
  .news-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    font-size: .68rem;
    line-height: 1.45;
  }
}

@media (max-width: 575.98px) {
  .news-navbar > .container { padding-inline: 14px; }
  .news-logo { width: 48px; height: 48px; }
  .news-brand { gap: 9px; }
  .news-brand-text { max-width: 155px; }
  .news-brand-text strong { font-size: .86rem; letter-spacing: .035em; }
  .news-brand-text small { margin-top: 3px; font-size: .52rem; }
  .news-mobile-actions { gap: 7px !important; }
  .news-navbar .navbar-toggler,
  .news-search-button { width: 42px; height: 42px; }
  .news-menu-icon { width: 20px; height: 16px; }
  .news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
  .news-navbar .navbar-toggler[aria-expanded="true"] .news-menu-icon > span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }
  .news-navbar .navbar-collapse { padding: 9px !important; border-radius: 14px; }
  .news-nav-links { gap: 7px !important; }
  .news-nav-links .nav-link { min-height: 44px; padding: 8px 6px !important; font-size: .78rem; }

  .news-category-tabs a { min-height: 42px; font-size: .77rem; }
  .news-archive-search input { font-size: .88rem; }

  .news-footer-grid { gap: 10px; }
  .news-footer-grid > div:not(.news-footer-brand) { padding: 12px 11px; }
  .news-footer-links a { font-size: .71rem; }
  .news-footer-bottom { font-size: .62rem; }
}

@media (max-width: 390px) {
  .news-brand-text { max-width: 132px; }
  .news-brand-text strong { font-size: .78rem; }
  .news-brand-text small { font-size: .48rem; }
  .news-navbar .navbar-toggler,
  .news-search-button { width: 40px; height: 40px; }
  .news-nav-links .nav-link { font-size: .74rem; }
  .news-category-tabs a { font-size: .72rem; }
  .news-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* CIVAKMEDIA v9: brand order — logo first on the left, text second on the right */
.news-brand {
  direction: ltr;
}
.news-brand-text {
  direction: ltr;
  text-align: left;
}
.news-brand-text small {
  direction: rtl;
  unicode-bidi: isolate;
}

/* CIVAKMEDIA v10: expandable mission/introduction teaser on homepage */
.news-mission-wrap {
  position: relative;
  margin-top: 2px;
  margin-bottom: 34px;
  padding-top: 20px;
  padding-bottom: 42px;
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
}
.news-mission-copy {
  position: relative;
  max-width: 1120px;
  max-height: 112px;
  margin-right: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}
.news-mission-copy h2 {
  margin: 0 0 4px;
  color: var(--news-ink);
  font-size: 1.38rem;
  font-weight: 950;
  line-height: 1.35;
}
.news-mission-subtitle {
  margin-bottom: 12px;
  color: var(--news-blue);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.5;
}
.news-mission-copy p {
  margin: 0 0 14px;
  color: #48566b;
  font-size: .92rem;
  line-height: 2;
}
.news-mission-fade {
  pointer-events: none;
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 34px;
  height: 72px;
  background: linear-gradient(180deg, rgba(245,247,250,0), var(--news-bg) 82%);
  transition: opacity .22s ease;
}
.news-mission-toggle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #cfd8e5;
  border-radius: 999px;
  background: #fff;
  color: var(--news-blue);
  box-shadow: 0 5px 16px rgba(15,23,42,.07);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.news-mission-toggle:hover,
.news-mission-toggle:focus-visible {
  border-color: var(--news-blue);
  background: #f8fbff;
  color: var(--news-blue-dark);
  outline: none;
}
.news-mission-toggle i { transition: transform .25s ease; }
.news-mission-wrap.is-expanded .news-mission-copy { max-height: 1800px; }
.news-mission-wrap.is-expanded .news-mission-fade { opacity: 0; }
.news-mission-wrap.is-expanded .news-mission-toggle i { transform: rotate(180deg); }

@media (max-width: 767.98px) {
  .news-mission-wrap {
    margin-bottom: 26px;
    padding-top: 16px;
    padding-bottom: 42px;
  }
  .news-mission-copy { max-height: 128px; }
  .news-mission-copy h2 { font-size: 1.2rem; }
  .news-mission-subtitle { font-size: .84rem; }
  .news-mission-copy p { font-size: .86rem; line-height: 1.95; }
  .news-mission-fade { right: 14px; left: 14px; bottom: 32px; height: 78px; }
  .news-mission-toggle { min-height: 34px; padding: 6px 13px; font-size: .73rem; }
}


/* CIVAKMEDIA v20: SellAuth Groups are news sections, not category cards. */
.news-featured-grid > .news-lead-story { display: none; }
.news-featured-grid > .news-lead-story:first-of-type { display: block; }
.news-secondary-grid > .news-secondary-item:first-child { display: none; }
.news-secondary-grid > .news-secondary-item:nth-child(n+6) { display: none; }

@media (max-width: 575.98px) {
  .news-secondary-grid > .news-secondary-item:first-child { display: none; }
  .news-secondary-grid > .news-secondary-item:nth-child(2),
  .news-secondary-grid > .news-secondary-item:nth-child(3) { display: block; }
  .news-secondary-grid > .news-secondary-item:nth-child(n+4) { display: none; }
}

/* CIVAKMEDIA v22: hamburger menu is mobile/tablet only */
@media (min-width: 992px) {
  .news-navbar .navbar-toggler {
    display: none !important;
  }
}

/* CIVAKMEDIA v25: SellAuth Blog Posts are the news CMS */
.news-card-summary {
  margin: -4px 0 13px;
  color: var(--news-muted);
  font-size: .86rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-article-summary {
  color: #37465b;
  font-size: 1.16em;
  font-weight: 700;
  line-height: 1.9;
  border-right: 3px solid var(--news-blue);
  padding-right: 16px;
  margin-bottom: 1.8em !important;
}
[data-blog-result][hidden] { display: none !important; }
@media (max-width: 767.98px) {
  .news-card-summary { font-size: .82rem; }
  .news-article-summary { font-size: 1.06em; }
}

/* CIVAKMEDIA v26: homepage only shows real blog posts; empty sections stay hidden */
.news-section-title-link {
  color: inherit;
  text-decoration: none;
}
.news-section-title-link:hover,
.news-section-title-link:focus-visible {
  color: var(--news-blue);
  text-decoration: none;
}
.news-home-blog-grid {
  margin-top: 20px;
}

/* ==========================================================
   CIVAKMEDIA v29: clean mobile + tablet header alignment
   ========================================================== */
@media (max-width: 991.98px) {
  .news-navbar > .container {
    direction: ltr;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 14px;
    row-gap: 0;
  }

  .news-navbar .news-brand {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 !important;
  }

  .news-mobile-actions {
    order: 2;
    margin-left: auto;
    direction: ltr;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px !important;
  }

  .news-navbar .navbar-collapse {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    direction: rtl;
  }

  .news-logo {
    flex: 0 0 auto;
  }

  .news-brand-text {
    flex: 0 1 auto;
    min-width: 0;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .news-navbar > .container {
    min-height: 82px;
    padding-block: 10px;
    padding-inline: 22px;
  }
  .news-logo { width: 52px; height: 52px; }
  .news-brand { gap: 11px; }
  .news-brand-text strong { font-size: 1rem; }
  .news-brand-text small { font-size: .61rem; }
  .news-navbar .navbar-toggler,
  .news-search-button { width: 44px; height: 44px; }
}

@media (max-width: 575.98px) {
  .news-navbar > .container {
    min-height: 72px;
    padding-block: 9px;
    padding-inline: 12px;
    column-gap: 8px;
  }
  .news-logo { width: 44px; height: 44px; }
  .news-brand { gap: 8px; }
  .news-brand-text { max-width: 145px; }
  .news-brand-text strong { font-size: .82rem; line-height: 1; }
  .news-brand-text small {
    margin-top: 3px;
    font-size: .49rem;
    line-height: 1.25;
  }
  .news-mobile-actions { gap: 6px !important; }
  .news-navbar .navbar-toggler,
  .news-search-button {
    width: 39px;
    height: 39px;
    border-radius: 10px !important;
  }
  .news-menu-icon { width: 19px; height: 15px; }
}

@media (max-width: 365px) {
  .news-navbar > .container { padding-inline: 9px; }
  .news-logo { width: 40px; height: 40px; }
  .news-brand { gap: 6px; }
  .news-brand-text { max-width: 120px; }
  .news-brand-text strong { font-size: .72rem; }
  .news-brand-text small { font-size: .43rem; }
  .news-navbar .navbar-toggler,
  .news-search-button { width: 36px; height: 36px; }
}

/* ==========================================================
   CIVAKMEDIA v30: instant, responsive mobile/tablet menu
   Remove the sluggish Bootstrap height + hamburger transitions.
   ========================================================== */
@media (max-width: 991.98px) {
  .news-navbar .navbar-toggler {
    transition: none !important;
    transform: none !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .news-navbar .navbar-toggler:hover,
  .news-navbar .navbar-toggler:active,
  .news-navbar .navbar-toggler:focus {
    transform: none !important;
  }

  .news-menu-icon > span {
    transition: none !important;
    will-change: auto;
  }

  /* Bootstrap normally animates the full menu height. On phones/tablets
     that causes visible stutter as the whole page is re-laid out. */
  .news-navbar .navbar-collapse.collapsing {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-navbar .navbar-toggler,
  .news-menu-icon > span,
  .news-navbar .navbar-collapse.collapsing {
    transition: none !important;
    animation: none !important;
  }
}


/* CIVAKMEDIA global blog view counter */
.civak-view-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.civak-view-count i { color: inherit; }
.civak-view-number { color: inherit; }

/* CounterAPI view count: keep the native persistent counter visually inline. */
.civak-view-number {
  display: inline !important;
  color: inherit !important;
  font: inherit !important;
}

/* CIVAKMEDIA v27: show blog article images at their full natural aspect ratio.
   Portrait/tall images must not be cropped into the old 16:9 hero frame. */
.news-article-hero {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}
.news-article-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.news-article-body img {
  width: auto;
  max-width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain;
}


/* CIVAKMEDIA v31: tall article-image preview with click-to-expand.
   Large portrait images show a useful partial preview first, then the reader
   can reveal the complete natural-height image without navigating away. */
.news-article-hero-wrap {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 54px;
}
.news-article-hero-wrap .news-article-hero {
  margin-bottom: 0;
  max-height: 360px;
  overflow: hidden;
  transition: max-height .35s ease;
}
.news-article-hero-wrap:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
}
.news-article-hero-wrap.is-expanded .news-article-hero {
  max-height: none;
  overflow: visible;
}
.news-article-hero-toggle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #0758bd;
  border-radius: 999px;
  background: #fff;
  color: #063d7a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.news-article-hero-toggle i { transition: transform .2s ease; }
.news-article-hero-wrap.is-expanded .news-article-hero-toggle i { transform: rotate(180deg); }
.news-article-hero-toggle:hover { background: #f5f9ff; }
.news-article-hero-toggle:focus-visible { outline: 3px solid rgba(7,88,189,.22); outline-offset: 3px; }

/* Hide the control when the image already fits or uses a YouTube-style 16:9 ratio. */
.news-article-hero-wrap.is-short,
.news-article-hero-wrap.is-youtube-thumbnail {
  padding-bottom: 0;
  margin-bottom: 28px;
}
.news-article-hero-wrap.is-short::after,
.news-article-hero-wrap.is-short .news-article-hero-toggle,
.news-article-hero-wrap.is-youtube-thumbnail::after,
.news-article-hero-wrap.is-youtube-thumbnail .news-article-hero-toggle { display: none; }
.news-article-hero-wrap.is-short .news-article-hero,
.news-article-hero-wrap.is-youtube-thumbnail .news-article-hero { max-height: none; overflow: visible; }

@media (max-width: 767.98px) {
  .news-article-hero-wrap .news-article-hero { max-height: 260px; }
  .news-article-hero-wrap:not(.is-expanded)::after { height: 60px; }
}

/* CIVAKMEDIA v33: improve blog article text readability */
.news-article-body {
  color: #0f2742;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.news-article-body p,
.news-article-body li {
  color: #0f2742;
  font-weight: 500;
}
.news-article-body strong,
.news-article-body b {
  color: #091d33;
  font-weight: 800;
}
@media (max-width: 700px) {
  .news-article-body,
  .news-article-body p,
  .news-article-body li {
    font-weight: 500;
  }
}

/* ==========================================================
   CIVAKMEDIA v34: put blog-card text directly on the image
   ========================================================== */
.news-grid .news-card,
.news-archive-grid .news-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(15, 39, 66, .16);
  background: #0f2742;
  isolation: isolate;
}

.news-grid .news-card-image-wrap,
.news-archive-grid .news-card-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #dfe7f1;
  z-index: 0;
}

.news-grid .news-card-image,
.news-archive-grid .news-card-image,
.news-grid .news-card-placeholder,
.news-archive-grid .news-card-placeholder {
  width: 100%;
  height: 100%;
}

.news-grid .news-card-placeholder,
.news-archive-grid .news-card-placeholder {
  min-height: 0;
}

.news-grid .news-card::after,
.news-archive-grid .news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 18, 34, .02) 22%,
    rgba(5, 18, 34, .20) 47%,
    rgba(5, 18, 34, .78) 72%,
    rgba(5, 18, 34, .96) 100%
  );
}

.news-grid .news-card-body,
.news-archive-grid .news-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: transparent;
  color: #fff;
}

.news-grid .news-card-meta,
.news-archive-grid .news-card-meta {
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 3px rgba(0,0,0,.28);
}

.news-grid .news-card-meta time,
.news-archive-grid .news-card-meta time,
.news-grid .civak-view-count,
.news-archive-grid .civak-view-count {
  color: rgba(255,255,255,.90) !important;
}

.news-grid .news-category-label,
.news-archive-grid .news-category-label {
  background: rgba(255,255,255,.92);
  color: #0758bd !important;
  box-shadow: 0 1px 8px rgba(0,0,0,.12);
}

.news-grid .news-card-title,
.news-archive-grid .news-card-title {
  margin: 10px 0 9px;
  color: #fff !important;
  font-weight: 950;
  text-shadow: 0 2px 7px rgba(0,0,0,.42);
}

.news-grid .news-card-summary,
.news-archive-grid .news-card-summary {
  margin: -1px 0 10px;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 4px rgba(0,0,0,.38);
}

.news-grid .news-read-more,
.news-archive-grid .news-read-more {
  margin-top: 0;
  color: #fff !important;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0,0,0,.34);
}

.news-grid .news-card:hover,
.news-archive-grid .news-card:hover {
  border-color: rgba(7, 88, 189, .38);
}

@media (max-width: 575.98px) {
  .news-grid .news-card,
  .news-archive-grid .news-card {
    aspect-ratio: 4 / 3;
  }

  .news-grid .news-card-body,
  .news-archive-grid .news-card-body {
    padding: 16px;
  }
}

/* ==========================================================
   CIVAKMEDIA v35: article sharing bar (DW-style social sharing)
   ========================================================== */
.news-article-share {
  width: 100%;
  margin-top: 30px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 0;
  background: transparent;
  direction: ltr;
  box-shadow: none;
}
.news-share-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.news-share-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #07183d !important;
  text-decoration: none !important;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.news-share-icon:hover {
  color: #07183d !important;
  background: transparent;
  border-color: rgba(7,24,61,.28);
  transform: translateY(-1px);
}
.news-share-icon:focus-visible,
.news-share-copy:focus-visible {
  outline: 3px solid rgba(7,24,61,.25);
  outline-offset: 2px;
}
.news-share-native[hidden] { display: none !important; }
.news-share-copy {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(7,24,61,.45);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  background: transparent;
  color: #07183d;
  font-family: var(--font-kurdish-display) !important;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.news-share-copy:hover,
.news-share-copy.is-copied {
  background: transparent;
  color: #07183d;
  border-color: #07183d;
}

@media (max-width: 767.98px) {
  .news-article-share {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }
  .news-share-icons {
    justify-content: center;
  }
  .news-share-icon {
    width: 36px;
    height: 36px;
  }
  .news-share-copy {
    width: 100%;
  }
}


/* CIVAKMEDIA top information bar */
.civak-topbar {
  background: #071a2d;
  color: #f8fafc;
  min-height: 42px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-kurdish-display) !important;
}
.civak-topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.civak-topbar-status,
.civak-topbar-socials {
  display: flex;
  align-items: center;
}
.civak-topbar-status {
  gap: 10px;
  min-width: 0;
  font-size: .76rem;
  font-weight: 600;
  color: #e5edf6;
}
.civak-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.civak-topbar-item i { color: #f5b82e; font-size: .78rem; }
.civak-topbar-separator {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
  flex: 0 0 auto;
}
.civak-topbar-socials { gap: 4px; }
.civak-topbar-socials a {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  color: #f8fafc;
  text-decoration: none;
  border-radius: 7px;
  font-size: .9rem;
  transition: background .18s ease, opacity .18s ease, transform .18s ease;
}
.civak-topbar-socials a:hover,
.civak-topbar-socials a:focus-visible {
  color: #f8fafc;
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .civak-topbar { min-height: 38px; }
  .civak-topbar-inner { min-height: 38px; gap: 8px; padding-inline: 10px; }
  .civak-topbar-status { gap: 6px; font-size: .67rem; overflow: hidden; }
  .civak-topbar-item { gap: 4px; }
  .civak-topbar-separator { height: 13px; }
  .civak-topbar-socials { gap: 0; flex: 0 0 auto; }
  .civak-topbar-socials a { width: 27px; height: 27px; font-size: .78rem; }
  .civak-location { max-width: 120px; overflow: hidden; }
  #civak-location-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 480px) {
  .civak-topbar-status .civak-topbar-separator:nth-of-type(2),
  .civak-topbar-status .civak-weather { display: none; }
  .civak-location { max-width: 92px; }
  .civak-topbar-socials a { width: 25px; }
}

/* ==========================================================
   CIVAKMEDIA v36: 12 latest posts + four-story hero carousel
   ========================================================== */
.news-home-slider {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 14px;
  background: #0f2742;
  box-shadow: var(--news-shadow);
}
.news-home-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 360px;
}
.news-home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity .7s ease, transform 1.1s ease, visibility 0s linear .7s;
  pointer-events: none;
}
.news-home-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
  pointer-events: auto;
  z-index: 2;
}
.news-home-slider .news-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  transform: none !important;
}
.news-home-slider .news-card-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.news-home-slider .news-card-image,
.news-home-slider .news-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-home-slider .news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4,17,33,.02) 24%, rgba(4,17,33,.18) 48%, rgba(4,17,33,.92) 100%);
  pointer-events: none;
}
.news-home-slider .news-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 48px);
  background: transparent;
  color: #fff;
}
.news-home-slider .news-card-title {
  max-width: 780px;
  margin: 0 0 12px;
  color: #fff !important;
  font-size: clamp(1.65rem, 3.3vw, 3rem);
  line-height: 1.35;
  font-weight: 950;
  text-shadow: 0 2px 8px rgba(0,0,0,.42);
}
.news-home-slider .news-card-summary {
  max-width: 720px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.9);
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  text-shadow: 0 1px 5px rgba(0,0,0,.38);
}
.news-home-slider .news-read-more {
  margin-top: 2px;
  color: #fff !important;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.news-home-slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 8px;
}
.news-home-slider-dot {
  width: 10px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.85);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, transform .2s ease;
}
.news-home-slider-dot.is-active {
  width: 22px;
  background: #1769ff;
}
.news-home-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.news-home-blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 991.98px) {
  .news-home-slider-track { aspect-ratio: 16 / 9; min-height: 320px; }
  .news-home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .news-home-slider { border-radius: 10px; margin-bottom: 18px; }
  .news-home-slider-track { aspect-ratio: 4 / 3; min-height: 300px; }
  .news-home-slider .news-card-body { padding: 20px 18px 34px; }
  .news-home-slider .news-card-title { font-size: clamp(1.35rem, 7vw, 1.9rem); }
  .news-home-slider .news-card-summary { display: none; }
  .news-home-slider-dots { bottom: 12px; }
  .news-home-blog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .news-home-slide { transition: none; transform: none; }
}

/* CIVAKMEDIA v37: hero arrows, top-focused images, and 4 featured cards */
.news-home-slider .news-card-image,
.news-home-slider .news-card-placeholder {
  object-position: center 20%;
}
.news-home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(4,17,33,.45);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.news-home-slider-arrow:hover,
.news-home-slider-arrow:focus-visible {
  background: rgba(4,17,33,.78);
  transform: translateY(-50%) scale(1.06);
  color: #fff;
}
.news-home-slider-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.news-home-slider-arrow-prev { left: 18px; }
.news-home-slider-arrow-next { right: 18px; }
.news-home-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}
@media (max-width: 991.98px) {
  .news-home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .news-home-slider-arrow { width: 36px; height: 36px; font-size: .85rem; }
  .news-home-slider-arrow-prev { left: 10px; }
  .news-home-slider-arrow-next { right: 10px; }
  .news-home-featured-grid { grid-template-columns: 1fr; margin-bottom: 18px; }
  .news-home-slider .news-card-image,
  .news-home-slider .news-card-placeholder { object-position: center 15%; }
}

/* CIVAKMEDIA: slightly smaller homepage story headlines */
.news-home-blog-grid .news-card-title {
  font-size: .96rem;
  line-height: 1.48;
}
.news-home-slider .news-card-title {
  font-size: clamp(1.5rem, 2.8vw, 2.55rem);
  line-height: 1.32;
}
@media (max-width: 575.98px) {
  .news-home-blog-grid .news-card-title { font-size: .94rem; }
  .news-home-slider .news-card-title { font-size: clamp(1.2rem, 6.2vw, 1.65rem); }
}

/* CIVAKMEDIA: further reduce large homepage hero-slider headline */
.news-home-slider .news-card-title {
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  line-height: 1.3;
}
@media (max-width: 575.98px) {
  .news-home-slider .news-card-title {
    font-size: clamp(1.1rem, 5.5vw, 1.5rem);
  }
}

/* ==========================================================
   CIVAKMEDIA footer refinement
   ========================================================== */
.news-footer {
  padding: 46px 0 20px;
}
.news-footer .container {
  max-width: 1280px;
}
.news-footer-grid {
  direction: rtl;
  grid-template-columns: minmax(320px, 1.25fr) minmax(190px, .72fr) minmax(240px, .9fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: start;
}
.news-footer-grid > div {
  min-width: 0;
  text-align: right;
}
.news-footer-brand {
  max-width: 470px;
  justify-self: start;
}
.news-footer-brand .news-brand {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: auto;
  text-align: right;
}
.news-footer .news-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: contain;
}
.news-footer .news-brand-text {
  direction: rtl;
  align-items: flex-start;
  text-align: right;
  line-height: 1.25;
}
.news-footer .news-brand-text strong {
  font-size: 1.18rem;
  letter-spacing: .055em;
}
.news-footer .news-brand-text small {
  direction: rtl;
  text-align: right;
  margin-top: 4px;
  font-size: .64rem;
  line-height: 1.55;
}
.news-footer-brand > p {
  max-width: 430px;
  margin: 22px 0 0;
  font-size: .88rem;
  line-height: 1.9;
  text-align: right;
}
.news-footer-socials {
  direction: ltr;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.news-footer-socials a {
  width: 30px;
  height: 30px;
  font-size: 1.25rem;
}
.news-footer h3 {
  margin: 5px 0 18px;
  font-size: 1rem;
  line-height: 1.55;
}
.news-footer-links {
  gap: 10px;
}
.news-footer-links a {
  width: fit-content;
  max-width: 100%;
  margin-right: 0;
  font-size: .84rem;
  line-height: 1.65;
}
.news-footer-bottom {
  direction: rtl;
  align-items: center;
  margin-top: 42px;
  padding-top: 17px;
  font-size: .74rem;
}

@media (max-width: 991.98px) {
  .news-footer-grid {
    grid-template-columns: minmax(260px, 1.15fr) minmax(150px, .75fr) minmax(190px, .85fr);
    gap: 24px;
  }
  .news-footer .news-logo { width: 62px; height: 62px; flex-basis: 62px; }
  .news-footer .news-brand-text strong { font-size: 1.02rem; }
}

@media (max-width: 767.98px) {
  .news-footer-grid {
    direction: rtl;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .news-footer-brand {
    max-width: none;
    justify-self: stretch;
    text-align: right;
  }
  .news-footer-brand .news-brand { justify-content: flex-start; }
  .news-footer-socials { justify-content: flex-start; }
  .news-footer .news-logo { width: 54px; height: 54px; flex-basis: 54px; }
  .news-footer-bottom { direction: rtl; }
}

/* ==========================================================
   Mobile blog social dock
   ========================================================== */
.civak-mobile-social-dock { display: none; }

@media (max-width: 767.98px) {
  .civak-mobile-social-dock {
    position: fixed;
    z-index: 1085;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: stretch;
    direction: ltr;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.24);
    transition: transform .25s ease, opacity .25s ease;
  }
  .civak-mobile-social-links {
    display: flex;
    align-items: stretch;
  }
  .civak-mobile-social-links a,
  .civak-mobile-social-toggle {
    width: 48px;
    height: 46px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1;
  }
  .civak-mobile-social-toggle {
    background: #1b2b3f;
    cursor: pointer;
    padding: 0;
  }
  .civak-social-youtube { background: #ff0033; }
  .civak-social-instagram { background: #c13584; }
  .civak-social-tiktok { background: #161823; }
  .civak-social-facebook { background: #1877f2; }
  .civak-social-email { background: #607d8b; }

  .civak-mobile-social-dock.is-collapsed {
    left: 12px;
    transform: none;
    overflow: visible;
    box-shadow: none;
  }
  .civak-mobile-social-dock.is-collapsed .civak-mobile-social-links {
    display: none;
  }
  .civak-mobile-social-dock.is-collapsed .civak-mobile-social-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
  }
  .civak-mobile-social-dock.is-collapsed .civak-mobile-social-toggle i {
    transform: rotate(180deg);
  }
}

/* ==========================================================
   CIVAKMEDIA v40: modern editorial homepage redesign
   ========================================================== */
body {
  background: var(--news-bg) !important;
  color: var(--news-ink);
  font-family: var(--font-kurdish-body), Tahoma, Arial, sans-serif !important;
}

header.sticky-top {
  box-shadow: 0 1px 0 rgba(16, 34, 57, .08), 0 8px 24px rgba(7, 28, 51, .035);
}

.civak-topbar {
  min-height: 34px;
  background: #071c33;
  border-bottom-color: rgba(255, 255, 255, .07);
}

.civak-topbar-inner {
  min-height: 34px;
  max-width: 1240px;
  padding-inline: 20px;
}

.civak-topbar-status {
  gap: 8px;
  color: #dce7f2;
  font-size: .7rem;
}

.civak-topbar-item i {
  color: #f5b82e;
  font-size: .72rem;
}

.civak-topbar-separator { height: 13px; }
.civak-topbar-socials { gap: 2px; }
.civak-topbar-socials a {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  font-size: .8rem;
}

.news-navbar {
  min-height: 72px;
  background: rgba(255, 255, 255, .985);
  border-bottom-color: rgba(16, 34, 57, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.news-navbar > .container {
  min-height: 72px;
  max-width: 1240px;
  gap: 18px;
  padding-inline: 20px;
}

.news-brand { gap: 10px; }
.news-logo { width: 50px; height: 50px; }
.news-brand-text strong { font-size: 1.06rem; letter-spacing: .05em; }
.news-brand-text small { margin-top: 3px; color: #637083; font-size: .62rem; }
.news-navbar .navbar-collapse { gap: 14px; }
.news-nav-links { gap: 0; }

.news-nav-links .nav-item {
  display: flex;
  align-items: center;
}

.news-nav-links .nav-item:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline: 2px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--news-red);
}

.news-nav-links .nav-link {
  padding: 25px 8px 21px !important;
  color: #1c2d43 !important;
  font-size: .82rem;
  font-weight: 800;
}

.news-nav-links .nav-link::after {
  right: 8px;
  left: 8px;
  bottom: 13px;
  height: 2px;
  background: var(--news-red);
}

.news-search-form {
  width: 44px;
  height: 44px;
  border-color: #d6dee7;
  background: #fff;
  box-shadow: 0 4px 14px rgba(7, 28, 51, .05);
  transition: width .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.news-search-form:hover,
.news-search-form:focus-within {
  width: 218px;
  background: #f8fbff;
  box-shadow: 0 6px 18px rgba(7, 28, 51, .08);
}

.news-search-form input {
  width: 0;
  flex: 0 1 0;
  padding-inline: 0;
  opacity: 0;
  transition: opacity .16s ease, flex-basis .22s ease, padding .22s ease;
}

.news-search-form:hover input,
.news-search-form:focus-within input {
  width: auto;
  flex: 1 1 auto;
  padding-inline: 14px 4px;
  opacity: 1;
}

.news-search-form button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #102239;
}

.news-home > .container,
.news-archive,
.news-footer > .container {
  max-width: 1240px;
}

.news-home { padding-bottom: 78px; }

.news-mission-wrap[data-news-mission] {
  position: relative;
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 24px 28px 30px;
  overflow: hidden;
  border: 1px solid #d6e3ef;
  border-radius: 20px;
  background: linear-gradient(118deg, #f6faff 0%, #eaf3fb 100%);
  box-shadow: 0 10px 28px rgba(20, 93, 160, .045);
}

.news-mission-wrap[data-news-mission] .news-mission-copy {
  max-width: none;
  max-height: 132px;
  margin: 0;
  padding-left: 190px;
}

.news-mission-wrap[data-news-mission] .news-mission-copy h2 {
  margin-bottom: 3px;
  color: #102239;
  font-size: 1.45rem;
  line-height: 1.45;
}

.news-mission-wrap[data-news-mission] .news-mission-subtitle {
  margin-bottom: 10px;
  color: var(--news-blue);
  font-size: .96rem;
  line-height: 1.65;
}

.news-mission-wrap[data-news-mission] .news-mission-copy p {
  margin-bottom: 12px;
  color: #42546a;
  font-size: .9rem;
  line-height: 1.95;
}

.news-mission-wrap[data-news-mission] .news-mission-fade {
  right: 28px;
  left: 188px;
  bottom: 22px;
  height: 56px;
  background: linear-gradient(180deg, rgba(234, 243, 251, 0), #edf5fc 86%);
}

.news-mission-wrap[data-news-mission] .news-mission-toggle {
  left: 28px;
  bottom: 20px;
  min-height: 40px;
  padding: 8px 16px;
  transform: none;
  border-color: var(--news-blue);
  background: rgba(255, 255, 255, .92);
  color: var(--news-blue-dark);
  box-shadow: none;
  font-size: .76rem;
}

.news-mission-wrap[data-news-mission] .news-mission-toggle:hover,
.news-mission-wrap[data-news-mission] .news-mission-toggle:focus-visible {
  background: var(--news-blue);
  color: #fff;
}

.news-mission-wrap[data-news-mission].is-expanded .news-mission-copy { max-height: 1800px; }
.news-mission-wrap[data-news-mission].is-expanded .news-mission-fade { opacity: 0; }

.news-featured-section { margin-top: 0; }
.news-section-heading {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom-color: #d8e0e8;
}

.news-section-heading h2 {
  color: #102239;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
}

.news-section-heading h2::after {
  bottom: -14px;
  width: 78px;
  height: 3px;
  background: var(--news-red);
}

.news-section-heading > a {
  color: var(--news-blue);
  font-size: .84rem;
  font-weight: 900;
}

.news-editorial-grid {
  display: grid;
  direction: rtl;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .78fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 520px;
  margin-bottom: 24px;
}

.news-editorial-grid[hidden] { display: none !important; }
.news-editorial-grid.has-no-supports { grid-template-columns: 1fr; }
.news-editorial-grid.has-one-support .news-editorial-supports {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.news-editorial-lead {
  min-width: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.news-editorial-supports {
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-editorial-support { min-width: 0; min-height: 0; }

.news-editorial-grid .news-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(7, 28, 51, .12);
  border-radius: 16px;
  background: #071c33;
  box-shadow: 0 12px 28px rgba(7, 28, 51, .1);
  color: #fff !important;
}

.news-editorial-grid .news-card-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  z-index: 0;
}

.news-editorial-grid .news-card-image,
.news-editorial-grid .news-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.news-editorial-grid .news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 18, 34, .02) 24%, rgba(4, 18, 34, .16) 48%, rgba(4, 18, 34, .92) 100%);
}

.news-editorial-grid .news-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 3.2vw, 40px);
  background: transparent;
  color: #fff;
  text-align: right;
}

.news-editorial-grid .news-card-meta {
  min-height: 0;
  color: rgba(255, 255, 255, .86);
  font-size: .72rem;
}

.news-editorial-grid .news-card-meta time {
  color: rgba(255, 255, 255, .82);
}

.news-editorial-grid .news-category-label {
  padding: 4px 10px;
  background: var(--news-blue);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}

.news-editorial-grid .news-card-title {
  max-width: 820px;
  margin: 12px 0 10px;
  color: #fff !important;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.42;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .42);
}

.news-editorial-grid .news-card-summary {
  max-width: 760px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.75;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .38);
}

.news-editorial-grid .news-read-more {
  margin-top: 0;
  color: #fff !important;
  font-size: .78rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .36);
}

.news-editorial-grid .news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 93, 160, .4);
  box-shadow: 0 18px 34px rgba(7, 28, 51, .14);
}

.news-editorial-support .news-card-body { padding: 18px; }
.news-editorial-support .news-card-title {
  margin: 9px 0 5px;
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}
.news-editorial-support .news-card-summary { display: none; }
.news-editorial-support .news-read-more { font-size: .7rem; }
.news-editorial-support .news-card-meta time { display: none; }

.news-home-blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.news-home-blog-grid[hidden] { display: none !important; }
.news-home-blog-grid .news-card,
.news-archive-grid .news-card {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(7, 28, 51, .075);
}

.news-home-blog-grid .news-card-body,
.news-archive-grid .news-card-body { padding: 16px; }
.news-home-blog-grid .news-card-title { font-size: .95rem; line-height: 1.55; }
.news-home-blog-grid .news-card-summary { display: none; }
.news-grid .news-category-label,
.news-archive-grid .news-category-label {
  background: var(--news-blue);
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .14);
}

@media (max-width: 1199.98px) {
  .news-navbar > .container,
  .civak-topbar-inner { padding-inline: 18px; }
  .news-nav-links .nav-link { padding-inline: 6px !important; font-size: .78rem; }
  .news-editorial-grid { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); }
}

@media (max-width: 991.98px) {
  .news-navbar,
  .news-navbar > .container { min-height: 70px; }
  .news-nav-links .nav-item { display: block; }
  .news-nav-links .nav-item::after { display: none; }
  .news-nav-links .nav-link { padding: 12px 8px !important; font-size: .88rem; }
  .news-nav-links .nav-link::after { right: 8px; left: auto; bottom: 5px; width: 42px; }

  .news-mission-wrap[data-news-mission] { margin-top: 22px; margin-bottom: 34px; }
  .news-mission-wrap[data-news-mission] .news-mission-copy { padding-left: 165px; }
  .news-mission-wrap[data-news-mission] .news-mission-fade { left: 164px; }

  .news-editorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .news-editorial-lead {
    grid-column: 1;
    grid-row: 1;
    min-height: 430px;
  }
  .news-editorial-supports {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 250px;
  }
  .news-home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .civak-topbar,
  .civak-topbar-inner { min-height: 36px; }
  .civak-topbar-inner { padding-inline: 10px; }

  .news-mission-wrap[data-news-mission] {
    margin-top: 18px;
    margin-bottom: 28px;
    padding: 20px 20px 18px;
    border-radius: 16px;
  }
  .news-mission-wrap[data-news-mission] .news-mission-copy {
    max-height: 158px;
    padding-left: 0;
  }
  .news-mission-wrap[data-news-mission] .news-mission-copy h2 { font-size: 1.25rem; }
  .news-mission-wrap[data-news-mission] .news-mission-subtitle { font-size: .86rem; }
  .news-mission-wrap[data-news-mission] .news-mission-copy p { font-size: .85rem; line-height: 1.9; }
  .news-mission-wrap[data-news-mission] .news-mission-fade {
    right: 20px;
    left: 20px;
    bottom: 56px;
    height: 62px;
  }
  .news-mission-wrap[data-news-mission] .news-mission-toggle {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 14px;
  }
  .news-mission-wrap[data-news-mission].is-expanded { padding-bottom: 18px; }

  .news-editorial-lead { min-height: 400px; }
  .news-editorial-grid .news-card-body { padding: 24px; }
  .news-editorial-grid .news-card-title { font-size: clamp(1.35rem, 5vw, 1.75rem); }
}

@media (max-width: 575.98px) {
  .news-navbar > .container { padding-inline: 12px; }
  .news-home { padding-bottom: 56px; }
  .news-home > .container { padding-inline: 14px; }
  .news-section-heading { gap: 12px; }
  .news-section-heading h2 { font-size: 1.2rem; }
  .news-section-heading > a { font-size: .72rem; }
  .news-section-heading h2::after { width: 58px; }

  .news-editorial-grid { gap: 12px; }
  .news-editorial-lead { min-height: 350px; }
  .news-editorial-supports {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 245px);
    gap: 12px;
  }
  .news-editorial-grid .news-card-body { padding: 20px 18px; }
  .news-editorial-grid .news-card-title { font-size: 1.25rem; }
  .news-editorial-grid .news-card-summary { display: none; }
  .news-editorial-support .news-card-title { font-size: 1rem; }

  .news-home-blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-home-blog-grid .news-card,
  .news-archive-grid .news-card { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .news-search-form,
  .news-search-form input,
  .news-editorial-grid .news-card,
  .news-editorial-grid .news-card-image { transition: none !important; }
}

/* CIVAKMEDIA v41: six-story lead carousel and cleaner card metadata */
.news-card .news-card-meta time,
.news-list-card .news-card-meta time {
  display: none !important;
}

.news-lead-carousel {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: #071c33;
}

.news-lead-carousel[hidden] {
  display: none !important;
}

.news-lead-carousel-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.news-lead-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
}

.news-lead-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  animation: civak-lead-in .65s cubic-bezier(.22, .72, .22, 1) both;
}

.news-lead-slide.is-leaving {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: civak-lead-out .65s cubic-bezier(.22, .72, .22, 1) both;
}

.news-lead-carousel .news-card-body {
  padding-bottom: clamp(48px, 5vw, 58px);
}

@keyframes civak-lead-in {
  from { opacity: .35; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes civak-lead-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: .25; transform: translateX(100%); }
}

.news-lead-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(7, 28, 51, .5);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.news-lead-carousel-arrow[hidden],
.news-lead-carousel-dots[hidden] {
  display: none !important;
}

.news-lead-carousel-prev { left: 16px; }
.news-lead-carousel-next { right: 16px; }

.news-lead-carousel-arrow:hover,
.news-lead-carousel-arrow:focus-visible {
  border-color: #fff;
  background: var(--news-blue);
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

.news-lead-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 6;
  display: flex;
  direction: ltr;
  gap: 7px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.news-lead-carousel-dot {
  width: 9px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}

.news-lead-carousel-dot.is-active {
  width: 24px;
  background: #fff;
}

.news-lead-carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .news-lead-carousel { min-height: 430px; }
}

@media (max-width: 767.98px) {
  .news-lead-carousel { min-height: 400px; }
}

@media (max-width: 575.98px) {
  .news-lead-carousel { min-height: 350px; }
  .news-lead-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: .82rem;
  }
  .news-lead-carousel-prev { left: 10px; }
  .news-lead-carousel-next { right: 10px; }
  .news-lead-carousel-dots { bottom: 13px; }
  .news-lead-carousel .news-card-body { padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-lead-slide.is-active,
  .news-lead-slide.is-leaving {
    animation: none !important;
  }
}

/* CIVAKMEDIA v42: full-width carousel with the complete card feed below */
.news-editorial-grid.news-carousel-only {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 520px;
}

.news-carousel-only .news-editorial-lead {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 991.98px) {
  .news-editorial-grid.news-carousel-only {
    min-height: 0;
  }
}

/* CIVAKMEDIA: responsive YouTube embed for selected blog posts */
.news-article-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 24px 0 32px;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}
.news-article-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 767.98px) {
  .news-article-video-wrap {
    margin: 16px 0 24px;
    border-radius: 10px;
  }
}
