/* Digibook Landing Page v12 - generated from approved HTML preview. */
.ds-digibook,
.ds-digibook * {
  box-sizing: border-box;
}

.ds-digibook {
  --ds-navy: #061c3d;
  --ds-navy-2: #0a315c;
  --ds-blue: #0b62d6;
  --ds-blue-dark: #0b3e82;
  --ds-teal: #007d8f;
  --ds-cyan: #27a9c6;
  --ds-ink: #0f253e;
  --ds-text: #354862;
  --ds-muted: #64758b;
  --ds-border: #dce7f0;
  --ds-soft: #f4f8fb;
  --ds-soft-blue: #eaf4f8;
  --ds-white: #ffffff;
  --ds-red: #d12d2d;
  --ds-red-soft: #fff7f7;
  --ds-radius: 18px;
  --ds-radius-lg: 26px;
  --ds-shadow: 0 18px 50px rgba(6, 28, 61, 0.14);
  font-family: inherit;
  color: var(--ds-text);
  background: var(--ds-white);
  line-height: 1.6;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: hidden;
}

.entry-content .ds-digibook,
.wp-site-blocks .ds-digibook {
  margin-top: 0;
}

.ds-digibook a {
  color: inherit;
}

.ds-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.ds-section,
.ds-benefits-section,
.ds-alert-section,
.ds-cta {
  padding: clamp(58px, 7vw, 96px) 0;
}

.ds-alert-section {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #ffffff;
}

.ds-section-muted {
  background:
    linear-gradient(180deg, rgba(234, 244, 248, 0.84), rgba(255, 255, 255, 0.98));
}

.ds-section-dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(39, 169, 198, 0.28), transparent 28%),
    linear-gradient(135deg, #06172e, #0a335d 54%, #075d73);
  color: rgba(255, 255, 255, 0.86);
}


.ds-product-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(245px, 56vw);
  margin: 0 0 22px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(3, 21, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
}

.ds-product-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .ds-product-logo {
    width: min(205px, 64vw);
    margin-bottom: 18px;
    padding: 13px 15px 12px;
  }
}

.ds-hero-cover {
  position: relative;
  min-height: clamp(470px, 62vw, 690px);
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image: var(--ds-hero-img);
  background-size: cover;
  background-position: center;
}

.ds-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 21, 43, 0.91) 0%, rgba(3, 21, 43, 0.72) 42%, rgba(3, 21, 43, 0.28) 74%, rgba(3, 21, 43, 0.12) 100%),
    linear-gradient(180deg, rgba(3, 21, 43, 0.28) 0%, rgba(3, 21, 43, 0.10) 48%, rgba(3, 21, 43, 0.42) 100%);
  pointer-events: none;
}

.ds-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 120px) 0;
}

.ds-lang-switch {
  position: absolute;
  top: clamp(20px, 4vw, 34px);
  right: 0;
}

.ds-lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.ds-kicker {
  margin: 0 0 12px;
  color: var(--ds-teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.ds-hero .ds-kicker,
.ds-section-dark .ds-kicker,
.ds-cta .ds-kicker {
  color: #73e0f0;
}

.ds-digibook h1,
.ds-digibook h2,
.ds-digibook h3,
.ds-digibook h4 {
  color: var(--ds-ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}

.ds-hero h1 {
  color: #ffffff;
  max-width: 780px;
  font-size: clamp(2.45rem, 5.5vw, 5.4rem);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.ds-digibook h2 {
  font-size: clamp(1.8rem, 3.3vw, 3.05rem);
  margin-bottom: 18px;
}

.ds-digibook h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.ds-digibook h4 {
  margin: 22px 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ds-hero .ds-lead {
  max-width: 720px;
  margin: 24px 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
}

.ds-hero-body {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  margin: 0;
}

.ds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ds-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ds-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-button:hover,
.ds-button:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.ds-button-primary {
  background: var(--ds-blue);
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(11, 98, 214, 0.28);
}

.ds-button-primary:hover,
.ds-button-primary:focus {
  background: #0758c8;
  box-shadow: 0 18px 44px rgba(11, 98, 214, 0.34);
}

.ds-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.ds-button-secondary:hover,
.ds-button-secondary:focus {
  background: rgba(255, 255, 255, 0.16);
}

.ds-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ds-badges span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
  font-size: 0.9rem;
}

.ds-alert {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid rgba(209, 45, 45, 0.34);
  background: linear-gradient(180deg, #fffafa, #ffffff);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 12px 34px rgba(6, 28, 61, 0.06);
}

.ds-alert h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
  color: var(--ds-red);
  margin-bottom: 8px;
}

.ds-alert p {
  margin: 0;
  color: #2b3340;
  font-size: 1.02rem;
}

.ds-alert-icon,
.ds-card-icon,
.ds-benefit-icon,
.ds-package-icon,
.ds-setup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ds-alert-icon {
  width: 54px;
  height: 54px;
  color: var(--ds-red);
}

.ds-alert-icon svg,
.ds-card-icon svg,
.ds-benefit-icon svg,
.ds-package-icon svg,
.ds-setup-icon svg,
.ds-package-note svg,
.ds-package-foot svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

.ds-section-head.ds-centered {
  text-align: center;
  margin-inline: auto;
}

.ds-section-head p,
.ds-copy-block p {
  font-size: 1.04rem;
}

.ds-pillar-grid,
.ds-package-grid,
.ds-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ds-pillar-card,
.ds-feature-panel,
.ds-package-card,
.ds-setup-card,
.ds-steps-card,
.ds-contact-card {
  border: 1px solid var(--ds-border);
  background: #ffffff;
  border-radius: var(--ds-radius);
  box-shadow: 0 12px 34px rgba(6, 28, 61, 0.065);
}

.ds-pillar-card {
  padding: clamp(24px, 3vw, 34px);
  min-height: 100%;
}

.ds-card-icon {
  width: 54px;
  height: 54px;
  color: var(--ds-teal);
  background: #e8f7fa;
  border-radius: 15px;
  padding: 12px;
  margin-bottom: 22px;
}

.ds-card-kicker {
  margin: 0 0 8px;
  color: var(--ds-teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ds-pillar-card p:last-child {
  margin-bottom: 0;
}

.ds-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.ds-split-reverse {
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1fr);
}

.ds-image-card {
  margin: 0;
}

.ds-image-card img {
  width: 100%;
  display: block;
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.ds-image-card-dark img {
  border-color: rgba(255, 255, 255, 0.18);
}

.ds-section-dark h2,
.ds-section-dark h3,
.ds-section-dark h4 {
  color: #ffffff;
}

.ds-section-dark p {
  color: rgba(255, 255, 255, 0.84);
}

.ds-feature-panel {
  margin-top: 26px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
}

.ds-feature-panel-blue {
  border-color: #cbe6ed;
  background: linear-gradient(180deg, #f8fdff, #eef8fb);
}

.ds-check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.ds-check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  break-inside: avoid;
}

.ds-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ds-teal);
  font-weight: 900;
}

.ds-check-list-two {
  columns: 2;
  column-gap: 26px;
}

.ds-check-list-light li::before {
  color: #7ce3f4;
}

.ds-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #c6e7ef;
  background: linear-gradient(135deg, #f4fcff, #ffffff);
  color: var(--ds-navy);
  font-weight: 800;
}

.ds-flow b {
  color: var(--ds-teal);
}

.ds-steps-card {
  margin: 0;
  padding: 28px 30px;
  counter-reset: ds-step;
}

.ds-steps-card li {
  position: relative;
  list-style: none;
  padding: 13px 0 13px 52px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-text);
}

.ds-steps-card li:last-child {
  border-bottom: 0;
}

.ds-steps-card li::before {
  counter-increment: ds-step;
  content: counter(ds-step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-navy-2);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.92rem;
}

.ds-benefits-section {
  background: #ffffff;
  border-top: 1px solid #e8eef4;
  border-bottom: 1px solid #e8eef4;
}

.ds-benefits-section h2 {
  text-align: center;
  margin-bottom: 26px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.ds-benefit-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid #e2ecf4;
  border-radius: var(--ds-radius);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
}

.ds-benefit-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid #e2ecf4;
}

.ds-benefit-item:last-child {
  border-right: 0;
}

.ds-benefit-icon {
  width: 44px;
  height: 44px;
  color: var(--ds-navy-2);
  margin: 0 auto 14px;
}

.ds-benefit-item p {
  margin: 0;
  color: var(--ds-navy-2);
  font-weight: 800;
  font-size: 0.93rem;
  line-height: 1.35;
}

.ds-package-grid {
  align-items: stretch;
}

.ds-package-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ds-package-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #07306a, #0b62d6);
}

.ds-package-card:nth-child(2) .ds-package-head {
  background: linear-gradient(135deg, #086674, #0a92a8);
}

.ds-package-card:nth-child(3) .ds-package-head {
  background: linear-gradient(135deg, #08747f, #0a7d8f);
}

.ds-package-title-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.ds-package-icon {
  width: 44px;
  height: 44px;
  color: #ffffff;
}

.ds-package-head h3,
.ds-package-head p {
  color: #ffffff;
}

.ds-package-head h3 {
  font-size: 1.42rem;
  letter-spacing: 0.01em;
  margin: 0 0 3px;
}

.ds-package-head p {
  margin: 0;
  font-size: 0.87rem;
  opacity: 0.9;
}

.ds-price {
  text-align: right;
  min-width: 92px;
}

.ds-price strong {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.ds-price span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  margin-top: 4px;
}

.ds-package-body {
  padding: 24px;
  flex: 1;
}

.ds-package-body p {
  margin: 0 0 18px;
}

.ds-check-list-compact {
  font-size: 0.94rem;
}

.ds-check-list-compact li {
  margin: 8px 0;
}

.ds-package-foot {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(180deg, #eff8fb, #e8f3f7);
  color: var(--ds-navy-2);
}

.ds-package-foot svg {
  width: 36px;
  height: 36px;
  color: var(--ds-navy-2);
}

.ds-package-foot p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.ds-package-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 26px 0 0;
  color: var(--ds-blue-dark);
  font-weight: 800;
  text-align: center;
}

.ds-package-note svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.ds-setup-grid {
  align-items: stretch;
}

.ds-setup-card {
  padding: clamp(24px, 3vw, 32px);
}

.ds-setup-icon {
  width: 48px;
  height: 48px;
  color: var(--ds-navy-2);
  margin-bottom: 16px;
}

.ds-setup-subtitle {
  color: var(--ds-navy-2);
  font-weight: 800;
  margin: 8px 0 14px;
}

.ds-small-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ds-border);
  color: var(--ds-muted);
  font-size: 0.88rem;
}

.ds-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(39, 169, 198, 0.33), transparent 34%),
    linear-gradient(135deg, #06172e, #07366a 58%, #086d7d);
  color: rgba(255, 255, 255, 0.88);
}

.ds-cta-box {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.ds-cta h2 {
  color: #ffffff;
}

.ds-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.ds-contact-card {
  padding: 26px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.ds-contact-card strong {
  color: var(--ds-ink);
  font-size: 1.1rem;
}

.ds-contact-card a {
  color: var(--ds-navy-2) !important;
  text-decoration: none !important;
  font-weight: 800;
}

.ds-contact-card a:hover,
.ds-contact-card a:focus {
  color: var(--ds-teal) !important;
}

.ds-digibook-teaser,
.ds-digibook-teaser * {
  box-sizing: border-box;
}

.ds-digibook-teaser {
  --ds-blue: #0b62d6;
  --ds-teal: #007d8f;
  --ds-ink: #0f253e;
  --ds-text: #354862;
  --ds-border: #dce7f0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  margin: 28px 0;
  border: 1px solid var(--ds-border);
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f8fb, #ffffff);
  color: var(--ds-text);
}

.ds-digibook-teaser h2 {
  color: var(--ds-ink);
  margin: 0 0 10px;
  line-height: 1.15;
}

.ds-digibook-teaser p {
  margin: 0;
}

@media (max-width: 1080px) {
  .ds-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-benefit-item:nth-child(3) {
    border-right: 0;
  }

  .ds-benefit-item:nth-child(-n + 3) {
    border-bottom: 1px solid #e2ecf4;
  }
}

@media (max-width: 980px) {
  .ds-split,
  .ds-split-reverse,
  .ds-cta-box {
    grid-template-columns: 1fr;
  }

  .ds-split-reverse .ds-image-card {
    order: 2;
  }

  .ds-split-reverse .ds-copy-block {
    order: 1;
  }

  .ds-pillar-grid,
  .ds-package-grid,
  .ds-setup-grid {
    grid-template-columns: 1fr;
  }

  .ds-package-head {
    align-items: center;
  }
}

@media (max-width: 720px) {
  .ds-shell {
    width: min(100% - 30px, 1180px);
  }

  .ds-hero-cover {
    min-height: auto;
    background-position: 62% center;
  }

  .ds-hero-overlay {
    background: linear-gradient(90deg, rgba(3, 21, 43, 0.92), rgba(3, 21, 43, 0.74));
  }

  .ds-hero-content {
    padding: 78px 0 66px;
  }

  .ds-lang-switch {
    position: static;
    margin-bottom: 22px;
  }

  .ds-alert {
    grid-template-columns: 1fr;
  }

  .ds-alert-icon {
    width: 44px;
    height: 44px;
  }

  .ds-benefit-strip {
    grid-template-columns: 1fr;
  }

  .ds-benefit-item,
  .ds-benefit-item:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid #e2ecf4;
  }

  .ds-benefit-item:last-child {
    border-bottom: 0;
  }

  .ds-check-list-two {
    columns: 1;
  }

  .ds-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ds-flow b {
    display: none;
  }

  .ds-package-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ds-price {
    text-align: left;
  }

  .ds-actions,
  .ds-button,
  .ds-digibook-teaser {
    width: 100%;
  }

  .ds-button {
    justify-content: center;
  }

  .ds-digibook-teaser {
    grid-template-columns: 1fr;
  }
}

/* v4: compact explanatory section for the simple/lightweight positioning */
.ds-section-compact {
  padding-top: clamp(46px, 5.5vw, 72px);
  padding-bottom: clamp(46px, 5.5vw, 72px);
  background: #ffffff;
}


/* v5: Digiship.ee-inspired top hero/header treatment */
.ds-hero-cover {
  min-height: clamp(560px, 64vw, 720px);
  align-items: center;
  background-position: center;
}

.ds-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.36) 42%, rgba(0,0,0,0.44) 100%),
    radial-gradient(circle at 50% 44%, rgba(0,0,0,0.06), rgba(0,0,0,0.28) 72%);
}

.ds-hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(142px, 15vw, 190px) 0 clamp(82px, 8vw, 120px);
}

.ds-product-logo {
  width: min(210px, 54vw);
  margin: 0 0 20px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.ds-hero h1 {
  max-width: 1060px;
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(2.35rem, 4.8vw, 4.75rem);
}

.ds-hero .ds-lead {
  max-width: 860px;
  margin-top: 26px;
  font-weight: 600;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.ds-hero-body {
  max-width: 780px;
}

.ds-actions,
.ds-badges {
  justify-content: center;
}

.ds-lang-switch {
  top: clamp(112px, 11vw, 132px);
  right: 0;
}

@media (max-width: 760px) {
  .ds-hero-cover { min-height: 620px; }
  .ds-hero-content { padding-top: 118px; }
  .ds-lang-switch { position: static; order: -1; margin-bottom: 18px; }
  .ds-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
}

/* v7: Digiship.ee style full-width hero background instead of gray frame */
html,
body {
  background: #ffffff !important;
}

.ds-digibook {
  background: #ffffff;
}

.ds-hero-digiship-bg {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(620px, 58vw, 760px);
  background-size: cover;
  background-position: center center;
  border-radius: 0;
}

.ds-hero-digiship-bg .ds-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.54) 0%, rgba(0,0,0,0.34) 36%, rgba(0,0,0,0.48) 100%),
    radial-gradient(circle at 50% 52%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.36) 74%);
}

.ds-hero-digiship-bg .ds-hero-content {
  min-height: inherit;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding-top: clamp(150px, 14vw, 210px);
  padding-bottom: clamp(70px, 7vw, 105px);
}

.ds-hero-digiship-bg .ds-kicker,
.ds-hero-digiship-bg .ds-lang-switch,
.ds-hero-digiship-bg .ds-product-logo {
  display: none !important;
}

.ds-hero-digiship-bg h1 {
  max-width: 1180px;
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(2.45rem, 5.1vw, 5.1rem);
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0,0,0,.34);
}

.ds-hero-digiship-bg .ds-lead,
.ds-hero-digiship-bg .ds-hero-body {
  max-width: 880px;
  text-shadow: 0 2px 14px rgba(0,0,0,.32);
}

.ds-hero-digiship-bg .ds-lead {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 600;
}

.ds-hero-digiship-bg .ds-actions,
.ds-hero-digiship-bg .ds-badges {
  justify-content: center;
}

@media (max-width: 760px) {
  .ds-hero-digiship-bg {
    min-height: 670px;
    background-position: center center;
  }
  .ds-hero-digiship-bg .ds-hero-content {
    padding-top: 118px;
    padding-bottom: 58px;
  }
  .ds-hero-digiship-bg h1 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }
}

/* v8: show the same Digiship-style chart image outside the hero instead of the grey browser/theme canvas. */
html {
  --dg-hero-bg-height: 760px;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0) 0,
      rgba(255,255,255,0) var(--dg-hero-bg-height),
      #ffffff var(--dg-hero-bg-height),
      #ffffff 100%),
    linear-gradient(180deg, rgba(3,21,43,.74) 0%, rgba(3,21,43,.44) 42%, rgba(3,21,43,.58) 100%),
    url('../images/digiship-chart-hero-bg.jpg') center top / cover no-repeat fixed !important;
  background-color: #061c3d !important;
}

body.dg-outer-bg {
  background: transparent !important;
  min-height: 100%;
}

body.dg-outer-bg .ds-digibook {
  /* Keep inner sections white, but let the top outside-canvas use the hero background. */
  background: #ffffff;
}

body.dg-outer-bg .ds-hero-digiship-bg {
  background-image: var(--ds-hero-img) !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* If this HTML is later placed into WordPress and the theme adds a page canvas, neutralize it around Digibook. */
body:has(.ds-digibook) .entry-content,
body:has(.ds-digibook) .wp-block-post-content,
body:has(.ds-digibook) .site-content,
body:has(.ds-digibook) .content-area,
body:has(.ds-digibook) main {
  background: transparent;
}

@media (max-width: 760px) {
  html { --dg-hero-bg-height: 670px; }
}


/* v9: visible chart hero + restored language control */
.ds-hero-cover.ds-hero-digiship-bg {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.44)),
    url('../images/digiship-chart-hero-bg.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #071d38 !important;
}
.ds-hero-cover.ds-hero-digiship-bg .ds-hero-overlay {
  display: none !important;
}
.dg-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: .86rem;
  background: rgba(255,255,255,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.dg-language:hover, .dg-language:focus {
  background: rgba(255,255,255,.18);
}
@media(max-width:760px){
  .dg-language{min-height:34px;min-width:40px;padding:0 11px;}
}


/* Preview/header styles bundled for WordPress shortcode output. */
:root{--dg-blue:#007d8f;--dg-navy:#06234a;--dg-accent:#0b62d6;--dg-border:#d8e6ee;--dg-text:#0f253e;}
    html{scroll-behavior:smooth;}
    body{margin:0;background:transparent;color:var(--dg-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
    .dg-site-header{position:absolute;top:0;left:0;right:0;z-index:50;background:rgba(0,0,0,.42);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:none;backdrop-filter:blur(2px);}
    .dg-site-shell{width:min(1180px,calc(100% - 42px));margin:0 auto;display:flex;align-items:center;justify-content:space-between;min-height:94px;gap:22px;}
    .dg-brand{display:inline-flex;align-items:center;text-decoration:none;}
    .dg-brand-logo{display:block;width:92px;max-height:82px;height:auto;object-fit:contain;}
    .dg-site-nav{display:flex;align-items:center;gap:26px;}
    .dg-main-link{color:#fff;text-decoration:none;font-weight:600;font-size:1rem;text-shadow:0 1px 10px rgba(0,0,0,.35);}
    .dg-main-link:hover,.dg-main-link:focus{text-decoration:underline;}
    .dg-phone{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border:1px solid rgba(255,255,255,.9);border-radius:0;text-decoration:none;color:#fff;font-weight:700;background:rgba(255,255,255,.04);box-shadow:none;}
    .dg-menu{width:50px;height:50px;border:0;border-radius:3px;background:#111;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;box-shadow:0 12px 22px rgba(0,0,0,.28);cursor:pointer;}
    .dg-menu span{width:18px;height:2px;background:#0fb4d8;border-radius:999px;display:block;}

    /* v11 hero/header fixes: use a real image tag for reliable local preview background, restore language switch in header. */
    .dg-language{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:44px;padding:0 13px;border:1px solid rgba(255,255,255,.72);border-radius:999px;color:#fff;text-decoration:none;font-weight:800;font-size:.86rem;background:rgba(255,255,255,.08);box-shadow:0 8px 20px rgba(0,0,0,.16);}
    .dg-language:hover,.dg-language:focus{background:rgba(255,255,255,.18);text-decoration:none;}
    .ds-hero-cover.ds-hero-digiship-bg{position:relative;overflow:hidden;background:#071d38 !important;background-image:none !important;}
    .ds-hero-cover.ds-hero-digiship-bg .dg-hero-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;z-index:0;}
    .ds-hero-cover.ds-hero-digiship-bg::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(3,18,33,.78) 0%,rgba(3,18,33,.62) 42%,rgba(3,18,33,.34) 100%),linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.28));pointer-events:none;}
    .ds-hero-cover.ds-hero-digiship-bg .ds-hero-overlay{display:none !important;}
    .ds-hero-cover.ds-hero-digiship-bg .ds-hero-content{position:relative;z-index:2;padding-top:clamp(150px,14vw,210px);} 
    @media(max-width:760px){.dg-language{min-height:34px;min-width:40px;padding:0 11px}.ds-hero-cover.ds-hero-digiship-bg .dg-hero-bg-img{object-position:center center;}}
    
    @media(max-width:760px){.dg-site-shell{min-height:78px}.dg-brand-logo{width:76px;max-height:70px}.dg-main-link{display:none}.dg-phone{display:none}.dg-site-nav{gap:12px}.dg-menu{width:44px;height:44px}}


/* WordPress integration helpers */
body.ds-digibook-page .entry-title,
body.ds-digibook-page .wp-block-post-title,
body.ds-digibook-page h1.entry-title {
  display: none !important;
}
body.ds-digibook-page .entry-content,
body.ds-digibook-page .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.ds-digibook-page .ds-digibook {
  margin-top: 0 !important;
}
body.ds-digibook-page.ds-digibook-no-custom-header .ds-hero-cover.ds-hero-digiship-bg .ds-hero-content {
  padding-top: clamp(88px, 9vw, 132px) !important;
}
body.ds-digibook-page.ds-digibook-no-custom-header .ds-hero-digiship-bg .ds-lang-switch {
  display: block !important;
}
body.ds-digibook-page.ds-digibook-has-custom-header .ds-hero-digiship-bg .ds-lang-switch {
  display: none !important;
}

/* v13 WordPress full-page / full-bleed fixes */
.ds-digibook-fullbleed,
.ds-digibook-fullbleed * {
  box-sizing: border-box;
}

.ds-digibook-fullbleed {
  position: relative;
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow-x: hidden;
  background: #fff;
}

.ds-digibook-fullbleed .ds-digibook {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.ds-digibook-standalone-template {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow-x: hidden;
}

body.ds-digibook-standalone-template .ds-digibook-fullbleed {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.ds-digibook-standalone-template .dg-site-header {
  top: 0;
}

body.admin-bar.ds-digibook-standalone-template .dg-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.ds-digibook-standalone-template .dg-site-header {
    top: 46px;
  }
}

/* Fallback if the shortcode is placed into a normal theme page instead of using the standalone template. */
body.ds-digibook-page .site,
body.ds-digibook-page .site-main,
body.ds-digibook-page .site-content,
body.ds-digibook-page .content-area,
body.ds-digibook-page .content,
body.ds-digibook-page article,
body.ds-digibook-page .entry-content,
body.ds-digibook-page .wp-block-post-content,
body.ds-digibook-page .wp-site-blocks,
body.ds-digibook-page .is-layout-constrained,
body.ds-digibook-page .is-layout-flow {
  max-width: none !important;
}

body.ds-digibook-page .entry-content,
body.ds-digibook-page .wp-block-post-content {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
