/*
Theme Name: Anat
Theme URI: https://anat-hr.org
Author: Anat
Author URI: https://anat-hr.org
Description: A human rights organization theme for Anat — clean, modern, and bold.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anat
*/

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-primary: #79c3ec;
  --color-background: #ffffff;
  --color-foreground: #212121;
  --color-muted: #f2f2f2;
  --color-accent: #79c3ec;
  --color-accent-hover: #5bb3e6;
  --color-accent-light: #e8f4fb;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-card: #ffffff;
  --color-card-hover: #fafafa;
  --color-text-secondary: #555;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* RTL Arabic font */
body.rtl,
body.font-arabic {
  font-family:
    "Cairo",
    "Tajawal",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  line-height: 1.8 !important;
}

/* Apply Cairo Font to Arabic Titles */
body.font-arabic .font-heading,
body.font-arabic h1,
body.font-arabic h2,
body.font-arabic h3,
body.font-arabic h4,
body.font-arabic h5,
body.font-arabic h6,
body.font-arabic .hero-title,
body.font-arabic .section-title,
body.font-arabic .news-card-content h3,
body.font-arabic .news-card-content h4,
body.font-arabic .report-card-body h3,
body.font-arabic .who-card h3,
body.font-arabic .action-card-body h4 {
  font-family: "Cairo", sans-serif !important;
  line-height: 1.5 !important;
  font-weight: 700;
}

body.font-arabic p {
  font-family: "Tajawal", sans-serif !important;
  line-height: 2 !important;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.font-heading {
  font-family: var(--font-heading);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Admin Bar Fix for Fixed Header */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---- Top Utility Bar ---- */
.header-top-bar {
  background: var(--color-foreground);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.header-top-left .top-bar-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
}

[dir="rtl"] .header-top-left .top-bar-menu {
  padding-right: 0;
}

/* RTL logo flip */
[dir="rtl"] .header-logo a {
  flex-direction: row-reverse;
  text-align: right;
}

.header-top-left .top-bar-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  transition: color 0.2s;
}

.header-top-left .top-bar-menu a:hover {
  color: #fff;
}

/* ---- Main Header Bar ---- */
.header-main {
  background: #fff;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  z-index: 50;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.header-logo a:hover {
  opacity: 0.85;
}

.header-logo img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 3rem;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-logo .site-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.header-logo .site-tagline {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.header-logo a:hover .site-name {
  color: var(--color-foreground);
  opacity: 0.7;
}

/* ---- Desktop Navigation ---- */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

/* Nav Items */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-foreground);
  padding: 0.625rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-item > a span {
  position: relative;
}

.nav-item > a span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

[dir="rtl"] .nav-item > a span::after {
  transform-origin: right;
}

.nav-item:hover > a span::after,
.nav-item.is-active > a span::after {
  transform: scaleX(1);
}

.nav-item.is-active > a {
  color: var(--color-foreground);
}

.nav-item:hover > a {
  color: var(--color-foreground);
}

.dropdown-arrow {
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Submenu */
.nav-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 100;
}

[dir="rtl"] .nav-item .sub-menu {
  left: auto;
  right: 0;
}

.nav-item.has-dropdown:hover > .sub-menu {
  display: block;
}

.nav-item .sub-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-foreground);
  font-weight: 400;
  transition: all 0.15s;
}

.nav-item .sub-menu li a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.nav-item .sub-menu li.is-active a {
  color: var(--color-accent);
  font-weight: 500;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-action {
  position: relative;
  background-color: #79C3EC;
  color: #fff;
  padding: 0.5rem 1.125rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.1s ease;
  display: inline-block;
  white-space: nowrap;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 #A1D7F5, 0 4px 0 #5A9BBF;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-action:hover {
  background-color: #8AD1F7;
  color: #fff;
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 #A1D7F5, 0 3px 0 #5A9BBF;
}

.btn-action:active {
  top: 3px;
  box-shadow: inset 0 1px 0 #A1D7F5, inset 0 -1px 0 #5A9BBF;
}

/* ---- Mobile Menu Button ---- */
.mobile-menu-btn {
  display: block;
  z-index: 50;
  padding: 0.5rem;
  color: #000;
  background: none;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-btn .icon-close {
  display: none;
}

.mobile-menu-btn.is-active .icon-hamburger {
  display: none;
}

.mobile-menu-btn.is-active .icon-close {
  display: block;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-foreground);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  padding-top: 6.5rem;
  z-index: 40;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .mobile-menu {
    display: block;
  }
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-links {
  padding: 0.5rem 1.5rem;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item > a,
.mobile-nav-parent > a {
  color: #fff;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.mobile-nav-item.is-active > a,
.mobile-nav-parent .is-active > a {
  color: var(--color-accent);
}

.mobile-nav-parent {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-parent > a {
  flex: 1;
  border-bottom: none;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.875rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-dropdown-toggle:hover {
  color: #fff;
}

.mobile-dropdown-toggle.is-open svg {
  transform: rotate(180deg);
}

.mobile-sub-menu {
  list-style: none;
  display: none;
  padding-left: 1rem;
}

[dir="rtl"] .mobile-sub-menu {
  padding-left: 0;
  padding-right: 1rem;
}

.mobile-sub-menu.is-open {
  display: block;
}

.mobile-sub-menu a {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  display: block;
  transition: color 0.2s;
}

.mobile-sub-menu a:hover {
  color: #fff;
}

.mobile-menu-bottom {
  padding: 1.5rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.lang-btn-mobile {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.2s;
  text-transform: uppercase;
}

.lang-btn-mobile:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.lang-btn-mobile.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.mobile-menu-bottom .btn-action-mobile {
  display: block;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.mobile-menu-bottom .btn-action-mobile:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}



/* Hide Weglot Flags Robustly */
.weglot-flags,
.wg-flags,
[class*="wg-flag"],
.flag-0,
.country-selector:before,
.country-selector:after {
  display: none !important;
  background-image: none !important;
  content: none !important;
}

.weglot-language span.wglanguage-name {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Custom Language Dropdown */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  z-index: 1000;
}

.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(121, 195, 236, 0.1);
  border: 1px solid rgba(121, 195, 236, 0.2);
  color: #79C3EC;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.lang-dropdown-trigger:hover {
  background: rgba(121, 195, 236, 0.2);
  color: #fff;
  border-color: #79C3EC;
  box-shadow: 0 4px 15px rgba(121, 195, 236, 0.2);
}

.lang-dropdown-trigger .chevron {
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.custom-lang-dropdown:hover .lang-dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(121, 195, 236, 0.2);
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transform-origin: top right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.custom-lang-dropdown:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-menu li:not(:last-child) {
  margin-bottom: 2px;
}

.lang-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-dropdown-menu li a:hover {
  background: #79C3EC;
  color: #fff;
}

/* Hide TranslatePress Default Floater to avoid "buggy" double UI */
#trp-floater-ls, 
.trp-language-switcher-container {
  display: none !important;
}

/* Header Top Bar Adjustment */
.header-top-right .custom-lang-dropdown {
  display: flex;
  justify-content: flex-end;
}

/* Mobile Adjustments */
.mobile-lang-switcher .custom-lang-dropdown {
  width: 100%;
  text-align: center;
}

.mobile-lang-switcher .lang-dropdown-trigger {
  justify-content: center;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.625rem;
}

.mobile-lang-switcher .lang-dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: none;
  border: none;
  box-shadow: none;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mobile-lang-switcher .lang-dropdown-menu li a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  min-width: 60px;
}

/* RTL adjustment */
[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

/* ========================================
   Hero Section (Intro)
   ======================================== */
.hero-section {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero-section:hover .hero-image {
  filter: brightness(0.75);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 85vh !important;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.3rem 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.5rem !important;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 56rem;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-date {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem !important;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem !important;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.85rem !important;
  }
}

.hero-excerpt {
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  font-size: 0.875rem !important;
  line-height: 1.625;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-excerpt {
    font-size: 0.9375rem !important;
  }
}

.hero-read-more {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.hero-read-more:hover,
.hero-section:hover .hero-read-more {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-read-more svg {
  width: 1.125rem;
  height: 1.125rem;
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

[dir="rtl"] .hero-read-more svg {
  margin-left: 0;
  margin-right: 0.5rem;
  transform: rotate(180deg);
}

.hero-section:hover .hero-read-more svg {
  transform: translateX(0.25rem);
}

[dir="rtl"] .hero-section:hover .hero-read-more svg {
  transform: rotate(180deg) translateX(0.25rem);
}

/* ========================================
   Who We Are Section
   ======================================== */
.who-we-are {
  padding: 5rem 0;
  background: #fff;
}

.who-we-are .cards-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .who-we-are .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.who-card {
  position: relative;
  border: 3px solid var(--color-foreground);
  padding: 2.5rem;
  transition: all 0.5s;
  overflow: hidden;
  display: block;
}

.who-card:hover {
  background: var(--color-foreground);
  border-color: var(--color-foreground);
}

.who-card-icon {
  margin-bottom: 2rem;
  transition: transform 0.5s;
}

.who-card:hover .who-card-icon {
  transform: rotate(6deg);
}

.who-card-icon svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--color-foreground);
  transition: color 0.5s;
}

.who-card:hover .who-card-icon svg {
  color: var(--color-accent);
}

.who-card h3 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  transition: all 0.5s;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.who-card:hover h3 {
  color: #fff;
  letter-spacing: 0.05em;
}

.who-card p {
  color: rgba(26, 26, 26, 0.8);
  line-height: 1.625;
  font-size: 1rem;
  transition: color 0.5s;
}

.who-card:hover p {
  color: #fff;
}

/* ========================================
   Take Action Section
   ======================================== */
.take-action {
  padding: 5rem 0;
  background: var(--color-muted);
}

.section-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-foreground);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-header {
  margin-bottom: 3rem;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .action-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.action-card {
  background: #fff;
  overflow: hidden;
  transition: all 0.5s;
  display: block;
  border-left: 4px solid transparent;
}

[dir="rtl"] .action-card {
  border-left: none;
  border-right: 4px solid transparent;
}

.action-card:hover {
  border-left-color: var(--color-accent);
}

[dir="rtl"] .action-card:hover {
  border-right-color: var(--color-accent);
}

.action-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.action-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-out;
}

.action-card:hover .action-card-image img {
  filter: brightness(0.9);
}

.action-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.75rem;
}

.action-card-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  line-height: 1.25;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-foreground);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: gap 0.3s;
}

.read-more-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  transition: transform 0.3s;
}

[dir="rtl"] .read-more-link svg {
  margin-left: 0;
  margin-right: 0.25rem;
  transform: rotate(180deg);
}

.action-card:hover .read-more-link svg {
  transform: translateX(0.5rem);
}

[dir="rtl"] .action-card:hover .read-more-link svg {
  transform: rotate(180deg) translateX(0.5rem);
}

/* Take Action archive page */
.take-action-archive {
  padding-top: 180px;
  padding-bottom: 5rem;
}

.centered-header {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto 4rem;
}

.take-action-archive .take-action-desc {
  margin-top: 1rem;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.action-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .action-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .action-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.take-action-archive .action-card {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}

.take-action-archive .action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.take-action-archive .action-card-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.take-action-archive .action-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.take-action-archive .action-card:hover .action-card-image img {
  transform: scale(1.08);
}

.action-card-sigs {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #1a1a1a;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.take-action-archive .action-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.action-card-meta {
  margin-bottom: 0.75rem;
}

.action-card-topic {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #79c3ec;
}

.action-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.action-card-excerpt {
  font-size: 0.92rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.action-card-footer {
  margin-top: auto;
}

.btn-action-card {
  display: inline-block;
  background: #79c3ec;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition:
    background-color 0.2s,
    transform 0.2s;
  text-align: center;
  width: 100%;
}

.action-card:hover .btn-action-card {
  background: #5eb4e6;
}

.bot-check-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.bot-check-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    user-select: none;
}

.bot-check-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(121, 195, 236, 0.3);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.bot-check-label input[type="checkbox"]:checked {
    background: #79c3ec;
    border-color: #79c3ec;
}

.bot-check-label input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.bot-check-label:hover input[type="checkbox"] {
    border-color: #79c3ec;
}

.take-action-pagination {
  margin-top: 2.5rem;
}

/* Single Action */
.action-page {
  margin-top: 90px;
}

.action-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
  overflow: hidden;
  color: #fff;
  border-bottom: none;
}

.action-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.action-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.45) 50%,
    rgba(26, 26, 26, 0.1) 100%
  );
  z-index: 2;
}

.action-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 3.5rem;
}

.action-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.action-back-link:hover {
  color: #fff;
}

.action-topic-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  background: #fff;
  border-radius: 999px;
}

.action-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 48rem;
  margin-bottom: 1rem;
}

.action-intro {
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.action-body {
  padding: 3rem 0 4rem;
}

/* Redesigned Petition Layout */
.petition-layout .action-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .petition-layout .action-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .action-main-content {
    flex: 1;
    max-width: calc(100% - 400px);
  }

  .action-sidebar {
    width: 360px;
    position: sticky;
    top: 120px;
  }
}

.petition-container {
  background: #1a1a1a;
  color: #fff;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.petition-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.signature-counter {
  margin-bottom: 2rem;
}

.counter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.counter-label strong,
.milestone-label strong {
  color: #79c3ec;
  font-size: 0.9rem;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #79c3ec;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.petition-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.petition-form input,
.petition-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #fff;
  border: none;
  font-size: 1rem;
  color: #1a1a1a;
}

.petition-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-petition-submit {
  background: #79c3ec;
  color: #1a1a1a;
  border: none;
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    transform 0.2s,
    background-color 0.2s;
  margin-top: 0.5rem;
  width: 100%;
}

.btn-petition-submit:hover {
  background: #6ab0d6;
  transform: translateY(-2px);
}

.btn-petition-submit:active {
  transform: translateY(0);
}

.btn-petition-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

#petition-message {
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  display: none;
}

#petition-message.success {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border-left: 4px solid #2ecc71;
}

#petition-message.error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border-left: 4px solid #e74c3c;
}

.petition-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* ========================================
   Announcement Section
   ======================================== */
.announcement {
  padding: 6rem 0;
  background: var(--color-foreground);
  text-align: center;
}

.announcement h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  max-width: 64rem;
  margin: 0 auto 2rem;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .announcement h2 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .announcement h2 {
    font-size: 4rem;
  }
}

.announcement p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .announcement p {
    font-size: 1.25rem;
  }
}

.announcement-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-white:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: calc(0.625rem - 2px) calc(1.25rem - 2px);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-outline-white:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-foreground);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Latest News Section
   ======================================== */
.latest-news {
  padding: 5rem 0;
  background: var(--color-muted);
}

/* ---- Header row ---- */
.latest-news-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.latest-news-header .section-title {
  margin: 0 auto;
}

.latest-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-foreground);
  white-space: nowrap;
  transition: color 0.2s;
}

.latest-news-view-all:hover {
  color: var(--color-accent);
}

.latest-news-view-all svg {
  transition: transform 0.3s;
}

.latest-news-view-all:hover svg {
  transform: translateX(0.35rem);
}

[dir="rtl"] .latest-news-view-all svg {
  transform: rotate(180deg);
}

[dir="rtl"] .latest-news-view-all:hover svg {
  transform: rotate(180deg) translateX(0.35rem);
}

/* ---- Amnesty News Header ---- */
.amnesty-news-header {
  padding: 10rem 0 4rem;
  background: #f4f4f4;
  text-align: center;
}

.amnesty-news-title {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.amnesty-news-intro {
  max-width: 680px;
  margin: 1.5rem auto 0;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
}

/* ---- Amnesty Filters ---- */
.amnesty-filters {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .filters-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-group-left {
  flex: 1;
  max-width: 480px;
}

.amnesty-search-form .search-input-wrapper {
  position: relative;
}

.amnesty-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 3.5rem;
  border: 2px solid #000;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  background: #fff;
  transition: all 0.2s ease;
}

.amnesty-search-input:focus {
  outline: none;
  background: #f9f9f9;
}

.amnesty-search-submit {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  display: flex;
}

.category-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none; /* Firefox */
}

.category-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.amnesty-pill {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: #f4f4f4;
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.amnesty-pill:hover,
.amnesty-pill.is-active {
  background: #000;
  color: #fff;
}

.results-meta {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #666;
}

/* ---- Amnesty News Grid ---- */
.amnesty-news-grid-section {
  padding: 4rem 0 6rem;
  background: #fff;
}

.amnesty-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}

@media (min-width: 640px) {
  .amnesty-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .amnesty-news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amnesty-card {
  display: flex;
  flex-direction: column;
}

.amnesty-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.amnesty-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.amnesty-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amnesty-card:hover .amnesty-card-image img {
  transform: scale(1.05);
}

.amnesty-card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.amnesty-card-date {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.amnesty-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #000;
  margin: 0;
  text-transform: uppercase;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.amnesty-pagination {
  margin-top: 5rem;
  border-top: 1px solid #eee;
  padding-top: 2.5rem;
}

.amnesty-btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  transition: opacity 0.2s;
}

.amnesty-btn-primary:hover {
  opacity: 0.8;
}

.amnesty-no-results {
  text-align: center;
  padding: 6rem 0;
  max-width: 500px;
  margin: 0 auto;
}

.amnesty-no-results h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  margin: 1rem 0;
  text-transform: uppercase;
}

/* ---- Shared card styles ---- */
.news-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition:
    box-shadow 0.4s,
    transform 0.4s;
}

.news-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

/* News page specific enhancements */
.blog .news-card,
.archive .news-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #000;
}

.blog .news-card:hover,
.archive .news-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

.news-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
  border-radius: 0 0 6px 6px;
}

.news-card:hover::after {
  transform: scaleX(1);
}

[dir="rtl"] .news-card::after {
  transform-origin: right;
}

.news-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card-bg {
  transform: scale(1.08);
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.05) 100%
  );
  transition: background 0.5s;
}

.news-card:hover .news-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.news-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.5rem;
}

/* Category label */
.news-card-cat {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

/* ---- Top row: 2 large cards ---- */
.news-grid-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .news-grid-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.news-card--large {
  height: 320px;
}

@media (min-width: 768px) {
  .news-card--large {
    height: 420px;
  }
}

@media (min-width: 1024px) {
  .news-card--large {
    height: 460px;
  }
}

.news-card--large h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.news-card:hover h3 {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .news-card--large h3 {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .news-card--large h3 {
    font-size: 2.125rem;
  }
}

/* ---- Bottom row: 3 smaller cards ---- */
.news-grid-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .news-grid-bottom {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.news-card--small {
  height: 240px;
}

@media (min-width: 768px) {
  .news-card--small {
    height: 280px;
  }
}

@media (min-width: 1024px) {
  .news-card--small {
    height: 300px;
  }
}

.news-card--small h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.news-card:hover h4 {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .news-card--small h4 {
    font-size: 1.1875rem;
  }
}

/* ---- Bottom CTA ---- */
.latest-news-bottom {
  text-align: center;
  margin-top: 2.5rem;
}

.news-page-header {
  padding: 8rem 0 6rem;
  background: var(--color-foreground);
  color: #fff;
  text-align: center;
}

.news-page-header h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

[dir="rtl"] .news-page-header h1 {
  font-size: 4.5rem;
}

.news-page-header .news-page-intro {
  max-width: 720px;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.news-page-intro p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .news-page-header .news-page-intro {
    font-size: 1.25rem;
    max-width: 820px;
  }
}

.news-featured {
  padding: 4rem 0 2rem;
  background: var(--color-muted);
}

.news-featured .latest-news-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .news-featured .latest-news-header {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .news-featured .latest-news-header {
    justify-content: space-between;
    gap: 1.5rem;
    text-align: left;
  }
}

.news-featured .section-badge {
  background: var(--color-foreground);
  color: #fff;
}

.news-featured .news-grid-top {
  margin-bottom: 0;
}

.news-featured .news-card--featured {
  min-height: 360px;
}

@media (min-width: 768px) {
  .news-featured .news-card--featured {
    min-height: 440px;
  }
}

@media (min-width: 1024px) {
  .news-featured .news-card--featured {
    min-height: 520px;
  }
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.news-card-date::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  display: block;
}

.news-card--featured p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .news-card--featured p {
    font-size: 1.125rem;
  }
}

.news-archive-grid {
  background: #fff;
  padding: 4rem 0 5rem;
}

.news-archive-grid .archive-posts {
  gap: 2rem;
}

@media (min-width: 1200px) {
  .news-archive-grid .archive-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card--small {
  min-height: 320px;
}

.news-card--small p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.news-card--small .read-more-link {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.news-card--small .read-more-link svg {
  width: 18px;
  height: 18px;
}

.news-card--small .read-more-link:hover {
  color: var(--color-accent);
}

.news-archive-grid .pagination {
  margin-top: 3rem;
}

/* ========================================
   International Reports Section
   ======================================== */
.intl-reports {
  padding: 5rem 0;
  background: #fff;
}

.intl-reports-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.intl-reports-header .section-title {
  margin: 0 auto;
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reports-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.report-card {
  display: block;
  background: var(--color-muted);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

/* Cover image area */
.report-card-cover {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--color-border);
}

@media (min-width: 1024px) {
  .report-card-cover {
    height: 280px;
  }
}

.report-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.report-card:hover .report-card-img {
  transform: scale(1.05);
}

.report-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--color-muted);
  color: var(--color-text-secondary);
}

/* PDF badge */
.report-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #c0392b;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

[dir="rtl"] .report-card-badge {
  right: auto;
  left: 0.75rem;
}

/* Card body */
.report-card-body {
  padding: 1.25rem;
}

.report-card-region {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.report-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.report-card:hover h3 {
  color: var(--color-accent);
}

.report-card-date {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.intl-reports-bottom {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   Reports Archive Page
   ======================================== */
.reports-archive {
  padding-top: calc(90px + 3rem);
  padding-bottom: 4rem;
}

.reports-archive-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reports-archive-header .section-title {
  margin: 0 auto 0.75rem;
}

.reports-archive-desc {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Region filter tags */
.reports-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.reports-filter-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-foreground);
  border: 2px solid var(--color-border);
  border-radius: 3px;
  transition: all 0.2s;
}

.reports-filter-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.reports-filter-tag.is-active {
  background: var(--color-foreground);
  border-color: var(--color-foreground);
  color: #fff;
}

/* Pagination */
.reports-pagination {
  margin-top: 3rem;
  text-align: center;
}

.reports-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.reports-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-foreground);
  border-radius: 4px;
  transition: all 0.2s;
}

.reports-pagination .page-numbers:hover {
  background: var(--color-muted);
}

.reports-pagination .page-numbers.current {
  background: var(--color-foreground);
  color: #fff;
}

/* Empty state */
.reports-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--color-text-secondary);
}

.reports-empty svg {
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.reports-empty h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

/* ========================================
   Single Report Page
   ======================================== */

/* ---- Hero banner ---- */
.report-hero {
  position: relative;
  margin-top: 90px;
  min-height: 480px;
  height: 70vh;
  display: flex;
  align-items: flex-end;
  background: var(--color-foreground);
  overflow: hidden;
}

@media (min-width: 768px) {
  .report-hero {
    height: 80vh;
  }
}

@media (min-width: 1200px) {
  .report-hero {
    height: 85vh;
  }
}

.report-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.report-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.3) 100%
  );
}

.report-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.report-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.report-hero-back:hover {
  color: #fff;
}

.report-hero-back svg {
  transition: transform 0.2s;
}

.report-hero-back:hover svg {
  transform: translateX(-3px);
}

[dir="rtl"] .report-hero-back svg {
  transform: rotate(180deg);
}

[dir="rtl"] .report-hero-back:hover svg {
  transform: rotate(180deg) translateX(-3px);
}

.report-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.report-hero-region {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
}

.report-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.report-hero-date svg {
  opacity: 0.7;
}

.report-hero-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
  max-width: 48rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .report-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .report-hero-title {
    font-size: 3.5rem;
  }
}

.report-hero-excerpt {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .report-hero-excerpt {
    font-size: 1.1875rem;
  }
}

.report-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.report-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition:
    background 0.2s,
    transform 0.2s;
}

.report-btn-download:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.report-hero-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  transition:
    background 0.2s,
    color 0.2s;
}

.report-share-icon:hover {
  background: var(--color-accent);
  color: #fff;
}

.report-share-icon svg {
  width: 1rem;
  height: 1rem;
}

/* ---- Report body ---- */
.report-body {
  padding: 3.5rem 0 4rem;
}

.report-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .report-layout {
    grid-template-columns: 1fr 320px;
    gap: 3rem;
  }
}

/* When there is only main content (no sidebar), span full width */
.report-layout > .report-content:only-child {
  grid-column: 1 / -1;
}

.report-content {
  min-width: 0;
}

/* Sticky sidebar */
.report-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .report-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* Info card */
.report-info-card {
  background: var(--color-muted);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
}

[dir="rtl"] .report-info-card {
  border-left: none;
  border-right: 4px solid var(--color-accent);
}

.report-info-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.report-info-list {
  margin: 0;
}

.report-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.report-info-row dt {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.report-info-row dd {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0;
  text-align: right;
}

[dir="rtl"] .report-info-row dd {
  text-align: left;
}

.report-sidebar-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-foreground);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.2s;
}

.report-sidebar-download:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Share card */
.report-share-card {
  background: var(--color-muted);
  border-radius: 8px;
  padding: 1.5rem;
}

.report-share-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.report-share-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.report-share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-foreground);
  transition: background 0.2s;
}

.report-share-link:hover {
  background: rgba(0, 0, 0, 0.06);
}

.report-share-link svg {
  width: 1rem;
  height: 1rem;
}

/* ---- Related reports ---- */
.report-related {
  padding: 4rem 0;
  background: var(--color-muted);
}

.report-related-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-foreground);
  margin-bottom: 2rem;
  text-align: center;
}

.report-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .report-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 0;
  background: rgba(245, 245, 245, 0.3);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-brand .brand-subtitle {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 28rem;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
  }
}

.footer-bottom p {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ========================================
   Single Post / Article Page
   ======================================== */
.article-page {
  position: relative;
  margin-top: 90px;
}

/* ---- Article Hero ---- */
.article-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-hero {
    height: 75vh;
  }
}

@media (min-width: 1024px) {
  .article-hero {
    height: 80vh;
  }
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2),
    transparent
  );
}

.article-hero--no-image {
  height: 30vh;
  background: var(--color-muted);
}

/* ---- Article Content Wrapper ---- */
.article-content-wrapper {
  margin-top: -5rem;
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

/* ---- Article Grid (main + sidebar) ---- */
.article-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
  }
}

/* ---- Article Main Card ---- */
.article-main {
  background: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .article-main {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .article-main {
    padding: 2.5rem;
  }
}

/* ========================================
   About Page (k-style layout)
   ======================================== */
.aboutk-page {
  margin-top: 90px;
}

.aboutk-hero {
  padding: 9rem 0 3rem;
  background: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}

.aboutk-kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.aboutk-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 32rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .aboutk-title {
    font-size: 3.25rem;
  }
}

.aboutk-intro {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.aboutk-section {
  padding: 3.5rem 0;
}

.aboutk-story {
  background: #fff;
}

.aboutk-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .aboutk-two-col {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    align-items: flex-start;
  }
}

.aboutk-story h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aboutk-story-image {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

.aboutk-story-placeholder {
  width: 100%;
  min-height: 220px;
  background:
    radial-gradient(circle at 0% 0%, #79c3ec 0, #79c3ec 12%, transparent 40%),
    radial-gradient(
      circle at 100% 100%,
      #212121 0,
      #212121 18%,
      transparent 50%
    ),
    linear-gradient(135deg, #e8f4fb, #ffffff);
}

.aboutk-section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.aboutk-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .aboutk-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aboutk-value {
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: #fff;
}

.aboutk-value-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.aboutk-value h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.aboutk-value p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.aboutk-how {
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.aboutk-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .aboutk-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aboutk-step {
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--color-muted);
}

.aboutk-step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.aboutk-step h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.aboutk-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.aboutk-cta {
  text-align: center;
  background: var(--color-foreground);
  color: #fff;
}

.aboutk-cta h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.aboutk-cta p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Article Topbar (Breadcrumb + Share) ---- */
.article-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.article-back-link:hover {
  color: var(--color-accent);
}

.article-back-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: transform 0.2s;
}

.article-back-link:hover svg {
  transform: translateX(-4px);
}

[dir="rtl"] .article-back-link svg {
  transform: rotate(180deg);
}

[dir="rtl"] .article-back-link:hover svg {
  transform: rotate(180deg) translateX(-4px);
}

/* ---- Share Buttons ---- */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-share-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: none;
}

@media (min-width: 640px) {
  .article-share-label {
    display: inline;
  }
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-text-secondary);
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.share-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* ---- Article Metadata ---- */
.article-meta {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.article-date svg {
  width: 1rem;
  height: 1rem;
}

/* ---- Article Title ---- */
.article-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--color-foreground);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .article-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3rem;
  }
}

/* ---- Bottom Share Section ---- */
.article-bottom-share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article-bottom-share-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .article-bottom-share-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.article-bottom-share-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.article-bottom-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: var(--color-accent-light);
  color: var(--color-foreground);
  transition: all 0.2s;
}

.share-btn-label:hover {
  background: var(--color-accent);
  color: #fff;
}

.share-btn-label svg {
  width: 1rem;
  height: 1rem;
}

.article-bottom-date {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ---- Article Sidebar ---- */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .article-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
  }
}

/* Recently Added */
.sidebar-recent {
  background: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.sidebar-recent-header {
  background: var(--color-accent);
  padding: 1rem 1.5rem;
}

.sidebar-recent-header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.sidebar-recent-item {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}

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

.sidebar-recent-item:hover {
  background: var(--color-accent-light);
}

.sidebar-recent-item h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  margin: 0;
}

.sidebar-recent-item:hover h3 {
  color: var(--color-accent);
}

.sidebar-recent-date {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(
    135deg,
    var(--color-accent-light),
    rgba(121, 195, 236, 0.2)
  );
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sidebar-cta p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.625rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.sidebar-cta-btn:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Post content typography */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.post-content h1 {
  font-size: 2.25rem;
}
.post-content h2 {
  font-size: 1.875rem;
}
.post-content h3 {
  font-size: 1.5rem;
}
.post-content h4 {
  font-size: 1.25rem;
}
.post-content h5 {
  font-size: 1.125rem;
}
.post-content h6 {
  font-size: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.post-content a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
}

.post-content a:hover {
  color: var(--color-foreground);
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-inline-start: 1.5rem;
}

.post-content ul {
  list-style-type: disc;
}
.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.post-content blockquote {
  font-style: italic;
  font-family: var(--font-heading);
  border-inline-start: 4px solid var(--color-accent);
  padding-inline-start: 1rem;
  margin: 2rem 0;
  color: var(--color-text-secondary);
  font-size: 1.25rem;
}

.post-content figure {
  margin: 2rem 0;
}

.post-content figure img {
  border-radius: 0.5rem;
}

.post-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.post-content pre {
  background: var(--color-card);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content code {
  font-family: monospace;
  background: var(--color-card);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

/* ========================================
   Archive / News Listing
   ======================================== */
.archive-header {
  padding: 8rem 0 3rem;
  background: var(--color-muted);
  margin-top: 90px;
}

.archive-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-foreground);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.archive-grid {
  padding: 3rem 0 5rem;
}

.archive-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .archive-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Page Template (no hero image)
   ======================================== */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--color-muted);
  margin-top: 90px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-foreground);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ========================================
   404
   ======================================== */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  margin-top: 90px;
}

.error-404 h1 {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.error-404 h2 {
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.error-404 .btn-home {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.error-404 .btn-home:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pagination .current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ========================================
   WordPress Specific
   ======================================== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-page {
  padding-bottom: 5rem;
}

.contact-content-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #79c3ec;
  margin-bottom: 1rem;
}

.contact-info-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

.contact-socials {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.social-link:hover {
  color: #79c3ec;
}

.contact-form-card {
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.form-desc {
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.anat-contact-form .form-group {
  margin-bottom: 1.5rem;
}

.form-group-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }
}

.anat-contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.anat-contact-form input[type="text"],
.anat-contact-form input[type="email"],
.anat-contact-form select,
.anat-contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fcfcfc;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.anat-contact-form input:focus,
.anat-contact-form select:focus,
.anat-contact-form textarea:focus {
  outline: none;
  border-color: #79c3ec;
  background: #fff;
}

.w-full {
  width: 100%;
}

/* Contact Form 7 Tweaks & Deep Resets */
.anat-contact-form.plugin-form .wpcf7-form {
  display: block;
}

.anat-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Neutralize CF7 auto-paragraphs and line breaks */
.anat-contact-form .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.anat-contact-form .wpcf7-form br {
  display: none !important;
}

/* Ensure all form groups have proper spacing */
.anat-contact-form .form-group {
  margin-bottom: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Force all controls to behave consistently */
.anat-contact-form input[type="text"],
.anat-contact-form input[type="email"],
.anat-contact-form input[type="tel"],
.anat-contact-form select,
.anat-contact-form textarea,
.anat-contact-form .wpcf7-form-control {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 1rem !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  background: #fcfcfc !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  color: var(--color-text) !important;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

.anat-contact-form select {
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1em !important;
}

.anat-contact-form textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

.anat-contact-form input:focus,
.anat-contact-form select:focus,
.anat-contact-form textarea:focus {
  outline: none !important;
  border-color: #79c3ec !important;
  box-shadow: 0 0 0 3px rgba(121, 195, 236, 0.1) !important;
}

/* Fix Labels */
.anat-contact-form label {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--color-text-secondary) !important;
  margin-bottom: 0.75rem !important;
}

/* Fix Grid for side-by-side elements */
.anat-contact-form .form-group-row {
  display: grid !important;
  gap: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

@media (min-width: 768px) {
  .anat-contact-form .form-group-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 767px) {
  .anat-contact-form .form-group-row {
    grid-template-columns: 1fr !important;
  }
}

.wpcf7-spinner {
  position: absolute;
  margin: 0;
  bottom: 2rem;
  right: 2rem;
}

/* Final submission button fix */
.wpcf7-submit.btn-action {
  appearance: none !important;
  border: none !important;
  cursor: pointer !important;
  width: 100% !important;
  padding: 1.25rem !important;
}


/* ========================================
   Join Us Page
   ======================================== */

/* ---- Benefits Section ---- */
.join-benefits-section {
  padding: 4rem 0;
  background: var(--color-muted);
}

.join-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.join-benefit-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: joinCardFadeIn 0.6s ease-out both;
  animation-delay: var(--delay);
  position: relative;
  overflow: hidden;
}

.join-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

[dir="rtl"] .join-benefit-card::before {
  transform-origin: right;
}

.join-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(121, 195, 236, 0.3);
}

.join-benefit-card:hover::before {
  transform: scaleX(1);
}

.join-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.join-benefit-card:hover .join-benefit-icon {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.05);
}

.join-benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--color-foreground);
}

.join-benefit-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

@keyframes joinCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Form Section ---- */
.join-form-section {
  padding: 4rem 0 5rem;
}

.join-form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* ---- Tabs ---- */
.join-tabs {
  display: flex;
  position: relative;
  border-bottom: 2px solid var(--color-muted);
  background: #fafafa;
}

.join-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.join-tab-btn:hover {
  color: var(--color-foreground);
}

.join-tab-btn.is-active {
  color: var(--color-accent);
}

.join-tab-btn svg {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.join-tab-btn.is-active svg {
  opacity: 1;
}

.join-tab-indicator {
  position: absolute;
  bottom: -2px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px 2px 0 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* ---- Form Panels ---- */
.join-form-panel {
  display: none;
  padding: 2.5rem;
  animation: joinPanelFadeIn 0.35s ease-out;
}

.join-form-panel.is-active {
  display: block;
}

@keyframes joinPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Form Elements ---- */
.join-form .form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.join-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.join-form .form-group-row .form-group {
  margin-bottom: 0;
}

.join-form label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-foreground);
}

.join-form label .required {
  color: #e74c3c;
  margin-left: 2px;
}

[dir="rtl"] .join-form label .required {
  margin-left: 0;
  margin-right: 2px;
}

.join-form input[type="text"],
.join-form input[type="email"],
.join-form input[type="tel"],
.join-form input[type="number"],
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-foreground);
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  outline: none;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(121, 195, 236, 0.15);
}

.join-form textarea {
  resize: vertical;
  min-height: 100px;
}

.join-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

[dir="rtl"] .join-form select {
  background-position: left 1rem center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

/* Submit Button */
.join-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.join-submit-btn .btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.join-submit-btn .spinner {
  animation: joinSpin 1s linear infinite;
}

@keyframes joinSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Form Message ---- */
.join-form-message {
  margin: 1.5rem 2.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.join-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.join-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .join-benefits {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .join-benefit-card {
    padding: 1.75rem 1.5rem;
  }

  .join-benefits-section {
    padding: 3rem 0;
  }

  .join-form-section {
    padding: 2rem 0 3rem;
  }

  .join-form-wrapper {
    border-radius: 0.75rem;
  }

  .join-tab-btn {
    font-size: 0.8125rem;
    padding: 1rem 0.75rem;
    gap: 0.35rem;
  }

  .join-tab-btn svg {
    width: 16px;
    height: 16px;
  }

  .join-form-panel {
    padding: 1.5rem;
  }

  .join-form .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .join-form .form-group-row .form-group {
    margin-bottom: 1.25rem;
  }

  .join-form-message {
    margin: 1rem 1.5rem 0;
  }
}

/* ---- RTL Adjustments ---- */
[dir="rtl"] .join-benefits-section,
[dir="rtl"] .join-form-section {
  direction: rtl;
}

[dir="rtl"] .join-tab-btn {
  flex-direction: row-reverse;
}

/* ---- Bot Check Checkbox ---- */
.bot-check-group {
  margin: 1.25rem 0 0.5rem;
}

.bot-check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  background: #fafafa;
  transition: all 0.25s ease;
  position: relative;
}

.bot-check-label:hover {
  border-color: rgba(121, 195, 236, 0.4);
  background: #f5fafd;
}

.bot-check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bot-check-box {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.25s ease;
}

.bot-check-box svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
  stroke: #fff;
}

.bot-check-input:checked ~ .bot-check-box {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.bot-check-input:checked ~ .bot-check-box svg {
  opacity: 1;
  transform: scale(1);
}

.bot-check-input:focus-visible ~ .bot-check-box {
  box-shadow: 0 0 0 3px rgba(121, 195, 236, 0.3);
}

.bot-check-text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-foreground);
  flex: 1;
}

.bot-check-shield {
  color: #aaa;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.bot-check-input:checked ~ .bot-check-shield {
  color: var(--color-accent);
}
