/* Promotion page — content inside product-section theme (styles.css) */

.promo-page-section {
  padding-top: calc(var(--topbar-offset, 5rem) + 0.5rem);
  min-height: 50vh;
}

.promo-page-inner {
  width: 100%;
}

.promo-page-inner > .product-text {
  margin-bottom: 0.25rem;
}

/* Inner panel — same language as contact form card on index */
.promo-content-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
  overflow: hidden;
  box-sizing: border-box;
}

.promo-noscript {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #fff3cd;
  color: #664d03;
  font-size: 0.9rem;
  text-align: center;
}

/* Loading / error — inside panel, no extra card */
.promo-content-panel .promo-state {
  min-height: 260px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.promo-state--hidden {
  display: none !important;
}

.promo-content-panel .promo-state p {
  margin: 1rem 0 0;
  color: #334155;
}

.promo-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #e5e7eb;
  border-top-color: #0b89ff;
  border-radius: 50%;
  animation: promo-spin 0.75s linear infinite;
}

@keyframes promo-spin {
  to {
    transform: rotate(360deg);
  }
}

.promo-message-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fffde7;
  color: #0b2340;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 52px;
  margin-bottom: 0.5rem;
  border: 2px solid #fff63b;
}

.promo-message-title {
  margin: 0 0 0.5rem !important;
  font-size: 1.5rem !important;
}

.promo-message-text {
  margin: 0 0 1.25rem !important;
  max-width: 28rem;
}

.promo-back-btn {
  display: inline-block;
  text-decoration: none;
}

/* Article content inside panel */
.promo-card--hidden {
  display: none !important;
}

.promo-banner-wrap {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  background: linear-gradient(180deg, #f7fbff 0%, #f3f4f6 100%);
  overflow: hidden;
}

.promo-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-article-body {
  padding: 1.75rem 1.5rem 2rem;
  box-sizing: border-box;
}

.promo-article-title {
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  font-size: 1.75rem !important;
}

.promo-article-lead {
  margin-bottom: 1.25rem !important;
}

.promo-article-lead:empty {
  display: none;
}

.promo-content {
  font-size: 0.97rem;
  color: #334155;
  line-height: 1.8;
  word-wrap: break-word;
}

.promo-content h2,
.promo-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-weight: 700;
  color: #0b2340;
  border-left: 4px solid #fff63b;
  padding-left: 0.6rem;
  background: #fffde7;
  border-radius: 0 6px 6px 0;
  padding-top: 4px;
  padding-bottom: 4px;
}

.promo-content h2 {
  font-size: 1.15rem;
}

.promo-content h3 {
  font-size: 1.05rem;
}

.promo-content p {
  margin: 0 0 0.85rem;
}

.promo-content ul,
.promo-content ol {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
}

.promo-content li {
  margin-bottom: 0.35rem;
}

.promo-content a {
  color: #0b89ff;
  text-decoration: underline;
}

.promo-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.promo-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.promo-content th,
.promo-content td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.promo-app-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 35, 64, 0.1);
  text-align: center;
}

.promo-app-cta-title {
  margin: 0 0 1rem !important;
  text-align: center;
}

.promo-app-btns {
  justify-content: center;
}

.top-bar .logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.promo-page-section + .site-footer,
.promo-page + .site-footer {
    margin-top: 0;
}


.promo-breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.promo-breadcrumb a {
  color: #0b89ff;
  text-decoration: none;
  font-weight: 500;
}

.promo-breadcrumb a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .promo-article-body {
    padding: 2rem 2.25rem 2.5rem;
  }

  .promo-article-title {
    font-size: 2rem !important;
  }
}
