/*
 * ABUJA WEB SERVICE LTD — PREMIUM SETTINGS & THEME ENGINE
 * Refactored from the supplied working stylesheet.
 * Duplication reduced without changing the existing design or theme behaviour.
 * Deploy as a COMPLETE replacement for assets/css/aws-settings-centre.css.
 * Do not append this entire file to the old stylesheet.
 */

/* Premium Settings application — isolated from site modules. */
.aws-prem {background:#F4F6F8;color:#102440;font-family:Inter,"Segoe UI",Arial,sans-serif;padding:40px 0 88px;}
.aws-prem *{box-sizing:border-box;}
.aws-prem :is(h1,h2,h3,h4,p){margin-top:0;}
.aws-prem .shell{width:min(calc(100% - 42px),1280px)!important;max-width:1280px!important;margin-inline:auto;}
.aws-prem-heading{padding-bottom:35px;}
.aws-prem-eyebrow{font-size:10px;letter-spacing:.16em;color:#6A778A;font-weight:800;margin-bottom:12px;}
.aws-prem-heading-inner{display:flex;align-items:end;justify-content:space-between;gap:24px;}
.aws-prem-heading h1{font-size:clamp(38px,4.8vw,61px);font-weight:800;letter-spacing:-.055em;line-height:1.05;color:#11233C;margin:0 0 11px;}
.aws-prem-heading h1 span{color:#F77909;}
.aws-prem-heading p{max-width:630px;color:#58697D;line-height:1.65;font-size:14px;margin:0;}
.aws-prem-protected{display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:700;padding:10px 14px;border-radius:50px;background:#FFF;border:1px solid #DCE5EC;color:#294A64;}
.aws-prem-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start;}
.aws-prem-nav{background:#FFF;border:1px solid #DCE5EC;border-radius:14px;position:sticky;top:16px;overflow:hidden;box-shadow:0 8px 35px rgba(6,32,68,.04);}
.aws-prem-nav-title{padding:24px 22px 18px;border-bottom:1px solid #E8EDF2;font-size:17px;font-weight:800;color:#0C2444;display:flex;gap:12px;align-items:center;}
.aws-prem-nav-title span{background:#F0F4F8;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;font-size:21px;}
.aws-prem-nav nav{display:grid;gap:4px;padding:12px;}
.aws-prem-nav nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none;color:#506379;}
.aws-prem-nav nav a:hover,.aws-prem-nav nav a:focus-visible{background:#F2F6FA;color:#132F50;}
.aws-prem-nav nav a[aria-current="page"]{background:#FFF1E5;color:#713608;border-left:3px solid #F77909;padding-left:9px;}
.aws-prem-nav nav a span{flex:1;}
.aws-prem-nav-hint{margin:13px;padding:17px;background:#F5F8FC;border:1px solid #E4EBF3;border-radius:10px;color:#314B63;}
.aws-prem-nav-hint b{font-size:12px;}
.aws-prem-nav-hint p{font-size:12px;line-height:1.65;margin:8px 0 0;color:#64768A;}
.aws-prem-content{min-width:0;}
.aws-prem-content-intro{padding:6px 4px 21px;}
.aws-prem-content-intro>span{font-size:10px;letter-spacing:.14em;font-weight:800;color:#D0610A;}
.aws-prem-content-intro h2{font-size:29px;color:#112B4C;letter-spacing:-.035em;margin:8px 0 5px;}
.aws-prem-content-intro p{font-size:13px;color:#66788B;margin:0;line-height:1.6;}
.aws-prem-panel{background:#FFF;color:#122942;border:1px solid #DCE4EC;border-radius:13px;padding:27px;margin-bottom:18px;box-shadow:0 8px 32px rgba(6,32,68,.035);}
.aws-prem-section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:21px;}
.aws-prem-index{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:9px;background:#FFF1E8;border:1px solid #FFDABC;color:#BD540B;font-size:12px;font-weight:900;}
.aws-prem-section-title h3{font-size:20px;line-height:1.25;color:#102744!important;margin:0 0 4px;letter-spacing:-.02em;}
.aws-prem-section-title p{margin:0;font-size:13px;color:#65778C!important;line-height:1.55;}
.aws-prem-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:19px;}
.aws-prem-filters button{padding:9px 13px;min-height:38px;border-radius:22px;border:1px solid #D9E3EB;background:#F7F9FB;color:#455D74;font-size:12px;font-weight:800;cursor:pointer;}
.aws-prem-filters button[aria-pressed="true"]{background:#0B203F;color:#FFF;border-color:#0B203F;}
.aws-prem-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.aws-prem-theme-card{display:flex;min-width:0;flex-direction:column;position:relative;background:#FFF;border:1px solid #DDE5EE;border-radius:12px;overflow:hidden;cursor:pointer;box-shadow:0 3px 10px rgba(10,31,57,.025);}
.aws-prem-theme-card[hidden]{display:none!important;}
.aws-prem-theme-card input{position:absolute;opacity:0;width:1px;height:1px;}
.aws-prem-theme-card:has(input:checked){border-color:#F77909;box-shadow:0 0 0 2px rgba(247,121,9,.22),0 10px 24px rgba(10,31,57,.07);}
.aws-prem-theme-card:has(input:focus-visible){outline:3px solid #F77909;outline-offset:3px;}
.aws-prem-theme-art{height:142px;position:relative;background-color:var(--sample-bg);background-image:var(--sample-image);background-size:cover;background-position:center;display:block;padding:12px;overflow:hidden;isolation:isolate;}
.aws-prem-theme-art::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.0),rgba(0,0,0,.21));}
.aws-prem-theme-card[data-category="light"] .aws-prem-theme-art::before,.aws-prem-theme-card[data-category="all"] .aws-prem-theme-art::before{display:none;}
.aws-prem-mock-nav{height:20px;background:var(--sample-panel);border-radius:4px;display:flex;align-items:center;gap:5px;padding:5px 7px;opacity:.94;}
.aws-prem-mock-nav i{height:9px;width:9px;border-radius:2px;background:var(--sample-accent);}
.aws-prem-mock-nav b{height:3px;width:33%;border-radius:2px;background:var(--sample-accent);opacity:.65;}
.aws-prem-mock-nav em{height:8px;width:18px;border-radius:3px;background:var(--sample-accent);margin-left:auto;}
.aws-prem-mock-content{display:block;width:77%;padding:16px 7px 0;}
.aws-prem-mock-content>i{display:block;width:66%;height:9px;background:var(--sample-accent);border-radius:3px;opacity:.9;}
.aws-prem-mock-content>b{display:block;width:87%;height:4px;background:#F0F5FC;border-radius:3px;margin-top:8px;opacity:.88;}
.aws-prem-mock-content>small{display:block;width:54%;height:4px;background:#F0F5FC;border-radius:3px;margin-top:4px;opacity:.78;}
.aws-prem-mock-grid{display:flex;gap:5px;margin-top:15px;}
.aws-prem-mock-grid em{height:23px;background:var(--sample-panel);border:1px solid rgba(130,150,180,.3);border-radius:4px;flex:1;}
.aws-prem-theme-info{display:flex;flex-direction:column;gap:5px;padding:12px;min-height:69px;}
.aws-prem-theme-info b{font-size:12px;color:#112842!important;line-height:1.35;}
.aws-prem-theme-info small{font-size:11px;color:#62758B;line-height:1.3;}
.aws-prem-system-note{margin-top:17px;padding:16px 17px;background:#F7F9FC;border:1px solid #DDE7EF;border-radius:9px;font-size:13px;color:#23415C;}
.aws-prem-system-note label{display:flex;align-items:center;gap:9px;font-weight:750;}
.aws-prem-system-note input{accent-color:#F77909;width:18px;height:18px;}
.aws-prem-system-note p{margin:6px 0 0;font-size:12px;color:#63768A;}
.aws-prem-background-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.aws-prem-bg-choice{display:block;cursor:pointer;position:relative;border:1px solid #DCE5EE;border-radius:8px;padding:7px;}
.aws-prem-bg-choice:has(input:checked){border-color:#F77909;box-shadow:0 0 0 2px rgba(247,121,9,.15);}
.aws-prem-bg-choice:has(input:focus-visible){outline:3px solid #F77909;outline-offset:2px;}
.aws-prem-bg-choice input{position:absolute;width:1px;height:1px;opacity:0;}
.aws-prem-bg-choice span{display:block;height:78px;background-size:cover;background-position:center;border-radius:5px;border:1px solid #EDF0F3;}
.aws-prem-bg-choice b{display:block;margin-top:8px;padding:0 1px 2px;font-size:11px;color:#1B334A;line-height:1.3;}
.aws-prem-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:23px;}
.aws-prem-controls label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:750;color:#2C455D;min-width:0;}
.aws-prem-controls select{width:100%;height:46px;padding:10px 12px;border:1px solid #BCCBD7;border-radius:8px;color:#1B344D;background:#FFF;font-family:inherit;font-size:13px;}
.aws-prem-choices{border:0;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px;}
.aws-prem-choices legend{font-size:13px;color:#2A435D;font-weight:750;margin-bottom:9px;}
.aws-prem-choices label{position:relative;cursor:pointer;}
.aws-prem-choices input{position:absolute;width:1px;height:1px;opacity:0;}
.aws-prem-choices span{display:inline-flex;min-height:41px;align-items:center;border:1px solid #D1DBE5;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:700;color:#233C54;}
.aws-prem-choices input:checked+span{background:#FFF1E5;color:#8B3E09;border-color:#F77909;}
.aws-prem-choices input:focus-visible+span{outline:3px solid #F77909;outline-offset:2px;}
.aws-prem-live-demo{margin-top:22px;border-radius:12px;background:linear-gradient(125deg,#0B203F,#183F65);padding:24px;color:#FFF;}
.aws-prem-live-demo>span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#F5AA72;}
.aws-prem-live-demo h4{font-size:20px;color:#FFF!important;margin:8px 0!important;}
.aws-prem-live-demo p{font-size:13px;color:#E4ECF6!important;margin:0 0 13px;}
.aws-prem-demo-action{display:inline-flex;align-items:center;padding:10px 13px;background:#F77909;border-radius:7px;color:#0B203F;font-size:12px;font-weight:800;}
.aws-prem-savebar{background:#EAF1F7;border:1px solid #CEDDE9;border-radius:11px;padding:16px;display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:10px;position:relative;z-index:1;box-shadow:0 10px 32px rgba(5,25,51,.09);}
.aws-prem-savebar>span{font-size:12px;color:#25435D;line-height:1.45;}
.aws-prem-savebar [data-state="error"]{color:#A32629;font-weight:750;}
.aws-prem-savebar [data-state="success"]{color:#12633E;font-weight:750;}
.aws-prem-save-actions{display:flex;gap:8px;flex-wrap:wrap;}
.aws-prem-primary,.aws-prem-secondary{min-height:42px;display:inline-flex;justify-content:center;align-items:center;padding:9px 13px;border-radius:7px;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;}
.aws-prem-primary{background:#F77909;border:1px solid #F77909;color:#111E31;}
.aws-prem-primary:hover{background:#FF952E;}
.aws-prem-secondary{background:#FFF;border:1px solid #BFCEDC;color:#23425E;}
.aws-prem-secondary:hover{background:#F8FBFE;}
.aws-prem-note{margin:12px 0 19px;font-size:12px;color:#687C8F;line-height:1.7;}
.aws-prem-quick{display:flex;gap:10px;flex-wrap:wrap;}
.aws-prem-quick a{display:inline-flex;padding:12px 15px;background:#F5F8FB;border:1px solid #DCE5ED;border-radius:8px;color:#203C5B;font-size:13px;font-weight:750;}
.aws-prem-quick a:hover{background:#EAF1F6;}
/* Settings always remains light and readable, even while previewing a dark theme. */
html:is([data-aws-theme],[data-aws-background]) body.aws-global-theme .aws-prem{background:#F4F6F8!important;color:#102440!important;}
html:is([data-aws-theme],[data-aws-background]) body.aws-global-theme .aws-prem .aws-prem-panel{background:#FFF!important;color:#102440!important;border-color:#DCE4EC!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem :is(h1,h2,h3,h4){color:#102440!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem :is(p,small){color:#65778C!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem :is(select,input:not([type=radio]):not([type=checkbox]),textarea){color:#19334C!important;background:#FFF!important;border-color:#B8CBD9!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem .aws-prem-live-demo :is(h4,p){color:#FFF!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem .aws-prem-nav{background:#FFF!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem .aws-prem-savebar{background:#EAF1F7!important;}
html[data-aws-theme] body.aws-global-theme .aws-prem .aws-prem-savebar [data-state="error"]{color:#A32629!important;}
/* Responsive settings application */
@media(max-width:1020px){.aws-prem-workspace{grid-template-columns:205px minmax(0,1fr);gap:15px;}.aws-prem-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.aws-prem-panel{padding:22px;}}
@media(max-width:720px){.aws-prem{padding:22px 0 60px;}.aws-prem .shell{width:calc(100% - 28px)!important;}.aws-prem-heading-inner{display:block;}.aws-prem-protected{margin-top:15px;}.aws-prem-workspace{display:block;}.aws-prem-nav{position:static;margin-bottom:19px;}.aws-prem-nav nav{display:flex;overflow-x:auto;gap:4px;scroll-snap-type:x mandatory;}.aws-prem-nav nav a{white-space:nowrap;flex:0 0 auto;scroll-snap-align:start;}.aws-prem-nav-hint{display:none;}.aws-prem-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.aws-prem-background-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.aws-prem-controls{grid-template-columns:1fr;gap:12px;}.aws-prem-savebar{display:block;position:static;}.aws-prem-save-actions{margin-top:13px;justify-content:stretch;}.aws-prem-save-actions button{flex:1;}.aws-prem-theme-art{height:106px;}.aws-prem-panel{padding:15px;}}
@media(max-width:350px){.aws-prem-theme-grid{grid-template-columns:1fr;}.aws-prem-save-actions button{flex:1 1 100%;}}

/* Abuja Web Service Ltd · Premium Theme Engine · 2026-10-31
  Additive, scoped to explicit user-selected themes only.
  No rule in this file applies when every preference is Original.
  Semantic components are paired with foreground AND background colours.
*/
/* Shared values common to all explicit themes. Individual themes override
   only the variables that differ. Original has no data-aws-theme attribute. */
html[data-aws-theme] {
  --tp-hero-text:#FFFFFF;
  --tp-hero-bg:#0B203F;
  --tp-photo:none;
  --tp-overlay-rgb:3,15,30;
  --tp-photo-opacity:.78;
  --tp-photo-position:center;
  --tp-control-focus:#F77909;
}
html[data-aws-theme="obsidian"]{--tp-page:#07090F;--tp-surface:#151B26;--tp-surface-alt:#1D2633;--tp-text:#F5F7FA;--tp-muted:#BFCBD9;--tp-nav:#090D14;--tp-action:#F87906;--tp-input:#101926;--tp-line:#344254;--tp-footer:#080F19;--tp-input-text:#F5F7FA;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#151B26;--tp-outline:#344254;color-scheme:dark;}
html[data-aws-theme="crimson"]{--tp-page:#650D22;--tp-surface:#82172E;--tp-surface-alt:#9D2940;--tp-text:#FFF7F7;--tp-muted:#F8C7D0;--tp-nav:#560919;--tp-action:#FFC4A2;--tp-input:#32101B;--tp-line:#D77385;--tp-footer:#370714;--tp-input-text:#FFF7F7;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#82172E;--tp-outline:#D77385;color-scheme:dark;}
html[data-aws-theme="editorial"]{--tp-page:#F8F8F5;--tp-surface:#FFFFFF;--tp-surface-alt:#F3F4F2;--tp-text:#121B25;--tp-muted:#475665;--tp-nav:#FFFFFF;--tp-action:#9B3E15;--tp-input:#FFFFFF;--tp-line:#B8C2C7;--tp-footer:#152536;--tp-input-text:#121B25;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFFFFF;--tp-outline:#B8C2C7;color-scheme:light;}
html[data-aws-theme="royal"]{--tp-page:#081830;--tp-surface:#102B4F;--tp-surface-alt:#173B60;--tp-text:#FFF5E6;--tp-muted:#C0D2E7;--tp-nav:#091A32;--tp-action:#E5B876;--tp-input:#172A48;--tp-line:#476180;--tp-footer:#061225;--tp-input-text:#FFF5E6;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#102B4F;--tp-outline:#476180;color-scheme:dark;}
html[data-aws-theme="emerald"]{--tp-page:#062C32;--tp-surface:#13424A;--tp-surface-alt:#1E5560;--tp-text:#F7F7EC;--tp-muted:#CBDFD8;--tp-nav:#092F37;--tp-action:#E6C88E;--tp-input:#123B3D;--tp-line:#648B87;--tp-footer:#04242B;--tp-input-text:#F7F7EC;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#13424A;--tp-outline:#648B87;color-scheme:dark;}
html[data-aws-theme="cinematic"]{--tp-page:#081A32;--tp-surface:#102A48;--tp-surface-alt:#1A3554;--tp-text:#F8FAFF;--tp-muted:#D4E2F2;--tp-nav:#08172F;--tp-action:#FF922A;--tp-input:#112E47;--tp-line:#58718B;--tp-footer:#08172B;--tp-input-text:#F8FAFF;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#102A48;--tp-outline:#58718B;color-scheme:dark;}
html[data-aws-theme="aurora"]{--tp-page:#05132B;--tp-surface:#092448;--tp-surface-alt:#12416A;--tp-text:#F7FAFF;--tp-muted:#D2E3FD;--tp-nav:#06152D;--tp-action:#FF9638;--tp-input:#12385A;--tp-line:#527DA4;--tp-footer:#04101F;--tp-input-text:#F7FAFF;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#092448;--tp-outline:#527DA4;color-scheme:dark;}
html[data-aws-theme="crystal"]{--tp-page:#EEF4F6;--tp-surface:#FFFFFF;--tp-surface-alt:#F2F7F8;--tp-text:#172E3C;--tp-muted:#536672;--tp-nav:#E7F3F7;--tp-action:#B44510;--tp-input:#FFFFFF;--tp-line:#B5C7CF;--tp-footer:#1D3E4F;--tp-input-text:#172E3C;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFFFFF;--tp-outline:#B5C7CF;color-scheme:light;}
html[data-aws-theme="graphite"]{--tp-page:#161B24;--tp-surface:#262D37;--tp-surface-alt:#303A47;--tp-text:#F7F8F8;--tp-muted:#C9D0D9;--tp-nav:#161D27;--tp-action:#FDA55D;--tp-input:#26313E;--tp-line:#667582;--tp-footer:#10151B;--tp-input-text:#F7F8F8;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#262D37;--tp-outline:#667582;color-scheme:dark;}
html[data-aws-theme="copper"]{--tp-page:#FAE7D4;--tp-surface:#FFF7ED;--tp-surface-alt:#F5E2D0;--tp-text:#402919;--tp-muted:#655447;--tp-nav:#FBE9D6;--tp-action:#8A3414;--tp-input:#FFF6EC;--tp-line:#C9B6A8;--tp-footer:#5F2B1D;--tp-input-text:#402919;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFF7ED;--tp-outline:#C9B6A8;color-scheme:light;}
html[data-aws-theme="violet"]{--tp-page:#24112A;--tp-surface:#392043;--tp-surface-alt:#452D55;--tp-text:#F9F5FC;--tp-muted:#DCCCE6;--tp-nav:#251329;--tp-action:#E8B5F3;--tp-input:#382041;--tp-line:#7D6B89;--tp-footer:#190A20;--tp-input-text:#F9F5FC;--tp-nav-text:#FFFFFF;--tp-action-ink:#0D1828;--tp-section:#392043;--tp-outline:#7D6B89;color-scheme:dark;}
html[data-aws-theme="contrast"]{--tp-page:#FFFFFF;--tp-surface:#FFFFFF;--tp-surface-alt:#FFFFFF;--tp-text:#000000;--tp-muted:#000000;--tp-nav:#000000;--tp-action:#FFFF00;--tp-input:#FFFFFF;--tp-line:#000000;--tp-footer:#000000;--tp-input-text:#000000;--tp-nav-text:#0B203F;--tp-action-ink:#000000;--tp-section:#FFFFFF;--tp-outline:#000000;color-scheme:light;}
html[data-aws-theme="coastal"]{--tp-page:#EDF7FF;--tp-surface:#FFFFFF;--tp-surface-alt:#EFF7FC;--tp-text:#183F58;--tp-muted:#415D72;--tp-nav:#E7F3FA;--tp-action:#F77909;--tp-input:#FFFFFF;--tp-line:#A0C8D9;--tp-footer:#0B203F;--tp-input-text:#183F58;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFFFFF;--tp-outline:#A0C8D9;color-scheme:light;}
html[data-aws-theme="soft"]{--tp-page:#FFF8ED;--tp-surface:#FFFFFF;--tp-surface-alt:#FFF8ED;--tp-text:#332C25;--tp-muted:#625447;--tp-nav:#FFF1E0;--tp-action:#B64C0B;--tp-input:#FFFFFF;--tp-line:#DFCCB4;--tp-footer:#0B203F;--tp-input-text:#332C25;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFFFFF;--tp-outline:#DFCCB4;color-scheme:light;}
html[data-aws-theme="dark"]{--tp-page:#F4F6FA;--tp-surface:#FFFFFF;--tp-surface-alt:#EEF3F8;--tp-text:#0B203F;--tp-muted:#516478;--tp-nav:#11213B;--tp-action:#F77909;--tp-input:#FFFFFF;--tp-line:#CAD5E1;--tp-footer:#0B203F;--tp-input-text:#0B203F;--tp-nav-text:#0B203F;--tp-action-ink:#FFFFFF;--tp-section:#FFFFFF;--tp-outline:#CAD5E1;color-scheme:light;}

/* Theme-specific photography and softer translucent panels */
html[data-aws-theme="cinematic"] {--tp-photo:url('/assets/images/aws-themes/horizon.webp');--tp-section:rgba(12,30,51,.90);}
html[data-aws-theme="aurora"] {--tp-photo:url('/assets/images/aws-themes/aurora.webp');--tp-section:rgba(9,32,63,.9);}
html[data-aws-theme="crystal"] {--tp-photo:url('/assets/images/aws-themes/glass.webp');--tp-section:rgba(255,255,255,.92);--tp-overlay-rgb:239,245,247;--tp-photo-opacity:.27;}
/* The user may select a photographic background independently of the theme. */
html[data-aws-background="horizon"] {--tp-photo:url('/assets/images/aws-themes/horizon.webp');}
html[data-aws-background="aurora"] {--tp-photo:url('/assets/images/aws-themes/aurora.webp');}
html[data-aws-background="glass"] {--tp-photo:url('/assets/images/aws-themes/glass.webp');}
html[data-aws-background="night"] {--tp-photo:url('/assets/images/aws-themes/night-city.webp');}
html[data-aws-background="mist"] {--tp-page:#EDF4FA;}
html[data-aws-background="warm"] {--tp-page:#FFF5E7;}
html[data-aws-background="stone"] {--tp-page:#EEEDEB;}
html[data-aws-overlay="deep"]{--tp-photo-opacity:.88}
html[data-aws-overlay="light"]{--tp-photo-opacity:.50}
html[data-aws-position="left"]{--tp-photo-position:left center}
html[data-aws-position="right"]{--tp-photo-position:right center}
html[data-aws-position="top"]{--tp-photo-position:center top}
/* Token fallbacks allow changing the background alone while the default stays untouched. */
html[data-aws-background] {--tp-page:var(--tp-page,#FFFFFF);--tp-surface:var(--tp-surface,#FFFFFF);--tp-surface-alt:var(--tp-surface-alt,#F4F7FA);--tp-text:var(--tp-text,#0B203F);--tp-muted:var(--tp-muted,#516478);--tp-nav:var(--tp-nav,#FFFFFF);--tp-nav-text:var(--tp-nav-text,#0B203F);--tp-action:var(--tp-action,#F77909);--tp-action-ink:var(--tp-action-ink,#0B203F);--tp-input:var(--tp-input,#FFFFFF);--tp-input-text:var(--tp-input-text,#0B203F);--tp-line:var(--tp-line,#D7E1EA);--tp-footer:var(--tp-footer,#071C34);--tp-overlay-rgb:3,15,30;--tp-photo-opacity:.74;--tp-photo-position:center;}
/* The Glass background is a light image, so use a light veil. */
html[data-aws-background="glass"] {--tp-overlay-rgb:239,245,247;--tp-photo-opacity:.28;}
/* Original theme: zero cascade changes. Everything below requires an explicit theme. */
html[data-aws-theme] body.aws-global-theme {background:var(--tp-page);color:var(--tp-text);}
html[data-aws-theme] body.aws-global-theme main {background:transparent;}
html[data-aws-theme] body.aws-global-theme .aws-ga-header {background:var(--tp-nav)!important;border-color:var(--tp-line)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-brand .brand-copy :is(strong,small),
html[data-aws-theme] body.aws-global-theme .aws-ga-nav > a:not(.aws-ga-top-cta),
html[data-aws-theme] body.aws-global-theme .aws-settings-link {color:var(--tp-nav-text)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-nav-divider {border-color:var(--tp-line)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-top-cta,
html[data-aws-theme] body.aws-global-theme .aws-ga-orange-btn,
html[data-aws-theme] body.aws-global-theme .btn-primary {background:var(--tp-action)!important;color:var(--tp-action-ink)!important;border-color:var(--tp-action)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-top-cta:hover,
html[data-aws-theme] body.aws-global-theme .aws-ga-orange-btn:hover,
html[data-aws-theme] body.aws-global-theme .btn-primary:hover {filter:brightness(1.11);}
html[data-aws-theme] body.aws-global-theme .aws-ga-menu-toggle span {background:var(--tp-nav-text)!important;}
@media(max-width:960px){html[data-aws-theme] body.aws-global-theme .aws-ga-nav{background:var(--tp-nav)!important;}}
/* Large section surfaces; retain page geometry and content structure. */
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-services,.aws-ga-featured,.aws-ga-steps,.aws-ga-growth,.aws-ga-growth-content,.section,.page-hero,.dashboard-head,.discovery-section,.corporate-cta,.ls-page,.directory-section) {background-color:var(--tp-page)!important;color:var(--tp-text)!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-services,.aws-ga-featured,.aws-ga-steps,.aws-ga-growth-content,.page-hero,.dashboard-head,.section,.directory-section) :is(h1,h2,h3,h4){color:var(--tp-text);}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-section-heading p,.aws-ga-section-heading h2,.aws-ga-growth-inner>p,.aws-ga-growth-inner h2,.aws-ga-steps h2,.aws-ga-steps-grid h3,.aws-ga-steps-grid p,.page-hero p,.dashboard-head p){color:var(--tp-muted)!important;}
/* Hero photography is intentionally supplied by the single page-level background layer. */
/* The main hero remains a dark, readable visual statement. */
html[data-aws-theme] body.aws-global-theme .aws-ga-hero{background:linear-gradient(120deg,var(--tp-hero-bg),var(--tp-nav));color:var(--tp-hero-text);}
html[data-aws-theme] body.aws-global-theme .aws-ga-hero-shape{background:linear-gradient(105deg,var(--tp-hero-bg) 0%,var(--tp-hero-bg) 51%,transparent 69%);}
html[data-aws-theme] body.aws-global-theme .aws-ga-hero :is(h1,.aws-ga-copy h1){color:#FFF!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-hero :is(.aws-ga-hero-desc,.aws-ga-chips,.aws-ga-hero-note p){color:#F0F3F8!important;}
/* Shared content surfaces and all their text pairs. */
html[data-aws-theme] body.aws-global-theme main :is(.panel,.auth-card,.form-card,.side-panel,.ls-panel,.ls-card,.listing-card,.roadmap-item,.service-card,.aws-ga-service,.aws-ga-business-card,.aws-ga-directory-empty,.help-panel,.directory-search,.info-panel,.empty-state,.aws-business-inbox-shortcut,.aws-ga-growth-benefits>div) {
 background:var(--tp-surface)!important;color:var(--tp-text)!important;border-color:var(--tp-line)!important;box-shadow:0 14px 36px rgba(0,0,0,.13);
}
html[data-aws-theme] body.aws-global-theme main :is(.panel,.auth-card,.form-card,.side-panel,.ls-panel,.ls-card,.listing-card,.roadmap-item,.service-card,.aws-ga-service,.aws-ga-business-card,.aws-ga-directory-empty,.help-panel,.directory-search,.info-panel,.empty-state) :is(h1,h2,h3,h4,h5,h6,b,strong,label) {color:var(--tp-text)!important;}
html[data-aws-theme] body.aws-global-theme main :is(.panel,.auth-card,.form-card,.side-panel,.ls-panel,.ls-card,.listing-card,.roadmap-item,.service-card,.aws-ga-service,.aws-ga-business-card,.aws-ga-directory-empty,.help-panel,.directory-search,.info-panel,.empty-state) :is(p,small,.meta,.form-small,.aws-ga-service-state) {color:var(--tp-muted)!important;}
html[data-aws-theme] body.aws-global-theme main :is(.auth-card,.form-card,.panel,.side-panel,.ls-panel,.directory-search,.aws-ga-search) :is(input:not([type=radio]):not([type=checkbox]),textarea,select) {
 background:var(--tp-input)!important;color:var(--tp-input-text)!important;border:1px solid var(--tp-line)!important;box-shadow:none!important;opacity:1!important;
}
html[data-aws-theme] body.aws-global-theme main :is(.auth-card,.form-card,.panel,.side-panel,.ls-panel,.directory-search,.aws-ga-search) :is(input,textarea)::placeholder{color:var(--tp-muted)!important;opacity:1;}
html[data-aws-theme] body.aws-global-theme main :is(.auth-card,.form-card,.panel,.side-panel,.ls-panel,.directory-search) :is(a,.text-link){color:var(--tp-action)!important;text-decoration-thickness:1px;}
html[data-aws-theme] body.aws-global-theme main :is(.auth-card,.form-card,.panel,.side-panel,.ls-panel,.directory-search) .btn-primary{color:var(--tp-action-ink)!important;}
/* Sign-in/register split: contrast is controlled independently for the intro and the form. */
html[data-aws-theme] body.aws-global-theme .auth-background{background:linear-gradient(105deg,var(--tp-hero-bg) 0%,var(--tp-hero-bg) 50%,var(--tp-page) 50%,var(--tp-page) 100%)!important;}
html[data-aws-theme] body.aws-global-theme .auth-intro :is(h1,h2,p,.kicker,.auth-note){color:#FFF!important;}
html[data-aws-theme] body.aws-global-theme .auth-intro h1 em{color:#EBCDA1!important;}
/* Directory and service-specific panels. */
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-service-live,.roadmap-item.live,.service-card-live){background:var(--tp-surface-alt)!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-service h3,.aws-ga-business-information h3,.aws-ga-growth-benefits strong){color:var(--tp-text)!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-service p,.aws-ga-business-information p,.aws-ga-growth-benefits p,.aws-ga-business-information>span){color:var(--tp-muted)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-search{background:var(--tp-surface)!important;border-color:var(--tp-line)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-search-field, html[data-aws-theme] body.aws-global-theme .aws-ga-search-field label{color:var(--tp-text)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-search-field>svg{stroke:var(--tp-text)!important;}
html[data-aws-theme] body.aws-global-theme .aws-ga-search-field+ .aws-ga-search-field{border-color:var(--tp-line)!important;}
/* Notifications retain meaningful semantic colours and readable text. */
html[data-aws-theme] body.aws-global-theme .flash{background:#EAF7EE!important;color:#134F32!important;border-color:#9CCEB0!important;}
html[data-aws-theme] body.aws-global-theme .flash-error{background:#FFF0EF!important;color:#8F1D21!important;border-color:#E9AEAB!important;}
html[data-aws-theme] body.aws-global-theme .flash-info{background:#EAF2FC!important;color:#144572!important;border-color:#A7C4E7!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-footer,.site-footer){background:var(--tp-footer)!important;color:#F2F6FA!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-footer,.site-footer) :is(p,a,small){color:#DAE5EF!important;}
html[data-aws-theme] body.aws-global-theme :is(.aws-ga-footer,.site-footer) :is(strong,b,h3){color:#FFFFFF!important;}
/* ==========================================================
   SINGLE PAGE-LEVEL PHOTOGRAPHIC BACKGROUND
   The selected image stays behind the whole page. Hero areas
   do not load or paint separate photographs.
   ========================================================== */

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme {
  background:transparent !important;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-color:var(--tp-page,#06182F);
  background-image:
    linear-gradient(
      rgba(var(--tp-overlay-rgb,3,15,30),var(--tp-photo-opacity,.76)),
      rgba(var(--tp-overlay-rgb,3,15,30),var(--tp-photo-opacity,.76))
    ),
    var(--tp-photo);
  background-position:center,var(--tp-photo-position,center);
  background-size:cover;
  background-repeat:no-repeat;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme > main {
  position:relative;
  z-index:1;
  background:transparent !important;
}

/* Transparent page-level sections allow the shared photograph to remain visible. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main > :is(
  section, .section, .page-section, .content-section, .page-content,
  .page-hero, .dashboard-head, .discovery-section, .corporate-cta,
  .ls-page, .directory-section, .aws-services-page, .auth-background
),
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  .aws-ga-services, .aws-ga-featured, .aws-ga-steps,
  .aws-ga-growth, .aws-ga-growth-content, .page-hero,
  .dashboard-head, .section, .page-section, .content-section,
  .page-content, .discovery-section, .corporate-cta, .ls-page,
  .directory-section, .aws-services-page, .aws-srv-section, .auth-background,
  .aws-srv-section-muted, .aws-srv-future
) {
  background-color:transparent !important;
  color:var(--tp-text,#F8FAFF) !important;
}

/* Type, spacing and accessibility are independent of chosen theme. */
html[data-aws-font="system"] body.aws-global-theme{--tp-font:system-ui,-apple-system,"Segoe UI",sans-serif;}
html[data-aws-font="arial"] body.aws-global-theme{--tp-font:Arial,Helvetica,sans-serif;}
html[data-aws-font="georgia"] body.aws-global-theme{--tp-font:Georgia,"Times New Roman",serif;}
html[data-aws-font="verdana"] body.aws-global-theme{--tp-font:Verdana,Geneva,sans-serif;}
html[data-aws-font] body.aws-global-theme{font-family:var(--tp-font)!important;}
html[data-aws-font] body.aws-global-theme main :is(p,li,label,h1,h2,h3,input,textarea,select,button){font-family:var(--tp-font)!important;}
html[data-aws-size="large"]{font-size:112.5%;}
html[data-aws-size="larger"]{font-size:125%;}
html[data-aws-size="large"] body.aws-global-theme main :is(p,li,label,input,select,textarea){font-size:max(1em,1rem)!important;}
html[data-aws-size="larger"] body.aws-global-theme main :is(p,li,label,input,select,textarea){font-size:max(1em,1.07rem)!important;}
html[data-aws-density="compact"] body.aws-global-theme main :is(p,li){line-height:1.47;}
html[data-aws-density="comfortable"] body.aws-global-theme main :is(p,li){line-height:1.85;}
html[data-aws-links="underline"] body.aws-global-theme main a:not(.btn):not(.aws-ga-orange-btn){text-decoration:underline;text-underline-offset:.22em;}
html[data-aws-contrast="high"] body.aws-global-theme main :is(input,select,textarea){border-width:2px!important;}
html[data-aws-contrast="high"] body.aws-global-theme :is(a,button,input,textarea,select):focus-visible {outline:3px solid #F77909!important;outline-offset:3px!important;}
html[data-aws-motion="reduce"] *,html[data-aws-motion="reduce"] *::before,html[data-aws-motion="reduce"] *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;}}
@media(max-width:780px){html[data-aws-theme] body.aws-global-theme .auth-background{background:var(--tp-hero-bg)!important;}html[data-aws-theme] body.aws-global-theme .auth-card{background:var(--tp-surface)!important;}html[data-aws-theme] body.aws-global-theme main :is(.aws-ga-services,.aws-ga-featured,.aws-ga-steps){padding-inline:0;}}

/* FOOTER LAYER: Keep the existing footer above fixed photographic backgrounds. */
html:is([data-aws-theme],[data-aws-background])
body.aws-global-theme > footer.site-footer.aws-ga-footer {
  position:relative !important;
  z-index:3 !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Preserve its approved navy background when only a photo was selected. */
html[data-aws-background]:not([data-aws-theme])
body.aws-global-theme > footer.site-footer.aws-ga-footer {
  background-color:#0B203F !important;
}

/* ----------------------------------------------------------
   PHOTOGRAPHIC THEMES: contrast-safe frosted informational panels.
   Deliberately exclude the business cards, hero, footer and Original.
   ---------------------------------------------------------- */

/* ==========================================================
   PHOTO THEMES — READABLE CONTENT SURFACES ACROSS ALL PAGES
   Dark photography uses dark frosted panels and light text.
   Crystal Glass uses light frosted panels and dark text.
   Existing cards, forms, alerts, tables, navigation and footer
   retain their own component styling.
   ========================================================== */

/* Dark photographic themes and backgrounds. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-background="horizon"], [data-aws-background="aurora"],
  [data-aws-background="night"]
) {
  --aws-photo-panel:rgba(6,24,45,.86);
  --aws-photo-heading:#FFFFFF;
  --aws-photo-copy:#F0F5FA;
  --aws-photo-link:#FFD0A0;
  --aws-photo-accent:#FFB264;
  --aws-photo-border:rgba(255,255,255,.23);
}

/* Crystal Glass and the Glass background use light translucent surfaces. */
html:is([data-aws-theme="crystal"],[data-aws-background="glass"]) {
  --tp-overlay-rgb:239,245,247;
  --tp-photo-opacity:.28;
  --aws-photo-panel:rgba(255,255,255,.88);
  --aws-photo-heading:#10283D;
  --aws-photo-copy:#30495D;
  --aws-photo-link:#124B73;
  --aws-photo-accent:#A63C0A;
  --aws-photo-border:rgba(17,47,67,.18);
}

/* Purpose-built copy panels used by the corporate pages and homepage. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  .aws-ga-services .aws-ga-section-heading,
  .aws-ga-featured .aws-ga-section-heading,
  .aws-ga-steps .aws-ga-steps-wrap,
  .aws-ga-growth .aws-ga-growth-inner,
  .aws-srv-heading,
  .aws-srv-future-panel,
  .auth-intro,
  .page-intro,
  .page-heading,
  .content-intro,
  .corporate-intro,
  .about-intro,
  .page-copy-panel,
  .content-copy-panel,
  .about-copy-panel
) {
  background:var(--aws-photo-panel) !important;
  color:var(--aws-photo-copy) !important;
  border:1px solid var(--aws-photo-border) !important;
  border-radius:15px;
  padding:clamp(16px,2.3vw,28px);
  box-shadow:0 16px 40px rgba(0,12,28,.12);
  -webkit-backdrop-filter:blur(11px);
  backdrop-filter:blur(11px);
}

/* Site-wide fallback: place individual text blocks on a readable surface
   when a page does not provide a dedicated content panel. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  h1,h2,h3,h4,h5,h6,p,li,blockquote,dt,dd,address,
  .lead,.description,.summary,.intro,.content-text,.text-content,
  .page-description,.page-intro-text,.help-text,.form-hint,.muted-text
):not(:is(
  .aws-prem *, .aws-srv-card *, .aws-srv-heading *, .aws-srv-future-panel *,
  .aws-ga-service *, .aws-ga-business-card *, .aws-ga-section-heading *,
  .aws-ga-steps-wrap *, .aws-ga-growth-inner *, .auth-intro *, .panel *, .card *,
  .auth-card *, .form-card *, .side-panel *, .ls-panel *, .ls-card *,
  .listing-card *, .roadmap-item *, .service-card *,
  .aws-ga-directory-empty *, .help-panel *, .directory-search *,
  .info-panel *, .empty-state *, .aws-prem *, .modal *, .flash *,
  .flash-error *, .flash-info *, .alert *, .notice *,
  .aws-ga-header *, .aws-ga-footer *, .site-header *, .site-footer *,
  .fb-business-profile *, form *, table *
)) {
  background:var(--aws-photo-panel) !important;
  color:var(--aws-photo-copy) !important;
  border:1px solid var(--aws-photo-border) !important;
  border-radius:9px;
  padding:.45em .7em;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
}

/* Heading contrast and links inside the site-wide text surfaces. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(h1,h2,h3,h4,h5,h6):not(:is(
  .aws-srv-card *, .aws-ga-service *, .aws-ga-business-card *,
  .panel *, .card *, .auth-card *, .form-card *, .listing-card *,
  .modal *, .aws-prem *, .site-footer *, .aws-ga-footer *
)) {
  color:var(--aws-photo-heading) !important;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(p,li,blockquote,dt,dd,address):not(:is(
  .aws-srv-card *, .aws-ga-service *, .aws-ga-business-card *,
  .panel *, .card *, .auth-card *, .form-card *, .listing-card *,
  .modal *, .aws-prem *, .site-footer *, .aws-ga-footer *
)) :is(a) {
  color:var(--aws-photo-link) !important;
  text-decoration-color:currentColor;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(li)::marker {
  color:var(--aws-photo-accent);
}

/* Keep the settings application itself in its approved light workspace. */
html:is([data-aws-theme],[data-aws-background]) body.aws-global-theme .aws-prem,
html:is([data-aws-theme],[data-aws-background]) body.aws-global-theme .aws-prem * {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

/* Dark themes: readable homepage inline links and warm hover. */
html:is(
  [data-aws-theme="obsidian"], [data-aws-theme="crimson"],
  [data-aws-theme="royal"], [data-aws-theme="emerald"],
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="graphite"], [data-aws-theme="violet"],
  [data-aws-background="horizon"], [data-aws-background="aurora"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  .aws-ga-section-heading, .aws-ga-growth-actions
) .aws-ga-inline-link {
  color:#FFFFFF !important;
  opacity:1 !important;
  text-decoration-color:currentColor !important;
  transition:color .25s ease;
}

body.aws-global-theme main .aws-ga-inline-link span {
  color:inherit !important;
}

html:is(
  [data-aws-theme="obsidian"], [data-aws-theme="crimson"],
  [data-aws-theme="royal"], [data-aws-theme="emerald"],
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="graphite"], [data-aws-theme="violet"],
  [data-aws-background="horizon"], [data-aws-background="aurora"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  .aws-ga-section-heading, .aws-ga-growth-actions
) .aws-ga-inline-link:hover {
  color:#FFB366 !important;
}

/* Business benefits: the three cards share spacing, corners and text rhythm. */
body.aws-global-theme .aws-ga-growth-benefits > div {
  padding:20px 18px !important;
  border-radius:12px !important;
  box-sizing:border-box;
  min-width:0;
}
body.aws-global-theme .aws-ga-growth-benefits strong {margin-bottom:8px;}
body.aws-global-theme .aws-ga-growth-benefits p {line-height:1.6;}
@media (max-width:650px) {
  body.aws-global-theme .aws-ga-growth-benefits > div {
    padding:14px 12px !important;
    border-radius:10px !important;
  }
}


/* ==========================================
   AWS — BUSINESS PROFILE BANNER
   Automatic theme colour matching
   ========================================== */

/* Match the surrounding page background */
html[data-aws-theme]
body.aws-global-theme .fb-business-profile {
    background: var(--tp-page) !important;
}

/* Match the profile identity banner */
html[data-aws-theme]
body.aws-global-theme .fb-business-identity {
    background: var(--tp-page) !important;
    border-color: var(--tp-line) !important;
}

/* Match all profile heading and information text */
html[data-aws-theme]
body.aws-global-theme .fb-business-identity-copy :is(
    h1,
    .fb-business-back,
    .fb-business-category,
    .fb-business-location
) {
    color: var(--tp-text) !important;
    opacity: 1 !important;
}

/* Make the back link easy to identify */
html[data-aws-theme]
body.aws-global-theme .fb-business-back {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Preserve the business logo's white background */
html[data-aws-theme]
body.aws-global-theme .fb-business-avatar,
html[data-aws-theme]
body.aws-global-theme .fb-business-avatar img {
    background: #FFFFFF !important;
}


/* ==========================================
   BUSINESS PROFILE — THEME-AWARE CONTRAST
   ========================================== */

html:is([data-aws-theme],[data-aws-background])
body.aws-global-theme
main:has(.fb-business-identity)
:is(h1,h2,h3,h4,h5,h6,p,li,small,span,strong,b,dt,dd,address,time) {
    color:var(--tp-text,#10243B) !important;
    opacity:1 !important;
}

html:is([data-aws-theme],[data-aws-background])
body.aws-global-theme
main:has(.fb-business-identity)
a:not(.btn):not(.button) {
    color:var(--tp-action,#154B73) !important;
    opacity:1 !important;
    text-decoration-color:currentColor !important;
}

html:is([data-aws-theme],[data-aws-background])
body.aws-global-theme
main:has(.fb-business-identity)
a:not(.btn):not(.button):hover {
    color:var(--tp-action-ink,#0B203F) !important;
}

html:is([data-aws-theme],[data-aws-background])
body.aws-global-theme
main:has(.fb-business-identity)
:is(.notice,.alert,.flash,.disclaimer)
:is(p,span,small,strong,b,a) {
    color:#10243B !important;
}


/* ==========================================================
   HERO BACKGROUND CONSOLIDATION
   In photo modes, show the one shared body photograph behind
   every hero. Remove only separate hero background images.
   Original theme keeps its approved hero photography.
   ========================================================== */

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(
  .aws-ga-hero,.aws-ga-hero-shape,.aws-ga-hero-photo,.aws-srv-hero,
  .page-hero,.hero-section,.hero-banner,.hero-background
) {
  background-color:transparent !important;
  background-image:none !important;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(.aws-ga-hero-photo,.aws-srv-hero,.page-hero,.hero-section,.hero-banner,.hero-background)::before,
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme main :is(.aws-ga-hero-photo,.aws-srv-hero,.page-hero,.hero-section,.hero-banner,.hero-background)::after {
  content:none !important;
  background:none !important;
  background-image:none !important;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme .aws-services-page,
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme .aws-services-page .aws-srv-hero {
  background-color:transparent !important;
  background-image:none !important;
  color:var(--aws-photo-heading) !important;
}

/* Hero copy remains readable without introducing another photograph. */
html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme .aws-services-page .aws-srv-hero
:is(.aws-srv-overline,h1,.aws-srv-hero-copy) {
  background:var(--aws-photo-panel) !important;
  color:var(--aws-photo-copy) !important;
  border:1px solid var(--aws-photo-border) !important;
  border-radius:10px;
  padding:.42em .68em;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme .aws-services-page .aws-srv-hero h1 {
  color:var(--aws-photo-heading) !important;
}

html:is(
  [data-aws-theme="cinematic"], [data-aws-theme="aurora"],
  [data-aws-theme="crystal"], [data-aws-background="horizon"],
  [data-aws-background="aurora"], [data-aws-background="glass"],
  [data-aws-background="night"]
) body.aws-global-theme .aws-services-page .aws-srv-hero h1 em {
  color:var(--aws-photo-accent) !important;
}
