/* ==========================================================
   IADP – EASYBLOG UPDATES ARTICLE SYSTEM
   Scoped to EasyBlog entry article content
   Uses master IADP variables from :root
   Target HTML:
   <div class="iadp-update-article ...">
   ========================================================== */


/* ----------------------------------------------------------
   EasyBlog entry title – mobile safety
   Prevent oversized EasyBlog H1 from overflowing viewport
   ---------------------------------------------------------- */

#eb .eb-entry-head .eb-entry-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 767.98px) {
  #eb .eb-entry-head {
    padding-left: 0;
    padding-right: 0;
  }

  #eb .eb-entry-head .eb-entry-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
  }

  #eb .eb-entry-meta {
    font-size: 0.95rem;
    line-height: 1.45;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }
}

@media (max-width: 420px) {
  #eb .eb-entry-head .eb-entry-title {
    font-size: clamp(1.9rem, 10vw, 2.65rem) !important;
    line-height: 1.1 !important;
  }
}


/* ----------------------------------------------------------
   Base article wrapper
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article {
  max-width: var(--iadp-layout-max);
  margin: 0 auto 4rem;
  padding: 0 1rem;
  color: var(--iadp-text);
  font-family: inherit;
}

#eb .eb-entry-article .iadp-update-article *,
#eb .eb-entry-article .iadp-update-article *::before,
#eb .eb-entry-article .iadp-update-article *::after {
  box-sizing: border-box;
}

#eb .eb-entry-article .iadp-update-article h2,
#eb .eb-entry-article .iadp-update-article h3,
#eb .eb-entry-article .iadp-update-article h4,
#eb .eb-entry-article .iadp-update-article p,
#eb .eb-entry-article .iadp-update-article li,
#eb .eb-entry-article .iadp-update-article a,
#eb .eb-entry-article .iadp-update-article strong,
#eb .eb-entry-article .iadp-update-article blockquote {
  font-family: inherit;
}

#eb .eb-entry-article .iadp-update-article p {
  margin: 0 0 1rem;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--iadp-text);
}

#eb .eb-entry-article .iadp-update-article strong {
  font-weight: 700;
  color: var(--iadp-core);
}

#eb .eb-entry-article .iadp-update-article a {
  color: var(--iadp-alpha);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

#eb .eb-entry-article .iadp-update-article a:hover,
#eb .eb-entry-article .iadp-update-article a:focus {
  color: var(--iadp-cyan);
}


/* ----------------------------------------------------------
   Hero
   Corporate identity rule:
   Hero article title must use h2, not h1.
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: 2.75rem 2.5rem;
  border-radius: var(--iadp-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(36, 195, 222, 0.28), transparent 36%),
    linear-gradient(135deg, var(--iadp-core), var(--iadp-alpha)) !important;
  color: #ffffff !important;
  box-shadow: var(--iadp-shadow-md);
}

#eb .eb-entry-article .iadp-update-article .update-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

#eb .eb-entry-article .iadp-update-article .update-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: var(--iadp-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#eb .eb-entry-article .iadp-update-article .update-hero h2 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 0 1rem;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

#eb .eb-entry-article .iadp-update-article .update-lede {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
}

#eb .eb-entry-article .iadp-update-article .update-meta {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}


/* ----------------------------------------------------------
   Standard sections
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-section,
#eb .eb-entry-article .iadp-update-article .update-opening,
#eb .eb-entry-article .iadp-update-article .update-card,
#eb .eb-entry-article .iadp-update-article .update-highlight,
#eb .eb-entry-article .iadp-update-article .update-footer-statement {
  margin: 0 0 1.5rem;
}

#eb .eb-entry-article .iadp-update-article .update-section {
  padding: 0.25rem 0;
}

#eb .eb-entry-article .iadp-update-article .update-section h3,
#eb .eb-entry-article .iadp-update-article .update-panel h3 {
  margin: 0 0 0.75rem;
  color: var(--iadp-core);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#eb .eb-entry-article .iadp-update-article .update-section h4,
#eb .eb-entry-article .iadp-update-article .update-feature h4 {
  margin: 0 0 0.5rem;
  color: var(--iadp-core);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}


/* ----------------------------------------------------------
   Opening statement
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-opening {
  padding: 1.5rem 1.7rem;
  border-left: 4px solid var(--iadp-cyan);
  border-radius: var(--iadp-radius-md);
  background: var(--iadp-bg-soft);
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .iadp-update-article .update-opening p {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.75;
}


/* ----------------------------------------------------------
   Cards and highlights
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-card {
  padding: 1.75rem;
  border-radius: var(--iadp-radius-lg);
  background: var(--iadp-surface);
  border: 1px solid var(--iadp-line);
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .iadp-update-article .update-highlight {
  padding: 1.9rem;
  border-radius: var(--iadp-radius-lg);
  border: 1px solid rgba(36, 195, 222, 0.32);
  background:
    linear-gradient(135deg, rgba(0, 46, 153, 0.06), rgba(36, 195, 222, 0.12)),
    var(--iadp-surface);
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .iadp-update-article .update-highlight p:last-child,
#eb .eb-entry-article .iadp-update-article .update-card p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   Split panels
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 1.75rem;
}

#eb .eb-entry-article .iadp-update-article .update-panel {
  padding: 1.75rem;
  border-radius: var(--iadp-radius-lg);
  background: var(--iadp-surface);
  border: 1px solid var(--iadp-line);
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .iadp-update-article .update-panel p:last-child {
  margin-bottom: 0;
}

#eb .eb-entry-article .iadp-update-article .update-panel-accent {
  border-color: rgba(36, 195, 222, 0.36);
  background:
    radial-gradient(circle at top right, rgba(36, 195, 222, 0.16), transparent 44%),
    var(--iadp-surface);
}


/* ----------------------------------------------------------
   Feature grid
   Corporate identity rule:
   Feature grid items must use .update-feature with h4 headings.
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

#eb .eb-entry-article .iadp-update-article .update-feature {
  position: relative;
  min-height: 100%;
  padding: 1.25rem;
  border-radius: var(--iadp-radius-md);
  background: var(--iadp-surface);
  border: 1px solid var(--iadp-line);
  box-shadow: var(--iadp-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#eb .eb-entry-article .iadp-update-article .update-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--iadp-shadow-md);
  border-color: rgba(0, 46, 153, 0.22);
}

#eb .eb-entry-article .iadp-update-article .update-feature::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 0 0.85rem;
  border-radius: var(--iadp-radius-pill);
  background: linear-gradient(90deg, var(--iadp-alpha), var(--iadp-cyan));
}

#eb .eb-entry-article .iadp-update-article .update-feature p {
  margin: 0;
  color: var(--iadp-text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}


/* ----------------------------------------------------------
   Footer statement
   Default footer statement block.
   When used with corporate quotes, the quote styling below takes over.
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-footer-statement {
  margin-top: 2rem;
  padding: 1.9rem;
  border-radius: var(--iadp-radius-lg);
  background: var(--iadp-core);
  color: #ffffff;
  box-shadow: var(--iadp-shadow-md);
}

#eb .eb-entry-article .iadp-update-article .update-footer-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  line-height: 1.7;
}

#eb .eb-entry-article .iadp-update-article .update-footer-statement strong {
  color: #ffffff;
}


/* ----------------------------------------------------------
   Corporate quote bridge
   Uses the master IADP quote identity:
   .about-highlight, .pd-quote, .goblu3-quote

   Future preferred quote HTML:
   <footer class="update-footer-statement">
     <blockquote class="goblu3-quote">...</blockquote>
     <p class="update-footer-note">...</p>
   </footer>

   Legacy support:
   Existing posts using .iadp-quote-block / .iadp-quote / .iadp-quote-note
   are visually mapped to the same corporate quote style.
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.goblu3-quote),
#eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.pd-quote),
#eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.about-highlight),
#eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block {
  padding: 0;
  background: transparent;
  color: var(--iadp-text);
  box-shadow: none;
  border-radius: 0;
}

#eb .eb-entry-article .iadp-update-article .update-footer-statement .goblu3-quote,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .pd-quote,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .about-highlight,
#eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote {
  position: relative !important;
  display: block !important;
  max-width: 840px;
  margin: 34px 0 0 !important;
  padding: 30px 36px 30px 42px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 5px solid var(--iadp-cyan, #24C3DE) !important;
  border-radius: 0 18px 18px 0 !important;
  box-shadow: 0 12px 30px rgba(0, 46, 153, 0.10) !important;
  color: #0b2d52 !important;
  font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  font-style: italic !important;
  text-align: left !important;
}

#eb .eb-entry-article .iadp-update-article .update-footer-statement .goblu3-quote::before,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .pd-quote::before,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .about-highlight::before,
#eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote::before {
  content: "“";
  position: absolute;
  top: -16px;
  left: 18px;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(36, 195, 222, 0.36);
  font-family: Georgia, serif;
  pointer-events: none;
}

#eb .eb-entry-article .iadp-update-article .update-footer-statement .goblu3-quote *,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .pd-quote *,
#eb .eb-entry-article .iadp-update-article .update-footer-statement .about-highlight *,
#eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote * {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

#eb .eb-entry-article .iadp-update-article .update-footer-note,
#eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote-note {
  max-width: 840px;
  margin: 0 0 1.5rem;
  color: var(--iadp-text-soft);
  font-size: 1rem;
  line-height: 1.65;
}


/* ----------------------------------------------------------
   CTA block
   ---------------------------------------------------------- */

#eb .eb-entry-article .iadp-update-article .update-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.4rem;
  border-radius: var(--iadp-radius-lg);
  background: var(--iadp-bg-soft);
  border: 1px solid var(--iadp-line);
}

#eb .eb-entry-article .iadp-update-article .update-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--iadp-text);
  font-size: 1rem;
  line-height: 1.6;
}

#eb .eb-entry-article .iadp-update-article .update-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#eb .eb-entry-article .iadp-update-article .update-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border-radius: var(--iadp-radius-pill);
  background: var(--iadp-alpha);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .iadp-update-article .update-button:hover,
#eb .eb-entry-article .iadp-update-article .update-button:focus {
  background: var(--iadp-core);
  color: #ffffff;
}

#eb .eb-entry-article .iadp-update-article .update-button-secondary {
  background: var(--iadp-core);
}

#eb .eb-entry-article .iadp-update-article .update-button-secondary:hover,
#eb .eb-entry-article .iadp-update-article .update-button-secondary:focus {
  background: var(--iadp-alpha);
}


/* ----------------------------------------------------------
   EasyBlog link-preview block polish
   Optional: styles EasyBlog generated link preview after article
   ---------------------------------------------------------- */

#eb .eb-entry-article .ebd-block[data-type="links"] .media-table {
  margin: 1.75rem auto 0;
  padding: 1.25rem;
  border: 1px solid var(--iadp-line);
  border-radius: var(--iadp-radius-md);
  background: var(--iadp-bg-soft);
  box-shadow: var(--iadp-shadow-soft);
}

#eb .eb-entry-article .ebd-block[data-type="links"] .media-heading {
  margin: 0 0 0.4rem;
  color: var(--iadp-core);
  font-weight: 700;
}

#eb .eb-entry-article .ebd-block[data-type="links"] .media-content {
  color: var(--iadp-text-soft);
  line-height: 1.55;
}

#eb .eb-entry-article .ebd-block[data-type="links"] .media-link a {
  color: var(--iadp-alpha);
  font-size: 0.9rem;
}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 991.98px) {
  #eb .eb-entry-article .iadp-update-article {
    max-width: 100%;
    padding: 0 1rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-hero {
    padding: 2.25rem 2rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  #eb .eb-entry-article .iadp-update-article {
    padding: 0 0.85rem;
  }

  #eb .eb-entry-article .iadp-update-article p {
    font-size: 1rem;
    line-height: 1.68;
  }

  #eb .eb-entry-article .iadp-update-article .update-hero {
    margin-bottom: 1.4rem;
    padding: 1.85rem 1.25rem;
    border-radius: var(--iadp-radius-md);
  }

  #eb .eb-entry-article .iadp-update-article .update-hero h2 {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  #eb .eb-entry-article .iadp-update-article .update-lede {
    font-size: 1.05rem;
    line-height: 1.58;
  }

  #eb .eb-entry-article .iadp-update-article .update-opening,
  #eb .eb-entry-article .iadp-update-article .update-card,
  #eb .eb-entry-article .iadp-update-article .update-highlight,
  #eb .eb-entry-article .iadp-update-article .update-panel,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement {
    padding: 1.25rem;
    border-radius: var(--iadp-radius-md);
  }

  #eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.goblu3-quote),
  #eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.pd-quote),
  #eb .eb-entry-article .iadp-update-article .update-footer-statement:has(.about-highlight),
  #eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block {
    padding: 0;
    border-radius: 0;
  }

  #eb .eb-entry-article .iadp-update-article .update-footer-statement .goblu3-quote,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement .pd-quote,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement .about-highlight,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote {
    margin: 26px 0 0 !important;
    padding: 24px 24px 24px 28px !important;
    font-size: 1.16rem !important;
  }

  #eb .eb-entry-article .iadp-update-article .update-footer-statement .goblu3-quote::before,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement .pd-quote::before,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement .about-highlight::before,
  #eb .eb-entry-article .iadp-update-article .update-footer-statement.iadp-quote-block .iadp-quote::before {
    top: -10px;
    left: 14px;
    font-size: 3.2rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-split,
  #eb .eb-entry-article .iadp-update-article .update-feature-grid {
    grid-template-columns: 1fr;
  }

  #eb .eb-entry-article .iadp-update-article .update-cta {
    display: block;
    padding: 1.25rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-button-group {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-button {
    width: 100%;
    margin-top: 0;
  }

  #eb .eb-entry-article .ebd-block[data-type="links"] .media-table {
    display: block;
  }

  #eb .eb-entry-article .ebd-block[data-type="links"] .media-thumb {
    display: block;
    margin: 0 0 1rem;
  }
}

@media (max-width: 420px) {
  #eb .eb-entry-article .iadp-update-article {
    padding: 0 0.65rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  #eb .eb-entry-article .iadp-update-article .update-hero {
    padding: 1.55rem 1rem;
  }

  #eb .eb-entry-article .iadp-update-article .update-feature {
    padding: 1.1rem;
  }
}