/* Fraunces is limited to inner pages. The three-panel entrance keeps its existing fonts. */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fraunces-latin-pl.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
body.an26.an-inside,
body.an26.an-inside :where(.an-header, #main, .an-footer, .an-skip),
body.an26.an-inside :where(.an-header, #main, .an-footer) *:not([class*="icon"]):not(svg):not(svg *) {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
}
/* The form plugin sets its own font with !important. Preserve its icon font. */
body.an26.an-inside #forminator-module-198,
body.an26.an-inside #forminator-module-198 *:not([class*="icon"]):not(svg):not(svg *) {
  font-family: "Fraunces", Georgia, serif !important;
}
body.an26.an-inside :where(h1, h2, h3, h4, h5, h6) {
  letter-spacing: -.025em;
}
body.an26.an-inside :where(.an-eyebrow, .biz-kicker, .an-branch-label>span) {
  font-size: 11px;
}

/* Shared photo proportions across inner pages. Entrance panels stay unchanged. */
body.an26.an-inside #main {
  --an-photo-ratio: 3 / 2;
  --an-hero-height: 650px;
}

/* All full-width openings share one photographic frame. */
body.an26.an-inside #main :is(.an-wide-hero,.an-page-hero,.an-private-hero,.biz-hero,.an-wed-hero,.an-rental-hero) {
  display: flex;
  align-items: flex-end;
  height: var(--an-hero-height);
  min-height: var(--an-hero-height);
  padding: 40px 5vw;
}
body.an26.an-inside #main :is(.an-wide-photo,.an-page-hero .an-hero-media,.an-private-photo,.biz-hero-photo) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}
body.an26.an-inside #main :is(.an-wide-photo,.an-page-hero .an-hero-media,.an-private-photo,.biz-hero-photo)>img,
body.an26.an-inside #main :is(.an-wed-cover,.an-rental-cover) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

/* Two photographic cards per row; the last card keeps the same size. */
body.an26.an-inside #main :is(.an-birthday-choices,.biz-premium-grid,.an-rental-grid,.an-wed-packages,.an-wed-extras,.an-gallery,.an-party-gallery),
body.an26.an-inside #main .an-party-packages:has(.an-party-package-photo),
body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}
body.an26.an-inside #main :is(.an-birthday-choice-card,.biz-premium-card),
body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid>.an-card {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--an-photo-ratio);
  grid-column: auto;
}
body.an26.an-inside #main .biz-premium-photo>img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Real photographs crop within their frame; product cutouts remain fully visible. */
body.an26.an-inside #main :is(.an-wed-package-photo,.an-wed-extra-photo,.an-rental-photo) {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--an-photo-ratio);
  overflow: hidden;
  flex-shrink: 0;
}
body.an26.an-inside #main :is(.an-wed-package-photo,.an-wed-extra-photo,.an-rental-photo)>img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
}
body.an26.an-inside #main .an-party-package:has(>.an-party-package-photo) {
  padding: 0 0 25px;
  overflow: hidden;
}
body.an26.an-inside #main .an-party-package-photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--an-photo-ratio);
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  margin: 0 0 25px;
}
body.an26.an-inside #main .an-party-package:has(>.an-party-package-photo)>:not(.an-party-package-photo) {
  margin-left: 26px;
  margin-right: 26px;
}

/* Side-by-side offer descriptions use the same landscape photo proportion. */
body.an26.an-inside #main :is(.an-detail-photo,.an-editorial-photo,.an-wed-program-photo,.an-wed-toddler-photo,.an-wed-finish-photo,.an-rental-foam-photo) {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--an-photo-ratio);
  align-self: start;
  overflow: hidden;
}
body.an26.an-inside #main :is(.an-detail-photo,.an-editorial-photo,.an-wed-program-photo,.an-wed-toddler-photo,.an-wed-finish-photo,.an-rental-foam-photo)>img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
body.an26.an-inside #main .an-managed.an-offer-detail .an-grid>.an-card {
  min-height: 0;
  aspect-ratio: auto;
}
body.an26.an-inside #main .an-managed.an-offer-detail .an-grid>.an-card>img {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--an-photo-ratio);
  object-fit: cover;
  align-self: start;
}

/* Galleries are visual content, not links to raw image files. */
body.an26.an-inside #main :is(.an-gallery,.an-party-gallery)>* {
  grid-column: auto;
  min-width: 0;
  margin: 0;
}
body.an26.an-inside #main :is(.an-gallery,.an-party-gallery) img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: var(--an-photo-ratio);
  object-fit: cover;
  grid-column: auto;
}

@media(max-width:760px) {
  body.an26.an-inside #main {
    --an-hero-height: 340px;
  }
  body.an26.an-inside #main :is(.an-wide-hero,.an-page-hero,.an-private-hero,.biz-hero,.an-wed-hero,.an-rental-hero) {
    display: block;
    height: auto;
    min-height: 0;
    padding: var(--an-hero-height) 20px 24px;
  }
  body.an26.an-inside #main :is(.an-wide-photo,.an-page-hero .an-hero-media,.an-private-photo,.biz-hero-photo,.an-wed-cover,.an-rental-cover) {
    height: var(--an-hero-height);
    min-height: 0;
  }
  body.an26.an-inside #main :is(.an-wide-copy,.an-page-hero>div:first-child,.an-private-hero>div:first-child,.biz-hero-copy,.an-wed-hero-copy,.an-rental-intro) {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  body.an26.an-inside #main :is(.an-birthday-choices,.biz-premium-grid,.an-rental-grid,.an-wed-packages,.an-wed-extras,.an-gallery,.an-party-gallery),
  body.an26.an-inside #main .an-party-packages:has(.an-party-package-photo),
  body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
  }
  body.an26.an-inside #main :is(.biz-premium-copy,.an-birthday-choice-card>div),
  body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid>.an-card .an-card-copy {
    padding: 24px;
    min-height: 0;
  }
  body.an26.an-inside #main :is(.biz-premium-copy,.an-birthday-choice-card>div,.an-card-copy) h3 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  body.an26.an-inside #main :is(.biz-premium-copy,.an-birthday-choice-card>div,.an-card-copy) p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  body.an26.an-inside #main .biz-premium-copy:before {
    left: 24px;
    top: 8px;
  }
  body.an26.an-inside #main .biz-premium-kicker {
    margin-bottom: 12px;
  }
  body.an26.an-inside #main .biz-premium-action {
    min-height: 44px;
    padding-top: 12px;
  }
}

/* Landscape photos need their own frame so the copy never consumes the image. */
body.an26.an-inside #main :is(.an-birthday-choice-card,.biz-premium-card),
body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid>.an-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  aspect-ratio: auto;
  min-height: 0;
}
body.an26.an-inside #main .an-birthday-choice-card>img,
body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid>.an-card>img,
body.an26.an-inside #main .biz-premium-photo {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: var(--an-photo-ratio);
  flex-shrink: 0;
  z-index: 0;
  object-fit: cover;
  mask-image: linear-gradient(#000 85%,#000e 100%);
  -webkit-mask-image: linear-gradient(#000 85%,#000e 100%);
}
body.an26.an-inside #main :is(.an-birthday-choice-card>div,.biz-premium-copy),
body.an26.an-inside #main .an-managed:not(.an-offer-detail) .an-grid>.an-card>.an-card-copy {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  max-width: none;
}

/* Decorative bottom borders sit outside the 3:2 photo frame. */
body.an26.an-inside #main :is(.an-wed-package-photo,.an-wed-extra-photo,.an-rental-photo) {
  box-sizing: content-box;
}
