.af-event-card h2{font-size:30px;margin:22px 0 15px}
/* Additive adapter: retain the live theme's ivory/olive, serif and gallery grid. */
.af-photo-library [hidden]{display:none!important}
.af-photo-library .af-photo-filter-panel{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin:1rem 0 1.5rem}
.af-photo-library [data-photo-controls]{display:block;border-block:1px solid var(--line);margin-bottom:1rem}
.af-photo-library summary{cursor:pointer;min-height:48px;padding:12px 0;font-weight:600}
.af-photo-library .af-photo-filter-panel fieldset{width:100%}
.af-photo-library .af-photo-filter-panel label{padding-right:.5rem}
.af-photo-library :focus-visible{outline:2px solid currentColor;outline-offset:3px}
.af-photo-library [data-photo-more]{display:block;margin:2rem auto}
.af-photo-library fieldset{border:1px solid var(--line);padding:.7rem 1rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;max-width:100%;min-width:0}
.af-photo-library legend{font-weight:600}
.af-photo-library label{display:inline-flex;align-items:center;gap:.5rem;min-height:44px}
.af-photo-library input{width:20px;height:20px;accent-color:var(--olive)}
.af-photo-library button,.af-photo-library select{min-height:44px;border:1px solid var(--line);background:var(--ivory);padding:.5rem .9rem;max-width:100%}
.af-photo-library [data-photo-status]{margin:1rem 0}
.af-photo-open{display:block;position:relative;overflow:hidden}
.af-photo-open img{width:100%;height:420px;object-fit:cover;transition:transform .5s}
.af-photo-open:hover img{transform:scale(1.025)}
.af-photo figcaption{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.08em;padding:12px 0;gap:12px}
.af-photo-library dialog{border:0;background:var(--ivory);color:var(--olive);padding:20px;max-width:94vw;width:min(1000px,94vw);max-height:94vh;overflow:auto}
.af-photo-library dialog::backdrop{background:#15170fe6}
.af-photo-library dialog img{max-height:65vh;width:100%;object-fit:contain}
.af-photo-library dialog figcaption{padding:10px 0}
.af-photo-library [data-photo-close]{display:block;margin:0 0 12px auto}
.af-photo-modal{overflow:hidden}
@media(max-width:1100px){.af-photo-open img{height:340px}}
@media(max-width:760px){.af-photo-open img{height:300px}.af-photo-library select{font-size:16px}.af-photo-library [data-photo-controls]{align-items:stretch;flex-direction:column}}
@media(max-width:600px){.af-photo-library .gallery{grid-template-columns:1fr}.af-photo figcaption{font-size:12px;letter-spacing:.03em;line-height:1.5}.af-photo-open img{height:320px}}
@media(prefers-reduced-motion:reduce){.af-photo-open img{transition:none}}
/* Portfolio only: preserve complete floral silhouettes and readable stories. */
.single-af_event main.af-event{width:min(1100px,88%);max-width:1100px;margin:0 auto;padding:48px 0 64px}
.single-af_event .af-event h1{font-size:clamp(38px,4.4vw,64px);line-height:1.08;margin:18px 0 20px}
.single-af_event .af-event .taxonomy-af_event_category{font-size:12px;line-height:1.7;margin-bottom:26px}
.single-af_event .af-event>.wp-block-post-featured-image{margin:0 auto 36px;max-width:100%;text-align:center}
.single-af_event .af-event>.wp-block-post-featured-image img{display:block;width:auto;height:auto;max-width:100%;max-height:520px;object-fit:contain;margin:auto}
.single-af_event .af-event .wp-block-post-content>p,.single-af_event .af-event .wp-block-post-content>h2{max-width:760px;margin-left:auto;margin-right:auto}
.single-af_event .af-event .wp-block-post-content>p{font-size:16px;line-height:1.85;margin-top:0;margin-bottom:22px}
.single-af_event .af-event .wp-block-post-content>p a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.single-af_event .af-event .wp-block-post-content>p a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.single-af_event .af-event .wp-block-post-content>h2{font-size:34px;line-height:1.2;margin-top:42px;margin-bottom:22px}
.single-af_event .af-event .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;margin:28px 0 42px}
.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image{width:100%!important;margin:0!important;min-width:0;align-self:start;flex:none}
.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image img{width:100%!important;height:310px!important;max-height:310px;object-fit:contain!important;background:#eeeae1}
.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image:only-child{grid-column:1/-1;max-width:620px;justify-self:center}
.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image:only-child img{height:auto!important;max-height:420px}
.af-event-stories.section-pad{max-width:1100px;width:88%;margin:0 auto;padding:45px 0 64px}
.af-event-stories .af-event-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 26px}
.af-event-stories .af-event-card{min-width:0}
.af-event-stories .af-event-card img{width:100%;height:300px;object-fit:contain;background:#eeeae1}
.af-event-stories .af-event-card h2{font-size:29px;line-height:1.15;margin:18px 0 12px}
.af-event-stories .af-event-card p{line-height:1.7}
@media(max-width:900px){.single-af_event .af-event .wp-block-gallery.has-nested-images,.af-event-stories .af-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-af_event .af-event>.wp-block-post-featured-image img{max-height:460px}}
@media(max-width:600px){.single-af_event main.af-event{padding-top:28px}.single-af_event .af-event>.wp-block-post-featured-image img{max-height:320px}.single-af_event .af-event .wp-block-post-content>p{font-size:15px;line-height:1.8}.single-af_event .af-event .wp-block-gallery.has-nested-images{grid-template-columns:1fr;gap:18px}.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image img{height:auto!important;max-height:340px}.single-af_event .af-event .wp-block-gallery.has-nested-images>figure.wp-block-image:only-child img{max-height:340px}.af-event-stories .af-event-grid{grid-template-columns:1fr;gap:36px}.af-event-stories .af-event-card img{height:280px}.af-event-stories.section-pad{padding-top:28px}}

