﻿.character-strengths-page {

}

.character-strengths-page h6 {
    font-size: 1rem;
}

.character-strengths-page .the-science-copy-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.character-strengths-page .the-science-copy-block .the-science-copy-block__copy {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 3rem;
}

.character-strengths-page .the-science-copy-block .the-science-copy-block__copy a {
    color: var(--color-white);
}

.character-strengths-page .page-copy.product-callout {
    padding: 2rem;
}

.character-strengths-page .page-copy, 
.character-strengths-page .the-science-copy-block {
    margin-bottom: 4rem;
}

.strengths-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 5px;
    grid-row-gap: 5px;
    background-color: #e8e8e8;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 0px 0px 24px 8px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 0px 24px 8px rgba(0,0,0,0.08);
    box-shadow: 0px 0px 24px 8px rgba(0,0,0,0.08);
    transition: all .2s ease-in-out;
}

.strength {
    height: 270px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    justify-content: center;
}

.strength:hover {
    text-decoration: none;
}

.strength:hover,
.strength:active {
    justify-content: space-between;
    background-color: var(--color-text);
    transform: scale(1.10);
    transition-duration: 0.1s;
    z-index: 100;
}

.character-strength strength__image {
    max-width: 50px;
    max-height: 50px;
}

.strength__classification-name {
    text-transform: uppercase;
    font-weight: var(--font-weight-extra-bold);
    font-size: 10px;
}

.strength:hover div,
.strength:active div {
    display: block;
}

.strength:hover > div:first-child,
.strength:active > div:first-child {
    padding-top: 0;
}

.strength:hover > div:first-child img,
.strength:active > div:first-child img {
    width: 30px;
    height: 30px;
}

.strength:hover .strength__name,
.strength:active .strength__name {
    color: var(--color-white);
}

.strength__name {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    line-height: 18px;
    color: var(--color-text);
    text-transform: capitalize;
    text-align: center;
    margin-top: 10px;
}

.strength__classification-name {
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    color: var(--color-primary-blue-4);
    text-transform: capitalize;
}

.strength__description {
    font-weight: var(--font-weight-light);
    display: none;
    font-size: 12px;
    line-height: 23px;
    color: var(--color-white);
    text-align: center;
}

.strength__link {
    display: none;
}

.strength__link {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--color-lime-light);
}

.character-strength__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left right"
                         "cta cta";
    grid-gap: 2rem;
}

.character-strength-details__left {
    grid-area: left;
}

.character-strength-details__right {
    grid-area: right;
}

.character-strength-details__cta {
    grid-area: cta;
}

.character-strength-details__body {
    margin-top: 3rem;
}

.character-strength-details__virtue {
    margin-top: 4rem;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 4rem;
}

.character-strength-details__understand {
    margin-top: 4rem;
}

.character-strength-details__virtue a {
    color: var(--color-orange);
}

.character-strength-details__classification {
    margin-top: 3rem;
}

.classification-icons__wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.character-strength-details__classification h3 {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: var(--font-weight-normal);
}

@media only screen and (max-width: 1140px) {
    .character-strengths-page .the-science-copy-block {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .strengths-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 1024px) {
    .strengths-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .character-strength__details {
        grid-template-columns: 1fr;
        grid-template-areas: "left"
                             "right"
                             "cta";
    }

    .character-strength-details__understand {
        margin-top: 1rem;
    }
}