@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");


.apex-img-profile {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 60px 24px 80px;
  background: #fff;
  box-sizing: border-box;
}
/* MENU */
.apex-profile-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin: 0 auto 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
  max-width: 980px;
}

.apex-profile-filter-btn,
.apex-profile-filter-btn:hover,
.apex-profile-filter-btn:focus,
.apex-profile-filter-btn:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 2.8px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  color: #777 !important;
  cursor: pointer;
  position: relative;
}

.apex-profile-filter-btn:hover,
.apex-profile-filter-btn.active {
  color: #111 !important;
}

.apex-profile-filter-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -19px;
  width: 100%;
  height: 1px;
  background: #111;
}

/* GRID ICON */
.apex-view-toggle {
  display: flex;
  justify-content: flex-end;
  max-width: 980px;
  margin: -22px auto 16px;
}

.apex-grid-toggle {
  width: 27px;
  height: 27px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.apex-grid-toggle span {
  border: 1px solid #111;
}

/* SLIDER */
.apex-slider-section {
  display: none;
}

.apex-slider-section.active {
  display: block;
}

.apex-slider-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: visible;
}

.apex-slider-track-clip {
  overflow: hidden;
  width: 100%;
}

.apex-slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.apex-slide {
  flex: 0 0 100%;
  height: 650px;
  display: grid;
  gap: 12px;
}

.apex-slide.two {
  grid-template-columns: repeat(2, 1fr);
}

.apex-slide.one,
.apex-slide.wide {
  grid-template-columns: 1fr;
}

.apex-img-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  cursor: zoom-in;
  position: relative;
}

.apex-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.001);
}

/* GRID VIEW */
.apex-grid-view {
  display: none;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apex-grid-view.active {
  display: grid;
}

.apex-grid-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  cursor: zoom-in;
  position: relative;
}

.apex-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.001);
}

/* DOWNLOAD BUTTON */
.apex-download-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.apex-img-card:hover .apex-download-btn,
.apex-grid-item:hover .apex-download-btn {
  opacity: 1;
}

/* ARROWS */
.apex-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 !important;
  opacity: 0.9;
}

.apex-arrow:hover {
  opacity: 1;
}

.apex-arrow.prev {
  left: -60px;
}

.apex-arrow.next {
  right: -60px;
}

/* TEXT */
.apex-img-title {
  text-align: center;
  margin-top: 34px;
}

.apex-img-title h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(58px, 7vw, 88px) !important;
  line-height: 0.95 !important;
  font-weight: 400 !important;
  letter-spacing: -0.055em !important;
  margin: 0 !important;
  color: #000 !important;
}

.apex-img-title em {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

.apex-img-meta {
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: #111;
}

.apex-img-meta span {
  font-weight: 300;
  color: #777;
}

.apex-img-meta strong {
  font-weight: 600;
  color: #111;
  margin-left: 5px;
}

/* BOOK BUTTON */
.apex-book-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.apex-book-btn {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid #111;
  color: #111;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.apex-book-btn:hover {
  background: #111;
  color: #fff;
}

/* LIGHTBOX */
.apex-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.apex-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.apex-lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.apex-lightbox-close {
  position: fixed;
  top: 28px;
  right: 36px;
  z-index: 1000000;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0 !important;
}

.apex-lightbox-download {
  position: fixed;
  top: 28px;
  right: 86px;
  z-index: 1000000;
  color: #fff !important;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

/* TABLET */
@media (max-width: 1120px) {
  .apex-arrow.prev {
    left: 14px;
  }

  .apex-arrow.next {
    right: 14px;
  }
}

/* HIDE DESKTOP/TABLET VERSION ON MOBILE */
@media (max-width: 767px) {
  .apex-img-profile,
  #apexLightbox {
    display: none !important;
  }
}


.apex-mobile-profile {
  display: none;
}

@media (max-width: 767px) {
  .apex-mobile-profile {
    display: block;
    background: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
  }

  .apex-mobile-hero img {
    width: 100%;
    height: 72vh;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .apex-mobile-info {
    text-align: center;
    padding: 28px 20px 34px;
    background: #fff;
  }

  .apex-mobile-info h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -0.04em !important;
    margin: 0 0 22px !important;
    color: #000 !important;
  }

  .apex-mobile-info h1 em {
    font-style: italic;
    font-weight: 500;
  }

  .apex-mobile-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    max-width: 330px;
    margin: 0 auto 26px;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.2;
    color: #111;
  }

  .apex-mobile-meta span {
    font-weight: 400;
  }

  .apex-mobile-meta strong {
    font-weight: 700;
  }

  .apex-mobile-location {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 26px;
  }

  .apex-mobile-book {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 26px;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    background: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 600;
  }

  .apex-mobile-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .apex-mobile-tabs {
    display: flex;
    gap: 22px;
  }

  .apex-mobile-tab {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #777 !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  .apex-mobile-tab.active {
    color: #111 !important;
  }

  .apex-mobile-grid-btn {
    width: 26px;
    height: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .apex-mobile-grid-btn span {
    border: 1px solid #111;
  }

  .apex-mobile-section {
    display: none;
  }

  .apex-mobile-section.active {
    display: block;
  }

  .apex-mobile-stream {
    padding: 24px 20px 70px;
  }

  .apex-mobile-stream img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 24px;
  }

  .apex-mobile-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 14px 70px;
  }

  .apex-mobile-grid.active {
    display: grid;
  }

  .apex-mobile-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .apex-mobile-section.grid-mode .apex-mobile-stream {
    display: none;
  }

  .apex-mobile-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .apex-mobile-lightbox.active {
    display: flex;
  }

  .apex-mobile-lightbox img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
  }

  .apex-mobile-lightbox button {
    position: fixed;
    top: 18px;
    right: 22px;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 34px;
    box-shadow: none !important;
  }
}
body { margin: 0; background: #fff; }
main.apex-model-page {
 display: block !important; width: 100% !important; max-width: none !important;
 margin: 0 !important; padding: 112px 0 0 !important;
 background: #fff !important; border: 0 !important;
}
.apex-model-page *, .apex-lightbox *, .apex-mobile-lightbox * { box-sizing: border-box; }
.apex-model-page .apex-img-profile { width:100% !important; max-width:none !important; margin:0 !important; padding:60px 24px 80px !important; }
.apex-model-page .apex-img-card img, .apex-model-page .apex-grid-item img {
 width:100% !important; height:100% !important; max-width:none !important; max-height:none !important;
 object-fit:cover !important; object-position:center top !important; border-radius:0 !important;
}
.apex-model-page .apex-img-title h1 { max-width:none !important; padding:0 !important; text-transform:none !important; }
.apex-model-page .apex-mobile-info h1 { max-width:none !important; padding:0 !important; text-transform:none !important; }
.apex-mobile-lightbox { display:none; }
.apex-lightbox, .apex-mobile-lightbox { z-index:1000000; }
@media(max-width:767px) {
 main.apex-model-page { padding-top:100px !important; }
 .apex-model-page .apex-mobile-hero img {
  width:100% !important; height:72vh !important; max-width:none !important; max-height:none !important;
  object-fit:cover !important; object-position:center top !important; border-radius:0 !important;
 }
 .apex-model-page .apex-mobile-stream img { width:100% !important; height:auto !important; max-height:none !important; border-radius:0 !important; }
 .apex-model-page .apex-mobile-grid img { width:100% !important; height:auto !important; aspect-ratio:3/4 !important; object-fit:cover !important; border-radius:0 !important; }
 .apex-mobile-nav { top:100px; }
}
@media(prefers-reduced-motion:reduce) { .apex-slider-track { transition:none; } }
