/**
 * Guide / ebook article — standalone styles (enqueued from includes/redesign-guide-ebook-assets.php).
 * Serif headings use Corben (Google Fonts). Body: Roboto (already loaded in theme header).
 * Scope: .redesign-guide-ebook, .redesign-single-guide
 */

 .redesign-single-guide {
  max-width: 100%;
}

.redesign-guide-ebook {
  --rg-serif: 'Corben', Georgia, 'Times New Roman', serif;
  max-width: 1183px;
  font-size: 1rem;
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #35383a;
  line-height: 1.8;
  background-color: #fff;
  margin: 60px auto;
  padding: 0 20px;
}

.redesign-guide-ebook__meta-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #1BA69C;
}

.redesign-guide-ebook__print-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.9;
}

.redesign-guide-ebook__print-btn:hover {
  opacity: 1;
}

.redesign-guide-ebook__print-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.redesign-guide-ebook a {
  color: #2968ac;
}

.redesign-guide-ebook a:hover {
  text-decoration: underline;
}

.redesign-guide-ebook .redesign-guide-ebook__promo-btn,
.redesign-guide-ebook .redesign-guide-ebook__cta-btn {
  color: #053a5e;
}

.redesign-guide-ebook .redesign-guide-ebook__toc-link {
  color: #053a5e;
}

/* Meta row: date • read time | Share */
.redesign-guide-ebook__meta-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .redesign-guide-ebook__meta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .redesign-guide-ebook {
    padding: 0;  
  }
  
}

.redesign-guide-ebook__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #35383a;
}

.redesign-guide-ebook__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.redesign-guide-ebook__share-label {
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  color: #35383a;
}

.redesign-guide-ebook__share .social-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Featured image */
.redesign-guide-ebook__featured {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 3rem;
  aspect-ratio: 1183 / 600;
  max-height: 600px;
  background-color: #e4edff;
  box-shadow: 0 4px 20px 0 rgba(5, 58, 94, 0.15);
}

@media (min-width: 768px) {
  .redesign-guide-ebook__featured {
    margin-bottom: 4rem;
  }
}

.redesign-guide-ebook__featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two columns: sidebar | article */
.redesign-guide-ebook__columns {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .redesign-guide-ebook__columns {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.redesign-guide-ebook__sidebar {
  width: 100%;
  max-width: 26.5rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .redesign-guide-ebook__sidebar {
    position: sticky;
    top: 6rem;
  }
}

.redesign-guide-ebook__sidebar-stack > * + * {
  margin-top: 2.5rem;
}

/* TOC heading */
.redesign-guide-ebook__toc-title {
  font-family: var(--rg-serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  color: #053a5e;
  margin-bottom: 1.5rem;
}

/* TOC list */
.redesign-guide-ebook__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.redesign-guide-ebook__toc-item {
  border-bottom: 1px solid #e3e3e3;
}

.redesign-guide-ebook__toc-item:last-child {
  border-bottom: none;
}

.redesign-guide-ebook__toc-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 0;
  text-decoration: none;
  color: #053a5e;
}

.redesign-guide-ebook__toc-link:hover .redesign-guide-ebook__toc-label {
  text-decoration: underline;
}

.redesign-guide-ebook__toc-num {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #053a5e;
  font-family: var(--rg-serif);
  font-size: 1.125rem;
  line-height: 1;
  color: #053a5e;
}

.redesign-guide-ebook__toc-label {
  font-family: var(--rg-serif);
  font-size: 1.5rem;
  line-height: 1.075;
  color: #053a5e;
  font-weight: 400;
}

/* Promo card */
.redesign-guide-ebook__promo {
  border-radius: 15px;
  background-color: #f1dcdb;
  padding: 2.25rem 1.875rem;
}

.redesign-guide-ebook__promo-title {
  font-family: var(--rg-serif);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 400;
  color: #053a5e;
  margin: 0 0 1.25rem;
}

.redesign-guide-ebook__promo-text {
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.625;
  margin: 0 0 1.25rem;
  color: #35383a;
}

.redesign-guide-ebook__promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 3px solid #ff7055;
  padding: 1.25rem 2.25rem;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none !important;
  font-size: 1rem;
  line-height: 1;
  color: #053a5e;
  transition: background-color 0.15s ease;
}

.redesign-guide-ebook__promo-btn:hover {
  background-color: #ffebe5;
}

.redesign-guide-ebook__btn-icon {
  display: inline-block;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  border: 2px solid #053a5e;
  flex-shrink: 0;
}

/* Main article column */
.redesign-guide-ebook__main {
  min-width: 0;
  flex: 1 1 0%;
  max-width: 45.375rem;
}

/* Article body from the editor — generic elements only (no per-block BEM in PHP) */
.redesign-guide-ebook__article {
  margin-bottom: 3rem;
}

.redesign-guide-ebook__article section {
  scroll-margin-top: 7rem;
}

.redesign-guide-ebook__article > * + * {
  margin-top: 3rem;
}

.redesign-guide-ebook__article p {
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  color: #35383a;
  padding-bottom: 20px;
}

.redesign-guide-ebook__article h2,
.redesign-guide-ebook__article .h2,
.redesign-guide-ebook__article h3 {
  font-family: var(--rg-serif);
  font-size: 2.25rem !important;
  line-height: 1.2 !important;
  font-weight: 400;
  color: #053a5e !important;
  margin: 0;
}
.redesign-guide-ebook__article h2.wp-block-heading,
.redesign-guide-ebook__article h3.wp-block-heading {
  margin-bottom: 1.5rem;
}
.redesign-guide-ebook__article h2.wp-block-heading:first-child {
  margin-bottom: 0;
}

/* Intro “deck”: first heading when it leads the article (block or plain) */
.redesign-guide-ebook__article > h2:first-child,
.redesign-guide-ebook__article > *:first-child h2:first-child {
  font-size: 3.125rem;
  line-height: 1;
  padding-left: 0;
  text-indent: 0;
}

.redesign-guide-ebook__article > h2:first-child + p,
.redesign-guide-ebook__article > *:first-child h2:first-child + p {
  margin-top: 1.5rem;
}

.redesign-guide-ebook__article h2 > span:first-child,
.redesign-guide-ebook__article h3 > span:first-child {
  margin-right: 0.75rem;
}

.redesign-guide-ebook__article h4,
.redesign-guide-ebook__article .h4 {
  font-family: var(--rg-serif);
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
  font-weight: 400;
  color: #053a5e !important;
  margin: 0;
  margin-bottom: 0.5rem;
}

.redesign-guide-ebook__article .wp-block-group > * + *,
.redesign-guide-ebook__article section > * + * {
  margin-top: 1.25rem;
}

.redesign-guide-ebook__article ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
}


.redesign-guide-ebook__article ul li + li {
  margin-top: 0.625rem;
}

.redesign-guide-ebook__article ul li::marker {
  color: #194dbc;
}

.redesign-guide-ebook__article .font-normal {
  font-weight: 400;
  color: #35383a;
}

.redesign-guide-ebook__article strong {
  font-weight: 700;
  color: #053a5e;
}

.redesign-guide-ebook__article em {
  font-style: italic;
}

/* Bottom CTA band */
.redesign-guide-ebook__cta-band {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #fbf1db;
  align-items: stretch;
}

@media (min-width: 768px) {
  .redesign-guide-ebook__cta-band {
    margin-top: 6rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .redesign-guide-ebook__cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.redesign-guide-ebook__cta-visual {
  position: relative;
  width: 100%;
  max-width: 632px;
  min-height: 280px;
  margin-left: auto;
  margin-right: auto;
}

.redesign-guide-ebook__cta-visual img {
  position: relative;
}

.redesign-guide-ebook__cta-visual svg {
  position: absolute;
  right: -47px;
  bottom: 48px;
}

@media (min-width: 1024px) {
  .redesign-guide-ebook__cta-visual {
    margin-left: 0;
    margin-right: 0;
    min-height: 500px;
  }
}

.redesign-guide-ebook__cta-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.redesign-guide-ebook__cta-copy {
  max-width: 36rem;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  padding: 0 20px;
}

.redesign-guide-ebook__cta-copy > * + * {
  margin-top: 1.25rem;
}

.redesign-guide-ebook__cta-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 3px;
  color: #00b9ac;
}

.redesign-guide-ebook__cta-eyebrow-dot {
  display: inline-block;
  height: 0.875rem;
  width: 0.875rem;
  border-radius: 9999px;
  flex-shrink: 0;
  background-color: #00b9ac;
}

.redesign-guide-ebook__cta-copy h2 {
  font-family: 'CORBEN';
  font-size: 3.125rem;
  line-height: 1;
  font-weight: 400;
  color: #053a5e;
  margin: 0 0 20px;
}

.redesign-guide-ebook__cta-copy p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  color: #35383a;
}

.redesign-guide-ebook__cta-btn-wrap {
  padding-top: 1.25rem;
}

.redesign-guide-ebook__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 3px solid #00b9ac;
  padding: 1.25rem 2.25rem;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  color: #053a5e;
  transition: background-color 0.15s ease;
}

.redesign-guide-ebook__cta-btn:hover {
  background-color: #ecf7f4;
}

/* --- Guide masthead hero — Figma 2030:2011 (under global header) --- */

.hero-redesign-with-breadcrumbs {
  --hrg-serif: 'Corben', Georgia, 'Times New Roman', serif;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
}

.hero-redesign-with-breadcrumbs__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-redesign-with-breadcrumbs__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light blue wash + optional blue tint per Figma */
.hero-redesign-with-breadcrumbs__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(220, 241, 255, 0.92) 0%,
    rgba(220, 241, 255, 0.92) 100%
  );
}

.hero-redesign-with-breadcrumbs__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 120rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 3.25rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-redesign-with-breadcrumbs__inner {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-redesign-with-breadcrumbs__inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.hero-redesign-with-breadcrumbs__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-redesign-with-breadcrumbs__row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    min-height: 12rem;
  }
}

.hero-redesign-with-breadcrumbs__text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-redesign-with-breadcrumbs__title {
  margin: 0;
  font-family: var(--hrg-serif);
  font-size: clamp(2rem, 5vw, 4.0625rem);
  line-height: 1;
  font-weight: 400;
  color: #053a5e;
}

.hero-redesign-with-breadcrumbs__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #1BA69C;
}

.hero-redesign-with-breadcrumbs__crumb-sep {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #1BA69C;
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-redesign-with-breadcrumbs__crumb-link {
  color: #35383a;
  text-decoration: none;
  white-space: nowrap;
}

.hero-redesign-with-breadcrumbs__crumb-link:hover {
  text-decoration: underline;
}

.hero-redesign-with-breadcrumbs__crumb {
  color: #35383a;
  white-space: nowrap;
}

.hero-redesign-with-breadcrumbs__crumb--current {
  font-weight: 700;
  color: #1ba69c;
}

.hero-redesign-with-breadcrumbs__cta {
  flex-shrink: 0;
  padding-top: 0.25rem;
}

@media (min-width: 1024px) {
  .hero-redesign-with-breadcrumbs__cta {
    padding-top: 0.625rem;
  }
}

.hero-redesign-with-breadcrumbs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem 1.75rem 1.25rem 2.1875rem;
  border-radius: 9999px;
  background-color: #053a5e;
  color: #fff;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-redesign-with-breadcrumbs__btn:hover {
  background-color: #045b95;
  color: #fff;
}

.hero-redesign-with-breadcrumbs__btn-icon {
  display: flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-redesign-with-breadcrumbs__btn-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.hero-redesign-with-breadcrumbs__wave {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  margin-top: auto;
}

.hero-redesign-with-breadcrumbs__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.redesign-guide-ebook__article .wp-block-columns,
.redesign-guide-ebook__article > .wp-block-image {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.redesign-guide-ebook__article .content-two-column {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 0;
}

.redesign-guide-ebook__article .content-two-column .wysiwyg>ul {
  margin-top: 0 !important;
}

.redesign-guide-ebook__article .content-two-column p {
  padding-bottom: 0 !important;
}

.redesign-guide-ebook__article .testimonial p {
  color: #fff !important;
}

.redesign-guide-ebook__article .testimonial {
  padding-top: 2rem;
  padding-bottom: 0rem;
  margin-top: 1rem;
}

.redesign-guide-ebook__article ol.wp-block-list {
  margin-top: 1rem;
}