/*
Theme Name: A.A. Fellowship
Description: A welcoming, responsive fellowship website with editable starter pages, accessible navigation, and configurable public contact details.
Version: 1.3.1
Author: Fellowship Website Project
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: aa-fellowship
*/

:root{--navy:#0b324c;--navy-deep:#092a40;--orange:#f5a04a;--orange-light:#ffc183;--ink:#163348;--muted:#5b6d78;--paper:#f2f6f7;--line:#dce5e9;--white:#fff;--site:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--white);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.18;letter-spacing:-.035em}p{color:var(--muted)}a,button,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d5761d;outline-offset:5px}a:hover{text-decoration:none}.site-width{width:min(var(--site),calc(100% - 80px));margin-inline:auto}.skip-link{position:fixed;top:10px;left:10px;z-index:10000;padding:12px 20px;background:#fff;color:var(--navy);transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}
.utility-bar{background:var(--navy-deep);color:#d8e6ec;font-size:12px;letter-spacing:.01em}.utility-bar .site-width{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.utility-bar a{color:#fff}.utility-bar a span{color:var(--orange);margin-left:10px}.site-header{background:#fff;border-bottom:1px solid #e9edef;position:relative;z-index:30}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:96px}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand-mark{height:54px;width:54px;border:1.5px solid var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;position:relative;letter-spacing:-2px;padding-right:2px}.brand-mark span{position:absolute;bottom:7px;width:25px;height:2px;background:var(--orange)}.brand-words{display:flex;flex-direction:column;gap:5px}.brand-words strong{font-size:21px;line-height:1.1;letter-spacing:-.04em}.brand-words>span{font-size:8px;letter-spacing:.18em;font-weight:700}.custom-brand img{max-height:60px;width:auto}.primary-navigation{display:flex;align-items:center;gap:30px}.nav-links{padding:0;margin:0;list-style:none;display:flex;gap:25px;align-items:center;font-size:13px;font-weight:600}.nav-links a{display:block;padding-block:16px;position:relative}.nav-links a:hover,.nav-links a[aria-current=page],.nav-links .current-menu-item>a{color:#a55416}.nav-links a[aria-current=page]:after,.nav-links .current-menu-item>a:after{content:"";position:absolute;bottom:6px;left:0;width:20px;height:2px;background:var(--orange)}.nav-links li{position:relative}.nav-links .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:200px;box-shadow:0 8px 30px #0b324c18;padding:15px;list-style:none}.nav-links li:hover>.sub-menu,.nav-links li:focus-within>.sub-menu{display:block}.menu-toggle{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:27px;background:var(--orange);color:var(--navy-deep);border:1px solid var(--orange);padding:15px 24px;border-radius:5px;font-size:14px;font-weight:700;line-height:1.3;transition:background .18s,transform .18s;min-height:50px}.button:hover{background:var(--orange-light);transform:translateY(-2px);color:var(--navy-deep)}.button-small{padding:12px 18px;font-size:12px;min-height:44px;gap:16px;white-space:nowrap}.button-outline{background:transparent;color:#fff;border-color:#8094a2}.button-outline:hover{background:#ffffff12;color:#fff}.button-outline-dark{background:transparent;border-color:#b6c6cf;color:var(--navy)}.button-outline-dark:hover{background:#e8f0f3}.button-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.text-link{display:inline-flex;align-items:center;gap:22px;font-size:14px;font-weight:700;color:var(--navy);border-bottom:1px solid #aec3d0;padding-bottom:4px}.text-link:hover{color:#a55416;border-color:#a55416}.eyebrow{display:block;font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:#47738a;margin-bottom:17px}.eyebrow-light{color:#b3cedd}.eyebrow .status-dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:10px}
.home-content>p:empty{display:none}.hero{background:var(--navy);color:#fff;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff0a;border-radius:50%;top:-270px;left:-340px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px;padding-block:66px 72px;position:relative}.hero-copy{padding-block:12px}.hero h1{font-size:clamp(42px,4.6vw,65px);font-weight:500;line-height:1.08;letter-spacing:-.045em;max-width:600px}.hero h1 em{font-style:normal;color:var(--orange-light);display:block}.hero-description{font-size:17px;line-height:1.75;color:#d5e2e9;max-width:450px;margin:24px 0 30px}.hero-note{font-size:11px;color:#b1c9d7;margin-top:23px;letter-spacing:.035em}.hero-note span{margin-inline:9px;color:#7495a9}.hero-visual{position:relative;min-width:0;padding-bottom:26px}.hero-photo{display:block;width:100%;height:490px;object-fit:cover;object-position:58% center;border-radius:85px 8px 8px 8px}.image-caption{position:absolute;bottom:0;left:-28px;background:#fff;box-shadow:0 9px 30px #061e3225;border-radius:6px;padding:20px 28px;display:flex;gap:17px;align-items:center;color:var(--navy);max-width:calc(100% - 12px)}.image-caption .caption-icon{font-size:29px;color:#b96c24;line-height:1}.image-caption strong{font-size:16px;display:block;letter-spacing:-.025em}.image-caption small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.welcome-strip{border-bottom:1px solid var(--line);background:#f6f8f8}.welcome-strip .site-width{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-block:28px}.welcome-strip h2{font-size:21px;letter-spacing:-.025em}.welcome-strip p{font-size:14px;margin-top:3px}.welcome-strip .text-link{flex-shrink:0}.section-space{padding-block:88px}.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:36px}.section-heading h2,.about-copy h2,.meeting-band h2,.faq-intro h2{font-size:clamp(30px,3.1vw,43px);font-weight:500;max-width:650px}.section-heading>p{font-size:15px;max-width:340px}.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.support-card{border:1px solid var(--line);border-radius:8px;padding:31px 29px 29px;display:flex;flex-direction:column;align-items:flex-start;background:#fff;transition:border-color .2s,box-shadow .2s}.support-card:hover{border-color:#91b2c5;box-shadow:0 12px 30px #17394f0a}.card-icon{width:47px;height:47px;display:grid;place-items:center;color:var(--navy);background:#eaf1f4;border-radius:50%;font-size:23px;margin-bottom:28px}.support-card:nth-child(2) .card-icon{background:#fff0e2;color:#9c571b}.support-card h3{font-size:23px;font-weight:500;margin-bottom:15px}.support-card p{font-size:14px;line-height:1.85;margin-bottom:26px}.support-card .text-link{margin-top:auto;font-size:12px}.about-section{background:var(--paper)}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}.about-panel{background:#deeaef;min-height:385px;border-radius:8px 70px 8px 8px;padding:48px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.about-panel:after{content:"";position:absolute;right:-115px;bottom:-125px;border:1px solid #a4c0cf;border-radius:50%;width:310px;height:310px}.about-panel .large-quote{font-size:68px;line-height:1;color:#698fa5;font-family:Georgia,serif}.about-panel p{font-size:35px;line-height:1.28;letter-spacing:-.035em;color:var(--navy);max-width:280px;font-weight:500}.about-panel .panel-line{height:2px;width:42px;background:#ce7a28;margin:27px 0 20px}.about-panel small{font-size:10px;letter-spacing:.15em;color:#46667b}.about-copy p{font-size:15px;margin:22px 0}.about-copy .text-link{margin-top:7px}.meeting-section{padding-block:70px}.meeting-band{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center;padding:48px 52px;background:var(--navy);border-radius:9px;color:#fff}.meeting-band h2{font-size:35px}.meeting-band p{color:#c9dce7;margin-top:14px;max-width:620px;font-size:14px}.meeting-band .eyebrow{color:#abc9db;margin-bottom:13px}.meeting-band .button{white-space:nowrap}.faq-section{padding:15px 0 90px}.faq-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:100px}.faq-intro p{margin-top:19px;font-size:14px}.faq-intro .text-link{margin-top:22px}.faq-list details{border-bottom:1px solid var(--line);padding:0}.faq-list details:first-child{border-top:1px solid var(--line)}.faq-list summary{padding:22px 34px 22px 0;cursor:pointer;font-size:16px;font-weight:600;list-style:none;position:relative;line-height:1.5}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";position:absolute;right:2px;top:17px;font-size:24px;font-weight:400;color:#47738a}.faq-list details[open] summary:after{content:"−"}.faq-list details p{font-size:14px;padding:0 25px 24px 0;line-height:1.8}.site-footer{background:var(--navy-deep);color:#fff;padding-top:61px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:70px;padding-bottom:50px}.footer-brand{font-size:25px;letter-spacing:-.04em;font-weight:700}.footer-grid p{font-size:13px;color:#bfd0dc;margin-top:15px;line-height:1.8}.footer-motto{display:block;color:#8dabbc;font-size:9px;letter-spacing:.16em;margin-top:23px}.footer-grid h2{font-size:13px;letter-spacing:0;margin:8px 0 19px;font-weight:600}.footer-grid>div:not(:first-child)>a{display:block;font-size:12px;color:#bfd0dc;margin-top:10px}.footer-grid a:hover{color:var(--orange-light)}.footer-bottom{border-top:1px solid #ffffff18;padding-block:21px;display:flex;justify-content:space-between;gap:20px;color:#97b0bf;font-size:10px}.page-banner{background:var(--navy);color:#bfd2df;padding:48px 0 55px;font-size:12px}.page-banner h1{font-size:52px;font-weight:500;color:#fff;margin-top:24px}.page-banner p{color:#bfd2df;font-size:16px;margin-top:16px}.breadcrumb{text-decoration:underline}.page-content{max-width:900px;padding-block:65px 85px}.page-content>p{margin:0 0 23px}.page-content h2{font-size:31px;font-weight:500;margin:37px 0 18px}.page-content h2:first-child{margin-top:0}.page-content h3{font-size:22px;font-weight:500;margin-bottom:16px}.page-content ul,.page-content ol{color:var(--muted);padding-left:25px}.page-content li{margin-bottom:12px}.page-content p a{color:#135f84;text-decoration:underline;text-underline-offset:4px}.page-content .support-grid{grid-template-columns:1fr 1fr;margin:30px 0}.page-content .support-card h3{margin-top:0}.page-content .support-card p{margin-top:0}.page-content .button-row{margin-block:30px}.page-content .info-box{background:var(--paper);padding:28px 30px;border-left:3px solid var(--orange);border-radius:0 6px 6px 0;margin:30px 0}.page-content .info-box p{margin:0}.page-content .faq-list{margin-block:25px}.contact-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-block:25px}.contact-option{padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:7px}.contact-value{display:block;font-size:21px;overflow-wrap:anywhere;margin-bottom:12px}.contact-option p{margin-bottom:20px}.archive-content{padding-block:80px;min-height:50vh}.archive-content article{padding-bottom:40px}.archive-content h1{margin-bottom:20px}.archive-content p{margin-bottom:20px}.wp-block-image img{border-radius:8px}.wp-block-table{overflow-x:auto}.wp-block-table td,.wp-block-table th{border:1px solid var(--line);padding:12px}
@media(min-width:1600px){.hero-grid{padding-block:78px}.hero-photo{height:505px}}
@media(max-width:1150px){.nav-links{gap:17px;font-size:12px}.primary-navigation{gap:20px}.brand-words strong{font-size:18px}.brand-mark{width:47px;height:47px}.hero-grid{gap:44px}.hero-photo{height:450px}.about-grid{gap:55px}.faq-grid{gap:60px}}
@media(max-width:1050px){.header-inner{min-height:85px;flex-wrap:wrap;gap:0}.menu-toggle{display:flex;align-items:center;gap:13px;background:#fff;color:var(--navy);border:1px solid var(--line);padding:10px 13px;border-radius:4px;cursor:pointer;font-size:13px;min-height:44px}.menu-bars{width:17px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}.menu-bars:after{content:"";position:absolute;top:4px;width:17px;border-top:2px solid currentColor;left:0}.primary-navigation{width:100%;padding:5px 0 25px;flex-direction:column;align-items:stretch;gap:15px}.nav-links{display:block}.nav-links a{padding:12px 0}.nav-links a[aria-current=page]:after{display:none}.primary-navigation .button{align-self:flex-start}.aaf-js .primary-navigation{display:none}.aaf-js .menu-toggle[aria-expanded=true]+.primary-navigation{display:flex}.nav-links .sub-menu{position:static;display:block;box-shadow:none;padding:0 15px}.hero-grid{gap:35px}.hero h1{font-size:50px}.hero-description{font-size:15px}.hero-photo{height:420px}.hero-note{font-size:10px}.hero .button{padding:14px 17px;font-size:12px;gap:14px}.image-caption{padding:15px 20px;left:-18px}.image-caption strong{font-size:14px}.support-card{padding:27px 23px}.support-card h3{font-size:21px}.about-panel{padding:35px}.meeting-band{padding:38px;gap:30px}.footer-grid{gap:40px}}
@media(max-width:780px){.site-width{width:calc(100% - 44px)}.utility-bar .site-width{justify-content:center;min-height:33px;font-size:10px}.utility-bar a{display:none}.header-inner{min-height:80px}.brand-words strong{font-size:18px}.brand-words>span{font-size:7px}.brand-mark{width:44px;height:44px;font-size:16px}.hero-grid{grid-template-columns:1fr;gap:35px;padding-block:43px 45px}.hero-copy{padding:0}.hero h1{font-size:49px;max-width:590px}.hero-description{font-size:16px;max-width:510px;margin-block:23px 26px}.hero .button{font-size:13px;min-height:49px;padding-inline:19px}.hero-note{font-size:10px;margin-top:20px}.hero-photo{height:370px;object-position:center 55%;border-radius:60px 6px 6px 6px}.hero-visual{padding:0 0 18px 12px}.image-caption{left:0;padding:16px 21px}.image-caption strong{font-size:16px}.welcome-strip .site-width{align-items:flex-start;flex-direction:column;gap:14px;padding-block:26px}.welcome-strip h2{font-size:21px}.section-space{padding-block:57px}.section-heading{flex-direction:column;gap:18px;align-items:flex-start;margin-bottom:29px}.section-heading h2,.about-copy h2,.faq-intro h2{font-size:34px}.section-heading>p{max-width:550px;font-size:14px}.support-grid{grid-template-columns:1fr;gap:17px}.support-card{padding:26px}.support-card h3{font-size:24px}.card-icon{margin-bottom:20px;width:42px;height:42px}.support-card p{margin-bottom:21px}.support-card .text-link{font-size:13px}.about-grid{grid-template-columns:1fr;gap:36px}.about-panel{min-height:300px;border-radius:7px 65px 7px 7px;padding:35px}.about-panel p{font-size:33px;max-width:330px}.about-copy h2{max-width:520px}.meeting-section{padding-block:43px}.meeting-band{grid-template-columns:1fr;padding:30px 26px;gap:25px}.meeting-band h2{font-size:30px}.meeting-band .button{justify-self:start}.faq-section{padding:10px 0 55px}.faq-grid{grid-template-columns:1fr;gap:28px}.faq-intro p{margin-top:15px}.faq-list summary{font-size:15px}.site-footer{padding-top:42px}.footer-grid{grid-template-columns:1fr 1fr;gap:33px 20px;padding-bottom:35px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:7px;font-size:10px}.page-banner{padding-block:30px 40px}.page-banner h1{font-size:38px;margin-top:18px}.page-banner p{font-size:14px}.page-content{padding-block:40px 55px}.page-content .support-grid{grid-template-columns:1fr}.page-content h2{font-size:28px}.contact-options{grid-template-columns:1fr}.archive-content{padding-block:50px}}
@media(max-width:380px){.site-width{width:calc(100% - 34px)}.hero h1{font-size:43px}.hero .button{font-size:12px;padding-inline:14px;gap:10px}.brand{gap:8px}.brand-words strong{font-size:16px}.brand-words>span{font-size:6px}.hero-note span{margin-inline:4px}.hero-photo{height:310px}.footer-grid{gap:28px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Supplied A.A. identity, displayed without cropping or recolouring. */
.brand-logo{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0}
.footer-brand{display:flex;align-items:center;gap:16px;line-height:1.2;font-size:23px}
.footer-logo-wrap{display:flex;flex-shrink:0;padding:6px;border-radius:50%;background:#fff}
.footer-logo{display:block;width:68px;height:68px;object-fit:contain;border-radius:50%}
@media(max-width:1150px){.brand-logo{width:56px;height:56px}}
@media(max-width:780px){.brand-logo{width:48px;height:48px}.footer-brand{font-size:22px}.footer-logo{width:60px;height:60px}}
@media(max-width:380px){.brand-logo{width:44px;height:44px}}

/* Aastha Group local meeting and contact details. */
.footer-phone{display:inline-block;font-size:19px;color:var(--orange-light);margin-top:17px;font-weight:600}
.helpline-link{font-size:20px;letter-spacing:-.02em}
.local-meeting{display:grid;grid-template-columns:230px 1fr;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:32px 0 45px}
.meeting-date{background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px;gap:9px}
.meeting-date>span:first-child{font-size:10px;letter-spacing:.18em;color:#bad2e1}
.meeting-date strong{font-size:30px;letter-spacing:-.04em;line-height:1.2}
.meeting-date>span:not(:first-child){font-size:19px;color:var(--orange-light)}
.meeting-date small{font-size:10px;color:#bad2e1}
.meeting-details{padding:32px}.meeting-details p{font-size:15px}.meeting-details .button-row{margin:23px 0}.meeting-confirm{font-size:12px!important}.meeting-confirm a{font-weight:700}
@media(max-width:780px){.utility-bar .site-width{justify-content:space-between;font-size:10px;gap:8px}.utility-bar .site-width>span{max-width:125px;font-size:9px;line-height:1.4;padding-block:7px}.utility-bar a{display:block;font-size:10px;white-space:nowrap}.utility-bar a span{display:none}.local-meeting{grid-template-columns:1fr}.meeting-date{padding:25px}.meeting-details{padding:25px}.brand-words>span{font-size:6.5px}.helpline-link{font-size:19px}}
@media(max-width:780px){.brand{gap:9px}.brand-words strong{font-size:16px}.brand-mark{width:40px;height:40px}.brand-words>span{font-size:6px;letter-spacing:.12em}.menu-toggle{font-size:12px;padding:9px 10px;gap:9px}}

/* Keep the subtitle readable after the compact header rules. */
.brand-words>span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;line-height:1.4}
@media(max-width:780px){.brand-words>span{font-size:9px;letter-spacing:.045em}}

/* Section dropdowns and reading guides. */
.nav-links>li.menu-item-has-children{display:flex;align-items:center;gap:2px}
.submenu-toggle{display:none}
.aaf-js .submenu-toggle{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:var(--navy);width:28px;min-height:44px;cursor:pointer;border-radius:4px;font-size:19px}
.submenu-toggle:hover{background:var(--paper)}
.submenu-toggle[aria-expanded=true] span{transform:rotate(180deg)}
.nav-links .sub-menu{width:260px;border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:0 0 8px 8px;padding:8px;z-index:50}
.nav-links .sub-menu li{margin:0}
.nav-links .sub-menu a{padding:11px 13px;border-radius:4px;line-height:1.4;font-size:13px}
.nav-links .sub-menu a:hover,.nav-links .sub-menu a:focus-visible{background:var(--paper)}
.nav-links .sub-menu a:after{display:none}
.nav-links .current-menu-ancestor>a{color:#a55416}
.aaf-js .nav-links li:focus-within>.sub-menu{display:none}
.aaf-js .nav-links li:hover>.sub-menu,.aaf-js .nav-links .submenu-toggle[aria-expanded=true]+.sub-menu{display:block}
.principle-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0 36px;padding:0!important;list-style:none;counter-reset:principle}
.principle-grid li{counter-increment:principle;background:var(--paper);border:1px solid var(--line);border-radius:8px;margin:0;padding:24px;display:grid;grid-template-columns:36px 1fr;gap:16px;align-items:start;font-size:15px}
.principle-grid li:before{content:counter(principle,decimal-leading-zero);font-size:20px;font-weight:700;color:#a55416;line-height:1.4}
.principle-grid strong{display:block;color:var(--navy);margin-bottom:6px;font-size:17px}
.guide-links{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 32px}
.guide-links a{display:block;border:1px solid var(--line);background:var(--paper);padding:10px 15px;border-radius:5px;font-size:13px;font-weight:600;line-height:1.4}
.guide-links a:hover,.guide-links a[aria-current=page]{border-color:var(--orange);background:#fff0e2}
.page-content .guide-intro{font-size:20px;color:var(--navy);line-height:1.6}
@media(max-width:1050px){
 .nav-links>li.menu-item-has-children{display:grid;grid-template-columns:1fr 44px}
 .aaf-js .submenu-toggle{width:44px;border:1px solid var(--line)}
 .nav-links .sub-menu{grid-column:1/-1;width:100%;border:0;border-left:2px solid var(--orange);padding:0 10px;margin:0 0 12px;border-radius:0}
 .aaf-js .nav-links li:hover>.sub-menu,.aaf-js .nav-links li:focus-within>.sub-menu{display:none}
 .aaf-js .nav-links .submenu-toggle[aria-expanded=true]+.sub-menu{display:block}
}
@media(max-width:780px){.principle-grid{grid-template-columns:1fr}.principle-grid li{padding:22px}.page-content .guide-intro{font-size:18px}}
.aaf-js .nav-links .sub-menu{display:none}
