/* =========================
   Grid Layout & Cards (New)
========================= */
/* Card Containers */
.card {
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 30px;
  max-width: 950px;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.card-light-blue {
  background-color: #E7F0F9;
}

.card-light-green {
  background-color: #f3f5eb;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 28px;
}

/* Individual Items */
.grid-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

/* Icon Containers */
.icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}

.icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text Styling */
.text {
  color: #2db92d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

/* Divider */
.divider {
  height: 2px;
  background-color: #d6e0ec;
  margin: 40px 0;
  width: 100%;
}

.empty-cell {
  display: block;
}

/* =========================
   Text Section
========================= */
ul.no-inherit {
    all: unset;
}

li.no-inherit {
    all: unset;
}

/* =========================
   Banner Section
========================= */
section.banner {
    padding-top: 112px;
}

section.banner .content {
    position: relative;
    min-height: 378px;
    max-width: 600px;
    padding: 59px 28px 50px 67px;
    align-items: flex-start;
    flex-direction: column;
}

section.banner .content h1,
section.banner .content p {
    text-align: left;
}

section.banner .content::before {
    content: "";
    width: 100vh;
    max-width: 800px;
    inset: 0;
    height: 100%;
    display: block;
    position: absolute;
}

section.banner h1 {
    font-size: 66px;
    margin-bottom: 32px;
}

section.banner h2 {
    font-size: 32px;
    margin-bottom: 36px;
}

section.banner p {
    max-width: 588px;
}

section.banner ul {
    margin: 24px 0 40px;
}

section.banner ul::-webkit-scrollbar {
    display: none;
}

section.banner .image {
    display: flex;
    align-content: center;
    justify-content: center;
}

/* =========================
   Global Buttons
========================= */
section a.green_btn {
    font-size: 20px;
}

.green_btn {
    padding: 18px 32px;
    color: #fff;
    text-align: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    border-radius: 8px;
    background: var(--primary-green-green-500, #39b402);
    width: fit-content;
    display: block;
    border: none;
    text-decoration: none;
}

/* =========================
  fees template 
========================= */
section.legal-section,
section.easy_and_secured {
    padding: 25px;
}

section.legal-section h2 {
    margin-bottom: 32px;
}

section.legal-section li {
    margin-left: 15px;
}

/* =========================
   Media Queries
========================= */
@media {
    p.hidden {
        display: none;
    }
}

@media (max-width: 1366px) {
    section.trade_better .image img {
        right: -54px;
    }

    p.hidden {
        display: none;
    }
}

@media (max-width: 1200px) {
    section.banner .content::before {
        max-width: 551px;
    }

    section.banner,
    section.trade_better {
        padding-bottom: 0;
    }

    section.trade_better .row.align-items-end .content::before {
        height: 100%;
    }

    section.trade_better .image {
        overflow: hidden;
    }

    section.banner h1 {
        font-size: 40px;
    }

    p.hidden {
        display: unset;
    }
}

@media (max-width: 991px) {
    section.banner .content::before {
        max-width: 100%;
    }

    section.trade_better .row.align-items-end .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
        max-width: 100%;
    }

    section.trade_better .row.align-items-end .content * {
        text-align: center;
    }

    section.trade_better .row.align-items-end .content::before {
        inset: 0;
        height: 100%;
        width: calc(100% - 24px);
        margin: 0 auto;
    }

    section.trade_better .image img {
        right: -78px;
        width: 100%;
    }

    section.banner .content,
    section.banner .calculator {
        max-width: 100%;
    }

    p.hidden {
        display: unset;
    }
}

@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .empty-cell {
        display: none;
    }

    section.sign_up_for_pdax .wpcf7-list-item {
        padding: 12px;
    }

    p.hidden {
        display: unset;
    }
}

@media (max-width: 400px) {
    section.sign_up_for_pdax span.wpcf7-form-control.wpcf7-radio>span label {
        justify-content: start;
    }

    p.hidden {
        display: unset;
    }
}