/*
Theme Name: AXON Medical Group Child
Theme URI: https://axonmedgroup.com/
Description: AXON Medical Group homepage design with one shared site header and footer.
Author: AXON Medical Group
Template: hello-elementor
Version: 2.7.3
Text Domain: amg-child
*/

/* Keep original announcement group photographs intact in news thumbnails. */
.amg-news-grid .amg-news-image img[src*="/news-original-"]{object-fit:contain;object-position:center;background:#f3f6f9}

:root{--amg-red:#e71927;--amg-red-dark:#c70f1d;--amg-ink:#132637;--amg-copy:#536170;--amg-muted:#75808d;--amg-line:#e3e8ed;--amg-soft:#f5f7f9;--amg-shell:1270px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--amg-ink);font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,a{font:inherit}
a{text-decoration:none}
button{cursor:pointer}
img{max-width:100%}
.amg-shell{width:min(calc(100% - 100px),var(--amg-shell));margin-inline:auto}
.amg-skip{position:absolute;left:16px;top:-100px;z-index:1000;background:#fff;color:var(--amg-ink);padding:10px 16px}
.amg-skip:focus{top:12px}
.amg-home section[id],.amg-site-footer[id]{scroll-margin-top:86px}

/* Shared header: WordPress loads this on every page through header.php. */
.amg-site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid rgba(18,38,55,.055)}
.amg-header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.amg-brand{display:block;flex:0 0 auto;width:182px;line-height:0}
.amg-brand img{display:block;width:100%;height:auto}
.amg-primary-nav{display:flex;align-items:center;gap:48px}
.amg-menu{display:flex;align-items:center;gap:42px;margin:0;padding:0;list-style:none}
.amg-menu li{margin:0}
.amg-menu a{display:inline-flex;align-items:center;min-height:88px;color:#344252;font-size:13px;font-weight:700;white-space:nowrap;position:relative;transition:color .2s ease}
.amg-menu a:hover,.amg-menu a.is-current{color:var(--amg-red)}
.amg-menu a.is-current::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--amg-red)}
.amg-header-contact{display:inline-flex;align-items:center;justify-content:center;min-width:123px;min-height:41px;padding:10px 19px;border-radius:4px;background:var(--amg-red);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 4px 12px rgba(231,25,39,.13);transition:background .2s,transform .2s}
.amg-header-contact:hover{color:#fff;background:var(--amg-red-dark);transform:translateY(-1px)}
.amg-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;border:0;background:transparent;padding:8px}
.amg-menu-toggle:hover,.amg-menu-toggle:focus,.amg-menu-toggle:active{background:transparent;color:var(--amg-ink);box-shadow:none}
.amg-menu-toggle:focus-visible{outline:2px solid var(--amg-red);outline-offset:2px}
.amg-menu-toggle span{display:block;width:24px;height:2px;background:var(--amg-ink);border-radius:2px}

/* Shared type and actions. */
.amg-home h1,.amg-home h2,.amg-home h3,.amg-site-footer h2,.amg-site-footer h3{font-family:Manrope,Arial,sans-serif;color:var(--amg-ink);letter-spacing:-.035em}
.amg-home h1,.amg-home h2,.amg-home h3,.amg-home p{margin-top:0}
.amg-eyebrow{margin:0 0 18px;color:#65788a;font-size:11px;font-weight:800;letter-spacing:.32em;line-height:1.45}
.amg-home h2{margin:0 0 21px;font-size:clamp(34px,3vw,48px);line-height:1.15;font-weight:800}
.amg-home h2 span,.amg-hero h1 span{color:var(--amg-red)}
.amg-home p{color:var(--amg-copy)}
.amg-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.amg-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:13px 25px;border:1px solid transparent;border-radius:4px;font-size:13px;font-weight:800;line-height:1.2;text-align:center;transition:background .2s,color .2s,border-color .2s,transform .2s}
.amg-button:hover{transform:translateY(-2px)}
.amg-button span,.amg-text-link span{font-size:19px;line-height:0}
.amg-button-red{background:var(--amg-red);color:#fff;box-shadow:0 6px 18px rgba(231,25,39,.13)}
.amg-button-red:hover{background:var(--amg-red-dark);color:#fff}
.amg-button-outline{border-color:var(--amg-red);background:rgba(255,255,255,.7);color:var(--amg-red)}
.amg-button-outline:hover{background:#fff;color:var(--amg-red-dark)}
.amg-text-link{display:inline-flex;align-items:center;gap:7px;color:var(--amg-red);font-size:13px;font-weight:800;line-height:1.3;transition:gap .2s,color .2s}
.amg-text-link:hover{gap:12px;color:var(--amg-red-dark)}

/* Homepage hero. */
.amg-hero{min-height:660px;background:#f9fbfd url('assets/hero-background.jpg') center 54%/cover no-repeat;overflow:hidden}
.amg-hero-inner{min-height:660px;display:flex;align-items:center}
.amg-hero-copy{width:min(620px,57%);padding:65px 0 52px}
.amg-hero .amg-eyebrow{margin-bottom:19px}
.amg-hero h1{margin:0 0 18px;color:var(--amg-ink);font-size:clamp(48px,4.7vw,69px);line-height:1.12;font-weight:800;letter-spacing:-.055em}
.amg-hero-lead{margin:0 0 12px!important;color:var(--amg-ink)!important;font-size:clamp(20px,1.65vw,25px);line-height:1.4;font-weight:800;letter-spacing:-.025em}
.amg-hero-support{width:min(465px,100%);margin-bottom:28px!important;color:#5f6d79!important;font-size:16px;font-weight:600;line-height:1.55}
.amg-slide-count{display:flex;align-items:center;gap:7px;margin-top:58px;color:#8c98a4;font-size:17px;letter-spacing:.02em}
.amg-slide-count strong{color:var(--amg-red);font-size:20px;font-weight:800}
.amg-slide-count i{height:2px;width:22px;margin-left:12px;background:#d9dfe6}
.amg-slide-count i:first-of-type{background:var(--amg-red)}

/* Five capabilities. */
.amg-pillars{background:#fff;border-bottom:1px solid var(--amg-line)}
.amg-pillars-grid{display:grid;grid-template-columns:repeat(5,1fr);padding:33px 0 34px}
.amg-pillar{position:relative;text-align:center;padding:0 15px}
.amg-pillar+.amg-pillar::before{content:"";position:absolute;left:0;top:9px;bottom:3px;width:1px;background:var(--amg-line)}
.amg-pillar svg{display:block;width:32px;height:32px;margin:0 auto 13px;fill:none;stroke:var(--amg-red);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.amg-pillar h2{margin:0 0 4px;font-size:15px;line-height:1.25;font-weight:800;letter-spacing:-.03em}
.amg-pillar p{margin:0;color:#70808d;font-size:11px;line-height:1.45;font-weight:600}

/* Alternating editorial sections. */
.amg-feature{overflow:hidden;background:#f8fafb}
.amg-feature-grid{display:grid;grid-template-columns:50% 50%;align-items:stretch;min-height:393px}
.amg-feature-copy{align-self:center;max-width:580px;padding:58px 52px 58px 0;position:relative;z-index:1}
.amg-feature-copy p:not(.amg-eyebrow){max-width:525px;margin-bottom:17px;color:#63717e;font-size:15px;line-height:1.65;font-weight:500}
.amg-feature-copy .amg-section-lead{margin-bottom:12px!important;color:var(--amg-ink)!important;font-size:18px!important;font-weight:800!important}
.amg-feature-photo{width:100%;height:100%;max-height:430px;object-fit:cover;object-position:center;display:block;align-self:stretch}
.amg-about .amg-feature-photo{object-position:64% center}
.amg-belief{background:#fff}
.amg-belief .amg-feature-photo{object-position:65% center}
.amg-ecosystem{background:#f6f8fa}
.amg-ecosystem .amg-feature-photo{object-position:center}

/* Businesses. */
.amg-section{padding:85px 0}
.amg-businesses{background:#fff}
.amg-businesses .amg-eyebrow{margin-bottom:11px}
.amg-businesses h2{margin-bottom:31px}
.amg-business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 28px}
.amg-business-card{display:grid;grid-template-columns:44% 56%;min-height:224px;background:#fff;border:1px solid #eef1f4;box-shadow:0 5px 24px rgba(25,42,57,.035);overflow:hidden}
.amg-business-card img{width:100%;height:100%;min-height:224px;object-fit:cover;display:block}
.amg-business-card:nth-child(1) img{object-position:55% center}
.amg-business-card:nth-child(2) img{object-position:58% center}
.amg-business-card:nth-child(3) img{object-position:64% center}
.amg-business-card:nth-child(4) img{object-position:65% center}
.amg-business-card>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:23px 24px}
.amg-business-card h3{margin:0 0 11px;font-size:20px;line-height:1.18;font-weight:800;letter-spacing:-.04em}
.amg-business-card p{margin:0 0 11px;color:#6b7783;font-size:12px;line-height:1.5;font-weight:600}
.amg-business-card .amg-text-link{margin-top:auto;font-size:12px}

/* Leadership and news. */
.amg-leadership{background:#f8fafb}
.amg-leadership-grid{display:grid;grid-template-columns:1.45fr .67fr .67fr;gap:48px;align-items:start}
.amg-leadership-intro{padding-right:14px}
.amg-leadership-intro h2{max-width:565px;font-size:clamp(30px,2.55vw,43px)}
.amg-leadership-intro p:not(.amg-eyebrow){max-width:530px;color:#63717e;font-size:14px;line-height:1.6}
.amg-leader{margin-top:51px;padding-left:24px;border-left:1px solid var(--amg-line);min-height:142px}
.amg-leader h3{margin:0 0 3px;font-size:14px;line-height:1.3;font-weight:800;letter-spacing:-.03em}
.amg-leader h3::after{content:"";display:block;width:21px;height:2px;margin:10px 0;background:var(--amg-red)}
.amg-leader span{display:block;color:#6e7c89;font-size:12px;font-weight:700}
.amg-leader p{margin:11px 0 0;color:#71808c;font-size:12px;line-height:1.58}
.amg-news{background:#fff;padding-bottom:74px}
.amg-news-heading{display:flex;align-items:end;justify-content:space-between;gap:32px}
.amg-news-heading h2{margin-bottom:25px}
.amg-news-heading>.amg-text-link{margin-bottom:29px;white-space:nowrap}
.amg-news-tabs{display:flex;gap:0;border-bottom:1px solid var(--amg-line)}
.amg-news-tab{min-height:45px;padding:0 28px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#71808c;font-size:12px;font-weight:800;white-space:nowrap}
.amg-news-tab:first-child{padding-left:0}
.amg-news-tab.is-active{color:var(--amg-red);border-bottom-color:var(--amg-red)}
.amg-news-tab:hover,.amg-news-tab:focus,.amg-news-tab:active{background:transparent;color:var(--amg-red);box-shadow:none}
.amg-news-tab:focus-visible{outline:2px solid var(--amg-red);outline-offset:-4px}
.amg-news-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9eabb5}
.amg-news-empty svg{width:37px;height:37px;fill:none;stroke:#aeb9c2;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.amg-news-empty p{margin:10px 0 0;color:#8a98a4;font-size:12px;font-weight:600}

/* Shared footer. */
.amg-contact-ribbon{background:var(--amg-red);position:relative;overflow:hidden}
.amg-contact-ribbon::after{content:"";position:absolute;inset:-45px -20px auto auto;width:50%;height:160px;opacity:.13;background:repeating-radial-gradient(ellipse at 55% 90%,transparent 0,transparent 8px,#fff 9px,#fff 10px);transform:rotate(-8deg);pointer-events:none}
.amg-contact-ribbon-inner{position:relative;z-index:1;min-height:106px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.amg-contact-ribbon h2{margin:0;color:#fff;font-size:clamp(22px,2vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.04em}
.amg-button-white{background:#fff;color:var(--amg-red);min-height:47px;min-width:150px}
.amg-button-white:hover{background:#fff;color:var(--amg-red-dark)}
.amg-footer-main{display:grid;grid-template-columns:1.7fr 1fr 1.2fr 1.45fr 1.05fr .7fr;gap:25px;padding-top:43px;padding-bottom:49px}
.amg-footer-brand img{display:block;width:180px;height:auto;margin:-26px 0 -12px -2px}
.amg-footer-brand p{margin:0;color:#6c7884;font-size:11px;font-weight:700;line-height:1.5}
.amg-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-left:17px;border-left:1px solid var(--amg-line)}
.amg-footer-col h3{margin:0 0 5px;color:var(--amg-ink);font-size:10px;font-weight:800;line-height:1.4;letter-spacing:-.025em}
.amg-footer-col a{color:#6f7c87;font-size:10px;font-weight:600;line-height:1.45;transition:color .2s}
.amg-footer-col a:hover{color:var(--amg-red)}
.amg-footer-bottom{border-top:1px solid var(--amg-line);padding:15px 0 23px;color:#94a0a9;font-size:10px;text-align:left}

/* Progressive motion: content stays visible until the observer is ready. */
.amg-motion-enabled [data-amg-reveal]{opacity:0;transform:translate3d(0,26px,0)}
.amg-motion-enabled [data-amg-reveal="image"]{transform:translate3d(0,24px,0) scale(.985);--amg-fade-duration:.85s;--amg-rise-duration:1s}
.amg-motion-enabled [data-amg-reveal].is-visible{opacity:1;transform:none;transition:opacity var(--amg-fade-duration,.7s) ease,transform var(--amg-rise-duration,.85s) cubic-bezier(.22,1,.36,1);transition-delay:var(--amg-delay,0ms)}
.amg-motion-enabled [data-amg-reveal].amg-reveal-focused{transition-delay:0ms}
.amg-motion-enabled .amg-hero{position:relative;isolation:isolate}
.amg-motion-enabled .amg-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:inherit;transform:translate3d(0,var(--amg-hero-drift,0px),0) scale(1.08)}
.amg-motion-enabled .amg-contact-ribbon::after{transform:translate3d(var(--amg-ribbon-drift,0px),0,0) rotate(-8deg)}
@media(max-width:760px){
  .amg-motion-enabled [data-amg-reveal]{transform:translate3d(0,18px,0);--amg-fade-duration:.55s;--amg-rise-duration:.65s}
  .amg-motion-enabled [data-amg-reveal="image"]{transform:translate3d(0,18px,0)}
  .amg-motion-enabled [data-amg-reveal].is-visible{transform:none}
  .amg-motion-enabled .amg-hero::before{content:none}
}
@media print{
  .amg-motion-enabled [data-amg-reveal],.amg-motion-enabled [data-amg-reveal].is-visible{opacity:1;transform:none;transition:none}
  .amg-motion-enabled .amg-hero::before{content:none}
}

@media(max-width:1050px){
  .amg-shell{width:min(calc(100% - 60px),var(--amg-shell))}
  .amg-header-inner{min-height:78px}
  .amg-brand{width:155px}
  .amg-primary-nav{gap:22px}
  .amg-menu{gap:22px}
  .amg-menu a{min-height:78px;font-size:12px}
  .amg-hero,.amg-hero-inner{min-height:590px}
  .amg-hero h1{font-size:clamp(43px,5vw,58px)}
  .amg-footer-main{grid-template-columns:1.5fr repeat(3,1fr);row-gap:34px}
  .amg-footer-col:nth-last-child(-n+2){grid-column:auto}
}
@media(max-width:760px){
  .amg-shell{width:min(calc(100% - 36px),var(--amg-shell))}
  .amg-header-inner{min-height:72px}
  .amg-brand{width:146px}
  .amg-menu-toggle{display:flex;margin-left:auto}
  .amg-primary-nav{display:none;position:absolute;left:0;right:0;top:72px;background:#fff;box-shadow:0 12px 24px rgba(18,38,55,.11);padding:11px 18px 22px;flex-direction:column;align-items:stretch;gap:6px}
  .amg-primary-nav.is-open{display:flex}
  .amg-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .amg-menu a{min-height:47px;width:100%;font-size:13px}
  .amg-menu a.is-current::after{left:0;right:auto;bottom:5px;width:26px}
  .amg-header-contact{width:100%;min-height:46px}
  .amg-hero{background-size:auto 100%;background-position:66% bottom}
  .amg-hero,.amg-hero-inner{min-height:595px}
  .amg-hero-copy{width:100%;max-width:530px;padding:54px 0 35px}
  .amg-hero h1{font-size:clamp(38px,7vw,53px)}
  .amg-hero-support{max-width:410px}
  .amg-pillars-grid{grid-template-columns:repeat(3,1fr);row-gap:25px;padding:29px 0}
  .amg-pillar:nth-child(4)::before{display:none}
  .amg-pillar h2{font-size:13px}
  .amg-feature-grid{grid-template-columns:1fr}
  .amg-feature-copy{max-width:none;padding:57px 0 34px}
  .amg-feature-photo{height:290px;max-height:none}
  .amg-section{padding:62px 0}
  .amg-business-grid{grid-template-columns:1fr;gap:15px}
  .amg-business-card{min-height:210px}
  .amg-business-card img{min-height:210px}
  .amg-leadership-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
  .amg-leadership-intro{grid-column:1/-1}
  .amg-leader{margin-top:0}
  .amg-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px}
  .amg-footer-brand{grid-column:1/-1}
  .amg-footer-brand img{width:155px}
}
@media(max-width:520px){
  .amg-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.78) 52%,rgba(255,255,255,.1) 100%),url('assets/hero-background.jpg');background-size:cover,auto 78%;background-position:center,right bottom}
  .amg-hero,.amg-hero-inner{min-height:610px}
  .amg-hero-copy{align-self:flex-start;padding-top:49px}
  .amg-hero h1{font-size:39px;line-height:1.13}
  .amg-hero-lead{font-size:18px}
  .amg-hero-support{font-size:13px;max-width:360px}
  .amg-actions{gap:9px}
  .amg-actions .amg-button{padding:11px 15px;min-height:44px;font-size:11px;gap:9px}
  .amg-slide-count{margin-top:38px}
  .amg-pillars-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:27px}
  .amg-pillar{min-width:0}
  .amg-pillar h2,.amg-pillar p{overflow-wrap:anywhere}
  .amg-pillar:nth-child(3)::before,.amg-pillar:nth-child(5)::before{display:none}
  .amg-pillar:nth-child(4)::before{display:block}
  .amg-feature-copy{padding-top:50px}
  .amg-home h2{font-size:34px}
  .amg-feature-copy p:not(.amg-eyebrow){font-size:14px}
  .amg-business-card{grid-template-columns:42% 58%;min-height:196px}
  .amg-business-card img{min-height:196px}
  .amg-business-card>div{padding:16px}
  .amg-business-card h3{font-size:16px}
  .amg-business-card p{font-size:10px;line-height:1.4}
  .amg-business-card .amg-text-link{font-size:11px}
  .amg-leadership-grid{grid-template-columns:1fr}
  .amg-leadership-intro{grid-column:auto}
  .amg-leader{min-height:0;padding:0 0 0 17px}
  .amg-news-heading{align-items:flex-start;flex-direction:column;gap:0}
  .amg-news-heading h2{margin-bottom:10px}
  .amg-news-heading>.amg-text-link{margin-bottom:21px}
  .amg-news-tabs{overflow-x:auto}
  .amg-news-tab{padding:0 16px;font-size:10px}
  .amg-contact-ribbon-inner{min-height:137px;align-items:flex-start;justify-content:center;flex-direction:column;gap:10px;padding:22px 0}
  .amg-contact-ribbon h2{font-size:23px}
  .amg-button-white{min-height:41px;padding:10px 17px;font-size:11px}
  .amg-footer-main{padding-top:34px;padding-bottom:31px}
  .amg-footer-col{padding-left:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.amg-motion-enabled [data-amg-reveal],.amg-motion-enabled [data-amg-reveal].is-visible{opacity:1;transform:none;transition:none}.amg-motion-enabled .amg-hero::before{content:none}.amg-motion-enabled .amg-contact-ribbon::after{transform:rotate(-8deg)}}
