.transparent-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.transparent-header.scrolled {
  position: fixed;
  background: rgba(7, 15, 35, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.transparent-header .container.lg {
  max-width: 1620px;
  padding-left: 32px;
  padding-right: 32px;
}

.header-shell {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 40px;
}

.header-brand {
  justify-self: start;
}

.transparent-header .logo-area img {
  width: 100%;
  max-height: 500px;
}

.header-nav {
  justify-content: center;
}

.transparent-header .menu-area nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transparent-header .menu-area ul li {
  position: relative;
}

.transparent-header .menu-area ul li a {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.transparent-header .txc-dropdown-menu {
  background: rgba(8, 15, 34, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 240px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.transparent-header .txc-dropdown-menu li a {
  color: #ffffff !important;
  padding: 11px 18px;
  display: block;
}

.transparent-header .txc-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  justify-self: end;
}

.transparent-header .theme_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 232px;
  height: 64px;
  padding: 0 28px;
  border-radius: 0;
  background: linear-gradient(90deg, #d54736 0%, #cb402f 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
}

.transparent-header .theme_btn span,
.hero-v2__btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 62px;
  margin-right: -28px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.header-mobile-toggle {
  justify-self: end;
}

.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b1228;
}

.hero-v2__bg,
.hero-v2__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-v2__bg {
  background-image: url("../img/bg/new-hero-banner.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-v2__overlay {
  background: #000;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.43) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-v2__container {
  position: relative;
  max-width: 1440px;
}

.hero-v2__content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 220px 20px 120px;
  text-align: center;
}

.hero-v2__brand {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(30px, 2.6vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-v2__brand span {
  color: #d54736;
}

.hero-v2__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(50px, 5.7vw, 70px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.38);
}

.hero-v2__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-v2__actions span {
  height: 50px;
  margin-right: 0 !important;
}

.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 230px;
  height: 62px;
  padding-right: 5px !important;
  border-radius: 0;
  font-size: 20px;
  font-weight: 500;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-v2__btn--primary {
  background: linear-gradient(90deg, #d54736 0%, #cb402f 100%);
  border: none;
}

.hero-v2__btn--secondary {
  background: linear-gradient(90deg, #0b2153 0%, #09204f 100%);
  border: none;
}

.hero-v2__btn:hover,
.transparent-header .theme_btn:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
}

@media (max-width: 1399.98px) {
  .transparent-header .menu-area nav ul {
    gap: 42px;
  }

  .hero-v2__title {
    font-size: clamp(50px, 5vw, 82px);
  }
}

@media (max-width: 1199.98px) {
  .transparent-header {
    background: rgba(7, 15, 35, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .transparent-header .container.lg {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-shell {
    min-height: 88px;
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
  }

  .transparent-header .logo-area img {
    max-height: 100px;
  }

  .transparent-header .bar__icon a span,
  .transparent-header .bar__icon a span:before,
  .transparent-header .bar__icon a span:after {
    background: #ffffff;
  }

  .hero-v2__content {
    padding-top: 170px;
  }
}

@media (max-width: 991.98px) {
  .hero-v2 {
    min-height: 880px;
  }

  .hero-v2__content {
    max-width: 760px;
    padding: 170px 14px 100px;
  }

  .hero-v2__title {
    font-size: clamp(42px, 8vw, 66px);
  }
}

@media (max-width: 767.98px) {
  .transparent-header .theme_btn {
    min-width: auto;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
  }

  .transparent-header .theme_btn span,
  .hero-v2__btn span {
    width: 40px;
    height: 48px;
    margin-right: -16px;
  }

  .hero-v2 {
    min-height: 780px;
  }

  .hero-v2__content {
    padding: 132px 10px 72px;
  }

  .hero-v2__brand {
    margin-bottom: 16px;
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero-v2__title {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.07;
  }

  .hero-v2__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }

  .hero-v2__btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
    height: 56px;
    font-size: 18px;
  }
}

/* ===== HERO ENTRANCE ANIMATION ===== */
.hero-v2__container {
  position: relative;
  z-index: 99;
  max-width: 1440px;
}

.hero-v2__content,
.hero-v2__content[data-aos] {
  opacity: 1;
  visibility: visible;
  transform-origin: center center;
  animation: heroContentEntrance 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  will-change: opacity, transform, filter;
}

.hero-v2__brand,
.hero-v2__title,
.hero-v2__actions,
.hero-v2__btn {
  opacity: 1;
  visibility: visible;
}

@keyframes heroContentEntrance {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__content,
  .hero-v2__content[data-aos] {
    animation: none;
    transform: none;
    filter: none;
  }
}

/* ===== MOBILE MENU + HERO LAYER FIX ===== */
@media (max-width: 1199.98px) {
  .transparent-header {
    z-index: 1000;
  }

  .mobile-menu,
  .mobile-menu.siteBar {
    z-index: 10050;
  }

  .hero-v2__container {
    z-index: 2;
  }

  .hero-v2__content,
  .hero-v2__content[data-aos] {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 767.98px) {
  .header-shell {
    min-height: 88px;
  }

  .transparent-header .container.lg {
    padding-left: 18px;
    padding-right: 18px;
  }

  .transparent-header .logo-area img {
    max-height: 100px;
  }

  .header-mobile-toggle,
  .header-mobile-toggle .bar__icon,
  .header-mobile-toggle .siteBar-btn {
    position: relative;
    z-index: 1001;
  }

  .mobile-menu,
  .mobile-menu.siteBar {
    width: 340px;
    max-width: calc(100vw - 28px);
    z-index: 10050;
    overflow-y: auto;
  }

  .mobile-menu nav,
  .mobile-menu > div {
    position: relative;
    z-index: 2;
  }

  .hero-v2 {
    min-height: 780px;
  }

  .hero-v2__container {
    width: 100%;
    z-index: 2;
  }

  .hero-v2__content,
  .hero-v2__content[data-aos] {
    width: 100%;
    max-width: 100%;
    padding: 132px 18px 72px;
    text-align: center;
    z-index: 2;
  }

  .hero-v2__actions {
    align-items: center;
    justify-content: center;
  }

  .hero-v2__btn {
    width: min(50%, 380px);
  }
}

/* ===== BUTTON INTERACTIONS ===== */
.transparent-header .theme_btn,
.transparent-header .theme_btn span,
.hero-v2__btn,
.hero-v2__btn span,
.theme_btn-border,
.theme_btn-border span,
.x-feed-profile,
.x-feed-profile span {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.transparent-header .theme_btn,
.hero-v2__btn--primary,
.hero-v2__btn--secondary,
.transparent-header .header-cta .theme_btn {
  border: 1px solid transparent;
  box-shadow: none;
}

.transparent-header .theme_btn span,
.transparent-header .header-cta .theme_btn span {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.transparent-header .header-cta .theme_btn span {
  height: 50px;
  margin-right: -40px;
}

.hero-v2__btn:hover,
.transparent-header .theme_btn:hover,
.theme_btn-border:hover,
.x-feed-profile:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.hero-v2__btn:hover,
.transparent-header .theme_btn:hover {
  color: #ffffff;
}

.transparent-header .theme_btn:hover,
.transparent-header .header-cta .theme_btn:hover,
.hero-v2__btn--primary:hover {
  background: transparent;
  border-color: #ce4332;
}

.transparent-header .theme_btn:hover span,
.transparent-header .header-cta .theme_btn:hover span,
.hero-v2__btn--primary:hover span {
  border-left-color: rgba(206, 67, 50, 0.5);
  background: rgba(206, 67, 50, 0.15);
}

.hero-v2__btn--secondary:hover {
  background: transparent;
  border-color: #092150;
}

.hero-v2__btn--secondary:hover span {
  border-left-color: rgba(9, 33, 80, 0.5);
  background: rgba(9, 33, 80, 0.15);
}

.theme_btn-border,
.x-feed-profile {
  border: 1px solid #de4a38;
  background: transparent;
}

.theme_btn-border span,
.x-feed-profile span {
  border-left: 1px solid rgba(222, 74, 56, 0.22);
  background: rgba(222, 74, 56, 0.06);
}

.theme_btn-border:hover,
.x-feed-profile:hover {
  border-color: #de4a38;
  background: rgba(222, 74, 56, 0.03);
}

.theme_btn-border:hover span,
.x-feed-profile:hover span {
  border-left-color: rgba(222, 74, 56, 0.38);
  background: rgba(222, 74, 56, 0.1);
}

/* Credibility */

.press-strip--brands {
  padding: 50px 0;
  background: #f4f4f4;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.press-strip--brands .container {
  max-width: 1680px;
  padding-left: 48px;
  padding-right: 48px;
}

.press-strip__layout {
  display: grid;
  grid-template-columns: 280px minmax(120px, 1fr) minmax(540px, 760px);
  align-items: center;
  column-gap: 48px;
}

.press-strip__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.press-strip__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #111111;
}

.press-strip__title {
  margin: 0;
  font-size: clamp(42px, 4vw, 72px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #000000;
}

.press-strip__line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

.press-strip__slider {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.press-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: pressStripMarquee 24s linear infinite;
  will-change: transform;
}

.press-strip__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.press-strip__logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 72px;
  opacity: 1;
}

.press-strip__logo-item img {
  display: block;
  max-width: 500px !important;
  max-height: 100px !important;
  width: 100%;
  object-fit: contain;
  filter: brightness(0);
}

@keyframes pressStripMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50%));
  }
}

.press-strip__slider:hover .press-strip__track {
  animation-play-state: paused;
}

@media (min-width: 1400px) {
  .press-strip__logo-item {
    min-width: 210px;
    min-height: 80px;
  }

  .press-strip__logo-item img {
    max-width: 500px !important;
    max-height: 200px !important;
  }
}

@media (max-width: 1399.98px) {
  .press-strip__layout {
    grid-template-columns: 240px minmax(80px, 1fr) minmax(420px, 1fr);
    column-gap: 36px;
  }

  .press-strip__group {
    gap: 64px;
    padding-right: 64px;
  }

  .press-strip__logo-item {
    min-width: 170px;
    min-height: 68px;
  }

  .press-strip__logo-item img {
    max-width: 220px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 1199.98px) {
  .press-strip__layout {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .press-strip__line {
    display: none;
  }

  .press-strip__slider {
    width: 100%;
  }

  .press-strip__group {
    gap: 64px;
    padding-right: 64px;
  }

  .press-strip__logo-item {
    min-width: 160px;
    min-height: 64px;
  }

  .press-strip__logo-item img {
    max-width: 210px !important;
    max-height: 46px !important;
  }
}

@media (max-width: 991.98px) {
  .press-strip--brands {
    padding: 80px 0;
  }

  .press-strip--brands .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .press-strip__layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .press-strip__intro {
    text-align: left;
  }

  .press-strip__line {
    display: none;
  }

  .press-strip__group {
    gap: 48px;
    padding-right: 48px;
  }

  .press-strip__logo-item {
    min-width: 148px;
    min-height: 58px;
  }

  .press-strip__logo-item img {
    max-width: 190px !important;
    max-height: 40px !important;
  }
}

@media (max-width: 767.98px) {
  .press-strip--brands {
    padding: 54px 0;
  }

  .press-strip--brands .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .press-strip__intro {
    margin-bottom: 8px;
  }

  .press-strip__eyebrow {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .press-strip__title {
    font-size: 40px;
    line-height: 1;
  }

  .press-strip__group {
    gap: 42px;
    padding-right: 42px;
  }

  .press-strip__logo-item {
    min-width: 132px;
    min-height: 52px;
  }

  .press-strip__logo-item img {
    max-width: 300px !important;
    max-height: 300px !important;
  }
}

@media (max-width: 479.98px) {
  .press-strip__group {
    gap: 32px;
    padding-right: 32px;
  }

  .press-strip__logo-item {
    min-width: 116px;
    min-height: 46px;
  }

  .press-strip__logo-item img {
    max-width: 145px !important;
    max-height: 30px !important;
  }

  .hero-v2__btn--primary {
    width: 200px !important;
  }
  .hero-v2__btn--secondary {
    width: 200px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-strip__track {
    animation: none;
  }
}

/* =========================================
   Foundation / Featured redesign
   ========================================= */

.foundation-section {
  position: relative;
  z-index: 2;
}

.foundation-section__heading {
  max-width: 860px;
  margin: 0 auto 52px;
}

.foundation-section__heading label {
  display: inline-block;
  margin-bottom: 12px;
  color: #c84033;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foundation-section__heading h1 {
  margin-bottom: 18px;
}

.foundation-section__heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.7;
  color: #5f6876;
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.foundation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(10, 28, 61, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.foundation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.1);
  border-color: rgba(200, 64, 51, 0.22);
}

.foundation-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe6f2;
}

.foundation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foundation-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  background: rgba(7, 15, 35, 0.9);
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foundation-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 26px 26px 24px;
}

.foundation-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f5f7fb;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.foundation-card__body h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.15;
  color: #0a1c3d;
}

.foundation-card__body p {
  margin-bottom: 22px;
  color: #5f6876;
  font-size: 17px;
  line-height: 1.75;
}

.foundation-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.foundation-card__link img {
  width: auto;
  height: 10px;
}

@media (max-width: 1199.98px) {
  .foundation-card__body h3 {
    font-size: 26px;
  }

  .foundation-section__heading p {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .foundation-grid {
    grid-template-columns: 1fr;
  }

  .foundation-section__heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 767.98px) {
  .foundation-card__body {
    padding: 22px 20px 20px;
  }

  .foundation-card__body h3 {
    font-size: 22px;
  }

  .foundation-card__body p {
    font-size: 16px;
    line-height: 1.65;
  }

  .foundation-section__heading p {
    font-size: 16px;
    line-height: 1.65;
  }
}

/* =========================================
   Shared section fade-up reveal
   ========================================= */

.section-reveal,
#foundation.feature-section-reveal {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(8px);
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.section-reveal.is-visible,
#foundation.feature-section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal,
  .section-reveal.is-visible,
  #foundation.feature-section-reveal,
  #foundation.feature-section-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* =========================================
   Technical Specifications redesign
   ========================================= */

.specifications-v2 {
  background: #f7f8fb;
}

.specifications-v2__heading {
  max-width: 900px;
  margin: 0 auto 54px;
}

.specifications-v2__heading label {
  display: inline-block;
  margin-bottom: 12px;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specifications-v2__heading h1 {
  margin-bottom: 16px;
}

.specifications-v2__intro {
  max-width: 780px;
  margin: 0 auto;
  color: #5f6876;
  font-size: 18px;
  line-height: 1.75;
}

.specifications-v2__intro span {
  display: block;
  margin-bottom: 8px;
  color: #0a1c3d;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
}

.specifications-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 24px;
  border-radius: 20px;
  border: 1px solid rgba(10, 28, 61, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #d54736 0%, #cb402f 100%);
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 24, 58, 0.1);
  border-color: rgba(200, 64, 51, 0.22);
}

.spec-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.spec-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.spec-card__icon-wrap img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.spec-card__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(200, 64, 51, 0.08);
  color: #c84033;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spec-card h3 {
  margin-bottom: 14px;
  color: #0a1c3d;
  font-size: 28px;
  line-height: 1.15;
}

.spec-card p {
  margin-bottom: 22px;
  color: #5f6876;
  font-size: 16px;
  line-height: 1.75;
}

.spec-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* =========================================
   Growth redesign
   ========================================= */

.growth-v2 {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.growth-v2__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 36px;
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 24, 58, 0.08);
  border: 1px solid rgba(10, 28, 61, 0.08);
}

.growth-v2__content {
  padding: 18px 10px 18px 6px;
}

.growth-v2__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.growth-v2__content h2 {
  margin-bottom: 18px;
  color: #0a1c3d;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

.growth-v2__content p {
  margin-bottom: 26px;
  color: #5f6876;
  font-size: 18px;
  line-height: 1.8;
}

.growth-v2__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.growth-v2__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #0a1c3d;
  font-size: 16px;
  line-height: 1.7;
}

.growth-v2__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(200, 64, 51, 0.1);
}

.growth-v2__check img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.growth-v2__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.growth-v2__image-card {
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fb 0%, #edf2f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 20px;
}

.growth-v2__image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1399.98px) {
  .specifications-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 1199.98px) {
  .growth-v2__shell {
    grid-template-columns: 1fr;
  }

  .growth-v2__content {
    padding: 10px 0 0;
  }
}

@media (max-width: 991.98px) {
  .specifications-v2__heading {
    margin-bottom: 42px;
  }

  .specifications-v2__intro {
    font-size: 17px;
  }

  .specifications-v2__intro span {
    font-size: 21px;
  }
}

@media (max-width: 767.98px) {
  .specifications-v2__grid {
    grid-template-columns: 1fr;
  }

  .spec-card {
    padding: 24px 20px 22px;
  }

  .spec-card h3 {
    font-size: 22px;
  }

  .spec-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  .growth-v2__shell {
    padding: 20px;
    gap: 24px;
    border-radius: 22px;
  }

  .growth-v2__content h2 {
    font-size: 32px;
  }

  .growth-v2__content p {
    font-size: 16px;
    line-height: 1.7;
  }

  .growth-v2__list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .growth-v2__image-card {
    padding: 14px;
    border-radius: 18px;
  }
}

/* =========================================
   Footer contact redesign
   ========================================= */

.footer {
  padding: 30px;
}

.footer .row {
  margin-left: 0;
  margin-right: 0;
}

.footer__contact-grid {
  display: none !important;
}

.footer__nav-wrap {
  display: flex;
  align-items: stretch;
  padding-right: 0;
}

.footer__nav-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  width: 100%;
  align-items: start;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.footer__nav ul li {
  margin: 0 0 14px;
}

.footer__nav ul li:last-child {
  margin-bottom: 0;
}

.footer__nav ul li h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.footer__nav ul li a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

.footer__nav ul li a:hover {
  color: #ffffff;
}

.footer__contact-column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
}

.footer__contact-stack {
  width: 100%;
  max-width: 320px;
}

.footer__contact-stack-title {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.footer__contact-stack-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  width: 100%;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer__contact-row:hover {
  color: #ffffff;
}

.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin-top: 2px;
}

.footer__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__contact-text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 1399.98px) {
  .footer__nav-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .footer__nav {
    gap: 24px;
  }

  .footer__nav ul li h3,
  .footer__contact-stack-title {
    font-size: 26px;
  }
}

@media (max-width: 1199.98px) {
  .footer__nav-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }

  .footer__nav {
    gap: 20px;
  }

  .footer__nav ul li a,
  .footer__contact-text {
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  .footer__nav-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 28px;
  }

  .footer__contact-column {
    width: 100%;
    max-width: 100%;
  }

  .footer__contact-stack {
    max-width: 100%;
  }

  .footer__contact-stack-title {
    margin-bottom: 18px;
  }

  .footer__contact-row {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 24px 18px;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
  }

  .footer__nav ul li {
    margin-bottom: 12px;
  }

  .footer__nav ul li h3,
  .footer__contact-stack-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .footer__nav ul li a,
  .footer__contact-text {
    font-size: 15px;
    line-height: 1.55;
  }

  .footer__contact-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .footer__contact-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
}

@media (max-width: 575.98px) {
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__nav ul li a {
    white-space: normal;
  }

  .footer__contact-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }
}
.footer__nav ul li h3 {
  white-space: nowrap;
}

.press-strip {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.press-strip__list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.press-strip__item {
  padding: 10px 18px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1c3d;
  background: #fafafa;
}
.feature-highlight-card {
  height: 100%;
  background: #fff;
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.feature-highlight-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f4f6fb;
  margin-bottom: 14px;
}
.feature-highlight-card .feature-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c84033;
}
.specifications__block .link-text {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.footer__contact-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 100%;
}
.footer__contact-card h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
}
.footer__contact-card p,
.footer__contact-card a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}
.footer__contact-card a {
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  .footer__contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mobile-menu {
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .mobile-menu:not(.siteBar) {
    pointer-events: none;
  }

  .offcanvas {
    z-index: 10060 !important;
  }

  .offcanvas-backdrop {
    z-index: 10055 !important;
    background: rgba(7, 15, 35, 0.35) !important;
  }
}

/* =========================================
   Mobile menu UX refinement
   ========================================= */
@media (max-width: 767.98px) {
  .header-mobile-toggle .bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-mobile-toggle .siteBar-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    text-decoration: none;
  }

  .header-mobile-toggle .siteBar-btn span,
  .header-mobile-toggle .siteBar-btn span::before,
  .header-mobile-toggle .siteBar-btn span::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 2px;
    background: #ffffff !important;
    border-radius: 999px;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      top 0.25s ease;
  }

  .header-mobile-toggle .siteBar-btn span {
    top: 50%;
    transform: translateY(-50%);
  }

  .header-mobile-toggle .siteBar-btn span::before {
    top: -8px;
  }

  .header-mobile-toggle .siteBar-btn span::after {
    top: 8px;
  }

  .header-mobile-toggle .siteBar-btn.is-active span {
    background: transparent !important;
  }

  .header-mobile-toggle .siteBar-btn.is-active span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header-mobile-toggle .siteBar-btn.is-active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-menu {
    width: 360px;
    max-width: calc(100vw - 28px);
    background: #f5f5f5;
    z-index: 10050 !important;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-18px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .mobile-menu.siteBar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-menu__inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 24px 20px;
    background: linear-gradient(
      180deg,
      rgba(7, 15, 35, 0.96) 0%,
      rgba(17, 28, 56, 0.94) 100%
    );
  }

  .mobile-menu__brand img {
    display: block;
    width: auto;
    max-width: 110px;
    max-height: 54px;
  }

  .mobile-menu__close {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
  }

  .mobile-menu__close span,
  .mobile-menu__close span::before,
  .mobile-menu__close span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
  }

  .mobile-menu__close span {
    background: transparent;
  }

  .mobile-menu__close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu__nav {
    padding: 26px 26px 20px;
  }

  .mobile-menu__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu__nav ul li + li {
    margin-top: 22px;
  }

  .mobile-menu__nav ul li a {
    display: block;
    color: #2a2f3a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-menu__cta {
    margin-top: auto;
    padding: 24px 26px 32px;
  }

  .mobile-menu .theme_btn {
    width: 100%;
    justify-content: center;
  }

  .offcanvas {
    z-index: 10060 !important;
  }

  .offcanvas-backdrop {
    z-index: 10055 !important;
    background: rgba(7, 15, 35, 0.28) !important;
    opacity: 1 !important;
  }

  .mobile-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 12px;
  }

  .mobile-submenu-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #2a2f3a;
    font-size: 15px;
    font-weight: 600;
  }

  .offcanvas .offcanvas-body p {
    margin-bottom: 24px;
    color: #1f2430;
    font-size: 18px;
    font-weight: 600;
  }

  .offcanvas .offcanvas-body ul {
    margin: 0;
    padding-left: 20px !important;
    list-style: none;
  }

  .offcanvas .offcanvas-body ul li + li {
    margin-top: 20px;
  }

  .offcanvas .offcanvas-body ul li a {
    color: #2a2f3a;
    font-size: 17px;
    text-decoration: none;
  }
}

/* =========================================
   Mobile menu bugfix pass
   ========================================= */
@media (max-width: 767.98px) {
  .header-mobile-toggle .bar__icon a.siteBar-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn span,
  .header-mobile-toggle .bar__icon a.siteBar-btn span::before,
  .header-mobile-toggle .bar__icon a.siteBar-btn span::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 28px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      top 0.25s ease !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn span {
    display: block !important;
    transform: translate(-50%, -50%) !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn span::before {
    transform: translate(-50%, calc(-50% - 8px)) !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn span::after {
    transform: translate(-50%, calc(-50% + 8px)) !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn.is-active span {
    background: transparent !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn.is-active span::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .header-mobile-toggle .bar__icon a.siteBar-btn.is-active span::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    width: 360px !important;
    max-width: calc(100vw - 28px) !important;
    background: #f5f5f5 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-100%) !important;
    transition:
      transform 0.28s ease,
      opacity 0.25s ease,
      visibility 0.25s ease !important;
    z-index: 10050 !important;
    overflow-y: auto !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16) !important;
  }

  .mobile-menu.siteBar {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    padding: 0 !important;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  html:not(.mobile-menu-open),
  body:not(.mobile-menu-open) {
    overflow-y: auto;
  }
}

/* Curator Live X Feed  */

.footer-xfeed--curator {
  background: #f4f4f4;
  padding-top: 72px;
  padding-bottom: 92px !important;
  overflow: hidden;
}

.footer-xfeed--curator .container {
  max-width: 1220px;
}

.footer-xfeed__wrap--curator {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.footer-xfeed__content--center {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.footer-xfeed__label {
  display: inline-block;
  margin-bottom: 10px;
  color: #c84033;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-xfeed__title {
  margin: 0 0 16px;
  color: #000000;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.footer-xfeed__text {
  max-width: 520px;
  margin: 0 auto;
  color: #111827;
  font-size: 18px;
  line-height: 1.5;
}

.xfeed-actions--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.footer-xfeed--curator .x-feed-profile,
.footer-xfeed--curator .texit-xfeed-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 62px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.footer-xfeed--curator .x-feed-profile {
  justify-content: space-between;
  padding-left: 36px;
  border: 1px solid #d54736;
  background: transparent;
  color: #c84033 !important;
  margin-right: 20px;
}

.footer-xfeed--curator .x-feed-profile p {
  margin: 0;
  color: inherit;
}

.footer-xfeed--curator .x-feed-profile span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 60px;
  margin-left: 28px;
  background: rgba(213, 71, 54, 0.12);
  border-left: 1px solid rgba(213, 71, 54, 0.22);
}

.footer-xfeed--curator .texit-xfeed-follow-btn {
  background: #000000;
  color: #ffffff !important;
  border: 1px solid #000000;
}

.footer-xfeed__feed--curator {
  width: 100%;
  min-height: 1px;
  opacity: 1 !important;
  visibility: visible !important;
}

#curator-feed-default-feed-layout.texit-curator-feed {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  min-height: 1px !important;
  overflow: visible !important;
}

#curator-feed-default-feed-layout.texit-curator-feed,
#curator-feed-default-feed-layout.texit-curator-feed * {
  box-sizing: border-box !important;
}

#curator-feed-default-feed-layout.texit-curator-feed > .crt-logo,
#curator-feed-default-feed-layout.texit-curator-feed .crt-logo.crt-tag,
#curator-feed-default-feed-layout.texit-curator-feed .crt-load-more,
#curator-feed-default-feed-layout.texit-curator-feed .crt-load-more-container,
#curator-feed-default-feed-layout.texit-curator-feed .texit-curator-hide,
#curator-feed-default-feed-layout.texit-curator-feed [class*="load-more"],
#curator-feed-default-feed-layout.texit-curator-feed [class*="loadmore"] {
  display: none !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-feed,
#curator-feed-default-feed-layout.texit-curator-feed .crt-feed-window,
#curator-feed-default-feed-layout.texit-curator-feed .crt-feed-container,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-container,
#curator-feed-default-feed-layout.texit-curator-feed .crt-posts,
#curator-feed-default-feed-layout.texit-curator-feed .crt-grid,
#curator-feed-default-feed-layout.texit-curator-feed .crt-list,
#curator-feed-default-feed-layout.texit-curator-feed .texit-curator-grid {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-posts,
#curator-feed-default-feed-layout.texit-curator-feed .crt-grid,
#curator-feed-default-feed-layout.texit-curator-feed .crt-list,
#curator-feed-default-feed-layout.texit-curator-feed .texit-curator-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-post,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-c,
#curator-feed-default-feed-layout.texit-curator-feed .crt-feed-post,
#curator-feed-default-feed-layout.texit-curator-feed .crt-grid-post,
#curator-feed-default-feed-layout.texit-curator-feed .crt-item,
#curator-feed-default-feed-layout.texit-curator-feed [data-post-id],
#curator-feed-default-feed-layout.texit-curator-feed [data-crt-post] {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 470px !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-post:hover,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-c:hover,
#curator-feed-default-feed-layout.texit-curator-feed .crt-feed-post:hover,
#curator-feed-default-feed-layout.texit-curator-feed .crt-grid-post:hover,
#curator-feed-default-feed-layout.texit-curator-feed .crt-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(200, 64, 51, 0.22) !important;
}

#curator-feed-default-feed-layout.texit-curator-feed
  .crt-post:nth-of-type(n + 4),
#curator-feed-default-feed-layout.texit-curator-feed
  .crt-post-c:nth-of-type(n + 4),
#curator-feed-default-feed-layout.texit-curator-feed
  .crt-feed-post:nth-of-type(n + 4),
#curator-feed-default-feed-layout.texit-curator-feed
  .crt-grid-post:nth-of-type(n + 4),
#curator-feed-default-feed-layout.texit-curator-feed
  .crt-item:nth-of-type(n + 4),
#curator-feed-default-feed-layout.texit-curator-feed .texit-curator-extra {
  display: none !important;
}

#curator-feed-default-feed-layout.texit-curator-feed a {
  color: #0477d8 !important;
  text-decoration: none !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-post-text,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-content,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-content-text,
#curator-feed-default-feed-layout.texit-curator-feed .crt-text,
#curator-feed-default-feed-layout.texit-curator-feed .texit-xfeed-clamp,
#curator-feed-default-feed-layout.texit-curator-feed p {
  color: #122033 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-post-text,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-content-text,
#curator-feed-default-feed-layout.texit-curator-feed .crt-text,
#curator-feed-default-feed-layout.texit-curator-feed .texit-xfeed-clamp {
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 124px !important;
}

#curator-feed-default-feed-layout.texit-curator-feed img,
#curator-feed-default-feed-layout.texit-curator-feed video,
#curator-feed-default-feed-layout.texit-curator-feed iframe {
  max-width: 100% !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-image,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-image,
#curator-feed-default-feed-layout.texit-curator-feed .crt-media,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-media,
#curator-feed-default-feed-layout.texit-curator-feed [class*="image"],
#curator-feed-default-feed-layout.texit-curator-feed [class*="media"] {
  width: 100% !important;
  max-width: 100% !important;
}

#curator-feed-default-feed-layout.texit-curator-feed .crt-image img,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-image img,
#curator-feed-default-feed-layout.texit-curator-feed .crt-media img,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-media img,
#curator-feed-default-feed-layout.texit-curator-feed .crt-media video,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-media video,
#curator-feed-default-feed-layout.texit-curator-feed .crt-media iframe,
#curator-feed-default-feed-layout.texit-curator-feed .crt-post-media iframe {
  display: block !important;
  width: 100% !important;
  height: 205px !important;
  margin-top: auto !important;
  border: 0 !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  overflow: hidden !important;
}

@media (max-width: 991.98px) {
  #curator-feed-default-feed-layout.texit-curator-feed .crt-posts,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-grid,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-list,
  #curator-feed-default-feed-layout.texit-curator-feed .texit-curator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  .footer-xfeed--curator {
    padding-top: 54px;
    padding-bottom: 64px !important;
  }

  .footer-xfeed__content--center {
    margin-bottom: 34px;
  }

  .xfeed-actions--center {
    flex-direction: column;
    gap: 12px;
  }

  .footer-xfeed--curator .x-feed-profile,
  .footer-xfeed--curator .texit-xfeed-follow-btn {
    width: 100%;
    max-width: 310px;
  }

  #curator-feed-default-feed-layout.texit-curator-feed .crt-posts,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-grid,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-list,
  #curator-feed-default-feed-layout.texit-curator-feed .texit-curator-grid {
    grid-template-columns: 1fr !important;
  }

  #curator-feed-default-feed-layout.texit-curator-feed .crt-post,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-post-c,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-feed-post,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-grid-post,
  #curator-feed-default-feed-layout.texit-curator-feed .crt-item,
  #curator-feed-default-feed-layout.texit-curator-feed [data-post-id],
  #curator-feed-default-feed-layout.texit-curator-feed [data-crt-post] {
    min-height: 430px !important;
    padding: 22px !important;
  }
}

/* =========================================
   TEXITcoin Live Curator X Feed - final fix
   Keeps Curator as the real data source, then renders a native 3-card UI.
   ========================================= */
.footer-xfeed--curator {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px !important;
  overflow: hidden;
  background: #f4f4f4;
}

.footer-xfeed--curator .container {
  max-width: 1280px;
}

.footer-xfeed__wrap--curator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.footer-xfeed__content--center {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.footer-xfeed__label {
  display: inline-block;
  margin-bottom: 10px;
  color: #c84033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-xfeed__title {
  margin: 0 0 18px;
  color: #000;
  font-family: var(--fontBebasPro), "Bebas Neue", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  font-weight: 700;
}

.footer-xfeed__text {
  max-width: 560px;
  margin: 0 auto;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.55;
}

.xfeed-actions--center {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.footer-xfeed--curator .x-feed-profile,
.footer-xfeed--curator .texit-xfeed-follow-btn {
  min-height: 62px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.footer-xfeed--curator .x-feed-profile {
  padding-left: 42px;
}

.footer-xfeed--curator .x-feed-profile p {
  margin: 0;
}

.footer-xfeed--curator .x-feed-profile span {
  height: 60px;
  margin-left: 38px;
}

.footer-xfeed--curator .texit-xfeed-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 245px;
  padding: 0 34px;
  background: #000;
  color: #fff !important;
}

.footer-xfeed__feed--curator {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.texit-xfeed-live-grid,
#texit-xfeed-rendered {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.texit-xfeed-skeleton {
  min-height: 430px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: linear-gradient(90deg, #fff 0%, #f8f8f8 45%, #fff 90%);
  background-size: 220% 100%;
  animation: texitXfeedPulse 1.35s ease-in-out infinite;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
}

@keyframes texitXfeedPulse {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}

.texit-xfeed-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.texit-xfeed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 64, 51, 0.24);
  box-shadow: 0 24px 56px rgba(11, 24, 58, 0.1);
}

.texit-xfeed-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.texit-xfeed-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.texit-xfeed-card__avatar {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  flex: 0 0 48px;
}

.texit-xfeed-card__meta {
  min-width: 0;
}

.texit-xfeed-card__name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0a1c3d;
  font-size: 17px;
  line-height: 1.2;
}

.texit-xfeed-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d4af37;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.texit-xfeed-card__meta span {
  display: block;
  margin-top: 3px;
  color: #607089;
  font-size: 14px;
  line-height: 1.35;
}

.texit-xfeed-card__text {
  margin: 0 0 16px;
  color: #10213d;
  font-size: 17px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.texit-xfeed-card__link {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  margin-bottom: 22px;
  color: #0878d8 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.texit-xfeed-card__link:hover {
  color: #c84033 !important;
}

.texit-xfeed-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #edf2f8;
  text-decoration: none;
}

.texit-xfeed-card__media img,
.texit-xfeed-card__media video,
.texit-xfeed-card__media iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 12px !important;
}

.texit-xfeed-card__media--empty span {
  color: #c84033;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.texit-xfeed-fallback {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 24px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
}

.texit-xfeed-fallback strong {
  color: #0a1c3d;
  font-size: 20px;
}

.texit-xfeed-fallback span {
  color: #607089;
  font-size: 15px;
}

.texit-xfeed-fallback a {
  color: #c84033;
  font-weight: 800;
  text-decoration: underline;
}

/* Keep Curator's real feed in the DOM as the data source, but prevent its
   default embed layout from breaking the page. */
#curator-feed-default-feed-layout.texit-curator-source {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#curator-feed-default-feed-layout .crt-logo,
#curator-feed-default-feed-layout .crt-tag,
#curator-feed-default-feed-layout .crt-load-more,
#curator-feed-default-feed-layout .crt-load-more-container,
#curator-feed-default-feed-layout .texit-curator-hide,
#curator-feed-default-feed-layout [class*="load-more"],
#curator-feed-default-feed-layout [class*="loadmore"] {
  display: none !important;
}

@media (max-width: 991.98px) {
  .texit-xfeed-live-grid,
  #texit-xfeed-rendered {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-xfeed--curator {
    padding-top: 56px;
    padding-bottom: 56px !important;
  }

  .footer-xfeed__feed--curator {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .xfeed-actions--center {
    flex-direction: column;
    align-items: center;
  }

  .footer-xfeed--curator .x-feed-profile,
  .footer-xfeed--curator .texit-xfeed-follow-btn {
    width: min(100%, 320px);
  }

  .footer-xfeed--curator .x-feed-profile {
    justify-content: center;
    padding-left: 22px;
  }

  .footer-xfeed--curator .x-feed-profile span {
    margin-left: 24px;
  }

  .texit-xfeed-card {
    min-height: 410px;
    padding: 18px;
  }

  .texit-xfeed-card__media {
    height: 170px;
  }
}

/* =========================================
   Curator.io Live X Feed - stable native 3-card renderer
   ========================================= */
.footer-xfeed--curator {
  position: relative;
  padding-top: 72px;
  padding-bottom: 92px !important;
  overflow: hidden;
  background: #f4f4f4;
}
.footer-xfeed--curator .container {
  max-width: 1280px;
}
.footer-xfeed__wrap--curator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}
.footer-xfeed__content--center {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.footer-xfeed__feed--curator {
  position: relative;
  width: 100%;
  min-height: 430px;
}
.texit-xfeed-live-grid,
#texit-xfeed-rendered {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.texit-xfeed-skeleton {
  min-height: 430px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: linear-gradient(90deg, #ffffff 0%, #f4f6f9 45%, #ffffff 90%);
  background-size: 220% 100%;
  animation: texitXfeedPulse 1.35s ease-in-out infinite;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
}
@keyframes texitXfeedPulse {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}
.texit-xfeed-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.texit-xfeed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 64, 51, 0.24);
  box-shadow: 0 24px 56px rgba(11, 24, 58, 0.1);
}
.texit-xfeed-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.texit-xfeed-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.texit-xfeed-card__avatar {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px;
  object-fit: contain !important;
}
.texit-xfeed-card__name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0a1c3d;
  font-size: 17px;
  line-height: 1.2;
}
.texit-xfeed-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d4af37;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.texit-xfeed-card__meta span {
  display: block;
  margin-top: 3px;
  color: #607089;
  font-size: 14px;
  line-height: 1.35;
}
.texit-xfeed-card__text {
  margin: 0 0 16px;
  color: #10213d;
  font-size: 17px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.texit-xfeed-card__link {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  margin-bottom: 22px;
  color: #0878d8 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.texit-xfeed-card__link:hover {
  color: #c84033 !important;
}
.texit-xfeed-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #edf2f8;
  text-decoration: none;
}
.texit-xfeed-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 12px !important;
}
.texit-xfeed-card__media--empty span {
  color: #c84033;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.texit-xfeed-fallback {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 24px;
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06);
}
.texit-xfeed-fallback strong {
  color: #0a1c3d;
  font-size: 20px;
}
.texit-xfeed-fallback span {
  color: #607089;
  font-size: 15px;
}
.texit-xfeed-fallback a {
  color: #c84033;
  font-weight: 800;
  text-decoration: underline;
}
#curator-feed-default-feed-layout.texit-curator-source {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#curator-feed-default-feed-layout .crt-logo,
#curator-feed-default-feed-layout .crt-tag,
#curator-feed-default-feed-layout .crt-load-more,
#curator-feed-default-feed-layout .crt-load-more-container,
#curator-feed-default-feed-layout [class*="load-more"],
#curator-feed-default-feed-layout [class*="loadmore"] {
  display: none !important;
}
@media (max-width: 991.98px) {
  .texit-xfeed-live-grid,
  #texit-xfeed-rendered {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .footer-xfeed--curator {
    padding-top: 56px;
    padding-bottom: 56px !important;
  }
  .footer-xfeed__feed--curator {
    min-height: 0;
  }
}
@media (max-width: 575.98px) {
  .xfeed-actions--center {
    flex-direction: column;
    align-items: center;
  }
  .footer-xfeed--curator .x-feed-profile,
  .footer-xfeed--curator .texit-xfeed-follow-btn {
    width: min(100%, 320px);
  }
  .footer-xfeed--curator .x-feed-profile {
    justify-content: center;
    padding-left: 22px;
  }
  .footer-xfeed--curator .x-feed-profile span {
    margin-left: 24px;
  }
  .texit-xfeed-card {
    min-height: 410px;
    padding: 18px;
  }
  .texit-xfeed-card__media {
    height: 170px;
  }
}

/* =========================================
   Curator X Feed - final layout override
   Forces the custom rendered feed into the correct 3-card layout and keeps
   Curator's original embed hidden as a data source only.
   ========================================= */
.footer-xfeed--curator {
  background: #f4f4f4 !important;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.footer-xfeed--curator .container,
.footer-xfeed__wrap--curator,
.footer-xfeed__feed--curator,
#texit-xfeed-rendered.texit-xfeed-live-grid {
  width: 100% !important;
  max-width: 100% !important;
}

.footer-xfeed--curator .container {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.footer-xfeed__wrap--curator {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 42px !important;
}

.footer-xfeed__content--center {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.footer-xfeed__feed--curator {
  position: relative !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#texit-xfeed-rendered.texit-xfeed-live-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

#texit-xfeed-rendered .texit-xfeed-card,
#texit-xfeed-rendered .texit-xfeed-skeleton {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 470px !important;
  height: 100% !important;
}

#texit-xfeed-rendered .texit-xfeed-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
  border: 1px solid rgba(10, 28, 61, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06) !important;
  overflow: hidden !important;
}

#texit-xfeed-rendered .texit-xfeed-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

#texit-xfeed-rendered .texit-xfeed-card__top {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__avatar {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  object-fit: contain !important;
}

#texit-xfeed-rendered .texit-xfeed-card__text {
  margin: 0 0 16px !important;
  color: #10213d !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#texit-xfeed-rendered .texit-xfeed-card__link {
  margin-top: auto !important;
  margin-bottom: 22px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 220px !important;
  margin-top: auto !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #edf2f8 !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media img,
#texit-xfeed-rendered .texit-xfeed-card__media video,
#texit-xfeed-rendered .texit-xfeed-card__media iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 12px !important;
}

#curator-feed-default-feed-layout.texit-curator-source {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 991.98px) {
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    grid-template-columns: 1fr !important;
    max-width: 560px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

@media (max-width: 575.98px) {
  .footer-xfeed--curator {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .footer-xfeed--curator .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card,
  #texit-xfeed-rendered .texit-xfeed-skeleton {
    min-height: 420px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card {
    padding: 18px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card__media {
    height: 175px !important;
  }
}

/* =========================================
   Curator X Feed - corrected final override
   Keeps Curator wide enough to load real media, then renders 3 native cards.
   ========================================= */
.footer-xfeed--curator {
  background: #f4f4f4 !important;
  padding-top: 96px !important;
  padding-bottom: 96px !important;
  overflow: hidden !important;
}

.footer-xfeed--curator .container {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.footer-xfeed__wrap--curator,
.footer-xfeed__feed--curator {
  width: 100% !important;
  max-width: 100% !important;
}

.footer-xfeed__wrap--curator {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 42px !important;
}

.footer-xfeed__content--center {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.footer-xfeed__feed--curator {
  position: relative !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#texit-xfeed-rendered.texit-xfeed-live-grid {
  display: grid !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

#texit-xfeed-rendered .texit-xfeed-card,
#texit-xfeed-rendered .texit-xfeed-skeleton {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 470px !important;
  height: 100% !important;
}

#texit-xfeed-rendered .texit-xfeed-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
  border: 1px solid rgba(10, 28, 61, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 40px rgba(11, 24, 58, 0.06) !important;
  overflow: hidden !important;
}

#texit-xfeed-rendered .texit-xfeed-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

#texit-xfeed-rendered .texit-xfeed-card__top {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__avatar {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  object-fit: contain !important;
}

#texit-xfeed-rendered .texit-xfeed-card__text {
  margin: 0 0 16px !important;
  color: #10213d !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#texit-xfeed-rendered .texit-xfeed-card__link {
  display: inline-flex !important;
  width: max-content !important;
  margin-top: auto !important;
  margin-bottom: 22px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 220px !important;
  margin-top: auto !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #edf2f8 !important;
  text-decoration: none !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media img,
#texit-xfeed-rendered .texit-xfeed-card__media video,
#texit-xfeed-rendered .texit-xfeed-card__media iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 12px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media--empty span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #c84033 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

/* Important: do not shrink Curator to 1px. Some Curator/X media is lazy-loaded
   based on layout width, so this source stays offscreen but full-width. */
#curator-feed-default-feed-layout.texit-curator-source {
  position: absolute !important;
  left: -99999px !important;
  top: 0 !important;
  display: block !important;
  width: 1280px !important;
  max-width: 1280px !important;
  height: auto !important;
  max-height: none !important;
  min-height: 600px !important;
  overflow: visible !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 1199.98px) {
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    gap: 22px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card,
  #texit-xfeed-rendered .texit-xfeed-skeleton {
    min-height: 450px !important;
  }
}

@media (max-width: 991.98px) {
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    grid-template-columns: 1fr !important;
    max-width: 560px !important;
  }
}

@media (max-width: 575.98px) {
  .footer-xfeed--curator {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .footer-xfeed--curator .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card,
  #texit-xfeed-rendered .texit-xfeed-skeleton {
    min-height: 420px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card {
    padding: 18px !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card__media {
    height: 175px !important;
  }
}

/* =========================================================
   X FEED — WIDTH FIX USING THE REAL RENDERED CLASSES
   The custom live renderer uses .texit-xfeed-* classes, not .x-feed-card.
   ========================================================= */
.footer-xfeed--curator .container {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.footer-xfeed__wrap--curator,
.footer-xfeed__feed--curator {
  width: 100% !important;
  max-width: 1280px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#texit-xfeed-rendered.texit-xfeed-live-grid {
  display: grid !important;
  width: 100% !important;
  max-width: 1280px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

#texit-xfeed-rendered .texit-xfeed-card,
#texit-xfeed-rendered .texit-xfeed-skeleton {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

#texit-xfeed-rendered .texit-xfeed-card {
  min-height: 470px !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media {
  width: 100% !important;
  height: 220px !important;
}

@media (max-width: 991.98px) {
  .footer-xfeed__feed--curator,
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    max-width: 560px !important;
  }

  #texit-xfeed-rendered.texit-xfeed-live-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-xfeed--curator .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* =========================================================
   X FEED — TRUE WIDTH FIX (FINAL)
   The rendered Curator cards were narrow because the live grid kept inheriting
   a constrained layout. This switches the visible renderer to a viewport-based
   flex row and gives each of the 3 cards a real equal width.
   ========================================================= */
.footer-xfeed--curator {
  overflow: hidden !important;
}

.footer-xfeed--curator .container {
  width: 100% !important;
  max-width: none !important;
}

.footer-xfeed__wrap--curator {
  width: 100% !important;
  max-width: none !important;
  align-items: center !important;
}

.footer-xfeed__feed--curator {
  width: min(1280px, calc(100vw - 64px)) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

#texit-xfeed-rendered.texit-xfeed-live-grid {
  display: flex !important;
  width: min(1280px, calc(100vw - 64px)) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
}

#texit-xfeed-rendered .texit-xfeed-card,
#texit-xfeed-rendered .texit-xfeed-skeleton {
  width: calc((100% - 56px) / 3) !important;
  min-width: 0 !important;
  max-width: calc((100% - 56px) / 3) !important;
  flex: 0 0 calc((100% - 56px) / 3) !important;
  box-sizing: border-box !important;
}

#texit-xfeed-rendered .texit-xfeed-card__top,
#texit-xfeed-rendered .texit-xfeed-card__body,
#texit-xfeed-rendered .texit-xfeed-card__meta,
#texit-xfeed-rendered .texit-xfeed-card__text,
#texit-xfeed-rendered .texit-xfeed-card__media {
  min-width: 0 !important;
}

#texit-xfeed-rendered .texit-xfeed-card__media {
  width: 100% !important;
  height: 220px !important;
}

@media (max-width: 991.98px) {
  .footer-xfeed__feed--curator,
  #texit-xfeed-rendered.texit-xfeed-live-grid {
    width: min(560px, calc(100vw - 36px)) !important;
  }

  #texit-xfeed-rendered.texit-xfeed-live-grid {
    flex-wrap: wrap !important;
  }

  #texit-xfeed-rendered .texit-xfeed-card,
  #texit-xfeed-rendered .texit-xfeed-skeleton {
    width: 100% !important;
    max-width: 560px !important;
    flex: 1 1 100% !important;
  }
}
