/*
 Theme Name:   Upswept Creative
 Theme URI:    https://www.upsweptcreative.com/
 Description:  Theme for Upswept Creative, built as GeneratePress child theme
 Author:       Chynna Lew for Upswept Creative
 Author URI:   https://www.upsweptcreative.com
 Template:     generatepress
 Version:      1.0
*/

/* TABLE OF CONTENTS
* 0. FONTS AND COLORS
* 1. TYPOGRAPHY
* 2. ELEMENTS
-- 2.1 LATEST POSTS WIDGET
-- 2.2 BUTTONS
-- 2.3 TESTMONIALS
-- 2.4 COLOR BLOCKS
-- 2.5 FORMS
-- 2.6 FADE IN UP ON SCROLL
* 3. NAVIGATION
* 4. HOMEPAGE
-- 4.1 LOGOS
-- 4.2 OFFERINGS
* 5. SINGLE POSTS AND PAGES
-- 5.1 ACTIVECAMPAIGN OVERRIDES
-- 5.2 WORK TEMPLATE
-- 5.3 LINK IN BIO
-- 5.4 SINGLE PROJECTS
-- 5.5 TEAM
-- 5.6 BLOG
-- 5.7 CONTACT
* 6. FOOTER
*/

/* ---------------
0. FONTS AND COLORS
----------------- */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: 'Futura Display';
    src: url(/wp-content/themes/upsweptCreative/fonts/Futura_Display.ttf);
    font-weight: normal;
    font-style: normal;
}

:root {
    --teal: #0098A3;
    --gold: #f1cf35;
    --lt-blue: #ddf2f3;
    --lt-teal: #00C2CC;
    --lt-blue: #08909E33;
}

body {
    background-color: white;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400 !important;
}

.white {
    color: white !important;
}

.albert-sans {
    font-family: "Albert Sans", sans-serif;
}

.has-gold-background-color a:hover {
    color: var(--raspberry);
}

/* ---------------
1. TYPOGRAPHY
----------------- */
h1 {
    font-size: 3.2em;
    line-height: 1em;
}

h2 {
    font-size: 2.8em;
    line-height: 1em;

}

h3 {
    font-size: 2.2em;
    line-height: 1em;

}

.page-template-default h2,
.page-template-default h3 {
    color: #0098A3;
}

h1,
h2 {
    font-family: 'Futura Display', sans-serif;
}

h3,
h4 {
    font-family: 'Futura Display', sans-serif;
}

a:not(.wp-block-button__link) {
    color: var(--teal);
    text-decoration: none;
}

.sub-head {
    margin-bottom: 0px;
}

@media (max-width:782px) {

    h1,
    .page-hero h1 {
        font-size: 3em;
        line-height: 1em;
    }

    h2 {
        font-size: 2.2em;
        line-height: 1em;

    }

    h3 {
        font-size: 1.8em;
        line-height: 1em;

    }
}

@media (max-width:600px) {

    h1,
    .page-hero h1 {
        font-size: 2.6em;
        line-height: 1em;
    }

    h2 {
        font-size: 1.9em;
        line-height: 1em;

    }

    h3 {
        font-size: 1.4em;
        line-height: 1em;

    }
}

/* ---------------
2. ELEMENTS
----------------- */
/* OVERRIDE WP STYLES */
.site-main {
    margin: 0px !important;
}

.inside-article {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

ul {
    list-style-type: disc;
    list-style-position: outside;
}

.entry ul li {
    margin-left: 20px;
}

a,
.cat-link {
    color: #777;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

a:hover,
.cat-link:hover {
    color: #f1cf35;
    text-decoration: none;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.site-main .wp-block-group__inner-container {
    padding-bottom: 60px;
    padding-top: 60px;
}

.neg-margin-top-200 {
    margin-top: -200px;
}

@media (max-width: 782px) {
    .wp-block-columns .wp-block-column:has(img) {
        order: 1;
    }

    .wp-block-columns .wp-block-column:not(:has(img)) {
        order: 2;
    }
}

@media(max-width: 600px) {
    .wp-block-list {
        margin-left: 20px;
    }
}

/* ---------------
-- 2.1 LATEST POSTS WIDGET
----------------- */
.wp-block-latest-posts__list {
    display: flex;
    flex-wrap: wrap !important;
    gap: 20px;
    margin: 0px;
}

.wp-block-latest-posts__list li {
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    position: relative;
    width: calc(33.33% - 20px);
}

.wp-block-latest-posts__list li .wp-block-latest-posts__featured-image {
    background-color: var(--dk-gray);
    height: calc(100% - 5px);
}

.wp-block-latest-posts__list li .wp-block-latest-posts__featured-image img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    opacity: .4;
}

.wp-block-latest-posts__list li a {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 20px 30px;
    position: absolute;
    top: 20px;
}

@media (max-width: 1100px) {
    .wp-block-latest-posts__list li {
        width: 40%;
    }
}

@media (max-width: 782px) {
    .wp-block-latest-posts__list li {
        margin: auto;
        max-width: 300px;
        width: 100%;
    }
}

/* ---------------
-- 2.2 BUTTONS
----------------- */
.wp-block-button a.wp-block-button__link,
.wpcf7 input[type=submit],
a.button {
    align-items: center;
    border-radius: 0px;
    background: var(--gold);
    color: black;
    display: flex;
    font-size: 18px;
    font-family: 'Albert Sans', sans-serif;
    font-weight: bold;
    margin: 10px 0px;
    padding: 6px 40px 6px 20px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .5s;
}

.wp-block-button a.wp-block-button__link:hover,
a.button:hover,
.wpcf7 input[type=submit]:hover {
    background-color: var(--lt-teal);
    color: black;
}

.wp-block-button a.wp-block-button__link::after,
a.button::after,
.wpcf7 input[type=submit]::after {
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid var(--raspberry);
    content: '';
    height: 0px;
    margin-bottom: auto;
    margin-top: auto;
    position: absolute;
    right: 20px;
    transform: border-color .5s;
    width: 0px;
}

.wp-block-button a.wp-block-button__link:hover::after,
a.button:hover::after,
.wpcf7 input[type=submit]:hover::after {
    border-left-color: var(--gold);
}

.wp-block-button__link,
.read-more.button,
#menu-item-6489 a {
    background-image: linear-gradient(90deg, var(--lt-teal) 50%, var(--gold) 50%) !important;
    background-position: 100% 0% !important;
    background-size: 250% 100% !important;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.wp-block-button__link:hover,
.read-more.button:hover,
#menu-item-6489 a:hover {
    background-position: 0% 0% !important;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

/* ---------------
-- 2.3 TESTMONIALS
----------------- */
.work-testimonial {
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    margin-bottom: 40px;
}

.work-testimonial.has-background p {
    color: white;
    font-size: 1.5em;
    line-height: 1.2em;
}

.work-testimonial.has-background.has-gold-background-color p {
    color: black;
}

.work-testimonial p.work-testimonial-credit {
    margin-bottom: 0px;
    font-size: 1.2em;
}


.testimonial{
    align-items: space-between;
    border: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}
.testimonial img {
    margin: auto;
    width: 100px;
    z-index: 1;
}

.testimonial .shapes{
    margin: 20px 0px;
    position: relative;
}
.testimonial .left-q, .testimonial .left-q {
    height: 40px;
    position: relative;
    top: 35px;
    z-index: 2;
}

.testimonial .right-q {
    bottom: 25px;
    display: flex;
    height: 40px;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.testimonial .teal-circle{
    background-color: var(--lt-teal);
    border-radius: 100%;
    height: 100%;
    left: 20px;
    width: calc(100% - 40px);
    position: absolute;
    top: 0;
    z-index: 0;
}

 .testimonial svg{
    background-color: var(--raspberry);
    border-radius: 10px 10px 10px 10px;

    clip-path: polygon(4% 7%, 100% 0, 98% 92%, 0% 100%);
    height: 40px;
    width: 60px;
}
 .testimonial svg path {
    fill: var(--gold);
}
.testimonial .shapes p{
    background-color: var(--raspberry);
	border-radius: 5px 5px 0 0;
    color: white;
    font-weight: bold;
   	margin: 10px 10px 0 10px;
	padding: 40px 40px 20px 40px;
    position: relative;
    text-align: left;
    z-index: 1;
}

 .testimonial .credit {
    color: var(--raspberry);
    font-weight: bold;
    margin-bottom: 0px;
    padding: 10px 40px;
    text-align: center;
    z-index: 1;
}

.testimonial .shapes p.credit {
	border-radius: 0 0 5px 5px;
	font-style: italic;	
	font-weight: 400;
	margin: 0 10px 10px 10px;
	padding: 0 40px 40px 40px;
	text-align: right;
} 
.testimonial .shapes svg {
	border-radius: 5px;
	clip-path: none;
	border: 2px solid white;
}

@media (max-width: 600px) {
    .work-testimonial.has-background p {
        font-size: 1.1em;
    }

    .work-testimonial p.work-testimonial-credit {
        font-size: 1em;
    }
}

/* ---------------
-- 2.4 COLOR BLOCKS
----------------- */
div:has(+ .alignfull.has-background) {
    overflow: hidden;
    position: relative;
}

div:has(+ .alignfull.has-background)::before {
    --width: 90vw;
    background: var(--bg-color);
    bottom: -10px;
    clip-path: polygon(0 0,
            100% 0,
            calc(100% - calc(var(--width) * .7)) calc(var(--width) * .4),
            0% calc(var(--width) * .4));
    content: " ";
    height: calc(var(--width) * .4);
    position: absolute;
    right: calc(-70vw);
    transform: scale(-1);
    width: var(--width);
}

div:has(+ .alignfull.has-background.has-gold-background-color)::before {
    --bg-color: var(--gold);
}

div:has(+ .alignfull.has-background.has-raspberry-background-color)::before {
    --bg-color: var(--raspberry);
}

div:has(+ .alignfull.has-background.has-teal-background-color)::before {
    --bg-color: var(--teal);
}

.wp-block-column.has-background {
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}

.wp-block-cover .wp-block-column.has-white-background-color {
    padding: 40px 40px 20px 40px;
}

.wp-block-cover .wp-block-column.has-white-background-color h2 {
    color: var(--teal) !important;
}

/* ---------------
-- 2.5 FORMS
----------------- */
.has-teal-background-color .form-element__input-label,
.has-teal-background-color .form-multiple-choice-element .radio-option label {
    color: white !important;
}
/* ---------------
-- 2.6 FADE IN UP ON SCROLL
----------------- */
.wp-block-group.alignfull > .wp-block-group__inner-container, .wp-block-cover.alignfull > .wp-block-cover__inner-container, .interior-hero > .inside-page-hero, .work-wrapper > .work-block{
	padding-top: 100px;
    opacity: 0;
	transition: .8s all;
}
.wp-block-group.alignfull > .wp-block-group__inner-container.scrolled, .wp-block-cover.alignfull > .wp-block-cover__inner-container.scrolled, .interior-hero > .inside-page-hero.scrolled, .work-wrapper > .work-block.scrolled{
	padding-top: 40px;
    opacity: 100;
}
.inside-page-hero.scrolled{
	padding-top:150px;
}
/* ---------------
3. NAVIGATION
----------------- */

header.site-header::after,
.navigation-stick::after {
    background: white;
    bottom: -50px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    content: "";
    display: block;
    height: 50px;
    width: 75px;
    position: absolute;
    z-index: 100
}

.site-header,
.navigation-stick {
    background: #FFF;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all ease 0.5s;
}

.main-navigation ul ul {
    background: #ffffffe2;
    border-radius: 20px;
}


.close {
    border: 1px solid #aaa;
    padding: 5px 6px 10px 6px;
    color: #aaa;
    font-weight: normal;
    line-height: 10px;
    transition: all ease 0.5s;
}

.close:hover {
    border: 1px solid #ccc;
    background: #ccc;
    color: #FFF;
    transition: all ease 0.5s;
}

button.menu-toggle {
    background-color: transparent !important;
}

.navbar img {
    width: auto;
    height: 80px !important;
    transition: all ease 0.5s;
}

.main-navigation ul ul.sub-menu {
    background-color: white;
    border-radius: 0;
}

.main-navigation a {
    font-family: 'Albert Sans', sans-serif;
    font-size: 16px !important;
    font-weight: bold;
    display: block;
    text-decoration: none;
    color: var(--teal);
    opacity: 1.0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--raspberry);
    -webkit-transition: all 3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* ---------------
4. HOMEPAGE
----------------- */
/* ---------------
-- 4.1 LOGOS
----------------- */
.wp-block-gallery.logos>figure {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 0px !important;
    max-width: 20%;
    width: fit-content !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
    max-height: 100px;
    max-width: 240px !important;
    object-fit: contain;
	padding: 10px;
    width: fit-content;

}

/* ---------------
-- 4.2 OFFERINGS
----------------- */
.offerings .wp-block-column {
    min-height: 380px;
}

.offerings .wp-block-column:has(p) {
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.offerings .wp-block-column:has(p)>h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

.offerings .wp-block-column p {
    border-top: 20px solid white;
    height: 0px;
    margin-bottom: 0px;
    overflow: visible;
    padding: 0px 30px;
    position: relative;
    transition: height .5s;
}

.offerings .wp-block-column:hover p {
    height: 100%;
    padding: 0px 30px 30px 30px;
}

.offerings .wp-block-column p::after {
    background-color: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    content: '';
    height: 20px;
    left: 0;
    margin-inline: auto;
    position: absolute;
    right: 0;
    top: -35px;
    width: 40px;
    z-index: 20;
}

@media (max-width: 1000px) {
    .offerings .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .offerings .wp-block-column {
        min-width: 100% !important;
        min-height: 150px;
    }
}

@media (max-width: 782px) {
    .offerings .wp-block-column {
        min-height: 200px;
    }
}

/* ----------------------
5. SINGLE PAGES AND POSTS
----------------------- */

/* ----------------------
-- 5.1 ACTIVECAMPAIGN OVERRIDES
----------------------- */
div:has(>.gh-signup-root) {
    margin-left: 0 !important;
}

/* ----------------------
-- 5.2 WORK TEMPLATE
----------------------- */
.work-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.work-categories .cat-link {
    border-radius: 0px;
    background: var(--teal);
    color: white;
    display: flex;
    font-size: 1.4em;
    font-family: 'Albert Sans', sans-serif;
    font-weight: bold;
    margin: 10px;
    padding: 6px 20px 6px 20px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: all .5s;
    width: fit-content;
}

.work-categories .cat-link:hover {
    background-color: var(--lt-teal);
    color: black;
}

.work-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.work-block {
    height: 250px !important;
    margin: 10px;
    max-width: calc(50% - 20px) !important;
    opacity: 0;
    position: relative;
    transition: all 0.8s;
}

.block_wrapper,
.block_content {
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    height: 250px !important;
    position: relative;
    overflow: hidden;
    width: 100% !important;
}

.block_header {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    color: white;
    font-family: 'Futura Display', sans-serif;
    font-size: 2.2em;
    left: 0;
    line-height: 1em;
    margin: 0px 20px 0px 0px;
    position: absolute;
    padding: 5px 10px 10px 10px;
	top:0;
	transition: 0.3s all ease;
	width: 100%;
    z-index: 10;
}

.block_header a {
	color: white;
	display: block;
	height: 100%;
	padding: 40px;
	align-content: center;
	text-align: center;
	transition: 0.3s all ease;
}

.block_header:hover {
	background-color: rgba(0, 0, 0, 0.4);
	transition: 0.3s all ease;
}

.block_header:hover > a{
	color: var(--gold);
	transition: 0.3s all ease;
}


.work-block img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.work-block.scrolled,
.team-photo.scrolled {
    padding-top: 0px !important;
    opacity: 100;
    transition: all 0.8s;
}

.work-block.hide {
    max-width: 0px;
    max-height: 0px;
    height: 0px !important;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: all 0.8s;
    width: 0px !important;
}

@media (max-width: 900px){
	.work-block, .block_wrapper {
		height: 150px !important;
		max-width: 100% !important;
	}
	.block_header {
		font-size: 1.8em;
	}
}


/* ---------------
-- 5.3 LINK IN BIO
----------------- */
.link-in-bio.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
    margin-top: 60px;
}

.link-in-bio.row .link {
    height: 300px;
    margin: 10px;
    max-width: 300px;
    position: relative;
    transition: all 0.8s;
}

.link-in-bio.row .link {
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    height: 300px;
    position: relative;
    overflow: hidden;
    width: 300px;
}

.link-in-bio.row .link .insta-caption h3 a {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0px;
    color: white !important;
    font-family: 'Futura Display', sans-serif;
    line-height: 1em;
    position: absolute;
    padding: 5px 10px 10px 10px;
    z-index: 10;
}

.link-in-bio.row .link .insta-image,
.link-in-bio.row .link img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

/* ---------------
-- 5.4 SINGLE PROJECTS
----------------- */
.single-project .interior-hero.project-pages {
    background-color: var(--dk-gray);
}

.single-project .interior-hero.project-pages .sub-head a {
    color: var(--gold);
}

.single-project .wp-block-columns .wp-block-group__inner-container {
    padding: 0px;
}

.single-project main.site-main>.wp-block-group__inner-container {
    padding: 20px 30px;
}

.single-project h2.section-title:has(+.arrow-box) {
    margin-bottom: 60px;
}

.single-project .arrow-box {
    background-color: var(--gold);
    padding: 30px;
    position: relative;
}

.single-project .arrow-box p {
    margin-bottom: 0px;
}

.single-project .arrow-box p::after {
    background-color: var(--gold);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    content: '';
    height: 20px;
    left: 0;
    margin-inline: auto;
    position: absolute;
    right: 0;
    top: -15px;
    width: 40px;
    z-index: 20;
}

.single-project .project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-top: 10px;
}

.single-project .project-cards .card {
    background-color: var(--lt-blue);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    margin-bottom: 0px;
    padding: 40px;
    width: calc(50% - 10px);
}

.single-project .project-cards .card p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0px;
}

.single-project .project-images {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.single-project .project-images .trigger-image {
    transition: all .5s;
}

.single-project .project-images .trigger .trigger-image:hover {
    cursor: zoom-in;
    transform: scale(1.05);
}

.single-project .project-images .lightbox img {
    height: fit-content !important;
    position: relative;
    width: 90vw !important;
}

.single-project .project-images .lightbox figure.wp-block-image {
    height: 80vh !important;
    left: 5vw;
    top: 15vh;
    margin: 0px;
    object-position: top;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    width: 90vw !important;
}

.single-project .project-images figure.wp-block-image {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);

    height: 400px !important;
    width: fit-content !important;
    overflow: hidden;
}

.single-project .project-images figure img {
    height: 400px !important;
    object-fit: cover;
    object-position: top;
    width: 400px !important;
}


.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
    position: absolute;
    width: auto;
    height: 100%;
}

.single-project .project-cards .card {
    background-color: var(--lt-blue);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    margin-bottom: 0px;
    padding: 40px;
    width: calc(33% - 10px) !important;
}
.single-project .testimonial{
	margin: -60px 30px 0px 30px;
}
@media (max-width: 1200px){
	.single-project .project-cards .card{
		width: calc(33% - 15px) !important;
	}
}
@media (max-width: 900px){
	.single-project .project-cards .card{
		width: 100% !important;
	}
}
@media (max-width: 782px) {
    .single-project .project-images {
        flex-wrap: wrap !important;
    }

    .single-project .project-images .trigger,
    .single-project .project-images .trigger figure,
    .single-project .project-images .trigger img {
        min-width: 100%;
    }
}

@media (max-width: 700px) {
    .single-project .project-cards .card p {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .single-project .project-cards .card {
        width: 100%;
        max-width: 100%;
    }

    .single-project .project-cards .card p {
        font-size: 1.2em;
    }
}

/* ---------------
-- 5.5 TEAM
----------------- */
.team-wrapper.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-bottom: 60px;
    margin-top: 60px;
    overflow: hidden;
}

.team-wrapper.row .team-photo {
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    flex: 0 0 30%;
    height: 310px;
    margin: 10px;
    max-width: 30%;
    opacity: 1;
    overflow: hidden;
    position: relative;
    transform: scale(1);
    transition: all 0.8s ease;
}
.team-wrapper.row.main .team-photo:hover{
	cursor: pointer;
}
.team-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.team-wrapper.row .team-photo.hide:not(:has(.conspirator)) {
    flex: 0 0 0%;
    height: 0px;
    margin: 0;
    max-width: 0%;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.main-photo {
    left: 0;
    padding-bottom: 0px;
    position: absolute;
    top: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    z-index: 1;
}

.rollover-photo {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 0;
}

.team-wrapper.row .team-name {
    background-color: rgba(0, 0, 0, 0.4);
    bottom: -20px;
    padding: 20px;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.team-wrapper.row .team-name h2 {
    color: white !important;
    font-family: 'Futura Display', sans-serif;
    font-size: 2em;
    line-height: 1em;
    margin-bottom: 5px;
}

.team-wrapper.row .team-name h3,
.team-content h3 {
    color: white;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1em;
}

.team-content h2 {
    margin-bottom: 10px;
}

.team-content h3 {
    color: var(--teal);
}

.team-text {
    background-color: var(--white);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    height: auto;
    margin: 10px;
    opacity: 1;
    overflow: hidden;
    padding: 30px 20px;
    transition: all 0.8s ease;
    width: calc(70% - 40px);
}

.team-text.hide {
    height: 0;
    margin: 0;
    max-height: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: all 0.8s ease;
    width: 0;
}

.team-content .close {
    border: none;
    cursor: pointer;
    margin-bottom: 0;
    margin-left: auto;
    text-align: right;
    width: fit-content;
}

.conspirators-label {
    color: white;
}

@media (max-width: 782px) {
    .team-wrapper.row .team-photo {
        flex: 0 0 100%;
        max-width: 100%;
        height: 400px;
    }

    .team-text {
        width: 100%;
    }
}

/* ---------------
-- 5.6 BLOG
----------------- */
.blog .site-main {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blog .entry-header {
	    background-color: var(--gold);
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    margin: 20px 0 10px;
    padding: 20px 40px;
}

.blog article {
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: calc(50% - 20px);
}

.blog article .inside-article {
	padding: 20px;
}

.blog article h2.entry-title {
	font-size: 2.2em;
}

.blog article .entry-summary, 
.blog article .entry-meta{
	margin-top: 5px;
	padding: 10px;
}

@media (max-width: 900px){
	.blog article {
		max-width: 100%;
	}
}


/* .blog article {
    background-color: var(--gold);
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    margin: 40px;
    padding: 40px 20px;
}

.blog article:nth-child(2n) {
    background-color: var(--raspberry);
}

.blog article:nth-child(3n) {
    background-color: var(--teal);
}

.blog article:nth-child(2n) a,
.blog article:nth-child(2n) p,
.blog article:nth-child(2n) time,
.blog article:nth-child(2n) .byline,
.blog article:nth-child(3n) a,
.blog article:nth-child(3n) p,
.blog article:nth-child(3n) time,
.blog article:nth-child(3n) .byline {
    color: white;
} */

.single-post .post {
    padding: 40px 20px;
}

/* ---------------
-- 5.7 CONTACT
----------------- */
.contact-form {
    margin-top: -60px;
}

/* ---------------
6. FOOTER
----------------- */
.site-footer p {
    font-weight: bold;
}

.site-footer>.wp-block-group>.wp-block-group__inner-container {
    padding: 0px 40px;
}