.custom-page .page-title,
.main-page .page-title {
  margin-bottom: 20px;
  text-align: center;
}

@media screen and (min-width: 960px) {
  .custom-page .page-title,
  .main-page .page-title {
    margin-bottom: 30px;
  }
}

.custom-page .placeholder {
  display: inline-block;
  height: 335px;
  width: 100%;
  background-color: rgba(var(--color-text), 0.05);
}

@media screen and (min-width: 960px) {
  .custom-page .placeholder {
    width: 100%;
    height: 525px;
  }
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */


.main-page .page-title {
    font-size: 70px;
    line-height: 1.272;
    margin-bottom: 62px;
    font-family: 'ANTA Sharp Grotesk Bold';
    text-transform: capitalize;
}
.main-page.page-width.page-width--narrow {
    max-width: 1580px;
}
.main-page .rte .custom-page-upper-text *,
.main-page .rte .custom-page-upper-text p{
    color: #000;
}

.main-page .rte h3,
.main-page .rte h3 * {
    font-family: 'ANTA Sharp Grotesk Bold';
    font-size: 36px !important;
    line-height: 1.28;
    color: #020202;
    font-weight: 600;
}
.main-page .rte p,
.main-page .rte p *,
.main-page .custom-page-rte a {
    font-size: 20px !important;
    line-height: 1.3;
    color: #222222;
    display: block;
    font-family: 'ANTA Sharp Grotesk Medium';
}
.main-page .custom-page-rte ul li,
.main-page .custom-page-rte ul li *,
.main-page .custom-page-rte table td,
.main-page .custom-page-rte span{
    font-size: 20px !important;
    line-height: 1.3;
    color: #222222;
    font-family: 'ANTA Sharp Grotesk Medium';
}
.main-page .custom-page-rte ul li{
    margin-bottom: 20px;
}
.main-page .custom-page-rte ul li:last-child {
    margin-bottom: 0;
}
.main-page .rte a {
    text-decoration: none;
}
.custom-page-upper-text {
    margin-bottom: 70px;
}
.custom-page-rte h3 {
    margin: 60px 0 20px 0;
}
.custom-page-rte table {
    display: table;
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    border: 1px solid #222222;
    text-align: center;
}
.custom-page-rte table td {
    border: 1px solid #222222;
    padding: 16px;
}
.custom-page-rte table td strong, 
.custom-page-rte li,
.custom-page-rte li *,
.custom-page-rte li strong  {
    font-family: 'ANTA Sharp Grotesk Bold';
}
.main-page .custom-page-rte p a {
    color: #D6000F;
    display: inline-flex;
    text-decoration: none;
}
.icon-with-text {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
}
.main-page .rte .icon-with-text p{
    margin: 0;
}
.main-page .custom-page-rte ul li strong {
    font-family: 'ANTA Sharp Grotesk Bold';
}
.main-page .rte h4 {
    font-size: 26px;
}
@media(max-width:749px){
    .main-page .rte .custom-page-rte h3:first-child+p,
    .main-page .rte h3+p span{
        line-height: 1.65;
    }
    .main-page .rte p {
        margin: 12px 0;
    }
    .main-page .page-title {
        font-size: 36px;
        line-height: 1.278;
        margin-bottom: 34px;
    }
    .main-page .rte h3,
    .main-page .rte h3 * {
        font-size: 22px !important;
        line-height: 1.32;
    }
    .main-page .rte p,
    .main-page .rte p *,
    .main-page .custom-page-rte a,
    .main-page .custom-page-rte ul li,
    .main-page .custom-page-rte ul li *,
    .main-page .custom-page-rte table td,
    .main-page .custom-page-rte span {
        font-size: 14px !important;
    }
    .custom-page-upper-text {
        margin-bottom: 36px;
    }
    .custom-page-rte h3 {
        margin: 36px 0 12px 0;
    }
    .main-page .custom-page-rte ul li {
        margin-bottom: 12px;
    }
    .main-page .custom-page-rte ul li:last-child {
        margin-bottom: 0;
    }
    .main-page ul {
        padding-left: 25px;
    }
    .custom-page-rte table td {
        padding: 12px;
    }
    .icon-with-text {
        grid-template-columns: 18px 1fr;
        gap: 8px;
        margin: 14px 0;
    }

}