/* Sonia Hopkins Events Portfolio: front-end styles. Colors follow the child theme. */

/* Details strip */
.she-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin: 0; padding: 36px 0; border-top: 1px solid #E4DCCF; border-bottom: 1px solid #E4DCCF; text-align: center; }
.she-details dt, .she-credits dt { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #6E665C; margin: 0 0 6px; }
.she-details dd, .she-credits dd { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; color: #2B2724; }

/* Gallery: soft masonry columns */
.she-gallery { columns: var(--she-columns, 3) 280px; column-gap: 20px; }
.she-gallery__item { display: block; margin: 0 0 20px; break-inside: avoid; cursor: zoom-in; }
.she-gallery__img { display: block; width: 100%; height: auto; transition: opacity .3s ease; }
.she-gallery__item:hover .she-gallery__img, .she-gallery__item:focus .she-gallery__img { opacity: .9; }

/* Credits */
.she-credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0; text-align: center; }
.she-credits a { color: inherit; }

/* Testimonial */
.she-testimonial { margin: 0 auto; max-width: 860px; text-align: center; }
.she-testimonial blockquote { margin: 0 0 18px; border: 0; padding: 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 36px); line-height: 1.35; color: #2B2724; }
.she-testimonial blockquote p { margin: 0; }

/* Portfolio grid */
.she-grid { display: grid; grid-template-columns: repeat(var(--she-columns, 3), minmax(0, 1fr)); gap: 56px 40px; }
.she-grid--stagger { display: flex; flex-wrap: wrap; gap: 40px; }
.she-grid__col { flex: 1 1 280px; display: flex; flex-direction: column; gap: 64px; }
.she-card { text-align: center; }
.she-card__link { display: block; }
.she-card__img, .she-card__empty { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4.2; object-fit: cover; }
.she-card__empty { background: #EFE9E0; }
.she-card .she-label { margin: 0; }
@media (max-width: 900px) { .she-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .she-grid { grid-template-columns: 1fr; } }

/* Frame fallbacks (the child theme defines the same classes) */
.she-frame-arch img { border-radius: 999px 999px 0 0; }
.she-frame-matted img { padding: 12px; border: 1px solid #CDBE9F; background: #FBF7F2; box-sizing: border-box; }
.she-frame-clean img { border-radius: 2px; }

/* Lightbox */
.she-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(26, 24, 22, .94); padding: 56px 72px; box-sizing: border-box; }
.she-lb[hidden] { display: none; }
.she-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.she-lb__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(251, 247, 242, .6); border-radius: 50%; background: transparent; color: #FBF7F2; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; min-height: 0; letter-spacing: 0; }
.she-lb__btn:hover, .she-lb__btn:focus-visible { background: #FBF7F2; color: #211E1B; outline: none; }
.she-lb__close { top: 16px; right: 16px; }
.she-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.she-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.she-lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #E6DFD3; font-size: 13px; letter-spacing: .2em; }
@media (max-width: 700px) {
	.she-lb { padding: 56px 8px; }
	.she-lb__prev, .she-lb__next { top: auto; bottom: 10px; transform: none; }
}

/* ==========================================================================
   Built-in wedding page layout
   ========================================================================== */
.she-wedding-page .featured-image.page-header-image-single,
.she-wedding-page .page-header-image-single { display: none; }

.she-wedding-hero { max-width: 1320px; margin: 0 auto; padding: 40px 24px 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.she-crumbs { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6E665C; margin-bottom: 18px; }
.she-crumbs a { color: inherit; text-decoration: none; }
.she-crumbs a:hover { text-decoration: underline; }
.she-wedding-title { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: clamp(48px, 7vw, 84px); line-height: 1; }
.she-wedding-hero__photos { width: 100%; margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; }
.she-wedding-hero__photos img { display: block; width: 100%; height: auto; object-fit: cover; }
.she-wedding-hero__main { flex: 1.3 1 300px; max-width: 470px; }
.she-wedding-hero__main img { aspect-ratio: 3 / 4.3; }
.she-wedding-hero__side { flex: 1 1 240px; max-width: 330px; margin-top: 110px; }
.she-wedding-hero__side img { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .she-wedding-hero__side { display: none; } }

.she-wedding-page .entry-content > .she-details { margin: 0 0 80px; }
.she-wedding-story { max-width: 760px; margin: 0 auto 90px; text-align: center; }
.she-wedding-story p { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.7; color: #454039; }
.she-wedding-story > p:first-of-type + p { font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; color: #2B2724; }
.she-section-head { text-align: center; margin: 0 0 36px; }
.she-section-head h2 { margin: 6px 0 0; }
.she-wedding-gallery { margin: 0 0 90px; }
.she-wedding-credits { background: #EFE9E0; padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px); margin: 0 0 90px; }
.she-wedding-quote { text-align: center; margin: 0 auto 90px; max-width: 900px; }
.she-adjacent { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 36px 0; border-top: 1px solid #E4DCCF; margin: 0 0 90px; }
.she-adjacent__link { display: flex; align-items: center; gap: 18px; text-decoration: none; color: #2B2724; }
.she-adjacent__link.is-next { flex-direction: row-reverse; text-align: right; margin-left: auto; }
.she-adjacent__link img { width: 96px; height: 120px; object-fit: cover; border-radius: 999px 999px 0 0; }
.she-adjacent__link > span { display: flex; flex-direction: column; gap: 4px; }
.she-adjacent__name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; line-height: 1.15; }
.she-adjacent__link:hover .she-adjacent__name { color: #7A6440; }
.she-wedding-cta { background: #211E1B; color: #FBF7F2; text-align: center; padding: clamp(64px, 8vw, 110px) 24px; }
.she-wedding-cta h2 { color: #FBF7F2; margin: 6px 0 24px; }
.she-wedding-cta .she-script { color: #EFE9E0; }

/* Related links: wedding <-> Journal story <-> venue page */
.she-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 56px; padding: 40px 0; margin: 0 0 10px; border-top: 1px solid var(--she-logo, #CDBE9F); }
.she-more--post { margin: 56px 0 0; }
.she-more-link,
.entry-content .she-more-link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--she-ink, #2B2724); }
.she-more-link span { text-decoration: none; }
.she-more-link img { width: 72px; height: 90px; object-fit: cover; border-radius: 999px 999px 0 0; flex: none; }
.she-more-link .she-label { display: block; margin: 0 0 4px; line-height: 1.4; }
.she-more-link__title { display: block; }
.she-more-link__title { font-family: var(--she-serif, Georgia, serif); font-size: 22px; line-height: 1.25; }
.she-more-link:hover .she-more-link__title { color: var(--she-accent-text, var(--she-rose, #7A6440)); }
@media (max-width: 640px) { .she-more { flex-direction: column; align-items: flex-start; gap: 22px; } .she-more-link__title { font-size: 19px; } }

/* Journal posts carried over from the old site: gallery and vendor credits under the text (1.3.4). */
.she-journal-gallery { margin-top: 64px; }
.she-journal-credits { margin-bottom: 64px; }
.she-journal-credits .she-credits dd { font-size: 21px; }
