.page-portfolio,
.page-portfolio .page-content,
.page-portfolio .port-content {
  background: #fff !important;
  font-family: "Plus Jakarta Sans", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.port-content {
  padding: 0 0 calc(118px + env(safe-area-inset-bottom)) !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.port-content::-webkit-scrollbar { display: none; width: 0; }

.port-top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 8px;
  background: #fff;
}

.port-round {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f5f8;
  color: #1a1a1a;
  font-size: 16px;
}

.port-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.port-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef3ff center/cover no-repeat;
  flex: 0 0 44px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d7e3ff;
}

.port-brand-text { min-width: 0; }

.port-brand-text strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.port-brand-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
  font-size: 11.5px;
  font-weight: 600;
  color: #9aa3b2;
}

.port-nav {
  display: none !important;
}

.port-nav::-webkit-scrollbar { display: none; }

.port-nav-item {
  flex: 0 0 auto;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 11px;
  color: #b0b6c2;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
}

.port-nav-item i { font-size: 18px; }

.port-nav-item.is-on {
  color: #2F6BFF;
  border-bottom-color: #2F6BFF;
}

.port-switch {
  display: flex;
  margin: 16px 16px 6px;
  padding: 4px;
  border-radius: 999px;
  background: #f3f5f8;
}

.port-switch-btn {
  flex: 1 1 50%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border-radius: 999px;
  background: transparent;
  color: #8b93a3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.port-switch-btn i { font-size: 13px; }

.port-switch-btn.is-on {
  background: #fff;
  color: #2F6BFF;
  box-shadow: inset 0 0 0 1.6px #2F6BFF;
}

.port-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 8px;
}

.port-head-copy { min-width: 0; flex: 1; }

.port-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.045em;
  color: #2F6BFF;
  line-height: 1.08;
}

.port-head p {
  margin: 0;
  max-width: 230px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #9aa3b2;
}

.port-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2F6BFF;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.port-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.port-chips::-webkit-scrollbar { display: none; }

.port-chip {
  flex: 0 0 auto;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #e6eaf1;
  color: #5b6472;
  font-size: 13px;
  font-weight: 800;
}

.port-chip i,
.port-chip-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #8b93a3;
}
.port-chip-ico svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.port-chip.is-on {
  background: #2F6BFF;
  color: #fff;
  box-shadow: none;
}

.port-chip.is-on i,
.port-chip.is-on .port-chip-ico { color: #fff; }

.port-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  grid-template-rows: 148px 148px;
  gap: 8px;
  padding: 0 16px 4px;
}

.port-grid.is-one {
  grid-template-columns: 1fr;
  grid-template-rows: 280px;
}

.port-grid.is-two {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px;
}

.port-shot {
  position: relative;
  border-radius: 18px;
  background: #dfe3ea center/cover no-repeat;
  overflow: hidden;
}

.port-shot.is-hero {
  grid-column: 1;
  grid-row: 1 / 3;
}

.port-grid.is-one .port-shot.is-hero,
.port-grid.is-two .port-shot.is-hero {
  grid-column: auto;
  grid-row: auto;
}

.port-shot-fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 32, .62));
  pointer-events: none;
}

.port-shot-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.port-shot-heart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.port-shot-heart.is-on i { color: #ff4d6d; }

.port-more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 16px 4px;
}

.port-more .port-shot {
  min-height: 148px;
  aspect-ratio: 1.15;
}

.port-empty {
  grid-column: 1 / -1;
  margin: 8px 0 12px;
  padding: 28px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #8a8a8a;
}

.port-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 16px 10px;
  padding: 16px 14px;
  border-radius: 22px;
  background: #eef3ff;
}

.port-cta-ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2F6BFF;
  font-size: 17px;
}

.port-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.port-cta-copy strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #2F6BFF;
  letter-spacing: -.02em;
}

.port-cta-copy em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #9aa3b2;
}

.port-cta-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2F6BFF;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.port-cta-go i { font-size: 11px; }

.port-err {
  min-height: 0;
  margin: 0;
  padding: 0 18px 8px;
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.port-foot {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 430px;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.port-call {
  flex: 0 0 86px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 22px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1.5px #eceff3;
}

.port-call i { font-size: 16px; }

.port-call.is-off { opacity: .4; pointer-events: none; }

.port-book {
  flex: 1 1 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: #2F6BFF;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.port-book i { font-size: 16px; }

.port-lightbox,
.port-lightbox * {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
.port-lightbox {
  background: #000 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
.port-lightbox .rev-lightbox-bg { background: #000; }
.port-lightbox .port-lb-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  height: calc(52px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 2px 0;
  box-sizing: border-box;
}
.port-lightbox .port-lb-close,
.port-lightbox .port-lb-more {
  width: 56px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.port-lightbox .port-lb-close svg,
.port-lightbox .port-lb-more svg {
  width: 24px;
  height: 24px;
  display: block;
}
.port-lightbox .port-lb-count {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
}
.port-lightbox .rev-lightbox-frame {
  width: 100%;
  height: 100%;
}
.port-lightbox .rev-lightbox-slide {
  padding: 0;
}
.port-lightbox .rev-lightbox-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}
.port-lightbox .rev-lightbox-prev,
.port-lightbox .rev-lightbox-next {
  top: calc(52px + env(safe-area-inset-top));
  width: 30%;
  height: auto;
  bottom: 0;
  border-radius: 0;
  background: none;
  color: transparent;
  font-size: 0;
}
.port-lightbox .rev-lightbox-prev { left: 0; }
.port-lightbox .rev-lightbox-next { right: 0; }
