/* ADP News detail ? IGXchange-inspired article layout */
body.single-post #Subheader{
  display:none!important;
}
/* Clear sticky header */
body.single-post #Content{
  padding-top:88px!important;
  padding-bottom:64px!important;
  background:
    radial-gradient(ellipse 420px 320px at 8% 0%, rgba(177,18,38,.06), transparent 70%),
    linear-gradient(180deg, #f7f7f8 0%, #fff 42%, #fff 100%);
}
body.single-post #Content .section.the_content,
body.single-post #Content .the_content_wrapper{
  max-width:none!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}

.adp-nd{
  --adp-nd-ink:#111;
  --adp-nd-muted:#5c5c5c;
  --adp-nd-line:#e5e5e5;
  --adp-nd-accent:#b11226;
  --adp-nd-soft:#f6f6f7;
  --adp-nd-card:#fff;
  max-width:1120px;
  margin:0 auto;
  padding:8px 28px 48px;
  color:var(--adp-nd-ink);
  font-family:Georgia,"Times New Roman",serif;
}
.adp-nd__header{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
}
.adp-nd__badge{
  display:inline-block;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--adp-nd-accent);
  margin:0 0 14px;
}
.adp-nd__title{
  margin:0 0 14px;
  font-size:clamp(28px,4vw,48px);
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--adp-nd-ink);
}
.adp-nd__excerpt{
  margin:0 auto;
  max-width:720px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:clamp(16px,1.6vw,20px);
  line-height:1.55;
  color:var(--adp-nd-muted);
}
.adp-nd__meta{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px 22px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:14px;
  color:var(--adp-nd-muted);
}
.adp-nd__meta-author{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.adp-nd__avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid var(--adp-nd-line);
  background:#fff;
  color:var(--adp-nd-accent);
  font-size:13px;
  font-weight:700;
  line-height:1;
}
.adp-nd__meta-firm{font-weight:600;color:var(--adp-nd-ink)}
.adp-nd__meta-date{display:inline-flex;align-items:center;gap:6px}
.adp-nd__meta-date::before{
  content:"";
  width:14px;height:14px;
  background-color:currentColor;
  opacity:.7;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
}

.adp-nd__hero{
  max-width:960px;
  margin:28px auto 0;
}
.adp-nd__hero img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:unset;
  object-position:center center;
  border-radius:12px;
  border:1px solid var(--adp-nd-line);
  box-shadow:0 12px 36px rgba(0,0,0,.08);
  background:#111;
}

.adp-nd__body{
  max-width:720px;
  margin:40px auto 0;
}

/* IGX-style Alert summary */
.adp-nd__summary{
  display:grid;
  grid-template-columns:20px 1fr;
  column-gap:12px;
  row-gap:2px;
  align-items:start;
  margin:0 0 28px;
  padding:14px 16px;
  border:1px solid var(--adp-nd-line);
  border-radius:10px;
  background:var(--adp-nd-card);
  box-shadow:0 1px 2px rgba(0,0,0,.03);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
.adp-nd__summary-icon{
  grid-column:1;
  grid-row:1 / span 2;
  width:18px;
  height:18px;
  margin-top:2px;
  border-radius:0;
  background:transparent;
  border:0;
  display:grid;
  place-items:center;
  color:var(--adp-nd-accent);
  font-weight:700;
  font-size:15px;
  line-height:1;
  font-style:normal;
}
.adp-nd__summary-icon::before{
  content:"";
  display:block;
  width:18px;
  height:18px;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.adp-nd__summary > div{
  display:contents;
}
.adp-nd__summary h2{
  grid-column:2;
  grid-row:1;
  margin:0;
  min-height:18px;
  font-size:14px;
  font-weight:650;
  letter-spacing:-.01em;
  line-height:1.3;
  color:var(--adp-nd-ink);
}
.adp-nd__summary p{
  grid-column:2;
  grid-row:2;
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#444;
}

.adp-nd__content{
  font-size:18px;
  line-height:1.75;
  color:#222;
}
.adp-nd__content p{margin:0 0 1.15em}
.adp-nd__content p:last-child{margin-bottom:0}
.adp-nd__content a{color:var(--adp-nd-accent)}

.adp-nd__share{
  margin:40px 0 0;
  padding:22px 20px;
  border:1px solid var(--adp-nd-line);
  border-radius:12px;
  background:var(--adp-nd-soft);
  text-align:center;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
.adp-nd__share h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:700;
}
.adp-nd__share p{
  margin:0 0 14px;
  font-size:13px;
  color:var(--adp-nd-muted);
}
.adp-nd__share-links{
  display:flex;
  justify-content:center;
  gap:10px;
}
.adp-nd__share-links a,
.adp-nd__share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;height:42px;
  padding:0;
  border-radius:999px;
  border:1px solid var(--adp-nd-line);
  background:#fff;
  color:var(--adp-nd-ink);
  text-decoration:none;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.adp-nd__share-links a:hover,
.adp-nd__share-btn:hover{
  border-color:#111;
  color:var(--adp-nd-accent);
  background:#fafafa;
}
.adp-nd__share-btn svg{display:block}
.adp-nd__related-ph{
  aspect-ratio:auto;
  background:#eee;
}

.adp-nd__related{
  margin:56px auto 0;
  max-width:960px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
.adp-nd__related > h2{
  margin:0 0 18px;
  font-size:20px;
  font-weight:700;
  text-align:center;
}
.adp-nd__related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
/* Related: image + caption below */
.adp-nd__related-card{
  position:relative;
  display:flex;
  flex-direction:column;
  height:auto;
  border:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
  text-decoration:none!important;
  color:inherit!important;
  box-shadow:none;
  transition:opacity .2s ease;
}
.adp-nd__related-card:hover{opacity:.9;transform:none;box-shadow:none}
.adp-nd__related-card img{
  position:relative;
  inset:auto;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:unset;
  object-position:center center;
  display:block;
  background:transparent;
  border-radius:10px;
  box-shadow:0 10px 28px rgba(20,20,20,.1);
}
.adp-nd__related-card:after{display:none;content:none}
.adp-nd__related-card-body{
  position:static;
  display:flex;
  flex-direction:column;
  gap:6px;
  width:auto;height:auto;
  margin:12px 0 0;padding:0;
  overflow:visible;clip:auto;white-space:normal;
  left:auto;right:auto;bottom:auto;z-index:auto;
}
.adp-nd__related-card-date{
  display:block;
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#6b7280!important;
  margin:0;
}
.adp-nd__related-card-title{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:1rem;
  line-height:1.35;
  font-weight:650;
  color:#141414!important;
}

@media (max-width:900px){
  body.single-post #Content{padding-top:88px!important}
  .adp-nd{padding:4px 18px 40px}
  .adp-nd__related-grid{grid-template-columns:1fr}
  .adp-nd__content{font-size:17px}
}
