/*
 Theme Name:   SU2P
 Description:  Custom theme
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     baseline
 Version:      1.0.9
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  baseline-child

 font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;

*/

@view-transition {
    navigation: auto;
}
  
::view-transition-group(root) {
    animation-duration: 1s;
}


:root {
    --su-cobalt: #1947A3;
    --su-dark-orchid: #902DC6;
    --su-tiger-orange: #C66F00;
    --su-tea-green: #D5E1A3;
    --su-hawkes-blue: #CAD7F1;
    --su-radius: 0.5rem;
    --su-gradient: linear-gradient(94.33deg, #010F32 -3.64%, #1947A3 60.23%, #841EBC 99.46%);
}

.baseline {
    --baseline-aos-distance: 40px;
    --baseline-aos-distance-negative: -40px;
}

body.baseline {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-size: clamp(1.4rem, 1.3vw, 1.8rem);
}

.baseline .header-wrap .container,
.baseline #footer-bottom-container.container {
    max-width: 95%;
    width: 95%;
}

.baseline .container {
    max-width: 1400px;
}

.baseline h1 {
    font-size: clamp(4rem, 3.9vw, 5.5rem);    
}

.baseline h1.xl {
    font-size: clamp(5rem, 5vw, 7rem);    
}

.baseline h2 {
    font-size: clamp(2.8rem, 3vw, 3.5rem);    
}

.baseline h1, 
.baseline h2,
.baseline h3 {
    font-weight: 700;
}

.home h2.normal-weight {
    margin-bottom: 2rem;
}

.baseline h2.normal-weight {
    font-weight: 500;
}

.flex-elm.narrow .inner {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.baseline .header-wrap,
.baseline .mobile-nav {
    background: var(--su-gradient);
}

.baseline header .custom-logo {
    width: 11vw !important;
}

.baseline header .logotitle.row {
    padding: 2.3vw 0;
}

.baseline footer {
    background-image: url('footer-bgnd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.baseline header .second {
    right: 3%;
    top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.baseline header .menu li a {
    color: #fff;
    font-weight: 500;
    font-size: clamp(1.35rem, 1.6vw, 1.7rem);
}

.baseline header .menu li.current-menu-item > a {
    font-weight: 900;
}

.baseline header .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-bottom {
    margin-top: 2rem;
}

.footer-bottom .float-left p,
.footer-bottom .float-right p {
    margin-bottom: 0;
}

.footer_logo {
    margin: 5rem 0 3rem;
    text-align: center;
}

.footer_strapline {
    font-size: 2rem;
    opacity: 0.6;
}

.baseline footer {
    padding-top: 4rem;
}

.baseline .footer-top .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

@media ( max-width: 720px ) {

    .baseline .footer-top .menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .baseline .footer-top .menu li {
        margin-bottom: 2rem;
    }

}

.link-boxes .cde-grid-item-inner a {
    display: block;
    padding: 2rem;
    background-color: var(--su-cobalt);    
    border-radius: var(--su-radius);
    transition-duration: 0.3s;
}

.link-boxes .cde-grid-item-inner a,
.link-boxes .cde-grid-item-inner a:hover {
    border-bottom: none;    
}

.link-boxes .cde-grid-item-inner a:hover {
    transform: scale(1.05);
}

.link-boxes .item-label {
    padding-top: 1.5rem;
    margin-top: 3.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.3);
    min-height: 4rem;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: flex-end;
    padding-right: 3rem;
    position: relative;
}

.link-boxes .item-label:after {
    content: "\f061";
    font-family: "Font Awesome 7 Pro";
    font-weight: 200;
    position: absolute;
    right: 0;
    color: #fff;;
    font-size: 2rem;
}

.link-boxes .item-icon {
    background-color: var(--su-dark-orchid);
    color: #fff;
    padding: 1rem;
    border-radius: 100%;
    width: 6rem;
    height: 6rem;
    font-size: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cde-grid-list.link-boxes.has-bgcolor:not(.col-none) {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.cde-image-header {
    min-height: 40rem; 
    height: 40vh;
}

.header-overlay .header-wrap,
.header-overlay .mobile-nav.left {
    z-index: 3;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    height: 16.6rem;
    width: 100%;
}

.header-overlay:not(.home) .header-wrap {
    background: linear-gradient(180deg, rgba(10, 12, 15, 0.7) 59.9%, rgba(42, 52, 65, 0) 100%);
}

.header-overlay .mobile-nav.left {
    height: 6rem;
}

.header-overlay .cde-image-header {    
    min-height: 70rem; 
    height: 80vh;    
}

.header-overlay .cde-image-header .inner {
    margin-top: 8.3rem;
}

.cde-image-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.baseline .cde-image-header.has-bgimage .inner {
    max-width: 80rem;   
    width: 90%;    
}

.baseline .cde-image-header.has-bgimage .inner {
    position: static;
}

.baseline .mobile-nav.left {
    z-index: 5;
}

.baseline .menu-bar .menu-label,
.baseline #menu-close .label {
    color: #fff;
}

.baseline .mobile-nav .custom-logo {
    max-width: 10rem !important;
}

.baseline .mobile-nav .custom-logo {
    height: 5.3rem;
}

.baseline #burger-button {
    margin-right: 1rem;
}

.cde-image-header.has-bgimage .img:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    height: 8.2vw;
    background-image: url('wavvy-overlay.svg');
    background-size: cover;    
    background-position: bottom center;
}

.crop .image-wrapper img {
    border-radius: var(--su-radius);
}

.baseline .flex-container.overlap-above {
    margin-top: -35rem;    
    z-index: 8;
}

.baseline .cde-image-header.overlap-below.has-bgimage .inner {
    margin-top: -9rem;
}

.logo-grid .icons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 4rem;
    margin-left: 8%;
    margin-right: 8%;
}

@media ( max-width: 960px ) {

    .logo-grid .icons {     
        grid-template-columns: 1fr 1fr;     
    }

}

.logo-grid .cde-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.logo-grid .cde-icon img {
    height: 5rem;
    width: auto;
}

.logo-grid .cde-icon.logo-tall img {
    height: 11rem;
}

.logo-grid .cde-icon.logo-square img {
    height: 8rem;
}

@media ( max-width: 600px ) {

    .logo-grid .cde-icon img {
        height: 3rem;        
    }
    
    .logo-grid .cde-icon.logo-tall img {
        height: 8rem;
    }
    
    .logo-grid .cde-icon.logo-square img {
        height: 5rem;
    }

}

.cde-two-cols.quote .right-col:before {
    content: "";
    width: 4.5rem;
    background-size: contain;
    height: 4rem;
    background-image: url("quote-mark.svg");
    display: block;
    margin-bottom: 2rem;
}

.cde-two-cols.quote .right-col {
    position: relative;
    background-color: var(--su-tea-green);
    border-radius: var(--su-radius);
    padding: 5rem;
    font-size: clamp(1.6rem, 1.7vw, 1.9rem);
    font-weight: 500;
    overflow: visible;
}

.cde-two-cols.quote .inner {
    grid-template-columns: 26rem 1fr;        
}

.cde-two-cols.quote .right-col:after {
    content: "";
    width: 0;
    height: 0;    
    border-left: 4rem solid transparent;
    border-right: 4rem solid transparent;
    border-bottom: 8rem solid var(--su-tea-green);
    position: absolute;
    top: 5rem; 
    left: -8rem;
    transform: rotate(-90deg);
    z-index: 9;
}

@media ( max-width: 600px ) {

    .cde-two-cols.quote .right-col:after {
        transform: rotate(0deg);
        left: unset;
        right: unset;
        left: 50%;  
        transform: translateX(-50%);        
        top: -8rem;
    }

    .cde-two-cols.quote .inner {
        grid-template-columns: 1fr;        
        grid-gap: 10rem;
    }

    .cde-two-cols.quote .left-col {        
        text-align: center;
    }

}

.cde-two-cols.quote .left-col p {
    margin-bottom: 0.5rem
}

.cde-two-cols.quote .left-col h3 {
    font-weight: 700;
    color: var(--su-cobalt);
    font-size: clamp(1.8rem, 1.6vw, 2.1rem);
}

.baseline .cde-two-cols.quote .left-col img {
    width: 17rem;
    height: 17rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.header-overlay .cde-flex-content section:first-of-type {
    min-height: 30vw;
    width: 100%;
    max-width: 100%;;
    background: var(--su-gradient); 
    display: flex;
    flex-direction: column;
    justify-content: center;     
    margin-bottom: var(--cde-padding);  
}

.header-overlay .cde-flex-content section.cde-image-header:first-of-type {    
    min-height: 70rem; 
    height: 80vh;    
    background: transparent;
}

@media ( max-width: 600px ) {

    .header-overlay .cde-flex-content section:first-of-type {
        min-height: 30rem;
    }

}

.header-overlay .cde-flex-content section:first-of-type .inner {
    margin-top: 7rem;
}

.header-overlay .cde-flex-content section:first-of-type h1 {
    color: #fff;
}

@media ( max-width: 600px ) {

    .cde-gallery-grid.overlap-above {
        margin-left: 10%;
        margin-right: 10%;
    }

}

.cde-grid-item-inner .item-label {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

ul.grid-list li.cde-grid-item {
    margin-bottom: 0;
}

li.has-bgcolor {
    border-radius: var(--su-radius);
}

.widget .has-bgcolor.col-dark-orchid a {
    color: #fff;
}

.inner .has-bgcolor,
.container .has-bgcolor {
    border-radius: var(--su-radius);
}

.header-overlay .cde-image-header.stronger-screen .img:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    z-index: 2;
}

.inner .before {
    margin-bottom: 3rem;
}

.cde-horz-line {
    height: 0.1rem;
    background: var(--su-gradient);
    opacity: 0.3;
}

.speaker-list .cde-grid-item-inner {
    border-left: 1rem solid var(--su-hawkes-blue);
    padding-left: 2rem;
}

.speaker-list .item-label {
    margin-bottom: 0.6rem;
}

.speaker-list .item-subtitle {
    text-transform: uppercase;
    line-height: 1.2;
    font-size: 1.4rem;
}

.has-bgcolor .left-col i:before,
.has-bgcolor .left-col i:after {
    font-size: 8rem;
}

.baseline .cde-two-cols .inner {
    grid-row-gap: 2rem;
}

.baseline nav .full.top ul.menu > li.menu-item-has-children > a:after, 
.baseline header .widget ul.menu > li.menu-item-has-children > a:after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='8' height='13' viewBox='0 0 8 13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.063 11.375l5.25-5.063-5.25-4.875' stroke='%23CAD7F1' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.baseline header .right .sub-menu {
    padding-top: 2rem;
}

header .widget .menu .sub-menu li {
    background: rgba(0,0,0,0.6);    
    border-bottom-color: transparent;
    margin-bottom: 0.1rem;
}

header .widget .menu .sub-menu li a {
    color: #fff;    
}

.single-post .cde-wide-text .inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry-content {
    margin-top: 4rem;
    margin-bottom: -2rem !important;
}

.single-post .entry-content h1,
.single-post .meta-below {
    text-align: center;
}

.single-post .main .content {
    padding-bottom: 0;    
}

.single-post .cde-image-header.has-bgimage .img:after {
    content: unset;
}

h1.static-title {
    margin: 2rem 0 4rem 0;
    text-align: center;
}

.baseline .button,
.baseline button,
.baseline input[type=submit],
.baseline input[type=reset],
.baseline input[type=button],
.baseline .woocommerce #respond input#submit,
.baseline .woocommerce a.button,
.baseline .woocommerce button.button,
.baseline .woocommerce input.button {
    padding: 1.9rem 4rem;
    font-weight: 700;
    font-size: clamp(1.4rem, 1.4vw, 1.7rem);
}

.cde-site-banner-content p:last-child {
    margin-bottom: 0;
}

.baseline .cde-site-banner {
    padding: 3rem 3rem;
}

.cde-grid-item-inner .item-content p:last-child {
    margin-bottom: 0;
}

.cde-text-left-image-right.has-bgcolor .left.cde-text-nopadding .inner,
.cde-image-left-text-right.has-bgcolor .right.cde-text-nopadding .inner {
    padding: 5rem;
}

@media ( max-width: 600px ) {

    .cde-text-left-image-right.has-bgcolor .left.cde-text-nopadding .inner,
    .cde-image-left-text-right.has-bgcolor .right.cde-text-nopadding .inner {
        padding: 2rem;
    }

}

.blog .four.columns.sidebar.right {
    display: none;
}

.blog .eight.columns.left {
    width: 80%;
    margin: 0 10%;    
}

.baseline.blog #main-content, 
.baseline.archive .main .left {
    grid-gap: 3rem;
}

.baseline  .post-date {
    color: var(--su-dark-orchid)
}

.people {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 4rem;
}

@media ( max-width: 1100px ) {

    .people {     
        grid-template-columns: 1fr 1fr 1fr 1fr;     
    }

}


@media ( max-width: 960px ) {

    .people {     
        grid-template-columns: 1fr 1fr 1fr;     
    }

}

@media ( max-width: 720px ) {

    .people {     
        grid-template-columns: 1fr 1fr;     
    }

}

@media ( max-width: 550px ) {

    .people {     
        grid-template-columns: 1fr;     
    }

}

.people .person {
    text-align: center;
}

.person__image img {
    width: 80%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.people h3.person__name {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-size: 2rem;
}

.cde-people.has-bgcolor {
    padding: 4rem;
}

.cde-people.has-bgcolor .people a.person {
    color: #fff;
}

.cde-people .before {
    margin-bottom: 4rem;
}

.single-person .person {
    display: grid;
    grid-template-columns: 25%  1fr;
    grid-column-gap: 4rem;
}

@media ( max-width: 600px ) {

    .single-person .person {
        grid-template-columns: 1fr;
    }

}

.single-person .content.container {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.person__field--institution {
    text-transform: uppercase;
}

.person__field--role-job-title {
    font-weight: 700;
    margin-bottom: 3rem;
}