/* ═══════════════════════════════════════════════════════════════
   Al-Wefaq SC — Main Stylesheet
   Direction: RTL | Language: Arabic
   Theme: Dark (#1a1a1a) + Gold (#c9a84c) + Green (#2d6a4f)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --dark:       #111111;
  --dark2:      #1a1a1a;
  --dark3:      #222222;
  --dark4:      #2a2a2a;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --green:      #2d6a4f;
  --green2:     #1b4332;
  --text:       #e8e4dc;
  --text-muted: #9a9590;
  --white:      #ffffff;
  --border:     rgba(201,168,76,0.2);
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--dark);
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gold);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

/* Design reminder: the mobile navigation toggle extends the dark-and-gold club header; it must never use a default white browser button surface. */
@media (max-width: 768px) {
  .nav-toggle {
    width: 44px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: linear-gradient(145deg, var(--dark3), #171717);
    border: 1px solid rgba(201, 168, 76, 0.72);
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.32);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--dark4);
    border-color: var(--gold-light);
    outline: none;
  }

  .nav-toggle:active { transform: scale(0.97); }
  .nav-toggle span { background: var(--gold-light); }
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* ══════════════════════════════════════════════════════════════
   SPONSORS BAR (appears on every page above footer)
══════════════════════════════════════════════════════════════ */
.sponsors-bar {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  overflow: hidden;
}

.sponsors-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-bar-title {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sponsors-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 24px;
  min-width: 120px;
  height: 56px;
  transition: all 0.3s;
}

.sponsor-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sponsor-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
  display: block;
  transition: color 0.2s;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo img { width: 50px; }

.footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO BANNER
══════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--green2) 0%, var(--dark2) 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/background.jpg') center/cover;
  opacity: 0.08;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════════════════════════ */
.section {
  padding: 70px 20px;
}

.section-alt {
  background: var(--dark2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green2);
}

/* ══════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════ */
.card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ══════════════════════════════════════════════════════════════
   NEWS CARDS
══════════════════════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--green);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.news-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card .card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card .card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   PLAYER CARDS
══════════════════════════════════════════════════════════════ */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.player-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.player-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.player-card .player-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.player-card .player-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  background: var(--dark4);
}

.player-card .player-info {
  padding: 16px;
}

.player-card .player-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.player-card .player-pos {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.player-card .player-nat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   MATCH CARDS
══════════════════════════════════════════════════════════════ */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.match-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.match-card:hover {
  border-color: var(--gold);
}

.match-team {
  display: flex;
  align-items: center;
  gap: 14px;
}

.match-team.away {
  flex-direction: row-reverse;
  text-align: left;
}

.match-team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--dark4);
  border-radius: 50%;
  padding: 4px;
}

.match-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.match-center {
  text-align: center;
}

.match-score {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
}

.match-vs {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.match-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.match-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.badge-win { background: rgba(45,106,79,0.3); color: #52b788; border: 1px solid #52b788; }
.badge-loss { background: rgba(180,60,60,0.3); color: #e07070; border: 1px solid #e07070; }
.badge-draw { background: rgba(180,140,60,0.3); color: var(--gold); border: 1px solid var(--gold); }
.badge-upcoming { background: rgba(60,100,180,0.3); color: #7aabff; border: 1px solid #7aabff; }

/* ══════════════════════════════════════════════════════════════
   GALLERY GRID
══════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 2rem;
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--white);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  direction: rtl;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.president-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
}

.president-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.president-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.president-body .quote-mark {
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.president-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}

.president-body .president-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.president-body .president-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0;
}

.stat-item {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   COACH CARD
══════════════════════════════════════════════════════════════ */
.coach-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  margin-bottom: 40px;
}

.coach-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: top;
  background: var(--dark4);
}

.coach-body {
  padding: 30px;
}

.coach-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.coach-body .coach-role {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.coach-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--dark3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 30px;
  width: fit-content;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #ffffff;
  transition: all 0.2s;
}

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

.tab-btn.active {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(197,161,80,0.4);
}

/* ══════════════════════════════════════════════════════════════
   HERO (HOME PAGE)
══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/background.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(17,17,17,0.95) 40%, rgba(17,17,17,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-match-card {
  position: absolute;
  bottom: 40px;
  left: 20px;
  background: rgba(26,26,26,0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 28px;
  backdrop-filter: blur(10px);
  min-width: 340px;
}

.hero-match-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-match-team {
  text-align: center;
}

.hero-match-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto 6px;
}

.hero-match-team span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.hero-match-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-match-info {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .squad-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; right: 0; left: 0; background: var(--dark2); padding: 20px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .hero-match-card { display: none; }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .president-card { grid-template-columns: 1fr; }
  .president-img { min-height: 280px; }
  .coach-card { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: 1fr; text-align: center; }
  .match-team.away { flex-direction: row; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   FEATURED ARTICLE (News page)
══════════════════════════════════════════════════════════════ */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.featured-article:hover { border-color: var(--gold); }

.featured-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.featured-body h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
}

.featured-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.featured-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   ALBUMS GRID (Gallery page)
══════════════════════════════════════════════════════════════ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.album-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.album-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.album-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.album-card:hover .album-cover img { transform: scale(1.06); }

.album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.album-count {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.album-info {
  padding: 16px;
}

.album-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.4;
}

.album-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT LAYOUT (Contact page)
══════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.contact-form select option {
  background: var(--dark4);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   COACH CARD (Squad page)
══════════════════════════════════════════════════════════════ */
.coach-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.coach-body {
  padding: 36px;
}

.coach-body h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.coach-role {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.coach-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ══════════════════════════════════════════════════════════════
   TABS (Matches page override)
══════════════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 30px;
  background: var(--dark3);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  border-bottom: none;
}

.tab-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0;
}

.tab-btn:hover { color: var(--gold) !important; }
.tab-btn.active {
  background: var(--gold) !important;
  color: #1a1a1a !important;
  border-bottom-color: transparent;
  box-shadow: 0 2px 10px rgba(197,161,80,0.4);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .coach-card { grid-template-columns: 1fr; }
  .president-card { grid-template-columns: 1fr; }
  .president-img { min-height: 260px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .albums-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: 1fr; text-align: center; }
  .match-team.away { flex-direction: row; }
  .hero-title { font-size: 2.2rem; }
  .page-hero h1 { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════════════════════════
   MATCHES WIDGET (Home page — Next & Previous Match)
══════════════════════════════════════════════════════════════ */
.matches-widget {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.widget-match {
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.widget-prev { background: var(--dark3); }
.widget-next { background: linear-gradient(135deg, rgba(45,106,79,0.15) 0%, var(--dark3) 100%); }

.widget-match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.tag-prev {
  background: rgba(180,60,60,0.2);
  color: #e07070;
  border: 1px solid #e07070;
}

.tag-next {
  background: rgba(45,106,79,0.25);
  color: #52b788;
  border: 1px solid #52b788;
}

.widget-competition {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.widget-match-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.widget-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.widget-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--dark4);
  border-radius: 50%;
  padding: 6px;
  border: 1px solid var(--border);
}

.widget-logo-placeholder {
  width: 56px;
  height: 56px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.widget-team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.widget-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 90px;
}

.widget-score {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 3px;
}

.widget-vs {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.widget-countdown {
  font-size: 0.85rem;
  font-weight: 700;
  color: #52b788;
  letter-spacing: 1px;
  background: rgba(45,106,79,0.2);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(82,183,136,0.3);
  font-variant-numeric: tabular-nums;
}

.widget-match-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.widget-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.2s;
}

.widget-link:hover { color: var(--gold-light); }

.widget-divider {
  width: 1px;
  background: var(--border);
  margin: 20px 0;
}

@media (max-width: 700px) {
  .matches-widget {
    grid-template-columns: 1fr;
  }
  .widget-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .widget-match { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO LARGE LOGO
══════════════════════════════════════════════════════════════ */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
}

.hero-logo-big {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.7));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Larger logo in navbar */
.nav-logo img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-logo-big { width: 180px; height: 180px; }
  .hero-logo-wrap { padding: 16px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-body {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 20px 30px 0;
}

.article-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin-top: 20px;
}

.article-text {
  padding: 30px;
  line-height: 2;
  color: var(--text-light);
  font-size: 1rem;
}

.article-text p { margin-bottom: 18px; }
.article-text h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.article-quote {
  border-right: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--dark4);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
}
.article-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.article-list {
  padding-right: 20px;
  margin-bottom: 18px;
}
.article-list li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 30px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-share span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
}
.share-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.8; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #1da1f2; color: #fff; }
.share-wa { background: #25d366; color: #fff; }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-block {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-news-list { display: flex; flex-direction: column; gap: 14px; }

.sidebar-news-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.2s;
}
.sidebar-news-item:hover { opacity: 0.8; }
.sidebar-news-item img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.sidebar-news-item p {
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 4px;
}
.sidebar-news-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-cat {
  background: var(--dark4);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  transition: all 0.2s;
}
.sidebar-cat:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-hero-img { height: 220px; }
}

/* ══════════════════════════════════════════════════════════════
   SUPPLEMENTAL — Missing classes added for PHP pages
══════════════════════════════════════════════════════════════ */

/* Section padding utility */
.section-padding { padding: 70px 20px; }

/* Page hero overlay */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  z-index: 0;
}

/* Empty state */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  font-size: 1rem;
}

/* ── News / Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--dark4);
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}
.card-body {
  padding: 20px;
}
.card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.5;
}
.card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--green);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Squad / Players ── */
.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.staff-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
  transition: all 0.3s;
}
.staff-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.player-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--dark4);
}
.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.player-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}
.player-card h3, .staff-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 12px 10px 4px;
}
.player-position {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}
.player-nationality {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── About Page ── */
.section-about { padding: 70px 20px; }
.about-text-block {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}
.about-text-block h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.about-text-block p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 2;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.about-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s;
}
.about-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.about-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.about-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.president-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}
.president-photo img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}
.president-photo-placeholder {
  width: 200px;
  height: 240px;
  background: var(--dark4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.president-message h2 { font-size: 1.3rem; font-weight: 900; color: var(--gold); margin-bottom: 8px; }
.president-message h3 { font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.president-message blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 2;
  border-right: 3px solid var(--gold);
  padding-right: 16px;
}

/* ── Contact Page ── */
.contact-info h2, .contact-form-wrap h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-item .contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ── Matches Page ── */
.section-matches { padding: 70px 20px; }

/* ── Gallery Page ── */
.section-gallery { padding: 70px 20px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cards { grid-template-columns: 1fr; }
  .president-section { grid-template-columns: 1fr; text-align: center; }
  .president-photo img, .president-photo-placeholder { width: 140px; height: 170px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Design reminder: About-page rework preserves the shared header/footer and applies the "القلعة الخضراء" editorial system only to this page body. */
/* ── About Page Rework ─────────────────────────────────────── */
/* President portrait correction: the image frame does not expand with the message panel. */
.about-rework-president__panel{align-items:start!important}
.about-rework-president__photo{height:420px!important;align-self:start!important;overflow:hidden!important;background:#0f201b}
.about-rework-president__photo img{height:420px!important;min-height:0!important;object-fit:cover!important;object-position:center 18%!important}
.about-rework-president__placeholder{height:420px!important;min-height:0!important}
@media(max-width:780px){.about-rework-president__photo{height:360px!important}.about-rework-president__photo img{height:360px!important;min-height:0!important}.about-rework-president__placeholder{height:360px!important;min-height:0!important}}
.about-rework{background:#101110;color:#f2f0e9;overflow:hidden}.about-rework-shell{width:min(1180px,calc(100% - 40px));margin:0 auto}.about-rework-hero{min-height:470px;display:grid;align-items:end;background-size:cover;background-position:center;padding:70px 0 76px}.about-rework-hero__content{max-width:1180px}.about-rework-eyebrow,.about-rework-kicker{color:#e0c976;font-size:.78rem;font-weight:700;letter-spacing:.07em;display:flex;align-items:center;gap:10px}.about-rework-eyebrow:before,.about-rework-kicker:before{content:"";display:block;width:32px;height:2px;background:#c9a84c}.about-rework-hero h1{font-size:clamp(3.1rem,7vw,6rem);font-weight:900;letter-spacing:-.06em;line-height:.96;margin:17px 0 12px;color:#fff}.about-rework-hero p{margin:0;max-width:600px;color:#d6d7d2;line-height:2;font-size:1.05rem}.about-rework-hero__meta{display:flex;align-items:center;gap:16px;margin-top:28px;color:#dddcd4;font-size:.82rem}.about-rework-hero__meta strong{color:#e0c976;border-right:2px solid #c9a84c;padding-right:12px}.about-rework-intro{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(30px,7vw,95px);align-items:center;padding:clamp(70px,10vw,130px) 0}.about-rework-copy h2,.about-rework-section-heading h2{font-weight:900;letter-spacing:-.045em;line-height:1.17;margin:14px 0 23px;color:#fff}.about-rework-copy h2{font-size:clamp(2rem,4.4vw,3.55rem)}.about-rework-prose p{font-size:1rem;line-height:2.2;color:#b5b4ad;margin:0 0 18px;text-align:right}.about-rework-prose p:first-child{color:#d1d0c9}.about-rework-image-frame{position:relative;margin:0;min-height:430px}.about-rework-image-frame:after{content:"";position:absolute;inset:16px -16px -16px 16px;border:1px solid rgba(201,168,76,.55);z-index:0}.about-rework-image-frame img{position:relative;z-index:1;width:100%;height:430px;object-fit:cover;display:block;filter:saturate(.82) contrast(1.05)}.about-rework-image-frame figcaption{position:absolute;z-index:2;right:0;left:0;bottom:0;padding:48px 22px 17px;background:linear-gradient(transparent,rgba(8,10,9,.94));color:#e4dfcf;font-size:.78rem}.about-rework-history{padding:90px 0 105px;background:linear-gradient(135deg,#122820 0%,#151815 62%,#151815 100%);border-top:1px solid rgba(224,201,118,.13);border-bottom:1px solid rgba(224,201,118,.13)}.about-rework-section-heading{max-width:710px;margin:0 auto 42px;text-align:center}.about-rework-section-heading .about-rework-kicker{justify-content:center}.about-rework-section-heading h2{font-size:clamp(2rem,4vw,3.45rem);margin-bottom:9px}.about-rework-section-heading p{color:#b5b4ad;line-height:1.9;margin:0}.about-rework-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1px;background:rgba(201,168,76,.35);border:1px solid rgba(201,168,76,.35)}.about-rework-milestone{min-height:270px;position:relative;overflow:hidden;padding:28px;background:rgba(14,18,15,.94);transition:transform .22s cubic-bezier(.23,1,.32,1),background .22s}.about-rework-milestone:hover{transform:translateY(-6px);background:#18271f}.about-rework-milestone__number{color:#e0c976;font-weight:700;font-size:.73rem}.about-rework-milestone h3{font-size:1.2rem;font-weight:800;color:#fff;margin:54px 0 12px}.about-rework-milestone p{position:relative;z-index:1;color:#aeada5;font-size:.85rem;line-height:1.95;margin:0}.about-rework-milestone__year{position:absolute;left:18px;bottom:12px;font-family:Georgia,serif;color:rgba(201,168,76,.32);font-size:3.7rem;font-weight:700;line-height:1}.about-rework-history-empty{border:1px solid rgba(201,168,76,.3);padding:30px;max-width:760px;margin:0 auto;color:#c2c1b9;line-height:2;text-align:right}.about-rework-purpose{padding:clamp(70px,9vw,120px) 0}.about-rework-purpose-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.about-rework-purpose-card{position:relative;overflow:hidden;min-height:260px;padding:clamp(28px,4vw,48px);background:linear-gradient(145deg,rgba(28,31,28,.98),rgba(17,19,17,.98));border:1px solid rgba(201,168,76,.28)}.about-rework-purpose-card:after{content:"";position:absolute;width:135px;height:135px;border-radius:50%;left:-55px;bottom:-55px;background:rgba(53,110,94,.15)}.about-rework-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid #c9a84c;color:#e0c976;font-size:1.25rem;margin-bottom:24px}.about-rework-purpose-card h3{font-size:1.6rem;color:#fff;font-weight:900;margin:0 0 11px}.about-rework-purpose-card p{color:#b5b4ad;line-height:2;font-size:.96rem;margin:0;max-width:48ch}.about-rework-facts{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:clamp(70px,9vw,110px);border-top:1px solid rgba(201,168,76,.3);border-bottom:1px solid rgba(201,168,76,.3)}.about-rework-facts>div{padding:28px 16px;text-align:center;border-left:1px solid rgba(201,168,76,.22)}.about-rework-facts>div:last-child{border-left:0}.about-rework-facts strong{display:block;color:#e0c976;font-size:1.3rem;font-weight:900;margin-bottom:5px}.about-rework-facts span{color:#b4b3ab;font-size:.76rem}.about-rework-president{padding-bottom:100px}.about-rework-president__panel{display:grid;grid-template-columns:330px 1fr;min-height:405px;background:#171a17;border:1px solid rgba(201,168,76,.42)}.about-rework-president__photo img{width:100%;height:100%;min-height:405px;object-fit:cover;object-position:center top;filter:saturate(.85)}.about-rework-president__placeholder{height:100%;min-height:405px;display:grid;place-items:center;padding:30px;background:linear-gradient(145deg,#0f3029,#151815);color:#e0c976;font-weight:900;text-align:center}.about-rework-president__words{padding:clamp(32px,5vw,70px);display:flex;flex-direction:column;justify-content:center}.about-rework-quote{height:44px;color:#c9a84c;font-size:6rem;line-height:.5;font-family:Georgia,serif;opacity:.68}.about-rework-president__words h2{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:900;color:#fff;margin:15px 0 5px}.about-rework-president__title{display:block;color:#e0c976;font-size:.8rem;margin-bottom:20px}.about-rework-president__words p{color:#c1c0b9;line-height:2.15;margin:0;max-width:64ch}.about-rework-president__signature{margin-top:20px;color:#ece8dc;font-size:.82rem;font-weight:700}@media(max-width:780px){.about-rework-hero{min-height:400px;padding:55px 0}.about-rework-intro,.about-rework-president__panel{grid-template-columns:1fr}.about-rework-image-frame{order:-1;min-height:330px}.about-rework-image-frame img{height:330px}.about-rework-timeline{grid-template-columns:1fr 1fr}.about-rework-facts{grid-template-columns:1fr 1fr}.about-rework-facts>div:nth-child(2){border-left:0}.about-rework-facts>div:nth-child(n+3){border-top:1px solid rgba(201,168,76,.22)}.about-rework-president__photo img,.about-rework-president__placeholder{min-height:370px;max-height:470px}.about-rework-president__photo img{object-position:center top}}@media(max-width:520px){.about-rework-shell{width:min(100% - 28px,1180px)}.about-rework-hero h1{font-size:3.15rem}.about-rework-timeline,.about-rework-purpose-grid{grid-template-columns:1fr}.about-rework-milestone{min-height:230px}.about-rework-facts strong{font-size:1.05rem}.about-rework-facts>div{padding:20px 8px}}
