/* Franchisee profile — layout ported from puroclean-tw/assets/css/directory-profile.css */

body.directory-body .directory-franchisee-profile-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#page-featured.franchisee-profile {
    padding: 34px 0 30px;
}

#page-featured.franchisee-profile .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#page-featured.franchisee-profile h1.smaller {
    margin: 0;
    line-height: 1.15;
}

#page-featured.franchisee-profile h1.smaller strong {
    display: inline-block;
    color: #d3232b;
    font-family: "league-gothic", sans-serif;
    font-weight: normal;
    font-size: 58px;
    line-height: 1;
    vertical-align: baseline;
}

body.directory-body .directory-franchisee-profile-page #about-content.wide-wrapper,
body.directory-body .directory-franchisee-profile-page #contact.wide-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

body.directory-body .directory-franchisee-profile-page #about-content.wide-wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

body.directory-body .directory-franchisee-profile-page #contact.wide-wrapper {
    margin-top: 34px;
    margin-bottom: 34px;
    padding-top: 0;
    padding-bottom: 0;
}

#about-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #c3c3c3;
    width: 100%;
    box-sizing: border-box;
}

#about-content #about-intro,
#about-content #about-banner {
    background: transparent;
    border: 0;
}

#about-content #about-intro {
    flex: 1 1 64%;
    min-width: 0;
}

#about-content #about-intro .content {
    padding: 28px 30px 32px;
}

#about-content #about-banner {
    flex: 1 1 36%;
    min-width: 0;
    border-left: 1px solid #c3c3c3;
}

#about-content .owner-image {
    padding: 30px;
}

#about-content .owner-image img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 50%;
    background-clip: padding-box;
}

#about-content #breadcrumbs {
    margin-bottom: 18px;
}

#about-content #about-intro h3 {
    font-family: "league-gothic", sans-serif;
    color: #d3232b;
    font-size: 36px;
    line-height: 1.1;
    font-weight: normal;
    margin: 26px 0 12px;
}

#about-content #about-intro p,
#about-content #about-intro li {
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

#about-content .team-list {
    margin: 12px 0 0;
    padding-left: 0;
    list-style-position: inside;
}

#about-content .team-list li {
    margin: 8px 0;
}

#about-content a {
    color: #00346d;
    border-bottom: 1px solid #00346d;
    text-decoration: none;
}

#about-content a:hover {
    color: #000;
    border-color: #000;
}

body.directory-body .directory-franchisee-profile-page #contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    clear: both;
    width: 100%;
    padding-top: 0;
    background: #ffffff;
    border: 1px solid #c3c3c3;
    box-sizing: border-box;
}

#contact .half-col {
    flex: 1 1 50%;
    min-width: 0;
    width: auto;
    max-width: none;
}

#contact #contact-address .content {
    background: transparent;
    border: 0;
    padding: 30px;
    height: 100%;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

#contact #the-map {
    display: flex;
    flex: 1 1 50%;
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    border-left: 1px solid #c3c3c3;
}

#contact #contact-address h2 {
    margin: 0 0 22px;
    color: #d3232b;
    font-family: "league-gothic", sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: normal;
}

#contact #contact-address h3 {
    margin: 16px 0 6px;
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#contact #contact-address p {
    margin: 0 0 14px;
    font-size: 16px;
    color: #111;
}

#contact #contact-address a {
    color: #00346d;
    border-bottom: 1px solid #00346d;
    text-decoration: none;
}

#contact #contact-address a:hover {
    color: #000;
    border-color: #000;
}

#contact #contact-address a.read-more,
#contact #contact-address a.red-btn {
    display: inline-block;
    color: #fff !important;
    background-color: #ca0b2c;
    border: 0;
    border-bottom: 0;
    max-width: 330px;
    padding: 10px 18px;
    text-align: center;
    text-transform: none;
}

#contact #contact-address a.read-more:hover,
#contact #contact-address a.red-btn:hover {
    background-color: #000;
    color: #fff !important;
    border-bottom: 0;
}

#contact #contact-address p a {
    border-bottom: 0;
}

#contact #contact-address p a:hover {
    border-bottom: 0;
}

#contact #the-map #map {
    flex: 1 1 auto;
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
}

@media (max-width: 1100px) {
    #about-content {
        align-items: flex-start;
    }

    #page-featured.franchisee-profile h1.smaller strong {
        font-size: 48px;
    }
}

@media (max-width: 900px) {
    #about-content,
    body.directory-body .directory-franchisee-profile-page #contact {
        display: block;
    }

    #about-content #about-banner,
    #contact #the-map {
        margin-top: 24px;
    }

    #about-content #about-banner {
        margin-top: 0;
        border-left: 0;
        border-top: 1px solid #c3c3c3;
    }

    #about-content .owner-image img {
        max-width: 260px;
    }

    #contact #the-map {
        display: block;
        margin-top: 0;
        min-height: 400px;
        border-left: 0;
        border-top: 1px solid #c3c3c3;
    }

    #contact .half-col {
        width: 100%;
    }
}

@media (max-width: 640px) {
    #page-featured.franchisee-profile h1.smaller strong {
        font-size: 40px;
    }

    #about-content #about-intro .content,
    #about-content .owner-image,
    #contact #contact-address .content {
        padding: 24px;
    }
}
