/* ============================================
   ERNE COMMUNITY CRICKET CLUB
   Colour palette derived from club logo:
   - Dark forest green: #152b15
   - Mid green: #1e3d1e
   - Lime accent: #a8e063
   - Lime light: #c8f07a
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #0f2010;
  --green-mid:    #1a3a1a;
  --green-nav:    #162a16;
  --green-card:   #1e4020;
  --lime:         #a8e063;
  --lime-bright:  #c4f07a;
  --lime-muted:   #7aaa3f;
  --lime-bg:      #f0fae0;
  --white:        #ffffff;
  --off-white:    #f8fbf5;
  --text-dark:    #111a0f;
  --text-body:    #2c3a28;
  --text-muted:   #5a6e54;
  --border:       rgba(0,0,0,0.08);
  --border-green: rgba(168,224,99,0.25);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.16);
  --radius:       10px;
  --radius-lg:    16px;
  --nav-h:        68px;
  --max-w:        1160px;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--green-dark); }

.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime-muted);
  margin-bottom: 10px;
}
.section-tag--light { color: var(--lime); }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; line-height: 1;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-title em { color: var(--lime-muted); font-style: normal; }
.section-title--light em { color: var(--lime); }

.section-lead {
  font-size: 17px; color: var(--text-muted);
  max-width: 560px; line-height: 1.7;
}
.section-lead--light { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 48px; }
.section-header--row {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 48px;
}
.section-header--row .section-title { margin-bottom: 0; }

.link-all {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime-muted);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition);
  white-space: nowrap;
}
.link-all:hover { color: var(--green-mid); }
.link-all::after { content: '→'; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 28px; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime); color: var(--green-dark);
  border-color: var(--lime);
}
.btn-lime:hover { background: var(--lime-bright); border-color: var(--lime-bright); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-lime {
  background: transparent; color: var(--lime-muted);
  border-color: var(--lime-muted);
}
.btn-outline-lime:hover { background: var(--lime-muted); color: var(--white); }

.btn-green {
  background: var(--green-mid); color: var(--white);
  border-color: var(--green-mid);
}
.btn-green:hover { background: var(--green-card); }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--green-nav);
  border-bottom: 1px solid rgba(168,224,99,0.15);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.nav__inner {
  display: flex; align-items: center;
  height: 100%; gap: 0;
}

.nav__logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav__logo-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(168,224,99,0.3);
}
.nav__logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--white);
  line-height: 1.1;
}
.nav__logo-text span {
  display: block; font-size: 11px; font-weight: 500;
  color: var(--lime); letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  display: block; padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--lime); background: rgba(168,224,99,0.08); }

.nav__cta {
  margin-left: 16px;
  padding: 8px 20px !important;
  background: var(--lime) !important;
  color: var(--green-dark) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
.nav__cta:hover { background: var(--lime-bright) !important; }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; margin-left: auto;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--green-nav);
  border-bottom: 1px solid rgba(168,224,99,0.15);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column; gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
}
.nav__mobile a:hover { color: var(--lime); background: rgba(168,224,99,0.08); }
.nav__mobile .nav__cta { margin-top: 8px; text-align: center; }

/* ── PAGE OFFSET ── */
main { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  background: var(--green-dark);
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  min-height: calc(92vh - var(--nav-h));
  display: flex; align-items: center;
}

.hero__bg-circles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(168,224,99,0.08);
}
.hero__circle:nth-child(1) { width: 700px; height: 700px; right: -200px; top: -200px; }
.hero__circle:nth-child(2) { width: 450px; height: 450px; right: 0px; top: -50px; }
.hero__circle:nth-child(3) { width: 250px; height: 250px; right: 100px; top: 100px; border-color: rgba(168,224,99,0.15); }

.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,224,99,0.12);
  border: 1px solid rgba(168,224,99,0.25);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--lime); letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 900; line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero__title em { color: var(--lime); font-style: normal; display: block; }

.hero__sub {
  font-size: 18px; color: rgba(255,255,255,0.6);
  max-width: 440px; line-height: 1.7;
  margin-bottom: 40px;
}

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__logo-wrap {
  display: flex; align-items: center; justify-content: center;
}
.hero__logo-img {
  width: min(380px, 100%);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--green-mid);
  border-top: 1px solid rgba(168,224,99,0.15);
  border-bottom: 1px solid rgba(168,224,99,0.15);
  padding: 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid rgba(168,224,99,0.1);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px; font-weight: 900;
  color: var(--lime); line-height: 1;
}
.stats-bar__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ── NEWS CARDS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.news-card__thumb {
  height: 180px; overflow: hidden;
  background: var(--green-mid);
  position: relative;
}
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-mid), var(--green-card));
  font-size: 56px; opacity: 0.5;
}

.news-card__cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--lime); color: var(--green-dark);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}

.news-card__body {
  padding: 22px; flex: 1; display: flex; flex-direction: column;
}
.news-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 10px;
  flex: 1;
}
.news-card__excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-card__meta { font-size: 12px; color: #aaa; display: flex; gap: 12px; }

/* ── FIXTURES TABLE ── */
.fixtures-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.fixtures-table { width: 100%; border-collapse: collapse; }
.fixtures-table thead { background: var(--green-mid); }
.fixtures-table thead th {
  padding: 14px 20px; text-align: left;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.fixtures-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.fixtures-table tbody tr:last-child { border-bottom: none; }
.fixtures-table tbody tr:hover { background: var(--off-white); }
.fixtures-table td { padding: 16px 20px; font-size: 15px; }
.fixtures-table .opposition { font-weight: 600; color: var(--text-dark); }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-win    { background: #e6f9ee; color: #1a7a40; }
.badge-loss   { background: #fdecea; color: #b71c1c; }
.badge-draw   { background: #f3f3f3; color: #555; }
.badge-upcoming { background: rgba(168,224,99,0.15); color: var(--lime-muted); }
.home-away { font-size: 12px; color: var(--text-muted); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  background: var(--green-mid);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(15,32,16,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay svg { width: 32px; height: 32px; color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 36px; line-height: 1; opacity: 0.7; transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }

/* ── SOCIALS ── */
.socials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social-card {
  border-radius: var(--radius-lg); padding: 28px 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-card__icon { font-size: 32px; }
.social-card__name { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); }
.social-card__handle { font-size: 13px; color: rgba(255,255,255,0.65); }
.social-card__arrow { margin-top: auto; font-size: 20px; color: rgba(255,255,255,0.4); }
.social-card--fb { background: #1877f2; }
.social-card--tw { background: #14171a; }
.social-card--ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-card--yt { background: #ff0000; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

.form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--off-white);
  font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--lime-muted); background: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; line-height: 1.6; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6e54' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.contact-info-card {
  background: var(--green-mid);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-info-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 800; color: var(--white);
  margin-bottom: 28px;
}
.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(168,224,99,0.12);
  border: 1px solid rgba(168,224,99,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); margin-bottom: 4px; }
.info-value { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.5; }

.join-box {
  margin-top: 28px; padding: 20px;
  background: rgba(168,224,99,0.1);
  border: 1px solid rgba(168,224,99,0.2);
  border-radius: var(--radius);
}
.join-box h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--lime); margin-bottom: 6px; }
.join-box p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── PAGE HEADER (inner pages) ── */
.page-hero {
  background: var(--green-dark);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 10px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.55); }

/* ── FOOTER ── */
.footer {
  background: var(--green-dark);
  border-top: 1px solid rgba(168,224,99,0.12);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand-logo {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(168,224,99,0.2);
  margin-bottom: 16px;
}
.footer__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--white);
  margin-bottom: 6px;
}
.footer__brand-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; }

.footer__heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── NEWS PAGE ── */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.article-list { display: flex; flex-direction: column; gap: 24px; }
.article-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden; display: flex;
  transition: all var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card__thumb {
  width: 220px; flex-shrink: 0;
  background: var(--green-mid); overflow: hidden;
}
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card__thumb-placeholder {
  width: 100%; height: 100%; min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: 0.4;
}
.article-card__body { padding: 24px; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.article-card__cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--lime); color: var(--green-dark); padding: 3px 8px; border-radius: 4px;
}
.article-card__date { font-size: 12px; color: var(--text-muted); }
.article-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 700; line-height: 1.1;
  color: var(--text-dark); margin-bottom: 10px;
}
.article-card__excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.article-card__author { font-size: 12px; color: #bbb; }

.sidebar-widget {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-widget__head {
  background: var(--green-mid); padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--white);
}
.sidebar-widget__body { padding: 20px; }

.cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cat-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 6px; font-size: 14px;
  color: var(--text-body); transition: background var(--transition);
}
.cat-list li a:hover { background: var(--off-white); color: var(--green-mid); }
.cat-count {
  font-size: 12px; font-weight: 700; background: var(--lime-bg);
  color: var(--lime-muted); padding: 2px 8px; border-radius: 10px;
}

/* ── ADMIN / NEWS EDITOR ── */
.admin-bar {
  background: #111;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-bar__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.admin-bar__badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--lime); color: var(--green-dark);
  padding: 3px 10px; border-radius: 4px;
}

.editor-wrap { max-width: 860px; margin: 0 auto; padding: 40px 24px; }

.editor-panel {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.editor-panel__head {
  background: var(--green-mid); padding: 18px 24px;
}
.editor-panel__head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--white);
}
.editor-panel__head p { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.editor-panel__body { padding: 28px; }

.success-msg {
  background: var(--lime-bg); border: 1.5px solid var(--lime-muted);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14px; font-weight: 600; color: #2a5c0f;
  margin-bottom: 24px; display: none;
}

.posts-table { width: 100%; border-collapse: collapse; }
.posts-table th {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 12px; text-align: left;
  border-bottom: 2px solid var(--border);
}
.posts-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.posts-table tr:last-child td { border-bottom: none; }
.post-del-btn {
  font-size: 12px; font-weight: 700; color: #b71c1c;
  background: #fdecea; border: none; padding: 4px 10px;
  border-radius: 4px; transition: background var(--transition);
}
.post-del-btn:hover { background: #f9c4c4; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__logo-wrap { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 56px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .socials-grid { grid-template-columns: 1fr 1fr; }
  .article-card { flex-direction: column; }
  .article-card__thumb { width: 100%; height: 160px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 52px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .socials-grid { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; }
  .btn { justify-content: center; }
}
/* Add these to the bottom of css/style.css */

/* ── GALLERY FILTER BUTTONS ── */
.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.gallery-filter-btn:hover {
  border-color: var(--lime-muted);
  color: var(--lime-muted);
}
.gallery-filter-btn.active {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

/* ── SR-ONLY ── */
.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;
}
