/* HERO */

body {
    --hero-content-width: 38rem;
}

.hero2 {
    background-color: var(--green);
    padding: 3.5rem 0;
}

.hero2-grid {
    display: grid;
    grid-template-columns: var(--hero-content-width) 1fr;
    column-gap: 5rem;
}

.hero2-callouts {
    padding: 2.5rem;
    background-color: white;
}

.hero2-callouts .hero-callouts {
    max-width: var(--hero-content-width);
}

.hero2-callouts .container {
    width: 100%;
}

.hero2 h1 {
    color: var(--light-grey);
    margin-bottom: 2.5rem;
}

.hero2-copy .cta, .derm-intro .cta {
    font-size: 0.975rem;
    padding: 0.95rem 1.5rem;
}

.hero-callouts {
    display: grid;
    grid-template-columns: 2.5rem auto;
    border-top: 1px solid var(--black-02);
    padding: 1rem 0;
    margin: 0.5rem 0;
    align-items: center;
    font-size: 1.1rem;
    color: var(--black-08);
}

.hero-callouts i {
    color: var(--green);
    font-size: 1.75rem;
}

.hero-callouts:nth-last-child(1) {
    border-bottom: solid 1px var(--black-02);
}

.hero-pic {
    position: relative;
}

.hero2-grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32rem;
    object-fit: cover;
}

.derm-hero h1 {
    font-size: clamp(4.5rem, 12vw, 5rem);
}

/* INTRO SECTION */

.derm-intro {
    padding: 3.5rem 0 0 0;
}

.derm-intro p {
    font-size: var(--fs-intro);
    color: var(--black-08);
    line-height: 1.4;
}

.derm-intro p:nth-child(3) {
    color: var(--black);
    font-weight: 500;
}

.derm-intro h2, .derm-intro p {
    margin-bottom: 1.5rem;
}

.derm-intro a {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 500;
}

.derm-intro a:hover {
    text-decoration: none;
}

.intro-logo {
    width: 12rem;
    margin: 0 auto 1rem auto;
}

.derm-intro .cta {
    color: var(--light-grey);
    text-decoration: none;
    margin: 0 auto;
    display: block;
}

.intro-ctas {
    width: fit-content;
    margin: 3rem auto 0 auto;
    display: flex;
    column-gap: 1.5rem;
    align-items: center;
}

.intro-ctas .appointment {
    background-color: var(--orange);
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease;
    padding: 0.75rem 1rem;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.intro-ctas .appointment:hover {
    background-color: #ad553e;
}

.intro-ctas .appointment i {
    margin-right: 0.25rem;
}

.intro-ctas div {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--black-08);
    display: flex;
    column-gap: 0.25rem;
    align-items: center;
}

.intro-ctas div i {
    color: var(--orange);
    font-size: 1.5rem;
}

/* SECTION  */

.section1 {
    padding: var(--mp) 0;
}

.sbs {
    display: grid;
    grid-template-columns: 30rem auto;
}

.sbs-content {
    background-color: var(--green);
    padding: 2.5rem;
    border-radius: 1rem 0 0 1rem;
    color: var(--light-grey);
}

.sbs-content p {
    font-weight: 425;
    opacity: 0.9;
}

.sbs-content p:nth-child(3) {
    font-weight: 550;
    opacity: 1;
}

.sbs-content h3 {
    color: var(--light-grey);
    font-size: 3.25rem;
    font-family: 'Felicity', serif;
    line-height: 0.8;
}

.sbs-content p {
    font-size: var(--fs-main);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.sbs-content p:nth-last-child(1) {
    margin-bottom: 0;
}

.sbs-pic {
    background-position: center;
    background-size: cover;
    border-radius: 0 1rem 1rem 0;
}

.sbs-content .cta2 {
    border: solid 1px var(--gold);
    color: var(--light-grey);
    text-decoration: none;
}

.sbs-content .cta2 i {
    transition: margin-left 0.15s ease;
}
  
  .sbs-content .cta2:hover i {
    margin-left: 0.4rem;
}

.sidekicks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    text-align: center;
    margin-top: var(--mp);
    color: var(--black-08);
    font-size: var(--fs-smaller);
    font-weight: 500;
}

.sidekicks i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--orange);
}

.section2 .sbs {
    grid-template-columns: auto 30rem;
}

.section2 .sbs-content {
    border-radius: 0 0.5rem 0.5rem 0;
}

.section2 .sbs-pic {
    border-radius: 0.5rem 0 0 0.5rem;
}

.sbs-tag {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.sbs-line {
    width: 2rem;
    height: 2px;
    background-color: var(--light-grey);
    margin: 1.5rem 0;
}

.sbs-cta {
    font-size: var(--fs-smaller);
    background-color: var(--light-grey);
    color: var(--green);
    display: block;
    width: fit-content;
    padding: 0.75rem 1rem;
    text-transform: uppercase;
    margin-top: 2rem;
    border: solid 3px var(--light-grey);
    transition: all 0.15s ease;
}

.sbs-cta:hover {
    background-color: var(--green);
    color: var(--light-grey);
}

.sbs-cta i {
    margin-right: 0.25rem;
}


/* CONDITIONS */

.conditions {
    padding: 3.5rem 0 0 0;
    background-color: white;
}

.conditions h2 {
    margin-bottom: 1rem;
}

.conditions p {
    font-size: var(--fs-intro);
    color: var(--black-08);
    max-width: 50rem;
    line-height: 1.4;
}

.conditions-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    display: grid;
    margin-top: 3rem;
}

.conditions-grid div {
    border-bottom: solid 1px var(--black-02);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.conditions-header {
    display: grid;
    grid-template-columns: 2.25rem auto;
    column-gap: 0.75rem;
    align-items: center;
}

.conditions-header div, .conditions-header {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.conditions-header-icon {
    background-color: var(--green);
    color: var(--light-grey);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    place-content: center;
    flex-wrap: wrap;
    height: 2.25rem;
    border-radius: 0.4rem;
    color: white;
}

.conditions-header h3 {
    font-size: 1.2rem;
    color: var(--black);
}

.conditions-grid span {
    display: block;
    margin-top: 0.75rem;
    font-size: var(--fs-smaller);
    color: var(--black-08);
    line-height: 1.4;
}

/* WHAT TO EXPECT */

.expect {
    display: grid;
    grid-template-columns: 32rem auto;
    column-gap: 5rem;
    align-items: center;
    padding: var(--mp) 0 2.5rem 0;
}

.expect h2 {
    margin-bottom: 1rem;
}

.expect img {
    height: 100%;
}

.expect p, .expect ul {
    font-size: var(--fs-main);
    color: var(--black-08);
    line-height: 1.4;
    font-weight: 450;
}

.expect li {
    margin-bottom: 0.75rem;
}

.expect-pic {
    height: 100%;
    padding: 5rem 0;
    background-image: url(../images/dermatology/sbs-expect.jpg);
    background-position: center;
    background-size: cover;
}

/* BOOK NOW */

.book-ctas {
    padding: 2rem;
    border: solid 1px var(--black-02);
    background-color: white;
}

.book-ctas p {
    font-size: var(--fs-intro);
    line-height: 1.4;
}

.book-ctas .intro-ctas {
    margin: 2rem 0 0 0;
    font-weight: 500;
}

.book-ctas .fa-calendar-plus {
    color: var(--green);
}

.book-ctas h2 {
    margin-bottom: 1rem;
}

.book-ctas .cta i {
    color: white;
}

/* FAQs */

.condition-faq {
    background-color: white;
    margin-top: var(--mp);
    padding: var(--mp) 0;
}

.condition-faq h2 {
    text-align: center;
    max-width: 92%;
    margin: 0 auto 3.5rem auto;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1150px) {
    body {
        --hero-content-width: 55%;
    }
}

@media only screen and (max-width: 1000px) {
    
    body {
        --hero-content-width: 100%;
    }

    .hero2-grid {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }
    
    .hero2-grid img {
        position: unset;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .hero2-callouts {
        width: 100%;
        padding: 2.5rem 4%;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .expect {
        grid-template-columns: 26rem auto;
        column-gap: 2.5rem;
    }

    .expect-pic {
        padding: 2.5rem 0;
    }
}


@media only screen and (max-width: 910px) {

    .sbs, .section2 .sbs  {
        grid-template-columns: 1fr;
    }

    .sbs-content {
        order: 2;
        border-radius: 0 0 0.5rem 0.5rem;
        padding: 1.85rem;
    }

    .section2 .sbs-content {
        border-radius: 0 0 0.5rem 0.5rem;
    }

    .sbs-pic {
        height: 100%;
        aspect-ratio: 1 / 1;
        max-height: 30rem;
        width: 100%;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .section2 .sbs-pic {
        border-radius: 0.5rem 0.5rem 0 0;
    }
}

@media only screen and (max-width: 768px) {
    .hero-copy .cta,  .derm-intro .cta {
        font-size: 0.85rem;
    }
    
    .sbs-content h3 {
        font-size: 2.75rem;
    }

    .hero2 {
        padding: 1rem 0 2rem 0;
    }
    
    .derm-hero h1 {
        margin-bottom: 1rem;
    }

    .hero-callouts {
        font-size: 1rem;
    }

    .hero2-callouts {
        padding: 1.5rem 4%;
    }

    .conditions-header h3 {
        font-size: 1.1rem;
    }

    .expect {
        grid-template-columns: 1fr;
        row-gap: 1rem;
        padding: 0;
        margin-top: var(--mp);
    }

    .expect-pic {
        padding: 0;
        aspect-ratio: 16 / 9;
    }

    .expect-copy {
        order: 2
    }

    .sbs-cta {
        font-size: 0.85rem;
    }

    .condition-faq h2 {
        margin: 0 auto 1.5rem auto;
    }

    .intro-logo {
        width: 8rem;
    }

    .sbs-content {
        padding: 1.5rem;
    }

    .conditions .container-dlb {
        padding: 1.5rem;
        width: calc(100% - 3rem);
    }

    .expect-pic {
        background-size: 102%;
    }
}

@media only screen and (max-width: 640px) {
    .sidekicks {
        grid-template-columns: 1fr;
        row-gap: 3.5rem;
    }

}

@media only screen and (max-width: 520px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .conditions-header {
        grid-template-columns: 2rem auto;
    }

    .conditions-header-icon {
        height: 2rem;
    }

    .conditions-grid div {
        margin-bottom: 1.5rem;
    }

    .conditions-grid div:nth-last-child(1) {
        border-bottom: none;
    }

    .intro-ctas {
        grid-template-columns: 1fr;
        row-gap: 1rem;
        display: grid;
    }

    .book-ctas .intro-ctas {
        margin: 2rem auto 0 auto;
    }

    .book-ctas {
        text-align: center;
    }

    .book-ctas .fa-calendar-plus {
        display: block;
        margin-bottom: 1rem;
    }
}



