:where(figure) {
    margin: 0 !important;
}

.wp-block-group {
    overflow: clip;
}

.wp-block-buttons.is-style-full-width {
    width: 100% !important;
}

.is-style-post-typo.wp-block-post-content h2 {
    font-size: var(--wp--preset--font-size--rsf-x-large);
}

.is-style-outline-link .wp-block-post-excerpt__more-link {
    border: 1px solid currentColor;
    border-radius: 100px;
    padding: 10px 24px;
    color: var(--wp--preset--color--rsf-white);
}

a.wp-block-post-excerpt__more-link:hover {
    background: #fff !important;
    color: #000;
}

header.wp-block-kadence-rowlayout {
    position: relative;
}

header.wp-block-kadence-rowlayout::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.7) 50%, rgba(13, 27, 42, 0) 77.94%);
    content: '';
    z-index: -1;
}

.has-glass-effect {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    /* Frost 100 + Refraction 38 + Dispersion 100 */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.has-glass-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* Light 79° sheen */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.175) 0%, rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0) 60%);
}

.rsf-icon-pos .kt-svg-icon-link {
    flex-direction: row-reverse !important;
    gap: 12px;
}

.wp-block-button.is-style-link .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    gap: 16px;
}

.wp-block-button.is-style-link .wp-block-button__link::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.125 1v7c0 .563-.469 1-1 1-.562 0-1-.437-1-1V3.438l-6.312 6.28a.964.964 0 0 1-1.407 0 .964.964 0 0 1 0-1.405L6.688 2H2.125c-.562 0-1-.437-1-1 0-.531.438-1 1-1h7c.531 0 1 .469 1 1' fill='%2331567d'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.has-featured-image-bg:before {
    background: linear-gradient(172.74deg, rgba(17, 17, 17, 0) -35.15%, #1e1e1e 81.33%);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .is-style-wrap-mobile {
        flex-wrap: wrap !important;
    }
}

/* Kadence Codes */
.wp-block-kadence-listitem + .wp-block-kadence-listitem {
    border-top: 1px solid #e4e8ed;
    padding-top: 16px !important;
    margin-top: 16px !important;
}

.kb-table-container {
    border: 1px solid #dadad9;
    border-radius: 20px;
    overflow: hidden;
}

.kb-table th {
    background: #132232 !important;
}

.kb-table p {
    margin: 0 !important;
}

.kb-table th p {
    color: #fff !important;
}

.rsf-special-table tbody tr:last-child td:last-child {
    background: #6e88a4;
    color: #fff !important;
}
