:root {
  --ksa-blue: #0047a0;
  --ink: #111827;
  --muted: #64748b;
  --line: #d7e1ef;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --gold: #f5b841;
  --accent: #c82127;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: url("Assets/tigerpawN-cursor.png") 12 12, auto;
}

a,
button,
.button {
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

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

.text-link {
  color: var(--ksa-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: white;
  background: var(--ksa-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 232px;
}

.logo-frame {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: white;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  color: white;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-subtitle {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 12px;
  color: white;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

.nav-list a:hover,
.nav-trigger:hover,
.has-dropdown:focus-within > .nav-trigger,
.nav-list .is-active,
.nav-trigger.is-active {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.nav-trigger svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: 160ms ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown a {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  color: #172033;
}

.dropdown a:hover,
.dropdown .is-active {
  color: var(--ksa-blue);
  background: #edf4ff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: 160ms ease;
}

.social-links a:hover {
  color: var(--ksa-blue);
  background: white;
  border-color: white;
  transform: translateY(-1px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background-image: url("Assets/officergroup.jpg");
  background-position: center;
  background-size: cover;
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  padding: 96px 0 34px;
}

.announcement-banner {
  padding: 8px clamp(18px, 4vw, 56px);
  color: white;
  background: #001a3d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  text-align: center;
}

.announcement-label {
  padding: 4px 9px;
  color: #001a3d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  border-radius: 999px;
}

.announcement-title {
  color: white;
  font-size: 1rem;
}

.announcement-meta {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.announcement-link {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: white;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 5px 24px rgba(0, 20, 47, 0.32);
}

.hero p:not(.eyebrow) {
  position: relative;
  z-index: 3;
  max-width: 610px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 850;
  border: 2px solid transparent;
  border-radius: 7px;
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

.button.primary {
  color: white;
  background: var(--ksa-blue);
  border-color: var(--ksa-blue);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 84px clamp(18px, 4vw, 56px);
}

.home-intro,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.section h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section p,
.page-hero p {
  margin: 0;
  color: #334155;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.feature-logo {
  width: min(100%, 340px);
  justify-self: center;
  object-fit: contain;
}

.page-main {
  min-height: calc(100vh - 146px);
}

.page-hero {
  display: grid;
  align-items: start;
  padding: 84px clamp(18px, 4vw, 56px) 48px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.94), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 92% 18%, rgba(245, 184, 65, 0.32), transparent 30%);
}

.page-hero h1 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-section {
  padding: 0 clamp(18px, 4vw, 56px) 84px;
}

.page-section h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.staff-hero {
  padding-bottom: 42px;
}

.staff-board-section {
  padding-top: 0;
}

.blue-page {
  color: white;
  background: var(--ksa-blue);
}

.blue-page h1,
.blue-page p,
.blue-page .section-label {
  color: white;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.person-card {
  min-height: 196px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.person-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.person-card p {
  font-size: 0.96rem;
}

.site-footer {
  padding: 26px 18px;
  color: white;
  text-align: center;
  background: #0b1220;
}

.site-footer p {
  margin: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: white;
}

.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;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    gap: 16px;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .nav-list {
    display: grid;
    align-items: stretch;
  }

  .nav-list a,
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    position: static;
    display: none;
    margin: 2px 0 8px;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .has-dropdown.is-open .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: block;
  }

  .social-links {
    justify-content: flex-start;
  }

  .home-intro,
  .split,
  .contact-layout,
  .about-intro-layout {
    grid-template-columns: 1fr;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 76px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .logo-frame {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .announcement-inner {
    flex-direction: column;
    gap: 7px;
    padding: 8px 0;
  }

  .section,
  .page-hero {
    padding-top: 62px;
    padding-bottom: 40px;
  }

  .about-hero {
    padding-top: 62px;
  }

  .about-hero-copy {
    padding: 18px 0 0;
    border-top: 3px solid rgba(0, 71, 160, 0.18);
    border-left: 0;
  }

  .page-section {
    padding-bottom: 62px;
  }
}

/* Staff page ID card layout */
.staff-page .section-inner {
  width: min(1260px, calc(100% - 36px));
}

.staff-page .people-grid {
  align-items: stretch;
  gap: 22px;
}

.staff-page .person-card {
  min-height: 0;
}

.staff-id-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #fffafb;
}

.id-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  color: white;
  background: var(--ksa-blue);
}

.id-card-brand,
.id-card-title,
.id-card-number {
  color: white;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.id-card-brand {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.id-card-title {
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.id-card-number {
  font-size: 0.74rem;
}

.id-card-body {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 18px;
  padding: 18px;
}

.id-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  align-self: start;
  object-fit: cover;
  object-position: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(0, 71, 160, 0.05), rgba(245, 184, 65, 0.12)),
    #f8fafc;
  border: 2px solid var(--line);
  border-radius: 4px;
  transition: transform 180ms ease, filter 180ms ease;
}

.staff-id-card:hover .id-photo,
.staff-id-card:focus-within .id-photo {
  transform: scale(1.02);
  filter: saturate(1.08);
}

.id-card-info {
  display: grid;
  gap: 0;
  margin: 0;
  align-self: start;
  padding-top: 4px;
}

.id-card-info div {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.id-card-info div:last-child {
  border-bottom: 0;
}

.id-card-info dt {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.1;
}

.id-card-info dd {
  margin: 0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .staff-page .section-inner {
    width: min(760px, calc(100% - 36px));
  }

  .id-card-body {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 560px) {
  .id-card-header {
    grid-template-columns: 1fr auto;
  }

  .id-card-title {
    display: none;
  }

  .id-card-body {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .id-photo {
    width: min(100%, 220px);
    justify-self: center;
  }

  .id-card-info div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .id-card-info dd {
    text-align: left;
  }
}

.id-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.id-card-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
}

.about-hero {
  padding-top: 88px;
  padding-bottom: 64px;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.about-intro-layout h1 {
  max-width: 620px;
}

.about-hero-copy {
  max-width: 680px;
  padding-left: clamp(20px, 3vw, 34px);
  color: #243247;
  border-left: 3px solid rgba(0, 71, 160, 0.22);
}

.mission-section .section-label {
  color: #CD2E3A;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mission-section h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.mission-card {
  min-height: 220px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mission-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  font-weight: 900;
  background: var(--ksa-blue);
  border-radius: 50%;
}

.mission-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.mission-card p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}


.membership-hero {
  padding-bottom: 56px;
}

.membership-section {
  padding: 0 clamp(18px, 4vw, 56px) 72px;
}

.membership-faq-section {
  padding: 0 clamp(18px, 4vw, 56px) 84px;
}

.membership-red-label {
  color: #CD2E3A;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.membership-section h2,
.membership-faq-section h2,
.gajok-lines-section h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.membership-card {
  min-height: 210px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.membership-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  font-weight: 900;
  background: var(--ksa-blue);
  border-radius: 50%;
}

.membership-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.membership-card p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 0 22px;
  color: var(--ksa-blue);
  font-weight: 900;
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

.faq-item summary::after {
  content: "+";
  color: #CD2E3A;
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }
}


.gajok-hero {
  padding-bottom: 56px;
}

.gajok-section {
  padding: 72px clamp(18px, 4vw, 56px);
}

.gajok-red-label {
  color: #CD2E3A;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gajok-section h2,
.gajok-join-panel h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.gajok-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.gajok-card {
  min-height: 220px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gajok-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  font-weight: 900;
  background: var(--ksa-blue);
  border-radius: 50%;
}

.gajok-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.gajok-card p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
}

.gajok-join-section {
  padding: 0 clamp(18px, 4vw, 56px) 84px;
}

.gajok-join-panel {
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gajok-join-panel p:not(.section-label) {
  max-width: 720px;
  margin: 14px 0 0;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.65;
}

.gajok-lines-section {
  padding: 0 clamp(18px, 4vw, 56px) 72px;
}

.family-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.family-line-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.family-line-card h3 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: 1.25rem;
  line-height: 1.15;
}

.family-line-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.family-line-meta div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.family-line-meta dt {
  color: #CD2E3A;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.family-line-meta dd {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.45;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ksa-blue);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .gajok-grid,
  .family-line-grid {
    grid-template-columns: 1fr;
  }
}


.photos-page {
  background: #fbfcff;
}

.photos-hero {
  padding-bottom: 46px;
}

.photos-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.photos-controls {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.gallery-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.gallery-mode {
  min-height: 38px;
  padding: 0 16px;
  color: #334155;
  font-weight: 900;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.gallery-mode.is-active {
  color: white;
  background: var(--ksa-blue);
}

.gallery-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  justify-content: end;
  gap: 10px;
  width: min(100%, 340px);
}

.gallery-filters label {
  display: grid;
  gap: 5px;
}

.gallery-filters span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-filters select {
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 12px;
  color: #334155;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

.gallery-section {
  padding: 0 clamp(18px, 4vw, 56px) 86px;
}

.gallery-section[data-gallery-view="carousel"] .photo-grid-category,
.gallery-section[data-gallery-view="gallery"] .carousel-category {
  display: none;
}

.gallery-section[data-gallery-view="carousel"] .gallery-page-index {
  display: none;
}

.gallery-category {
  animation: galleryFade 260ms ease;
}

.gallery-red-label {
  color: #CD2E3A;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.photo-page-card {
  padding: 12px;
  background: #fffefe;
  border: 1px solid rgba(215, 225, 239, 0.95);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-page-card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.16);
}

.photo-card-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #eef3fb;
  border: 0;
  border-radius: 8px;
}

.photo-card-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 20, 47, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
}

.photo-page-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.photo-page-card:hover .photo-card-overlay {
  opacity: 1;
}

.photo-card-copy {
  padding: 16px 4px 4px;
}

.photo-card-copy h2,
.carousel-slide h2 {
  margin: 0;
  color: var(--ksa-blue);
  font-size: 1.18rem;
  line-height: 1.15;
}

.photo-card-copy p,
.photo-card-copy time,
.carousel-slide p {
  display: block;
  margin: 8px 0 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
}

.photo-card-copy time,
.carousel-slide p {
  color: #64748b;
  font-weight: 800;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.carousel-track {
  display: grid;
  overflow: hidden;
}

.carousel-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 18px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  cursor: url("Assets/tigerpawP-cursor.png") 12 12, pointer;
}

.carousel-slide img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-page-index {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.gallery-page-button,
.gallery-page-empty {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 900;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.gallery-page-button.is-active {
  color: white;
  background: var(--ksa-blue);
  border-color: var(--ksa-blue);
}

.carousel-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--ksa-blue);
  border: 0;
  border-radius: 999px;
}

@keyframes galleryFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .photos-heading {
    align-items: start;
    flex-direction: column;
  }

  .photos-controls {
    justify-items: start;
  }

  .gallery-filters {
    justify-content: start;
  }

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

}

@media (max-width: 560px) {
  .gallery-section {
    padding-bottom: 62px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-switcher,
  .gallery-toggle {
    width: 100%;
  }

  .gallery-toggle {
    flex: 1;
  }

  .photos-controls,
  .gallery-filters,
  .gallery-mode {
    width: 100%;
  }

  .gallery-mode {
    flex: 1;
    padding: 0 10px;
  }

}

.contact-info-panel {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-label {
  display: block;
  margin-bottom: 12px;
  color: #CD2E3A;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0 0 8px;
  color: var(--ksa-blue);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.contact-card p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.contact-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ksa-blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card h2 + p {
  margin-top: 4px;
  color: #334155;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-card h2 + p + a {
  margin-top: 10px;
}
