/* V29: new MAX editorial cards. Isolated from service cards, header and page effects. */
.max-news-grid{gap:23px;align-items:stretch}
.max-news-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(230,181,103,.27);border-radius:19px;background:linear-gradient(150deg,#10283b 0%,#091928 70%);box-shadow:0 15px 38px rgba(0,0,0,.13);transition:transform .25s,border-color .25s,box-shadow .25s}
.max-news-card:hover{transform:translateY(-5px);border-color:rgba(247,199,115,.72);box-shadow:0 22px 48px rgba(0,0,0,.3)}
.max-news-card .max-news-image{height:auto;aspect-ratio:16/10;flex-shrink:0;position:relative;display:block;isolation:isolate;overflow:hidden;background:#0a2338}
.max-news-card .max-news-image::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(0deg,rgba(3,13,23,.4),transparent);pointer-events:none}
.max-news-card .max-news-image img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .6s cubic-bezier(.2,.75,.3,1)}
.max-news-card:hover .max-news-image img{transform:scale(1.055)}
.max-news-cover-label{position:absolute;left:17px;bottom:16px;z-index:2;background:rgba(6,20,32,.82);border:1px solid rgba(249,210,149,.37);border-radius:6px;color:#ffe1a8;font-size:10px;font-weight:800;letter-spacing:.11em;padding:8px 10px;backdrop-filter:blur(6px)}
.max-news-art{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(48,113,145,.42),transparent 57%),linear-gradient(145deg,#13374d,#061524)}
.max-news-art::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(207,183,128,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(207,183,128,.08) 1px,transparent 1px);background-size:30px 30px;mask-image:linear-gradient(90deg,transparent,#000,transparent)}
.max-news-art-ring{position:absolute;width:180px;height:180px;border:1px solid rgba(238,183,99,.28);border-radius:50%;box-shadow:0 0 0 35px rgba(226,178,96,.035),0 0 0 72px rgba(226,178,96,.025)}
.max-news-art strong{z-index:1;font-size:45px;line-height:1;font-weight:850;letter-spacing:-.05em;color:#ffde9b;text-shadow:0 0 25px rgba(235,180,95,.23)}
.max-news-art small{z-index:1;color:#b7d9eb;font-size:9px;letter-spacing:.26em;font-weight:700}
.max-news-card .max-news-body{padding:24px 24px 25px;display:flex;flex:1;flex-direction:column;gap:0}
.max-news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#e7bc7d;font-size:10px;letter-spacing:.075em;font-weight:800}
.max-news-meta time{color:#afc4d1;font-weight:650;letter-spacing:0;font-size:11px}
.max-news-meta-dot{height:7px;width:7px;border-radius:50%;background:#eab76a;box-shadow:0 0 13px rgba(241,187,97,.45)}
.max-news-meta-sep{opacity:.45}
.max-news-card .max-news-body h3{font-size:clamp(19px,1.65vw,24px);line-height:1.34;letter-spacing:-.025em;font-weight:750;margin:12px 0 12px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.max-news-card .max-news-body h3 a{color:#f7f5f0}
.max-news-card .max-news-body h3 a:hover{color:#ffdb94}
.max-news-card .max-news-body p{color:#b9cbd6;font-size:14px;line-height:1.75;margin:0 0 23px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.max-news-card .max-news-read{margin-top:auto;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(222,176,111,.16);color:#f5d39c;font-size:13px;font-weight:800}
.max-news-card .max-news-read span{font-size:21px;font-weight:400;line-height:1;transition:transform .2s}
.max-news-card:hover .max-news-read span{transform:translate(3px,-3px)}
.max-news-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr))}
.max-news-grid-archive .max-news-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,48%) minmax(0,1fr);min-height:310px}
.max-news-grid-archive .max-news-featured .max-news-image{height:100%;aspect-ratio:auto;min-height:310px}
.max-news-grid-archive .max-news-featured .max-news-body{justify-content:center;padding:32px 37px}
.max-news-grid-archive .max-news-featured .max-news-body h3{font-size:clamp(25px,2.35vw,34px);-webkit-line-clamp:4}
.max-news-grid-archive .max-news-featured .max-news-body p{-webkit-line-clamp:4}
.max-news-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.max-article-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 28px}
.max-article-gallery-single{grid-template-columns:1fr}
.max-article-gallery figure{margin:0;border-radius:12px;overflow:hidden;background:#081d2f;border:1px solid rgba(222,177,101,.19)}
.max-article-gallery img{width:100%;height:230px;object-fit:cover;display:block}
.max-article-gallery-single img{height:auto;max-height:570px;object-fit:contain}
.max-article-text{font-size:17px;line-height:1.8}
@media(max-width:1000px){.max-news-grid-home{grid-template-columns:repeat(2,minmax(0,1fr))}.max-news-grid-home .max-news-card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.max-news-grid-home .max-news-card:last-child:nth-child(odd) .max-news-image{height:100%;aspect-ratio:auto;min-height:240px}}
@media(max-width:700px){.max-news-grid-archive,.max-news-grid-home{grid-template-columns:1fr}.max-news-grid-archive .max-news-featured,.max-news-grid-home .max-news-card:last-child:nth-child(odd){grid-column:auto;display:flex;min-height:0}.max-news-grid-archive .max-news-featured .max-news-image,.max-news-grid-home .max-news-card:last-child:nth-child(odd) .max-news-image{height:auto;aspect-ratio:16/10;min-height:0}.max-news-grid-archive .max-news-featured .max-news-body{padding:23px 22px}.max-news-grid-archive .max-news-featured .max-news-body h3{font-size:22px}.max-news-card .max-news-body{padding:23px 22px}.max-news-grid{gap:18px}.max-article-gallery{grid-template-columns:1fr}.max-article-gallery img{height:auto;max-height:490px;object-fit:contain}}
@media(prefers-reduced-motion:reduce){.max-news-card,.max-news-card .max-news-image img{transition:none}}

/* V30 — full MAX article: photographic hero and semantic reading column. */
.max-article-hero{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:clamp(390px,39vw,570px);overflow:hidden;background:radial-gradient(ellipse at 70% 20%,#284d63 0,transparent 58%),linear-gradient(120deg,#071829,#0d3046 65%,#071725);border-bottom:1px solid rgba(231,182,104,.28)}
.max-article-hero-image{position:absolute;inset:0;z-index:-2;overflow:hidden}
.max-article-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%;filter:saturate(.84) contrast(1.07)}
.max-article-hero:after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(3,13,23,.97),rgba(3,15,28,.78) 46%,rgba(3,13,23,.52)),linear-gradient(90deg,rgba(3,14,26,.72),rgba(3,14,26,.12))}
.max-article-hero-inner{padding-top:66px;padding-bottom:65px;position:relative;width:100%}
.max-article-hero .breadcrumbs{margin-bottom:45px;color:#d9e9f2}
.max-article-hero .breadcrumbs a{color:#e8eff5}
.max-article-hero .eyebrow{color:#f2ca8c;display:block;margin-bottom:17px}
.max-article-hero h1{font-size:clamp(2.35rem,5.2vw,4.5rem);line-height:1.12;letter-spacing:-.035em;max-width:1000px;margin:0;color:#fff;overflow-wrap:anywhere;text-shadow:0 3px 32px rgba(0,0,0,.45);text-wrap:balance}
.max-article-hero-meta{display:flex;gap:12px;align-items:center;margin-top:27px;color:#d1dce5;font-size:14px;font-weight:600}
.max-article-section{background:linear-gradient(170deg,#071726 0%,#091e30 56%,#071522 100%);padding:65px 0 100px}
.max-article-shell{max-width:1180px}
.max-article-document{max-width:860px;margin-inline:auto;background:linear-gradient(145deg,#0c263a,#091b2b);border:1px solid rgba(230,179,100,.26);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.13);overflow:hidden}
.max-article-lead-photo{margin:0;background:#0b1b27;overflow:hidden}
.max-article-lead-photo img{width:100%;max-height:580px;aspect-ratio:16/9;object-fit:cover;display:block}
.max-article-extra-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 32px 0}
.max-article-extra-photos figure{margin:0;overflow:hidden;border-radius:9px;background:#07121e}
.max-article-extra-photos img{width:100%;height:220px;object-fit:cover;display:block}
.max-article-prose{padding:40px clamp(22px,5vw,62px) 34px;color:#e9eff4;overflow-wrap:anywhere}
.max-article-prose h2{font-size:clamp(1.9rem,3vw,2.6rem);line-height:1.24;margin:0 0 29px;color:#fff;letter-spacing:-.02em}
.max-article-prose h3{font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.35;color:#ffda9b;margin:28px 0 12px}
.max-article-prose p{font-size:clamp(16px,1.4vw,18px);line-height:1.85;margin:0 0 19px;white-space:pre-wrap}
.max-article-prose p:last-child{margin-bottom:0}
.max-article-prose a{color:#ffd28e;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,210,142,.44);overflow-wrap:anywhere}
.max-article-prose a:hover{color:#fff0c9;text-decoration-color:currentColor}
.max-article-prose strong{font-weight:800;color:#fff}
.max-article-prose mark{background:rgba(240,185,97,.28);color:#fff7e5}
.max-article-prose code{font-size:.89em;padding:2px 5px;background:#05111b;border-radius:4px}
.max-article-footer{display:flex;flex-wrap:wrap;gap:12px 26px;justify-content:space-between;align-items:center;margin:0 clamp(22px,5vw,62px);padding:24px 0 32px;border-top:1px solid rgba(223,175,99,.22)}
.max-article-footer a{display:inline-flex;gap:8px;align-items:center;color:#ffd38f;font-weight:750;font-size:14px;text-decoration:none}
.max-article-footer a:hover{color:#fff1c9}
.max-article-not-found{padding:36px}
@media(max-width:760px){.max-article-hero{min-height:420px}.max-article-hero-inner{padding-top:42px;padding-bottom:46px}.max-article-hero .breadcrumbs{margin-bottom:35px}.max-article-hero h1{font-size:clamp(2rem,7.5vw,3.25rem)}.max-article-section{padding:35px 0 72px}.max-article-lead-photo img{aspect-ratio:4/3;max-height:450px}.max-article-extra-photos{gap:8px;padding:12px 14px 0}.max-article-extra-photos img{height:160px}.max-article-prose{padding-top:27px;padding-bottom:27px}.max-article-prose h2{margin-bottom:23px}.max-article-prose p{line-height:1.75}.max-article-document{border-radius:13px}}
@media(max-width:450px){.max-article-hero h1{font-size:clamp(1.9rem,9vw,2.6rem)}.max-article-hero-meta{font-size:12px}.max-article-extra-photos{grid-template-columns:1fr}.max-article-extra-photos img{height:auto;max-height:380px;object-fit:contain}.max-article-footer{align-items:flex-start;flex-direction:column}}

/* V37: align MAX article hero copy like the rest of the site and strengthen the dark left fade. */
.max-article-hero.max-article-hero-centered{
  align-items:center;
  min-height:clamp(420px,43vw,590px);
}
.max-article-hero.max-article-hero-centered::after{
  background:
    linear-gradient(90deg,rgba(3,14,26,.95) 0%,rgba(3,14,26,.86) 26%,rgba(3,14,26,.48) 58%,rgba(3,14,26,.16) 100%),
    linear-gradient(0deg,rgba(3,13,23,.97),rgba(3,15,28,.78) 44%,rgba(3,13,23,.48));
}
.max-article-hero.max-article-hero-centered .max-article-hero-inner{
  padding-top:118px;
  padding-bottom:92px;
}
.max-article-hero.max-article-hero-centered .breadcrumbs,
.max-article-hero.max-article-hero-centered .eyebrow,
.max-article-hero.max-article-hero-centered h1,
.max-article-hero.max-article-hero-centered .max-article-hero-meta{
  max-width:900px;
}
@media(max-width:760px){
  .max-article-hero.max-article-hero-centered{
    min-height:400px;
  }
  .max-article-hero.max-article-hero-centered .max-article-hero-inner{
    padding-top:100px;
    padding-bottom:60px;
  }
}
@media(max-width:450px){
  .max-article-hero.max-article-hero-centered .max-article-hero-inner{
    padding-top:92px;
    padding-bottom:52px;
  }
  .max-article-hero.max-article-hero-centered::after{
    background:
      linear-gradient(100deg,rgba(3,14,26,.96),rgba(3,14,26,.78) 48%,rgba(3,14,26,.34)),
      linear-gradient(0deg,rgba(3,13,23,.98),rgba(3,15,28,.76) 50%,rgba(3,13,23,.52));
  }
}

/* V38: MAX article hero — center copy across the hero, not just vertically.
   Applied to the article template only; news cards, article body and other
   page heroes remain unchanged. */
.max-article-hero .max-article-hero-inner {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.max-article-hero .max-article-hero-inner > .breadcrumbs {
  justify-content:center;
  text-align:center;
}
.max-article-hero .max-article-hero-inner > .eyebrow {
  display:block;
  text-align:center;
  margin-inline:auto;
}
.max-article-hero .max-article-hero-inner > h1 {
  width:100%;
  margin-inline:auto;
  text-align:center;
}
.max-article-hero .max-article-hero-inner > .max-article-hero-meta {
  width:100%;
  flex-wrap:wrap;
  justify-content:center;
  text-align:center;
  margin-inline:auto;
}

/* V50 — MAX archive pagination and lightweight infinite scroll. */
.max-news-pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin:35px 0 10px}
.max-news-pagination .max-news-more{min-width:230px;display:inline-flex;justify-content:center;align-items:center;gap:12px;text-align:center}
.max-news-pagination .max-news-more[hidden]{display:none!important}
.max-news-pagination .max-news-more[aria-busy="true"]{opacity:.75;pointer-events:none}
.max-news-previous{display:inline-flex;align-items:center;min-height:45px;color:#f2cd90;font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.max-news-previous:hover{color:#fff0cc}
.max-news-page-status{margin:13px 0 0;text-align:center;color:#9fb5c5;font-size:13px;line-height:1.5;min-height:20px}
@media(max-width:520px){.max-news-pagination{flex-direction:column;gap:8px;margin-top:26px}.max-news-pagination .max-news-more{width:100%;min-width:0}.max-news-previous{justify-content:center}}
