.events-hero{
  position:relative;
  width:100%;
  padding:54px 20px 46px;
  background:
    radial-gradient(circle at top left,rgba(0,168,168,.08),transparent 24%),
    radial-gradient(circle at top right,rgba(60,150,255,.08),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f5f9fd 100%);
  text-align:center;
  overflow:hidden;
}

.events-hero::before{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  top:-190px;
  right:-115px;
  border:1px solid rgba(0,120,220,.20);
  border-radius:50%;
  pointer-events:none;
}

.events-hero::after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  top:28px;
  left:28px;
  border-radius:50%;
  background:rgba(0,168,168,.42);
  box-shadow:
    13px 0 rgba(0,168,168,.42),
    26px 0 rgba(0,168,168,.42),
    39px 0 rgba(0,168,168,.42),
    52px 0 rgba(0,168,168,.42),

    0 13px rgba(0,168,168,.42),
    13px 13px rgba(0,168,168,.42),
    26px 13px rgba(0,168,168,.42),
    39px 13px rgba(0,168,168,.42),
    52px 13px rgba(0,168,168,.42),

    0 26px rgba(0,168,168,.42),
    13px 26px rgba(0,168,168,.42),
    26px 26px rgba(0,168,168,.42),
    39px 26px rgba(0,168,168,.42),
    52px 26px rgba(0,168,168,.42),

    0 39px rgba(0,168,168,.42),
    13px 39px rgba(0,168,168,.42),
    26px 39px rgba(0,168,168,.42),
    39px 39px rgba(0,168,168,.42),
    52px 39px rgba(0,168,168,.42);
  opacity:.55;
  pointer-events:none;
}

.events-hero-inner{
  position:relative;
  z-index:1;
  max-width:850px;
  margin:0 auto;
}

.events-hero h1{
  margin:0 0 12px;
  color:#00264d;
  font-size:clamp(2rem,4vw,3rem);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.04em;
}

.events-hero h1 span{
  color:#00a8a8;
}

.events-hero p{
  max-width:720px;
  margin:0 auto;
  color:#5f6f7f;
  font-size:1rem;
  line-height:1.7;
}
.events-section{
  padding:0 20px 52px;
  background:
    linear-gradient(180deg,#f5f9fd 0%,#eef5fa 45%,#f7fafc 100%);
}

.section-inner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
}
.top-writeup{
  position:relative;
  padding:28px 30px;
  margin-bottom:26px;
  background:#ffffff;
  border:1px solid rgba(0,51,102,.08);
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,51,102,.07);
}

.top-writeup h2{
  margin:0 0 12px;
  color:#00264d;
  font-size:clamp(1.55rem,2.6vw,2rem);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
}

.top-writeup p{
  max-width:900px;
  margin:0;
  color:#5f6f7f;
  font-size:.98rem;
  line-height:1.75;
}
.location-block{
  padding:18px 16px 16px;
  margin-bottom:20px;
  background:#ffffff;
  border:1px solid rgba(0,51,102,.07);
  border-radius:20px;
  box-shadow:0 10px 26px rgba(0,51,102,.055);
}

.location-title{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 7px;
  color:#00264d;
  font-size:1.45rem;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.02em;
}

.location-title::before{
  content:"";
  flex:0 0 auto;
  width:22px;
  height:4px;
  border-radius:999px;
  background:#00a8a8;
}

.location-desc{
  margin:0 0 16px;
  color:#5f6f7f;
  font-size:.92rem;
  line-height:1.6;
}
.photo-gallery{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}

.photo-gallery img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center;
  border-radius:11px;
  background:#f3f6f8;
  box-shadow:0 4px 12px rgba(0,51,102,.08);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    filter .3s ease;
}

.photo-gallery img:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 22px rgba(0,51,102,.15);
  filter:saturate(1.03);
}
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
@media(max-width:1200px){

  .section-inner{
    max-width:1080px;
  }

  .photo-gallery{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

}
@media(max-width:900px){

  .events-hero{
    padding:44px 18px 38px;
  }

  .events-section{
    padding:0 18px 40px;
  }

  .top-writeup{
    padding:25px 24px;
  }

  .location-block{
    padding:17px 15px 15px;
  }

  .photo-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:11px;
  }

}
@media(max-width:768px){

  .events-hero{
    padding:34px 16px 30px;
  }

  .events-hero::before{
    width:220px;
    height:220px;
    top:-145px;
    right:-95px;
  }

  .events-hero::after{
    top:18px;
    left:18px;
    transform:scale(.78);
    transform-origin:top left;
  }

  .events-hero h1{
    font-size:clamp(1.85rem,8vw,2.3rem);
  }

  .events-hero p{
    font-size:.92rem;
    line-height:1.62;
  }

  .events-section{
    padding:0 16px 34px;
  }

  .top-writeup{
    padding:22px 18px;
    margin-bottom:18px;
    border-radius:18px;
  }

  .top-writeup h2{
    margin-bottom:10px;
    font-size:1.5rem;
  }

  .top-writeup p{
    font-size:.92rem;
    line-height:1.65;
  }

  .location-block{
    padding:16px 14px 14px;
    margin-bottom:16px;
    border-radius:18px;
  }

  .location-title{
    font-size:1.3rem;
  }

  .location-desc{
    margin-bottom:14px;
    font-size:.88rem;
  }

  .photo-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .photo-gallery img{
    border-radius:10px;
  }

  .reveal{
    opacity:1;
    transform:none;
  }

}
@media(max-width:480px){

  .events-hero{
    padding:30px 15px 26px;
  }

  .events-hero h1{
    font-size:1.75rem;
  }

  .events-section{
    padding:0 14px 28px;
  }

  .top-writeup{
    padding:20px 16px;
  }

  .top-writeup h2{
    font-size:1.35rem;
  }

  .location-block{
    padding:15px 12px 12px;
  }

  .location-title{
    font-size:1.2rem;
  }

  .photo-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .photo-gallery img{
    border-radius:9px;
  }

}
@media(max-width:360px){

  .photo-gallery{
    grid-template-columns:1fr;
  }

}
.workshop-wrapper{
  background:#ffffff;
  border:1px solid rgba(0,51,102,.08);
  border-radius:24px;
  padding:30px;
  margin-bottom:34px;
  box-shadow:0 12px 30px rgba(0,51,102,.07);
}

.workshop-wrapper .top-writeup{
  margin-bottom:28px;
  border:none;
  box-shadow:none;
  padding:0 0 20px;
  border-bottom:1px solid rgba(0,51,102,.08);
  border-radius:0;
}

.workshop-wrapper .location-block:last-child{
  margin-bottom:0;
}

@media(max-width:768px){
  .workshop-wrapper{
    padding:20px;
    border-radius:18px;
  }
  .workshop-wrapper .top-writeup{
    padding-bottom:18px;
  }
}
.featured-event-card{
  margin:0 0 26px;
  padding:28px 30px 30px;
  background:#ffffff;
  border:1px solid rgba(0,51,102,.08);
  border-top:4px solid #00a8a8;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,51,102,.07);
}

.featured-event-label{
  display:inline-block;
  margin:0 0 10px;
  color:#008b8b;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.featured-event-card h2{
  margin:0 0 14px;
  color:#00264d;
  font-size:clamp(1.55rem,2.6vw,2rem);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
}

.featured-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}

.featured-event-meta span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  color:#003366;
  background:#eef7fb;
  border:1px solid rgba(0,51,102,.08);
  border-radius:999px;
  font-size:.88rem;
  font-weight:700;
}

.featured-event-summary{
  max-width:1060px;
  margin:0 0 24px;
  color:#5f6f7f;
  font-size:.96rem;
  line-height:1.75;
}

.featured-event-summary strong{
  color:#334d66;
  font-weight:700;
}

.featured-gallery-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 15px;
}

.featured-gallery-header h3{
  flex:0 0 auto;
  margin:0;
  color:#00264d;
  font-size:1.18rem;
  font-weight:800;
}

.featured-gallery-header::after{
  content:"";
  width:100%;
  height:1px;
  background:linear-gradient(90deg,rgba(0,168,168,.38),transparent);
}

.featured-photo-gallery{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.photo-gallery a{
  display:block;
  overflow:hidden;
  border-radius:12px;
  background:#f3f6f8;
  cursor:zoom-in;
}

.photo-gallery a:focus-visible{
  outline:3px solid rgba(0,168,168,.38);
  outline-offset:3px;
}

.photo-gallery a img{
  width:100%;
  transition:transform .3s ease,box-shadow .3s ease,filter .3s ease;
}

.photo-gallery a:hover img{
  transform:scale(1.04);
  filter:saturate(1.03);
}
body.lightbox-open{
  overflow:hidden;
}

.image-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:70px 70px 42px;
  background:rgba(0,18,36,.94);
}

.image-lightbox.show{
  display:flex;
}

.image-lightbox-image{
  display:block;
  max-width:min(1100px,92vw);
  max-height:84vh;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}

.image-lightbox-close,
.image-lightbox-prev,
.image-lightbox-next{
  position:absolute;
  border:0;
  color:#ffffff;
  background:rgba(255,255,255,.14);
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

.image-lightbox-close:hover,
.image-lightbox-prev:hover,
.image-lightbox-next:hover{
  background:rgba(255,255,255,.25);
}

.image-lightbox-close{
  top:20px;
  right:24px;
  width:48px;
  height:48px;
  border-radius:50%;
  font-size:34px;
  line-height:1;
}

.image-lightbox-prev,
.image-lightbox-next{
  top:50%;
  width:48px;
  height:64px;
  border-radius:12px;
  font-size:34px;
  transform:translateY(-50%);
}

.image-lightbox-prev{
  left:18px;
}

.image-lightbox-next{
  right:18px;
}

.image-lightbox-caption{
  position:absolute;
  left:20px;
  right:20px;
  bottom:12px;
  margin:0;
  color:#ffffff;
  text-align:center;
  font-size:.9rem;
}
.workshop-wrapper{
  background:#ffffff;
  border:1px solid rgba(0,51,102,.08);
  border-radius:24px;
  padding:30px;
  margin-bottom:34px;
  box-shadow:0 12px 30px rgba(0,51,102,.07);
}

.workshop-wrapper .top-writeup{
  margin-bottom:28px;
  border:none;
  box-shadow:none;
  padding:0 0 20px;
  border-bottom:1px solid rgba(0,51,102,.08);
  border-radius:0;
}

.workshop-wrapper .location-block:last-child{
  margin-bottom:0;
}

@media(max-width:768px){
  .workshop-wrapper{
    padding:20px;
    border-radius:18px;
  }
  .workshop-wrapper .top-writeup{
    padding-bottom:18px;
  }
}
@media(max-width:1200px){
  .featured-photo-gallery{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .featured-photo-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:768px){
  .featured-event-card{
    padding:22px 18px;
    margin-bottom:18px;
    border-radius:18px;
  }

  .featured-event-card h2{
    font-size:1.5rem;
  }

  .featured-event-meta{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .featured-event-meta span{
    width:100%;
    border-radius:12px;
  }

  .featured-event-summary{
    font-size:.92rem;
    line-height:1.65;
  }

  .featured-photo-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .image-lightbox{
    padding:70px 12px 52px;
  }

  .image-lightbox-image{
    max-width:96vw;
    max-height:76vh;
  }

  .image-lightbox-close{
    top:12px;
    right:12px;
  }

  .image-lightbox-prev,
  .image-lightbox-next{
    width:42px;
    height:56px;
    font-size:28px;
  }

  .image-lightbox-prev{
    left:8px;
  }

  .image-lightbox-next{
    right:8px;
  }
}

@media(max-width:360px){
  .featured-photo-gallery{
    grid-template-columns:1fr;
  }
}

.workshop-wrapper .location-block{
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  padding:28px 0;
  margin:0;
  border-top:1px solid rgba(0,51,102,.08);
}

.workshop-wrapper .location-block:first-of-type{
  border-top:none;
  padding-top:24px;
}


.hackathon-event-card{
  position:relative;
  margin:0 0 26px;
  padding:30px;
  overflow:hidden;
  background:
    radial-gradient(circle at top right,rgba(0,168,168,.11),transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f4fbfc 100%);
  border:1px solid rgba(0,51,102,.09);
  border-left:5px solid #00a8a8;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,51,102,.07);
}

.hackathon-event-card::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  top:-112px;
  right:-76px;
  border:1px solid rgba(0,168,168,.18);
  border-radius:50%;
  pointer-events:none;
}

.hackathon-event-content{
  position:relative;
  z-index:1;
}

.hackathon-event-label{
  display:inline-block;
  margin:0 0 10px;
  color:#008b8b;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hackathon-event-card h2{
  margin:0 0 14px;
  color:#00264d;
  font-size:clamp(1.55rem,2.6vw,2rem);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
}

.hackathon-event-summary{
  max-width:1080px;
  margin:0 0 22px;
  color:#5f6f7f;
  font-size:.96rem;
  line-height:1.75;
}

.hackathon-event-summary strong{
  color:#334d66;
  font-weight:700;
}

.hackathon-event-highlights{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 22px;
}

.hackathon-highlight{
  min-height:108px;
  padding:16px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(0,51,102,.08);
  border-radius:14px;
}

.hackathon-highlight strong{
  display:block;
  margin-bottom:7px;
  color:#00264d;
  font-size:.9rem;
  line-height:1.35;
}

.hackathon-highlight span{
  display:block;
  color:#637487;
  font-size:.86rem;
  line-height:1.5;
}

.hackathon-event-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
}

.hackathon-status{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:9px 13px;
  color:#795400;
  background:#fff8df;
  border:1px solid #f0df9a;
  border-radius:999px;
  font-size:.86rem;
  font-weight:700;
}

.hackathon-event-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:11px 18px;
  color:#ffffff;
  background:#00a8a8;
  border:1px solid #00a8a8;
  border-radius:999px;
  font-size:.9rem;
  font-weight:800;
  text-decoration:none;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.hackathon-event-link:hover{
  background:#008f96;
  border-color:#008f96;
  transform:translateY(-2px);
  box-shadow:0 9px 20px rgba(0,168,168,.22);
}

.hackathon-event-link:focus-visible{
  outline:3px solid rgba(0,168,168,.35);
  outline-offset:3px;
}

@media(max-width:1000px){
  .hackathon-event-highlights{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:768px){
  .hackathon-event-card{
    padding:22px 18px;
    margin-bottom:18px;
    border-radius:18px;
  }

  .hackathon-event-card h2{
    font-size:1.5rem;
  }

  .hackathon-event-summary{
    font-size:.92rem;
    line-height:1.65;
  }

  .hackathon-event-highlights{
    grid-template-columns:1fr;
    gap:9px;
  }

  .hackathon-highlight{
    min-height:auto;
  }

  .hackathon-event-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .hackathon-status,
  .hackathon-event-link{
    width:100%;
    border-radius:12px;
  }
}
.future-skills-gallery {
  padding: 30px;
}

.future-skills-gallery .top-writeup {
  margin-bottom: 24px;
}

.location-cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.location-cover-card {
  position: relative;
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #eaf1f6;
  box-shadow: 0 10px 26px rgba(0, 51, 102, 0.10);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}

.location-cover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 24, 48, 0.88) 100%);
}

.location-cover-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.location-cover-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.location-cover-card:focus-visible {
  outline: 4px solid rgba(0, 168, 168, 0.4);
  outline-offset: 4px;
}

.location-cover-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
}

.location-cover-overlay strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.location-cover-overlay small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
}

body.location-gallery-open {
  overflow: hidden;
}

.location-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  padding: 28px;
  overflow-y: auto;
  background: rgba(0, 18, 36, 0.92);
  backdrop-filter: blur(8px);
}

.location-gallery-modal.show {
  display: block;
}

.location-gallery-dialog {
  width: min(1180px, 100%);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.location-gallery-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px -4px 20px;
  padding: 8px 4px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 51, 102, 0.09);
  backdrop-filter: blur(10px);
}

.location-gallery-kicker {
  display: block;
  margin-bottom: 4px;
  color: #00a8a8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-gallery-header h2 {
  margin: 0;
  color: #00264d;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.location-gallery-close {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #eef5fa;
  color: #003366;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.location-gallery-close:hover {
  background: #dfeef4;
}

.location-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.location-gallery-photo {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #eef3f6;
  cursor: zoom-in;
}

.location-gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.location-gallery-photo:hover img {
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .location-cover-grid,
  .location-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .future-skills-gallery {
    padding: 20px 16px;
  }

  .location-cover-grid {
    gap: 12px;
  }

  .location-cover-card,
  .location-cover-card img {
    min-height: 190px;
    height: 190px;
  }

  .location-cover-overlay {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .location-cover-overlay strong {
    font-size: 1rem;
  }

  .location-gallery-modal {
    padding: 12px;
  }

  .location-gallery-dialog {
    min-height: calc(100vh - 24px);
    padding: 16px;
    border-radius: 18px;
  }

  .location-gallery-grid {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .location-cover-grid {
    grid-template-columns: 1fr;
  }

  .location-cover-card,
  .location-cover-card img {
    min-height: 210px;
    height: 210px;
  }

  .location-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.location-cover-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.location-cover-card {
  min-height: 220px !important;
  height: 220px !important;
  border-radius: 14px !important;
}

.location-cover-card img {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  object-fit: cover !important;
}

.location-gallery-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-gallery-minimize,
.location-gallery-close {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #eef5fa;
  color: #003366;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.location-gallery-minimize {
  font-size: 30px;
  line-height: 1;
}

.location-gallery-minimize:hover,
.location-gallery-close:hover {
  background: #dfeef4;
  transform: translateY(-1px);
}

.location-gallery-restore {
  display: none;
}

.location-gallery-modal.minimized {
  display: block !important;
  inset: auto 22px 22px auto;
  width: min(360px, calc(100vw - 28px));
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.location-gallery-modal.minimized .location-gallery-dialog {
  display: none;
}

.location-gallery-modal.minimized .location-gallery-restore {
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #ffffff;
  background: #003366;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,18,36,.30);
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
}

.location-gallery-restore small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.location-gallery-restore strong {
  display: block;
  max-width: 250px;
  overflow: hidden;
  color: #ffffff;
  font-size: .96rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-gallery-restore-icon {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

@media (max-width: 1250px) {
  .location-cover-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 950px) {
  .location-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .location-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .location-cover-card,
  .location-cover-card img {
    min-height: 190px !important;
    height: 190px !important;
  }

  .location-gallery-modal.minimized {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }
}

@media (max-width: 480px) {
  .location-cover-grid {
    grid-template-columns: 1fr !important;
  }

  .location-cover-card,
  .location-cover-card img {
    min-height: 230px !important;
    height: 230px !important;
  }

  .location-gallery-minimize,
  .location-gallery-close {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}


.location-cover-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.location-cover-card {
  min-width: 0 !important;
  height: 220px !important;
}

.location-cover-card img {
  height: 220px !important;
}

.location-cover-overlay {
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
}

.location-cover-overlay strong {
  font-size: 1rem !important;
  overflow-wrap: anywhere;
}

.location-cover-overlay small {
  font-size: .7rem !important;
}

.location-photo-preview {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 32px;
  background: rgba(0, 18, 36, .96);
}

.location-photo-preview.show {
  display: flex;
}

.location-photo-preview img {
  display: block;
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
}

.location-photo-preview-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.location-photo-preview-close:hover {
  background: rgba(255, 255, 255, .28);
}

@media (max-width: 1100px) {
  .location-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .location-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .location-photo-preview {
    padding: 66px 12px 24px;
  }

  .location-photo-preview-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .location-cover-grid {
    grid-template-columns: 1fr !important;
  }
}

.location-cover-date {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.25;
}

.location-gallery-date {
  margin: 5px 0 0;
  color: #5f6f7f;
  font-size: .9rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .location-cover-date {
    font-size: .7rem;
  }

  .location-gallery-date {
    font-size: .82rem;
  }
}

.events-jump-nav {
  padding: 22px 20px 10px;
  background: #f5f9fd;
}

.events-jump-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 51, 102, .08);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 51, 102, .06);
}

.events-jump-inner label {
  color: #00264d;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.events-select-wrap {
  position: relative;
  width: min(520px, 100%);
}

.events-select-wrap select {
  width: 100%;
  min-height: 48px;
  padding: 11px 46px 11px 16px;
  color: #003366;
  background: #f4f9fc;
  border: 1px solid rgba(0, 51, 102, .14);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

.events-select-wrap select:focus {
  outline: 3px solid rgba(0, 168, 168, .22);
  border-color: #00a8a8;
}

.events-select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #00a8a8;
  font-size: 1.25rem;
  font-weight: 800;
  pointer-events: none;
  transform: translateY(-55%);
}

#sustainabilityHackathon,
#entrepreneurialWorkshop,
#futureSkillsWorkshop {
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  .events-jump-nav {
    padding: 16px 16px 8px;
  }

  .events-jump-inner {
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
  }

  .events-select-wrap {
    width: 100%;
  }

  .events-select-wrap select {
    font-size: .9rem;
  }
}