/* Variables */
:root {
  --container-max: 1080px;
  --container-padding: 24px;

  --color-text: #ffffff;
  --color-bg: #f3f3f1;
  --color-heading: #7c8287;
  --color-heading-hover: #b5b8c2;
  --color-border: rgba(85, 86, 88, 0.15);
  --color-white: #ffffff;
  --color-placeholder: #e8e8e6;

  --font-family: var(--et_global_body_font);
  --font-family-serif: var(--et_global_heading_font);
  --font-size-base: 16px;
  --line-height-base: 1.8;
  --font-weight-body: 400;
  --font-weight-heading: 300;
  --letter-spacing-heading: 0.05em;

  --space-xs: 16px;
  --space-sm: 24px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --transition-link: opacity 0.3s ease;
  --transition-header: background-color 0.4s ease, box-shadow 0.4s ease;
  --transition-hover: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);

  --z-header: 100;
  --z-menu-overlay: 200;
}

/* Typography */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-body);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-heading);
  line-height: 1.3;
}

a {
  transition: var(--transition-link);
}
ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Global */
.container {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: calc(var(--z-menu-overlay) + 1);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-heading);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-sm);
  opacity: 1;
}

:focus-visible {
  outline: 2px solid var(--color-heading);
  outline-offset: 3px;
}

/* Portfolio Listing */
.portfolio-listing {
  /*padding-block: var(--space-lg) var(--space-xl);*/
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 14px;
  row-gap: 14px;
}

.portfolio-card {
  height: 100%;
}

.portfolio-card__link {
  display: block;
  position: relative;
}

/*.portfolio-card__link:hover,
.portfolio-card__link:focus-visible {
  opacity: 1;
}*/
.portfolio-card__link:hover .portfolio-card__meta,
.portfolio-card__link:focus-visible .portfolio-card__meta{
  opacity: 0;
}

.portfolio-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-placeholder);
  isolation: isolate;
}

.portfolio-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-card__meta {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(160, 191, 208, 0.9);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.45s ease-in-out;
    pointer-events: none;
}

.portfolio-card__names,
.portfolio-hero__eyebrow {
	font-size: 9px;
	margin-bottom: 4px;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 0.2rem;
	color: var(--wp--preset--color--white);
	display:none;
}
.portfolio-card__names::before,
.portfolio-hero__eyebrow::before {
	content: '';
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translate(-100%, -3px);
	border-bottom: 1px solid #8b8b9b;
	height: 1px;
	width: 65px;
}
.portfolio-hero__title {
  font-family: var(--font-family-serif);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: capitalize;
  color: var(--color-text);
  margin-bottom: 10px;
  font-style: italic;
}
.portfolio-card__location {
    font-family: var(--font-family-serif);
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center;
    line-height: 1.3;
	padding: 0 0 20px;
}
.portfolio-card__separator, .portfolio-hero__separator {
    display: block;
    width: 42px;
    height: 1px;
    background: #fff;
    margin: 25px 0 120px;
}

.portfolio-card__cta {
    display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
    color:  var(--color-text);
    letter-spacing: 2px;
}

/* Portfolio Single */


.portfolio-hero {
  position: relative;
}

.portfolio-hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  height: 100vh;
}

.portfolio-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: clamp(420px, 38vw, 500px);
  padding: 45px;
  max-width: 422px;
  min-height: 390px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 48px rgba(42, 42, 44, 0.1);
  transform: translateY(-50%);
}

.portfolio-hero__eyebrow {
  color: var(--color-text);
}

.portfolio-hero__title {
  font-weight: var(--font-weight-heading);
  line-height: 1.3;
}

.portfolio-hero__description {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 10px;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 0;
}

.portfolio-hero__published {
  display: flex;
  align-items: center;
  gap: 4px;
}

.portfolio-hero__published-label {
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-text);
}
.portfolio-card__meta .portfolio-header__planner {
	font-style: italic;
	font-size: 24px;
	color: var(--color-text);
	text-decoration:none;
	font-family:var(--font-family-serif);
	letter-spacing:1px;
	line-height: 1.4;
	text-align: center;
}
.portfolio-hero__published-link {
  font-size: 10px;
  color: var(--color-text);
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

.portfolio-hero__published-link:hover {
  opacity: 1;
}

/* Gallery (embedded in portfolio single) */
.portfolio-gallery {
	position: relative;
	padding-top:70px;
	padding-bottom: 100px;
	padding-left:20px;
	padding-right:20px;
}
.portfolio-gallery::before {
    content: '';
    position: absolute;
    top: 0;
	left:0px;
    width: 100%;
    height: 300px;
    background: var(--gcid-i0wm4yzwcf);
    z-index: -1;
	pointer-events:none;
}

.portfolio-single .gallery {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gallery-row {
  display: grid;
  gap: 7px;
  width: 100%;
}

.gallery-row--single {
  grid-template-columns: 1fr;
}

.gallery-row--double {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-item--portrait {
  padding-bottom: 150%;
}

.gallery-item--landscape {
  padding-bottom: 66.666%;
}

/* Gallery wrapper & side navigation */
.portfolio-gallery-wrapper__main {
  position: relative;
}

.portfolio-gallery-wrapper__main > .gallery {
  width: 100%;
}

.portfolio-gallery__back-to-top,
.portfolio-gallery__scroll-to-bottom {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--gcid-primary-color);
  transition: all 0.3s ease-in-out;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.portfolio-gallery__back-to-top:hover,
.portfolio-gallery__scroll-to-bottom:hover {
  color:var(--gcid-xn53mxi95x);
}

.portfolio-gallery__scroll-to-bottom {
  right: -60px;
  top: 0;
}

.portfolio-gallery__scroll-to-bottom::before {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.portfolio-gallery__back-to-top {
  left: -60px;
  bottom: 0;
  transform: rotate(180deg);
}

.portfolio-gallery__back-to-top::before {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--gcid-primary-color);
}

.portfolio-gallery__pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.portfolio-gallery__prev,
.portfolio-gallery__next {
  font-size: 10px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--gcid-primary-color);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio-gallery__prev:hover,
.portfolio-gallery__next:hover {
  color:var(--gcid-xn53mxi95x);
}

.portfolio-gallery__next {
  margin-left: auto;
}

/* GLightbox — light theme */
.glightbox-container {
  background-color: transparent;
}
.goverlay {
  background: rgba(255, 255, 255, 0.95) !important;
}

.glightbox-clean .gslide-media {
  background: transparent !important;
  box-shadow: none !important;
}

.gclose,
.gprev,
.gnext {
  color: #555658;
  fill: #555658;
}

.glightbox-clean .gclose,
.glightbox-clean .gprev,
.glightbox-clean .gnext {
  background-color: transparent !important;
}

.glightbox-clean .gclose path,
.glightbox-clean .gprev path,
.glightbox-clean .gnext path {
  fill: #555658 !important;
}

.gclose:hover,
.gprev:hover,
.gnext:hover {
  opacity: 0.7;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
  background-color: transparent !important;
}

.gslide-description,
.gdesc-inner {
  color: #555658;
}

/* GLightbox — editorial slide transition */
.gslideInRight,
.gslideInLeft,
.gslideOutLeft,
.gslideOutRight {
  will-change: transform;
  backface-visibility: hidden;
}

.gslideInRight {
  animation: gslideInRight 1s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

.gslideInLeft {
  animation: gslideInLeft 1s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

.gslideOutLeft {
  animation: gslideOutLeft 1s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

.gslideOutRight {
  animation: gslideOutRight 1s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

@keyframes gslideInRight {
  from {
    transform: translate3d(100%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gslideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gslideOutLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes gslideOutRight {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(100%, 0, 0);
  }
}

.topMenus .container{
	padding-top:0px !important;
}
.topMenus ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.topMenus ul li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
}
.topMenus ul li a {
    color:var(--color-heading-hover);
  transition: all 0.3s ease-in-out;
  font-size: 14px;
  letter-spacing: 2px;
  font-family:var(--et_global_body_font);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
}
.topMenus ul li a.active,
.topMenus ul li a:hover{
	color: var(--color-heading);
}
.topMenus ul li::after {
  content: '';
	width: 1px;
    height: 14px;
  background: var(--color-heading);
  margin: 0 10px;
    margin-top: -2px;
}

.topMenus ul li:last-child::after {
  display: none;
}


.portfolio-header {
	background: var(--gcid-i0wm4yzwcf);
	text-align: center;
	padding: 120px 20px 0px 20px;
}
.portfolio-header__inner {
	max-width: 720px;
	margin: 0 auto;
}
.portfolio-header__venue {
	font-size: 40px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--gcid-primary-color);
	margin: 0px 0px 10px;
	padding-bottom:0px;
	font-family: var(--et_global_heading_font);
}
.portfolio-header__location {
	font-size: 30px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--gcid-primary-color);
	margin: 0 0 14px;
	font-family: var(--et_global_heading_font);
}
.portfolio-header__planner,
.portfolio-header__planner a {
	font-style: italic;
	font-size: 30px;
	color: var(--gcid-primary-color);
	font-family: var(--et_global_heading_font);
}
.portfolio-header__separator {
	width: 42px;
	height: 1px;
	background: var(--gcid-primary-color);
	margin: 40px auto 0px;
}
.portfolio-header__description {
	color: #555;
	font-size: 14px;
	line-height: 1.7;
	margin-top: 16px;
}
.portfolio-header__published {
	margin-top: 20px;
	font-size: 12px;
	letter-spacing: 1px;
}
.portfolio-header__published-label {
	color: #999;
	margin-right: 6px;
}
.cat-engagement .portfolio-card__location {
    display: none;
}
.portfolio-header__couple-name {
    font-style: italic;
    font-size: 40px;
    color: var(--gcid-primary-color);
    font-family: var(--et_global_heading_font);
    padding: 0px 0px 40px 0px;
    margin: 0px 0px 30px 0px;
    position: relative;
}
.portfolio-header__couple-name:after {
    width: 42px;
    height: 1px;
    background: var(--gcid-primary-color);
    margin: 24px auto 0px;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}