:root {
  --blue: #1a4d9f;
  --dark: #0e2f66;
  --gray: #6b7280;
  --gold: #f5a800;
  --light: #f3f6fb;
  --line: #dde4f0;
  --radius: 14px
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937;
  background: #fff;
  font-size: 15px;
  line-height: 1.65
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--dark)
}

a {
  color: var(--blue)
}

.text-gold {
  color: var(--gold) !important
}

.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: .6rem 1.5rem
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue)
}

.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark)
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a
}

.btn-gold:hover {
  background: #dc9500;
  border-color: #dc9500;
  color: #000
}

.btn-outline-light:hover {
  color: var(--dark)
}

/* top bar & nav */
.topbar {
  background: var(--dark);
  color: #cdd9f2;
  font-size: 13px;
  padding: .4rem 0
}

.topbar a {
  color: #cdd9f2;
  text-decoration: none
}

.topbar a:hover {
  color: #fff
}

.navbar {
  background: #fff;
  box-shadow: 0 2px 14px rgba(14, 47, 102, .08);
  padding: .5rem 0
}

.navbar-brand img {
  height: 62px;
  width: auto
}

.navbar-brand .brand-text {
  line-height: 1.1;
  margin-left: .6rem
}

.navbar-brand .brand-text b {
  display: block;
  color: var(--dark);
  font-size: 1.15rem
}

.navbar-brand .brand-text small {
  color: var(--gray);
  font-size: .72rem;
  font-weight: 500
}

.navbar .nav-link {
  color: #2b3a55;
  font-weight: 500;
  font-size: .9rem;
  padding: .6rem .7rem !important;
  position: relative;
  white-space: nowrap
}

.navbar .btn-gold {
  white-space: nowrap;
  padding: .5rem 1.3rem
}

@media(max-width:1399px) {
  .navbar .nav-link {
    font-size: .85rem;
    padding: .6rem .5rem !important
  }

  .navbar-brand .brand-text b {
    font-size: 1rem
  }
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--blue)
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold)
}

.dropdown-menu {
  border: 0;
  box-shadow: 0 10px 30px rgba(14, 47, 102, .15);
  border-radius: 12px;
  padding: .5rem
}

.dropdown-item {
  border-radius: 8px;
  font-size: .9rem;
  padding: .5rem .9rem
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--blue)
}

/* hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(105deg, rgba(14, 47, 102, .95) 0%, rgba(14, 47, 102, .82) 45%, rgba(14, 47, 102, .45) 100%), url('../img/hero-hall.jpg') center/cover;
  padding: 5.5rem 0 6.5rem
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2
}

.hero .lead {
  color: #dbe6ff;
  max-width: 560px
}

.hero .tag {
  display: inline-block;
  background: rgba(245, 168, 0, .18);
  color: #ffd166;
  border: 1px solid rgba(245, 168, 0, .5);
  border-radius: 50px;
  padding: .25rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1rem
}

.next-test {
  background: #fff;
  color: #1f2937;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28)
}

.next-test h5 {
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

.next-test .row-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9rem
}

.next-test .row-item:last-of-type {
  border-bottom: 0
}

.next-test .row-item span {
  color: var(--gray)
}

.next-test .row-item b {
  text-align: right
}

/* stats */
.stats {
  margin-top: -3.2rem;
  position: relative;
  z-index: 3
}

.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(14, 47, 102, .12);
  height: 100%;
  border-bottom: 4px solid var(--gold)
}

.stat .num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1
}

.stat .lbl {
  font-size: .82rem;
  color: var(--gray);
  margin-top: .35rem
}

/* sections */
section {
  padding: 4.2rem 0
}

.bg-soft {
  background: var(--light)
}

.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.6rem
}

.sec-head .eyebrow {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem
}

.sec-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: .3rem 0 .6rem
}

.sec-head p {
  color: var(--gray)
}

.sec-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  margin: 1rem auto 0
}

.card-cat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  background: #fff;
  transition: .25s;
  position: relative;
  overflow: hidden
}

.card-cat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(14, 47, 102, .14);
  border-color: var(--blue)
}

.card-cat .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem
}

.card-cat ul {
  list-style: none;
  padding: 0;
  margin: .8rem 0 1.2rem;
  font-size: .86rem;
  color: var(--gray)
}

.card-cat ul li {
  padding: .15rem 0
}

.card-cat ul i {
  color: var(--blue);
  margin-right: .4rem
}

.steps {
  counter-reset: s
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  height: 100%;
  text-align: center;
  border: 1px solid var(--line);
  position: relative
}

.step .n {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto .9rem;
  box-shadow: 0 0 0 6px rgba(26, 77, 159, .12)
}

.step h6 {
  font-weight: 700;
  color: var(--dark)
}

.step p {
  font-size: .84rem;
  color: var(--gray);
  margin: 0
}

.table-fs {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(14, 47, 102, .08)
}

.table-fs thead th {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  border: 0;
  padding: .9rem 1rem;
  white-space: nowrap
}

.table-fs td {
  padding: .85rem 1rem;
  vertical-align: middle;
  font-size: .9rem
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  height: 100%;
  transition: .25s;
  position: relative;
}

.gallery-card:hover {
  box-shadow: 0 16px 36px rgba(14, 47, 102, .16);
  transform: translateY(-5px);
}

.gallery-card .img-wrap {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--light);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--light);
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card .zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 47, 102, 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.gallery-card:hover .zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.gallery-card .body {
  padding: 1rem 1.1rem
}

.gallery-card h6 {
  margin: 0 0 .25rem;
  font-weight: 700
}

.gallery-card p {
  font-size: .84rem;
  color: var(--gray);
  margin: 0
}

.team-card {
  text-align: center
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 8px 22px rgba(14, 47, 102, .18);
  margin-bottom: .8rem
}

.team-card h6 {
  margin: 0;
  font-weight: 700
}

.team-card small {
  color: var(--gold);
  font-weight: 600
}

.cta {
  background: linear-gradient(110deg, var(--dark), var(--blue));
  color: #fff;
  padding: 3.2rem 0
}

.cta h2 {
  color: #fff
}

.cta p {
  color: #d3e0ff
}

.accordion-button:not(.collapsed) {
  background: var(--light);
  color: var(--blue);
  box-shadow: none
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: .7rem
}

.accordion-button {
  font-weight: 600
}

/* page banner */
.page-banner {
  background: linear-gradient(110deg, rgba(14, 47, 102, .96), rgba(26, 77, 159, .9)), url('../img/hero-hall.jpg') center/cover;
  color: #fff;
  padding: 3rem 0 2.6rem
}

.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0
}

.page-banner .breadcrumb {
  margin: .4rem 0 0;
  --bs-breadcrumb-divider-color: #a9bde6
}

.page-banner .breadcrumb a {
  color: #cfe0ff;
  text-decoration: none
}

.page-banner .breadcrumb-item.active {
  color: #fff
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem
}

.form-label {
  font-weight: 600;
  font-size: .86rem;
  color: #2b3a55
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: .65rem .9rem;
  border-color: #cfd8e8
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(26, 77, 159, .15)
}

.auth-wrap {
  max-width: 520px;
  margin: 3rem auto
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem
}

.contact-item i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex: none
}

.quiz-q {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  background: #fff
}

.quiz-q.ok {
  border-color: #198754;
  background: #f1fbf5
}

.quiz-q.bad {
  border-color: #dc3545;
  background: #fff5f6
}

/* footer */
footer {
  background: #0a2250;
  color: #b8c7e8;
  padding: 3.2rem 0 0;
  font-size: .9rem
}

footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem
}

footer a {
  color: #b8c7e8;
  text-decoration: none
}

footer a:hover {
  color: #fff
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

footer li {
  padding: .22rem 0
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: .82rem
}

.logo-white {
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  height: 84px
}

/* dashboard (student) */
.dash-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: #fff
}

/* admin */
.admin-body {
  background: #eef2f9
}

.sidebar {
  width: 250px;
  background: var(--dark);
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 1rem .8rem;
  overflow-y: auto;
  z-index: 1030
}

.sidebar .brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  padding: .4rem .6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: .8rem;
  text-decoration: none
}

.sidebar .brand img {
  height: 44px;
  background: #fff;
  border-radius: 8px;
  padding: 3px
}

.sidebar .brand b {
  display: block;
  line-height: 1.1;
  font-size: .95rem
}

.sidebar .brand small {
  opacity: .7;
  font-size: .7rem
}

.sidebar a.item {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #c3d1f0;
  text-decoration: none;
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 2px
}

.sidebar a.item:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.sidebar a.item.active {
  background: var(--blue);
  color: #fff
}

.sidebar .grp {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7f94c4;
  margin: 1rem .8rem .3rem
}

.admin-main {
  margin-left: 250px;
  padding: 1.5rem 1.8rem
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
  gap: .6rem
}

.admin-top h3 {
  margin: 0;
  font-size: 1.4rem
}

.kpi {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 16px rgba(14, 47, 102, .06);
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 100%
}

.kpi .ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  flex: none
}

.kpi .v {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark)
}

.kpi .l {
  font-size: .78rem;
  color: var(--gray)
}

.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 4px 16px rgba(14, 47, 102, .06)
}

.panel .table th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray);
  border-bottom-width: 1px
}

.panel .table td {
  vertical-align: middle;
  font-size: .88rem
}

.sidebar-toggle {
  display: none
}

@media(max-width:991px) {
  .sidebar {
    transform: translateX(-100%);
    transition: .25s
  }

  .sidebar.open {
    transform: none
  }

  .admin-main {
    margin-left: 0;
    padding: 1rem
  }

  .sidebar-toggle {
    display: inline-block
  }

  .hero {
    padding: 3.5rem 0 5rem
  }

  .navbar-brand img {
    height: 52px
  }
}

/* slip / print */
.slip {
  max-width: 760px;
  margin: 2rem auto;
  border: 2px solid var(--blue);
  border-radius: 12px;
  padding: 1.6rem;
  background: #fff
}

.slip-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 3px solid var(--blue);
  padding-bottom: 1rem;
  margin-bottom: 1rem
}

.slip-head img {
  height: 80px
}

.slip table td {
  padding: .45rem .6rem;
  border: 1px solid var(--line)
}

.slip table td:first-child {
  background: var(--light);
  font-weight: 600;
  width: 34%
}

@media print {

  .no-print,
  .topbar,
  .navbar,
  footer {
    display: none !important
  }

  .slip {
    margin: 0;
    border-width: 1px
  }

  body {
    background: #fff
  }
}

/* Floating Toast Notifications at Bottom */
.toast-container-fixed {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 520px;
  width: min(520px, calc(100vw - 32px));
}

.custom-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: #1f2937;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(14, 47, 102, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 47, 102, 0.08);
  font-size: 0.92rem;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  animation: toastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-toast.toast-hiding {
  animation: toastSlideDown 0.35s ease forwards;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

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

@keyframes toastSlideDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(25px) scale(0.94);
  }
}

.custom-toast .toast-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.custom-toast .toast-msg {
  flex-grow: 1;
  font-weight: 500;
  color: #1f2937;
}

.custom-toast .toast-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 6px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.custom-toast .toast-close:hover {
  color: #111827;
}

/* Accent borders & colors */
.custom-toast.toast-success {
  border-left: 5px solid #198754;
}

.custom-toast.toast-danger {
  border-left: 5px solid #dc3545;
}

.custom-toast.toast-warning {
  border-left: 5px solid #f5a800;
}

.custom-toast.toast-info {
  border-left: 5px solid #1a4d9f;
}

/* Progress countdown bar */
.custom-toast .toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
}

.custom-toast .toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: toastProgress 5s linear forwards;
}

.custom-toast.toast-success .toast-progress-bar {
  background: #198754;
}

.custom-toast.toast-danger .toast-progress-bar {
  background: #dc3545;
}

.custom-toast.toast-warning .toast-progress-bar {
  background: #f5a800;
}

.custom-toast.toast-info .toast-progress-bar {
  background: #1a4d9f;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

/* ===== Lightbox Gallery Viewer ===== */
.fs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fs-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.fs-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.fs-lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 65px 75px 75px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .fs-lightbox-container {
    padding: 55px 12px 65px;
  }
}
.fs-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1050px;
  max-height: 100%;
  position: relative;
  pointer-events: auto;
}
.fs-lightbox-image {
  max-width: 88vw;
  max-height: calc(82vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}
.fs-lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #fff;
  max-width: 680px;
  padding: 0 16px;
}
.fs-lightbox-caption h5 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.fs-lightbox-caption p {
  color: #c5d3eb;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.45;
}
.fs-lightbox-counter {
  position: absolute;
  top: 20px;
  left: 24px;
  color: #dbe4f5;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.fs-lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.fs-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}
.fs-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 3;
  pointer-events: auto;
}
.fs-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}
.fs-lightbox-nav.prev {
  left: 20px;
}
.fs-lightbox-nav.next {
  right: 20px;
}
@media (max-width: 768px) {
  .fs-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  .fs-lightbox-nav.prev { left: 8px; }
  .fs-lightbox-nav.next { right: 8px; }
  .fs-lightbox-close { top: 12px; right: 14px; width: 38px; height: 38px; }
  .fs-lightbox-counter { top: 14px; left: 14px; font-size: 0.8rem; }
}