/* The real-weddings library and the three journal features share a quiet,
   image-first system. Rules are scoped to this feature and its entry cards. */
.wedding-story-cards {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(16px,2.1vw,34px); margin: 0; padding: 0; list-style: none;
}
.wedding-story-card { border-bottom: 1px solid #dedbd5; min-width: 0; }
.wedding-story-card a { display: block; color: inherit; text-decoration: none; padding-bottom: 19px; }
.wedding-story-card img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; height: auto; background: #f5f4f0; }
.wedding-story-card__place { display: block; margin: 14px 0 3px; font: 500 11px/1.35 "Helvetica Neue",Arial,sans-serif; letter-spacing: .10em; text-transform: uppercase; }
body .wedding-story-card h3 { margin: 0 0 5px; font: 300 clamp(23px,2.15vw,36px)/1.18 ivyora-display,Georgia,serif; letter-spacing: 0; font-synthesis: none; }
.wedding-story-card__location { font: 400 13px/1.45 "Helvetica Neue",Arial,sans-serif; color: #554f49; }
.wedding-story-card a:hover h3 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
body .stories-section[data-story-directory] { display: block; }
.stories-section[data-story-directory] .story-directory-heading { display:flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 25px; }
.stories-section[data-story-directory] .story-directory-heading h2 { margin: 9px 0 0; }
.stories-section[data-story-directory] .story-directory-heading p { max-width: 46ch; margin: 0; }
.story-directory-all { margin: 22px 0 0; }

body[data-real-wedding] { --journal-paper: #f7f6f4; --journal-rule: #dedbd5; --journal-ink: #191816; background: #fff; color: var(--journal-ink); }
body[data-real-wedding] .journal-page { --journal-edge: clamp(19px,5vw,90px); --journal-serif: ivyora-display,Georgia,serif; --journal-sans: "Helvetica Neue",Arial,sans-serif; }
.journal-page a:focus-visible, .stories-section[data-story-directory] a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.journal-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px;
  padding: 17px var(--journal-edge); margin: 0; list-style: none;
  font: 400 12px/1.4 var(--journal-sans); color: #564e47;
}
.journal-breadcrumb li + li::before { content: "/"; margin-right: 11px; color: #71685e; }
.journal-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.journal-masthead {
  display: grid; grid-template-columns: 1fr 1.02fr; align-items: stretch;
  background: var(--journal-paper); border-block: 1px solid var(--journal-rule); min-width: 0;
}
.journal-masthead__copy { padding: clamp(34px,5.5vw,105px) var(--journal-edge); align-self: center; }
.journal-kicker { margin: 0 0 16px; font: 500 11px/1.45 var(--journal-sans); letter-spacing: .13em; text-transform: uppercase; }
body[data-real-wedding] .journal-masthead h1 {
  font: 300 clamp(49px,6.7vw,112px)/1.04 var(--journal-serif); letter-spacing: 0; font-synthesis: none; margin: 0 0 14px;
}
.journal-masthead__venue { font: italic clamp(24px,2.7vw,45px)/1.1 EditorialLight,Georgia,serif; margin: 0 0 8px; }
.journal-masthead__metadata { font: 500 12px/1.5 var(--journal-sans); text-transform: uppercase; letter-spacing: .09em; margin: 0 0 20px; }
.journal-masthead__copy > p:not([class]) { font: 400 16px/1.68 var(--journal-sans); max-width: 39ch; margin: 0 0 21px; }
.journal-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 19px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; color: inherit; font: 500 11px/1.4 var(--journal-sans); text-transform: uppercase; letter-spacing: .085em; }
.journal-action:hover { color: #fff; border-color: #191816; background: #191816; }
.journal-masthead__image { margin: 0; position: relative; min-height: clamp(400px,42vw,700px); }
.journal-masthead__image img { position: absolute; inset: 0; width:100%;height:100%;object-fit:cover;display:block;background:#f0efec; }
.journal-article { width: min(calc(100% - 2 * var(--journal-edge)),1400px); margin-inline: auto; }
.journal-story-intro { padding: clamp(35px,5vw,75px) 0 clamp(15px,2.8vw,42px); }
body[data-real-wedding] .journal-story-intro h2, body[data-real-wedding] .journal-chapter h2, body[data-real-wedding] .journal-credit h2, body[data-real-wedding] .journal-more h2 {
  font: 400 clamp(30px,4vw,64px)/1.07 var(--journal-serif); margin: 0;
}
.journal-chapter { padding: clamp(22px,4vw,59px) 0; border-top: 1px solid var(--journal-rule); }
.journal-chapter__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(15px,4vw,60px); align-items: end; margin: 0 0 clamp(19px,2.5vw,35px); }
body[data-real-wedding] .journal-chapter h2 { font-size: clamp(28px,3.1vw,48px); }
.journal-chapter__head > p { font: 400 16px/1.7 var(--journal-sans); margin: 0; max-width: 60ch; }
.journal-frames { display:grid; grid-template-columns: 1.12fr 1fr 1fr; gap: clamp(5px,1vw,14px); }
.journal-chapter:nth-of-type(even) .journal-frames { grid-template-columns: 1fr 1.17fr 1fr; }
.journal-frames figure { min-width:0; margin:0; }
.journal-frames img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; background:#f0efec; }
.journal-credit { border-top: 1px solid var(--journal-rule); padding: clamp(25px,4vw,55px) 0; }
.journal-credit dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 22px; margin:22px 0 0; padding:0; }
.journal-credit dl div { padding: 12px 0; border-top:1px solid var(--journal-rule); }
.journal-credit dt { font:500 11px/1.4 var(--journal-sans); text-transform:uppercase; letter-spacing:.08em; color:#574f47; margin-bottom:5px; }
.journal-credit dd { margin:0; font: 400 17px/1.4 var(--journal-serif); }
.journal-credit a, .journal-more a { color: inherit; }
.journal-review { padding: clamp(24px,4vw,55px); margin: 25px 0; border-block: 1px solid var(--journal-rule); background: #fff; }
.journal-review blockquote { margin:0 0 13px; font:400 clamp(23px,2.5vw,38px)/1.25 var(--journal-serif); }
.journal-review figcaption { font:500 11px/1.4 var(--journal-sans); text-transform:uppercase; letter-spacing:.08em; }
.journal-quote-link { margin:16px 0 0; }
.journal-inquiry { text-align:center; background:var(--journal-paper); padding:clamp(35px,5vw,72px) var(--journal-edge); border-block:1px solid var(--journal-rule); }
body[data-real-wedding] .journal-inquiry h2 { font:400 clamp(36px,5vw,77px)/1 var(--journal-serif); margin:0 0 13px; }
.journal-inquiry p:not([class]) { font:400 16px/1.6 var(--journal-sans); margin: 0 auto 18px; max-width: 55ch; }
.journal-inquiry__links { display:flex; justify-content:center; gap:10px 18px; flex-wrap:wrap; align-items:center; }
.journal-inline-link { font:400 13px/1.4 var(--journal-sans); color:inherit; text-decoration:underline; text-underline-offset:4px; }
.journal-more { padding:clamp(35px,5vw,80px) 0; }
body[data-real-wedding] .journal-more h2 {
  font: 400 clamp(36px,4.05vw,64px)/1.15 var(--journal-serif);
  letter-spacing: 0; font-synthesis: none; margin-bottom: 22px;
}
body[data-real-wedding] .journal-more h2 em { font: italic 300 1.04em/.95 EditorialLight, Georgia, serif; letter-spacing: 0; }
.journal-more .wedding-story-cards[data-related] { grid-template-columns:repeat(2,minmax(0,1fr)); max-width: 960px; }
.journal-index-heading { margin: 0 auto; padding:clamp(30px,5vw,80px) var(--journal-edge); }
body[data-real-wedding] .journal-index-heading h1 { font:400 clamp(43px,7vw,95px)/1 var(--journal-serif); margin:0 0 14px; }
.journal-index-heading > p:last-child { font:400 16px/1.65 var(--journal-sans); max-width:55ch; margin:0; }
.journal-index-cards { padding:0 0 clamp(35px,6vw,90px); }
@media(max-width:750px){
  .wedding-story-cards { grid-template-columns:1fr; gap:25px; }
  .wedding-story-card img { aspect-ratio: 5/3; }
  .journal-masthead, .journal-chapter__head { grid-template-columns:1fr; }
  .journal-masthead__image { min-height:0; aspect-ratio: 4/4.25; }
  .journal-masthead__copy { padding:28px var(--journal-edge) 30px; }
  .journal-frames, .journal-chapter:nth-of-type(even) .journal-frames { grid-template-columns:1fr 1fr; }
  .journal-frames figure:first-child { grid-column:1/-1; }
  .journal-frames figure:first-child img { aspect-ratio: 5/4; }
  .journal-credit dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .journal-more .wedding-story-cards[data-related] { gap:12px; }
  .journal-more .wedding-story-card__place { font-size:10px; }
  .journal-more .wedding-story-card h3 { font-size:clamp(19px, 4.7vw, 23px); }
}
