/* =================== */
/* === Fancy Tiles === */
/* =================== */

/* Example styles - only needed for this exzmple page */

.scd-fancy-tiles:nth-child(1) {
    margin-top: 60px;
    margin-bottom: 60px;
}

.scd-fancy-tiles {
    margin-bottom: 60px;
    /* overflow-x: hidden; */
    padding: 0 15px;
}

.scd-fancy-tiles:nth-child(3) {
    margin-bottom: 120px;
}

/* Section */

.scd-fancy-tiles .row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}

/* Header */

.scd-fancy-tiles .section-header {
    margin-bottom: 34px;
}

.scd-fancy-tiles .section-header .section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Tile default */

.scd-fancy-tiles .card {
    width: 275px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    background: rgb(202, 202, 207);
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0);
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.scd-fancy-tiles .card:hover {
    transition: all 0.3s ease-in-out;
}

/* Text */

.scd-fancy-tiles .card .text {
    background: #ffffff;
    width: 100%;
    padding: 16px 20px 6px;
    border-top: 1px solid #dbdbdb;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

/* Title / subtitle */

.scd-fancy-tiles .card .titlewrap {
    padding-bottom: 10px;
}

.scd-fancy-tiles .card .titlewrap .signature {
    display: none;
    height: 0;
    animation: fadeIn 0.75s forwards;
}

.scd-fancy-tiles .card .titlewrap .title {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    animation: fadeIn 0.75s forwards;
}

.scd-fancy-tiles .card .subtitle {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-top: 3px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-variant: all-small-caps;
    letter-spacing: 0.8px;
}

.scd-fancy-tiles .card:hover .titlewrap .signature {
    display: block;
    height: 30px;
    margin-bottom: 5px;
    
}

.scd-fancy-tiles .card:hover .titlewrap .title {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Subtext */

.scd-fancy-tiles .card .subtext {
    width: 100%;
    padding-bottom: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.scd-fancy-tiles .card .subtext p {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}

.scd-fancy-tiles .card:hover .subtext {
    padding-bottom: 16px;
    opacity: 1;
    max-height: 210px;
    transition: all 0.5s ease-in-out;
}

/* Tile heights */

.scd-fancy-tiles.short .card {
    height: 260px;
}

.scd-fancy-tiles.tall .card {
    height: 400px;
}

/* Tile widths */

.scd-fancy-tiles .card.w25 {
    width: calc(100% - 30px);
}

.scd-fancy-tiles .card.w33 {
    width: 33.333%;
}

.scd-fancy-tiles .card.w50 {
    width: 50%;
}

.scd-fancy-tiles .card.w66 {
    width: 66.666%;
}

/* Imagery */

.scd-fancy-tiles .card .image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.scd-fancy-tiles .card .image.default {
    opacity: 1;
    z-index: -1;
    transition: all 0.5s ease-in-out;
}

.scd-fancy-tiles .card .image.candid {
    /* opacity: 0; */
    z-index: -2;
    transition: all 0.5s ease-in-out;
}

.scd-fancy-tiles .card:hover .image.default {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.scd-fancy-tiles .card:hover .image.candid {
    /* opacity: 1; */
    transition: all 0.5s ease-in-out;
}

/* Link */

.scd-fancy-tiles .card .link {
    font-weight: 500;
    display: inline-block;
    margin-top: 12px;
}

/* Shadow */

.scd-fancy-tiles .card.shadow:hover {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
}

/* Scale */

.scd-fancy-tiles .card.scale:hover {
    transform: scale(1.05);
}




/* Myla B */

.scd-fancy-tiles .card.expert.myla-b .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/myla_b.jpg");
}

.scd-fancy-tiles .card.expert.myla-b .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/myla_b.jpg");
}

/* Michelle C */

.scd-fancy-tiles .card.expert.michelle-c .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/michelle_c.jpg");
}

.scd-fancy-tiles .card.expert.michelle-c .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/michelle_c.jpg");
}

/* Jake S */

.scd-fancy-tiles .card.expert.jake-s .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/jake_s.jpg");
}

.scd-fancy-tiles .card.expert.jake-s .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/jake_s.jpg");
}

/* Sasha B */

.scd-fancy-tiles .card.expert.sasha-b .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/sasha_b.jpg");
}

.scd-fancy-tiles .card.expert.sasha-b .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/sasha_b.jpg");
}

/* Aaron L */

.scd-fancy-tiles .card.expert.aaron-l .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/aaron_l.jpg");
}

.scd-fancy-tiles .card.expert.aaron-l .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/aaron_l.jpg");
}

/* Anne H */

.scd-fancy-tiles .card.expert.anne-h .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/anne_h.jpg");
}

.scd-fancy-tiles .card.expert.anne-h .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/anne_h.jpg");
}

/* Antar J */

.scd-fancy-tiles .card.expert.antar-j .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/antar_j.jpg");
}

.scd-fancy-tiles .card.expert.antar-j .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/antar_j.jpg");
}

/* Avery C */

.scd-fancy-tiles .card.expert.avery-c .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/avery_c.jpg");
}

.scd-fancy-tiles .card.expert.avery-c .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/avery_c.jpg");
}

/* Belinda J */

.scd-fancy-tiles .card.expert.belinda-j .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/belinda_j.jpg");
}

.scd-fancy-tiles .card.expert.belinda-j .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/belinda_j.jpg");
}

/* Brett L */

.scd-fancy-tiles .card.expert.brett-l .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/brett_l.jpg");
}

.scd-fancy-tiles .card.expert.brett-l .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/brett_l.jpg");
}

/* Cyndy M */

.scd-fancy-tiles .card.expert.cyndy-m .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/cyndy_m.jpg");
}

.scd-fancy-tiles .card.expert.cyndy-m .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/cyndy_m.jpg");
}

/* Gary P */

.scd-fancy-tiles .card.expert.gary-p .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/gary_p.jpg");
}

.scd-fancy-tiles .card.expert.gary-p .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/gary_p.jpg");
}

/* Gary S */

.scd-fancy-tiles .card.expert.gary-s .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/gary_s.jpg");
}

.scd-fancy-tiles .card.expert.gary-s .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/gary_s.jpg");
}

/* Gary S */

.scd-fancy-tiles .card.expert.jasmine-r .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/jasmine_r.jpg");
}

.scd-fancy-tiles .card.expert.jasmine-r .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/jasmine_r.jpg");
}

/* Kathleen C */

.scd-fancy-tiles .card.expert.kathleen-c .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/kathleen_c.jpg");
}

.scd-fancy-tiles .card.expert.kathleen-c .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/kathleen_c.jpg");
}

/* Kristi H */

.scd-fancy-tiles .card.expert.kristi-h .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/kristi_h.jpg");
}

.scd-fancy-tiles .card.expert.kristi-h .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/kristi_h.jpg");
}

/* Madison W */

.scd-fancy-tiles .card.expert.madison-w .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/madison_w.jpg");
}

.scd-fancy-tiles .card.expert.madison-w .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/madison_w.jpg");
}

/* Matt Z */

.scd-fancy-tiles .card.expert.matt-z .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/matt_z.jpg");
}

.scd-fancy-tiles .card.expert.matt-z .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/matt_z.jpg");
}

/* Michael F */

.scd-fancy-tiles .card.expert.michael-f .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/michael_f.jpg");
}

.scd-fancy-tiles .card.expert.michael-f .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/michael_f.jpg");
}

/* Michael S */

.scd-fancy-tiles .card.expert.michael-s .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/michael_s.jpg");
}

.scd-fancy-tiles .card.expert.michael-s .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/michael_s.jpg");
}

/* Rachel P */

.scd-fancy-tiles .card.expert.rachel-p .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/rachel_p.jpg");
}

.scd-fancy-tiles .card.expert.rachel-p .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/rachel_p.jpg");
}

/* Randi G */

.scd-fancy-tiles .card.expert.randi-g .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/randi_g.jpg");
}

.scd-fancy-tiles .card.expert.randi-g .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/randi_g.jpg");
}

/* Robert R */

.scd-fancy-tiles .card.expert.robert-r .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/robert_r.jpg");
}

.scd-fancy-tiles .card.expert.robert-r .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/robert_r.jpg");
}

/* Shannon B */

.scd-fancy-tiles .card.expert.shannon-b .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/shannon_b.jpg");
}

.scd-fancy-tiles .card.expert.shannon-b .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/shannon_b.jpg");
}

/* Stacy G */

.scd-fancy-tiles .card.expert.stacy-g .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/stacy_g.jpg");
}

.scd-fancy-tiles .card.expert.stacy-g .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/stacy_g.jpg");
}

/* Tina C */

.scd-fancy-tiles .card.expert.tina-c .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/tina_c.jpg");
}

.scd-fancy-tiles .card.expert.tina-c .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/tina_c.jpg");
}

/* Trimica W */

.scd-fancy-tiles .card.expert.trimica-w .image.default {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/default/trimica_w.jpg");
}

.scd-fancy-tiles .card.expert.trimica-w .image.candid {
    background-image: url("/sbd/images/sba/cre/products/business-is-human/2024/experts-page/images/experts/candid/trimica_w.jpg");
}


/* ===================== */
/* === Media Queries === */
/* ===================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .scd-fancy-tiles .card.w25 {
        width: calc(50% - 30px);
    }

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .scd-fancy-tiles .card.w25 {
        width: calc(33% - 30px);
    }

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* XX-Large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {

    .scd-fancy-tiles .card.w25 {
        width: calc(25% - 30px);
    }

}
