/* Independent, scoped styles shared by the React landing page and native archive. */
.diri-events, .diri-events * { box-sizing: border-box; }
.diri-events { background: #f8f4ee; color: #243342; padding: 72px 0; font-family: "Outfit", sans-serif; }
.diri-event-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.diri-events-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid #dfd2c4; }
.diri-events-intro { max-width: 720px; }
.diri-events-intro::before { content: ""; display: block; width: 52px; height: 3px; background: #a85535; margin-bottom: 22px; }
.diri-events-lead { max-width: 600px; font-size: 1.05rem; line-height: 1.7; color: #58616a; }
.diri-events-eyebrow { color: #9e5334; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; }
.diri-events-heading h1, .diri-events-heading h2 { font-family: "Merriweather", Georgia, serif; color: #1b2b3c; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.25; margin: 0 0 12px; }
.diri-events-heading p:last-child { margin: 0; }
.diri-events-all, .diri-event-back { color: #9e5334; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; gap: 12px; }
.diri-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.diri-event-card { min-width: 0; border: 1px solid #e6ddd2; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px #27374708; display: flex; flex-direction: column; }
.diri-event-flyer { display: block; color: #395047; text-decoration: none; background: #ede8dc; }
.diri-event-flyer picture, .diri-event-flyer img { display: block; width: 100%; }
.diri-event-flyer img { height: auto; object-fit: contain; }
.diri-event-flyer-label { display: flex; justify-content: space-between; padding: 12px 22px; background: #f2eee6; font-size: .8rem; font-weight: 600; }
.diri-event-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.diri-event-topline { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.diri-event-category, .diri-event-past { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #9e5334; font-weight: 600; }
.diri-event-past { color: #626b72; }
.diri-event-body h3 { font-family: "Merriweather", Georgia, serif; font-size: clamp(1.25rem, 1.7vw, 1.65rem); line-height: 1.4; color: #1b2b3c; margin: 0 0 12px; }
.diri-event-speaker { margin: 0 0 22px; font-weight: 500; color: #36554c; }
.diri-event-schedule { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid #eee6dc; border-bottom: 1px solid #eee6dc; margin-bottom: 20px; font-size: .88rem; }
.diri-event-schedule p { margin: 0 0 5px; line-height: 1.55; }
.diri-event-date { display: flex; flex-direction: column; align-items: center; background: #f4ece5; border-radius: 8px; color: #9e5334; min-width: 58px; padding: 9px 10px; }
.diri-event-date span { text-transform: uppercase; font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.diri-event-date strong { font-size: 1.5rem; line-height: 1.3; }
.diri-event-description { font-size: 1rem; line-height: 1.7; margin: 0 0 18px; }
.diri-event-access { font-size: .88rem; line-height: 1.6; color: #466255; margin: auto 0 18px; }
.diri-event-button { min-height: 48px; padding: 12px 18px; background: #a85535; color: #fff !important; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; text-decoration: none; }
.diri-event-button:hover { background: #884329; }
.diri-events a:focus-visible { outline: 3px solid #1b2b3c; outline-offset: 4px; }
.diri-events-group-title { margin: 32px 0 24px; font-family: "Merriweather", Georgia, serif; color: #1b2b3c; font-size: 1.55rem; }
.diri-events-address { font-size: .85rem; line-height: 1.6; margin: 26px 0 0; color: #626b72; }
.diri-events-empty { border: 1px solid #e6ddd2; padding: 24px; background: #fff; border-radius: 12px; }
.diri-event-back { margin-top: 24px; }
@media (max-width: 760px) {
    .diri-event-grid { grid-template-columns: 1fr; gap: 24px; }
    .diri-events { padding: 44px 0; }
    .diri-event-wrap { width: calc(100% - 36px); }
    .diri-events-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .diri-event-body { padding: 22px; }
    .diri-event-body h3 { font-size: 1.35rem; }
}

/* Latest from DIRI: homepage recap card. */
.diri-latest { margin-top: 8px; }
.diri-latest-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid #e6ddd2; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px #27374708; }
.diri-latest-media { display: block; background: #ede8dc; }
.diri-latest-media img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.diri-latest-body { padding: 32px; display: flex; flex-direction: column; }
.diri-latest-body h4 { font-family: "Merriweather", Georgia, serif; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.35; margin: 0 0 10px; }
.diri-latest-body h4 a { color: #1b2b3c; text-decoration: none; }
.diri-latest-body h4 a:hover { color: #884329; }
.diri-latest-includes { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.diri-latest-includes li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #f4ece5; color: #6b3a24; font-size: .8rem; font-weight: 600; }
.diri-latest .diri-event-button { margin-top: auto; }

/* Event recap page. */
.diri-recap .diri-event-back { margin: 0 0 24px; }
.diri-recap-header { max-width: 820px; margin-bottom: 32px; }
.diri-recap-header h1 { font-family: "Merriweather", Georgia, serif; color: #1b2b3c; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.2; margin: 0 0 14px; }
.diri-recap-subtitle { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #36554c; font-weight: 500; margin: 0 0 14px; }
.diri-recap-meta { color: #626b72; font-size: .95rem; margin: 0; }
.diri-recap-cover { margin: 0 0 44px; border-radius: 16px; overflow: hidden; background: #ede8dc; }
.diri-recap-cover img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.diri-recap-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.diri-recap-article { font-size: 1.08rem; line-height: 1.85; color: #2f3b47; max-width: 720px; }
.diri-recap-article > p { margin: 0 0 22px; }
.diri-recap-quote { margin: 34px 0; padding: 6px 0 6px 28px; border-left: 3px solid #a85535; }
.diri-recap-quote p { font-family: "Merriweather", Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.55; color: #1b2b3c; margin: 0 0 12px; }
.diri-recap-quote cite { font-style: normal; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #9e5334; font-weight: 600; }
.diri-recap-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.diri-recap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.diri-recap-stats div { background: #fff; border: 1px solid #e6ddd2; border-radius: 12px; padding: 18px 16px; }
.diri-recap-stats dt { font-family: "Merriweather", Georgia, serif; font-size: 1.7rem; color: #a85535; line-height: 1.2; }
.diri-recap-stats dd { margin: 6px 0 0; font-size: .82rem; line-height: 1.45; color: #58616a; }
.diri-recap-report { background: #fff; border: 1px solid #e6ddd2; border-radius: 16px; padding: 24px; box-shadow: 0 8px 28px #27374708; }
.diri-recap-report-title { font-family: "Merriweather", Georgia, serif; font-size: 1.2rem; color: #1b2b3c; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.diri-recap-report-title i { color: #a85535; }
.diri-recap-report-meta { font-size: .85rem; color: #626b72; margin: 0 0 18px; }
.diri-recap-download { min-height: 48px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d9c6b5; border-radius: 8px; color: #884329; font-weight: 600; text-decoration: none; }
.diri-recap-download:hover { background: #f8f4ee; border-color: #a85535; }
.diri-recap-section { margin-top: 56px; }
.diri-recap-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #1b2b3c; }
.diri-recap-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.diri-recap-video-link { margin: 14px 0 0; }
.diri-recap-video-link a { color: #9e5334; font-weight: 600; text-decoration: none; }
.diri-recap-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.diri-recap-gallery a { display: block; border-radius: 12px; overflow: hidden; background: #ede8dc; }
.diri-recap-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .3s ease; }
.diri-recap-gallery a:hover img { transform: scale(1.03); }
.diri-recap a:focus-visible { outline: 3px solid #1b2b3c; outline-offset: 4px; }
@media (max-width: 960px) {
    .diri-recap-layout { grid-template-columns: 1fr; gap: 32px; }
    .diri-recap-aside { position: static; }
    .diri-recap-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .diri-latest-card { grid-template-columns: 1fr; }
    .diri-latest-media img { min-height: 0; aspect-ratio: 16 / 10; }
    .diri-latest-body { padding: 22px; }
    .diri-recap-cover { margin-bottom: 32px; border-radius: 12px; }
    .diri-recap-article { font-size: 1.02rem; }
    .diri-recap-quote { padding-left: 20px; }
    .diri-recap-gallery { gap: 10px; }
    .diri-recap-section { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { .diri-recap-gallery img { transition: none; } }

/* Date change notice for rescheduled events whose flyer shows the old date. */
.diri-event-notice { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #a85535; border-radius: 6px; background: #fbf1ea; color: #6b3a24; font-size: .9rem; font-weight: 600; line-height: 1.55; }
