/*
Theme Name: Pingalwara Renew
Theme URI: https://pingalwara.ca/
Author: Pingalwara Society of Ontario
Description: The independent Pingalwara Canada theme, preserving original content and photographs with a navy design, prominent donation options and accessible native components.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pingalwara-renew
Tags: custom-logo, custom-menu, featured-images, blog, two-columns
*/
:root {
    --navy: #293b51;
    --navy-deep: #1c2c40;
    --orange: #ef7c23;
    --orange-dark: #b84c00;
    --ink: #293b51;
    --muted: #5d6977;
    --line: #dce3eb;
    --cream: #f3f6f9;
    --peach: #f7f9fb;
    --white: #fff;
    --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: Georgia, 'Times New Roman', serif;
    --radius: 8px;
    --container: 1280px;
    --shadow: 0 6px 24px rgba(41,59,81,.07);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 185px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--orange-dark); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #2f78bd; outline-offset: 4px; }
h1, h2, h3, h4, h5 { color: var(--navy); font-family: var(--sans); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 20px; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 3.4vw, 48px); }
h2 { font-size: clamp(28px, 2.65vw, 38px); }
h3 { font-size: 23px; }
h4 { font-size: 19px; }
p { margin: 0 0 22px; }
ul, ol { padding-left: 25px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 80px), var(--container)); margin-inline: auto; }
.section { padding-block: 68px; }
.section-cream, .section-peach { background: var(--cream); }
.eyebrow { display: block; color: var(--orange-dark); font-size: 13px; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; margin-bottom: 13px; }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { margin: 0; }
/* Compatibility with already migrated section headings. */
.section-heading > .eyebrow { display: inline; color: var(--navy); font-size: clamp(28px,2.65vw,38px); line-height: 1.22; letter-spacing: -.025em; text-transform: none; margin: 0 8px 0 0; }
.section-heading > .eyebrow + h2 { display: inline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 14px 24px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; line-height: 1.35; font-weight: 750; text-decoration: none; text-align: center; transition: background .18s, box-shadow .18s, transform .18s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px #16283b1a; }
.button-primary { background: var(--orange); color: var(--navy-deep); }
.button-primary:hover { background: #ff963f; color: var(--navy-deep); }
.button-navy, .button-dark { background: var(--navy); color: #fff; }
.button-navy:hover, .button-dark:hover { background: var(--navy-deep); color: #fff; }
.button-light, .button-secondary { background: #fff; color: var(--navy); border-color: #b6c5d5; }
.button-light:hover, .button-secondary:hover { background: #e9eff5; color: var(--navy-deep); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-outline-light { border-color: #d3deec; color: #fff; background: transparent; }
.button-outline-light:hover { color: var(--navy); background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 15px; font-weight: 750; text-decoration: none; color: var(--navy); }
.text-link:hover { color: var(--orange-dark); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 14px; top: -100px; z-index: 10000; padding: 12px 20px; background: var(--navy-deep); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 10px; color: #fff; }

/* Two-row header and prominent donation controls. */
.site-header { position: sticky; top: 0; z-index: 120; background: #fff; box-shadow: 0 2px 12px #10283f14; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 104px; padding-block: 12px; }
.site-brand { width: 210px; flex: 0 0 210px; }
.site-brand img, .custom-logo { display: block; width: 210px; height: 76px; object-fit: contain; object-position: left center; }
.header-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.header-actions .button { min-height: 54px; padding: 15px 22px; white-space: nowrap; }
.navigation-bar { background: var(--navy); }
.navigation-inner { display: flex; align-items: center; }
.main-navigation { width: 100%; }
.main-navigation > .menu { display: flex; justify-content: space-between; align-items: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; list-style: none; }
.menu > li > :is(a,button.menu-parent-control) { display: flex; align-items: center; min-height: 58px; padding: 16px 20px; color: #fff; font-size: 16px; line-height: 1.5; font-weight: 650; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.menu > li > :is(a,button.menu-parent-control):hover, .menu > .current-menu-item > :is(a,button.menu-parent-control), .menu > .current-menu-ancestor > :is(a,button.menu-parent-control) { background: #fff1; color: #fff; border-bottom-color: var(--orange); }
.menu .sub-menu { display: none; position: absolute; z-index: 130; top: 100%; left: 0; min-width: 275px; max-width: 360px; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); box-shadow: 0 16px 28px #16283b26; border-radius: 0 0 6px 6px; }
.menu .sub-menu :is(a,button.menu-parent-control) { display: block; padding: 11px 14px; color: var(--navy); font-size: 15px; font-weight: 550; line-height: 1.5; text-decoration: none; border-radius: 3px; }
.menu .sub-menu :is(a,button.menu-parent-control):hover, .menu .sub-menu .current-menu-item > a { background: var(--cream); color: var(--orange-dark); }
.menu li.submenu-open > .sub-menu { display: block; }
.menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.menu .sub-menu .sub-menu { left: 100%; top: -3px; }
.menu-toggle { display: none; }
.mobile-actions { display: none; }
@media (min-width: 1001px) {
    .menu li:not(.submenu-dismissed):hover > .sub-menu, .menu li:not(.submenu-dismissed):focus-within > .sub-menu { display: block; }
}

/* Native hero uses the original photographic plates. */
.hero { position: relative; isolation: isolate; background: #eeb34f; }
.hero-slide { position: relative; min-height: 560px; }
.hero-background { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-inner { display: flex; align-items: center; min-height: 560px; padding-block: 50px 95px; }
.hero-copy { width: 49%; padding-left: 25px; margin-left: auto; }
.hero-copy .eyebrow { color: var(--navy-deep); font-size: 14px; margin-bottom: 23px; }
.hero-copy h1, .hero-copy h2 { max-width: 600px; font-family: var(--serif); font-size: clamp(38px,4.3vw,62px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; color: var(--navy-deep); margin-bottom: 25px; }
.hero-copy em { font-weight: 500; }
.hero-description { max-width: 480px; color: var(--navy-deep); font-size: 19px; line-height: 1.7; margin-bottom: 29px; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.hero-text-link { color: var(--navy-deep); font-size: 16px; font-weight: 750; text-decoration: none; }
.hero-text-link:hover { color: #000; text-decoration: underline; }
.hero-controls { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hero-pagination { display: flex; align-items: center; gap: 10px; }
.hero-pagination span { width: 38px; height: 1px; background: #293b5173; }
.hero-pagination button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #293b514d; background: transparent; color: var(--navy-deep); border-radius: 50%; font-size: 14px; font-weight: 650; }
.hero-pagination button.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
.hero-caption { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; color: var(--navy-deep); }

/* Homepage sections, donation band and finished story cards. */
.home-giving { padding-block: 33px; background: var(--navy); color: #fff; }
.home-giving > .container { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.home-giving h2 { max-width: 650px; margin: 0; color: #fff; font-size: 28px; line-height: 1.4; }
.giving-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.giving-actions .button { padding-inline: 20px; font-size: 15px; }
.home-welcome .section-title { margin-bottom: 32px; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 46px; align-items: center; }
.welcome-image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.welcome-image img { display: block; width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; }
.welcome-copy { font-size: 17px; line-height: 1.85; }
.welcome-copy > p:last-child { margin-bottom: 0; }
.welcome-quote { padding: 20px 22px; margin-bottom: 23px; background: var(--cream); border-left: 4px solid var(--orange); border-radius: 0 5px 5px 0; font-size: 17px; line-height: 1.75; }
.welcome-quote strong { font-weight: 600; }
.story-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; align-items: stretch; }
.story-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s, transform .18s; }
.story-card:hover { border-color: #a7b8cb; box-shadow: 0 10px 28px #293b511a; transform: translateY(-3px); }
.story-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/11; background: #eaf0f5; }
.story-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-card--archival .story-image { padding: 18px; }
.story-card--archival .story-image > img { object-fit: contain; }
.story-card--poster .story-image { padding: 12px; background: #f4f6f8; }
.story-card--poster .story-image > img { object-fit: contain; }
.story-arrow { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 2px 8px #293b511a; font-size: 19px; }
.story-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.story-copy time, .story-category { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.story-copy h3 { font-size: 21px; line-height: 1.4; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.story-copy h3 a { color: var(--navy); text-decoration: none; }
.story-copy h3 a:hover { color: var(--orange-dark); }
.story-copy .text-link { margin-top: auto; padding-top: 7px; }
.post-image-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: #e9eef4; color: var(--navy); font-size: 27px; font-weight: 750; }
.social-heading { max-width: 780px; margin-bottom: 30px; }
.social-heading h2 { margin-bottom: 16px; }
.social-heading p { color: var(--muted); }
.social-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.social-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 22px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--navy); font-size: 18px; font-weight: 700; text-decoration: none; }
.social-links a:hover { border-color: var(--navy); }

/* Updating social feed. */
.pso-social-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.pso-social-feature, .pso-social-facebook { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pso-social-feature h3, .pso-social-facebook h3 { font-size: 23px; margin-bottom: 20px; }
.pso-social-platform { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-dark); margin-bottom: 6px; }
.pso-social-player { overflow: hidden; aspect-ratio: 16/9; border-radius: 5px; background: var(--navy-deep); margin-bottom: 20px; }
.pso-social-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.pso-social-feature-title { font-size: 20px; line-height: 1.5; margin-bottom: 20px; }
.pso-social-feature-title a { text-decoration: none; }
.pso-social-video-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pso-social-video-list > li + li { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.pso-social-video { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 15px; color: var(--navy); text-decoration: none; font-size: 14px; line-height: 1.5; font-weight: 600; }
.pso-social-thumb { width: 104px; height: 65px; object-fit: cover; border-radius: 4px; background: var(--cream); }
.pso-social-video:hover .pso-social-video-title { text-decoration: underline; }
.pso-social-follow { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 24px; font-size: 15px; }
.pso-social-follow a { font-weight: 650; }
.pso-social-feed-notice { padding: 20px; background: var(--cream); border-radius: 6px; }

/* Standard page structure. */
.page-banner { padding: 25px 0 35px; background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 23px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-banner .eyebrow { font-size: 12px; margin-bottom: 12px; }
.page-banner h1 { margin: 0; max-width: 1100px; }
.page-intro { max-width: 760px; color: var(--muted); margin: 18px 0 0; font-size: 17px; }
.post-banner h1 { font-size: clamp(31px,3.2vw,44px); }
.page-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 50px; align-items: start; padding-block: 48px 68px; }
.page-layout-wide, .page-layout-directory { display: block; }
.page-layout-focused { display: block; max-width: 1050px; }
.page-layout-focused .entry-content { max-width: 900px; margin-inline: auto; }
.entry-content { min-width: 0; color: var(--ink); font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h2 { font-size: 29px; margin-top: 38px; margin-bottom: 20px; }
.entry-content h3 { margin-top: 28px; margin-bottom: 15px; font-size: 23px; }
.entry-content h4 { margin-top: 24px; }
.entry-content li { margin-bottom: 9px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 4px; }
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content iframe:not([name="give-embed-form"]) { width: 100%; aspect-ratio: 16/9; height: auto; }
.pso-content-media { margin-block: 24px; }
.pso-content-media img { width: auto; max-height: 850px; }
.pso-video { margin-block: 25px; }
.entry-content blockquote { padding: 20px 25px; margin: 28px 0; border-left: 4px solid var(--orange); background: var(--cream); border-radius: 0 6px 6px 0; font-size: 19px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 13px; text-align: left; }
.entry-content th { background: var(--cream); color: var(--navy); }
.entry-content pre { max-width: 100%; overflow: auto; padding: 20px; background: var(--cream); }
.entry-content a { overflow-wrap: anywhere; }
.content-note, .donation-fallback, .pso-context, .pso-resource-panel { padding: 28px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.content-note > :last-child, .donation-fallback > :last-child, .pso-context > :last-child, .pso-resource-panel > :last-child { margin-bottom: 0; }
.single-featured { margin-bottom: 30px; }
.single-featured > img { display: block; max-height: 560px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.post-taxonomy { margin-top: 35px; font-size: 14px; }
.post-navigation { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 15px; }
.nav-links { display: flex; justify-content: space-between; gap: 25px; }
.nav-previous, .nav-next { max-width: 48%; }
.nav-next { text-align: right; }
.post-navigation a { color: var(--navy); text-decoration: none; line-height: 1.6; }
.post-navigation span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.post-navigation a:hover { text-decoration: underline; }
.page-sidebar { position: sticky; top: 185px; display: grid; gap: 22px; }
.sidebar-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 15px; }
.sidebar-box .eyebrow { font-size: 12px; }
.sidebar-box h2 { font-size: 25px; margin: 0 0 23px; }
.sidebar-box nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--navy); font-size: 14px; line-height: 1.5; text-decoration: none; }
.sidebar-box nav a:hover { color: var(--orange-dark); }
.sidebar-giving { background: var(--navy); border-color: var(--navy); color: #fff; }
.sidebar-giving .eyebrow { color: #ffb67d; }
.sidebar-giving h2 { color: #fff; }
.sidebar-giving .button { width: 100%; padding: 13px 16px; gap: 10px; font-size: 15px; }
.sidebar-giving .button + .button { margin-top: 12px; }
.sidebar-giving .button-outline { border-color: #d3deec; color: #fff; background: transparent; }
.sidebar-giving .button-outline:hover { color: var(--navy); background: #fff; }
.sidebar-small { display: block; margin-top: 19px; color: #e4edf7; font-size: 13px; }
.sidebar-small:hover { color: #fff; }
.sidebar-volunteer > img { width: auto; height: 46px; margin-bottom: 18px; }
.sidebar-volunteer h2 { margin-bottom: 15px; }
.sidebar-volunteer p { font-size: 15px; }
.blog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 30px; }
.category-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.category-filter a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border: 1px solid #bdcbd9; border-radius: 5px; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.category-filter a:hover, .category-filter .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination { margin-top: 45px; }
.pagination .nav-links { justify-content: center; flex-wrap: wrap; gap: 9px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; text-decoration: none; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Profiles, services and preserved historical content. */
.pso-profile-intro { display: flow-root; margin-bottom: 28px; }
.pso-archival-figure { float: left; max-width: 290px; margin: 0 26px 22px 0; padding: 10px; background: #f3f6f9; border: 1px solid var(--line); border-radius: 6px; }
.pso-archival-figure img { display: block; width: auto; height: auto; max-width: 100%; }
.pso-archival-figure figcaption { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 9px; }
.profile-facts { clear: both; display: grid; gap: 0; margin: 25px 0 35px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile-fact { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(0,1.7fr); gap: 20px; padding: 16px 20px; }
.profile-fact + .profile-fact { border-top: 1px solid var(--line); }
.profile-fact dt { font-weight: 750; }
.profile-fact dd { margin: 0; }
.pso-profile-section { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.pso-profile-section h3 { margin-top: 0; }
.pso-story-panels, .pso-service-grid { display: grid; gap: 25px; }
.pso-story-panel, .pso-service-card { display: flow-root; min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pso-story-panel + .pso-story-panel { margin-top: 0; }
.pso-story-panel h2, .pso-story-panel h3, .pso-service-card h2, .pso-service-card h3 { margin-top: 0; }
.pso-story-panel > :last-child, .pso-service-card > :last-child, .pso-service-copy > :last-child { margin-bottom: 0; }
.pso-service-card .pso-archival-figure { max-width: 245px; }
.pso-causes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; padding: 0; list-style: none; }
.pso-causes li { padding: 16px 18px; background: var(--cream); border-left: 3px solid var(--orange); border-radius: 0 5px 5px 0; font-size: 16px; margin: 0; }
.pso-application-panel { padding: 30px; margin-top: 28px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.pso-application-panel h2, .pso-application-panel h3 { margin-top: 0; }
.pso-donation-steps { display: grid; gap: 25px; counter-reset: donation-step; }
.pso-donation-step { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pso-donation-step h2, .pso-donation-step h3 { margin-top: 0; }
.pso-donation-step img { display: block; max-height: 520px; width: auto; margin-inline: auto; object-fit: contain; }
.pso-video-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pso-video-card h2, .pso-video-card h3 { margin-top: 0; }
.pso-video-card iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; margin-block: 20px; border-radius: 5px; background: var(--navy-deep); }

/* Contact, photo collections and original-photo viewer. */
.contact-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.contact-region { padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); background: #fff; font-size: 16px; line-height: 1.75; box-shadow: var(--shadow); }
.contact-region:first-child { grid-row: span 2; }
.contact-region:last-child { grid-column: span 2; }
.contact-region h2 { font-size: 28px; margin: 0 0 22px; }
.contact-region p { margin-bottom: 18px; }
.contact-region li { margin-bottom: 5px; }
.contact-person + .contact-person { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.contact-person > p:first-child { font-weight: 600; }
.contact-region a[href^="tel:"] { font-weight: 700; white-space: nowrap; }
.contact-support { max-width: 900px; padding-top: 45px; }
.contact-support h2 { margin-top: 0; }
.gallery-collections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.gallery-collection { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery-cover { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery-collection h2 { padding: 24px; margin: 0; font-size: 25px; line-height: 1.4; }
.gallery-collection h2 a { color: var(--navy); text-decoration: none; }
.gallery-collection h2 a:hover { color: var(--orange-dark); }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.photo-grid > a { display: block; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 5px; }
.photo-grid img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.025); }
.photo-dialog { width: min(1200px,96vw); max-width: 96vw; max-height: 94vh; margin: auto; padding: 14px; overflow: visible; color: #fff; background: #17283b; border: 0; border-radius: 8px; box-shadow: 0 15px 80px #0007; }
.photo-dialog::backdrop { background: #0b1624ed; }
.photo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.photo-counter { font-size: 15px; font-weight: 600; }
.photo-close { min-height: 44px; padding: 9px 17px; border: 1px solid #ffffff55; border-radius: 4px; background: transparent; color: #fff; font-size: 15px; }
.photo-view { position: relative; display: block; padding-inline: 0; }
.photo-dialog-image { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(88vh - 75px); margin-inline: auto; object-fit: contain; }
.photo-previous, .photo-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 52px; padding: 0; background: #fffffff2; border: 0; border-radius: 4px; color: var(--navy); font-size: 25px; box-shadow: 0 2px 10px #0003; }
.photo-previous { left: 0; } .photo-next { right: 0; }

/* Native forms and compatible plugin form surfaces. */
.pso-form { max-width: 900px; margin-top: 28px; }
.pso-fields { padding: 0; border: 0; margin: 0 0 24px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.field { min-width: 0; }
.field-full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.5; }
.field input, .field select, .field textarea, .wpforms-container input, .wpforms-container select, .wpforms-container textarea { width: 100%; max-width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #acbbca; border-radius: 5px; background: #fff; color: var(--navy); font-size: 16px; line-height: 1.5; }
.field textarea { min-height: 155px; resize: vertical; }
.field select { height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-required-note { color: var(--muted); font-size: 14px; }
.form-notice { padding: 17px 20px; margin-bottom: 24px; border-left: 4px solid var(--navy); border-radius: 0 4px 4px 0; background: #eef3f8; font-size: 16px; }
.form-notice.is-error { border-color: #b24124; background: #fff0ec; }
.form-notice.is-success { border-color: #3c7135; background: #eff7ed; }
.search-form { display: flex; max-width: 650px; gap: 10px; margin: 25px 0; }
.search-form input { flex: 1; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #acbbca; border-radius: 5px; font-size: 16px; }
.error-page { min-height: 55vh; padding-block: 80px; }
.error-page > p:not(.eyebrow) { max-width: 700px; }
.comments-area { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; margin-right: 12px; }
.comment-metadata { font-size: 13px; }
.comment-form label { display: block; font-weight: 600; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; max-width: 700px; min-height: 48px; padding: 12px; border: 1px solid #acbbca; border-radius: 4px; font-size: 16px; }
.comment-form .submit { width: auto !important; background: var(--navy); color: #fff; padding-inline: 22px !important; cursor: pointer; }
.entry-content .tml { max-width: 620px; margin-inline: auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-content .tml label, .entry-content .give-label { color: var(--navy); font-size: 15px; font-weight: 650; }
.entry-content .tml input:not([type="checkbox"]):not([type="submit"]), .entry-content .give-input { width: 100%; max-width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #acbbca; border-radius: 4px; background: #fff; font-size: 16px; }
.entry-content .tml input[type="submit"], .entry-content .tml button, .entry-content .give-submit, .entry-content .wpbdp-button { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.entry-content .tml .tml-links { padding-left: 0; list-style: none; font-size: 15px; }
.entry-content .give-embed-form-wrapper { max-width: 900px; margin-inline: auto; }
.pso-transfer-panel { padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); background: var(--cream); }
.pso-transfer-email { display: inline-block; max-width: 100%; color: var(--navy); font-size: clamp(20px,3vw,28px); font-weight: 750; line-height: 1.5; margin-block: 5px 18px; overflow-wrap: anywhere; }
.pso-transfer-receipt { padding: 20px 23px; margin: 25px 0; background: #fff3e9; border-left: 4px solid var(--orange); border-radius: 0 6px 6px 0; font-size: 17px; line-height: 1.8; }
.pso-transfer-receipt > :last-child { margin-bottom: 0; }
.pso-transfer-brand { display: block; width: auto; max-width: min(260px,100%); height: auto; margin: 25px 0 0; }
.pso-transfer-brand img { display: block; width: auto; height: auto; max-width: 100%; }
.pso-copy-email { min-height: 48px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 5px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 700; cursor: pointer; }
.pso-copy-email:hover { background: var(--navy); color: #fff; }
.pso-transfer-actions, .pso-context-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.pso-receipt-note { padding: 18px 21px; background: #fff3e9; border-left: 4px solid var(--orange); border-radius: 0 5px 5px 0; }
.pso-statement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.pso-statement-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pso-statement-card a { font-weight: 650; }
.pso-directory-intro { max-width: 850px; margin-bottom: 28px; }
.pso-events-layout .tribe-events, .pso-events-layout .tribe-common { width: 100%; }
.tribe-events .tribe-events-calendar-list__event-row { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 24px; }
.tribe-events .tribe-events-calendar-list__event-title a { color: var(--navy); }
.tribe-events .tribe-events-header__events-bar { border-radius: 6px; border-color: var(--line); }
.wpbdp-main-box { padding: 25px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.wpbdp-listing { padding: 24px !important; margin-bottom: 22px !important; border: 1px solid var(--line) !important; border-radius: var(--radius); background: #fff; }

/* Footer. */
.site-footer { background: var(--navy); color: #e2eaf3; }
.footer-invite { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 48px; border-bottom: 1px solid #ffffff30; }
.footer-invite .eyebrow { color: #ffb67d; }
.footer-invite h2 { color: #fff; font-size: clamp(29px,3vw,40px); margin: 0; }
.footer-donation-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-donation-actions .button { font-size: 15px; padding-inline: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr .85fr; gap: 45px; padding-block: 45px; }
.footer-wordmark { color: #fff; font-size: 29px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 20px; }
.footer-wordmark span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.footer-brand > p:not(.footer-wordmark) { max-width: 290px; font-size: 15px; line-height: 1.75; }
.footer-grid h3 { color: #fff; font-size: 17px; letter-spacing: 0; margin-bottom: 20px; }
.footer-grid ul { padding: 0; margin: 0; list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; line-height: 1.65; }
.footer-grid a { color: #e2eaf3; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; gap: 25px; align-items: center; padding-block: 22px; border-top: 1px solid #ffffff30; font-size: 13px; line-height: 1.6; }
.footer-bottom > span:first-child { margin-right: auto; }
.footer-bottom a { color: #e2eaf3; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

@media (min-width:1700px) {
    .hero-slide, .hero-inner { min-height: 610px; }
}
@media (max-width:1250px) {
    .container { width: calc(100% - 56px); }
    .header-inner { gap: 22px; }
    .menu > li > :is(a,button.menu-parent-control) { padding-inline: 14px; }
    .welcome-grid { gap: 32px; }
    .story-grid { gap: 20px; }
    .story-copy { padding: 20px; }
    .story-copy h3 { font-size: 20px; }
    .home-giving > .container { gap: 25px; }
    .home-giving h2 { font-size: 25px; }
    .giving-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 420px; }
    .page-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 35px; }
    .footer-grid { gap: 30px; }
    .footer-invite { gap: 25px; }
    .footer-donation-actions { max-width: 430px; justify-content: flex-end; }
}
@media (max-width:1000px) {
    html { scroll-padding-top: 105px; }
    .site-header { box-shadow: 0 2px 10px #10283f1a; }
    .header-inner { min-height: 88px; padding-block: 9px; gap: 20px; }
    .site-brand { width: 180px; flex-basis: 180px; }
    .site-brand img, .custom-logo { width: 180px; height: 65px; }
    .header-actions { gap: 9px; }
    .header-actions .button { min-height: 48px; padding: 12px 16px; gap: 10px; font-size: 14px; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 88px; min-height: 46px; padding: 11px 14px; background: var(--navy); color: #fff; border: 0; border-radius: 5px; font-size: 15px; font-weight: 700; }
    .menu-toggle-lines { position: relative; display: block; width: 19px; height: 14px; border-block: 2px solid currentColor; }
    .menu-toggle-lines::after { content: ''; position: absolute; top: 4px; left: 0; width: 19px; height: 2px; background: currentColor; }
    .navigation-inner { width: 100%; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); max-height: calc(100dvh - 100px); overflow-y: auto; box-shadow: 0 12px 20px #10283f33; }
    .main-navigation.is-open { display: block; }
    .main-navigation > .menu { display: block; padding: 10px 26px 20px; }
    .menu > li > :is(a,button.menu-parent-control) { min-height: 51px; padding: 12px 55px 12px 12px; border-bottom: 1px solid #ffffff20; font-size: 16px; }
    .menu .sub-menu { position: static; min-width: 0; max-width: none; border: 0; border-left: 3px solid var(--orange); border-radius: 0; margin: 5px 0 12px 12px; padding: 8px; background: #fff; box-shadow: none; }
    .menu .sub-menu :is(a,button.menu-parent-control) { font-size: 15px; padding: 11px; }
    .hero-slide, .hero-inner { min-height: 510px; }
    .hero-copy { width: 52%; padding-left: 15px; }
    .hero-copy h1, .hero-copy h2 { font-size: 43px; }
    .hero-description { font-size: 17px; }
    .hero-copy .eyebrow { font-size: 12px; }
    .hero-actions { gap: 17px; }
    .hero-actions .button { font-size: 15px; padding: 13px 18px; }
    .hero-text-link { font-size: 15px; }
    .home-giving > .container { display: block; text-align: center; }
    .home-giving h2 { max-width: 780px; margin-inline: auto; font-size: 27px; }
    .giving-actions { justify-content: center; max-width: none; margin-top: 23px; }
    .welcome-grid { grid-template-columns: 1fr; gap: 30px; }
    .welcome-image { max-width: 760px; }
    .welcome-image img { aspect-ratio: 3/2; }
    .welcome-copy { max-width: 850px; }
    .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
    .story-copy h3 { font-size: 22px; }
    .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pso-social-layout { grid-template-columns: 1fr; }
    .pso-social-video-list { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
    .pso-social-video-list > li + li { border-top: 0; margin: 0; padding: 0; }
    .pso-social-video { grid-template-columns: 100px minmax(0,1fr); }
    .pso-social-thumb { width: 100px; height: 64px; }
    .contact-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .contact-region:last-child { grid-column: auto; }
    .page-layout { grid-template-columns: minmax(0,1fr) 235px; gap: 28px; }
    .page-sidebar { top: 110px; }
    .sidebar-box { padding: 20px; }
    .sidebar-box h2 { font-size: 23px; }
    .footer-invite { display: block; }
    .footer-donation-actions { margin-top: 25px; max-width: none; justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 45px; }
    .footer-brand > p:not(.footer-wordmark) { max-width: 360px; }
}
@media (max-width:782px) {
    .admin-bar .site-header { top: 46px; }
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 82px; padding-block: 8px; }
    .site-brand { width: 170px; flex-basis: 170px; }
    .site-brand img, .custom-logo { width: 170px; height: 61px; }
    .header-actions { display: none; }
    .menu-toggle { margin-left: auto; }
    .hero-slide { min-height: 0; padding-top: 240px; }
    .hero-background { height: 250px; object-fit: cover; object-position: left top; }
    .hero-slide::after { content: ''; position: absolute; top: 185px; left: 0; right: 0; height: 75px; z-index: -1; background: linear-gradient(transparent,#eeb34f); }
    .hero-inner { min-height: 0; padding-block: 25px 95px; }
    .hero-copy { width: 100%; margin: 0; padding: 0; }
    .hero-copy h1, .hero-copy h2 { font-size: 46px; max-width: 600px; }
    .hero-description { font-size: 18px; max-width: 600px; }
    .hero-copy .eyebrow { font-size: 13px; margin-bottom: 19px; }
    .hero-controls { bottom: 20px; }
    .hero-caption { font-size: 11px; letter-spacing: .08em; }
    .section { padding-block: 45px; }
    .home-giving { padding-block: 28px; }
    .home-giving h2 { font-size: 25px; }
    .giving-actions .button { min-height: 48px; }
    .welcome-copy { font-size: 17px; }
    .welcome-quote { font-size: 17px; padding: 18px 20px; }
    .section-heading { margin-bottom: 27px; }
    .story-grid, .blog-grid { gap: 20px; }
    .story-copy { padding: 20px; }
    .story-copy h3 { font-size: 21px; }
    .story-copy time { font-size: 13px; }
    .page-banner { padding: 22px 0 30px; }
    .breadcrumbs { font-size: 12px; margin-bottom: 20px; }
    .page-banner h1 { font-size: 35px; }
    .post-banner h1 { font-size: 33px; }
    .page-layout { display: block; padding-block: 35px 50px; }
    .entry-content { font-size: 17px; line-height: 1.8; }
    .entry-content h2 { font-size: 28px; }
    .entry-content h3 { font-size: 23px; }
    .page-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
    .sidebar-box:first-child { grid-column: 1/-1; }
    .sidebar-box nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .category-filter { gap: 8px; margin-bottom: 25px; }
    .category-filter a { min-height: 42px; font-size: 14px; padding-inline: 13px; }
    .pso-social-feature, .pso-social-facebook { padding: 22px; }
    .pso-social-video-list { grid-template-columns: 1fr; gap: 0; }
    .pso-social-video-list > li + li { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 13px; }
    .pso-social-video { grid-template-columns: 115px minmax(0,1fr); font-size: 15px; }
    .pso-social-thumb { width: 115px; height: 72px; }
    .social-links { gap: 12px; }
    .social-links a { padding: 15px; font-size: 16px; }
    .photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .gallery-collections { gap: 20px; }
    .gallery-collection h2 { font-size: 23px; padding: 21px; }
    .contact-directory { gap: 20px; }
    .contact-region { padding: 23px; font-size: 16px; }
    .contact-region h2 { font-size: 27px; }
    .pso-story-panel, .pso-service-card, .pso-video-card { padding: 23px; }
    .pso-causes { gap: 13px; }
    .pso-application-panel { padding: 23px; }
    .pso-statement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .footer-invite { padding-block: 38px; }
    .footer-invite h2 { font-size: 33px; }
    .footer-grid { padding-block: 36px; gap: 30px; }
    .footer-grid li { font-size: 14px; }
    .footer-bottom { flex-wrap: wrap; gap: 10px 20px; font-size: 13px; }
    .footer-bottom > span:first-child { flex-basis: 100%; margin: 0; }
    .footer-bottom .back-top { margin-left: auto; }
    .main-navigation { max-height: calc(100dvh - 145px - env(safe-area-inset-bottom)); }
    .mobile-actions { position: fixed; bottom: 0; left: 0; right: 0; z-index: 110; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); border-top: 1px solid #fff5; box-shadow: 0 -3px 15px #17283b26; }
    .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 62px; padding: 15px 10px; color: #fff; background: var(--navy); font-size: 16px; font-weight: 750; text-decoration: none; }
    .mobile-actions a:last-child { background: var(--orange); color: var(--navy-deep); }
}
@media (max-width:560px) {
    .story-grid, .blog-grid { grid-template-columns: 1fr; gap: 23px; }
    .story-image { aspect-ratio: 16/10; }
    .story-copy h3 { font-size: 23px; line-height: 1.4; }
    .story-card--archival .story-image { padding: 18px; aspect-ratio: 16/9; }
    .story-card--poster .story-image { aspect-ratio: 4/3; }
    .contact-directory { grid-template-columns: 1fr; }
    .contact-region:first-child { grid-row: auto; }
    .contact-region:last-child { grid-column: auto; }
    .gallery-collections { grid-template-columns: 1fr; }
    .social-links { grid-template-columns: 1fr; }
    .social-links a { padding: 17px 20px; font-size: 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .field-full { grid-column: auto; }
    .pso-causes { grid-template-columns: 1fr; }
    .profile-fact { grid-template-columns: 1fr; gap: 5px; }
    .pso-statement-grid { grid-template-columns: 1fr; }
    .pso-archival-figure { float: none; display: table; max-width: 100%; margin: 0 0 24px; }
    .pso-service-card .pso-archival-figure { max-width: 100%; }
}
@media (max-width:480px) {
    .container { width: calc(100% - 32px); }
    .header-inner { min-height: 78px; gap: 15px; }
    .site-brand { width: 158px; flex-basis: 158px; }
    .site-brand img, .custom-logo { width: 158px; height: 57px; }
    .menu-toggle { min-width: 84px; min-height: 46px; padding-inline: 12px; }
    .hero-slide { padding-top: 210px; }
    .hero-background { height: 220px; }
    .hero-slide::after { top: 155px; height: 75px; }
    .hero-copy h1, .hero-copy h2 { font-size: 42px; margin-bottom: 22px; }
    .hero-copy .eyebrow { font-size: 12px; letter-spacing: .1em; }
    .hero-description { font-size: 17px; }
    .hero-actions { gap: 20px; }
    .hero-actions .button { padding: 14px 20px; }
    .hero-caption { font-size: 11px; letter-spacing: .04em; }
    .hero-pagination { gap: 7px; }
    .hero-pagination span { width: 24px; }
    .hero-pagination button { width: 42px; height: 42px; }
    .home-giving h2 { font-size: 24px; }
    .giving-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .giving-actions .button { font-size: 14px; padding: 12px 10px; gap: 8px; min-height: 54px; }
    .page-banner h1 { font-size: 32px; }
    .post-banner h1 { font-size: 30px; }
    .page-intro { font-size: 16px; }
    .pso-social-feature, .pso-social-facebook { padding: 20px; }
    .pso-social-feature h3, .pso-social-facebook h3 { font-size: 22px; }
    .pso-social-video { grid-template-columns: 94px minmax(0,1fr); gap: 12px; font-size: 14px; }
    .pso-social-thumb { width: 94px; height: 61px; }
    .pso-social-feature-title { font-size: 19px; }
    .pso-social-feature .button { width: 100%; font-size: 15px; }
    .page-sidebar { grid-template-columns: 1fr; }
    .sidebar-box:first-child { grid-column: auto; }
    .sidebar-box nav { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .photo-dialog { padding: 10px; }
    .photo-previous, .photo-next { width: 44px; min-height: 48px; font-size: 23px; }
    .photo-close { min-height: 44px; padding-inline: 12px; }
    .footer-invite h2 { font-size: 31px; }
    .footer-donation-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .footer-donation-actions .button { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 29px 22px; }
    .footer-brand { grid-column: 1/-1; }
    .footer-grid > div:last-child { grid-column: 1/-1; }
    .footer-grid > div:last-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .footer-bottom { font-size: 13px; }
    .entry-content .tml, .pso-transfer-panel { padding: 22px; }
    .search-form .button { padding-inline: 16px; }
    .content-note, .donation-fallback, .pso-context, .pso-resource-panel { padding: 23px; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .site-header, .site-footer, .mobile-actions, .page-sidebar, .hero-controls, .hero-actions, .menu-toggle, .giving-actions { display: none !important; }
    .container { width: 100%; }
    .page-layout, .welcome-grid { display: block; }
    .page-banner { padding: 20px 0; background: #fff; }
    .hero-slide { min-height: 0; padding-top: 0; }
    .hero-inner { min-height: 0; padding: 25px; }
    .hero-background { opacity: .16; }
    .hero-copy { width: 100%; margin: 0; padding: 0; }
    .section { padding-block: 25px; }
    .story-grid { grid-template-columns: 1fr 1fr; }
    .home-giving { color: #000; background: #fff; }
    .home-giving h2 { color: #000; }
    a { color: #000; }
}
/* Shared content component details. */
.story-footer { margin-top: auto; padding-top: 9px; width: 100%; }
.story-footer .text-link { margin-top: 0; padding-top: 0; }
.story-excerpt { margin-bottom: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.story-card--archival .story-image { display: flex; align-items: center; justify-content: center; }
.story-card--archival .story-image > img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.pso-about-intro { display: flow-root; }
.pso-about-narrative { max-width: 850px; }
.pso-profile-summary { display: flow-root; margin-bottom: 28px; }
.profile-role { font-size: 19px; font-weight: 700; color: var(--navy); }
.profile-section-title { font-size: 24px; margin-top: 30px; }
.pso-memberships { padding: 0; list-style: none; }
.pso-memberships li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.pso-service-intro { margin-bottom: 28px; }
.pso-context-note { padding: 17px 21px; border-left: 4px solid var(--orange); background: #fff3e9; border-radius: 0 5px 5px 0; margin: 22px 0; }
.pso-recovery-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 24px; }
.contact-email, .contact-phone { font-weight: 650; }
.pso-task-panel { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pso-task-panel .give-embed-form-wrapper { margin-inline: auto; }
.pso-post--poster .single-featured, .pso-post--poster .pso-content-media { padding: 18px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.pso-post--poster .single-featured img, .pso-post--poster .pso-content-media img { display: block; width: auto; max-height: 850px; margin-inline: auto; object-fit: contain; }
.pso-post--video .pso-video { margin-top: 0; }
@media(max-width:480px) { .pso-task-panel { padding: 20px; } }
.pso-receipt-context, .pso-fundraise-panel, .pso-contact-panel { padding: 27px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.pso-fundraise-panel h2, .pso-contact-panel h2 { margin-top: 0; }
.pso-statement-period { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.pingalwara-donations-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 0; margin: 25px 0; list-style: none; }
.pingalwara-donation-file { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.pingalwara-donation-title { display: block; font-size: 19px; font-weight: 750; line-height: 1.5; margin-bottom: 18px; }
.pingalwara-donation-download { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; color: var(--navy); font-size: 15px; font-weight: 700; }
.pso-context-events .tribe-events-l-container { width: 100%; max-width: 100%; padding: 0 !important; min-height: 0 !important; }
.pso-context-events .tribe-common-c-btn, .pso-context-events .tribe-events-c-search__button, .pso-context-events .tribe-events-c-subscribe-dropdown__button { min-height: 46px; border-color: var(--navy); background: var(--navy); color: #fff; border-radius: 5px; }
.pso-context-events .tribe-events-calendar-list__event-date-tag-daynum { color: var(--navy); }
.pso-context-events .tribe-events-c-search__input { min-height: 46px; font-size: 16px; }
.pso-context-directory .wpbdp-categories { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
@media(max-width:1000px) { .pingalwara-donations-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .pingalwara-donations-list { grid-template-columns: 1fr; } .pso-receipt-context, .pso-fundraise-panel, .pso-contact-panel { padding: 22px; } }
.gallery-collection .gallery-count { margin: -8px 0 0; padding: 0 24px 22px; color: var(--muted); font-size: 14px; }
.video-archival-photo { margin-top: 30px; }
.video-archival-photo img { max-width: 250px; width: auto; height: auto; }
.pso-directory-listings { margin-top: 38px; }
.pso-directory-listings > h2 { margin-top: 0; }
.pso-location-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.pso-location-card { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.pso-location-card h3 { margin: 0 0 14px; font-size: 22px; }
.pso-location-card h3 a { text-decoration: none; }
.pso-location-card p { font-size: 16px; margin-bottom: 16px; }
.pso-location-card .location-region { color: var(--muted); font-size: 14px; }
@media(max-width:1000px){.pso-location-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }}
@media(max-width:600px){.pso-location-grid { grid-template-columns: 1fr; }}
.pso-location-card .pso-location-geography { color: var(--muted); font-size: 14px; }

/* Inline menu chevrons share their label's hit area and highlight. */
.menu-parent-control { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.menu > li > :is(a,button.menu-parent-control) { justify-content: center; gap: 10px; }
.nav-chevron { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.menu-parent-control[aria-expanded="true"] > .nav-chevron { transform: rotate(225deg); margin-top: 4px; }
.menu .sub-menu .menu-parent-control { width: 100%; justify-content: space-between; }
.pso-social-facebook-player { display: flex; justify-content: center; min-width: 0; margin-bottom: 22px; overflow: hidden; border-radius: 5px; background: #f3f6f9; }
.pso-facebook-frame { display: block; width: 100%; max-width: 500px; height: 650px; aspect-ratio: auto; border: 0; overflow: hidden; }
.pso-social-youtube-recent { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pso-social-youtube-recent h3 { font-size: 20px; }
@media(max-width:1000px) { .menu > li > :is(a,button.menu-parent-control) { width: 100%; justify-content: space-between; padding: 12px 16px 12px 12px; } .pso-social-youtube-recent .pso-social-video-list { grid-template-columns: 1fr; } }
@media(max-width:782px) { .pso-social-facebook { padding: 22px; } }
@media(max-width:480px) { .pso-social-facebook { padding: 16px; } }
