/** Shopify CDN: Minification failed

Line 110:9 Expected identifier but found whitespace
Line 110:11 Unexpected "{"
Line 110:20 Expected ":"
Line 110:47 Expected ":"
Line 208:9 Expected identifier but found whitespace
Line 208:11 Unexpected "{"
Line 208:20 Expected ":"
Line 208:47 Expected ":"

**/


/* CSS from section stylesheet tags */
.custom-trade-program {
  padding: 60px 0;
}

.trade-program__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap; /* keep side by side */
}

/* 40/60 ratio */
.trade-program__content {
  flex: 0 0 40%;
  max-width: 40%;
}

.trade-program__image {
  flex: 0 0 60%;
  max-width: 60%;
}

.trade-program__content h2 {
  font-size: 6.4rem;
  margin-bottom: 15px;
  color: #ffc72c;
  margin-top: unset;
}

.trade-program__content .subheading {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.6;
}

/* Full width button */
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  margin-bottom: 10px;
}

.btn-primary {
  background: #ffc72c;
  color: Black;
  border-radius: 5px;
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}

.login-text {
  font-size: 1.6rem;
  margin-bottom: 25px;
  text-align: center; /* center under button */
}


.login-text a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

/* Features: horizontal row, each block stacked vertically */
.trade-program__features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.trade-program__feature {
  text-align: center;
  flex: 1 1 150px;
  max-width: 200px;
}

.trade-program__feature h4 {
  font-size: 1rem;
  margin: 8px 0 5px;
}

.trade-program__feature p {
  font-size: 1.8rem;
  color: #666;
}

/* Portrait image with adjustable height */
.trade-program__image img {
  width: 100%;
  height: {{ section.settings.image_height }}px;
  object-fit: cover;
  border-radius: 10px;
}
/* Responsive layout */
@media (max-width: 991px) {
  .trade-program__row {
    flex-wrap: wrap;
    flex-direction: column; /* stack text and image */
    gap: 20px;
  }

  .trade-program__content,
  .trade-program__image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .trade-program__content h2 {
    font-size: 3.2rem; /* smaller heading on mobile */
    text-align: center;
  }

  .trade-program__content .subheading {
    font-size: 1.6rem;
    text-align: center;
  }

  .btn-full {
    font-size: 14px;
    padding: 12px;
  }

  .login-text {
    font-size: 1.4rem;
  }

  .trade-program__features {
    justify-content: center;
    gap: 20px;
  }

  .trade-program__feature {
    flex: 1 1 45%; /* two per row on mobile */
    max-width: 45%;
  }

  .trade-program__feature h4 {
    font-size: 0.9rem;
  }

  .trade-program__feature p {
    font-size: 1.4rem;
  }
}

/* Features container */
.trade-program__features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
  justify-content: center; /* center horizontally */
}

/* Default feature block */
.trade-program__feature {
  text-align: center;
  flex: 1 1 150px;
  max-width: 200px;
}

/* On tablets & mobile (keep horizontal row) */
@media (max-width: 991px) {
  .trade-program__features {
    flex-wrap: nowrap;       /* don't stack */
    overflow-x: auto;        /* allow horizontal scroll if needed */
    -webkit-overflow-scrolling: touch;
    gap: 24px;
  }

  .trade-program__feature {
    flex: 0 0 auto;          /* keep natural size */
    max-width: 100px;
  }

  .trade-program__content h2 {
    font-size: 2.4rem;
  }
}
@media (max-width: 991px) {
  .trade-program__image {
    order: -1; /* move image above text */
  }
}
/* Default desktop */
.trade-program__image img {
  width: 100%;
  height: {{ section.settings.image_height }}px;
  object-fit: cover;
  border-radius: 10px;
}

/* Mobile override: force landscape */
@media (max-width: 991px) {
  .trade-program__image img {
    height: auto !important;   /* overrides inline height */
    aspect-ratio: 16 / 9;      /* landscape ratio */
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;          /* reduce top spacing */
  
  }
}
@media (max-width: 991px){
.custom-trade-program {
  padding: 15px 0;
}
}