 /* over-rides */

 .content-block-grid-wrap {
  /*  background-image: url("https://poled-staging.myteamltd.co.uk/uploads/content_block/image/39/content-bg-blue.png?1776976008"); */
    background-repeat: no-repeat;
    background-position: bottom;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

 .content-block-basic-image-wrap {
   /* background-image: url("https://poled-staging.myteamltd.co.uk/uploads/content_block/image/40/content-bg-green.png?1776982280"); */
    background-repeat: no-repeat;
    background-position: bottom;
    padding-top: 64px !important;
    padding-bottom: 64px !important; 
    background-color: #f5f9fc;;
}

.content-block-basic-embed-wrap{
       padding-top: 60px !important;
    padding-bottom: 60px !important;
}



.content-block-subjects-wrap {
     
    padding-bottom: 0px !important;
   
}


.content-block-basic-embed__styles {
  max-width: 90%;
}

/*
.listing-index-item__title {
    display: none !important;
}
    

.listing-index-item {
 // margin-bottom: 0px; removed to fix example contents layout
  padding-bottom: 0px;
}

*/

.listing-index-item__styles, .content-block-grid__styles, .content-block-basic-image__styles, .content-block-subjects__styles {
    font-weight: 400;
    color: #000;
    font-size: 18px;
    max-width: 100%;
}

.content-block-basic-embed__styles {
       margin-top: 0px !important;
    margin-bottom: 0px !important;
    font-size: 18px !important;
}


.treecontainer {
  display: flex;
  flex-direction: column;
  height: 300px; /* important */
}

.image-left, .image-right {
 border-radius: 12px;
}

.image-bottom{
   border-radius: 12px;
 margin-top: auto;
}

body {
    font-family: bree;
    font-weight: 400;
    color: #000;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: bree;
    font-weight: 700;
}


/* Subjects*/

.content-block-subjects-grid-item__inner {

padding: 0px;
border-top-left-radius: 200px;
border-top-right-radius: 200px;
}
  
.content-block-subjects-grid-item__image-wrap {
border-radius: 0px;
}

.content-block-subjects-grid-item__image {

}

.content-block-subjects-grid-item__styles {
padding-top: 24px;
padding-bottom: 24px;
}
            
/* testimonials*/

.content-block-testimonial-cards-grid-item {

}

.content-block-testimonial-cards-grid {

  margin-left: 0px;
  margin-right: 0px;

}

.content-block-testimonial-cards-grid-item__sidebar {
 max-width: 33%;
 flex-basis: 33%;
}
  
.content-block-testimonial-cards-grid-item__image  {
  border-radius: 50px; 
 padding-left: 24px;
 padding-top: 46px; 
 height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
 /*
 aspect-ratio: auto 1 !important;
 width: 150px;
 
 */
}




.content-block-testimonial-cards__content {
border-radius: 12px;
padding: 24px;
}






.content-block-testimonial-cards-grid-item__content {
}


.content-block-testimonial-cards-grid-item-content__inner {}

.content-block-testimonial-cards-grid-item-content__styles {

}

.content-block-testimonial-cards-grid-item-content__title {

}

.content-block-testimonial-cards-wrap--green .content-block-testimonial-cards-grid-item-content__microcopy {
color:#00ab84;
}

.content-block-testimonial-cards-wrap--green .content-block-testimonial-cards__content {
background-color: #00ab84;
}


.content-block-testimonial-cards-wrap--force-blue .content-block-testimonial-cards-grid-item-content__microcopy {
color:#007ddf;
}

.content-block-testimonial-cards-wrap--force-blue .content-block-testimonial-cards__content {
background-color: #007ddf;
}


/* ------ tiles ------- */

.listing-index-item__image img {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    margin-bottom: 36px;
}

.listing-index-item__faux-button-wrap {
    margin-bottom: var(--settings--border-radius--md);
}

.listing-index-item--tile {
padding-bottom: 24px !important; 
}

/* ------ end of tiles ------*/


.page-banner-wrap page-banner-wrap--imageless {
    background-image: url("https://poled-staging.myteamltd.co.uk/uploads/optimadmin/image/image/20/content-bg-light-dark-blue-humps-girl.png") !important;
    background-repeat: no-repeat;
    background-position: bottom right;
}
.page-header-wrap {

background-size: auto auto;

}



 /* end of over-rides */
 
 /* ordered list (pills) */
 
 .tinymce--pill-list {
    counter-reset: list-counter;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .tinymce--pill-list li {
    counter-increment: list-counter;
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 12pt;
    line-height: 1.4;
    color: #fff;
    background: var(--bg, #e0e0e0);
    box-sizing: border-box;
  }

  .tinymce--pill-list li::before {
    content: counter(list-counter);
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    margin-right: 16px;
    color: #fff;
    flex: 0 0 auto;
    display: flex;
  align-items: center;
    transform: translateY(-4px); /* tweak: -1px to -4px if needed */
  }

  /* Full-width modifier */
  .tinymce--pill-list li.full {
    grid-column: span 2;
  }

  /* Tablet */
  @media (max-width: 900px) {
    .tinymce--pill-list li::before {
      font-size: 46pt;
    }
  }

  /* Mobile */
  @media (max-width: 600px) {
    .tinymce--pill-list {
      grid-template-columns: 1fr;
    }

    .tinymce--pill-list li.full {
      grid-column: span 1; /* no need to span on single column */
    }

    .tinymce--pill-list li {
      font-size: 11pt;
      padding: 12px 16px;
      border-radius: 24px;
    }

    .tinymce--pill-list li::before {
      font-size: 32pt;
      margin-right: 12px;
    }
  }

/* end of ordered  list (pills) */

/*phases three vertical pills */

    .tinymce--timeline {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      max-width: 1100px;
      margin: 0 auto;
      align-items: start;
        box-sizing: border-box;
    }

    .tinymce--phase {
      text-align: center;
      box-sizing: border-box;
      /* new to make bottom areas same size */
      display: flex;
      flex-direction: column;
      height: 100%; /* important */
    }



    .tinymce--phase-label {
      position: relative;
      color: #0c2a5b;
      font-size: 24px;
      font-weight: 700;
      margin: 0 0 14px;
      padding-top: 18px;
        box-sizing: border-box;
    }

    .tinymce--phase-label::before,
    .tinymce--phase-label::after {
      content: "";
      position: absolute;
      top: 0;
      height: 54px;
      border-top: 2px solid #0b61b3;
      width: calc(50% - 68px);
        box-sizing: border-box;
    }

    .tinymce--phase-label::before {
      left: 0;
      border-left: 2px solid #0b61b3;
      border-top-left-radius: 6px;
        box-sizing: border-box;
    }

    .tinymce--phase-label::after {
      right: 0;
      border-right: 2px solid #0b61b3;
      border-top-right-radius: 6px;
        box-sizing: border-box;
    }

    .tinymce--capsule {
      width: 100%;
      max-width: 285px;
      min-height: 425px;
      margin: 0 auto 18px;
      border-radius: 150px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: stretch; /* important */
      justify-content: center;
        box-sizing: border-box;
    }

    .tinymce--capsule.single {
      padding: 28px 20px;
      align-items: center;
        box-sizing: border-box;
    }

    .tinymce--capsule.single.school {
      background: #353cab;
      box-sizing: border-box;
    }

    .tinymce--capsule.single.forces {
      background: #0b5a9c;
        box-sizing: border-box;
    }

    .tinymce--capsule.split {
      padding: 0;
        box-sizing: border-box;
    }

    .tinymce--capsule-top,
    .tinymce--capsule-bottom {
      flex: 1 1 50%;
      width: 100%;              /* important */
      min-width: 100%;          /* extra protection */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 24px 20px;
      text-align: center;
        box-sizing: border-box;
    }

    .tinymce--capsule-top {
      background: #0b5a9c;
    }

    .tinymce--capsule-bottom {
      background: #5300b2;
    }

    .tinymce--logo {
      width: 92px;
      height: 92px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .tinymce--capsule-title {
      font-size: 22px;
      font-weight: 700;
      line-height: 1.15;
      color: #fff;
    }

  /* DESC BOXES */
.tinymce--desc-box {
  border: 2px solid rgba(255,255,255,0.8);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  flex-grow: 1; /* KEY: equal height */
}

.tinymce--desc-box p {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

    .tinymce--resources {
      max-width: 1100px;
      margin: 22px auto 0;
      font-size: 30px;
      font-weight: 700;
      color: #ffffff;
      padding-bottom: 24px;
    }

    .tinymce--resources a {
      color: #ffffff;
      text-decoration: none;
    }

    .tinymce--resources a:hover {
      text-decoration: underline;
    }

    @media (max-width: 980px) {
      .tinymce--timeline {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .tinymce--capsule,
      .tinymce--desc-box {
        max-width: 360px;
      }
    }

/* end of phases three vertical pills*/

/* Register now */

.tinymce--register-card {
  width: 80%;  
  margin: auto;  
  min-height: 272px;
      background: #f4f9fd;
      border-radius: 12px;
      display: flex;
      overflow: hidden;
    }

    .tinymce--register-image-wrap {
      width: 45%;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start; /* push image left */
      padding-left: 0; /* remove left padding */
    }

    .tinymce--register-student-img {
      max-height: 250px;
      width: auto;
      display: block;
    }

    .tinymce--register-content {
      width: 55%;
      text-align: right;
      padding: 36px 38px;
      color: #2b3192;
    }

    .tinymce--register-title {
      margin: 0;
      font-size: 52px;
      line-height: 1;
      font-weight: 700;
      color: #2b3192;
    }

    .tinymce--register-subtitle {
      margin: 14px 0;
      font-size: 25px;
      line-height: 1.2;
      font-weight: 700;
    }

    .tinymce--register-small-text {
      margin-bottom: 13px !important;
      font-size: 13px;
      font-weight: 500;
    }

    .tinymce--register-button {
      display: inline-block;
      background: #2b3192;
      color: #ffffff;
      text-decoration: none;
      padding: 12px 28px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 700;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .tinymce--register-card {
        width: 100%;
        flex-direction: column;
      }

      .tinymce--register-image-wrap,
      .tinymce--register-content {
        width: 100%;
      }

      .tinymce--register-image-wrap {
        justify-content: center;
        padding: 20px 0 0;
      }

      .tinymce--register-title {
        font-size: 40px;
      }

      .tinymce--register-subtitle {
        font-size: 21px;
      }
    }

/*End register now*/

/* Passport */

.tinymce--passport-card {
  width: 100%;  
  margin: auto;  
        background: #ffffff;
      border-radius: 20px;
      display: flex;
      overflow: hidden;
    }

    .tinymce--passport-image-wrap {
      width: 20%;
      display: flex;
      align-items: flex-start;
      justify-content: flex-end; /* push image right */
      padding-right: 0; /* remove right padding */
    }

    .tinymce--passport-img {
      max-height: 250px;
      width: auto;
      display: block;
    }

    .tinymce--passport-content {
      width: 80%;
      text-align: left;
      padding: 18px 38px 6px 38px;
      color: #000;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .tinymce--passport-card {
        width: 100%;
        flex-direction: column;
      }
    }

/* End passport */

/* Full width pills with icon and left hand no curve */

.tinymce-fullwidth-section {
  position: relative;
  overflow: hidden;
  padding: 22px 40px 48px;

}

.tinymce-fullwidth-content {
  position: relative;
  z-index: 1;
}

.tinymce-fullwidth-report-card {
  width: 100%;
  min-height: 56px;
  background: #fff;
  border-radius: 40px 150px 150px 40px;
  margin-bottom: 9px;
  padding: 20px 54px 20px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
}

.tinymce-fullwidth-report-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

@media (max-width: 600px) {
  .tinymce-fullwidth-section {
    padding: 24px 20px 48px;
  }

  .tinymce-fullwidth-content {
    max-width: none;
  }

  .tinymce-fullwidth-report-card {
    max-width: none;
    border-radius: 0 28px 28px 0;
  }
}