/* Election coverage — scoped visual focus (TTAADC + future polls) */
:root {
  --election-accent: #0d4f2c;
}

body.election-focus .header,
body.election-focus .navbar {
  border-top: 3px solid var(--election-accent, #0d4f2c);
}

.election-focus-strip {
  background: linear-gradient(105deg, var(--election-accent, #0d4f2c) 0%, #1a6e3c 45%, #0a3d22 100%);
  color: #fff;
  padding: 0.65rem 0;
  margin: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.election-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  justify-content: space-between;
}

.election-strip-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.election-strip-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.election-strip-cta {
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline !important;
  white-space: nowrap;
}

.election-strip-cta:hover {
  opacity: 0.9;
}

.election-hub-section,
.election-hub-page {
  background: linear-gradient(180deg, rgba(13, 79, 44, 0.06) 0%, transparent 28%);
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(13, 79, 44, 0.12);
}

.election-hub-header {
  border-left: 4px solid var(--election-accent, #0d4f2c);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.election-hub-title,
.election-page-h1 {
  color: var(--election-accent, #0d4f2c);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.election-hub-sub,
.election-page-lead {
  color: #444;
  margin-bottom: 0.5rem;
}

.election-hub-more {
  font-weight: 600;
  font-size: 0.9rem;
}

.election-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.election-card:hover {
  box-shadow: 0 8px 24px rgba(13, 79, 44, 0.12);
  transform: translateY(-2px);
}

.election-card-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
  height: 100%;
}

.election-card-fig {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.election-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.election-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.75rem 0.85rem 0;
  margin: 0;
  color: #111;
}

.election-card-meta {
  font-size: 0.75rem;
  color: #666;
  padding: 0.35rem 0.85rem 0.85rem;
  margin: 0;
}

.election-empty {
  padding: 1rem;
  background: rgba(255, 193, 7, 0.08);
  border-radius: 8px;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}

.election-poll-card {
  background: #fff;
  border: 2px solid var(--election-accent, #0d4f2c);
  border-radius: 10px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.election-poll-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--election-accent, #0d4f2c);
  margin: 0 0 0.5rem;
}

.election-poll-q {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.election-poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.election-poll-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin: 0;
  cursor: pointer;
}

.election-poll-option input {
  margin-top: 0.2rem;
}

.election-poll-submit {
  background: var(--election-accent, #0d4f2c) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
}

.election-poll-note {
  font-size: 0.7rem;
  color: #666;
  margin: 0.5rem 0 0;
}

.election-poll-results {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.election-poll-results .poll-bar-row {
  margin-bottom: 0.35rem;
}

.election-poll-results .poll-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(13, 79, 44, 0.15);
  overflow: hidden;
  margin-top: 0.15rem;
}

.election-poll-results .poll-bar-fill {
  height: 100%;
  background: var(--election-accent, #0d4f2c);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.election-gn-note {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
}

.election-gn-note h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #333;
}

.election-story-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.election-story-headline {
  color: #111;
}

.election-page-header {
  border-bottom: 2px solid var(--election-accent, #0d4f2c);
  padding-bottom: 1rem;
}

@media (max-width: 767px) {
  .election-story-row {
    flex-direction: column;
  }
  .election-story-thumb {
    width: 100%;
    height: 180px;
    margin-bottom: 0.5rem;
  }
}
