@font-face {
    font-family: 'LemonMilk';
    /* Choose a name for your font */
    src: url('../fonts/LEMONMILK-Bold.otf') format('opentype');
    /* Path to your OTF file */
    /* Optional: Additional properties for weight, style, etc. */
}

.commencement-template {
    margin-bottom: 2rem;
    position: relative;
    overflow-x: hidden;
}

.commencement-template .wp-block-columns {
    width: inherit;
}

.commencement-template h1,
.commencement-template h2,
.commencement-template h3,
.commencement-template h4 {
    font-family: 'LemonMilk', Arial, Helvetica, sans-serif;
    line-height: 1.1 !important;
}

.commencement-template h2 {
    font-size: 2rem;
}

.commencement-template .alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.commencement-template .alignfull img {
    width: 100%;
}

.commencement-template>*:not(.alignfull) {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.2rem;
}

.commencement-template p {
    margin: 1.2rem 0 0;
    line-height: 1.4;
}

.commencement-template>*:not(:first-child):not(.modal) {
    margin-top: 3rem;
}

.commencement-template .wp-block-group {
    margin-top: 0;
}

/* Heading */
.commencement-template .wp-block-group .wp-block-group__inner-container>h1,
.commencement-template .wp-block-group .wp-block-group__inner-container>h2,
.commencement-template .wp-block-group .wp-block-group__inner-container>h3,
.commencement-template .wp-block-group .wp-block-group__inner-container>h4 {
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    color: rgb(10, 83, 162);
    font-weight: 700;
}

.commencement-template .wp-block-group .wp-block-group__inner-container {
    margin-top: 1.5rem;
}

.commencement-template .wp-block-group.my-0 .wp-block-group__inner-container {
    margin-top: 0;
}

.commencement-template .wp-block-group .wp-block-group__inner-container>p {
    margin: 0;
}

.commencement-template .wp-block-group h2 {
    font-size: 2rem;
}

.commencement-template .wp-block-group h3 {
    font-size: 1.4rem;
}

.commencement-template .wp-block-heading.has-c-blue-color.has-text-color {
    color: rgb(10, 83, 162);
}

.commencement-template .wp-block-button__link.has-c-blue-background-color {
    background-color: rgb(10, 83, 162);
}

.commencement-template .wp-block-buttons {
    margin: 3rem auto;
}

.commencement-template .wp-block-table>table {
    border-collapse: collapse;
    border: 1px solid rgb(10, 83, 162);
}

.commencement-template .wp-block-table>table>thead,
.commencement-template .wp-block-table>table>tbody,
.commencement-template .wp-block-table>table>thead th,
.commencement-template .wp-block-table>table>tbody td {
    border: 1px solid rgb(10, 83, 162) !important;
}

.commencement-template .wp-block-table>table>thead th {
    background-color: rgb(10, 83, 162);
    border: 1px solid rgb(10, 83, 162);
    color: white;
    padding: 1rem 2rem;
}

.commencement-template .wp-block-table>table>tbody td {
    padding: 2rem;
    vertical-align: top;
    text-align: left;
}

.commencement-template .wp-block-table>table>tbody td:last-child {
    text-align: center;
}

/**
    * Responsive Table
    */
.commencement-template .wp-block-table>table>thead th:last-child {
    display: none;
}

.commencement-template .wp-block-table>table>tbody tr {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid rgb(10, 83, 162);
}

.commencement-template .wp-block-table>table>tbody td:last-child {
    width: 100%;
}

/* Banner */
.wp-block-group.banner .wp-block-image img {
    height: 80px;
    width: auto;
}

.wp-block-group.banner .is-layout-flex {
    flex-direction: column-reverse;
}

.commencement-template #sb_instagram {
    padding: 0 1.2rem;
}

.commencement-template .wp-block-table.is-style-stripes {
    border: 0;
}

.circle {
    display: none;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    shape-outside: circle(50%) margin-box;
}

.orange-circle {
    background-color: #F2623D;
}

.blue-circle {
    background-color: #0A53A2;
    width: 200px;
    height: 200px;
}

.attach-orange-circle,
.attach-blue-circle {
    position: relative;
}


@media screen and (min-width: 768px) {
    .commencement-template>*:not(.alignfull):not(section):not(.wrapper):not(.modal) {
        max-width: 1140px;
    }

    .commencement-template .alignwide {
        max-width: 1320px;
        margin: 0 auto;
    }

    .commencement-template h2 {
        font-size: 4rem !important;
    }

    .commencement-template figure.wp-block-table {
        padding: 0 5rem !important;
    }

    /**
    * Responsive Table
    */
    .commencement-template .wp-block-table>table>thead th:last-child {
        display: table-cell;
    }

    .commencement-template .wp-block-table>table>tbody tr {
        display: table-row;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px solid rgb(10, 83, 162);
    }

    .commencement-template .wp-block-table>table>tbody td:last-child {
        width: inherit;
    }

    /* Banner */

    .wp-block-group.banner .is-layout-flex {
        flex-direction: inherit;
    }

    .wp-block-group.banner .wp-block-image img {
        height: 130px;
        width: auto;
    }

    .commencement-template .wp-block-group.banner .wp-block-group__inner-container {
        margin-top: 0;
    }

    .commencement-template .wp-block-group.social-buttons {
        display: flex;
        justify-content: space-around;
        margin-top: 1.5rem;
        width: 300px;
    }

    .circle {
        display: block;
    }

    .orange-circle.circle {
        bottom: -150px;
    }

    .blue-circle.circle {
        top: 1500px;
    }

}

@media screen and (min-width: 992px) {
    .commencement-template #sb_instagram {
        padding: 0;
    }

    .commencement-template>*:not(.alignfull):not(section):not(.wrapper) {
        padding: 0;
    }

    .circle {
        display: block;
    }

    .orange-circle.circle {
        bottom: -250px;
    }

    .blue-circle.circle {
        top: 1000px;
    }
}

@media screen and (min-width: 1400px) {
    .circle {
        display: block;
    }

    .orange-circle.circle {
        bottom: 0;
    }

    .blue-circle.circle {
        top: -150px;
    }
}