.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-theme-post-featured-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-author-box .elementor-author-box__name{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-author-box .elementor-author-box__bio{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-author-box .elementor-author-box__button{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-author-box .elementor-author-box__button:hover{border-color:var( --e-global-color-secondary );color:var( --e-global-color-secondary );}/* Start custom CSS *//* Newton story template — body only */
.newton-story-template {
  --newton-bg: #eef2f5;
  --newton-paper: rgba(255, 255, 255, 0.82);
  --newton-ink: #171917;
  --newton-muted: #5f665f;
  --newton-accent: #223126;
  --newton-line: rgba(23, 25, 23, 0.1);
  --newton-shadow: 0 14px 32px rgba(18, 22, 18, 0.08);
  --newton-max: 1320px;
  color: var(--newton-ink);
}

.newton-story-template > .elementor-container {
  max-width: none !important;
}

.newton-story-template .elementor-column,
.newton-story-template .elementor-widget-wrap {
  width: 100%;
}

.newton-story-shell {
  width: min(100%, var(--newton-max));
  margin: 0 auto;
  padding: 18px 30px 42px;
}

.newton-story-hero {
  position: relative;
  min-height: 720px;
  border-radius: 30px;
  overflow: hidden;
  background: #dfe5e1;
  box-shadow: var(--newton-shadow);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.newton-story-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 10, 9, 0.03) 0%, rgba(8, 10, 9, 0.1) 48%, rgba(8, 10, 9, 0.82) 100%);
  pointer-events: none;
}

.newton-story-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.newton-story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.newton-story-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 34px 30px;
  text-align: center;
  color: #fff;
}

.newton-story-kicker,
.newton-meta-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.newton-story-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.newton-story-byline {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  font-weight: 700;
}

.newton-story-dek {
  margin: 0 auto;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.58;
}

.newton-story-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
}

.newton-content-card,
.newton-sidebar-card,
.newton-related-card {
  background: var(--newton-paper);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--newton-shadow);
  backdrop-filter: blur(20px) saturate(150%);
}

.newton-content-card {
  border-radius: 26px;
  padding: 28px;
  min-width: 0;
}

.newton-story-body {
  min-width: 0;
}

.newton-story-body > :where(p, ul, ol, blockquote, figure, h2, h3, h4) {
  margin-top: 0;
  margin-bottom: 22px;
}

.newton-story-body > :where(p, ul, ol) {
  color: #2e332f;
  line-height: 1.9;
  font-size: 1rem;
}

.newton-story-body a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.newton-story-body > h2,
.newton-story-body > h3,
.newton-related-heading {
  color: var(--newton-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  letter-spacing: -0.04em;
}

.newton-story-body > h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.newton-story-body > h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.newton-story-body figure.wp-block-image {
  overflow: hidden;
  border-radius: 22px;
  background: #dde2dc;
  box-shadow: var(--newton-shadow);
}

.newton-story-body figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

.newton-story-body figure.wp-block-image figcaption,
.newton-story-body .wp-element-caption {
  padding: 12px 14px 14px;
  margin: 0;
  color: var(--newton-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.newton-story-body blockquote.wp-block-quote {
  padding: 22px 24px;
  border-left: 3px solid rgba(22, 24, 22, 0.14);
  border-radius: 18px;
  background: rgba(22, 24, 22, 0.03);
}

.newton-story-body blockquote.wp-block-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--newton-ink);
}

.newton-story-body blockquote.wp-block-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--newton-muted);
  font-size: 0.92rem;
  font-weight: 700;
  font-style: normal;
}

/* Sidebar */
.newton-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.newton-sidebar-card {
  border-radius: 22px;
  padding: 20px;
}

.newton-sidebar-card .newton-meta-kicker {
  color: var(--newton-accent);
  background: rgba(22, 24, 22, 0.05);
  border: 1px solid rgba(22, 24, 22, 0.08);
  backdrop-filter: none;
  margin-bottom: 10px;
}

.newton-sidebar-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.newton-sidebar-card p {
  margin: 0;
  color: var(--newton-muted);
  line-height: 1.72;
}

.newton-side-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--newton-ink);
  font-weight: 800;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.newton-side-link:hover {
  border-color: currentColor;
}

/* Elementor Author Box inside the sidebar */
.newton-sidebar .elementor-widget-author-box {
  margin: 0;
}

.newton-sidebar .elementor-author-box {
  display: grid;
  gap: 12px;
}

.newton-sidebar .elementor-author-box__avatar img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(18, 22, 18, 0.12);
}

.newton-sidebar .elementor-author-box__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--newton-ink);
}

.newton-sidebar .elementor-author-box__bio {
  color: var(--newton-muted);
  line-height: 1.72;
}

.newton-sidebar .elementor-author-box__button {
  border-radius: 12px;
  font-weight: 800;
}

/* Legacy Related Stories block */
.newton-related-section {
  margin-top: 24px;
}

.newton-related-heading {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.newton-related-section .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.newton-related-section .wp-block-column {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--newton-paper);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--newton-shadow);
  backdrop-filter: blur(20px) saturate(150%);
}

.newton-related-section .wp-block-column figure {
  margin: 0;
}

.newton-related-section .wp-block-column img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.newton-related-section .wp-block-column h5 {
  margin: 0;
  padding: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* Keep ad internals alone. This only prevents overflow. */
.newton-story-body > .elementor {
  max-width: 100%;
}

/* Hide the original widgets only after JS has moved their content */
.newton-enhanced-story .newton-original-widget-hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .newton-story-main,
  .newton-related-section .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .newton-story-hero-copy {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  .newton-story-hero {
    min-height: 620px;
  }

  .newton-story-dek {
    max-width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .newton-story-shell {
    padding: 14px 16px 34px;
  }

  .newton-story-hero {
    min-height: 540px;
    border-radius: 24px;
  }

  .newton-story-hero-copy {
    padding: 20px 18px;
  }

  .newton-story-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .newton-story-kicker {
    min-height: 30px;
    font-size: 0.68rem;
  }

  .newton-story-byline {
    font-size: 0.88rem;
  }

  .newton-story-dek {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .newton-content-card,
  .newton-sidebar-card {
    padding: 18px;
  }

  .newton-sidebar .elementor-author-box__avatar img {
    width: 72px;
    height: 72px;
  }
}

/* Motion */
.newton-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
  will-change: opacity, transform;
}

.newton-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.newton-story-hero .newton-reveal {
  transition-duration: 820ms;
}

@media (prefers-reduced-motion: reduce) {
  .newton-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hero image object-position overrides
   Add these classes to the main Elementor wrapper/section with .newton-story-template.
   Supported short aliases:
   desktop-left-center, mobile-left-center, desktop-right-center, etc.
*/

.newton-story-template.desktop-left-center .newton-story-hero-media img,
.newton-story-template.hero-desktop-left-center .newton-story-hero-media img {
  object-position: left center;
}

.newton-story-template.desktop-right-center .newton-story-hero-media img,
.newton-story-template.hero-desktop-right-center .newton-story-hero-media img {
  object-position: right center;
}

.newton-story-template.desktop-center-top .newton-story-hero-media img,
.newton-story-template.hero-desktop-center-top .newton-story-hero-media img {
  object-position: center top;
}

.newton-story-template.desktop-center-bottom .newton-story-hero-media img,
.newton-story-template.hero-desktop-center-bottom .newton-story-hero-media img {
  object-position: center bottom;
}

.newton-story-template.desktop-left-top .newton-story-hero-media img,
.newton-story-template.hero-desktop-left-top .newton-story-hero-media img {
  object-position: left top;
}

.newton-story-template.desktop-left-bottom .newton-story-hero-media img,
.newton-story-template.hero-desktop-left-bottom .newton-story-hero-media img {
  object-position: left bottom;
}

.newton-story-template.desktop-right-top .newton-story-hero-media img,
.newton-story-template.hero-desktop-right-top .newton-story-hero-media img {
  object-position: right top;
}

.newton-story-template.desktop-right-bottom .newton-story-hero-media img,
.newton-story-template.hero-desktop-right-bottom .newton-story-hero-media img {
  object-position: right bottom;
}

@media (max-width: 640px) {
  .newton-story-template.mobile-left-center .newton-story-hero-media img,
  .newton-story-template.hero-mobile-left-center .newton-story-hero-media img {
    object-position: left center;
  }

  .newton-story-template.mobile-right-center .newton-story-hero-media img,
  .newton-story-template.hero-mobile-right-center .newton-story-hero-media img {
    object-position: right center;
  }

  .newton-story-template.mobile-center-top .newton-story-hero-media img,
  .newton-story-template.hero-mobile-center-top .newton-story-hero-media img {
    object-position: center top;
  }

  .newton-story-template.mobile-center-bottom .newton-story-hero-media img,
  .newton-story-template.hero-mobile-center-bottom .newton-story-hero-media img {
    object-position: center bottom;
  }

  .newton-story-template.mobile-left-top .newton-story-hero-media img,
  .newton-story-template.hero-mobile-left-top .newton-story-hero-media img {
    object-position: left top;
  }

  .newton-story-template.mobile-left-bottom .newton-story-hero-media img,
  .newton-story-template.hero-mobile-left-bottom .newton-story-hero-media img {
    object-position: left bottom;
  }

  .newton-story-template.mobile-right-top .newton-story-hero-media img,
  .newton-story-template.hero-mobile-right-top .newton-story-hero-media img {
    object-position: right top;
  }

  .newton-story-template.mobile-right-bottom .newton-story-hero-media img,
  .newton-story-template.hero-mobile-right-bottom .newton-story-hero-media img {
    object-position: right bottom;
  }
}/* End custom CSS */