
/* Alghad Offers Suite — isolated styles */
.agkos-page{
  --agkos-accent:#284388;
  --agkos-navy:#162A63;
  --agkos-blue:#284388;
  --agkos-text:#1E293B;
  --agkos-muted:#667085;
  --agkos-line:#E4E9F1;
  --agkos-soft:#F7F9FC;
  --agkos-surface:#FFFFFF;
  color:var(--agkos-text);
  direction:rtl;
}
html[data-agk-theme="dark"] .agkos-page{
  --agkos-text:#F3F6FC;
  --agkos-muted:#A8B2C7;
  --agkos-line:#263654;
  --agkos-soft:#121D36;
  --agkos-surface:#0E1830;
}
.agkos-container{
  width:min(calc(100% - 40px),1240px);
  margin-inline:auto;
}
.agkos-page img{max-width:100%;height:auto}
.agkos-page a{text-decoration:none}

/* Archive */
.agkos-archive-hero{
  padding:44px 0 34px;
  background:
    radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--agkos-blue) 10%,transparent),transparent 34%),
    linear-gradient(180deg,var(--agkos-surface),var(--agkos-soft));
  border-bottom:1px solid var(--agkos-line);
}
.agkos-archive-brand{
  display:flex;align-items:center;gap:14px;
  padding-bottom:26px;
}
.agkos-archive-logo{width:118px;flex:0 0 118px}
.agkos-archive-brand>div:last-child{display:flex;flex-direction:column;gap:2px}
.agkos-archive-brand strong{font-size:22px;color:var(--agkos-navy)}
.agkos-archive-brand span{font-size:12px;color:var(--agkos-muted)}
html[data-agk-theme="dark"] .agkos-archive-brand strong{color:var(--agkos-text)}
.agkos-archive-heading{
  display:flex;align-items:end;justify-content:space-between;gap:20px;
  border-top:1px solid var(--agkos-line);padding-top:26px;
}
.agkos-archive-heading span{
  font-size:12px;font-weight:800;color:var(--agkos-blue);
  padding:7px 10px;border:1px solid color-mix(in srgb,var(--agkos-blue) 25%,var(--agkos-line));
  border-radius:8px;background:color-mix(in srgb,var(--agkos-blue) 5%,transparent)
}
.agkos-archive-heading h1{
  margin:0;font-size:clamp(32px,5vw,58px);line-height:1.12;letter-spacing:-.02em;color:var(--agkos-navy)
}
html[data-agk-theme="dark"] .agkos-archive-heading h1{color:var(--agkos-text)}
.agkos-archive-grid-section{padding:54px 0 80px}
.agkos-offer-cards{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px
}
.agkos-offer-card{
  --agkos-accent:#284388;
  min-width:0;overflow:hidden;border:1px solid var(--agkos-line);border-radius:22px;
  background:var(--agkos-surface);box-shadow:0 18px 55px rgba(22,42,99,.055);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease
}
.agkos-offer-card:hover{
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--agkos-accent) 42%,var(--agkos-line));
  box-shadow:0 26px 70px rgba(22,42,99,.10)
}
.agkos-offer-card-link{display:grid;grid-template-columns:minmax(210px,42%) 1fr;min-height:330px;color:inherit}
.agkos-offer-card-media{position:relative;overflow:hidden;background:var(--agkos-soft)}
.agkos-offer-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.agkos-offer-card:hover .agkos-offer-card-media img{transform:scale(1.035)}
.agkos-offer-card-placeholder{
  display:block;width:100%;height:100%;
  background:linear-gradient(145deg,color-mix(in srgb,var(--agkos-accent) 18%,#fff),var(--agkos-soft))
}
.agkos-offer-card-badges{
  position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;gap:8px
}
.agkos-offer-card-badges span{
  padding:6px 9px;border-radius:8px;font-size:10px;font-weight:800;
  background:rgba(255,255,255,.92);color:#17233D;backdrop-filter:blur(8px)
}
.agkos-offer-card-body{
  display:flex;flex-direction:column;padding:28px 28px 24px;min-width:0
}
.agkos-card-kicker{font-size:10px;font-weight:800;color:var(--agkos-accent);margin-bottom:8px}
.agkos-offer-card h2{margin:0;font-size:28px;line-height:1.25;color:var(--agkos-navy)}
html[data-agk-theme="dark"] .agkos-offer-card h2{color:var(--agkos-text)}
.agkos-card-intro{margin-top:10px}
.agkos-card-intro .agkos-lines{display:grid;gap:2px}
.agkos-card-intro p{margin:0;color:var(--agkos-muted);font-size:13px;line-height:1.65}
.agkos-card-price{display:block;margin-top:18px;color:var(--agkos-accent);font-size:22px;line-height:1.25}
.agkos-card-highlights{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:7px}
.agkos-card-highlights li{
  position:relative;padding-inline-start:16px;color:var(--agkos-muted);font-size:11px;line-height:1.55
}
.agkos-card-highlights li::before{
  content:"";position:absolute;inset-inline-start:0;top:.58em;width:6px;height:6px;border-radius:50%;background:var(--agkos-accent)
}
.agkos-card-button{
  margin-top:auto;padding-top:22px;display:flex;align-items:center;justify-content:center;
  min-height:42px;border-radius:10px;background:var(--agkos-accent);color:#fff;font-size:12px;font-weight:800
}


/* Single */
.agkos-offer-shell{padding:28px 0 80px}
.agkos-offer-identity{
  min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding-bottom:20px;border-bottom:1px solid var(--agkos-line)
}
.agkos-offer-identity-brand{display:flex;align-items:center;gap:12px}
.agkos-identity-logo{width:92px}
.agkos-offer-identity-brand>div:last-child{display:flex;flex-direction:column}
.agkos-offer-identity-brand strong{font-size:16px;color:var(--agkos-navy)}
html[data-agk-theme="dark"] .agkos-offer-identity-brand strong{color:var(--agkos-text)}
.agkos-offer-identity-brand span{font-size:10px;color:var(--agkos-muted)}
.agkos-offer-identity>a{
  font-size:11px;font-weight:800;color:var(--agkos-accent);
  border:1px solid color-mix(in srgb,var(--agkos-accent) 22%,var(--agkos-line));
  border-radius:9px;padding:9px 12px
}
.agkos-offer-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,46%);
  gap:42px;align-items:stretch;padding:48px 0 58px
}
.agkos-offer-hero-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.agkos-mini-label{font-size:11px;font-weight:800;color:var(--agkos-accent);margin-bottom:9px}
.agkos-offer-hero h1{
  margin:0;font-size:clamp(38px,5.8vw,72px);line-height:1.05;color:var(--agkos-navy);letter-spacing:-.025em
}
html[data-agk-theme="dark"] .agkos-offer-hero h1{color:var(--agkos-text)}
.agkos-offer-year{
  width:max-content;margin-top:12px;padding:6px 9px;border:1px solid var(--agkos-line);border-radius:8px;
  font-size:11px;font-weight:800;color:var(--agkos-muted)
}
.agkos-offer-intro{margin-top:20px}
.agkos-offer-intro .agkos-lines{display:grid;gap:1px}
.agkos-offer-intro p{margin:0;font-size:17px;line-height:1.6;color:var(--agkos-text)}
.agkos-price-box{
  margin-top:24px;width:min(100%,370px);padding:18px 20px;border-radius:14px;
  background:linear-gradient(135deg,var(--agkos-accent),color-mix(in srgb,var(--agkos-accent) 76%,#0D1730));
  color:#fff;display:flex;flex-direction:column;gap:4px
}
.agkos-price-box span{font-size:10px;opacity:.78}
.agkos-price-box strong{font-size:24px;line-height:1.25}
.agkos-offer-closing{margin-top:22px}
.agkos-offer-closing .agkos-lines{display:grid;gap:1px}
.agkos-offer-closing p{margin:0;color:var(--agkos-muted);font-size:13px;line-height:1.6}
.agkos-offer-hero-media{
  min-height:430px;border-radius:22px;overflow:hidden;background:var(--agkos-soft);
  box-shadow:0 20px 65px rgba(22,42,99,.10)
}
.agkos-offer-hero-media img{width:100%;height:100%;object-fit:cover}
.agkos-offer-hero-placeholder{
  display:block;width:100%;height:100%;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--agkos-accent) 24%,transparent),transparent),
    var(--agkos-soft)
}

/* Stages */
.agkos-stage-stack{display:grid;gap:26px}
.agkos-stage{
  border:1px solid var(--agkos-line);border-radius:18px;overflow:hidden;background:var(--agkos-surface)
}
.agkos-stage-head{
  min-height:64px;display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid var(--agkos-line)
}
.agkos-stage-head>span{
  display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;
  background:color-mix(in srgb,var(--agkos-accent) 9%,var(--agkos-soft));color:var(--agkos-accent);
  font-size:10px;font-weight:900
}
.agkos-stage-head h2{margin:0;font-size:20px;color:var(--agkos-navy);line-height:1.35}
html[data-agk-theme="dark"] .agkos-stage-head h2{color:var(--agkos-text)}
.agkos-stage-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,38%);align-items:stretch}
.agkos-stage.media-left .agkos-stage-copy{order:2}
.agkos-stage.media-left .agkos-stage-media{order:1}
.agkos-stage-copy{padding:26px 28px}
.agkos-stage-list{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.agkos-stage-list li{
  position:relative;padding-inline-start:20px;color:var(--agkos-text);font-size:13px;line-height:1.85
}
.agkos-stage-list li::before{
  content:"";position:absolute;inset-inline-start:1px;top:.82em;width:7px;height:7px;border:2px solid var(--agkos-accent);border-radius:50%
}
.agkos-stage-media{min-height:300px;background:var(--agkos-soft);overflow:hidden}
.agkos-stage-media img{width:100%;height:100%;object-fit:cover}
.agkos-stage.no-media .agkos-stage-body{grid-template-columns:1fr}
.agkos-stage.no-media .agkos-stage-copy{order:0}

/* Text sections */
.agkos-text-section{
  margin-top:28px;border:1px solid var(--agkos-line);border-radius:18px;overflow:hidden;background:var(--agkos-surface)
}
.agkos-text-body{padding:26px 28px}
.agkos-section-intro{
  margin:0 0 18px;padding:14px 16px;border-radius:11px;
  background:color-mix(in srgb,var(--agkos-accent) 6%,var(--agkos-soft));
  color:var(--agkos-text);font-size:13px;line-height:1.9
}
.agkos-text-section.is-gifts .agkos-stage-list li::before{background:var(--agkos-accent)}
.agkos-prayer-box{
  margin-top:28px;padding:20px 24px;border-radius:14px;text-align:center;
  border:1px solid color-mix(in srgb,var(--agkos-accent) 16%,var(--agkos-line));
  background:color-mix(in srgb,var(--agkos-accent) 5%,var(--agkos-soft));
  color:var(--agkos-navy);font-size:14px;font-weight:700
}
html[data-agk-theme="dark"] .agkos-prayer-box{color:var(--agkos-text)}
.agkos-back-wrap{display:flex;justify-content:center;margin-top:22px}
.agkos-back-button{
  display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;
  background:var(--agkos-navy);color:#fff;font-size:12px;font-weight:800
}
.agkos-legacy-content{
  padding:28px;border:1px solid var(--agkos-line);border-radius:18px;background:var(--agkos-surface)
}

/* Related */
.agkos-related{margin-top:56px;padding-top:34px;border-top:1px solid var(--agkos-line)}
.agkos-section-title span{font-size:10px;font-weight:800;color:var(--agkos-accent)}
.agkos-section-title h2{margin:4px 0 18px;font-size:25px;color:var(--agkos-navy)}
html[data-agk-theme="dark"] .agkos-section-title h2{color:var(--agkos-text)}
.agkos-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.agkos-related-grid article{overflow:hidden;border:1px solid var(--agkos-line);border-radius:14px;background:var(--agkos-surface)}
.agkos-related-grid a{display:block;color:inherit}
.agkos-related-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}
.agkos-related-grid strong{display:block;padding:12px 13px;font-size:13px;color:var(--agkos-navy)}
html[data-agk-theme="dark"] .agkos-related-grid strong{color:var(--agkos-text)}

.agkos-empty-state{padding:80px 0}
.agkos-empty-state>div>div{
  max-width:600px;margin:auto;padding:34px;text-align:center;border:1px solid var(--agkos-line);
  border-radius:18px;background:var(--agkos-soft)
}
.agkos-empty-state h2{margin:0 0 7px;color:var(--agkos-navy)}
.agkos-empty-state p{margin:0;color:var(--agkos-muted)}

@media(max-width:980px){
  .agkos-offer-card-link{grid-template-columns:1fr}
  .agkos-offer-card-media{aspect-ratio:16/10}
  .agkos-offer-hero{grid-template-columns:1fr}
  .agkos-offer-hero-media{min-height:0;aspect-ratio:16/10}
  .agkos-stage-body{grid-template-columns:1fr}
  .agkos-stage.media-left .agkos-stage-copy,
  .agkos-stage.media-left .agkos-stage-media{order:0}
  .agkos-stage-media{min-height:0;aspect-ratio:16/10}
}
@media(max-width:760px){
  .agkos-container{width:min(calc(100% - 28px),1240px)}
  .agkos-offer-cards{grid-template-columns:1fr}
  .agkos-archive-brand{padding-bottom:20px}
  .agkos-archive-logo{width:88px;flex-basis:88px}
  .agkos-archive-heading{align-items:flex-start;flex-direction:column-reverse}
  .agkos-archive-heading h1{font-size:36px}
  .agkos-offer-shell{padding-top:18px}
  .agkos-offer-identity{align-items:flex-start}
  .agkos-identity-logo{width:74px}
  .agkos-offer-hero{padding:32px 0 40px;gap:24px}
  .agkos-offer-hero h1{font-size:42px}
  .agkos-offer-intro p{font-size:15px}
  .agkos-stage-head{padding:12px 14px}
  .agkos-stage-head h2{font-size:17px}
  .agkos-stage-copy,.agkos-text-body{padding:20px 18px}
  .agkos-stage-list li{font-size:12px}
  .agkos-related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .agkos-offer-card-body{padding:22px 20px 18px}
  .agkos-offer-card h2{font-size:24px}
  .agkos-offer-identity-brand span{display:none}
  .agkos-related-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .agkos-offer-card,.agkos-offer-card-media img{transition:none!important}
}

.agkos-reveal{opacity:0;transform:translateY(12px);transition:opacity .42s ease,transform .42s ease}
.agkos-reveal.is-visible{opacity:1;transform:none}


/* ==========================================================
   Offers Suite 1.1 — typography controls / archive layouts / AJAX
   ========================================================== */
.agkos-container{width:min(calc(100% - 40px),var(--agkos-container,1240px))}

/* Archive heading */
.agkos-archive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.agkos-archive-heading h1{font-size:var(--agkos-archive-title-size,52px)!important}
.agkos-archive.title-align-right .agkos-archive-heading h1{text-align:right}
.agkos-archive.title-align-center .agkos-archive-heading{justify-content:center;flex-direction:column;align-items:center}
.agkos-archive.title-align-center .agkos-archive-heading h1{text-align:center}
.agkos-archive.title-align-left .agkos-archive-heading{flex-direction:row-reverse}
.agkos-archive.title-align-left .agkos-archive-heading h1{text-align:left}

/* Archive grid */
.agkos-offer-cards{
  grid-template-columns:repeat(var(--agkos-grid-columns,2),minmax(0,1fr))!important;
  gap:var(--agkos-grid-gap,24px)!important
}
.agkos-offer-card{
  border-radius:var(--agkos-card-radius,20px)!important;
  min-height:var(--agkos-card-min-height,330px)!important
}
.agkos-offer-card-media{display:block}
.agkos-offer-card-body h2{font-size:var(--agkos-card-title-size,28px)!important}
.agkos-offer-card-body h2 a{color:inherit}
.agkos-card-intro p{font-size:var(--agkos-card-intro-size,13px)!important}
.agkos-card-price-wrap{
  display:flex;flex-direction:column;gap:3px;margin-top:18px;padding-top:14px;border-top:1px solid var(--agkos-line)
}
.agkos-card-price-wrap small{font-size:9px;color:var(--agkos-muted);font-weight:700}
.agkos-card-price{
  margin:0!important;font-size:var(--agkos-card-price-size,22px)!important;color:var(--agkos-card-price-color,#284388)!important
}
.agkos-card-actions{margin-top:auto;padding-top:20px;display:flex;align-items:center;gap:10px}
.agkos-card-button{
  margin:0!important;padding:0 16px!important;min-height:44px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  border:0!important;border-radius:var(--agkos-button-radius,10px)!important;
  background:var(--agkos-button-bg,#162A63)!important;color:var(--agkos-button-color,#fff)!important;
  font:inherit;font-size:12px!important;font-weight:800!important;cursor:pointer!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--agkos-button-bg,#162A63) 18%,transparent)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important
}
.agkos-card-button:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 14px 30px color-mix(in srgb,var(--agkos-button-bg,#162A63) 24%,transparent)!important}
.agkos-card-button i{font-style:normal;font-size:15px}
.agkos-card-history{font-size:10px;color:var(--agkos-muted);font-weight:700}

/* Archive card layout variants */
.agkos-offer-card.style-split{display:grid;grid-template-columns:minmax(180px,42%) minmax(0,1fr)}
.agkos-offer-card.style-split .agkos-offer-card-media{min-height:100%}
.agkos-offer-card.style-split .agkos-offer-card-media img{width:100%;height:100%;object-fit:cover}
.agkos-offer-card.style-editorial{display:grid;grid-template-columns:minmax(0,1fr)}
.agkos-offer-card.style-editorial .agkos-offer-card-media{aspect-ratio:16/8}
.agkos-offer-card.style-editorial .agkos-offer-card-body{padding-top:22px}
.agkos-offer-card.style-image-top{display:flex;flex-direction:column}
.agkos-offer-card.style-image-top .agkos-offer-card-media{aspect-ratio:16/10}
.agkos-offer-card.style-minimal{
  display:grid;grid-template-columns:150px minmax(0,1fr);box-shadow:none!important;border-radius:10px!important
}
.agkos-offer-card.style-minimal .agkos-offer-card-media{min-height:100%}
.agkos-offer-card.style-minimal .agkos-offer-card-body{padding:20px}
.agkos-offer-card.style-minimal .agkos-card-highlights{display:none}

/* Single offer typography variables */
.agkos-single .agkos-offer-hero h1{
  font-size:var(--agkos-hero-title-size,64px)!important;
  color:var(--agkos-hero-title-color,#162A63)!important
}
.agkos-single.hero-title-align-right .agkos-offer-hero h1{text-align:right}
.agkos-single.hero-title-align-center .agkos-offer-hero h1{text-align:center}
.agkos-single.hero-title-align-left .agkos-offer-hero h1{text-align:left}

.agkos-single .agkos-offer-intro p{
  font-size:var(--agkos-intro-size,17px)!important;color:var(--agkos-intro-color,#1E293B)!important
}
.agkos-single.intro-align-right .agkos-offer-intro{text-align:right}
.agkos-single.intro-align-center .agkos-offer-intro{text-align:center}
.agkos-single.intro-align-left .agkos-offer-intro{text-align:left}

.agkos-single .agkos-offer-closing p{
  font-size:var(--agkos-closing-size,13px)!important;color:var(--agkos-closing-color,#667085)!important
}
.agkos-single.closing-align-right .agkos-offer-closing{text-align:right}
.agkos-single.closing-align-center .agkos-offer-closing{text-align:center}
.agkos-single.closing-align-left .agkos-offer-closing{text-align:left}

.agkos-single .agkos-price-box{
  background:var(--agkos-price-bg,var(--agkos-accent))!important;color:var(--agkos-price-text,#fff)!important
}
.agkos-single .agkos-price-box strong{font-size:var(--agkos-price-size,24px)!important}
.agkos-single.price-width-full .agkos-price-box{width:100%!important}
.agkos-single.price-width-auto .agkos-price-box{width:min(100%,370px)!important}
.agkos-single.price-align-right .agkos-price-box{margin-inline-end:auto;text-align:right}
.agkos-single.price-align-center .agkos-price-box{margin-inline:auto;text-align:center}
.agkos-single.price-align-left .agkos-price-box{margin-inline-start:auto;text-align:left}

.agkos-stage-stack{gap:var(--agkos-section-gap,26px)!important}
.agkos-stage,.agkos-text-section{border-radius:var(--agkos-section-radius,18px)!important}
.agkos-stage-body{grid-template-columns:minmax(0,1fr) minmax(240px,var(--agkos-media-width,38%))!important}
.agkos-stage-head h2{
  font-size:var(--agkos-stage-title-size,20px)!important;color:var(--agkos-stage-title-color,#162A63)!important
}
.agkos-single.stage-title-align-right .agkos-stage-head h2{text-align:right;flex:1}
.agkos-single.stage-title-align-center .agkos-stage-head h2{text-align:center;flex:1}
.agkos-single.stage-title-align-left .agkos-stage-head h2{text-align:left;flex:1}
.agkos-stage-list li,.agkos-section-intro{
  font-size:var(--agkos-body-size,13px)!important;color:var(--agkos-body-color,#1E293B)!important;
  line-height:var(--agkos-body-line-height,1.85)!important
}
.agkos-single.body-align-right .agkos-stage-copy,.agkos-single.body-align-right .agkos-text-body{text-align:right}
.agkos-single.body-align-center .agkos-stage-copy,.agkos-single.body-align-center .agkos-text-body{text-align:center}
.agkos-single.body-align-left .agkos-stage-copy,.agkos-single.body-align-left .agkos-text-body{text-align:left}
.agkos-single.body-align-center .agkos-stage-list li,.agkos-single.body-align-left .agkos-stage-list li{padding-inline-start:0}
.agkos-single.body-align-center .agkos-stage-list li::before,.agkos-single.body-align-left .agkos-stage-list li::before{display:none}
.agkos-stage-media img{object-fit:var(--agkos-image-fit,cover)!important}

/* Remove all old HTML/header-like logo blocks from offer pages */
.agkos-archive-brand,.agkos-offer-identity{display:none!important}

@media(max-width:1100px){
  .agkos-offer-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .agkos-offer-cards{grid-template-columns:1fr!important}
  .agkos-offer-card.style-split,.agkos-offer-card.style-minimal{grid-template-columns:1fr}
  .agkos-offer-card.style-split .agkos-offer-card-media,.agkos-offer-card.style-minimal .agkos-offer-card-media{aspect-ratio:16/10}
  .agkos-stage-body{grid-template-columns:1fr!important}
  .agkos-qv-grid{grid-template-columns:1fr}
  .agkos-qv-media{aspect-ratio:16/9}
  .agkos-qv-copy{padding:26px 22px}
  .agkos-qv-copy h2{font-size:28px}
}



/* ==========================================================
   Offers Suite 1.3 — text weight + stretch controls
   ========================================================== */
.agkos-single .agkos-offer-hero h1{
  font-weight:var(--agkos-hero-title-weight,800)!important;
  width:min(100%,var(--agkos-hero-title-width,100%))!important;
}
.agkos-single.hero-title-align-center .agkos-offer-hero h1{margin-inline:auto!important}
.agkos-single.hero-title-align-left .agkos-offer-hero h1{margin-inline-start:auto!important}

.agkos-single .agkos-offer-intro{
  width:min(100%,var(--agkos-intro-width,90%))!important;
}
.agkos-single .agkos-offer-intro p{
  font-weight:var(--agkos-intro-weight,500)!important;
}
.agkos-single.intro-align-center .agkos-offer-intro{margin-inline:auto!important}
.agkos-single.intro-align-left .agkos-offer-intro{margin-inline-start:auto!important}

.agkos-single .agkos-offer-closing{
  width:min(100%,var(--agkos-closing-width,85%))!important;
}
.agkos-single .agkos-offer-closing p{
  font-weight:var(--agkos-closing-weight,500)!important;
}
.agkos-single.closing-align-center .agkos-offer-closing{margin-inline:auto!important}
.agkos-single.closing-align-left .agkos-offer-closing{margin-inline-start:auto!important}

.agkos-single .agkos-price-box{
  width:min(100%,var(--agkos-price-stretch,55%))!important;
}
.agkos-single.price-width-full .agkos-price-box{width:100%!important}
.agkos-single .agkos-price-box strong{
  font-weight:var(--agkos-price-weight,850)!important;
}
.agkos-single .agkos-price-box span{
  font-weight:var(--agkos-price-label-weight,600)!important;
}

.agkos-single .agkos-stage-head h2{
  font-weight:var(--agkos-stage-title-weight,800)!important;
  width:min(100%,var(--agkos-stage-title-width,100%))!important;
}
.agkos-single .agkos-stage-copy,
.agkos-single .agkos-text-body{
  width:min(100%,var(--agkos-body-width,100%))!important;
}
.agkos-single .agkos-stage-list li,
.agkos-single .agkos-section-intro{
  font-weight:var(--agkos-body-weight,450)!important;
}
.agkos-single.body-align-center .agkos-stage-copy,
.agkos-single.body-align-center .agkos-text-body{margin-inline:auto!important}
.agkos-single.body-align-left .agkos-stage-copy,
.agkos-single.body-align-left .agkos-text-body{margin-inline-start:auto!important}

.agkos-archive-heading h1{font-weight:var(--agkos-archive-title-weight,800)!important}
.agkos-offer-card-body h2{font-weight:var(--agkos-card-title-weight,800)!important}
.agkos-card-intro p{font-weight:var(--agkos-card-intro-weight,450)!important}
.agkos-card-price{font-weight:var(--agkos-card-price-weight,850)!important}

.agkos-single.hero-title-align-right .agkos-offer-hero h1{margin-inline-end:auto!important}
.agkos-single.intro-align-right .agkos-offer-intro{margin-inline-end:auto!important}
.agkos-single.closing-align-right .agkos-offer-closing{margin-inline-end:auto!important}
.agkos-single.body-align-right .agkos-stage-copy,
.agkos-single.body-align-right .agkos-text-body{margin-inline-end:auto!important}


/* ==========================================================
   Offers Suite 1.4 — centered identity / issue year / full-width details
   ========================================================== */
.agkos-single .agkos-mini-label{
  display:block;
  width:100%;
  font-size:var(--agkos-kicker-size,11px)!important;
  font-weight:var(--agkos-kicker-weight,800)!important;
}
.agkos-single.kicker-align-right .agkos-mini-label{text-align:right}
.agkos-single.kicker-align-center .agkos-mini-label{text-align:center}
.agkos-single.kicker-align-left .agkos-mini-label{text-align:left}

.agkos-single .agkos-offer-year{
  font-size:var(--agkos-year-size,11px)!important;
  font-weight:var(--agkos-year-weight,800)!important;
}
.agkos-single.year-align-right .agkos-offer-year{margin-inline-end:auto!important;margin-inline-start:0!important;text-align:right}
.agkos-single.year-align-center .agkos-offer-year{margin-inline:auto!important;text-align:center}
.agkos-single.year-align-left .agkos-offer-year{margin-inline-start:auto!important;margin-inline-end:0!important;text-align:left}

/* Full mode gives paragraph details the offer-interface width.
   Width percentage remains user-controlled from Control Center. */
.agkos-single.details-layout-full .agkos-stage-body{
  display:block!important;
}
.agkos-single.details-layout-full .agkos-stage-copy{
  width:min(100%,var(--agkos-body-width,100%))!important;
  max-width:none!important;
}
.agkos-single.details-layout-full .agkos-stage-list{
  width:100%!important;
}
.agkos-single.details-layout-full .agkos-stage-list li{
  width:100%!important;
  max-width:none!important;
}
.agkos-single.details-layout-full .agkos-stage-media{
  width:min(100%,var(--agkos-media-width,38%))!important;
  margin-top:22px;
}
.agkos-single.details-layout-full .media-left .agkos-stage-media{margin-inline-end:auto}
.agkos-single.details-layout-full .media-right .agkos-stage-media{margin-inline-start:auto}
.agkos-single.details-layout-full.body-align-center .agkos-stage-media{margin-inline:auto}

.agkos-single.details-layout-split .agkos-stage-body{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(240px,var(--agkos-media-width,38%))!important;
}
.agkos-single.details-layout-split .agkos-stage-copy{
  width:min(100%,var(--agkos-body-width,100%))!important;
}
@media(max-width:760px){
  .agkos-single.details-layout-split .agkos-stage-body{grid-template-columns:1fr!important}
  .agkos-single.details-layout-full .agkos-stage-media,
  .agkos-single.details-layout-split .agkos-stage-media{width:100%!important}
}


/* v1.4.1 — definitive internal offer-title alignment */
.agkos-single.hero-title-align-right .agkos-offer-hero h1{
  text-align:right!important;
  margin-inline-start:0!important;
  margin-inline-end:auto!important;
}
.agkos-single.hero-title-align-center .agkos-offer-hero h1{
  text-align:center!important;
  margin-inline-start:auto!important;
  margin-inline-end:auto!important;
}
.agkos-single.hero-title-align-left .agkos-offer-hero h1{
  text-align:left!important;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
}


/* ==========================================================
   Offers Suite 1.5 — tablet / iPad / touch responsiveness
   ========================================================== */
@media(min-width:768px) and (max-width:1180px){
  .agkos-container{width:min(calc(100% - 40px),var(--agkos-container,1240px))!important}
  .agkos-offer-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .agkos-offer-hero{
    gap:28px!important;
    grid-template-columns:minmax(0,1fr) minmax(280px,40%)!important;
  }
  .agkos-offer-hero-media{min-height:360px!important}
  .agkos-stage-copy,.agkos-text-body{padding:22px!important}
}

@media(max-width:900px){
  .agkos-offer-hero{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  .agkos-offer-hero-copy{order:1}
  .agkos-offer-hero-media{
    order:2;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
  .agkos-single .agkos-offer-intro,
  .agkos-single .agkos-offer-closing{
    max-width:100%!important;
  }
}

@media(max-width:767px){
  .agkos-container{width:min(calc(100% - 28px),var(--agkos-container,1240px))!important}
  .agkos-archive-heading{
    align-items:center!important;
    text-align:center!important;
  }
  .agkos-archive-heading h1{
    font-size:clamp(30px,9vw,var(--agkos-archive-title-size,52px))!important;
  }
  .agkos-offer-hero{
    padding:26px 0 34px!important;
  }
  .agkos-single .agkos-offer-hero h1{
    font-size:clamp(34px,11vw,var(--agkos-hero-title-size,64px))!important;
    max-width:100%!important;
  }
  .agkos-single .agkos-price-box{
    max-width:100%!important;
  }
  .agkos-stage,.agkos-text-section{
    border-radius:min(var(--agkos-section-radius,18px),16px)!important;
  }
  .agkos-stage-head{
    min-height:58px!important;
    gap:10px!important;
  }
  .agkos-stage-copy,.agkos-text-body{
    padding:18px 16px!important;
  }
  .agkos-card-button{
    min-height:46px!important;
    width:100%!important;
  }
}
@media(pointer:coarse){
  body.agk-touch-reduce-motion .agkos-reveal{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}


/* Offers Suite 1.6 — refined dark mode */
html[data-agk-theme="dark"] .agkos-page{
  --agkos-text:var(--agk-dark-text,#F3F6FB);
  --agkos-muted:var(--agk-dark-muted,#A7B2C6);
  --agkos-line:var(--agk-dark-line,#26344D);
  --agkos-soft:var(--agk-dark-surface-alt,#162238);
  --agkos-surface:var(--agk-dark-surface,#111B2E);
  --agkos-navy:var(--agk-dark-heading,#FFFFFF);
  --agkos-blue:var(--agk-dark-primary,#6F96FF);
  background:var(--agk-dark-bg,#0B1220);
}
html[data-agk-theme="dark"] .agkos-archive-hero,
html[data-agk-theme="dark"] .agkos-offer-card,
html[data-agk-theme="dark"] .agkos-stage,
html[data-agk-theme="dark"] .agkos-text-section,
html[data-agk-theme="dark"] .agkos-prayer-box,
html[data-agk-theme="dark"] .agkos-related article{
  background:var(--agkos-surface)!important;
  border-color:var(--agkos-line)!important;
  color:var(--agkos-text)!important;
}
html[data-agk-theme="dark"] .agkos-offer-card-badges span{
  background:color-mix(in srgb,var(--agkos-surface) 90%,transparent)!important;
  color:var(--agkos-text)!important;
}
html[data-agk-theme="dark"] .agkos-stage-head,
html[data-agk-theme="dark"] .agkos-text-section .agkos-stage-head{
  background:var(--agk-dark-surface-alt,#162238)!important;
  border-color:var(--agkos-line)!important;
}
html[data-agk-theme="dark"] .agkos-stage-list li,
html[data-agk-theme="dark"] .agkos-section-intro,
html[data-agk-theme="dark"] .agkos-offer-intro p,
html[data-agk-theme="dark"] .agkos-offer-closing p{
  color:var(--agkos-muted)!important;
}


/* ==========================================================
   Offers Suite 1.7 — responsive text stretch controls
   ========================================================== */
@media(min-width:768px) and (max-width:1180px){
  .agkos-single .agkos-offer-hero h1{
    width:min(100%,var(--agkos-hero-title-width-tablet,100%))!important;
  }
  .agkos-single .agkos-offer-intro{
    width:min(100%,var(--agkos-intro-width-tablet,94%))!important;
  }
  .agkos-single .agkos-offer-closing{
    width:min(100%,var(--agkos-closing-width-tablet,92%))!important;
  }
  .agkos-single .agkos-price-box{
    width:min(100%,var(--agkos-price-stretch-tablet,68%))!important;
  }
  .agkos-single .agkos-stage-head h2{
    width:min(100%,var(--agkos-stage-title-width-tablet,100%))!important;
  }
  .agkos-single .agkos-stage-copy,
  .agkos-single .agkos-text-body{
    width:min(100%,var(--agkos-body-width-tablet,100%))!important;
  }
}
@media(max-width:767px){
  .agkos-single .agkos-offer-hero h1{
    width:min(100%,var(--agkos-hero-title-width-mobile,100%))!important;
  }
  .agkos-single .agkos-offer-intro{
    width:min(100%,var(--agkos-intro-width-mobile,100%))!important;
  }
  .agkos-single .agkos-offer-closing{
    width:min(100%,var(--agkos-closing-width-mobile,100%))!important;
  }
  .agkos-single .agkos-price-box{
    width:min(100%,var(--agkos-price-stretch-mobile,100%))!important;
  }
  .agkos-single .agkos-stage-head h2{
    width:min(100%,var(--agkos-stage-title-width-mobile,100%))!important;
  }
  .agkos-single .agkos-stage-copy,
  .agkos-single .agkos-text-body{
    width:min(100%,var(--agkos-body-width-mobile,100%))!important;
  }
}


/* Offers Suite 1.7 — final dark mode button and title consistency */
html[data-agk-theme="dark"] .agkos-single .agkos-offer-hero h1,
html[data-agk-theme="dark"] .agkos-single .agkos-stage-head h2,
html[data-agk-theme="dark"] .agkos-single .agkos-text-section h2,
html[data-agk-theme="dark"] .agkos-archive-heading h1,
html[data-agk-theme="dark"] .agkos-offer-card-body h2{
  color:var(--agk-dark-heading,#FFFFFF)!important;
}
html[data-agk-theme="dark"] .agkos-card-button,
html[data-agk-theme="dark"] .agkos-back-button{
  background:var(--agk-dark-button-bg,#6F96FF)!important;
  color:var(--agk-dark-button-text,#07101F)!important;
  border-color:var(--agk-dark-button-bg,#6F96FF)!important;
}
html[data-agk-theme="dark"] .agkos-price-box{
  border-color:color-mix(in srgb,var(--agk-dark-line,#26344D) 78%,transparent)!important;
}


/* ==========================================================
   Offers Suite 1.8 — archive mobile centering + equalized details
   ========================================================== */

/* Desktop card-content alignment */
.agkos-archive.card-content-align-right .agkos-offer-card-body{text-align:right}
.agkos-archive.card-content-align-center .agkos-offer-card-body{text-align:center}
.agkos-archive.card-content-align-left .agkos-offer-card-body{text-align:left}

.agkos-archive.card-content-align-center .agkos-card-actions,
.agkos-archive.card-content-align-center .agkos-card-highlights{
  justify-content:center;
}
.agkos-archive.card-content-align-center .agkos-card-highlights li{
  width:max-content;
  max-width:100%;
  margin-inline:auto;
}
.agkos-archive.card-content-align-left .agkos-card-actions{justify-content:flex-end}

/* Detail text alignment and line rhythm — Desktop */
.agkos-single.body-text-right .agkos-stage-list li,
.agkos-single.body-text-right .agkos-section-intro,
.agkos-single.body-text-right .agkos-legacy-content p{text-align:right}

.agkos-single.body-text-center .agkos-stage-list li,
.agkos-single.body-text-center .agkos-section-intro,
.agkos-single.body-text-center .agkos-legacy-content p{text-align:center}

.agkos-single.body-text-left .agkos-stage-list li,
.agkos-single.body-text-left .agkos-section-intro,
.agkos-single.body-text-left .agkos-legacy-content p{text-align:left}

.agkos-single.body-text-justify .agkos-stage-list li,
.agkos-single.body-text-justify .agkos-section-intro,
.agkos-single.body-text-justify .agkos-legacy-content p{
  text-align:justify;
  text-align-last:right;
  text-justify:inter-word;
}

.agkos-single .agkos-stage-list{
  gap:var(--agkos-body-item-gap,11px)!important;
}
.agkos-single .agkos-stage-list li,
.agkos-single .agkos-section-intro,
.agkos-single .agkos-legacy-content p{
  line-height:var(--agkos-body-line-height,1.85)!important;
}
.agkos-single .agkos-stage-copy,
.agkos-single .agkos-text-body{
  padding-inline:var(--agkos-body-padding-x,28px)!important;
}

/* Mobile archive: centered cards, content and controls */
@media(max-width:767px){
  .agkos-archive .agkos-offer-cards{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:var(--agkos-grid-gap,24px)!important;
  }
  .agkos-archive .agkos-offer-card{
    width:min(var(--agkos-mobile-card-width,100%),var(--agkos-mobile-card-max,520px))!important;
    max-width:100%!important;
  }
  .agkos-archive.mobile-cards-align-right .agkos-offer-card{
    margin-inline-start:0!important;
    margin-inline-end:auto!important;
  }
  .agkos-archive.mobile-cards-align-center .agkos-offer-card{
    margin-inline:auto!important;
  }
  .agkos-archive.mobile-cards-align-left .agkos-offer-card{
    margin-inline-start:auto!important;
    margin-inline-end:0!important;
  }

  .agkos-archive.mobile-content-align-right .agkos-offer-card-body{text-align:right!important}
  .agkos-archive.mobile-content-align-center .agkos-offer-card-body{text-align:center!important}
  .agkos-archive.mobile-content-align-left .agkos-offer-card-body{text-align:left!important}

  .agkos-archive.mobile-content-align-center .agkos-offer-card-badges{
    justify-content:center!important;
  }
  .agkos-archive.mobile-content-align-center .agkos-card-highlights li{
    width:max-content;
    max-width:100%;
    margin-inline:auto;
    text-align:right;
  }
  .agkos-archive.mobile-content-align-center .agkos-card-actions{
    justify-content:center!important;
  }
  .agkos-archive.mobile-content-align-right .agkos-card-actions{
    justify-content:flex-start!important;
  }
  .agkos-archive.mobile-content-align-left .agkos-card-actions{
    justify-content:flex-end!important;
  }

  .agkos-archive.mobile-button-full .agkos-card-button{
    width:100%!important;
  }
  .agkos-archive.mobile-button-auto .agkos-card-button{
    width:auto!important;
    min-width:160px!important;
  }

  /* Year stays attached to each offer card only. */
  .agkos-offer-card-badges .agkos-year{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* Equalized offer details on Mobile */
  .agkos-single.body-text-mobile-right .agkos-stage-list li,
  .agkos-single.body-text-mobile-right .agkos-section-intro,
  .agkos-single.body-text-mobile-right .agkos-legacy-content p{text-align:right!important}

  .agkos-single.body-text-mobile-center .agkos-stage-list li,
  .agkos-single.body-text-mobile-center .agkos-section-intro,
  .agkos-single.body-text-mobile-center .agkos-legacy-content p{text-align:center!important}

  .agkos-single.body-text-mobile-left .agkos-stage-list li,
  .agkos-single.body-text-mobile-left .agkos-section-intro,
  .agkos-single.body-text-mobile-left .agkos-legacy-content p{text-align:left!important}

  .agkos-single.body-text-mobile-justify .agkos-stage-list li,
  .agkos-single.body-text-mobile-justify .agkos-section-intro,
  .agkos-single.body-text-mobile-justify .agkos-legacy-content p{
    text-align:justify!important;
    text-align-last:right!important;
    text-justify:inter-word!important;
  }

  .agkos-single .agkos-stage-list{
    gap:var(--agkos-body-item-gap-mobile,10px)!important;
  }
  .agkos-single .agkos-stage-list li,
  .agkos-single .agkos-section-intro,
  .agkos-single .agkos-legacy-content p{
    line-height:var(--agkos-body-line-height-mobile,1.9)!important;
  }
  .agkos-single .agkos-stage-copy,
  .agkos-single .agkos-text-body{
    padding-inline:var(--agkos-body-padding-x-mobile,16px)!important;
  }
}

/* Tablet detail rhythm */
@media(min-width:768px) and (max-width:1180px){
  .agkos-single.body-text-tablet-right .agkos-stage-list li,
  .agkos-single.body-text-tablet-right .agkos-section-intro,
  .agkos-single.body-text-tablet-right .agkos-legacy-content p{text-align:right!important}

  .agkos-single.body-text-tablet-center .agkos-stage-list li,
  .agkos-single.body-text-tablet-center .agkos-section-intro,
  .agkos-single.body-text-tablet-center .agkos-legacy-content p{text-align:center!important}

  .agkos-single.body-text-tablet-left .agkos-stage-list li,
  .agkos-single.body-text-tablet-left .agkos-section-intro,
  .agkos-single.body-text-tablet-left .agkos-legacy-content p{text-align:left!important}

  .agkos-single.body-text-tablet-justify .agkos-stage-list li,
  .agkos-single.body-text-tablet-justify .agkos-section-intro,
  .agkos-single.body-text-tablet-justify .agkos-legacy-content p{
    text-align:justify!important;
    text-align-last:right!important;
    text-justify:inter-word!important;
  }

  .agkos-single .agkos-stage-list{
    gap:var(--agkos-body-item-gap-tablet,10px)!important;
  }
  .agkos-single .agkos-stage-list li,
  .agkos-single .agkos-section-intro,
  .agkos-single .agkos-legacy-content p{
    line-height:var(--agkos-body-line-height-tablet,1.85)!important;
  }
  .agkos-single .agkos-stage-copy,
  .agkos-single .agkos-text-body{
    padding-inline:var(--agkos-body-padding-x-tablet,22px)!important;
  }
}

/* ==========================================================
   Offers Suite 1.9 — Editorial Stage Split Layout
   Square media remains independent from long text on desktop.
   ========================================================== */
.agkos-single.details-layout-modern .agkos-stage{
  position:relative;
  overflow:hidden;
}
.agkos-single.details-layout-modern .agkos-stage-body{
  display:grid!important;
  align-items:start!important;
  gap:var(--agkos-stage-media-gap,30px)!important;
}
.agkos-single.details-layout-modern .agkos-stage.media-left .agkos-stage-body{
  grid-template-columns:minmax(280px,var(--agkos-stage-media-width,45%)) minmax(0,1fr)!important;
  grid-template-areas:"media copy";
}
.agkos-single.details-layout-modern .agkos-stage.media-right .agkos-stage-body{
  grid-template-columns:minmax(0,1fr) minmax(280px,var(--agkos-stage-media-width,45%))!important;
  grid-template-areas:"copy media";
}
.agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-body{
  grid-template-columns:1fr!important;
  grid-template-areas:"media" "copy";
}
.agkos-single.details-layout-modern .agkos-stage-copy{
  grid-area:copy;
  width:100%!important;
  min-width:0;
  align-self:start;
  padding:28px var(--agkos-body-padding-x,28px);
}
.agkos-single.details-layout-modern .agkos-stage-media{
  grid-area:media;
  width:100%!important;
  min-width:0;
  min-height:0!important;
  align-self:start;
  margin:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.agkos-single.details-layout-modern .media-valign-center .agkos-stage-media{
  align-self:center;
}
.agkos-single.details-layout-modern .agkos-stage-media-frame{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--agkos-line) 88%,transparent);
  border-radius:var(--agkos-stage-media-radius,18px);
  background:var(--agkos-soft);
}
.agkos-single.details-layout-modern.stage-media-shadow .agkos-stage-media-frame{
  box-shadow:0 18px 48px rgba(17,35,70,.11);
}
.agkos-single.details-layout-modern .agkos-stage-media-frame img{
  width:100%;
  height:100%;
  display:block;
  object-position:center;
}
.agkos-single.details-layout-modern .image-fit-cover .agkos-stage-media-frame img{object-fit:cover!important}
.agkos-single.details-layout-modern .image-fit-contain .agkos-stage-media-frame img{object-fit:contain!important;background:var(--agkos-soft)}
.agkos-single.details-layout-modern .image-aspect-square .agkos-stage-media-frame{aspect-ratio:1/1}
.agkos-single.details-layout-modern .image-aspect-4-3 .agkos-stage-media-frame{aspect-ratio:4/3}
.agkos-single.details-layout-modern .image-aspect-3-4 .agkos-stage-media-frame{aspect-ratio:3/4}
.agkos-single.details-layout-modern .image-aspect-auto .agkos-stage-media-frame{aspect-ratio:auto}
.agkos-single.details-layout-modern .image-aspect-auto .agkos-stage-media-frame img{height:auto}

/* A full-width media row is intentionally capped to avoid oversized square art. */
.agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-media{
  width:min(100%,920px)!important;
  margin-inline:auto!important;
  padding:24px var(--agkos-body-padding-x,28px) 0;
}
.agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-copy{
  padding-top:22px;
}

/* Optional sticky media for long specification paragraphs. */
@media(min-width:981px){
  .agkos-single.details-layout-modern .agkos-stage.media-sticky-on{
    overflow:visible!important;
  }
  .agkos-single.details-layout-modern .agkos-stage.media-sticky-on .agkos-stage-media{
    position:sticky;
    top:var(--agkos-stage-sticky-top,110px);
  }
}

/* Stage visual presets */
.agkos-single.details-layout-modern .stage-style-clean{
  background:var(--agkos-surface);
}
.agkos-single.details-layout-modern .stage-style-editorial{
  overflow:visible;
  border-inline:0;
  border-radius:0!important;
  background:transparent;
}
.agkos-single.details-layout-modern .stage-style-editorial .agkos-stage-head{
  padding-inline:0;
  border-bottom-color:color-mix(in srgb,var(--agkos-accent) 18%,var(--agkos-line));
}
.agkos-single.details-layout-modern .stage-style-editorial .agkos-stage-head>span{
  width:46px;height:46px;
  flex-basis:46px;
  border-radius:0;
  background:transparent;
  color:color-mix(in srgb,var(--agkos-accent) 76%,var(--agkos-text));
  font-size:13px;
}
.agkos-single.details-layout-modern .stage-style-editorial .agkos-stage-copy{
  padding-inline:0;
}
.agkos-single.details-layout-modern .stage-style-panel{
  border-color:color-mix(in srgb,var(--agkos-accent) 12%,var(--agkos-line));
  background:linear-gradient(145deg,var(--agkos-surface),color-mix(in srgb,var(--agkos-accent) 3%,var(--agkos-soft)));
  box-shadow:0 18px 52px rgba(18,38,78,.07);
}
.agkos-single.details-layout-modern .stage-style-media-focus.media-left .agkos-stage-body{
  grid-template-columns:minmax(320px,min(52%,calc(var(--agkos-stage-media-width,45%) + 5%))) minmax(0,1fr)!important;
}
.agkos-single.details-layout-modern .stage-style-media-focus.media-right .agkos-stage-body{
  grid-template-columns:minmax(0,1fr) minmax(320px,min(52%,calc(var(--agkos-stage-media-width,45%) + 5%)))!important;
}
.agkos-single.details-layout-modern .stage-style-minimal{
  overflow:visible;
  border:0;
  border-radius:0!important;
  background:transparent;
}
.agkos-single.details-layout-modern .stage-style-minimal .agkos-stage-head{
  min-height:auto;
  padding:10px 0 14px;
  border-bottom:1px solid var(--agkos-line);
}
.agkos-single.details-layout-modern .stage-style-minimal .agkos-stage-copy{
  padding-inline:0;
}
.agkos-single.details-layout-modern .stage-style-minimal .agkos-stage-media-frame{
  border-color:transparent;
}

/* No image: content always owns the full row. */
.agkos-single.details-layout-modern .agkos-stage.no-media .agkos-stage-body{
  display:block!important;
}
.agkos-single.details-layout-modern .agkos-stage.no-media .agkos-stage-copy{
  width:100%!important;
}

/* Tablet / phone stack. Each stage chooses whether the square media comes first or last. */
@media(max-width:980px){
  .agkos-single.details-layout-modern .agkos-stage.media-left .agkos-stage-body,
  .agkos-single.details-layout-modern .agkos-stage.media-right .agkos-stage-body,
  .agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-body{
    grid-template-columns:1fr!important;
  }
  .agkos-single.details-layout-modern .agkos-stage.mobile-media-before .agkos-stage-body{
    grid-template-areas:"media" "copy"!important;
  }
  .agkos-single.details-layout-modern .agkos-stage.mobile-media-after .agkos-stage-body{
    grid-template-areas:"copy" "media"!important;
  }
  .agkos-single.details-layout-modern .agkos-stage-media,
  .agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-media{
    width:min(100%,var(--agkos-stage-mobile-media-max,520px))!important;
    margin-inline:auto!important;
    padding:0!important;
  }
  .agkos-single.details-layout-modern .agkos-stage-copy{
    padding:24px var(--agkos-body-padding-x-tablet,22px);
  }
  .agkos-single.details-layout-modern .mobile-media-before .agkos-stage-media{margin-top:22px!important}
  .agkos-single.details-layout-modern .mobile-media-after .agkos-stage-media{margin-bottom:22px!important}
  .agkos-single.details-layout-modern .stage-style-media-focus.media-left .agkos-stage-body,
  .agkos-single.details-layout-modern .stage-style-media-focus.media-right .agkos-stage-body{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  .agkos-single.details-layout-modern .agkos-stage-copy{
    padding:20px var(--agkos-body-padding-x-mobile,16px);
  }
  .agkos-single.details-layout-modern .agkos-stage-media,
  .agkos-single.details-layout-modern .agkos-stage.media-wide .agkos-stage-media{
    width:min(100%,var(--agkos-stage-mobile-media-max,520px))!important;
  }
  .agkos-single.details-layout-modern .agkos-stage-media-frame{
    border-radius:min(var(--agkos-stage-media-radius,18px),16px);
  }
  .agkos-single.details-layout-modern .stage-style-editorial .agkos-stage-head,
  .agkos-single.details-layout-modern .stage-style-minimal .agkos-stage-head{
    padding-inline:0;
  }
}
.agkos-single.details-layout-modern .agkos-stage-copy,
.agkos-single.details-layout-modern .agkos-stage-media{order:0!important}
