:root {
    --header-height: 130px;

    --font-karla: 'Karla', cursive;
    --font-rubik: 'Rubik', cursive;

    --color-primary: #c22028;

    --ast-global-color-0: #0170B9;
    --ast-global-color-1: #3a3a3a;
    --ast-global-color-2: #3a3a3a;
    --ast-global-color-3: #4B4F58;
    --ast-global-color-4: #F5F5F5;
    --ast-global-color-5: #FFFFFF;
    --ast-global-color-6: #F2F5F7;
    --ast-global-color-7: #424242;
    --ast-global-color-8: #000000;

    --ast-border-color : #dddddd;
}

@font-face {
    font-family: 'Karla';
    font-weight: 400;
    src: url('/wp-content/uploads/2024/05/Karla-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik';
    font-weight: 700;
    src: url('/wp-content/uploads/2024/05/Rubik-VariableFont_wght.ttf') format('truetype');
}

a {
    outline: none;
}

.button {
    display: flex;
    align-items: center;
    font-family: var(--font-karla);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 15px;
    border: none !important;
    border-radius: 100px;
}

.button:hover {
    border: none;
}

.button.button-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.button.button-primary:hover {
    background-color: var(--color-primary);
}

header.site-header {
    position: fixed;
    left: 0;
    display: flex !important;
    align-items: center;
    background-color: rgba(76, 80, 89, 0.04);
    width: 100%;
    height: var(--header-height);
    padding: 0 35px;
    z-index: 10;
}

header.global {
    background-color: rgba(255,255,255,0.68);
}

header.scrolling {
    background-color: #fff;
}

header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header .header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

header .logo img {
    width: 150px;
}

header .search form {
    display: flex;
    align-items: stretch;
}

header .search form input {
    color: #333;
    font-family: Arial;
    font-size: 14px;
    font-weight: 400;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 0;
}

header .search form input::placeholder {
    color: #666;
}

header .search form button {
    background-color: #ededed;
    height: 36px;
    width: 36px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 0;
}

header .search form button:hover {
    background-color: #dcdcdc;
}

header .search form button span {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .navigation ul.menu {
    display: flex;
    align-items: center;
}

header .navigation ul li a {
    color: #000;
    font-family: var(--font-karla);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    outline: none;
}

header .navigation ul.menu > li {
    position: relative;
}

header .navigation ul.menu > li > a {
    display: flex;
    line-height: var(--header-height);
    padding: 0 20px;
    transition: all 0.3s ease-in-out;
}

header .navigation ul.menu > li.current-menu-item > a,
header .navigation ul.menu > li.current-menu-parent > a,
header .navigation ul.menu > li:hover > a {
    color: var(--color-primary);
}

header .navigation ul.menu > li > a svg {
    width: 20px;
    fill: #000;
    margin: 0 0 0 10px;
    transition: all 0.3s ease-in-out;
}

header .navigation ul.menu > li.current-menu-item > a svg,
header .navigation ul.menu > li.current-menu-parent > a svg,
header .navigation ul.menu > li:hover > a svg {
    fill: var(--color-primary);
}

header .navigation ul > li > .sub-menu {
    display: none;
    background-color: #fff;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
}

header .navigation ul > li > .sub-menu li a {
    display: block;
    padding: .9em 1em;
    transition: all 0.3s ease-in-out;
}

header .navigation ul > li > .sub-menu li.current-menu-item a,
header .navigation ul > li > .sub-menu li:hover a {
    color: var(--color-primary)
}

header .navigation ul > li > .sub-menu li:not(:last-child) a {
    border-bottom: 1px solid #eaeaea;
}

header .navigation ul > li:hover > .sub-menu {
    position: absolute;
    top: calc(50% + 12px);
    left: 0;
    display: flex;
    flex-direction: column;
    width: 280px;
    margin-top: 0;
    z-index: 20;
}

header .header-btn-mobile {
    display: none;
}

header .header-btn-mobile button {
    background-color: var(--color-primary);
    border-radius: 0;
    border: none;
    padding: 10px;
}

header .header-btn-mobile button span {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .header-btn-mobile button svg {
    width: 20px;
    fill: #fff;
}

#mobile_menu {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #f6f3ee;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 11;
}

#mobile_menu.active {
    opacity: 1;
    visibility: visible;
}

#mobile_menu .mobile-menu-header {
    display: flex;
    justify-content: end;
}

#mobile_menu .mobile-menu-header button {
    background-color: transparent;
    border: none;
}

#mobile_menu .mobile-menu-header button svg {
    width: 30px;
    fill: #fff;
}

#mobile_menu .mobile-menu-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile_menu .mobile-menu-body ul li a {
    display: flex;
    background-color: #f9f8f8;
    color: #000;
    font-family: var(--font-rubik);
    font-size: 16px;
    font-weight: 600;
    line-height: 50px;
    text-decoration: none;
    padding: 0 20px;
}

#mobile_menu .mobile-menu-body ul li:not(:last-child) a {
    border-bottom: 1px solid #eaeaea;
}

footer {
    display: flex;
    flex-direction: column;
    font-family: var(--font-karla);
}

footer > div {
    width: 100%;
}

footer .footer-main {
    background-image: url('/wp-content/uploads/2023/06/Screenshot-2023-06-19-at-16.01.33.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    padding: 100px 30px;
}

footer .footer-main .footer-container {
    max-width: 1400px;
    width: 100%;
    margin: auto;
}

footer .footer-main .footer-container .footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 130px;
}

footer .footer-main .footer-container .footer-column .fl-widget {
    margin-bottom: 25px;
}

footer .footer-main .footer-container .footer-column .footer-column-title {
    color: var(--color-primary);
    font-size: 25px;
}

footer .footer-main .footer-container .footer-column ul li a {
    color: #fff;
    font-size: 18px;
    outline: none;
}

footer .footer-main .footer-container .footer-column ul li a:hover {
    color: var(--color-primary);
}

footer .footer-main .footer-container .footer-column.column-about {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

footer .footer-main .footer-container .footer-column.column-about .socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .footer-main .footer-container .footer-column.column-about .socials .social-item svg {
    width: 35px;
    fill: #fff;
}

footer .footer-main .footer-container .footer-column.column-about .socials .social-item:hover svg {
    fill: var(--color-primary);
}

footer .footer-main .footer-container .footer-column.column-about .description {
    color: var(--ast-global-color-5);
    font-size: 20px;
}

footer .footer-copyright {
    background-color: var(--color-primary);
    color: #000;
    font-weight: 600;
    text-align: center;
    padding: 30px;
}

@media (max-width: 1300px) {
    header .navigation ul.menu > li > a {
        padding: 0 10px;
    }
}

@media (max-width: 1200px) {
    header .header-right {
        display: none;
    }

    header .header-btn-mobile {
        display: block;
    }

    header .header-btn-mobile button {
        background-color: rgba(255,255,255,.8);
        border: 1px solid rgba(194,32,40,.18);
    }

    header .header-btn-mobile button svg {
        fill: var(--color-primary);
    }

    #mobile_menu .mobile-menu-header button svg {
        fill: var(--color-primary);
    }
}

@media (max-width: 991px) {
    footer .footer-main .footer-container .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    footer .footer-main .footer-container .footer-columns {
        gap: 50px;
    }

    a,
    button,
    header .navigation ul.menu > li > a,
    header .navigation ul.menu > li > a svg,
    header .navigation ul > li > .sub-menu li a,
    .rs-sector-bg,
    .fl-module,
    .fl-row,
    .fl-col {
        transition: none !important;
    }

    a:hover,
    button:hover,
    .rs-sector:hover .rs-sector-bg,
    .fl-module:hover,
    .fl-row:hover,
    .fl-col:hover {
        transform: none !important;
    }

    video,
    .fl-bg-video,
    .fl-bg-video video,
    .fl-video,
    .wp-block-video {
        display: none !important;
    }
}

@media (max-width: 600px) {
    header .header-container {
        justify-content: center;
        gap: 30px;
    }

    header .search {
        display: none;
    }
}

.single-post main {
    position: relative;
    overflow: hidden;
    background: #f6f3ee;
}

.single-post main::before {
    content: '';
    position: absolute;
    inset: clamp(360px, 42vw, 520px) 0 0;
    pointer-events: none;
    background-image:
        linear-gradient(118deg, rgba(32,36,42,.045) 1px, transparent 1px),
        linear-gradient(298deg, rgba(194,32,40,.05) 1px, transparent 1px);
    background-position: 0 0, 0 0;
    background-size: 190px 190px, 310px 310px;
    opacity: .75;
    animation: rsgBlogPageLines 180s linear infinite;
    z-index: 0;
}

.single-post main > .container {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    padding: 0;
}

.single-post main > .container > .row {
    margin: 0;
}

.single-post .fl-content {
    float: none;
    margin: 0 auto;
    max-width: 920px;
    padding: 0 24px 80px;
    width: 100%;
}

.single-post article.fl-post {
    position: relative;
    padding-top: clamp(420px, 48vw, 590px);
}

.single-post article.fl-post > .fl-post-thumb {
    display: none;
}

.single-post article.fl-post::before,
.single-post article.fl-post::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: clamp(420px, 48vw, 590px);
    transform: translateX(-50%);
}

.single-post article.fl-post::before {
    background-color: #20242a;
    background-image:
        linear-gradient(120deg, rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(300deg, rgba(194,32,40,.26) 1px, transparent 1px),
        linear-gradient(180deg, rgba(18,22,28,.35), rgba(18,22,28,.9)),
        var(--rsg-post-image);
    background-position: 0 0, 0 0, center, center;
    background-size: 86px 86px, 132px 132px, cover, cover;
    background-repeat: repeat, repeat, no-repeat, no-repeat;
    animation: rsgBlogLines 160s linear infinite;
    z-index: 0;
}

.single-post article.fl-post::after {
    background:
        radial-gradient(circle at 72% 20%, rgba(194,32,40,.24), transparent 34%),
        linear-gradient(180deg, rgba(32,36,42,.12), rgba(246,243,238,1));
    z-index: 1;
}

.single-post .fl-post-header {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(clamp(420px, 48vw, 590px) - var(--header-height));
    padding: clamp(42px, 6vw, 78px) 0 clamp(46px, 6vw, 84px);
}

.single-post .fl-post-title {
    color: #000;
    font-family: var(--font-rubik);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    max-width: 980px;
    text-shadow: none;
}

.single-post .fl-post-title .post-edit-link {
    color: rgba(255,255,255,.72);
    font-family: var(--font-karla);
    font-size: 13px;
    font-weight: 400;
    margin-left: 10px;
    text-shadow: none;
}

.single-post .fl-post-meta {
    color: var(--color-primary);
    font-family: var(--font-karla);
    font-size: 15px;
    font-weight: 600;
    margin-top: 22px;
}

.single-post .fl-post-meta a {
    color: var(--color-primary);
}

.single-post .fl-post-meta-bottom,
.single-post .fl-post-meta-bottom a {
    color: var(--color-primary);
}

.single-post .fl-post-content {
    background: #fff;
    border: 1px solid #e5e0d7;
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(32,36,42,.08);
    color: #525861;
    font-family: var(--font-karla);
    font-size: 18px;
    line-height: 1.72;
    margin-top: -46px;
    padding: clamp(28px, 5vw, 58px);
    position: relative;
    z-index: 3;
}

.single-post .fl-post-content h2,
.single-post .fl-post-content h3 {
    color: #20242a;
    font-family: var(--font-rubik);
    line-height: 1.22;
}

.single-post .fl-post-content h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin-top: 42px;
}

.single-post .fl-post-content a {
    color: var(--color-primary);
}

@keyframes rsgBlogLines {
    to {
        background-position: 172px 86px, -132px 132px, center, center;
    }
}

@keyframes rsgBlogPageLines {
    to {
        background-position: 380px 190px, -310px 310px;
    }
}

@media (max-width: 767px) {
    .single-post .fl-content {
        padding-inline: 16px;
    }

    .single-post article.fl-post,
    .single-post article.fl-post::before,
    .single-post article.fl-post::after {
        height: auto;
    }

    .single-post .fl-post-header {
        padding-inline: 0;
    }

    .single-post .fl-post-content {
        font-size: 16px;
        margin-top: -28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-post main::before,
    .single-post article.fl-post::before {
        animation: none;
    }
}

@media (max-width: 480px) {
    footer .footer-main .footer-container .footer-columns {
        grid-template-columns: 1fr;
    }
}