/* Aziz Memorial City Hospital - Modern Healthcare Theme (Enhanced) */
:root {
  --primary: #0a4d8c;
  --primary-dark: #052d54;
  --primary-light: #1a6bb5;
  --accent: #00c9a7;
  --accent-2: #7c5cfc;
  --accent-3: #ff6b6b;
  --secondary: #eef6ff;
  --secondary-2: #f0fdf9;
  --secondary-3: #f5f0ff;
  --text: #1a2a3a;
  --text-light: #5a6a7a;
  --white: #ffffff;
  --success: #28a745;
  --shadow: 0 8px 30px rgba(10, 77, 140, 0.14);
  --shadow-lg: 0 16px 40px rgba(10, 77, 140, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 6px 24px rgba(10, 77, 140, 0.18);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-top a {
  color: var(--white);
  opacity: 0.95;
}

.header-top a:hover {
  opacity: 1;
  text-decoration: underline;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width:150px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.06);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
  left: 20%;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--secondary);
  color: var(--primary);
}

.nav-links .btn-appoint {
  background: #01723e;
  color: white !important;
  padding: 10px 20px;
}

.nav-links .btn-appoint:hover {
  background: var(--primary-dark);
}

.nav-links .btn-appoint::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #052d54 0%, #0a4d8c 40%, #1a6bb5 70%, #00a8e8 100%);
  color: white;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(0,201,167,0.28) 0%, transparent 65%);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(124,92,252,0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #e8f4ff);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff, #d6ebff);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn:active {
  transform: translateY(0);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.2);
}

.stat-card .num {
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
}

.stat-card .label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-teal { background: linear-gradient(180deg, #f0fdf9 0%, #e6faf5 100%); }
.section-lavender { background: linear-gradient(180deg, #f5f0ff 0%, #efe8ff 100%); }
.section-blue { background: linear-gradient(180deg, #eef6ff 0%, #e3f0ff 100%); }

/* Features / Facilities grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e8eef5;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:nth-child(1) { border-left-color: #0a4d8c; }
.feature-card:nth-child(2) { border-left-color: #ff6b6b; }
.feature-card:nth-child(3) { border-left-color: #00c9a7; }
.feature-card:nth-child(4) { border-left-color: #7c5cfc; }
.feature-card:nth-child(5) { border-left-color: #1a6bb5; }
.feature-card:nth-child(6) { border-left-color: #00a8e8; }

.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--secondary), #d6ebff);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 16px;
  color: var(--primary);
  transition: transform 0.35s ease, background 0.35s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-4deg);
  background: linear-gradient(135deg, #0a4d8c, #00c9a7);
  color: white;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-preview img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-preview h2 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.9rem;
}

.about-preview p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  margin: 20px 0;
}

.about-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.doctor-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8eef5;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.doctor-avatar {
  height: 150px;
  background: linear-gradient(135deg, #0a4d8c 0%, #1a6bb5 50%, #00c9a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.doctor-avatar::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.doctor-info {
  padding: 20px;
}

.doctor-info h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.doctor-info .spec {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.doctor-info .qual {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Facilities detailed */
.facility-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 20px;
  align-items: start;
  border-left: 4px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.facility-block:nth-child(odd) { border-left-color: var(--primary); }
.facility-block:nth-child(even) { border-left-color: var(--accent); }

.facility-block:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(10, 77, 140, 0.1);
}

.facility-block .icon {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.facility-block h3 {
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.facility-block p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--secondary);
  padding: 32px;
  border-radius: var(--radius);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0dce8;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: linear-gradient(160deg, #052d54 0%, #0a4d8c 60%, #063a6b 100%);
  color: rgba(255,255,255,0.85);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Page header for inner pages */
.page-header {
  background: linear-gradient(135deg, #052d54 0%, #0a4d8c 50%, #1a6bb5 100%);
  color: white;
  padding: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,201,167,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.page-header p {
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Staff table */
.staff-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.staff-table th {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.staff-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8eef5;
  font-size: 0.95rem;
}

.staff-table tr:hover td {
  background: var(--secondary);
}

.staff-img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow);
}

/* Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 6px 20px rgba(10, 77, 140, 0.12);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(5, 45, 84, 0.88));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(6px);
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .about-preview {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .navbar {
    position: relative;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.bg-light { background: var(--secondary); }

/* ============================================
   ANIMATIONS – Pure Custom CSS
   ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate {
  opacity: 0;
  will-change: opacity, transform;
}

.animate.is-visible {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.is-visible {
  animation-name: fadeUp;
  animation-duration: 0.7s;
}

.fade-in.is-visible {
  animation-name: fadeIn;
  animation-duration: 0.6s;
}

.slide-left.is-visible {
  animation-name: slideInLeft;
  animation-duration: 0.7s;
}

.slide-right.is-visible {
  animation-name: slideInRight;
  animation-duration: 0.7s;
}

.scale-in.is-visible {
  animation-name: scaleIn;
  animation-duration: 0.6s;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }

.hero-content {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stats .stat-card {
  opacity: 0;
  animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stats .stat-card:nth-child(1) { animation-delay: 0.25s; }
.hero-stats .stat-card:nth-child(2) { animation-delay: 0.35s; }
.hero-stats .stat-card:nth-child(3) { animation-delay: 0.45s; }
.hero-stats .stat-card:nth-child(4) { animation-delay: 0.55s; }

.float-soft {
  animation: floatSoft 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .animate,
  .hero-content,
  .hero-stats .stat-card,
  .feature-card,
  .doctor-card,
  .facility-block,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Google Maps embed – full width, responsive */
.map-embed {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .map-embed iframe {
    height: 300px;
  }
}
/* ============================================
   GALLERY PAGE – filters & enhanced grid
   ============================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.gallery-filter {
  border: 2px solid #d0dce8;
  background: white;
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.gallery-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-filter.active {
  background: linear-gradient(135deg, var(--primary), #1a6bb5);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 14px rgba(10, 77, 140, 0.25);
}

.gallery-page-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-page-grid .gallery-item {
  aspect-ratio: 4/3;
}

.gallery-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.gallery-note {
  margin-top: 32px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.gallery-note i {
  color: var(--primary);
  margin-right: 6px;
}

@media (max-width: 600px) {
  .gallery-page-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-filter {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}