/*
Theme Name: Annapurna Media — Programmatic AdTech
Theme URI: https://www.annapurnamedia.in/
Author: Annapurna Media
Description: Complete programmatic-first AdTech website with auto-created pages and Elementor-compatible section data.
Version: 2.0.0
Text Domain: annapurna-media
*/

/* =====================================================================
   V28 — SINGLE CLEAN RESPONSIVE SYSTEM
   Replaces the stacked V20–V27 override layers (they fought each other).

   How it works
   1. ONE container (.am-wrap) sets the page width. Master canvas 1365px.
      Header, hero, every section, partners and footer all use it, so all
      left/right edges line up.
   2. Elementor wrappers are neutralised inside <main class="am-main">
      (no 1140px boxed width, no 10px column padding, no 20px widget gaps).
   3. Breakpoints: 1200 · 992 · 900 (menu) · 768 · 640 · 560 · 480
   ===================================================================== */

:root{
  --bg:#060914;--bg2:#0a1020;--panel:#0b1224;--panel2:#0e1730;
  --white:#F8FAFC;--grey:#94A3B8;--muted:#64748B;
  --purple:#8B5CF6;--cyan:#22D3EE;--blue:#3B82F6;
  --line:rgba(148,163,184,.16);--r:22px;

  --am-master:1365px;                       /* desktop content width */
  --am-gutter:20px;                         /* side space, grows with screen */
  --am-section-y:clamp(52px,5.6vw,84px);    /* vertical section padding */
  --am-head-mb:clamp(28px,3vw,44px);        /* space under section headings */
  --am-gap:clamp(14px,1.5vw,24px);          /* default grid gap */
  --am-header-h:76px;
}
@media(min-width:640px){:root{--am-gutter:28px}}
@media(min-width:1340px){:root{--am-gutter:clamp(26px,2vw,48px)}}
@media(max-width:899px){:root{--am-header-h:68px}}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;min-width:0;overflow-x:clip;color:var(--white);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;
  background:
    radial-gradient(900px 500px at 90% -10%,rgba(59,130,246,.14),transparent 60%),
    radial-gradient(800px 500px at 0% 15%,rgba(139,92,246,.13),transparent 60%),
    var(--bg);
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background-image:linear-gradient(rgba(148,163,184,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.028) 1px,transparent 1px);
  background-size:56px 56px;mask-image:linear-gradient(to bottom,black,transparent 80%);
}
a{text-decoration:none;color:inherit}
img{max-width:100%}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

h1,h2,h3,h4{font-family:Manrope,Inter,sans-serif;letter-spacing:-.04em;margin:0;overflow-wrap:break-word}
h1{font-size:clamp(36px,5vw,72px);line-height:1.04}
.am-h2{font-size:clamp(30px,3.7vw,54px);line-height:1.08}
.am-h3{font-size:clamp(19px,1.7vw,22px);line-height:1.2}
.am-grad{background:linear-gradient(100deg,#fff 18%,#c4b5fd 56%,#67e8f9 92%);-webkit-background-clip:text;background-clip:text;color:transparent}
.am-kicker{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:#a99bff;font-weight:600;margin-bottom:12px}
.am-copy,.am-hero p{color:#a6b2c5;font-size:clamp(15px,1.25vw,18px);line-height:1.62;max-width:680px}
.am-hero p{margin:18px 0 0}

/* ---------- THE container (one width for the whole site) ---------- */
.am-wrap,
.am-header-inner{
  width:100%;
  max-width:calc(var(--am-master) + (var(--am-gutter) * 2));
  margin-inline:auto;
  padding-inline:var(--am-gutter);
}
.am-wrap .am-wrap{padding-inline:0;max-width:none}   /* never double-pad nested wraps */

/* ---------- Sections ---------- */
.am-section{padding-block:var(--am-section-y)}
.am-section.alt{background:linear-gradient(180deg,rgba(255,255,255,.017),rgba(255,255,255,.005));border-block:1px solid rgba(148,163,184,.06)}
.am-banner{padding-block:clamp(40px,5vw,72px)}
/* sub-page title blocks carry an inline padding-bottom; keep it proportional */
.am-section[style*="padding-bottom:45px"]{padding-bottom:clamp(24px,3vw,45px)!important}

.am-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:clamp(24px,4vw,64px);margin-bottom:var(--am-head-mb)}
.am-section-head>div{min-width:0}
.am-section-head .am-h2{max-width:26ch}
.am-section-head p{flex:0 1 460px;max-width:460px;margin:0;color:#9ca9bc;font-size:clamp(14px,1.15vw,16px);line-height:1.6}
.am-section-head>.am-btn{flex:none}

/* ---------- Buttons ---------- */
.am-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:clamp(22px,2.4vw,32px)}
.am-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 22px;border-radius:13px;border:1px solid var(--line);font-size:14px;font-weight:600;line-height:1.2;transition:transform .2s,border-color .2s}
.am-btn:hover{transform:translateY(-2px)}
.am-btn.primary{border-color:transparent;background:linear-gradient(135deg,var(--purple),var(--blue));box-shadow:0 15px 45px rgba(59,130,246,.2)}
.am-btn.ghost{background:rgba(255,255,255,.02)}

/* ---------- Generic grids ---------- */
.am-grid2,.am-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--am-gap)}
.am-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--am-gap)}
.am-grid4,.am-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--am-gap)}
.am-grid2>*,.am-split>*,.am-cards>*,.am-grid4>*,.am-stats>*{min-width:0}

.am-card,.am-feature,.am-tile{border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(150deg,rgba(14,23,48,.9),rgba(7,12,25,.78));box-shadow:0 14px 46px rgba(0,0,0,.16)}
.am-card{padding:clamp(22px,2vw,30px);transition:transform .25s,border-color .25s}
.am-card:hover{transform:translateY(-5px);border-color:rgba(139,92,246,.35)}
.am-card p,.am-feature p{color:#a5b1c4;font-size:15px}
.am-icon{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,rgba(139,92,246,.2),rgba(34,211,238,.12));border:1px solid rgba(139,92,246,.25);display:grid;place-items:center;margin-bottom:17px}
.am-feature{padding:clamp(24px,2.6vw,38px)}
.am-feature .am-h2{font-size:clamp(26px,2.9vw,40px)}
.am-feature ul{list-style:none;padding:0;margin:20px 0 0}
.am-feature li{padding:13px 0;border-bottom:1px solid rgba(148,163,184,.08);font-size:15.5px;color:#a7b2c3;display:flex;gap:11px}
.am-feature li::before{content:"↗";color:var(--cyan);flex:none}
.am-feature li:last-child{border-bottom:0}
.am-feature li b{display:block;color:#e8edf6;font-weight:600;font-size:15.5px}
.am-feature li small{display:block;color:#8c9ab0;font-size:13.5px;line-height:1.5;margin-top:2px}
.am-tile{padding:clamp(20px,1.8vw,26px)}
.am-tile b{font-size:14px}
.am-tile span{display:block;color:#8796ae;font-size:13.5px;margin-top:7px}
.am-stat{padding:clamp(20px,2vw,28px) clamp(16px,1.6vw,22px);border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.02)}
.am-num{font-family:Manrope,sans-serif;font-size:clamp(22px,2.2vw,30px);overflow-wrap:anywhere}
.am-stat span{display:block;color:#75839b;font-size:12px;margin-top:4px}

/* ---------- Ecosystem flow (5 boxes + 4 arrows) ---------- */
.am-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr) clamp(20px,2.4vw,40px)) minmax(0,1fr);align-items:center;gap:0}
.am-flowbox{padding:clamp(16px,1.6vw,24px) 12px;text-align:center;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#0e1730,#09111f);height:100%;display:flex;flex-direction:column;justify-content:center}
.am-flowbox b{font-size:clamp(12px,1vw,14px);line-height:1.3}
.am-flowbox span{display:block;color:#7d8da8;font-size:clamp(10.5px,.85vw,12px);margin-top:3px;line-height:1.35}
.am-arrow{text-align:center;color:#8a98ba;font-size:16px;line-height:1}

/* ---------- Banner ---------- */
.am-bannerbox{padding:clamp(28px,4vw,60px);border:1px solid rgba(139,92,246,.3);border-radius:clamp(22px,2.4vw,30px);background:radial-gradient(500px 220px at 82% 10%,rgba(139,92,246,.2),transparent 65%),linear-gradient(145deg,#10163a,#0b1120);display:flex;align-items:center;justify-content:space-between;gap:clamp(24px,4vw,64px)}
.am-bannerbox .am-h2{font-size:clamp(28px,3.2vw,46px)}
.am-bannerbox .am-copy{margin:14px 0 0}
.am-bannerbox>.am-btn{flex:none}

/* ---------- HERO ---------- */
.am-hero{padding-block:clamp(44px,6vw,96px)}
.am-hero .am-grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,80px);align-items:center}
.am-hero h1{font-size:clamp(38px,4.7vw,68px);line-height:1.02;letter-spacing:-.045em}
.am-hero .am-hero-micro{font-size:clamp(13px,1.1vw,15px);color:#7f8ca3;margin-top:clamp(18px,2vw,26px)}
@media(min-width:1200px){.am-hero{min-height:clamp(560px,calc(100svh - var(--am-header-h)),760px);display:flex;align-items:center}.am-hero>.am-wrap{width:100%}}

/* Network card — drawn in container-query units so it scales perfectly. */
.am-network{
  container-type:inline-size;position:relative;overflow:hidden;
  width:100%;max-width:560px;margin-inline:auto 0;aspect-ratio:1.05;
  border-radius:clamp(24px,6.5cqw,34px);border:1px solid var(--line);
  background:radial-gradient(circle at 50% 48%,rgba(139,92,246,.2),transparent 33%),linear-gradient(160deg,rgba(14,23,48,.88),rgba(6,9,20,.82));
  box-shadow:0 24px 80px rgba(0,0,0,.34);
}
.am-network::before,.am-network::after{content:"";position:absolute;inset:12%;border-radius:50%;border:1px solid rgba(139,92,246,.18);transform:rotate(18deg)}
.am-network::after{inset:24%;transform:rotate(-22deg);border-color:rgba(34,211,238,.16)}
.am-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(104px,28.85cqw);aspect-ratio:1;border-radius:26%;display:grid;place-items:center;text-align:center;z-index:2;background:linear-gradient(145deg,#171340,#101b3f);border:1px solid rgba(139,92,246,.65);box-shadow:0 0 80px rgba(139,92,246,.26),inset 0 0 40px rgba(59,130,246,.12)}
.am-core b{font-family:Manrope,sans-serif;font-size:max(22px,5.2cqw)}
.am-core small{display:block;color:#98a5bf;margin-top:3px;font-size:max(9px,1.9cqw);letter-spacing:.2em;text-transform:uppercase}
.am-node{position:absolute;z-index:3;width:max(112px,25cqw);padding:max(9px,2.3cqw) max(10px,2.7cqw);border:1px solid var(--line);border-radius:max(13px,3.3cqw);background:rgba(9,16,33,.88);backdrop-filter:blur(12px);box-shadow:0 12px 40px rgba(0,0,0,.28);line-height:1.35}
.am-node strong{font-size:max(11px,2.3cqw);white-space:nowrap}
.am-node span{display:block;color:#7d8da8;font-size:max(9.5px,1.9cqw);margin-top:2px}
.am-node::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px var(--cyan)}
.am-node.n1{left:4.6cqw;top:10cqw}
.am-node.n2{right:4.6cqw;top:14.2cqw}
.am-node.n3{left:7.7cqw;bottom:12.7cqw}
.am-node.n4{right:6.5cqw;bottom:15cqw}
.am-node.n1::after,.am-node.n3::after{right:-5px;top:50%;transform:translateY(-50%)}
.am-node.n2::after,.am-node.n4::after{left:-5px;top:50%;transform:translateY(-50%)}
.am-line{position:absolute;height:1px;transform-origin:left center;opacity:.8;background:linear-gradient(90deg,rgba(139,92,246,0),rgba(139,92,246,.5),rgba(34,211,238,.35),rgba(34,211,238,0))}
.am-l1{width:32.7cqw;left:25cqw;top:23.1cqw;transform:rotate(26deg)}
.am-l2{width:32.7cqw;left:51.9cqw;top:25cqw;transform:rotate(-18deg)}
.am-l3{width:33.7cqw;left:26.2cqw;bottom:23.1cqw;transform:rotate(-22deg)}
.am-l4{width:32.3cqw;left:52.1cqw;bottom:24.2cqw;transform:rotate(22deg)}

/* ---------- PROGRAMMATIC SOLUTIONS (17 items) ----------
   Works for BOTH render modes:
   - Elementor:  .am-programmatic-row > .elementor-container > .am-programmatic-col
   - Plain HTML: .am-programmatic-editable-grid > .am-programmatic-editable-card
   9 per row on desktop (single scrollable row) · 5 per row ≥600 · 3 per row below */

/* Shared grid container */
.am-programmatic-editable-grid,
.am-programmatic-row>.elementor-container{
  --cols:3;--pg-gap:8px;--ic-w:64px;--ic-h:64px;
  display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:var(--pg-gap);
  width:100%;box-sizing:border-box;
}

/* On desktop: single row, no wrap, horizontally scrollable if needed */
@media(min-width:1000px){
  .am-programmatic-editable-grid,
  .am-programmatic-row>.elementor-container{
    --pg-gap:14px;--ic-w:80px;--ic-h:80px;
    flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;
    justify-content:center;
    scrollbar-width:none;padding-bottom:4px;
  }
  .am-programmatic-editable-grid::-webkit-scrollbar,
  .am-programmatic-row>.elementor-container::-webkit-scrollbar{display:none}
}

/* Each card */
.am-programmatic-editable-card,
.am-programmatic-row>.elementor-container>.am-programmatic-col{
  flex:0 0 calc((100% - (var(--cols) - 1) * var(--pg-gap)) / var(--cols));
  min-width:0;
}
@media(min-width:1000px){
  .am-programmatic-editable-card,
  .am-programmatic-row>.elementor-container>.am-programmatic-col{
    flex:0 0 clamp(110px, 10.5%, 160px);
    min-width:110px;
  }
}

/* Card inner style */
.am-programmatic-editable-card,
.am-programmatic-col>.elementor-widget-wrap{
  height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;
  padding:16px 10px 14px;border:1px solid rgba(148,163,184,.12);border-radius:18px;
  background:linear-gradient(145deg,rgba(10,16,33,.94),rgba(5,9,20,.92));
  transition:transform .22s,border-color .22s,box-shadow .22s;
  gap:10px;
}
.am-programmatic-editable-card:hover,
.am-programmatic-col:hover>.elementor-widget-wrap{
  transform:translateY(-4px);border-color:rgba(139,92,246,.35);box-shadow:0 18px 44px rgba(0,0,0,.32)
}

/* Icon image */
.am-programmatic-editable-card img,
.am-programmatic-image img{
  display:block;width:var(--ic-w);height:var(--ic-h);object-fit:contain;margin:0 auto;flex-shrink:0;
}
.am-programmatic-image{width:100%;max-width:var(--ic-w);margin:0 auto!important}
.am-programmatic-editable-card img{margin-bottom:0}

/* Label */
.am-programmatic-name,
.am-programmatic-name .elementor-heading-title{
  width:100%;margin:0;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:600;line-height:1.3;
  letter-spacing:-.005em;color:#eef2f7;text-align:center;
  overflow-wrap:break-word;word-break:break-word;hyphens:none;
}
.am-programmatic-editable-card .am-programmatic-name{display:block}

/* Responsive breakpoints */
@media(min-width:480px){
  .am-programmatic-editable-grid,.am-programmatic-row>.elementor-container{--cols:3;--pg-gap:10px;--ic-w:64px;--ic-h:64px}
}
@media(min-width:600px){
  .am-programmatic-editable-grid,.am-programmatic-row>.elementor-container{--cols:5;--pg-gap:12px;--ic-w:70px;--ic-h:70px}
  .am-programmatic-name,.am-programmatic-name .elementor-heading-title{font-size:12px}
}
@media(min-width:1000px){
  .am-programmatic-name,.am-programmatic-name .elementor-heading-title{font-size:13px}
}

/* ---------- Contact ---------- */
.am-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--am-gap)}
.am-contactbox{padding:clamp(22px,2.4vw,34px);border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.018)}
.am-contactbox .am-h2{font-size:clamp(26px,2.6vw,36px);margin-bottom:14px}
.am-contactbox label{display:block;color:#72819a;font-size:11px;text-transform:uppercase;letter-spacing:.14em;margin-bottom:8px}
.am-contactbox input,.am-contactbox textarea{width:100%;padding:14px;border-radius:12px;border:1px solid var(--line);background:#070d1c;color:var(--white);font:inherit;font-size:14px;outline:none;margin-bottom:12px}
.am-contactbox input:focus,.am-contactbox textarea:focus{border-color:rgba(139,92,246,.6)}
.am-contactbox textarea{min-height:135px;resize:vertical}
.am-contactbox form .am-btn{width:100%}
.am-contactbox p{margin:0 0 18px;overflow-wrap:anywhere}
.am-notice{padding:14px 16px;border-radius:14px;background:rgba(34,211,238,.06);border:1px solid rgba(34,211,238,.16);color:#9bb1c6;font-size:13px;margin-top:10px}

/* ---------- Partners (centred last row) ---------- */
.am-partner-grid{--cols:2;--pt-gap:12px;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--pt-gap)}
.am-partner-card{
  flex:0 0 calc((100% - (var(--cols) - 1) * var(--pt-gap)) / var(--cols));
  height:clamp(90px,8vw,120px);padding:10px;border-radius:18px;background:#fff;border:1px solid rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;overflow:hidden;transition:transform .22s,box-shadow .22s;
}
.am-partner-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(0,0,0,.3)}
.am-partner-card img{width:100%;height:100%;object-fit:contain;display:block}
@media(min-width:480px){.am-partner-grid{--cols:3;--pt-gap:12px}}
@media(min-width:680px){.am-partner-grid{--cols:4;--pt-gap:14px}}
@media(min-width:900px){.am-partner-grid{--cols:5}}
@media(min-width:1100px){.am-partner-grid{--cols:6}}
.am-partners{padding-block:clamp(48px,5.5vw,88px)}

/* ---------- Elementor Partner Logos (editable via Elementor) ---------- */
/* Section wrapper */
:is(.am-main,body) .elementor-section.am-home-partners-elementor{
  padding:clamp(48px,5.5vw,88px) 0!important;
}
/* Flex grid for elementor partner columns */
:is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container{
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
  gap:12px!important;align-items:center!important;
  width:100%!important;max-width:calc(var(--am-master) + (var(--am-gutter) * 2))!important;
  margin-inline:auto!important;padding-inline:var(--am-gutter)!important;
  box-sizing:border-box!important;
}
/* Each partner column */
:is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col{
  flex:0 0 calc(50% - 6px)!important;
  min-width:0!important;max-width:none!important;
}
@media(min-width:480px){
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container{gap:12px!important}
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col{flex:0 0 calc(33.333% - 8px)!important}
}
@media(min-width:680px){
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col{flex:0 0 calc(25% - 9px)!important}
}
@media(min-width:900px){
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container{gap:14px!important}
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col{flex:0 0 calc(20% - 11.2px)!important}
}
@media(min-width:1100px){
  :is(.am-main,body) .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col{flex:0 0 calc(16.666% - 11.67px)!important}
}
/* Each image widget inside partner column */
:is(.am-main,body) .am-partner-col>.elementor-widget-wrap{
  padding:0!important;height:clamp(90px,8vw,120px)!important;
  background:#fff!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.16)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;transition:transform .22s,box-shadow .22s!important;padding:10px!important;
}
:is(.am-main,body) .am-partner-col>.elementor-widget-wrap:hover{
  transform:translateY(-4px);box-shadow:0 18px 45px rgba(0,0,0,.3)
}
:is(.am-main,body) .am-partner-image .elementor-widget-container{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;
}
:is(.am-main,body) .am-partner-image img{
  width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;
}

/* ---------- Header / navigation ---------- */
.am-site-header{position:sticky;top:0;z-index:60;height:var(--am-header-h);display:flex;align-items:center;background:rgba(6,9,20,.84);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(148,163,184,.08)}
.am-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:100%}
.am-brand{display:flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-size:16px;font-weight:800;letter-spacing:-.02em}
/* logo: natural proportions, flush with the container's left edge */
.am-logo,.custom-logo-link .custom-logo{display:block;width:auto;height:56px;max-width:none;max-height:none;object-fit:contain}
.am-logo-footer{height:72px}
.custom-logo-link{display:flex;align-items:center}
.am-nav{display:flex;align-items:center;margin-left:auto}
.am-nav ul{display:flex;align-items:center;gap:clamp(18px,2vw,32px);list-style:none;margin:0;padding:0}
.am-nav li{margin:0}
.am-nav a{font-size:clamp(14px,1.1vw,16px);font-weight:500;line-height:1.2;white-space:nowrap;color:#cbd5e1;transition:color .2s}
.am-nav a:hover,.am-nav .current-menu-item>a{color:var(--white)}
.am-menu{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-8px;background:none;border:0;border-radius:10px;color:var(--white);font-size:26px;line-height:1;cursor:pointer}

@media(max-width:899px){
  .am-logo,.custom-logo-link .custom-logo{height:48px}
  .am-menu{display:inline-flex;margin-left:auto}
  .am-nav{display:none}
  .am-nav.am-open{
    display:block;position:absolute;top:calc(100% + 8px);left:var(--am-gutter);right:var(--am-gutter);
    padding:18px 20px;background:#080e1c;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.5);
  }
  .am-nav.am-open ul{flex-direction:column;align-items:flex-start;gap:0}
  .am-nav.am-open li{width:100%;border-bottom:1px solid rgba(148,163,184,.08)}
  .am-nav.am-open li:last-child{border-bottom:0}
  .am-nav.am-open a{display:block;padding:13px 0;font-size:16px}
}

/* ---------- Footer ---------- */
.am-foot{padding:clamp(48px,5.5vw,84px) 0 28px;border-top:1px solid rgba(148,163,184,.09);background:#050812}
.am-footgrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(28px,3vw,48px)}
.am-foot h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c8d1de;margin:0 0 14px}
.am-foot p,.am-foot a{color:#8190a8;font-size:13px}
.am-foot p{margin:0 0 8px;max-width:46ch;overflow-wrap:anywhere}
.am-foot a:hover{color:var(--white)}
.am-foot .am-addr{margin:14px 0 0;line-height:1.55}
.am-foot .am-addr b{display:block;color:#c8d1de;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-bottom:3px}
.am-copyright{margin-top:clamp(32px,4vw,56px);padding-top:18px;border-top:1px solid rgba(148,163,184,.08);color:#66758f;font-size:12px}

/* =====================================================================
   ELEMENTOR NEUTRALISER
   Elementor's boxed 1140px container, 10px column padding and 20px widget
   gaps are what pushed sections out of line. The theme's own .am-wrap
   handles width, so Elementor's wrappers must stay full-bleed and flush.
   ===================================================================== */
:is(.am-main,body) .elementor-section{margin:0!important;padding:0!important;width:100%}
:is(.am-main,body) .elementor-section>.elementor-container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
:is(.am-main,body) .elementor-section>.elementor-container>.elementor-column>.elementor-widget-wrap,
:is(.am-main,body) .elementor-section>.elementor-container>.elementor-column>.elementor-element-populated{padding:0!important}
:is(.am-main,body) .elementor-section>.elementor-container>.elementor-column{padding:0!important}
:is(.am-main,body) .elementor-widget:not(:last-child){margin-bottom:0!important}
:is(.am-main,body) .elementor-widget-html,:is(.am-main,body) .elementor-widget-html>.elementor-widget-container{margin:0!important;padding:0!important}
:is(.am-main,body) .e-con{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;--row-gap:0px;--column-gap:0px;padding:0!important;gap:0!important;max-width:none!important}
:is(.am-main,body) .e-con>.e-con-inner{max-width:none!important;padding:0!important;gap:0!important}

/* Elementor-mode programmatic block: it is made of real Elementor columns */
:is(.am-main,body) .elementor-section.am-programmatic-header{padding:var(--am-section-y) 0 0!important}
:is(.am-main,body) .am-programmatic-header .elementor-widget-container{
  width:100%;max-width:calc(var(--am-master) + (var(--am-gutter) * 2));margin-inline:auto!important;padding-inline:var(--am-gutter)!important;
}
:is(.am-main,body) .am-programmatic-header .am-h2{max-width:none}
:is(.am-main,body) .am-programmatic-lead{color:#9ca9bc;font-size:clamp(14px,1.15vw,17px);line-height:1.6;max-width:640px;margin:14px 0 0}
:is(.am-main,body) .elementor-section.am-programmatic-row{overflow-x:clip;padding:var(--am-head-mb) 0 var(--am-section-y)!important}
:is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container{
  width:100%!important;max-width:calc(var(--am-master) + (var(--am-gutter) * 2))!important;
  margin-inline:auto!important;padding-inline:var(--am-gutter)!important;
}
:is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container>.am-programmatic-col{
  width:auto!important;max-width:none!important;
  flex:0 0 calc((100% - (var(--cols) - 1) * var(--pg-gap)) / var(--cols))!important;
}
@media(min-width:1000px){
  :is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container{
    flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:visible!important;
    scrollbar-width:none!important;
  }
  :is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container::-webkit-scrollbar{display:none}
  :is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container>.am-programmatic-col{
    flex:0 0 clamp(110px, 10.5%, 160px)!important;min-width:110px!important;
  }
}
:is(.am-main,body) .elementor-section.am-programmatic-row>.elementor-container>.am-programmatic-col>.elementor-widget-wrap{
  padding:16px 10px 14px!important;align-content:flex-start;gap:10px!important;
}
:is(.am-main,body) .am-programmatic-image{width:100%!important;max-width:var(--ic-w)}
:is(.am-main,body) .am-programmatic-image .elementor-widget-container{display:flex;justify-content:center}
:is(.am-main,body) .am-programmatic-row>.elementor-container{box-sizing:border-box}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Tablet landscape and below */
@media(max-width:991px){
  .am-hero .am-grid2{grid-template-columns:1fr;gap:40px}
  .am-hero .am-network{margin-inline:auto;max-width:520px}
  .am-section-head{flex-direction:column;align-items:flex-start;gap:16px}
  .am-section-head p{flex:none;max-width:620px}
  .am-section-head .am-h2{max-width:none}
  .am-grid4,.am-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .am-split,.am-grid2,.am-contact{grid-template-columns:1fr}
  .am-bannerbox{flex-direction:column;align-items:flex-start}
  .am-footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .am-footgrid>div:first-child{grid-column:1/-1}
}

/* Tablet portrait */
@media(max-width:767px){
  .am-cards{grid-template-columns:1fr}
  /* ecosystem: boxes stack, arrows point down */
  .am-flow{grid-template-columns:minmax(0,1fr);gap:0}
  .am-flowbox{height:auto;padding:16px 14px}
  .am-arrow{padding:8px 0;transform:rotate(90deg);transform-origin:center}
  .am-bannerbox>.am-btn{width:100%}
  .am-actions .am-btn{flex:1 1 auto}
}

/* Very small phones (320px) */
@media(max-width:359px){.am-programmatic-name,.am-programmatic-name .elementor-heading-title{font-size:11px}}

/* Phones */
@media(max-width:479px){
  .am-grid4,.am-stats{grid-template-columns:1fr}
  .am-actions{flex-direction:column}
  .am-actions .am-btn{width:100%}
  .am-footgrid{grid-template-columns:1fr}
  .am-hero h1{font-size:clamp(34px,10.5vw,42px)}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* =====================================================================
   V29.1 — Elementor-editable GLOBAL sections: Our Partners + Footer
   Self-contained rules (high specificity + !important) so Elementor's own
   stylesheet (boxed 1140px container, column padding, kit colours) cannot
   override them. The PHP wrapper puts everything inside .am-wrap, so the
   width / side gutters are the same as the rest of the site.
   ===================================================================== */
html body .am-global .elementor-section{margin:0!important;padding:0!important;width:100%!important;background:transparent}
html body .am-global .elementor-section>.elementor-container{display:flex;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html body .am-global .elementor-column{padding:0!important}
html body .am-global .elementor-column>.elementor-widget-wrap,
html body .am-global .elementor-column>.elementor-element-populated{padding:0!important}
html body .am-global .elementor-widget:not(:last-child){margin-bottom:0!important}
html body .am-global .elementor-widget-container{margin:0!important;padding:0!important}

/* ---------- Our Partners ---------- */
html body .am-global-partners{padding-block:clamp(48px,5.5vw,88px);background:linear-gradient(180deg,rgba(255,255,255,.017),rgba(255,255,255,.005));border-block:1px solid rgba(148,163,184,.06)}
html body .am-global-partners .am-global-partners-head{margin-bottom:var(--am-head-mb)!important}
html body .am-global .am-kicker-el .elementor-heading-title{font-family:Inter,sans-serif!important;font-size:11px!important;font-weight:600!important;letter-spacing:.24em!important;text-transform:uppercase!important;color:#a99bff!important;line-height:1.4!important;margin:0 0 12px!important}
html body .am-global .am-h2-el .elementor-heading-title{font-family:Manrope,Inter,sans-serif!important;font-size:clamp(30px,3.7vw,54px)!important;line-height:1.08!important;letter-spacing:-.04em!important;color:#F8FAFC!important;font-weight:800!important;margin:0!important}

html body .am-global-partners .elementor-section.am-global-partners-grid>.elementor-container{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:12px!important}
html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(50% - 6px)!important;width:auto!important;max-width:none!important;min-width:0!important}
@media(min-width:480px){html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(33.333% - 8px)!important}}
@media(min-width:680px){html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(25% - 9px)!important}}
@media(min-width:900px){
  html body .am-global-partners .elementor-section.am-global-partners-grid>.elementor-container{gap:14px!important}
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(20% - 11.2px)!important}
}
@media(min-width:1100px){html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(16.666% - 11.67px)!important}}
html body .am-global.am-global-partners .am-partner-col>.elementor-widget-wrap{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:clamp(90px,8vw,120px)!important;padding:10px!important;box-sizing:border-box!important;
  background:#fff!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;overflow:hidden!important;
  transition:transform .22s,box-shadow .22s}
html body .am-global.am-global-partners .am-partner-col>.elementor-widget-wrap:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(0,0,0,.3)}
html body .am-global .am-partner-col .elementor-widget{width:100%;height:100%}
html body .am-global .am-partner-image .elementor-widget-container{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%}
html body .am-global .am-partner-image img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;display:block!important}

/* ---------- Footer ---------- */
html body .am-global-footer{background:#050812;border-top:1px solid rgba(148,163,184,.09);padding-top:clamp(48px,5.5vw,84px)}
html body .am-global-footer .elementor-section.am-foot-el>.elementor-container{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(28px,3vw,48px)}
html body .am-global-footer .am-foot-el>.elementor-container>.elementor-column.am-foot-col{width:auto!important;max-width:none!important;min-width:0}
html body .am-global-footer .elementor-heading-title{font-family:Manrope,Inter,sans-serif!important;font-size:12px!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#c8d1de!important;font-weight:800!important;line-height:1.4!important;margin:0 0 14px!important}
html body .am-global-footer .am-foot-logo{text-align:left!important}
html body .am-global-footer .am-foot-logo img{height:72px!important;width:auto!important;max-width:none!important;display:block!important;object-fit:contain!important}
html body .am-global-footer .am-foot-text{margin-top:14px!important}
html body .am-global-footer .am-foot-text,
html body .am-global-footer .am-foot-text p{font-size:13px!important;line-height:1.6!important;color:#8190a8!important;margin:0 0 8px;max-width:46ch;overflow-wrap:anywhere}
html body .am-global-footer .am-foot-text a{color:#8190a8!important;font-size:13px!important}
html body .am-global-footer .am-foot-text a:hover{color:#F8FAFC!important}
html body .am-global-footer .am-foot-text p.am-addr{margin:14px 0 0;line-height:1.55}
html body .am-global-footer .am-foot-text p.am-addr b{display:block;color:#c8d1de;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-bottom:3px}
html body .am-global-footer .am-foot-links .elementor-icon-list-items{margin:0!important;padding:0!important;list-style:none!important}
html body .am-global-footer .am-foot-links .elementor-icon-list-item{margin:0 0 8px!important;padding:0!important}
html body .am-global-footer .am-foot-links .elementor-icon-list-icon{display:none!important}
html body .am-global-footer .am-foot-links .elementor-icon-list-text{padding:0!important;font-size:13px!important;color:#8190a8!important}
html body .am-global-footer .am-foot-links a:hover .elementor-icon-list-text{color:#F8FAFC!important}
html body .am-global-footer .elementor-section.am-foot-bottom-el>.elementor-container{display:block!important}
html body .am-global-footer .am-foot-copy{margin-top:clamp(32px,4vw,56px)!important;padding:18px 0 28px!important;border-top:1px solid rgba(148,163,184,.08)}
html body .am-global-footer .am-foot-copy p{font-size:12px!important;color:#66758f!important;margin:0!important;max-width:none!important}

/* Social icons (Facebook / LinkedIn): left aligned, add links in Elementor */
html body .am-global-footer .am-social{margin-top:18px!important;text-align:left!important}
html body .am-global-footer .am-social .elementor-social-icons-wrapper{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap;gap:10px;grid-template-columns:none}
html body .am-global-footer .am-social .elementor-grid-item{margin:0!important;width:auto!important}
html body .am-global-footer .am-social .elementor-social-icon{width:38px!important;height:38px!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:12px!important;
  background:rgba(148,163,184,.10)!important;border:1px solid rgba(148,163,184,.18);font-size:15px!important;transition:transform .2s,background .2s,border-color .2s}
html body .am-global-footer .am-social .elementor-social-icon i{color:#c8d1de!important;font-size:15px!important}
html body .am-global-footer .am-social .elementor-social-icon svg{fill:#c8d1de!important;width:15px;height:15px}
html body .am-global-footer .am-social .elementor-social-icon:hover{transform:translateY(-3px);background:rgba(139,92,246,.22)!important;border-color:rgba(139,92,246,.5)}

@media(max-width:991px){
  html body .am-global-footer .elementor-section.am-foot-el>.elementor-container{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .am-global-footer .am-foot-el>.elementor-container>.am-foot-col:first-child{grid-column:1/-1}
}
@media(max-width:479px){
  html body .am-global-footer .elementor-section.am-foot-el>.elementor-container{grid-template-columns:1fr}
}

/* =====================================================================
   V30 — FOR SSPs PAGE (partnership deck content, fully Elementor-editable)
   All blocks are real Elementor containers / heading / text / icon-list
   widgets. Look & layout come from these classes (prefix .amssp-).
   ===================================================================== */
html body .am-main .amssp-sec.e-con{display:block!important;width:100%!important;max-width:none!important;padding:var(--am-section-y) 0!important;gap:0!important;margin:0!important}
html body .am-main .amssp-sec.alt.e-con{background:linear-gradient(180deg,rgba(255,255,255,.017),rgba(255,255,255,.005));border-block:1px solid rgba(148,163,184,.06)}
html body .am-main .amssp-hero.e-con{padding:clamp(48px,6vw,96px) 0 clamp(36px,4vw,64px)!important}
html body .am-main .amssp-wrap.e-con{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:calc(var(--am-master) + (var(--am-gutter) * 2))!important;margin-inline:auto!important;padding:0 var(--am-gutter)!important}
html body .am-main .amssp-wrap>.elementor-widget{width:100%!important;margin:0!important}

/* grids */
html body .am-main .amssp-grid.e-con{display:grid!important;gap:var(--am-gap)!important;width:100%!important;margin-top:var(--am-head-mb)!important;padding:0!important}
html body .am-main .amssp-col .amssp-grid.e-con{margin-top:22px!important}
html body .am-main .amssp-g2.e-con{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body .am-main .amssp-g3.e-con{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body .am-main .amssp-g4.e-con{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body .am-main .amssp-grid.e-con>*{min-width:0}
html body .am-main .amssp-split.e-con{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:clamp(24px,3.4vw,56px)!important;width:100%!important;padding:0!important;margin-top:4px!important;align-items:start}
html body .am-main .amssp-split.amssp-eco.e-con{grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr)!important}
html body .am-main .amssp-col.e-con{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;min-width:0}
html body .am-main .amssp-stack2.e-con{gap:var(--am-gap)!important}
html body .am-main .amssp-groups.e-con{gap:22px!important}

/* cards */
html body .am-main .amssp-card.e-con{display:flex!important;flex-direction:column!important;gap:6px!important;align-items:flex-start!important;padding:clamp(20px,2vw,28px)!important;border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(150deg,rgba(14,23,48,.9),rgba(7,12,25,.78));box-shadow:0 14px 46px rgba(0,0,0,.16);min-width:0;width:100%}
html body .am-main .amssp-card.hl.e-con{border-color:rgba(139,92,246,.4);background:radial-gradient(420px 200px at 85% 0,rgba(139,92,246,.2),transparent 65%),linear-gradient(150deg,#10163a,#0b1120)}
html body .am-main .amssp-card.hl.solid.e-con{background:linear-gradient(135deg,#7c4dff,#3b82f6);border-color:transparent}
html body .am-main .amssp-card.top.e-con{border-top:3px solid #8b5cf6}
html body .am-main .amssp-card.top.c-amber.e-con{border-top-color:#f5a524}
html body .am-main .amssp-card.top.c-pink.e-con{border-top-color:#ff4d8d}
html body .am-main .amssp-card.top.c-blue.e-con{border-top-color:#3b82f6}
html body .am-main .amssp-card.top.c-cyan.e-con{border-top-color:#22d3ee}
html body .am-main .amssp-card .elementor-widget{margin:0!important;width:100%!important}
html body .am-main .amssp-mt{margin-top:22px!important}
html body .am-main .amssp-gapb{margin-bottom:12px!important}

/* text */
html body .am-main .amssp-kicker .elementor-heading-title{font:600 11px/1.4 Inter,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#a99bff;margin:0 0 12px}
html body .am-main .amssp-tag .elementor-heading-title{font:500 11px/1.4 Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#7d8da8;margin:0 0 26px;text-align:right}
html body .am-main .amssp-minikick .elementor-heading-title{font:600 11px/1.4 Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#a99bff;margin:0 0 10px}
html body .am-main .amssp-minikick.muted .elementor-heading-title{color:#7d8da8}
html body .am-main .amssp-minikick.c-cyan .elementor-heading-title,html body .am-main .amssp-chipgroup .amssp-minikick.c-cyan .elementor-heading-title{color:#22d3ee}
html body .am-main .amssp-minikick.c-amber .elementor-heading-title{color:#f5a524}
html body .am-main .amssp-h1 .elementor-heading-title{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(36px,5vw,72px);line-height:1.04;color:var(--white);margin:0}
html body .am-main .amssp-h2 .elementor-heading-title{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(28px,3.4vw,50px);line-height:1.08;color:var(--white);margin:0;max-width:24ch}
html body .am-main .amssp-h3 .elementor-heading-title{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(19px,1.7vw,22px);line-height:1.25;color:var(--white);margin:0 0 4px}
html body .am-main .amssp-h3.sm .elementor-heading-title{font-size:clamp(15px,1.25vw,17px);margin:2px 0 6px}
html body .am-main .amssp-num .elementor-heading-title{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(28px,2.7vw,40px);line-height:1.1;color:var(--white);margin:0}
html body .am-main .amssp-num.sm .elementor-heading-title{font-size:clamp(22px,2vw,28px)}
html body .am-main .amssp-num small{font-size:.42em;font-weight:700;color:#a99bff;margin-left:3px}
html body .am-main .c-purple .elementor-heading-title{color:#a99bff}
html body .am-main .c-blue .elementor-heading-title{color:#5b9bff}
html body .am-main .c-cyan .elementor-heading-title{color:#22d3ee}
html body .am-main .c-amber .elementor-heading-title{color:#f5a524}
html body .am-main .c-pink .elementor-heading-title{color:#ff6b95}
html body .am-main .amssp-copy p{color:#a6b2c5;font-size:clamp(15px,1.25vw,18px);line-height:1.62;max-width:760px;margin:16px 0 0}
html body .am-main .amssp-copy.amssp-bright p{color:#e8edf6}
html body .am-main .amssp-card .amssp-copy p{margin:0}
html body .am-main .amssp-card.solid .amssp-copy p{color:#fff;font-size:clamp(15px,1.2vw,17px)}
html body .am-main .amssp-lbl p{color:#8796ae;font-size:13.5px;line-height:1.5;margin:0}
html body .am-main .amssp-lbl.amssp-bright p{color:#dfe6f2}
html body .am-main .amssp-note p{color:#7d8da8;font-size:13px;line-height:1.6;margin:0}
html body .am-main .amssp-foot{margin-top:clamp(28px,4vw,56px)!important;padding-top:16px;border-top:1px solid rgba(148,163,184,.18)}
html body .am-main .amssp-hero .amssp-copy p{max-width:640px}

/* lists + chips (Elementor Icon List) */
html body .am-main .amssp-list .elementor-icon-list-items{list-style:none;margin:0;padding:0}
html body .am-main .amssp-list .elementor-icon-list-item{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid rgba(148,163,184,.08);margin:0}
html body .am-main .amssp-list .elementor-icon-list-item:last-child{border-bottom:0}
html body .am-main .amssp-list .elementor-icon-list-icon{display:none}
html body .am-main .amssp-list .elementor-icon-list-item::before{content:"↗";color:#22d3ee;flex:none}
html body .am-main .amssp-list .elementor-icon-list-text{padding:0;color:#c3ccdc;font-size:14.5px;line-height:1.5}
html body .am-main .amssp-g3list .elementor-icon-list-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px}
html body .am-main .amssp-chips .elementor-icon-list-items{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
html body .am-main .amssp-chips .elementor-icon-list-item{margin:0;padding:8px 16px;border:1px solid rgba(148,163,184,.3);border-radius:10px;background:rgba(255,255,255,.025)}
html body .am-main .amssp-chips .elementor-icon-list-icon{display:none}
html body .am-main .amssp-chips .elementor-icon-list-text{padding:0;color:#e8edf6;font-size:13px;font-weight:500}
html body .am-main .amssp-chipgroup.e-con{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;width:100%}
html body .am-main .amssp-chipgroup .elementor-widget{width:100%!important;margin:0!important}

/* rows (demand table), bars, inline stats */
html body .am-main .amssp-row.e-con{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:16px 0!important;border-bottom:1px solid rgba(148,163,184,.12);width:100%}
html body .am-main .amssp-row.amssp-rowhead.e-con{padding:0 0 10px!important}
html body .am-main .amssp-row .elementor-widget{width:auto!important;margin:0!important}
html body .am-main .amssp-minikick{margin:0!important}
html body .am-main .amssp-rowl .elementor-heading-title{font:500 17px/1.3 Inter,sans-serif;color:#e8edf6}
html body .am-main .amssp-rowv .elementor-heading-title{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(17px,1.5vw,20px)}
html body .am-main .amssp-bar.e-con{display:block!important;width:62%!important;height:5px;min-height:5px;padding:0!important;margin-top:8px;border-radius:5px;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
html body .am-main .amssp-bar.dim.e-con{background:rgba(148,163,184,.25);width:42%!important}
html body .am-main .amssp-inline.e-con{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:0!important;width:100%}
html body .am-main .amssp-inline .elementor-widget{width:auto!important;margin:0!important}
html body .am-main .amssp-side.e-con{gap:12px!important;align-self:stretch}
html body .am-main .amssp-side .amssp-h3{margin-bottom:26px!important}

/* responsive */
@media(max-width:1100px){
  html body .am-main .amssp-g4.e-con{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .am-main .amssp-split.e-con,html body .am-main .amssp-split.amssp-eco.e-con{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:900px){html body .am-main .amssp-g3.e-con{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){
  html body .am-main .amssp-g2.e-con,html body .am-main .amssp-g3.e-con,html body .am-main .amssp-g4.e-con{grid-template-columns:minmax(0,1fr)!important}
  html body .am-main .amssp-g3list .elementor-icon-list-items{grid-template-columns:minmax(0,1fr)}
  html body .am-main .amssp-tag .elementor-heading-title{text-align:left}
}

/* =====================================================================
   V31 — OUR PARTNERS: 20 logos → even rows (5×4 desktop, 4×5 tablet, 2×10 mobile)
   ===================================================================== */
@media(min-width:480px){
  html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(50% - 6px)!important}
}
@media(min-width:680px){
  html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(25% - 9px)!important}
}
@media(min-width:1100px){
  html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col{flex:0 0 calc(20% - 11.2px)!important}
}
html body .am-main .am-partner-col>.elementor-widget-wrap,
html body .am-global.am-global-partners .am-partner-col>.elementor-widget-wrap{height:clamp(110px,10vw,150px)!important;padding:8px!important}
html body .am-main .am-partner-image img,html body .am-global .am-partner-image img{border-radius:10px}

/* V31.1 — hardened partner grid: does not depend on exact Elementor wrapper markup */
html body :is(.am-home-partners-elementor,.am-global-partners-grid)>.elementor-container,
html body .elementor-container:has(>.am-partner-col){display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;width:100%!important;max-width:none!important}
html body .am-main :is(.am-home-partners-elementor)>.elementor-container{max-width:calc(var(--am-master) + (var(--am-gutter) * 2))!important;margin-inline:auto!important;padding-inline:var(--am-gutter)!important}
html body .elementor-column.am-partner-col{flex:0 0 calc(50% - 6px)!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important}
@media(min-width:680px){html body .elementor-column.am-partner-col{flex:0 0 calc(25% - 9px)!important}}
@media(min-width:1100px){html body .elementor-column.am-partner-col{flex:0 0 calc(20% - 11.2px)!important}}
@media(min-width:900px){html body :is(.am-home-partners-elementor,.am-global-partners-grid)>.elementor-container{gap:14px!important}}
html body .elementor-column.am-partner-col>.elementor-widget-wrap{height:clamp(110px,10vw,150px)!important;padding:8px!important;background:#fff!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.16)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
html body .am-partner-col .elementor-widget,html body .am-partner-col .elementor-widget-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
html body .am-partner-col img{width:100%!important;height:100%!important;object-fit:contain!important}
html body .am-partners-header-section,html body .am-global-partners-head{margin-bottom:var(--am-head-mb)!important}

/* V31.2 — space between "Trusted by leading brands & platforms." and the logos.
   (The theme's Elementor neutraliser forces section margins to 0, so this uses higher specificity + a Spacer widget.) */
html body .am-main .elementor-section.am-partners-header-section,
html body .am-global .elementor-section.am-global-partners-head{margin-bottom:clamp(12px,1.5vw,20px)!important}
html body .am-partners-spacer .elementor-spacer-inner{height:clamp(16px,2vw,32px)!important}
html body .am-main .am-partners-header-section .elementor-widget-html .am-h2{margin-bottom:0}

/* =====================================================================
   V31.3 — OUR PARTNERS: desktop = 2 rows (10 logos per row), mobile = 3 logos per row
   Desktop (>=1100px): 10 x 2 | Tablet (680-1099px): 4 per row | Mobile (<680px): 3 per row
   ===================================================================== */
html body :is(.am-home-partners-elementor,.am-global-partners-grid)>.elementor-container,
html body .elementor-container:has(>.am-partner-col){--pg:10px;gap:var(--pg)!important}
@media(min-width:680px){
  html body :is(.am-home-partners-elementor,.am-global-partners-grid)>.elementor-container,
  html body .elementor-container:has(>.am-partner-col){--pg:12px}
}
@media(min-width:1100px){
  html body :is(.am-home-partners-elementor,.am-global-partners-grid)>.elementor-container,
  html body .elementor-container:has(>.am-partner-col){--pg:12px}
}

/* MOBILE: 3 per row */
html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col,
html body .elementor-container>.elementor-column.am-partner-col{
  flex:0 0 calc((100% - (var(--pg,10px) * 2)) / 3)!important;
}
/* TABLET: 4 per row */
@media(min-width:680px){
  html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col,
  html body .elementor-container>.elementor-column.am-partner-col{
    flex:0 0 calc((100% - (var(--pg,12px) * 3)) / 4)!important;
  }
}
/* DESKTOP: 10 per row = 2 rows for 20 logos */
@media(min-width:1100px){
  html body .am-main .elementor-section.am-home-partners-elementor>.elementor-container>.am-partner-col,
  html body .am-global-partners .am-global-partners-grid>.elementor-container>.elementor-column.am-partner-col,
  html body .elementor-container>.elementor-column.am-partner-col{
    flex:0 0 calc((100% - (var(--pg,12px) * 9)) / 10)!important;
  }
}

/* Logo cards: square, scale with the column width */
html body .am-main .am-partner-col>.elementor-widget-wrap,
html body .am-global.am-global-partners .am-partner-col>.elementor-widget-wrap,
html body .elementor-column.am-partner-col>.elementor-widget-wrap{
  height:auto!important;aspect-ratio:1/1;padding:6px!important;border-radius:12px!important;box-sizing:border-box!important;
}
@media(min-width:680px){
  html body .am-main .am-partner-col>.elementor-widget-wrap,
  html body .am-global.am-global-partners .am-partner-col>.elementor-widget-wrap,
  html body .elementor-column.am-partner-col>.elementor-widget-wrap{padding:8px!important;border-radius:16px!important}
}
html body .am-partner-col .elementor-widget-container{width:100%;height:100%}

/* PHP / HTML fallback grid (shortcode [am_partners]) */
.am-partner-grid{--cols:3;--pt-gap:10px}
.am-partner-card{height:auto;aspect-ratio:1/1;padding:6px;border-radius:12px}
@media(min-width:480px){.am-partner-grid{--cols:3}}
@media(min-width:680px){.am-partner-grid{--cols:4;--pt-gap:12px}.am-partner-card{padding:8px;border-radius:16px}}
@media(min-width:900px){.am-partner-grid{--cols:4}}
@media(min-width:1100px){.am-partner-grid{--cols:10;--pt-gap:12px}}

/* =====================================================================
   V31.4 — Partners grid, structure-independent (works with or without .elementor-row wrapper,
   and beats every earlier partner rule): desktop 10 per row (2 rows), tablet 4, mobile 3.
   ===================================================================== */
html body .elementor-section.am-home-partners-elementor{--pg:10px}
@media(min-width:680px){html body .elementor-section.am-home-partners-elementor{--pg:12px}}

/* the element that directly holds the columns (container OR legacy .elementor-row) */
html body .elementor-section.am-home-partners-elementor :is(.elementor-container,.elementor-row):has(>.am-partner-col){
  display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-items:flex-start!important;
  gap:var(--pg)!important;width:100%!important;
}
/* each logo column */
html body .elementor-section.am-home-partners-elementor .elementor-column.am-partner-col.am-partner-col.am-partner-col{
  flex:0 0 calc((100% - (var(--pg) * 2)) / 3)!important;
  width:calc((100% - (var(--pg) * 2)) / 3)!important;
  max-width:calc((100% - (var(--pg) * 2)) / 3)!important;
  min-width:0!important;padding:0!important;margin:0!important;
}
@media(min-width:680px){
  html body .elementor-section.am-home-partners-elementor .elementor-column.am-partner-col.am-partner-col.am-partner-col{
    flex-basis:calc((100% - (var(--pg) * 3)) / 4)!important;
    width:calc((100% - (var(--pg) * 3)) / 4)!important;
    max-width:calc((100% - (var(--pg) * 3)) / 4)!important;
  }
}
@media(min-width:1100px){
  html body .elementor-section.am-home-partners-elementor .elementor-column.am-partner-col.am-partner-col.am-partner-col{
    flex-basis:calc((100% - (var(--pg) * 9)) / 10)!important;
    width:calc((100% - (var(--pg) * 9)) / 10)!important;
    max-width:calc((100% - (var(--pg) * 9)) / 10)!important;
  }
}
/* square logo cards */
html body .elementor-section.am-home-partners-elementor .elementor-column.am-partner-col.am-partner-col>.elementor-widget-wrap{
  height:auto!important;aspect-ratio:1/1!important;padding:6px!important;border-radius:12px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;overflow:hidden!important;
}
@media(min-width:680px){
  html body .elementor-section.am-home-partners-elementor .elementor-column.am-partner-col.am-partner-col>.elementor-widget-wrap{padding:8px!important;border-radius:16px!important}
}
html body .elementor-section.am-home-partners-elementor .am-partner-col .elementor-widget,
html body .elementor-section.am-home-partners-elementor .am-partner-col .elementor-widget-container{width:100%!important;height:100%!important;margin:0!important;padding:0!important}
html body .elementor-section.am-home-partners-elementor .am-partner-col img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}

/* =====================================================================
   V31.5 — Partners grid that does NOT rely on section/column classes.
   (Elementor ignores "_css_classes" on sections/columns, so only the image widget keeps its class
    "am-partner-image". These rules find the grid through that widget with :has().)
   Desktop 10 per row (2 rows) | tablet 4 | mobile 3
   ===================================================================== */
html body :is(.elementor-container,.elementor-row):has(>.elementor-column>.elementor-widget-wrap>.am-partner-image){
  --pg:10px;
  display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-items:flex-start!important;
  gap:var(--pg)!important;width:100%!important;box-sizing:border-box!important;
}
@media(min-width:680px){html body :is(.elementor-container,.elementor-row):has(>.elementor-column>.elementor-widget-wrap>.am-partner-image){--pg:12px}}

html body .elementor-column:has(>.elementor-widget-wrap>.am-partner-image){
  flex:0 0 calc((100% - (var(--pg,10px) * 2)) / 3)!important;
  width:calc((100% - (var(--pg,10px) * 2)) / 3)!important;
  max-width:calc((100% - (var(--pg,10px) * 2)) / 3)!important;
  min-width:0!important;padding:0!important;margin:0!important;
}
@media(min-width:680px){
  html body .elementor-column:has(>.elementor-widget-wrap>.am-partner-image){
    flex-basis:calc((100% - (var(--pg,12px) * 3)) / 4)!important;
    width:calc((100% - (var(--pg,12px) * 3)) / 4)!important;
    max-width:calc((100% - (var(--pg,12px) * 3)) / 4)!important;
  }
}
@media(min-width:1100px){
  html body .elementor-column:has(>.elementor-widget-wrap>.am-partner-image){
    flex-basis:calc((100% - (var(--pg,12px) * 9)) / 10)!important;
    width:calc((100% - (var(--pg,12px) * 9)) / 10)!important;
    max-width:calc((100% - (var(--pg,12px) * 9)) / 10)!important;
  }
}
html body .elementor-column:has(>.elementor-widget-wrap>.am-partner-image)>.elementor-widget-wrap{
  height:auto!important;aspect-ratio:1/1!important;padding:6px!important;margin:0!important;border-radius:12px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;overflow:hidden!important;
}
@media(min-width:680px){
  html body .elementor-column:has(>.elementor-widget-wrap>.am-partner-image)>.elementor-widget-wrap{padding:8px!important;border-radius:16px!important}
}
html body .am-partner-image,
html body .am-partner-image .elementor-widget-container{width:100%!important;height:100%!important;margin:0!important;padding:0!important}
html body .am-partner-image img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}

/* =====================================================================
   V32 — Footer social icons: original Facebook & LinkedIn brand logos (inline SVG, no icon-font needed)
   ===================================================================== */
html body .am-global-footer .am-social .elementor-social-icon{
  background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;background-size:100% 100%!important;
  border:0!important;border-radius:10px!important;width:38px!important;height:38px!important;font-size:0!important;overflow:hidden;
}
html body .am-global-footer .am-social .elementor-social-icon i,
html body .am-global-footer .am-social .elementor-social-icon svg,
html body .am-global-footer .am-social .elementor-social-icon .elementor-screen-only{display:none!important}
html body .am-global-footer .am-social :is(.elementor-social-icon-facebook-f,.elementor-social-icon-facebook,.elementor-repeater-item-b90efd1,a[href*="facebook.com"]){
  border-radius:50%!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231877F2'/%3E%3Cpath fill='%23fff' d='M16.671 15.469l.547-3.469h-3.328v-2.25c0-.949.465-1.875 1.956-1.875h1.513V4.992s-1.373-.234-2.686-.234c-2.742 0-4.533 1.662-4.533 4.669V12H7.078v3.469h3.062v8.385a12.1 12.1 0 003.75 0v-8.385h2.781z'/%3E%3C/svg%3E")!important;
}
html body .am-global-footer .am-social :is(.elementor-social-icon-linkedin-in,.elementor-social-icon-linkedin,.elementor-repeater-item-a987170,a[href*="linkedin.com"]){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A66C2' d='M22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3Cpath fill='%23fff' d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452z'/%3E%3C/svg%3E")!important;
}
html body .am-global-footer .am-social .elementor-social-icon:hover{background-color:transparent!important;border:0!important;transform:translateY(-3px);filter:brightness(1.12)}
