/* ===========================
   ISSUES PAGE (scoped)
   Body must be: <body class="page-issues">
   =========================== */

.page-issues .wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Page title */
.page-issues .top-issues .header h1 {
  color: var(--primary);
  text-align: center;
  font-weight: 800;
}

/* ===========================
   Issue summary cards grid
   =========================== */

.page-issues .issue-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .page-issues .issue-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .page-issues .issue-cards { grid-template-columns: 1fr; }
}

.page-issues .issue-card {
  background: #f7fbf7;
  border-radius: 14px;
  border: 1px solid #d6ead6;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.page-issues .issue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.page-issues .issue-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #fff;
	color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-issues .issue-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.page-issues .title-container .title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.page-issues .issue-card .description {
  font-size: 0.9rem;
  color: var(--muted);
}

.page-issues .issue-card .link a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.page-issues .issue-card .link a:hover {
  text-decoration: underline;
}

/* ===========================
   Detail sections
   =========================== */

.page-issues .issues-details {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-issues .issue-detail {
  scroll-margin-top: 120px;
  border-radius: 14px;
  background: #f8faf8;
  border: 1px solid #d6e7d6;
  padding: 0.9rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  position: relative;
}

.page-issues .issue-detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 24px;
  border-radius: 0 4px 4px 0;
  background: var(--primary);
}

.page-issues .issue-detail h3 {
  margin-left: 0.2rem;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--primary-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-issues .issue-detail.open h3 {
  color: var(--primary);
}

.page-issues .issue-detail h3::after {
  content: "▼";
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: transform 0.2s ease;
}

.page-issues .issue-detail.open h3::after {
  transform: rotate(-180deg);
}

.page-issues .issue-detail-body {
  display: none;
  margin-top: 0.3rem;
  margin-left: 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-issues .issue-detail-body ul {
	padding: 0;
	margin: 0 auto;
	max-width: 800px;
	text-align: left;
}

.page-issues .rad-list {
	margin: 0.6rem 0 0;
	padding-left: 1.25rem;
}

.page-issues .rad-item {
	margin: 0 0 0.9rem;
}

.page-issues .rad-title {
	display: block;
	font-weight: 800;
	margin-bottom: 0.25rem;
}

.page-issues .issue-detail.open .issue-detail-body {
  display: block;
}

.page-issues .issue-abstract {
  font-weight: 600;
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 0.6rem;
}

.page-issues .issue-divider {
  height: 1px;
  background: #d6e7d6;
  margin: 0.4rem 0 0.7rem;
  opacity: 0.9;
}

.page-issues .read-time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--primary);
}

.page-issues .read-label {
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  opacity: 0.9;
}

.page-issues .read-divider {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0.2rem;
  opacity: 0.8;
}

.page-issues .read-abstract,
.page-issues .read-full {
  color: var(--muted);
  font-weight: 700;
}

/* ===========================
   CTA section (scoped)
   =========================== */

.page-issues .cta-signup {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 2.5rem 1.5rem;
  background: #e1f4e7;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.page-issues .cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.page-issues .cta-image {
	height: 420px;
	border-radius: 16px;
	overflow: hidden;
}

.page-issues .cta-image img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
	object-position: center 15%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-issues .cta-content {
  text-align: left;
}

.page-issues .cta-signup h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-issues .cta-signup p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.4rem;
}

.page-issues .cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-issues .cta-row {
  display: flex;
  gap: 1rem;
}

.page-issues .cta-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #c8dbc8;
  font-size: 0.98rem;
  background: #fff;
}

.page-issues .cta-row input:focus,
.page-issues .cta-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 55, 0.18);
}

.page-issues .cta-label {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.page-issues .cta-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #c8dbc8;
  background: #fff;
  font-size: 0.98rem;
  color: var(--muted);
}

.page-issues .interest-dropdown {
  position: relative;
  width: 100%;
}

.page-issues .interest-dropdown-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #c8dbc8;
  background: #fff;
  font-size: 0.98rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-issues .interest-dropdown-btn:focus,
.page-issues .interest-dropdown-btn:hover {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 55, 0.18);
}

/* Dropdown menu */
.page-issues .interest-dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #c8dbc8;
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
}

/* When JS toggles .open */
.page-issues .interest-dropdown-menu.open {
  display: block;
}

/* Checkbox options */
.page-issues .dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.page-issues .dropdown-option input {
  accent-color: var(--primary);
  cursor: pointer;
}

.page-issues .dropdown-option:hover {
  color: var(--primary);
}

/* Divider (for "Other") */
.page-issues .dropdown-divider {
  height: 1px;
  background: #e3ece3;
  margin: 0.5rem 0;
}

/* Consent checkbox */
.page-issues .consent-label {
	display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
	color: var(--muted);
}

.page-issues .cta-btn {
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ffe45c);
  color: #111;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.4s ease;
  box-shadow: 0 6px 14px rgba(255, 215, 0, 0.35);
}

.page-issues .cta-btn:hover {
  background: linear-gradient(135deg, #ffe45c, #fff07a);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255, 215, 0, 0.5);
}

.page-issues .cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  transition: left 0.8s ease, opacity 0.3s ease;
  pointer-events: none;
}

.page-issues .cta-btn:hover::before {
  left: 130%;
  opacity: 1;
}

.page-issues .cta-btn:active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(22);
  }
}

@media (max-width: 800px) {
  .page-issues .cta-inner { grid-template-columns: 1fr; }
  .page-issues .cta-content { text-align: center; }
  .page-issues .cta-row { flex-direction: column; }
}
/* ============================================================
   ACCESSIBILITY: DARK MODE
   ============================================================ */

html.a11y-dark .page-issues .issue-card {
  background: #242424;
  border-color: #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

html.a11y-dark .page-issues .issue-card:hover {
  border-color: #4cc97a;
}

html.a11y-dark .page-issues .issue-icon {
  background: #2e2e2e;
}

html.a11y-dark .page-issues .issue-detail {
  background: #242424;
  border-color: #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

html.a11y-dark .page-issues .issue-divider {
  background: #444;
}

html.a11y-dark .page-issues .cta-signup {
  background: rgba(15, 40, 22, 0.95);
}

html.a11y-dark .page-issues .cta-row input,
html.a11y-dark .page-issues .cta-form select {
  background: #2e2e2e;
  color: #e8e8e8;
  border-color: #555;
}

html.a11y-dark .page-issues .cta-row input:focus,
html.a11y-dark .page-issues .cta-form select:focus {
  border-color: rgba(76, 201, 122, 0.55);
  box-shadow: 0 0 0 3px rgba(76, 201, 122, 0.15);
}

html.a11y-dark .page-issues .interest-dropdown-btn {
  background: #2e2e2e;
  color: #e8e8e8;
  border-color: #555;
}

html.a11y-dark .page-issues .interest-dropdown-btn:focus,
html.a11y-dark .page-issues .interest-dropdown-btn:hover {
  border-color: rgba(76, 201, 122, 0.55);
  box-shadow: 0 0 0 3px rgba(76, 201, 122, 0.15);
}

html.a11y-dark .page-issues .interest-dropdown-menu {
  background: #242424;
  border-color: #555;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

html.a11y-dark .page-issues .dropdown-option {
  color: #e8e8e8;
}

html.a11y-dark .page-issues .dropdown-option:hover {
  color: #4cc97a;
}

html.a11y-dark .page-issues .cta-label {
  color: #a0a0a0;
}

/* ============================================================
   ACCESSIBILITY: COMFORT MODE
   ============================================================ */

html.a11y-comfort .page-issues .issue-card {
  background: #faf5ee;
  border-color: #e0d5c5;
}

html.a11y-comfort .page-issues .issue-card:hover {
  border-color: var(--primary);
}

html.a11y-comfort .page-issues .issue-icon {
  background: #fdf9f3;
}

html.a11y-comfort .page-issues .issue-detail {
  background: #faf5ee;
  border-color: #e0d5c5;
}

html.a11y-comfort .page-issues .issue-divider {
  background: #e0d5c5;
}

html.a11y-comfort .page-issues .cta-signup {
  background: #ede8df;
}

html.a11y-comfort .page-issues .cta-row input,
html.a11y-comfort .page-issues .cta-form select {
  background: #fdf9f3;
  border-color: #d4c5b0;
  color: #3d3530;
}

html.a11y-comfort .page-issues .interest-dropdown-btn {
  background: #fdf9f3;
  border-color: #d4c5b0;
  color: #3d3530;
}

html.a11y-comfort .page-issues .interest-dropdown-menu {
  background: #fdf9f3;
  border-color: #d4c5b0;
}

/* ============================================================
   ACCESSIBILITY: HIGH CONTRAST
   ============================================================ */

html.a11y-highcontrast .page-issues .issue-card {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .issue-card:hover {
  border-color: #000000;
  box-shadow: 0 0 0 3px #000000;
}

html.a11y-highcontrast .page-issues .issue-icon {
  background: #ffffff;
  border: 2px solid #000000;
}

html.a11y-highcontrast .page-issues .issue-detail {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .issue-divider {
  background: #000000;
  opacity: 1;
}

html.a11y-highcontrast .page-issues .cta-signup {
  background: #f0f0f0;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .cta-row input,
html.a11y-highcontrast .page-issues .cta-form select {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

html.a11y-highcontrast .page-issues .cta-row input:focus,
html.a11y-highcontrast .page-issues .cta-form select:focus {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

html.a11y-highcontrast .page-issues .interest-dropdown-btn {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .interest-dropdown-btn:focus,
html.a11y-highcontrast .page-issues .interest-dropdown-btn:hover {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

html.a11y-highcontrast .page-issues .interest-dropdown-menu {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .dropdown-option {
  border: 1px solid #888888;
}

html.a11y-highcontrast .page-issues .cta-btn {
  background: #FFD700;
  border: 2px solid #000000;
  color: #000000;
  box-shadow: none;
}

html.a11y-highcontrast .page-issues .cta-btn:hover {
  background: #FFE44A;
  box-shadow: none;
}