/* AGI Site Exterior Design Definition v1.0. Article interiors excluded. */
:root{--agi-green:#1F3B3A;--agi-cream:#E9E2D6;--agi-white:#FFFFFF;--agi-muted:#5E6E6E;--agi-gold:#C9A96A;--agi-border:#E6E2DA;--agi-serif:'Playfair Display',Georgia,serif;--agi-sans:Inter,Arial,sans-serif;--agi-width:1240px;--agi-gutter:40px;--agi-space:96px}
#body_wrap{background:var(--agi-white)}
/* Do not change SWELL's --color_htag or article body font/color variables. */
#header,#fix_header,#sp_menu,#search_modal,.agi-footerHead,#footer{font-family:var(--agi-sans);color:var(--agi-green);font-weight:400;letter-spacing:0}
#header{background:var(--agi-white);box-shadow:none;border-bottom:1px solid var(--agi-border)}
#header .l-header__bar{display:none}
#header .l-header__inner,#fix_header .l-fixHeader__inner{max-width:var(--agi-width);padding-inline:var(--agi-gutter);gap:24px;min-height:80px;align-items:center}
#header .l-header__logo{padding:0;margin:0;flex-shrink:0;max-width:300px}
.c-headLogo.-txt{font-family:var(--agi-serif);font-size:21px!important;line-height:1.3;letter-spacing:0;font-weight:400}
.c-headLogo__link{color:var(--agi-green)!important}
#header .l-header__gnav{margin-left:auto}
#header .c-gnav{gap:24px}
.c-gnav>.menu-item>a,.c-gnav>.menu-item>.agi-nav-pending{padding:18px 0;display:flex;align-items:center;font-size:13px;white-space:nowrap;line-height:1.4;color:var(--agi-green)}
.agi-nav-pending{cursor:default;color:var(--agi-muted)!important}
.c-gnav a::after{background:var(--agi-gold)!important;height:1px!important}
#header .l-header__customBtn{display:block!important;flex:0 0 44px;order:4;width:44px;margin:0}
#header .c-iconBtn,#sp_menu .c-iconBtn{min-width:44px;min-height:44px;color:var(--agi-green)}
#fix_header{box-shadow:none;border-bottom:1px solid var(--agi-border)}
#fix_header .l-fixHeader__inner{min-height:64px}
#fix_header .l-fixHeader__logo{padding:8px 0}
#sp_menu .p-spMenu__inner::before{background:var(--agi-white)}
#sp_menu .c-widget__title{background:none;color:var(--agi-muted);font-size:12px;letter-spacing:.15em;padding:16px 0}
#sp_menu .c-listMenu{list-style:none;padding:0}
#sp_menu .c-listMenu a,#sp_menu .agi-nav-pending{display:block;padding:16px 0;min-height:48px;border-bottom:1px solid var(--agi-border);font-size:16px}
#sp_menu .c-listMenu a::before{display:none}
#search_modal .c-searchForm__submit{background:var(--agi-green);color:white;min-width:48px;min-height:48px}
#search_modal .c-searchForm__s{min-height:48px;border-color:var(--agi-border);font-family:var(--agi-sans)}
#search_modal .c-modal__close{min-height:44px}
:is(#header,#sp_menu,#search_modal,.agi-home,.agi-footerHead,#footer) :is(a,button,input):focus-visible{outline:2px solid var(--agi-green);outline-offset:5px}
/* Homepage only. */
.agi-home-shell #content{max-width:none;width:100%;padding:0;margin:0;display:block}
.agi-home-shell #sidebar{display:none}
.agi-home .wp-block-group__inner-container{display:contents}
.agi-home-shell #main_visual,.agi-home-shell #post_slider,.agi-home-shell #breadcrumb{display:none}
.agi-home{font:400 17px/1.75 var(--agi-sans);color:var(--agi-green);margin:0 auto;padding:0;letter-spacing:0}
.agi-home *{box-sizing:border-box}
.agi-home h1,.agi-home h2,.agi-home h3{font-family:var(--agi-serif);font-weight:400;letter-spacing:-.025em;color:var(--agi-green);background:none;border:0;padding:0}
.agi-home h1::before,.agi-home h2::before,.agi-home h3::before,.agi-home h2::after,.agi-home h3::after{display:none}
.agi-home p{margin:0}
.agi-home .agi-hero{display:grid;grid-template-columns:44% 56%;max-width:1440px;margin:0 auto;background:var(--agi-cream);gap:0}
.agi-home .agi-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:48px 40px;min-width:0;gap:28px}
.agi-home .agi-hero h1{font-size:52px;line-height:1.12;margin:0;text-wrap:balance}
.agi-home .agi-hero-copy p{font-size:18px;line-height:1.65;max-width:33em}
.agi-home .agi-hero-copy .agi-brandline{font-size:12px;line-height:1.5;letter-spacing:.03em;color:var(--agi-muted)}
.agi-home .agi-hero-photo{margin:0;min-width:0;position:relative;align-self:stretch}
.agi-home .agi-hero-photo img{width:100%;height:100%;min-height:560px;object-fit:cover;object-position:50% 50%;display:block}
.agi-home .agi-hero-photo figcaption{position:absolute;right:12px;bottom:12px;background:var(--agi-white);padding:3px 8px;font-size:10px;line-height:1.5;color:var(--agi-green);margin:0}
.agi-home a{color:var(--agi-green);text-decoration:underline;text-decoration-color:var(--agi-gold);text-underline-offset:4px}
.agi-home .wp-block-button__link{background:var(--agi-green);color:white;min-height:48px;padding:13px 26px;border-radius:999px;box-shadow:none;font-family:var(--agi-sans);font-size:14px;line-height:1.5;text-decoration:none;display:inline-flex;align-items:center;gap:20px}
.agi-home .wp-block-buttons{margin:0}
.agi-home .wp-block-button__link:hover{background:#1F3B3A;opacity:.9}
.agi-home .agi-section{max-width:var(--agi-width);padding:0 var(--agi-gutter);margin:var(--agi-space) auto}
.agi-home .agi-gateways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.agi-home .agi-gateway{height:auto;min-width:0;border:1px solid var(--agi-border);border-radius:12px;overflow:hidden;background:white}
.agi-home .agi-gateway figure{margin:0;position:relative;height:auto!important}
.agi-home .agi-gateway img{display:block;width:100%;aspect-ratio:1.8;object-fit:cover}
.agi-home .agi-gateway figcaption{font-size:10px;line-height:1.4;text-align:right;padding:4px 10px;color:var(--agi-muted);margin:0}
.agi-home .agi-card-copy{padding:18px 24px 26px}
.agi-home .agi-eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;line-height:1.5;color:var(--agi-muted);margin-bottom:8px}
.agi-home .agi-gateway h2{font-size:27px;line-height:1.2;margin:0 0 12px}
.agi-home .agi-gateway h2 a{text-decoration:none}
.agi-home .agi-gateway h2 a:hover{text-decoration:underline;text-decoration-thickness:1px}
.agi-home .agi-card-copy p:last-child{font-size:14px;line-height:1.65;color:var(--agi-muted)}
.agi-home .agi-latest h2{font-size:36px;line-height:1.25;margin:0 0 32px}
.agi-home .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;list-style:none;margin:0;padding:0}
.agi-home .wp-block-post{min-width:0}
.agi-home .wp-block-post-featured-image{margin:0 0 16px}
.agi-home .wp-block-post-featured-image img{aspect-ratio:1.6;object-fit:cover;border-radius:12px}
.agi-home .wp-block-post-title{font-size:25px;line-height:1.3;margin:10px 0}
.agi-home .wp-block-post-title a{text-decoration:none}
.agi-home .wp-block-post-terms{font-size:11px;color:var(--agi-muted)}
.agi-home .wp-block-post-excerpt{font-size:14px;color:var(--agi-muted)}
.agi-home .wp-block-query-no-results{padding:24px 0;border-top:1px solid var(--agi-border);color:var(--agi-muted);font-size:15px}
.agi-home .agi-about{background:var(--agi-cream);padding:64px 56px;max-width:1160px}
.agi-home .agi-about h2{font-size:36px;line-height:1.25;margin:0 0 20px}
.agi-home .agi-about p{max-width:650px;font-size:17px;line-height:1.75}
.agi-home .agi-about h3{font:400 14px/1.5 var(--agi-sans);margin:24px 0 0}
/* Fixed-page exterior and native editorial archives. No .single .post_content rule. */
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) #content{max-width:880px;padding:64px var(--agi-gutter) 96px;display:block}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .l-mainContent{width:100%;margin:0;padding:0}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) #sidebar{display:none}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content{font:400 17px/1.85 var(--agi-sans);color:var(--agi-green)}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) :is(.c-pageTitle,h1,h2,h3){font-family:var(--agi-serif);color:var(--agi-green);font-weight:400;background:none;border:0;box-shadow:none;padding:0;line-height:1.3}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .c-pageTitle{font-size:42px;margin-bottom:36px}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content h2{font-size:29px;margin:48px 0 20px}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content :is(h2,h3)::before,#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content :is(h2,h3)::after{display:none}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content a{color:var(--agi-green);text-decoration:underline;text-decoration-color:var(--agi-gold);text-underline-offset:4px}
#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .p-toc{display:none}
#body_wrap.page-id-14 .wpforms-container{--wpforms-button-background-color:#1F3B3A;--wpforms-button-text-color:#FFFFFF;--wpforms-field-border-color:#E6E2DA;--wpforms-label-color:#1F3B3A}
#body_wrap.page-id-14 .wpforms-submit{background:var(--agi-green)!important;min-height:48px;font-family:var(--agi-sans)!important}
#body_wrap.page-id-14 .wpforms-field-label{font-weight:500!important}
#body_wrap:is(.archive,.search) #content{max-width:var(--agi-width);padding:64px var(--agi-gutter) 96px;display:block;font-family:var(--agi-sans);color:var(--agi-green)}
#body_wrap:is(.archive,.search) .l-mainContent{width:100%;margin:0}
#body_wrap:is(.archive,.search) #sidebar{display:none}
#body_wrap:is(.archive,.search) .p-postList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;margin:0;padding:0}
#body_wrap:is(.archive,.search) .p-postList__item{width:auto!important;padding:0!important;margin:0!important;min-width:0}
#body_wrap:is(.archive,.search) .p-postList__link{display:block;padding:0;background:none}
#body_wrap:is(.archive,.search) .p-postList__thumb{width:100%;border-radius:12px;overflow:hidden;box-shadow:none;margin:0 0 18px;float:none}
#body_wrap:is(.archive,.search) .p-postList__body{width:100%;padding:0}
#body_wrap:is(.archive,.search) :is(.p-postList__title,.c-pageTitle){font-family:var(--agi-serif);color:var(--agi-green);font-weight:400;line-height:1.3}
#body_wrap:is(.archive,.search) .p-postList__title{font-size:25px}
#body_wrap:is(.archive,.search) .p-postList__excerpt{font-size:14px;line-height:1.65;color:var(--agi-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#body_wrap:is(.archive,.search) .c-postThumb__cat{background:var(--agi-white);color:var(--agi-green);background-image:none}
#body_wrap:is(.archive,.search) .p-postList__thumb img{transition:none}
#body_wrap:is(.archive,.search) .p-postList__link:hover img{transform:none;opacity:.94}
#body_wrap:is(.archive,.search) .page-numbers{background:var(--agi-white);color:var(--agi-green);box-shadow:none;border:1px solid var(--agi-border);min-width:44px;min-height:44px}
#body_wrap:is(.archive,.search) .page-numbers.current{background:var(--agi-green);color:white}
/* Restrained shared footer; native wp_footer and search modal are retained. */
.agi-footerHead{background:var(--agi-cream);border-top:1px solid var(--agi-border);padding:48px var(--agi-gutter) 24px}
.agi-footerInner{max-width:1160px;margin:auto;display:flex;justify-content:space-between;gap:48px}
.agi-footerName{font:400 25px/1.3 var(--agi-serif)}
.agi-footerBrand p{font-size:13px;line-height:1.6;margin:12px 0 0;color:var(--agi-muted)}
.agi-footerHead nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 24px;max-width:560px}
.agi-footerHead nav li{font-size:12px;line-height:1.6}
.agi-footerHead nav :is(a,.agi-nav-pending){display:inline-block;padding:10px 0;color:var(--agi-green)}
.agi-footerHead nav a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--agi-gold)}
#footer,#footer .l-footer__foot{background:var(--agi-cream);color:var(--agi-muted)}
#footer .l-footer__foot{padding:16px var(--agi-gutter) 32px}
#footer .copyright{font:400 11px/1.5 var(--agi-sans);text-align:left;max-width:1160px;margin:auto}
#footer .l-footer__nav{display:none}
@media(min-width:960px){#header .l-header__menuBtn{display:none!important}}
@media(max-width:1100px) and (min-width:960px){#header .c-gnav{gap:16px}#header .l-header__logo{max-width:235px}.c-headLogo.-txt{font-size:19px!important}#header .l-header__inner{gap:16px}}
@media(max-width:959px){:root{--agi-gutter:28px;--agi-space:64px}#header .l-header__inner{min-height:68px;padding-inline:24px;gap:12px}#header .l-header__logo{order:1;text-align:left;max-width:calc(100% - 112px);margin-right:auto}#header .l-header__menuBtn{order:5}#header .l-header__customBtn{order:4}.c-headLogo.-txt{font-size:20px!important}#header .l-header__gnav{display:none}#fix_header{display:none}.agi-home .agi-hero{grid-template-columns:1fr 1fr}.agi-home .agi-hero-copy{padding:48px 28px;gap:24px}.agi-home .agi-hero h1{font-size:44px}.agi-home .agi-hero-photo img{min-height:530px}.agi-home .agi-gateways,.agi-home .wp-block-post-template,#body_wrap:is(.archive,.search) .p-postList{grid-template-columns:repeat(2,minmax(0,1fr))}.agi-home .agi-about{margin-inline:28px;padding:48px 32px}.agi-footerInner{gap:32px}.agi-footerHead nav ul{display:block}.agi-footerHead nav :is(a,.agi-nav-pending){padding:8px 0}}
@media(max-width:599px){:root{--agi-gutter:22px;--agi-space:48px}#header .l-header__inner{min-height:64px;padding-inline:16px;gap:6px}.c-headLogo.-txt{font-size:17px!important}#header .l-header__logo{max-width:calc(100% - 100px)}.agi-home .agi-hero{display:flex;flex-direction:column}.agi-home .agi-hero-copy{padding:44px 24px 38px;gap:22px}.agi-home .agi-hero h1{font-size:40px;line-height:1.1}.agi-home .agi-hero-copy p{font-size:17px}.agi-home .agi-hero-photo img{height:auto;min-height:0;aspect-ratio:1.35;object-position:50% 50%}.agi-home .agi-gateways,.agi-home .wp-block-post-template,#body_wrap:is(.archive,.search) .p-postList{grid-template-columns:1fr;gap:28px}.agi-home .agi-card-copy{padding:18px 22px 24px}.agi-home .agi-gateway h2{font-size:27px}.agi-home .agi-latest h2,.agi-home .agi-about h2{font-size:31px}.agi-home .agi-about{margin-inline:22px;padding:32px 24px}.agi-home .agi-about p{font-size:16px}.agi-footerHead{padding:36px 22px 16px}.agi-footerInner{display:block}.agi-footerHead nav{margin-top:24px}.agi-footerHead nav ul{display:block}.agi-footerName{font-size:24px}#footer .l-footer__foot{padding:16px 22px 32px}#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) #content,#body_wrap:is(.archive,.search) #content{padding-top:40px;padding-bottom:48px}#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .c-pageTitle{font-size:34px;overflow-wrap:anywhere}#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content{font-size:16px}#body_wrap:is(.page-id-3,.page-id-10,.page-id-14) .post_content h2{font-size:26px;margin-top:36px}}
@media(prefers-reduced-motion:reduce){.agi-home *,#header *,#sp_menu *{scroll-behavior:auto;transition:none!important}}
