:root {
  --primary: #143d8f;
  --primary-dark: #0b2558;
  --accent: #e3342f;
  --bg: #050816;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 45%, #020617 100%);
  min-height: 100vh;
}
@media (max-width: 600px) {
  body {
    background:
      radial-gradient(circle at 0 0, #020617 0, #1d4ed8 12%, transparent 50%,  #020617 30% ),
      radial-gradient(circle at 100% 100%, #0d79ab 0, #0e6e9b 10%, transparent 55%),
      #020617;
  }
}
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
/* Header logo – keep full badge visible */
/* Header logo – clean, readable, with border */
.logo,
.site-header .logo {
  height: 44px;              /* adjust to 40–48px if needed */
  width: auto;
  border-radius: 10px;       /* soft corners for the shield */
  object-fit: contain;
  padding: 2px;              /* space between logo and border */
  background: #0f172a;       /* dark backing to match header */
  border: 2px solid rgba(255, 255, 255, 0.15);  /* subtle white border */
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  position: relative;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.brand-text h1 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tagline {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;

}

.main-nav a {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: rgba(248, 250, 252, 0.1);
  transform: translateY(-1px);
}
/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;                 /* shown only on small screens */
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* transform into X when open */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: 3rem 0 1.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: #f9fafb;
  margin: 0 0 0.75rem;
}

.hero-text p {
  margin: 0;
  color: #e5e7eb;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  background: #1f2937;  /* dark grey */
  color: #f9fafb;
  transition: 0.2s ease;
}


.btn-outline-fb {
  border-color: #1877f2;   /* Facebook blue */
}

.btn-outline-fb:hover {
  background: #1877f2;
  color: #fff;
}

.btn-outline-wa {
  border-color: #25D366;   /* WhatsApp green */
}

.btn-outline-wa:hover {
  background: #25D366;
  color: #fff;
}
.btn:hover .btn-icon {
  filter: brightness(1000%);
}
.btn.primary {
  /* Facebook-like blue */
  background: #1877f2;
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  background: #1559b8;
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

/* WHATSAPP GREEN BUTTON */

.btn.whatsapp {
  background: #25d366;           /* WhatsApp green */
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}



.info-card {
  background: rgba(248, 250, 252, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.next-match-date {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.2rem 0;
}

.next-match-note {
  margin: 0;
  color: var(--text-muted);
}

.note-small {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section.alt {
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: #f9fafb;              /* brighter so About & Squad are visible */
}

.section-intro {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: #e5e7eb;
}

.section.alt .section-intro {
  color: #d1d5db;
}

html {
  scroll-behavior: smooth;
}
/* Prevent sticky header from covering anchored sections */
#about,
#fixtures,
#squad,
#news,
#owners,
#join {
  scroll-margin-top: 90px;  /* adjust if your header is taller/shorter */
}
/* Fixtures */

.fixture-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.fixture-list li {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.section.alt .fixture-list li {
  background: rgba(15, 23, 42, 0.7);
}

.fixture-date {
  font-weight: 600;
}

.fixture-vs {
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-left: 0.2rem;
}

/* PLAYERS GRID (cards instead of table) */

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.player-card {
  background: rgba(248, 250, 252, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* highlight captain card slightly */
.player-card.captain {
  border: 2px solid #f59e0b;
}

.player-photo {
  position: relative;
  aspect-ratio: 4 / 3;   /* try 4/3, 3/4, or 16/9 depending on your photos */
  background: linear-gradient(135deg, #0f172a, #1f2937);
  overflow: hidden;
}

.player-photo.placeholder span {
  position: absolute;
  inset: 0.75rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: #e5e7eb;
  padding: 0.5rem;
}

/* if you replace with <img>, add class="player-img" */
.player-img,
.owner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;  /* keep faces visible */
}


.player-info {
  padding: 0.8rem 0.9rem 1rem;
}

.player-name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.player-role {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.owner-card {
  background: rgba(248, 250, 252, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.owner-photo {
  position: relative;
  aspect-ratio: 4 / 3;   /* try 4/3, 3/4, or 16/9 depending on your photos */
  background: linear-gradient(135deg, #0f172a, #1f2937);
  overflow: hidden;
}

.owner-photo.placeholder span {
  position: absolute;
  inset: 0.75rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: #e5e7eb;
  padding: 0.5rem;
}



.owner-info {
  padding: 0.9rem 1rem 1.1rem;
}

.owner-name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.owner-title {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.owner-about {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-main);
}

/* reuse loading/error text styles if not already present */
.loading-text,
.error-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #facc15;
  color: #1f2937;
}
.badge-captain {
  background: #fa1537; /* gold */
  color: #1f2937;
}

.badge-vice {
  background: #f2fa60; /* blue */
  color: #2a290f;
}

.badge-secondary {
  background: #384ef8; /* light blue for wicketkeeper */
  color: #0f172a;
}
/* Join section */

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.section.alt .section-title {
  color: #f9fafb;
}

.section.alt .section-intro {
  color: #e5e7eb;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-list a {
  color: #bfdbfe;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.social-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.social-card h3 {
  margin-top: 0;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e5e7eb;
  background: radial-gradient(circle at 20% 0, rgba(248, 250, 252, 0.05), transparent 55%);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  border-color: #fbbf24;
}

/* Footer */

.site-footer {
  padding: 1.25rem 0 1.5rem;
  color: #9ca3af;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-right {
  opacity: 0.85;
}

/* Responsive */

@media (max-width: 800px) {
  .header-inner {
    flex-direction: row;               /* keep logo + burger on one line */
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .branding {
    flex: 1;                           /* let branding take available space */
  }

  /* show hamburger on mobile */
  .nav-toggle {
    display: inline-block;
  }

  /* mobile dropdown nav */
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.6rem 1.25rem 0.9rem;
    display: none;                     /* hidden until nav-open added by JS */
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    z-index: 15;
  }

  .main-nav a {
    padding: 0.4rem 0;
  }

  /* show when JS adds this class */
  .main-nav.nav-open {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .join-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 2rem;
  }

  .brand-text h1 {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* badge + card column */
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.club-badge-hero img {
  width: 120px;       /* bigger logo */
  height: auto;
  border-radius: 12px; /* square edges look cleaner for cricket logos */
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.6);
}




.fixture-loading {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.loading-text,
.error-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
/* Image lightbox */

/* Image lightbox */

.image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

.image-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* Lightbox nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  font-size: 1.2rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-prev {
  left: 0.6rem;
}

.lightbox-next {
  right: 0.6rem;
}

.lightbox-nav:hover {
  background: rgba(15, 23, 42, 1);
  transform: translateY(-50%) translateY(-1px);
}

.image-lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #e5e7eb;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.image-lightbox.is-grid .image-lightbox-content {
  display: none; /* hide the single big image + arrows in grid mode */
}
.image-lightbox.is-grid {
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.image-lightbox-thumbs {
  position: relative;
  z-index: 1;
  max-width: min(900px, 90vw);
  max-height: 90vh;
  padding: 1rem;
  background: #020617;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);

  /* Center the grid block inside the overlay */
  margin: 0 auto;

  /* Grid that shrinks to its content and is centered */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-content: center;   /* center the columns within the container */
  gap: 0.75rem;
  overflow-y: auto;
}

.image-lightbox-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.image-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 0.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.image-lightbox-thumb:hover img {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Optional: hide the numeric "1 / N" caption in grid mode */
.image-lightbox.is-grid .image-lightbox-caption {
  display: none;
}
/* News "X photos" badge on the slide image */

.news-photo-count {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
}





/* CricHeroes tournament section */

.cricheroes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: start;
}

.cricheroes-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.cricheroes-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.cricheroes-text {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.cricheroes-small {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.cricheroes-small a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cricheroes-embed-wrapper {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
  background: #020617;
  box-shadow: var(--shadow-soft);
}

.cricheroes-embed-wrapper iframe {
  width: 100%;
  height: 520px; /* adjust if needed */
  border: none;
}

.cricheroes-embed-note {
  margin: 0;
  padding: 0.55rem 0.9rem 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
  background: rgba(15, 23, 42, 0.95);
}


/* News carousel */

.news-carousel {
  position: relative;
  margin-top: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.news-slides {
  position: relative;
  min-height: 170px;
}

.news-slide {
  display: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 1rem;
  align-items: stretch;
}

.news-slide.is-active {
  display: grid;
}

.news-image-wrap {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, #1d4ed8 0, #020617 60%);
  aspect-ratio: 16/9;  /* or 4/3 depending on your photos */
  height: auto;        /* override min-height */
  min-height: unset;

}

.news-image-wrap.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.news-image-wrap.placeholder span {
  font-size: 0.8rem;
  color: #e5e7eb;
  text-align: center;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
   object-position: center;
  display: block;
}

.news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #f9fafb;
}

.news-meta {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.news-summary {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.news-link {
  font-size: 0.85rem;
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}

/* Carousel controls */

.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.news-prev {
  left: 0.5rem;
}

.news-next {
  right: 0.5rem;
}

.news-nav:hover {
  transform: translateY(-50%) translateY(-1px);
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

/* Dots */

.news-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, width 0.15s ease;
}

.news-dot.is-active {
  width: 18px;
  background: #fbbf24;
  transform: translateY(-1px);
}

/* Mobile */

@media (max-width: 768px) {
  .news-carousel {
    padding: 1rem 0.7rem 1.3rem;
  }
  .news-image-wrap {
    aspect-ratio: 4/3; /* works for portrait-heavy images */
  }
  .news-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-image-wrap {
    min-height: 180px;
  }

  .news-nav {
    display: none; /* dots only on small screens */
  }
}


/* In normal (single-image) mode, hide the thumbs container completely */
.image-lightbox:not(.is-grid) .image-lightbox-thumbs {
  display: none;
}

/* Make sure the main content block is perfectly centered */
.image-lightbox-content {
  margin: 0 auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keep grid behaviour the same – only show thumbs in grid mode */
.image-lightbox.is-grid .image-lightbox-content {
  display: none;
}