/* Archives/articles/application navigation only: Home/About/legal bodies are excluded by route. */
.agency-preview .agp-remaining-page .agp-block-content:empty{display:none}
.agency-preview .agp-remaining-page .agp-block-content>.agp-section-block:first-child{margin-top:0}
.agency-preview .agp-remaining-page .agp-editorial-feed{margin-top:52px}
.agency-preview .agp-remaining-page .agp-editorial-feed:first-of-type{margin-top:0}
.agency-preview .agp-remaining-page .agp-editorial-feed>h2{margin:0 0 26px;border-left:3px solid #e69716;padding-left:22px}
.agency-preview .agp-remaining-page .agp-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0 44px;align-items:stretch}
.agency-preview .agp-remaining-page .agp-news-grid[data-agp-listing-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.agency-preview .agp-remaining-page .agp-news-grid[data-agp-listing-count="1"]{grid-template-columns:1fr}
.agency-preview .agp-remaining-page .agp-news-card{min-width:0;background:#ad0d0d;color:#fff;border:0;padding:0;display:flex;flex-direction:column}
.agency-preview .agp-remaining-page .agp-news-card:nth-child(4n+2){background:#6e7e94;color:#000}
.agency-preview .agp-remaining-page .agp-news-card:nth-child(4n+3){background:#393939;color:#fff}
.agency-preview .agp-remaining-page .agp-news-card:nth-child(4n){background:#e69716;color:#171717}
.agency-preview .agp-remaining-page .agp-news-card>a{display:block;padding:26px;color:inherit;text-decoration:none}
.agency-preview .agp-remaining-page .agp-news-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0 0 22px}
.agency-preview .agp-remaining-page .agp-news-card time{display:block;margin:0 0 16px;color:inherit;font-size:13px;opacity:1}
.agency-preview .agp-remaining-page .agp-news-card h2{font-size:24px;line-height:1.22;margin:0;color:inherit;overflow-wrap:anywhere}
.agency-preview .agp-remaining-page .agp-news-card>p{font-size:15px;line-height:1.65;color:inherit;margin:0;padding:0 26px 28px}
.agency-preview .agp-remaining-page .agp-empty{padding:30px 0 30px 26px;border-left:3px solid #e69716;background:transparent;color:#393939;margin:28px 0}
/* Actual news leads/body remain white, legible and unchanged. */
.agency-preview .agp-remaining-article .agp-editorial-heading{padding-bottom:30px;border-bottom:3px solid #ad0d0d}
.agency-preview .agp-remaining-article .agp-content-category{display:inline-block;color:#393939;border-left:3px solid #e69716;padding-left:14px;margin-top:24px}
.agency-preview .agp-remaining-article .agp-block-content{max-width:1000px;background:#fff}
/* Actual event date, summary, program and archive notice; no invented event content. */
.agency-preview .agp-remaining-event .agp-editorial-heading{padding:44px;background:#393939;color:#fff;margin-bottom:32px}
.agency-preview .agp-remaining-event .agp-editorial-heading h1{color:#fff;font-size:clamp(32px,4.1vw,60px);overflow-wrap:anywhere}
.agency-preview .agp-remaining-event .agp-editorial-heading time{display:inline-block;background:#e69716;color:#171717;padding:8px 13px;margin-bottom:24px}
.agency-preview .agp-remaining-event .agp-editorial-summary{max-width:1000px;border-left:3px solid #e69716;padding-left:24px;color:#393939}
.agency-preview .agp-remaining-event .agp-event-closed{background:#ad0d0d;color:#fff;border:0;padding:30px 34px;font-size:24px;line-height:1.3;margin-top:44px}
.agency-preview .agp-remaining-event .agp-legacy-event-facts>div{background:#6e7e94;color:#000;padding:28px}
.agency-preview .agp-remaining-event .agp-legacy-event-facts>div:nth-child(even){background:#e69716;color:#171717}
.agency-preview .agp-remaining-event .agp-legacy-event-section>h2{border-left:3px solid #e69716;padding-left:22px}
.agency-preview .agp-remaining-event .agp-legacy-event-program li{padding:16px 0}
.agency-preview .agp-remaining-event .agp-legacy-event-program li::marker{color:#ad0d0d;font-weight:600}
.agency-preview .agp-remaining-event .agp-legacy-event-module{background:#fff;padding:24px 0;border-top:3px solid #6e7e94}
.agency-preview .agp-remaining-event .agp-legacy-event-item{background:#fff;padding:24px 0;border-top:3px solid #ad0d0d}
.agency-preview .agp-remaining-event .agp-legacy-event-item:nth-child(4n+2){border-top-color:#6e7e94}
.agency-preview .agp-remaining-event .agp-legacy-event-item:nth-child(4n+3){border-top-color:#393939}
.agency-preview .agp-remaining-event .agp-legacy-event-item:nth-child(4n){border-top-color:#e69716}
.agency-preview .agp-remaining-event .agp-legacy-event-access{color:#393939;border-left:3px solid #e69716;padding-left:12px}
.agency-preview .agp-remaining-event .aipr-session-block{margin:36px 0;padding:32px}
.agency-preview .agp-remaining-event .aipr-session-block--blue{background:#6e7e94;color:#000}
.agency-preview .agp-remaining-event .aipr-session-block--blue :is(h2,h3,p,li){color:inherit}
.agency-preview .agp-remaining-event .aipr-session-block--blue a:not(.aipr-session-btn){color:inherit}
.agency-preview .agp-remaining-event .aipr-session-meta__item{border-top:3px solid #e69716;padding-top:18px}
/* Instructions and declaration wrapper only. CF7 controls, validation and disabled wizard stay intact. */
.agency-preview .agp-remaining-application .agp-candidate-documents{background:#fff;padding:0;margin:0 0 44px}
.agency-preview .agp-remaining-application .agp-candidate-documents h2{margin-top:0;border-left:3px solid #ad0d0d;padding-left:22px}
.agency-preview .agp-remaining-application .agp-candidate-documents h3{margin-top:32px;color:#393939}
.agency-preview .agp-remaining-application .agp-candidate-documents ul{margin-bottom:32px}
.agency-preview .agp-remaining-application .agp-candidate-statement{background:#fff;border-left:3px solid #e69716;padding:8px 0 8px 26px;margin:40px 0}
/* Consent hub navigation only; the actual legal documents3/1071/1073 are excluded. */
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0;max-width:none}
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li{margin:0;min-width:0;background:#ad0d0d;color:#fff}
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li:nth-child(2){background:#6e7e94;color:#000}
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li:nth-child(3){background:#e69716;color:#171717}
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li>a{display:block;padding:30px;color:inherit;font-size:22px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere;min-height:240px}
.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li>a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1139px){.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list{grid-template-columns:1fr}.agency-preview .agp-remaining-consents .agp-block-content>.wp-block-list>li>a{min-height:0;padding:28px;font-size:22px}}
@media(max-width:1139px){.agency-preview .agp-remaining-page .agp-news-grid{grid-template-columns:1fr}.agency-preview .agp-remaining-page .agp-news-grid[data-agp-listing-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.agency-preview .agp-remaining-page .agp-news-grid[data-agp-listing-count="2"]{grid-template-columns:1fr}.agency-preview .agp-remaining-page .agp-news-card>a{padding:24px}.agency-preview .agp-remaining-page .agp-news-card>p{padding:0 24px 26px}.agency-preview .agp-remaining-page .agp-news-card h2{font-size:23px}.agency-preview .agp-remaining-event .agp-editorial-heading{padding:30px 24px}.agency-preview .agp-remaining-event .agp-editorial-heading h1{font-size:32px}.agency-preview .agp-remaining-event .agp-editorial-summary{font-size:19px;padding-left:20px}.agency-preview .agp-remaining-event .agp-event-closed{padding:26px 24px;font-size:22px}.agency-preview .agp-remaining-event .aipr-session-block{padding:26px 22px}.agency-preview .agp-remaining-page :is(h2,h3){overflow-wrap:anywhere}}

.agency-preview .agp-remaining-event .agp-event-archive-label{display:inline-block;color:#fff;border:1px solid #fff;padding:8px 13px;margin-top:24px;font-size:14px;line-height:1.4}
.agency-preview .agp-remaining-event .aipr-session-meta__label{opacity:1}
.agency-preview .agp-remaining-page .agp-editorial-heading h1{overflow-wrap:anywhere}
@media(max-width:800px){.agency-preview .agp-remaining-article .agp-editorial-heading h1{font-size:30px}}

/* Existing native event fields: open sections and distinct, restrained program cards. */
.agency-preview .agp-native-event-content .agp-event-section{margin:48px 0}
.agency-preview .agp-native-event-content .agp-event-kicker{font-size:13px;font-weight:600;letter-spacing:.04em;margin-bottom:12px}
.agency-preview .agp-native-event-content .agp-event-facts{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:24px 0}
.agency-preview .agp-native-event-content .agp-event-facts li{padding:10px 16px;background:#e69716;color:#292929;margin:0}
.agency-preview .agp-native-event-content .agp-event-details{font-size:16px;line-height:1.6}
.agency-preview .agp-native-event-content :is(.agp-event-topic-grid,.agp-event-speaker-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.agency-preview .agp-native-event-content :is(.agp-event-topic,.agp-event-speaker){padding:24px;border-top:3px solid #ad0d0d;background:#fff;min-width:0;overflow-wrap:anywhere}
.agency-preview .agp-native-event-content .agp-event-topic:nth-child(4n+2){border-color:#6e7e94}
.agency-preview .agp-native-event-content .agp-event-topic:nth-child(4n+3){border-color:#e69716}
.agency-preview .agp-native-event-content .agp-event-topic:nth-child(4n){border-color:#393939}
.agency-preview .agp-native-event-content :is(.agp-event-topic,.agp-event-speaker) h3{font-size:24px;line-height:1.25;min-height:2.5em;margin-top:0}
.agency-preview .agp-native-event-content .agp-event-audience{border-left:3px solid #e69716;padding:0 0 0 24px}
.agency-preview .agp-native-event-content .agp-event-speaker img{display:block;width:128px;height:128px;object-fit:cover;margin:0 0 20px}
.agency-preview .agp-native-event-content .agp-event-note{border-left:3px solid #6e7e94;padding-left:24px;margin:24px 0}
@media(max-width:800px){.agency-preview .agp-native-event-content :is(.agp-event-topic-grid,.agp-event-speaker-grid){grid-template-columns:minmax(0,1fr)}.agency-preview .agp-native-event-content :is(.agp-event-topic,.agp-event-speaker) h3{min-height:0}}
@media(max-width:480px){.agency-preview .agp-remaining-event .agp-editorial-heading{padding-inline:12px}.agency-preview .agp-remaining-event .agp-editorial-heading h1{font-size:clamp(24px,8vw,32px)}}
