:is(.photos-page, .videos-page) { background: #fff; color: #212529; }
:is(.photos-page, .videos-page) .bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  padding: 60px 0;
}
:is(.photos-page, .videos-page) :is(.photos-banner, .videos-banner) { position: relative; z-index: 3; max-width: 900px; }
:is(.photos-page, .videos-page) .bg-breadcrumb .display-4 {
  font-family: Roboto, sans-serif;
  font-size: calc(1.475rem + 2.7vw);
  font-weight: 700;
  line-height: 1.2;
}
:is(.photos-page, .videos-page) .bg-breadcrumb-single {
  position: absolute;
  width: 500px;
  height: 1200px;
  top: 0;
  left: -240px;
  margin-left: 30px;
  transform: rotate(-30deg);
  background: red;
  animation: RotateMoveLeft 5s linear infinite;
  opacity: 0.7;
  z-index: 2;
}
:is(.photos-page, .videos-page) .bg-breadcrumb::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
  border-radius: 200px;
  border: 80px solid rgba(68, 210, 246, 0.2);
  animation: RotateMoveCircle 10s linear infinite;
  background: transparent;
  z-index: 2;
}
:is(.photos-page, .videos-page) .bg-breadcrumb::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1200px;
  top: -150px;
  left: 0;
  margin-left: 160px;
  transform: rotate(-30deg);
  background: rgba(68, 210, 246, 0.2);
  animation: RotateMoveRight 5s linear infinite;
  z-index: 2;
}
@keyframes RotateMoveLeft {
  0% { left: -240px; }
  50% { left: -300px; }
  100% { left: -240px; }
}
@keyframes RotateMoveRight {
  0% { left: 0; }
  50% { left: 70px; }
  100% { left: 0; }
}
@keyframes RotateMoveCircle {
  0% { top: -200px; }
  50% { right: -100px; }
  75% { top: -100px; }
  100% { top: -200px; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
:is(.photos-page, .videos-page) .wow { visibility: hidden; }
:is(.photos-page, .videos-page) .wow.animated {
  visibility: visible;
  animation-duration: 1s;
  animation-fill-mode: both;
}
:is(.photos-page, .videos-page) .wow.animated.fadeInDown { animation-name: fadeInDown; }
:is(.photos-page, .videos-page) .wow.animated.fadeInUp { animation-name: fadeInUp; }
:is(.photos-page, .videos-page) .wow.animated.fadeIn { animation-name: fadeIn; }
:is(.photos-page, .videos-page) .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}
:is(.photos-page, .videos-page) .breadcrumb-item a { color: #fff; text-decoration: none; }
:is(.photos-page, .videos-page) .breadcrumb-item.active { color: #db3832; }

:is(.photos-page, .videos-page) .media-section { padding: 80px 0; }
:is(.photos-page, .videos-page) .section-title { text-align: center; margin-bottom: 50px; }
:is(.photos-page, .videos-page) .section-title h2 {
  color: #2c5f2d;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
:is(.photos-page, .videos-page) .section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2c5f2d;
}
:is(.photos-page, .videos-page) .section-title p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}
:is(.photos-page, .videos-page) button.album-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin-bottom: 30px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
:is(.photos-page, .videos-page) button.album-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
:is(.photos-page, .videos-page) button.album-card:focus-visible {
  outline: 3px solid #2c5f2d;
  outline-offset: 3px;
}
:is(.photos-page, .videos-page) .album-cover {
  height: 250px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
:is(.photos-page, .videos-page) .album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
:is(.photos-page, .videos-page) button.album-card:hover .album-cover img { transform: scale(1.08); }
:is(.photos-page, .videos-page) .album-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 95, 45, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
:is(.photos-page, .videos-page) button.album-card:hover .album-cover-overlay,
:is(.photos-page, .videos-page) button.album-card:focus-visible .album-cover-overlay { opacity: 1; }
:is(.photos-page, .videos-page) .album-cover-overlay i { color: #fff; font-size: 2.5rem; }
:is(.photos-page, .videos-page) .album-info { padding: 25px; }
:is(.photos-page, .videos-page) .album-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c5f2d;
  line-height: 1.3;
}
:is(.photos-page, .videos-page) .album-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
:is(.photos-page, .videos-page) .album-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
:is(.photos-page, .videos-page) .stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #6c757d;
}
:is(.photos-page, .videos-page) .stat-item i { color: #2c5f2d; }
:is(.photos-page, .videos-page) .btn-view-album {
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  width: 100%;
  text-align: center;
}
:is(.photos-page, .videos-page) .no-albums {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  margin: 30px 0;
}
:is(.photos-page, .videos-page) .no-albums i { font-size: 4rem; color: #6c757d; margin-bottom: 20px; }
:is(.photos-page, .videos-page) .no-albums h4 { color: #495057; margin-bottom: 10px; }
:is(.photos-page, .videos-page) .no-albums p { color: #6c757d; margin-bottom: 0; }

:is(.photos-page, .videos-page) .album-modal .modal-header {
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  color: #fff;
  border-bottom: none;
}
:is(.photos-page, .videos-page) .album-modal .modal-title { font-weight: 700; }
:is(.photos-page, .videos-page) .album-modal .btn-close { filter: invert(1); }
:is(.photos-page, .videos-page) .album-detail-header {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 30px;
}
:is(.photos-page, .videos-page) .album-cover-large {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
:is(.photos-page, .videos-page) .album-cover-large.is-empty {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}
:is(.photos-page, .videos-page) .album-description-full {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}
:is(.photos-page, .videos-page) .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
:is(.photos-page, .videos-page) .media-item {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
:is(.photos-page, .videos-page) .media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
:is(.photos-page, .videos-page) .media-item:focus-visible {
  outline: 3px solid #2c5f2d;
  outline-offset: 3px;
}
:is(.photos-page, .videos-page) .media-preview {
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
:is(.photos-page, .videos-page) .media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
:is(.photos-page, .videos-page) .media-item:hover .media-preview img { transform: scale(1.05); }
:is(.photos-page, .videos-page) .media-info { padding: 20px; }
:is(.photos-page, .videos-page) .media-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1rem;
  color: #2c5f2d;
}
:is(.photos-page, .videos-page) .media-type {
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}
:is(.photos-page, .videos-page) .empty-album { text-align: center; padding: 60px 20px; color: #6c757d; }
:is(.photos-page, .videos-page) .empty-album i { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }

:is(.photos-page, .videos-page) .lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
:is(.photos-page, .videos-page) .lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
:is(.photos-page, .videos-page) .lightbox-content { max-width: 90%; max-height: 90%; position: relative; }
:is(.photos-page, .videos-page) .lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
:is(.photos-page, .videos-page) .lightbox-close,
:is(.photos-page, .videos-page) .lightbox-nav {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.3s ease, transform 0.3s ease;
}
:is(.photos-page, .videos-page) .lightbox-close { top: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
:is(.photos-page, .videos-page) .lightbox-close:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.1); }
:is(.photos-page, .videos-page) .lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}
:is(.photos-page, .videos-page) .lightbox-nav:hover { background: rgba(0, 0, 0, 0.9); transform: translateY(-50%) scale(1.1); }
:is(.photos-page, .videos-page) .lightbox-prev { left: 30px; }
:is(.photos-page, .videos-page) .lightbox-next { right: 30px; }
:is(.photos-page, .videos-page) .lightbox-info {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
:is(.photos-page, .videos-page) .lightbox-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; }
:is(.photos-page, .videos-page) .lightbox-type { font-size: 0.9rem; opacity: 0.8; }

@media (max-width: 768px) {
  :is(.photos-page, .videos-page) .media-section { padding: 50px 0; }
  :is(.photos-page, .videos-page) button.album-card { margin-bottom: 20px; }
  :is(.photos-page, .videos-page) .media-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
  :is(.photos-page, .videos-page) .lightbox-nav { width: 50px; height: 50px; font-size: 1.2rem; }
  :is(.photos-page, .videos-page) .lightbox-prev { left: 10px; }
  :is(.photos-page, .videos-page) .lightbox-next { right: 10px; }
}
@media (max-width: 576px) {
  :is(.photos-page, .videos-page) .album-stats { flex-direction: column; gap: 8px; }
  :is(.photos-page, .videos-page) .media-grid { grid-template-columns: 1fr; }
  :is(.photos-page, .videos-page) .album-detail-header,
  :is(.photos-page, .videos-page) .album-description-full { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.photos-page, .videos-page) .bg-breadcrumb-single,
  :is(.photos-page, .videos-page) .bg-breadcrumb::before,
  :is(.photos-page, .videos-page) .bg-breadcrumb::after,
  :is(.photos-page, .videos-page) .wow.animated,
  :is(.photos-page, .videos-page) button.album-card,
  :is(.photos-page, .videos-page) .album-cover img,
  :is(.photos-page, .videos-page) .media-item,
  :is(.photos-page, .videos-page) .media-preview img,
  :is(.photos-page, .videos-page) .lightbox { animation: none; transition: none; }
  :is(.photos-page, .videos-page) .wow { visibility: visible; }
  :is(.photos-page, .videos-page) button.album-card:hover,
  :is(.photos-page, .videos-page) .media-item:hover,
  :is(.photos-page, .videos-page) button.album-card:hover .album-cover img,
  :is(.photos-page, .videos-page) .media-item:hover .media-preview img { transform: none; }
}

.videos-page .media-preview { position: relative; }
.videos-page .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.videos-page .media-item:hover .video-overlay,
.videos-page .media-item:focus-visible .video-overlay { opacity: 1; }
.videos-page .video-overlay i { color: #fff; font-size: 3rem; }
.videos-page .youtube-preview {
  background: #ff0000;
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: background 0.3s ease;
}
.videos-page .media-item:hover .youtube-preview { background: #cc0000; }
.videos-page .lightbox-content iframe {
  width: min(800px, 90vw);
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: #000;
}
.videos-page .lightbox-fallback {
  width: min(800px, 90vw);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #dc3545;
  border-radius: 10px;
  text-align: center;
}
@media (max-width: 768px) {
  .videos-page .lightbox-content iframe { width: 95vw; }
}
