/*
Theme Name: LIIA
Author: NetReady
Description: A customisable theme for the LIIA and SESLIP organisations.
Version: 1.0.0
Template: liia-seslip
Requires at least: The oldest main WordPress version supported, written in X.X format. 
Tested up to: The last main WordPress version the theme has been tested up to, i.e. 6.0. Write only the number.
Requires PHP: The oldest PHP version supported, in X.X format, only the number.
License: The license of the theme.
License URI: The URL of the theme license.
Text Domain: The string used for textdomain for translation. The theme slug.
*/


.main-page-title-block img {
    border-top-left-radius: 400px;
    width: 100% !important;
}

.main-page-title-block figure { 
    width: 100% !important;
}

.title-and-featured-image>.wp-block-group {
    align-items: stretch;
}

.title-and-featured-image .featured-image-container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    border-radius: 50% 50% 0% 100% / 100% 0% 100% 0%;
    overflow: hidden;
}

#menu-main {
    display: flex;
    justify-content: space-between;
    font-size: var(--wp--preset--font-size--large);
    font-weight: bold;
    margin: 0;
    padding: 20px 0px;
    margin-block-start: 0;
}


#menu-main li {
    list-style-type: none;
    padding: 5px;
}

#menu-main a {
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--body-highlight);
    text-decoration: none;
}

#menu-main a:hover {
    color: var(--wp--preset--color--primary-highlight);
}

#menu-main .menu-item {
    position: relative;
}

#menu-main .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    z-index: 100;
    top: calc(100%);
    width: max-content;
    padding: 1rem 0rem;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: var(--wp--preset--color--primary-highlight);
    color: var(--wp--preset--color--white);
}

#menu-main .menu-item-has-children .sub-menu,
#menu-main .menu-item-has-children .sub-menu a {
    font-size: var(--wp--preset--font-size--medium);

}

#menu-main .menu-item-has-children::after {
    display: none;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    /* transform: translateX(0.5); */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--wp--preset--color--primary-highlight);
}

#menu-main .menu-item-has-children:hover .sub-menu,
#menu-main .menu-item-has-children:hover::after {
    display: block;
}

#menu-main .menu-item-has-children .sub-menu a {
    color: var(--wp--preset--color--white);
    padding: 0 1rem;
    display: inline-block;
    width: 100%;
}

#menu-main .menu-item-has-children .sub-menu li:hover {
    background-color: var(--wp--preset--color--body-highlight);
}

.is-content-justification-space-between {
    justify-content: space-between;
}

.wp-block-site-logo.is-default-size img {
    width: unset !important;
}

.footer-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer-row-1 img.aldcs-logo{
    width: 170px;
}
footer .proudlyWorking{
    font-size: var(--wp--preset--font-size--medium);
    font-weight: bold;
    color: var(--wp--preset--color--body-highlight);
}


footer .wp-block-column img{
    max-width: 140px !important;
}


@media(max-width: 850px) {
    .footer-container {
        flex-wrap: wrap !important;
    }

    .footer-container p {
        margin: auto;
        text-align:center;
    }
    .footer-row-1 {
        display: block;
        text-align: center;
    }
    .footer-row-1 .wp-block-buttons{
        display: block;
        margin-top: 20px;
    }
    footer .partner-logos {
        text-align: center;
    }
    footer .partner-logos  img{
        max-height: 80px;
        width: auto;
    }
}

.meet-the-team-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 180px;
    margin-bottom: 0px;
    border-top-left-radius: 21px;
    border-top-right-radius: 21px;
}

.archive-meet-the-team-flex {
    gap: 0px !important;
}

.archive-meet-the-team-content p {
    margin-top: 0px;
}

.archive-meet-the-team-content h3 {
    margin-bottom: 5px;
}

.meet-the-team-image {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}

.panel-with-title-over-image {
    gap: 0px !important;
}

.panel-with-title-over-image> :last-child {
    padding-bottom: 15px;
}

.panel-with-title-over-image> :nth-child(2) {
    padding-top: 15px;
}

.panel-with-title-over-image h3 {
    margin-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
}

.panel-with-title-over-image p {
    margin-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

.panel-with-title-over-image img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}

.panel-with-title-over-image figure {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 180px;
    margin-bottom: 0px;
    border-top-left-radius: 21px;
    border-top-right-radius: 21px;
}


.twitter-icon-button {
    display: inline-block !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    width: max-content;
}

.archive-meet-the-team-item img {
    object-fit: cover;
    height: 100%;
}

.archive-meet-the-team-item figure a {
    height: 100%;
}

.archive-meet-the-team-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.archive-meet-the-team-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.archive-meet-the-team-content h3 {
    margin: 0!important;
}

.archive-meet-the-team-content a {
    margin-top: auto;
    margin-right: 0!important;
}

.post-slider {
    width: 95%;
    margin: 0 auto !important;
}

.post-slide img[src*=logo\.png] {
    object-fit: contain;
}

.post-slide {
    background-color: #F3F3F8;
}

.post-slider .slick-prev:before,
.post-slider .slick-next:before {
    color: var(--wp--preset--color--primary-highlight);
}

.post-slider .slick-dots li button:before,
.post-slider .slick-dots li.slick-active button:before {
    color: var(--wp--preset--color--primary-highlight);
}

.post-slider-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

.post-slider-more-btn {
    background-color: #03006C !important;
    color: #ffffff;
    text-decoration: none;
}

.news-single-post .wp-block-post-excerpt__more-link.post-slider-more-btn::after {
    color: #ffffff;
}

.sail-update-card-bg {
    background-color: #F3F3F8;
}

.practice-event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.practice-event-item {
    border-radius: 20px;
    padding: 2rem;
}

.practice-event-item h2 {
    margin-top: 0;
    font-size: 25px;
    color: #2F3546;
}

.practice-event-meta {
    font-size: 16px;
    color: #383838;
    margin: 0;
    line-height: 1.6;
}

/* Practice event carousel slide */
.practice-event-slide h3 {
    font-size: 18px;
}

.practice-event-slide .practice-event-meta {
    font-size: 14px;
}

.sail-update-heading {
    border-bottom: none !important;
}
