/*
	Theme Name: Kemikos
	Theme URI: https://www.kemikos.com
	Description: Kemikos
	Version: 1.0
	Author: Filippo Montanari
	Author URI: https://www.linkedin.com/in/filippomontanari/
	Text Domain: ke
	Domain Path: /languages
*/
@import url("css/backgrounds.css");
:root {
    --color-primary: #1B2B44;
    --color-secondary: #ffffff;
    --color-accent: #4168A4;
    --font-primary: "Geologica", sans-serif;
    --fw-bold: 500;
    --fw-extrabold: 700;
    --fw-black: 800;
    --margin-x: 2rem;
}
:focus {
    outline: none;
}
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}
body {
	font: 300 2rem/1.4 var(--font-primary);
    background-color: var(--color-primary);
	color: var(--color-secondary);
}
body.overflow-hidden {
	overflow: hidden;
}
a {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: var(--color-secondary);
}
a:hover {
	color: var(--color-accent);
}
strong {
    font-weight: var(--fw-extrabold);
}
h1, .h1 {
	font-size: 4rem;
	font-weight: var(--fw-extrabold);
	margin-bottom: 5rem;
}
h2, .h2 {
	font-size: 2.6rem;
	font-weight: var(--fw-extrabold);
	margin-bottom: 5rem;
}
h3, .h3 {
	font-size: 2.6rem;
	font-weight: var(--fw-extrabold);
	margin-bottom: 3rem;
}
h4, .h4 {
	font-size: 2.2rem;
	font-weight: var(--fw-extrabold);
	margin-bottom: 5rem;
}
p, ul {
	margin-bottom: 5rem;
}
p:last-child, ul:last-child {
    margin-bottom: 0;
}
iframe, embed, object, video {
	max-width: 100%;
}
header {
	position: sticky;
    top: var(--margin-x);
    margin: var(--margin-x);
    border-radius: 15rem;
    background-color: var(--color-primary);
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.40);
    z-index: 10;
    padding: 1.6rem 3rem;
}
header .logo img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(332deg) brightness(100%) contrast(100%);
	height: 5.8rem;
}
header .logo :hover img {
    filter: none;
}
.lang-item a {
    font-size: 2rem;
    font-weight: 100;
    text-decoration: none;
    text-transform: uppercase;
}
.menu-open {
    background: url("images/bg-menu.svg") no-repeat center center/contain;
    display: inline-block;
    width: 5.6rem;
    height: 6rem;
    margin-left: 2.1rem;
    border: none;
    position: relative;
    --offset: 1rem; /* distanza dal centro per ogni barretta */
}
.menu-open span {
    display: block;
    text-indent: -99999px;
}
.bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 48%;
    background-color: var(--color-primary);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease;
  }
.bar:nth-child(1) {
    --idle-y: calc(var(--offset) * -1);
    --hover-x: calc(var(--offset) * -1);
}
.bar:nth-child(2) {
    --idle-y: 0px;
    --hover-x: 0px;
}
.bar:nth-child(3) {
    --idle-y: var(--offset);
    --hover-x: var(--offset);
}
.bar {
    transform: translate(-50%, -50%) translate(0, var(--idle-y)) rotate(90deg);
} 
.menu-open:hover .bar,
.menu-open:focus-visible .bar {
    transform: translate(-50%, -50%) translate(var(--hover-x), 0) rotate(0deg);
}
.menu-overlay {
	position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: clamp(24px, 6vw, 64px);
	background: var(--color-primary);
	z-index: 100;
	visibility: hidden;
    display: flex;
    /* slidedown / slideup */
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
                visibility 0s linear 0.45s;
    will-change: transform;
}
.nav-open .menu-overlay {
	visibility: visible;
	pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0s;
	overflow: auto;
}
@media (prefers-reduced-motion: reduce) {
    .menu-overlay {
      transition: none;
    }
}
.menu-close {
    position: absolute;
    top: clamp(20px, 4vw, 56px);
    right: clamp(20px, 4vw, 56px);
    width: clamp(24px, 3vw, 30px);
    height: clamp(24px, 3vw, 30px);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
.menu-close svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-secondary);
    stroke-width: 2.5;
}
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(1.2rem, 7vh, 5.75rem);
}
.menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(3.5rem, 4.2vw, 5rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.current_page_item a, .current-page-ancestor a {
    background: linear-gradient(
        270deg,
        #3F73B5 0%,
        #4AA6D1 31.25%,
        #4CB2D7 48.55%,
        #F3BC2C 65.86%,
        #F09C4A 83.17%,
        #D22F27 100%
    );    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Small mobile tweak: tighter gap, smaller padding */
@media (max-width: 480px) {
    .menu-nav {
      gap: clamp(1rem, 5vh, 1.75rem);
    }
}
main {
    display: block;
    overflow-x: hidden;
}
section {
	position: relative;
    margin: 0 var(--margin-x);
}
/* FOOTER */
footer .footer-content {
    margin: 0 var(--margin-x);
    border-radius: 10rem 10rem 0 0;
    padding: 2.5rem 3rem;
    font-size: 2.2rem;
}
footer a, footer a:hover {
	text-decoration: none;
}
.mb-10 {
    margin-bottom: 5rem;
}
hr {
    height: 0.2rem;
    background: linear-gradient(270deg, #1B2B44 0.01%, #3F73B5 12.98%, #4AA6D1 31.25%, #4CB2D7 48.55%, #F3BC2C 65.86%, #F09C4A 83.17%, #D22F27 100%);
    margin: 3rem auto;
    border: 0;
    opacity: 1;
}

/* HOME */
.bg-home {
    z-index: -10;
    width: 100vw;
    height: 100vh;
    display: block;
    position: fixed;
    inset: 0% auto auto 0%;
    overflow: hidden;
}
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.intro-content {
    width: 100%;
    padding: 0 var(--margin-x);
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
}
.intro-content h1 {
    font-size: clamp(4rem, -0.1786rem + 8.5714vw, 9rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}
.intro-content h2 {
    font-size: clamp(2rem, 0.8824rem + 4.7059vw, 5rem);
}
.intro-cta {
    padding: 5rem 2rem;
}
.box-hp {
    padding: 5rem 5rem;
    margin-bottom: 8rem;
}
.box-hp.box-hp-radius-right {
    border-radius: 0 10rem 10rem 0;
    margin-right: var(--margin-x);
}
.box-hp.box-hp-radius-left {
    border-radius: 10rem 0 0 10rem;
    margin-left: var(--margin-x);
}
.bg-off {
    margin-top: 8rem;
    margin-bottom: 8rem;
}
.bg-off-content {
    padding: 8rem 2rem;
}

/* CHI SIAMO */
a.icon-color {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    display: block;
    padding: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.icon-container {
    position: relative;
    height: 20rem;
}
a.icon-color .text {
    margin: auto;
}
a.icon-color .icon-normal,
a.icon-color .icon-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .35s ease;
    display: block;
}
a.icon-color .icon-normal {
    opacity: 1;
}
a.icon-color .icon-hover {
    opacity: 0;
}
a:hover.icon-color .icon-normal {
    opacity: 0;
}
a:hover.icon-color .icon-hover {
    opacity: 1;
}
.no-scroll {
    overflow:hidden;
}
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 999;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}
.overlay-content {
    position: relative;
    border-radius: 100px;
    padding: 120px 40px;
    box-sizing: border-box;
    transform: translateY(30px);
    transition: transform .4s ease;
    background: #fff;
    color: var(--color-primary);
    max-width: 600px;
    width: 100%;
    margin: auto;
}
.overlay.active .overlay-content {
    transform: translateY(0);
}
/* bottone chiusura */
.overlay-close {
    position: absolute;
    top: 55px;
    right: 55px;
    width: 32px;
    height: 32px;
    border:0;
    background:none;
    cursor:pointer;
}

.overlay-close span {
    position:absolute;
    width:32px;
    height:2px;
    background:#1B2B44;
    left:0;
    top:15px;
}
.overlay-close span:first-child {
    transform:rotate(45deg);
}
.overlay-close span:last-child {
    transform:rotate(-45deg);
}
.overlay a {
    color: var(--color-primary);
}
.overlay a:hover {
    color: var(--color-accent);
}

.timeline {
    position:relative;
    max-width:1200px;
    margin:80px auto;
    padding:40px 0;
}
/* linea centrale */
.timeline:before {
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:2px;
    background:linear-gradient(
        to bottom,
        #ff5a35,
        #ffcc33,
        #48c5d8
    );
    transform:translateX(-50%);
    z-index: 5;
}
.timeline-item {
    width:50%;
    position:relative;
    padding: 0px 60px 40px;
}
.left {
    left:0;
    text-align:right;
}
.right {
    left:50%;
    text-align:left;
}
/* linea orizzontale evento */
.timeline-item:after {
    content:"";
    position:absolute;
    bottom: 0;
    width:100%;
    height:2px;
    background:linear-gradient(
        90deg,
        #246b9c,
        #ffd12e,
        #ff5735
    );
}
.left:after {
    right:0;
}
.right:after {
    left:0;
}

/* OFFERTA */
.offers-hex .hex {
    background: url("images/bg-hex-b.svg") no-repeat center center/contain;
    height: clamp(22rem, 16vw, 29rem);
    aspect-ratio: 1 / 1;
    color: var(--color-secondary);
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: size;
    font-size: clamp(1.8rem, 1.5vw, 2.8rem);
    padding: 3rem;
    margin: 3rem 1rem;
}
.offers-hex .hex-w {
    background: url("images/bg-hex-w.svg") no-repeat center center/contain;
    color: var(--color-primary);
    margin: 1rem 1rem;
}
.offers-hex .hex.funzionali {
    height: 23rem;
}
.note {
    font-size: 1.6rem;
    font-style: italic;
}
.separator {
    height: 15rem;
}

/* MOBILE */
@media(max-width:768px){

    .timeline {
        padding:20px;
    }
    .timeline:before {
        left: 20px;
    }
    .timeline-item,
    .left,
    .right {
        width:100%;
        left:0;
        text-align:left;
        padding:40px 20px 40px 60px;
    }
    .timeline-item:after {
        left:0;
    }
}
.button-circle {
    aspect-ratio: 1 / 1;
    width: auto;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    font-size: 3.5rem;
    line-height: 4.5rem;
    text-align: center;
    margin: 0 var(--margin-x);
}
/* bordo normale */
.button-circle::before,
.button-circle::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3rem;
    border-radius: inherit;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* stato iniziale */
.button-circle::before {
    background: var(--color-primary);
    opacity: 1;
    transition: opacity 0.2s ease;
}
.button-circle.bc-w::before {
    background: var(--color-secondary);
}
.button-circle.bc-w a {
    color: var(--color-secondary);
}
/* stato hover */
.button-circle::after {
    background: linear-gradient(
        270deg,
        #1B2B44 0.01%,
        #3F73B5 12.98%,
        #4AA6D1 31.25%,
        #4CB2D7 48.55%,
        #F3BC2C 65.86%,
        #F09C4A 83.17%,
        #D22F27 100%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
}
.button-circle:hover::before {
    opacity: 0;
}
.button-circle:hover::after, .button-circle.active::after {
    opacity: 1;
}
.button-circle a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}
.button-circle.bc-xs {
    width: 25rem;
    font-size: 2.5rem;
    line-height: normal;
}
.button-circle.bc-xs::before, .button-circle.bc-xs::after {
    padding: 2.3rem;
}

.bu {
    max-width: 60rem;
    border-radius: 10rem;
    padding: 5rem 5rem;
}
.specialty {
    font-size: 2rem;
    padding: 5rem 0 0;
    border-top-right-radius: 15rem;    
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}
.specialty:not(:last-child) {
    padding-bottom: 15rem;
}
.specialty:not(:first-of-type) {
    margin-top: -15rem;
}
[class^="specialty-"] {
    padding-bottom: 5rem;
}
.specialty-logo {
    display: flex;
    background: var(--color-secondary);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 9.6rem;
    padding: 1rem;
}
.specialty-spacer {
    width: 9.6rem;
}
.specialty h3.h1 {
    font-weight: 900;
    word-wrap: break-word;
}
.specialty h3 a, .specialty h3 a:hover {
    text-decoration: none;
    color: var(--color-secondary);
}
.specialty p:not(:last-child) {
    margin-bottom: 2.5rem;
}
.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 15rem;
    height: 100%;
}
.intermedi-item {
    font-weight: 700;
    padding: 0 2rem;
}
.intermedi-icon {
    margin-bottom: 4rem;
    max-height: 60%;
}
.intermedi-item-container {
    border-left: 2px solid var(--color-primary);
}
.intermedi-item-container.item-1, .intermedi-item-container.item-3 {
    border: 0;
}
.activity {
    border-radius: 5rem;
}
.activity-icon {
    position: relative;
    justify-content: center;
}
.activity-icon:before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 2px;
    background:linear-gradient(
        to right,
        #ff5a35,
        #ffcc33,
        #48c5d8,
        #1B2B44
    );
    z-index: 5;
}
.api-activity {
    position: relative;
}
.api-activity:before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 2px;
    background:linear-gradient(
        to right,
        #ff5a35,
        #ffcc33,
        #48c5d8,
        #1B2B44
    );
    z-index: 5;
}
.page-template-template-contattaci .box-hp {
    position: relative;
}
.page-template-template-contattaci .box-hp::before {
    content: '';
    display: block;
    position: absolute;
    top: 3rem;
    right: 5rem;
    width: 6.2rem;
    height: 6.7rem;
    background: url("images/kemikos-icon.png") no-repeat center center/contain;
}
.frm_forms .iti__country-name {
    color: var(--color-primary);
}
.frm_forms .iti__country.iti__highlight {
    background-color: #eef3f9;
}
.frm_forms .iti input.iti__tel-input::placeholder {
    color: #b9b9b9;
}
.with_frm_style .frm_inside_container.frm_label_float_top > label {
    top: -5px;
    left: 13px;
}
#frm_field_17_container, #frm_field_29_container {
    color: var(--color-primary);
    margin: 0;
}
.with_frm_style .iti {
    width: 100%;
}
/*.with_frm_style .frm_checkbox label input[type=checkbox], .with_frm_style .frm_radio label input[type=radio] {
    margin: 5px 10px 0 0px;
}
.with_frm_style .frm_form_field .frm_checkbox label, .with_frm_style .frm_form_field .frm_radio label {
    display: flex;
}*/
.with_frm_style .frm_form_fields > fieldset {
    padding: 0;
}

.post-content img {
	max-width: 100%;
	height: auto;
}
.post-content a {
	text-decoration: underline;
}
.grecaptcha-badge {
    display: none !important;
}
.wt-cli-manage-consent-link {
    cursor: pointer;
}

.btn {
    padding: 1.5rem 5rem;
    vertical-align: middle;
    line-height: normal;
    font-size: 2.5rem;
    font-weight: var(--fw-extrabold);
    min-width: 123px;
    text-align: center;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
    text-decoration: none;
    border: 0;
    border-radius: 5rem;
}
.btn.btn-primary {
	background: var(--color-primary);
    color: var(--color-secondary);
}
:hover.btn.btn-primary {
	background: var(--color-accent);
	color: var(--color-secondary);
	text-decoration: none;
}
.btn.btn-secondary {
	background: var(--color-secondary);
    color: var(--color-primary);
}
:hover.btn.btn-secondary {
	background: var(--color-accent);
	color: var(--color-secondary);
	text-decoration: none;
}

.bg-w { background-color: var(--color-secondary); color: var(--color-primary); }
.bg-w a { color: var(--color-primary); }
.bg-w a:hover { color: var(--color-accent); }
.bg-b { background-color: var(--color-primary); color: var(--color-secondary); }
.w { color: var(--color-secondary); }
.b { color: var(--color-primary); }

@media (min-width: 576px) {
	
} /* end min-width: 576px */

@media (min-width: 768px) {
    :root {
        --margin-x: 4vw;
    }
	header {
        padding: 2.6rem 4rem;
        margin-top: 4rem;
        top: 4rem;
    }
    header .logo img {
        height: 6.8rem;
    }
    .lang-item a {
        font-size: 2.5rem;
    }
    .menu-open {
        width: 6.5rem;
        height: 7rem;
    }
    footer .footer-content {
        border-radius: 18rem 18rem 0 0;
        padding: 7.5rem 10rem 3rem;
    }
    .intro-content {
        justify-content: flex-start;
    }
    .box-hp {
        padding: 12.8rem 10rem;  
        border-radius: 0 15rem 15rem 0;
    }
    .box-hp.box-hp-radius-left {
        border-radius: 15rem 0 0 15rem;
    }
    .bg-off-content {
        padding: 8rem 5rem;
    }
    .overlay-content {
        padding: 120px 80px;
    }
    .timeline-item {
        padding: 0px 60px 40px;
    }
    .button-circle {
        width: 35rem;
    }
    
    .bu {
        padding: 8.3rem;
    }
    .activity-icon:before {
        display: none;
    }
    .activity-icon:after {
        content:"";
        position:absolute;
        top:0;
        bottom:0;
        left:0%;
        width:2px;
        background:linear-gradient(
            to bottom,
            #ff5a35,
            #ffcc33,
            #48c5d8,
            #1B2B44
        );
        transform:translateX(-50%);
        z-index: 5;
    }
    .api-activity:before {
        display: none;
    }
    .api-activity:after {
        content:"";
        position:absolute;
        top:0;
        bottom:0;
        left:0%;
        width:2px;
        background:linear-gradient(
            to bottom,
            #ff5a35,
            #ffcc33,
            #48c5d8,
            #1B2B44
        );
        transform:translateX(-50%);
        z-index: 5;
    }
    .api-activity.item-1:after, .api-activity.item-3:after, .api-activity.item-5:after, .api-activity.item-7:after {
        display: none;
    }
    .page-template-template-contattaci .box-hp::before {
        right: 10rem;
        width: 14.2rem;
        height: 15.7rem;
    }
    a.icon-color .text {
        max-width: 14em;
    }
    a.icon-color.icon-2 {
        border-left: .2rem solid #fff;
        border-right: .2rem solid #fff;
    }
    a.icon-color.icon-4 {
        border-right: .2rem solid #fff;
    }
} /* end min-width: 768px */

@media (min-width: 992px) {
    .mb-10 {
        margin-bottom: 8.4rem;
    }
    .box-hp:not(.wide) {
        max-width: 50vw;
        margin-bottom: 0;
    }
    .box-hp.wide {
        margin-right: var(--margin-x);
    }
    .box-hp.wide .content {
        max-width: 40rem;
    }
    .bg-off-content h2 {
        max-width: 40vw;
    }
    .bg-off-content p, .p-right-alignment p {
        max-width: 50vw;
        align-self: flex-end;
        padding-left: calc(15rem + 4vw);
    }
    .mission .content {
        padding-right: 2rem;
        max-width: 47rem;
    }
    .intermedi-item-container.item-3 {
        border-left: 2px solid var(--color-primary);
    }
    .api-activity.item-4:after {
        display: none;
    }
    .api-activity.item-3:after, .api-activity.item-5:after {
        display: block;
    }
    .offers-hex .hex {
        height: clamp(22rem, 21vw, 29rem);
    }
} /* end min-width: 992px */

@media (min-width: 1200px) {
    body {
        font-size: 2.2rem;
    }
    .box-hp.w-60vw {
        max-width: 57vw;
    }
    .activity-icon {
        height: 100%;
        padding-left: 4rem !important;
        padding-right: 1rem !important;
    }
    .api-activity.item-4:after, .api-activity.item-7:after {
        display: block;
    }
    .api-activity.item-5:after {
        display: none;
    }
    .offers-hex .hex {
        height: clamp(19rem, 16vw, 29rem);
    }
} /* end min-width: 1200px */

@media (min-width: 1400px) {
    body {
        font-size: 2.5rem;
    }
    h1, .h1 {
        font-size: 5rem;
    }
    h2, .h2 {
        font-size: 5rem;
    }
    h3, .h3 {
        font-size: 4rem;
    }
    h4, .h4 {
        font-size: 3.5rem;
    }
    .note {
        font-size: 1.9rem;
    }    
    .box-hp.w-60vw {
        max-width: 60vw;
    }
    .offers-hex .hex {
        height: clamp(22rem, 16vw, 29rem);
    }
} /* end min-width: 1200px */

/* WP STANDARD */
.aligncenter,
div.aligncenter {
    display: block;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.alignright {
		float:right;
	}
	.alignleft {
		float: left;
	}

	a img.alignright {
		float: right;
	}

	a img.alignleft {
		float: left;
	}
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

blockquote:not(.tiktok-embed) {
	position: relative;
    background: #fff;
    border-left: 2px solid #e41d24;
    padding: 2rem 1rem 2rem 3rem;
    margin: 0 0 2rem 1rem;
}
blockquote:not(.instagram-media):not(.twitter-tweet):not(.tiktok-embed):after {
    font: 900 2.3rem/4rem 'Font Awesome 6 Free';
	content: "\f10e";
    background-color: #fff;
    opacity: 1;
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
	text-align: center;
	color: #e41d24;
    transform: translate(-50%, -50%);
}
blockquote p:last-child {
    margin: 0;
}
/* embed center alignment */
.twitter-tweet { margin:auto !important; display: block; }
.iframe-container { text-align: center; }
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
	margin-bottom: 2.5rem;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}