/**
 * Premium EN — marketing shell skin (index, about, pro list, contact…)
 * Layout overrides ONLY under .premium-en.premium-shell
 * Content pages use premium-content.css instead — do not add global layout rules here.
 */

.premium-en {
  --premium-hero: linear-gradient(135deg, #0a1628 0%, #0d2842 45%, #0a3d5c 100%);
  --nom-blue: #0076c0;
  --nom-blue-dark: #005a94;
  --nom-ink: #1a1f24;
  --nom-muted: #5c6470;
  --nom-surface: #f4f7fa;
  --nom-accent: #00a3e0;
  background: #fff;
}

/* —— Global skin (safe on all EN pages) —— */
.premium-en img.img-fluid,
.premium-en .richtext img,
.premium-en .side-callout img,
.premium-en .default-callout img,
.premium-en .product-head img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.premium-en .banner-wrapper .img,
.premium-en .banner .img,
.premium-en .product-head .carousel-main .img,
.premium-en .product-head .carousel-side .img {
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.premium-en .banner-wrapper.with-image .img {
  min-height: 200px;
}
@media (min-width: 992px) {
  .premium-en .banner-wrapper.with-image .img {
    min-height: 0;
    padding-top: 90%;
    width: 100%;
  }
}

.premium-en .btn.btn-outline,
.premium-en a.btn-outline {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.premium-en .btn.btn-darkgreen,
.premium-en a.btn-darkgreen,
.premium-en .btn.btn-green {
  border-radius: 999px;
}
.premium-en a.text-darkgreen,
.premium-en .readmore.text-darkgreen {
  color: var(--nom-blue, #0076c0) !important;
}

/* Newsletter (#subscribe) — enterprise blue, aligned with site CTAs */
.premium-en #subscribe {
  background: linear-gradient(135deg, #0076c0 0%, #005a94 100%) !important;
  color: #ffffff !important;
  padding: 3rem 0 !important;
}
.premium-en #subscribe h2,
.premium-en #subscribe h3,
.premium-en #subscribe .richtext h2,
.premium-en #subscribe .richtext h3,
.premium-en #subscribe .richtext h4 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.premium-en #subscribe .richtext,
.premium-en #subscribe .richtext p,
.premium-en #subscribe .richtext li {
  color: #e2e8f0 !important;
  font-size: 1rem;
  line-height: 1.65;
}
.premium-en #subscribe .text-xs,
.premium-en #subscribe .text-xs p,
.premium-en #subscribe .text-xs li {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.6875rem;
  line-height: 1.55;
}
.premium-en #subscribe .text-xs a {
  color: #b8d9f0 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.premium-en #subscribe .text-xs a:hover {
  color: #ffffff !important;
}
.premium-en #subscribe .btn-green {
  background: #0076c0 !important;
  border-color: #0076c0 !important;
  color: #fff !important;
}

/* Subscribe form — single-row layout (fixes legacy sample-column overlap) */
.premium-en #subscribe {
  clear: both;
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
}

.premium-en #subscribe .footer-subscribe-form {
  margin: 0;
  clear: both;
}

.premium-en #subscribe .footer-subscribe-form__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 420px;
  margin-left: auto;
}

.premium-en #subscribe .footer-subscribe-form__input {
  flex: 1 1 200px;
  min-width: 0;
  height: 54px !important;
  margin-bottom: 0 !important;
  top: 0 !important;
  position: relative !important;
  padding-right: 1.25rem !important;
}

.premium-en #subscribe .footer-subscribe-form__btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto;
  height: 54px;
  margin: 0;
  padding: 0 1.5rem;
  border-radius: 30px;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .premium-en #subscribe .footer-subscribe-form__row {
    flex-wrap: nowrap;
  }

  .premium-en #subscribe .footer-subscribe-form__input {
    padding-right: 1.25rem !important;
  }
}

/* Product detail — white band between Contact CTA and Subscribe */
body.premium-en.prod-page #main {
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

body.premium-en.prod-page #subscribe {
  margin-top: 0 !important;
}

.premium-en footer {
  border-top: 3px solid #0076c0 !important;
}

/* ================================================================
   SHELL ONLY — .premium-en.premium-shell
   ================================================================ */

/* —— Legacy banner → dark hero —— */
.premium-en.premium-shell .banner-wrapper {
  position: relative;
  background: var(--premium-hero) !important;
  overflow: hidden;
  margin-bottom: 0;
}
.premium-en.premium-shell .banner-wrapper.no-img {
  background: var(--premium-hero) !important;
}
.premium-en.premium-shell .banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 163, 224, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0, 118, 192, 0.18), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
@media only screen and (min-width: 992px) {
  .premium-en.premium-shell .banner::before {
    background: var(--premium-hero) !important;
    width: 100% !important;
    z-index: 0;
  }
  .premium-en.premium-shell .banner .caption {
    position: relative;
    z-index: 1;
  }
}
@media only screen and (max-width: 991px) {
  .premium-en.premium-shell .banner .caption {
    background: var(--premium-hero) !important;
  }
}
.premium-en.premium-shell .banner-wrapper .banner,
.premium-en.premium-shell .banner-wrapper .container,
.premium-en.premium-shell .banner-wrapper .row {
  position: relative;
  z-index: 1;
}
.premium-en.premium-shell .banner-wrapper .caption h1,
.premium-en.premium-shell .banner-wrapper .caption h2,
.premium-en.premium-shell .banner-wrapper .richtext.lg h1 {
  color: #fff !important;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.premium-en.premium-shell .banner-wrapper .caption p,
.premium-en.premium-shell .banner-wrapper .richtext.lg p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.premium-en.premium-shell .banner-wrapper .img,
.premium-en.premium-shell .banner-wrapper .img-float,
.premium-en.premium-shell .banner .img {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

/* —— Content sections —— */
.premium-en.premium-shell #main.site-main > .block-text,
.premium-en.premium-shell #main.site-main > [id^="section-"] {
  padding: 0;
}
.premium-en.premium-shell .block-text section,
.premium-en.premium-shell .block-callout section,
.premium-en.premium-shell .block-cards section,
.premium-en.premium-shell .block-team section {
  padding: 3.5rem 0;
}
.premium-en.premium-shell .block-text section:nth-child(even),
.premium-en.premium-shell .block-callout:nth-child(even) section {
  background: var(--nom-surface, #f4f7fa);
}
.premium-en.premium-shell .block-text h2,
.premium-en.premium-shell .introduction h2,
.premium-en.premium-shell .block-cards .introduction h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nom-ink, #1a1f24);
  margin-bottom: 1rem;
}
.premium-en.premium-shell .block-text .richtext,
.premium-en.premium-shell .side-callout .richtext,
.premium-en.premium-shell .default-callout .richtext {
  color: var(--nom-muted, #5c6470);
  line-height: 1.7;
  font-size: 1.025rem;
}

/* —— Cards —— */
.premium-en.premium-shell .cards .card-item,
.premium-en.premium-shell .card-item.white {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 30, 60, 0.08);
  border: 1px solid rgba(0, 118, 192, 0.08);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premium-en.premium-shell .cards .card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 30, 60, 0.12);
}
.premium-en.premium-shell .card-item.with-btn.green {
  background: linear-gradient(135deg, #0076c0 0%, #005a94 100%);
  color: #fff;
  border: none;
  text-align: center;
  padding: 2.5rem 2rem;
}
.premium-en.premium-shell .card-item.with-btn.green h3,
.premium-en.premium-shell .card-item.with-btn.green .richtext {
  color: #fff !important;
}
.premium-en.premium-shell .card-item.with-btn.green .btn-outline {
  background: #fff;
  color: #005a94 !important;
  border-color: #fff;
  margin-top: 1rem;
}

/* —— Callout —— */
.premium-en.premium-shell .side-callout,
.premium-en.premium-shell .default-callout {
  padding: 3.5rem 0;
}
@media only screen and (min-width: 992px) {
  .premium-en.premium-shell .side-callout .caption::before {
    background: var(--nom-surface, #f4f7fa) !important;
  }
}
@media only screen and (max-width: 991px) {
  .premium-en.premium-shell .side-callout .caption {
    background: var(--nom-surface, #f4f7fa) !important;
  }
}
.premium-en.premium-shell .side-callout img {
  box-shadow: 0 12px 32px rgba(0, 30, 60, 0.12);
}

/* —— Product grid cards (not .lg row layout) —— */
.premium-en.premium-shell .product-item:not(.lg) {
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 30, 60, 0.08);
  border: 1px solid rgba(0, 118, 192, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premium-en.premium-shell .product-item:not(.lg):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 30, 60, 0.12);
}
.premium-en.premium-shell .product-item.lg {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  width: 941px;
  max-width: 100%;
}
.premium-en.premium-shell .product-item.lg .img-fluid {
  object-fit: contain;
  max-width: 100%;
  height: auto;
}
.premium-en.premium-shell .news-feature .news-item {
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}
.premium-en.premium-shell .news-feature .news-item:hover {
  box-shadow: 0 8px 28px rgba(0, 30, 60, 0.1);
}

/* —— Replace legacy light blue —— */
.premium-en.premium-shell section.bg-gray,
.premium-en.premium-shell .bg-green,
.premium-en.premium-shell section.bg-green {
  background: var(--nom-surface, #f4f7fa) !important;
  padding: 3.5rem 0;
}
.premium-en.premium-shell .search-banner {
  background: var(--premium-hero) !important;
  color: #fff;
}
.premium-en.premium-shell .card-item.green:not(.with-btn) {
  background: linear-gradient(135deg, #0076c0 0%, #005a94 100%) !important;
}

/* —— Homepage / section spacing —— */
.premium-en.premium-shell #main > section:not(.nom-hero):not(.nom-stats):not(.nom-section):not(.nom-cta) {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.premium-en.premium-shell #main.site-main {
  padding-bottom: 0;
}

/* Dedicated nomination/compliance — keep custom heroes */
.premium-en.compliance-page .banner-wrapper,
.premium-en.nomination-page .banner-wrapper {
  background: none !important;
}
.premium-en.compliance-page .banner-wrapper::before,
.premium-en.nomination-page .banner-wrapper::before {
  display: none;
}
