/* /assets/css/protests.css */
/* Global Politics — Protests page
   Stable, darker section styling with real image rendering.
*/

.protestsPage {
  background: transparent;
  color: #f5f7fb;
}

.protestsPage a {
  color: inherit;
}

.protestsHero {
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}

.protestsHero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.protestsHero .sectionHero-inner {
  position: relative;
  z-index: 1;
}

.protestsHero .sectionEyebrow {
  color: #d4af37;
}

.protestsHero .sectionTitle,
.protestsHero h1 {
  color: #f5f7fb;
  margin-top: 0;
}

.protestsHero .sectionIntro {
  color: rgba(245, 247, 251, 0.84);
  max-width: 980px;
}

/* Featured lead */

.protestsFeaturedLead {
  margin-top: 1.5rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(9, 24, 48, 0.96), rgba(6, 16, 31, 0.94));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.protestsFeaturedLead-shell {
  display: grid;
}

.protestsFeaturedLead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.protestsFeaturedLead-mediaLink,
.protestsFeaturedLead-titleLink {
  text-decoration: none;
  color: inherit;
}

.protestsFeaturedLead-mediaLink:hover,
.protestsFeaturedLead-titleLink:hover {
  color: inherit;
}

.protestsFeaturedLead-mediaFrame {
  position: relative;
  min-height: 320px;
  background-color: #0b1f3c;
  overflow: hidden;
}

.protestsFeaturedLead-media {
  position: absolute;
  inset: 0;
}

.protestsFeaturedLead-media--fallback {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), transparent 44%),
    linear-gradient(135deg, #173760, #0a1b33);
}

.protestsFeaturedLead-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.protestsFeaturedLead-mediaFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.08), rgba(4, 10, 22, 0.30));
  pointer-events: none;
}

.protestsFeaturedLead-body {
  padding: 1.65rem 1.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  color: #f5f7fb;
}

.protestsFeaturedMeta,
.protestsArticleMeta,
.protestsFilterLabel,
.protestsSignalLabel {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.protestsFeaturedMeta,
.protestsArticleMeta,
.protestsSignalLabel {
  color: rgba(245, 247, 251, 0.68);
}

.protestsFilterLabel {
  color: #d4af37;
}

.protestsFeaturedLead h2 {
  margin: 0;
  line-height: 1.06;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  color: #f5f7fb;
}

.protestsFeaturedLead p {
  margin: 0;
  color: rgba(245, 247, 251, 0.86);
}

.protestsFeaturedActions,
.protestsLeadFooterActions,
.protestsFeatureCardActions,
.protestsArticleCardActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.protestsFeaturedLead-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0 1.65rem 1.4rem;
}

.protestsPill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.protestsPillFilter {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.protestsPillFilter:hover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.protestsPillStatic {
  cursor: default;
}

.protestsInlineLink {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  color: #f8edc1;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.protestsInlineLink:hover {
  color: #f8edc1;
  background: rgba(212, 175, 55, 0.15);
}

/* Shared blocks */

.protestsFeaturedCards {
  display: grid;
  gap: 1rem;
}

.protestsStaticCard,
.protestsFeatureCard,
.protestsRailCard,
.protestsArticleCard {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 28, 54, 0.92), rgba(8, 19, 38, 0.90));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.protestsStaticCard,
.protestsFeatureCard,
.protestsRailCard {
  padding: 1.25rem;
}

.protestsStaticCard h3,
.protestsFeatureCard h3,
.protestsRailCard h3,
.protestsArticleBody h3 {
  color: #f5f7fb;
}

.protestsStaticCard p,
.protestsFeatureCard p,
.protestsRailCard p,
.protestsArticleBody p {
  color: rgba(245, 247, 251, 0.84);
}

.protestsFeatureCard a,
.protestsArticleCard a {
  color: #f5f7fb;
  text-decoration: none;
}

.protestsFeatureCard a:hover,
.protestsArticleCard a:hover {
  color: #f5f7fb;
}

.protestsFeatureCard .sectionCardMeta,
.protestsStaticCard .sectionCardMeta {
  color: #d4af37;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.protestsFeatureCard h3,
.protestsStaticCard h3 {
  margin: 0 0 0.75rem;
  line-height: 1.16;
}

.protestsFeatureCard p,
.protestsStaticCard p {
  margin: 0;
  line-height: 1.6;
}

.protestsFeatureCardShell {
  display: grid;
  gap: 0.95rem;
}

.protestsFeatureCardLink {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
}

.protestsFeatureCardThumb {
  position: relative;
  min-height: 132px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0b1f3c;
}

.protestsFeatureCardThumbFallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), transparent 44%),
    linear-gradient(135deg, #173760, #0a1b33);
}

.protestsFeatureCardThumbImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.protestsFeatureCardContent {
  min-width: 0;
}

.protestsFeatureCardContent h3 {
  margin: 0 0 0.65rem;
}

.protestsFeatureCardActions {
  justify-content: space-between;
}

/* Inline share */

.protestsInlineShare {
  position: relative;
  display: inline-flex;
}

.protestsInlineShareToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.protestsInlineShareToggle:hover,
.protestsInlineShare.is-open .protestsInlineShareToggle {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.10);
  transform: translateY(-1px);
}

.protestsInlineShareMenu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 180px;
  display: grid;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(8, 20, 39, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.protestsInlineShareMenu[hidden] {
  display: none;
}

.protestsInlineShareAction {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f7fb;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.protestsInlineShareAction:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
}

/* Filters */

.protestsFilterBar {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 20, 39, 0.72);
}

.protestsSearchRow {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.protestsSearchInput {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
  padding: 0.8rem 0.95rem;
  outline: none;
}

.protestsSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.protestsSearchInput:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10);
}

.protestsClearBtn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
  padding: 0.8rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.protestsClearBtn:hover:not(:disabled) {
  border-color: rgba(212, 175, 55, 0.48);
  background: rgba(212, 175, 55, 0.10);
}

.protestsClearBtn.is-disabled,
.protestsClearBtn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.protestsFilterGroup {
  display: grid;
  gap: 1rem;
}

.protestsFilterBlock {
  display: grid;
  gap: 0.5rem;
}

.protestsChipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.protestsChip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7fb;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.protestsChip:hover {
  border-color: rgba(212, 175, 55, 0.48);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-1px);
}

.protestsChip.is-active {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(212, 175, 55, 0.14);
  color: #f8edc1;
}

.protestsChipLabel {
  display: inline-flex;
  align-items: center;
}

.protestsChipCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 251, 0.86);
  font-size: 0.74rem;
  line-height: 1;
}

.protestsChip.is-active .protestsChipCount {
  background: rgba(248, 237, 193, 0.14);
  color: #f8edc1;
}

.protestsActiveSummary {
  font-size: 0.92rem;
  color: rgba(245, 247, 251, 0.82);
}

/* Articles list */

.protestsArticles {
  display: grid;
  gap: 1rem;
}

.protestsArticleCard {
  overflow: hidden;
}

.protestsArticleCardShell {
  display: grid;
}

.protestsArticleCard-link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
}

.protestsArticleMediaFrame {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
  background-color: #0b1f3c;
}

.protestsArticleMedia {
  position: absolute;
  inset: 0;
}

.protestsArticleMedia--fallback {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), transparent 44%),
    linear-gradient(135deg, #173760, #0a1b33);
}

.protestsArticleImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.protestsArticleMediaFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.06), rgba(4, 10, 22, 0.22));
  pointer-events: none;
}

.protestsArticleBody {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 0.7rem;
  color: #f5f7fb;
}

.protestsArticleTitleLink {
  text-decoration: none;
  color: inherit;
}

.protestsArticleTitleLink:hover {
  color: inherit;
}

.protestsArticleMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

.protestsArticleBody h3 {
  margin: 0;
  line-height: 1.16;
}

.protestsArticleBody p {
  margin: 0;
  line-height: 1.6;
}

.protestsArticleFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  padding: 0 1.2rem 1.2rem;
}

.protestsTagRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.protestsTag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5f7fb;
  background: rgba(255, 255, 255, 0.06);
}

.protestsReadMore {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  color: #f8edc1;
}

/* Rail */

.protestsRailCard {
  color: #f5f7fb;
}

.protestsRailCard h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.protestsRailCard p {
  margin: 0;
  line-height: 1.65;
}

.protestsRailCard .sectionLinkList {
  margin: 0;
  padding-left: 1rem;
}

.protestsRailCard .sectionLinkList li + li {
  margin-top: 0.55rem;
}

.protestsRailCard .sectionLinkList a {
  color: #f5f7fb;
}

.protestsRailCard .sectionLinkList a:hover {
  color: #f8edc1;
}

.protestsShareCard {
  display: grid;
  gap: 0.9rem;
}

.protestsShareActions {
  display: grid;
  gap: 0.65rem;
}

.protestsShareBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.protestsShareBtn:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.10);
  transform: translateY(-1px);
}

.protestsShareStatus {
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: rgba(245, 247, 251, 0.74);
}

.protestsShareStatus.is-info {
  color: rgba(245, 247, 251, 0.78);
}

.protestsShareStatus.is-success {
  color: #cfe6a7;
}

.protestsShareStatus.is-error {
  color: #ffb3b3;
}

.protestsSignalGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.protestsSignalItem {
  border-radius: 14px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.protestsSignalValue {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #f5f7fb;
}

.protestsSignalTopicList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.protestsSignalTopicChip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.protestsSignalTopicChip.is-active {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(212, 175, 55, 0.14);
  color: #f8edc1;
}

/* Empty / loading */

.protestsEmptyMuted {
  opacity: 0.8;
}

.protestsSkeleton {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.protestsSkeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  animation: protestsShimmer 1.3s infinite;
}

@keyframes protestsShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Responsive */

@media (max-width: 980px) {
  .protestsFeaturedLead-grid {
    grid-template-columns: 1fr;
  }

  .protestsFeaturedLead-mediaFrame {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  .protestsHero {
    padding-top: 1.4rem;
  }

  .protestsSearchRow {
    flex-direction: column;
    align-items: stretch;
  }

  .protestsFeatureCardLink {
    grid-template-columns: 1fr;
  }

  .protestsFeatureCardThumb {
    min-height: 180px;
  }

  .protestsFeaturedLead-footer,
  .protestsArticleFooter {
    flex-direction: column;
    align-items: flex-start;
  }

  .protestsArticleFooter {
    gap: 0.75rem;
  }

  .protestsSignalGrid {
    grid-template-columns: 1fr;
  }

  .protestsInlineShareMenu {
    left: 0;
    right: auto;
  }
}