/* AJRFED 2.1.4 — visual identity reconciled to the supplied 1.9.9 reference.
   Purple / magenta / muted gold remain the global identity. Blue/gold is restricted to genuine internal headings. */
html body.ajrfed-design-on.ajrfed-v214{
 --ajrfed-primary:#6B2A90;--ajrfed-secondary:#D4146E;--ajrfed-accent:#D6B45C;
 --ajrfed-ink:#20233A;--ajrfed-surface:#F8F6FB;--ajrfed-border:#E4D8EC;
 --ajr214-deep:#35233F;--ajr214-end:#682888;--ajr214-gold:#F5CE78;
 --ajr214-navy:#0F2C5D;--ajr214-title-gold:#F4C41B;--ajr214-copy:#302638;
 background:#F8F6FB!important;color:#20233A!important;
}
html body.ajrfed-design-on.ajrfed-v214 #content{min-width:0!important;max-width:100%!important;overflow-x:clip;box-sizing:border-box;}

/* === 1.9.9 section identity: one purple institutional panel across managed sections. === */
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(
 .ajrfed-section-hero,.ajrfed-training-hero,.ajrfed-membership-hero,.ajrfed-v190-header,
 .ajrfed-v191-hero,.ajrfed-v191-about-hero,.ajrfed-v190-about-hero,.ajrfed-v4-header,
 .ajrfed-v180-panel,.ajr195-form-hero,.ajrfed-contact-panel,.ast-archive-description
){
 background:#35233F!important;background-image:linear-gradient(115deg,#35233F,#682888)!important;
 color:#fff!important;border:1px solid #6B3D84!important;border-radius:24px!important;
 padding:clamp(24px,4vw,46px)!important;margin:8px auto 28px!important;
 width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;
 box-sizing:border-box!important;box-shadow:0 16px 38px rgba(40,24,52,.13)!important;
 opacity:1!important;filter:none!important;overflow:hidden!important;position:relative!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(
 .ajrfed-section-hero,.ajrfed-training-hero,.ajrfed-membership-hero,.ajrfed-v190-header,
 .ajrfed-v191-hero,.ajrfed-v191-about-hero,.ajrfed-v190-about-hero,.ajrfed-v4-header,
 .ajrfed-v180-panel,.ajr195-form-hero,.ajrfed-contact-panel
) :is(p,li,.ajr198-copy,.ajrfed-v191-hero-intro,.ajrfed-v4-header-copy,.ajr210-rich-copy,.ajr210-form-intro){
 color:#fff!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;
 box-shadow:none!important;opacity:1!important;filter:none!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(
 .ajrfed-section-hero,.ajrfed-training-hero,.ajrfed-membership-hero,.ajrfed-v190-header,
 .ajrfed-v191-hero,.ajrfed-v191-about-hero,.ajrfed-v190-about-hero,.ajrfed-v4-header
)>:is(h1,h2,h3){
 color:var(--ajr214-gold)!important;-webkit-text-fill-color:var(--ajr214-gold)!important;
 margin:0!important;text-shadow:none!important;background:transparent!important;border:0!important;
 font-weight:800!important;line-height:1.65!important;text-align:start!important;text-align-last:start!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.ajrfed-section-hero,.ajrfed-membership-hero,.ajrfed-training-hero)>.ajrfed-eyebrow{
 color:var(--ajr214-gold)!important;-webkit-text-fill-color:var(--ajr214-gold)!important;background:transparent!important;
}

/* Vision / Mission / About / Objectives use the same purple panel instead of a separate palette. */
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-072bcf0,.ajr214-tabs) :is([role=tabpanel],.elementor-tab-content){
 background:#35233F!important;background-image:linear-gradient(115deg,#35233F,#682888)!important;
 color:#fff!important;border:1px solid #6B3D84!important;border-radius:24px!important;
 padding:clamp(22px,4vw,38px)!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;min-height:0!important;box-sizing:border-box!important;box-shadow:0 16px 38px rgba(40,24,52,.10)!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-072bcf0,.ajr214-tabs) :is([role=tabpanel],.elementor-tab-content) :is(p,li,h4,.ajr212-prose,.ajr198-copy,.elementor-widget-text-editor){
 color:#fff!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;box-shadow:none!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-072bcf0,.ajr214-tabs) [aria-selected=true]{
 background:linear-gradient(115deg,#6B2A90,#883CA1)!important;color:#fff!important;border-color:#6B2A90!important;
}

/* Membership: preserve 1.9.9 purple identity while keeping inputs clear. */
html body.ajrfed-design-on.ajrfed-v214 #content :is(.ajrfed-form-section,.ajrfed-membership-consent,.ajr195-form,.ajr195-consent,.ajr195-phone,.ajr195-form-shell){
 background:#fff!important;background-image:none!important;color:#20233A!important;border:1px solid rgba(107,42,144,.16)!important;
 border-radius:18px!important;box-sizing:border-box!important;
}
html body.ajrfed-design-on.ajrfed-v214 #content :is(.ajrfed-membership-form,.ajr195-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
 background:#fff!important;color:#20233A!important;-webkit-text-fill-color:#20233A!important;
 border:1px solid #CEBDD9!important;border-radius:10px!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
html body.ajrfed-design-on.ajrfed-v214 :is(input,select,textarea):focus-visible{outline:2px solid #6B2A90!important;outline-offset:2px!important;}

/* === Homepage brand: strict requested composition. === */
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name{width:100%!important;max-width:100%!important;min-width:0!important;text-align:center!important;margin-inline:auto!important;box-sizing:border-box!important;}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name :is(h1,h2){
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:center!important;text-align-last:center!important;
 line-height:1.55!important;letter-spacing:normal!important;word-spacing:normal!important;text-shadow:none!important;overflow:visible!important;
}
/* First name: a purple card, full visibility, two white lines. */
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first{
 position:relative!important;inset:auto!important;transform:none!important;top:auto!important;left:auto!important;right:auto!important;
 width:min(100%,1180px)!important;max-width:calc(100% - 24px)!important;margin:18px auto 34px!important;
 padding:clamp(42px,7vw,82px) clamp(18px,5vw,58px) clamp(58px,8vw,96px)!important;
 background:linear-gradient(125deg,#30223B 0%,#5D287C 52%,#9B1F6E 100%)!important;
 border-radius:32px!important;overflow:hidden!important;box-sizing:border-box!important;box-shadow:0 20px 55px rgba(54,31,68,.16)!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first::after{
 content:"";position:absolute;left:-3%;right:-3%;bottom:-1px;height:26%;background:#fff;clip-path:polygon(0 55%,100% 0,100% 100%,0 100%);pointer-events:none;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first h1{
 color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(30px,4.8vw,68px)!important;font-weight:800!important;position:relative;z-index:1;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first .ajrfed-v194-name-line{
 display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
/* Second name: purple directly on white; no dark card. */
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--second{
 width:min(100%,1120px)!important;max-width:calc(100% - 24px)!important;margin:0 auto 28px!important;padding:34px 16px 30px!important;
 background:#fff!important;background-image:none!important;border:0!important;border-radius:28px!important;box-shadow:0 14px 42px rgba(47,31,59,.07)!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--second h2{
 color:#6B2A90!important;-webkit-text-fill-color:#6B2A90!important;font-size:clamp(22px,3.2vw,44px)!important;font-weight:800!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--second .ajrfed-v194-name-line{display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle{
 position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;max-width:calc(100% - 72px)!important;margin:22px auto 0!important;padding:10px 28px!important;
 color:#A92D4D!important;-webkit-text-fill-color:#A92D4D!important;background:#fffaf4!important;
 border:1px solid #D7C18C!important;border-radius:999px!important;font-size:clamp(14px,1.45vw,19px)!important;font-weight:800!important;
 line-height:1.8!important;text-align:center!important;text-align-last:center!important;box-shadow:0 7px 20px rgba(78,52,86,.05)!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle::before,
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle::after{
 content:""!important;display:block!important;position:absolute!important;top:50%!important;width:34px!important;height:2px!important;
 background:linear-gradient(90deg,#D6B45C,#A92D4D)!important;transform:translateY(-50%)!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle::before{right:calc(100% + 8px)!important;}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle::after{left:calc(100% + 8px)!important;}

/* === Desktop drift fix: reset only the known homepage intro column, then centre copy. === */
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .elementor-element-45q2ogh{
 position:relative!important;inset:auto!important;transform:none!important;float:none!important;
 width:min(100% - 32px,1200px)!important;max-width:1200px!important;margin:42px auto 0!important;
 padding:clamp(32px,5vw,64px)!important;box-sizing:border-box!important;background:#fff!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .elementor-element-45q2ogh>.elementor-container{
 display:flex!important;justify-content:center!important;align-items:stretch!important;width:100%!important;max-width:1120px!important;
 margin:0 auto!important;padding:0!important;min-width:0!important;box-sizing:border-box!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-f088365,.elementor-element-f088365>.elementor-widget-wrap){
 width:100%!important;max-width:100%!important;min-width:0!important;flex-basis:100%!important;
 margin:0!important;padding:0!important;position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .elementor-element-f088365>.elementor-widget-wrap{padding:clamp(12px,2vw,26px)!important;}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-01dd3f1,.ajr214-intro-widget){
 display:block!important;width:100%!important;max-width:1040px!important;min-width:0!important;margin:0 auto!important;padding:0!important;
 position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;
}
html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.elementor-element-01dd3f1,.ajr214-intro-widget) :is(p,h4,.elementor-widget-container){
 max-width:100%!important;margin-inline:auto!important;box-sizing:border-box!important;
}

/* === Genuine internal headings only: explicit blue/gold requested exception. === */
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr214-heading,
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214.single-post #content .site-main>article>.entry-header .entry-title{
 display:block!important;background:#0F2C5D!important;background-image:none!important;color:#F4C41B!important;
 -webkit-text-fill-color:#F4C41B!important;border:0!important;border-radius:14px!important;padding:15px 20px!important;
 margin:0 0 20px!important;box-sizing:border-box!important;font-weight:800!important;line-height:1.7!important;
 text-align:start!important;text-align-last:start!important;letter-spacing:normal!important;word-spacing:normal!important;
 box-shadow:none!important;overflow-wrap:break-word!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr214-heading :is(a,span,strong,b,em),
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214.single-post #content .site-main>article>.entry-header .entry-title a{
 color:#F4C41B!important;-webkit-text-fill-color:#F4C41B!important;text-decoration:none!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214.single-post #content .site-main>article>.entry-header{
 background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
 padding:0!important;margin:0 0 24px!important;color:inherit!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214.single-post #content .site-main>article>.entry-header .entry-meta{color:#6A6072!important;}

/* === Prose: 1.9.9 reading style + mobile/desktop justification, never centre ordinary copy. === */
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(
 .entry-content p,.entry-content li,.ajrfed-v190-prose p,.ajrfed-v190-prose li,
 .ajr198-copy p,.ajr198-copy li,.ajr212-prose,.ajrfed-news-card__excerpt,.ajrfed-v194-activity-description,
 .ajrfed-v191-hero-intro,[data-ajr212-type]
){
 text-align:justify!important;text-align-last:start!important;text-justify:inter-word!important;
 letter-spacing:normal!important;word-spacing:normal!important;line-height:2!important;text-indent:0!important;
 word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(nav,button,label,.ajrfed-card-actions,.ajrfed-contact-actions,.ajr199-contact,.ajr195-hint,.ajr195-form-guidance) :is(p,li),
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content [data-ajrfed-justify=off]{
 text-align:start!important;text-align-last:start!important;word-spacing:normal!important;letter-spacing:normal!important;
}

/* Contact remains naturally spaced and never creates a large blank frame. */
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr199-contact{height:auto!important;min-height:0!important;max-width:100%!important;overflow:visible!important;}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr199-contact :is(p,li,div,span,a){height:auto!important;min-height:0!important;max-width:100%!important;overflow-wrap:anywhere!important;}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr199-contact-page>.ajr199-contact{
 background:linear-gradient(115deg,#35233F,#682888)!important;padding:clamp(20px,4vw,36px)!important;border-radius:24px!important;
}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr199-contact :is(a,p,li){color:#fff!important;-webkit-text-fill-color:currentColor!important;}
html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr199-contact a{color:#FFDF92!important;-webkit-text-fill-color:#FFDF92!important;text-decoration:none!important;}

/* Newer functional layouts in old palette. */
.ajrfed-v4-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin-block:20px;}
.ajrfed-v4-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-block:24px;}
.ajrfed-v4-asset-grid :is(img,video,iframe){max-width:100%;width:100%;height:auto;object-fit:contain;}
.ajrfed-v4-related{margin-block:32px;min-width:0;}
.ajrfed-v4-prose,.ajr210-material{max-width:1040px;padding:clamp(20px,3vw,32px);margin:24px auto;background:#fff;border-radius:22px;box-sizing:border-box;min-width:0;}
html body.ajrfed-design-on.ajrfed-v214 .ajrfed-v4-button{display:inline-flex;justify-content:center;align-items:center;background:#6B2A90;color:#fff;border-radius:10px;padding:12px 20px;text-decoration:none;min-height:44px;}
html body.ajrfed-design-on.ajrfed-v214 #content .ajr195-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;}
html body.ajrfed-design-on.ajrfed-v214 #content .ajr195-span2{grid-column:1/-1;}

@media(max-width:767px){
 html body.ajrfed-design-on.ajrfed-v214 #content{overflow-x:clip!important;}
 html body.ajrfed-design-on.ajrfed-v214 #content .ajr195-grid,.ajrfed-v4-asset-grid{grid-template-columns:minmax(0,1fr)!important;}
 html body.ajrfed-design-on.ajrfed-v214 #content .ajr195-phone-row{grid-template-columns:minmax(0,1fr)!important;}
 html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content :is(.entry-content p,.entry-content li,.ajr212-prose,.ajrfed-news-card__excerpt){
  font-size:clamp(14.5px,4vw,16px)!important;line-height:1.95!important;text-align:justify!important;text-align-last:start!important;
  word-spacing:normal!important;letter-spacing:normal!important;
 }
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first{
  width:calc(100% - 20px)!important;max-width:none!important;margin:12px auto 26px!important;padding:38px 14px 58px!important;border-radius:24px!important;
 }
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--first h1{font-size:clamp(25px,7.1vw,36px)!important;line-height:1.6!important;}
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--second{
  width:calc(100% - 20px)!important;max-width:none!important;margin:0 auto 22px!important;padding:26px 10px 24px!important;border-radius:20px!important;
 }
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-v194-name--second h2{font-size:clamp(18px,4.8vw,25px)!important;line-height:1.75!important;}
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajrfed-institution-subtitle{max-width:calc(100% - 88px)!important;padding:8px 18px!important;font-size:14px!important;}
 html body.home.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .elementor-element-45q2ogh{
  width:calc(100% - 20px)!important;max-width:none!important;margin:28px auto 0!important;padding:22px 14px!important;
 }
 html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .ajr214-heading{padding:12px 14px!important;border-radius:12px!important;font-size:clamp(17px,4.8vw,22px)!important;}
 html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214.ajrfed-v190-managed-page #content .site-main>article{
  margin:14px 0 24px!important;padding:0!important;width:100%!important;max-width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body.ajrfed-design-on.ajrfed-v199.ajrfed-v214 #content .entry-content :is(a,p,li,u,ins,h4,h5,h6){text-decoration:none!important;text-decoration-line:none!important;}
}

@media print{
 html body.ajrfed-v214 #content .ajrfed-v194-name--first{background:#fff!important;box-shadow:none!important;}
 html body.ajrfed-v214 #content .ajrfed-v194-name--first *{color:#000!important;-webkit-text-fill-color:#000!important;}
}
