
/* Custom gutenberg styles after dequeuing default gutenberg styles */
/* columns wrap on mobile */

:where(.wp-block-columns) {
    margin-bottom: 1.75em;
    align-items: normal !important;
}

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

    .wp-block-column {
        flex-basis: 100%!important;
    }
}

@media (min-width: 782px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 0;
        flex-grow: 1;
    }
}

.wp-block-button__link {
    align-content: center;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    height: 100%;
    text-align: center;
    word-break: break-word;
}

.has-vivid-red-color {
    color: var(--wp--preset--color--vivid-red) !important;
}

.wp-block-button__link.has-vivid-red-color {
    background: transparent none;
    border-color: currentColor;
    border-width: 2px;
    border-style: solid;
    padding: 0.667em 1.33em;
}

.wp-block-image .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.aligncenter, .wp-block-image.alignleft, .wp-block-image.alignright {
    display: table;
}

.wp-block-social-link a {
    align-items: center;
    display: flex;
    line-height: 0;
    padding: .25em;
}

.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.wp-block-social-links {
    padding: 0;
}

.wp-block-social-links, .wp-block-social-links.has-normal-icon-size {
    font-size: 24px;
    gap: 0.5em;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.wp-block-social-link {
    border-radius: 9999px;
    display: block;
    height: auto;
}

.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor svg {
    color: currentColor;
    fill: currentColor;
}
/* Social Links - LinkedIn */
.wp-social-link.wp-social-link-linkedin.wp-block-social-link {
    background-color: #0077b5;
}

.wp-social-link.wp-social-link-linkedin.wp-block-social-link a {
    color: #fff;
}

.wp-social-link.wp-social-link-linkedin.wp-block-social-link:hover {
    background-color: #005582;
}

/* Social Links - Pinterest */
.wp-social-link.wp-social-link-pinterest.wp-block-social-link {
    background-color: #e60023;
}

.wp-social-link.wp-social-link-pinterest.wp-block-social-link a {
    color: #fff;
}

.wp-social-link.wp-social-link-pinterest.wp-block-social-link:hover {
    background-color: #bd001c;
}

/* Social Links - Chain */
.wp-social-link.wp-social-link-chain.wp-block-social-link {
    background-color: #f0f0f0;
}

.wp-social-link.wp-social-link-chain.wp-block-social-link a {
    color: #444;
}

.wp-social-link.wp-social-link-chain.wp-block-social-link:hover {
    background-color: #f0f0f0;
}

/* Social Links - Facebook */
.wp-social-link.wp-social-link-facebook.wp-block-social-link {
    background-color: #1877f2;
}

.wp-social-link.wp-social-link-facebook.wp-block-social-link a {
    color: #fff;
}

.wp-social-link.wp-social-link-facebook.wp-block-social-link:hover {
    background-color: #0c63d4;
}

/* Social Links - X (Twitter) */
.wp-social-link.wp-social-link-x.wp-block-social-link {
    background-color: #000;
}

.wp-social-link.wp-social-link-x.wp-block-social-link a {
    color: #fff;
}

.wp-social-link.wp-social-link-x.wp-block-social-link:hover {
    background-color: #1a1a1a;
}

/* Social Links - Instagram */
.wp-social-link.wp-social-link-instagram.wp-block-social-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.wp-social-link.wp-social-link-instagram.wp-block-social-link a {
    color: #fff;
}

.wp-social-link.wp-social-link-instagram.wp-block-social-link:hover {
    background: linear-gradient(45deg, #d17d2b 0%, #c85a32 25%, #b91f37 50%, #ad1d58 75%, #a0147a 100%);
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.has-vivid-red-background-color {
    background-color: var(--wp--preset--color--vivid-red) !important;
}


.wp-block-cover, .wp-block-cover-image {
    align-items: center;
    background-position: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-height: 430px;
    overflow: hidden;
    overflow: clip;
    padding: 1em;
    position: relative;
}

.wp-block-cover .wp-block-cover__background, .wp-block-cover .wp-block-cover__gradient-background, .wp-block-cover-image .wp-block-cover__background, .wp-block-cover-image .wp-block-cover__gradient-background, .wp-block-cover-image.has-background-dim:not(.has-background-gradient):before, .wp-block-cover.has-background-dim:not(.has-background-gradient):before {
    bottom: 0;
    left: 0;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
}

:where(.wp-block-cover:not(.has-text-color)) {
    color: #fff;
}

.wp-block-cover__inner-container {
    position: relative;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}
.is-resized img {
    height: auto !important;
    max-width: 100%;
}

.wp-block-media-text {
    direction: ltr;
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
}

.wp-block-media-text {
    direction: ltr;
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
}

.wp-block-media-text>.wp-block-media-text__content {
    direction: ltr;
    padding: 0 8%;
    word-break: break-word;
}

.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 50%;
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }
}

.wp-block-media-text__media img, .wp-block-media-text__media video {
    height: auto;
    max-width: unset;
    vertical-align: middle;
    width: 100%;
}

.wp-block-media-text.is-vertically-aligned-center>.wp-block-media-text__content, .wp-block-media-text.is-vertically-aligned-center>.wp-block-media-text__media, .wp-block-media-text>.wp-block-media-text__content, .wp-block-media-text>.wp-block-media-text__media {
    align-self: center;
}