/*  */
.open-day-2-date-and-location{
    margin-top: 5%;
}

.open-day-2-date-and-location .field__item{
    padding-bottom: 3%;
}

.CMR-recorded-div{
    margin-top: 5%;
}

.CMR-recorded-div .field--name-field-field-title-for-html-para,
.open-day-2-date-and-location .field--name-field-title-for-title-img-list,
.field--name-field-rundown .paragraph--type--image-with-info .sub-title,
.hp-special-list h2,
.field--name-field-address-for-openday-2 h2,
.open-day-360-div .field--name-field-title-for-title-img-list h3,
.field--name-field-enquiries h2{
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    color: #00ADEF;
}

.open-day-2-date-and-location .field--name-field-title-for-title-img-list{
     margin-bottom: 0;   
}

.field--name-field-rundown .paragraph--type--image-with-info .sub-title{
    margin-bottom: 1.5rem;   
}

.hp-special-list h2{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.CMR-recorded-div .field--name-field-field-title-for-html-para::before,
.CMR-recorded-div .field--name-field-field-title-for-html-para::after,
.open-day-2-date-and-location .field--name-field-title-for-title-img-list::before,
.open-day-2-date-and-location .field--name-field-title-for-title-img-list::after,
.field--name-field-rundown .paragraph--type--image-with-info .sub-title::before,
.field--name-field-rundown .paragraph--type--image-with-info .sub-title::after,
.hp-special-list h2::before,
.hp-special-list h2::after,
.field--name-field-address-for-openday-2 h2::before,
.field--name-field-address-for-openday-2 h2::after,
.open-day-360-div .field--name-field-title-for-title-img-list h3::before,
.open-day-360-div .field--name-field-title-for-title-img-list h3::after,
.field--name-field-enquiries h2::before,
.field--name-field-enquiries h2::after
{
    content: "";
    flex: 1;
    border-bottom: 1px solid #00ADEF;
    margin: 0 1rem;
}

.page-node-type-open-day-ver-2-0 .tbl-p-5 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-node-type-open-day-ver-2-0 .tbl-p-5 th, 
.page-node-type-open-day-ver-2-0 .tbl-p-5 td {
    width: 50%;
    padding: 5px;
    vertical-align: top;
}

.field--name-field-enquiries h3{
    text-align: center;
}

.page-node-type-open-day-ver-2-0 .field--name-field-info-for-img-link .field__label{
    display: none;
}

@media (max-width: 600px) {
    
    .page-node-type-open-day-ver-2-0 .tbl-p-5 th, 
    .page-node-type-open-day-ver-2-0 .tbl-p-5 td{
        width: 100%;
        display: block;
    }
}

@media (max-width: 767px) {
        .row-cols-md-4>* {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 55%;
            flex: 0 0 55%;
            max-width: 55%;
        }   
}

.page-node-type-open-day-ver-2-0 .schedule-container {
    max-width: 95%;
    margin: 0 auto;
    border: 1px solid #b3d7ff;
    /* Light blue border similar to the outer box if needed, or just for the table */
    padding: 40px 70px;
    box-sizing: border-box;
}

.page-node-type-open-day-ver-2-0 .schedule-title {
    color: #00ADEF;
    /* Light blue color for title */
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: normal;
    padding: 0 5%;
}

.page-node-type-open-day-ver-2-0 .schedule-top-bar {
    border: 1px solid #8ecae6;
    border-top: 7px solid transparent;
    border-image: linear-gradient(to right, #bac339, #00b799, #00b2e8) 1;
    border-image-slice: 1;
}

.page-node-type-open-day-ver-2-0 .schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.page-node-type-open-day-ver-2-0 .schedule-row {
    border-bottom: 1px solid #8ecae6;
    /* Light blue divider */
}

.page-node-type-open-day-ver-2-0 .schedule-row:last-child {
    border-bottom: 0;
}

.page-node-type-open-day-ver-2-0 .time-col {
    width: 30%;
    padding-top: 20px;
    vertical-align: top;
    font-size: 15px;
    color: #333;
}

.page-node-type-open-day-ver-2-0 .event-col {
    padding-top: 20px;
    padding-bottom: 10px;
    vertical-align: top;
    font-size: 15px;
    color: #333;
}

.page-node-type-open-day-ver-2-0 .event-title {
    margin-bottom: 8px;
}

.page-node-type-open-day-ver-2-0 .event-details {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.page-node-type-open-day-ver-2-0 .schedule-wrapper {
    padding: 0 5%;
}

.page-node-type-open-day-ver-2-0 .schedule-table th {
    text-align: left;
    font-weight: bold;
    padding: 0;
    color: #333;
    font-family: 'Catamaran';
}

.page-node-type-open-day-ver-2-0 .schedule-table th p{
    margin-bottom: 0;
}

.field--name-field-enquiries .infos-grp{
    display: flex;
    justify-content: center;
}

.field--name-field-enquiries .infos-grp h3{
    text-align: left;
}

.page-node-type-open-day-ver-2-0 .college-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 5%;
    padding-top: 1%;
}

.page-node-type-open-day-ver-2-0 .college-card {
    border: 1px solid #00ADEF;
    /* Light blue border matched from image */
    padding: 20px;
    background-color: white;
    width: 300px;
    /* Fixed width for consistency */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-node-type-open-day-ver-2-0 .college-name {
    color: #00ADEF;
    /* Light blue text matched from image */
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.page-node-type-open-day-ver-2-0 .college-address {
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

.hp-special-list{
    margin-top: 5%;
}

  .CMR-recorded-div .field--name-field-html-content{
    display: flex;
    justify-content: center;
  }
  .CMR-recorded-div .field--name-field-html-content iframe {
    min-width: 60vw;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
  }

  .hp-special-list img {
    width: 100%;
  }

@media (max-width: 767px) {
    .page-node-type-open-day-ver-2-0 .schedule-container {
        padding: 5% 5%;
    }
}
