:root {
  --primary-color: #B717DB;
  --secondary-color: #9B0FC1;
  --accent-color: #B717DB;
  --light-color: #f8f9fa;
  --dark-color: #333;
}

/* Gallery Hero Section */
.gallery-hero {
  padding: 50px 0;
  background-color: var(--light-color);
}

.gallery-hero .hero-content {
  padding: 30px 0;
}

.gallery-hero .hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.gallery-hero .hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.gallery-hero .hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.gallery-hero .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.section-main-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.section-main-title span {
  color: var(--accent-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Filter */
.gallery-filter {
  margin-bottom: 40px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 15px;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For IE and Edge */
}

.gallery-filter::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color);
  color: white;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: visible;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

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

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

.gallery-item-info {
  padding: 15px 20px;
  text-align: center;
  background: #fff;
  border-radius: 0 0 12px 12px;
}

.gallery-item-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-item-title:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(183, 23, 219, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

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

.overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.overlay-content .image-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.overlay-content .image-count i {
  margin-right: 5px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.view-btn:hover {
  background: white;
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Load More Button */
.load-more {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.load-more:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .gallery-section {
    padding: 70px 0;
  }
}

@media (max-width: 991.98px) {
  .gallery-hero .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-main-title {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
  }

  .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .gallery-hero {
    padding: 40px 0;
  }

  .gallery-hero .row {
    flex-direction: column-reverse;
  }

  .gallery-hero .hero-content {
    text-align: center;
    margin-top: 2rem;
    padding: 0 15px;
  }

  .gallery-hero .hero-content h1 {
    font-size: 2rem;
  }

  .gallery-hero .hero-content p {
    font-size: 1rem;
  }

  .section-main-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .gallery-filter {
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 6px 13px;
    font-size: 0.7rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .gallery-item {
    aspect-ratio: 12/9;
    margin: 0 auto;
    width: 100%;
  }

  .overlay-content h3 {
    font-size: 1.5rem;
  }

  .overlay-content p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .gallery-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-main-title {
    font-size: 1.6rem;
  }

  .gallery-section {
    padding: 50px 0;
  }

  .overlay-content h3 {
    font-size: 1.3rem;
  }

  .overlay-content p {
    font-size: 0.9rem;
  }

  .view-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 400px) {
  .gallery-hero .hero-content h1 {
    font-size: 1.6rem;
  }

  .section-main-title {
    font-size: 1.4rem;
  }

  .filter-btn {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
  position: relative;
}

.pagination-btn {
  background: white;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 15, 193, 0.3);
}

.pagination-btn.active {
  background: var(--secondary-color);
  color: white;
}

.pagination-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.pagination-dots {
  color: var(--secondary-color);
  font-weight: bold;
  padding: 0 5px;
}

.results-info {
  width: 100%;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 20px;
  font-weight: 500;
}

/* Lightbox Styles */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-caption {
  color: white;
  font-size: 1.1rem;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

.lightbox-counter {
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: white;
  color: #000;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: white;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
  
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .lightbox-caption {
    font-size: 0.95rem;
    margin-top: 15px;
  }
  
  .lightbox-counter {
    font-size: 0.85rem;
  }
  
  .pagination-btn {
    padding: 8px 12px;
    min-width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .results-info {
    font-size: 0.85rem;
  }
}

/* =============================================
   PAGE HERO STYLES (Gallery Pages)
   ============================================= */

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(183, 23, 219, 0.85) 0%, rgba(155, 15, 193, 0.9) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  text-align: center;
  color: #fff;
  padding: 60px 0;
}

.page-hero-content .breadcrumb {
  background: transparent;
  justify-content: center;
  margin-bottom: 1rem;
}

.page-hero-content .breadcrumb a,
.page-hero-content .breadcrumb span {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-content .breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

/* =============================================
   GALLERY ITEMS GRID (Page Gallery)
   ============================================= */

.gallery-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(183, 23, 219, 0.15);
}

.gallery-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-card-overlay span {
  color: #fff;
  font-size: 0.9rem;
}

.gallery-card-overlay i {
  margin-right: 8px;
}

.gallery-card-content {
  padding: 20px;
}

.gallery-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.gallery-card-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   SINGLE GALLERY HERO
   ============================================= */

.single-gallery-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(183, 23, 219, 1) 0%, rgba(155, 15, 193, 1) 100%);
  padding: 120px 0 40px;
}

.single-gallery-hero .container {
  position: relative;
}

.single-gallery-hero-content {
  text-align: center;
  color: #fff;
}

.gallery-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-gallery-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.single-gallery-excerpt {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  line-height: 1.7;
}

.gallery-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-meta i {
  margin-right: 6px;
}

/* =============================================
   SINGLE GALLERY CONTENT
   ============================================= */

.single-gallery-content {
  background: var(--light-color);
  padding-top: 50px;
  padding-bottom: 50px;
}

.gallery-description {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
}

.single-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.single-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.single-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.single-gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(183, 23, 219, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.single-gallery-item-overlay i {
  font-size: 2rem;
  color: #fff;
}

/* =============================================
   SINGLE GALLERY NAVIGATION
   ============================================= */

.single-gallery-navigation {
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.single-gallery-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.single-gallery-navigation .nav-prev,
.single-gallery-navigation .nav-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-gallery-navigation .nav-prev:hover,
.single-gallery-navigation .nav-next:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(183, 23, 219, 0.25);
}

.single-gallery-navigation .nav-prev {
  text-align: left;
}

.single-gallery-navigation .nav-next {
  text-align: right;
}

.single-gallery-navigation .nav-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 5px;
}

.single-gallery-navigation .nav-title {
  font-weight: 600;
  font-size: 1rem;
}

.single-gallery-navigation .nav-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 25px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.single-gallery-navigation .nav-back:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.single-gallery-navigation .nav-back i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.single-gallery-navigation .disabled {
  visibility: hidden;
}

/* =============================================
   LIGHTBOX ADDITIONAL STYLES
   ============================================= */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 100000;
  background: none;
  border: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  z-index: 100000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

#single-gallery-lightbox-caption,
#gallery-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  max-width: 80%;
}

#single-gallery-lightbox-caption .image-counter,
#gallery-lightbox-caption .image-counter {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

#single-gallery-lightbox-caption .caption-text,
#gallery-lightbox-caption .caption-text {
  font-size: 1rem;
}

/* No Images Message */
.no-images-message {
  color: #999;
  font-size: 1.1rem;
}

/* =============================================
   WORDPRESS PAGINATION STYLES
   ============================================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: #fff;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 15, 193, 0.3);
}

.pagination .page-numbers.current {
  background: var(--secondary-color);
  color: #fff;
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

/* =============================================
   RESPONSIVE STYLES FOR NEW ELEMENTS
   ============================================= */

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 350px;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .single-gallery-hero {
    min-height: 380px;
  }
  
  .single-gallery-title {
    font-size: 2.3rem;
  }
  
  .gallery-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .page-hero {
    min-height: 300px;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .single-gallery-hero {
    padding: 100px 0 30px;
  }
  
  .single-gallery-title {
    font-size: 1.6rem;
  }
  
  .gallery-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .gallery-items-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-card-image {
    height: 200px;
  }
  
  .single-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .single-gallery-navigation .nav-links {
    flex-direction: column;
  }
  
  .single-gallery-navigation .nav-prev,
  .single-gallery-navigation .nav-next,
  .single-gallery-navigation .nav-back {
    width: 100%;
    text-align: center;
  }
  
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
}

@media (max-width: 575.98px) {
  .page-hero h1 {
    font-size: 1.7rem;
  }
  
  .single-gallery-title {
    font-size: 1.5rem;
  }
  
  .single-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .single-gallery-item {
    aspect-ratio: 16/10;
  }
}
