/*!
Theme Name: topdust
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: topdust
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

topdust is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
:root {
    --dynamic-text-color: #0D449C;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");


.header {
    position: sticky;
    top: 0;
    z-index: 50;
    margin-bottom: 30px;
}

.header-bar {
    display: flex;
    padding-block: 5px;
    background-color: #fff;
}

.header-bar__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 25px;
    margin-left: auto;
}

.header-bar__item-social {
    display: none;
}

.header-bar__item:last-child {
    position: relative;
    padding-right: 10px;
}

.header-bar__item:last-child:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background-color: var(--color-white);
}

.header-bar__link {
    color: var(--color-text);
    font-family: var(--third-font);
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
}

.header-bar__social {
    font-size: 16px;
}

.header-bar__item:nth-child(3) {
    padding-left: 25px;
    border-left: 1px solid var(--border-color);
}

.header-menu {
    background-color: var(--navy-color);
}

.header-menu--white {
    background-color: var(--background-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.header-menu__container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    column-gap: 18px;
    align-items: center;
    height: 64px;
}

.header-menu__list {
    display: inline-flex;
    align-items: center;
}

.header-menu__item:first-child {
    margin-right: auto;
}

.header-menu__logo {
    display: block;
}

.header-menu__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 32px;
}

.header-menu__link {
    display: block;
    padding-inline: 27px;
    color: var(--color-white);
    font-family: var(--third-font);
    font-size: 14px;
    line-height: 50px;
    font-weight: 400;
    text-transform: uppercase;
}

.header-menu--white .header-menu__link {
    color: var(--navy-color);
}

.header__menu-button, .header__search, .header-menu__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-white);
    font-size: 16px;
}

.header-menu--white .header__menu-button, .header-menu--white .header__search, .header-menu--white .header-menu__social {
    color: var(--navy-color);
}

@media screen and (max-width: 1024px) {
    .header-menu__item:not(:first-child) {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .header-menu__container {
        grid-template-columns: 25px 1fr 25px;
        height: 56px;
    }

    .header-menu__logo {
        height: 28px;
    }

    .header-menu__list {
        column-gap: 12px;
    }

    .header__menu-button, .header__search, .header-menu__social {
        width: 25px;
    }

    .header-bar {
        display: none;
    }

    .header__item-social {
        display: inline-block;
    }
}

.alt-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--background-color);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.alt-header__container {
    display: flex;
    align-items: center;
}

.alt-header__menu-button {
    margin-right: 20px;
}

.alt-header__menu-button, .alt-header__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 80px;
}

.alt-header__menu-button i, .alt-header__search i {
    font-size: 24px;
    color: var(--navy-color);
}

.alt-header__menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.alt-header__menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.alt-header__menu-item:first-child {
    margin-right: auto;
}

.alt-header__menu-item:last-child {
    margin-left: 15px;
}

.alt-header__menu-link {
    display: block;
    padding-inline: 10px;
    color: var(--navy-color);
    font-family: var(--third-font);
    font-size: 14px;
    line-height: 80px;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.alt-header__menu-link:hover {
    color: rgb(191, 30, 46);
}

.alt-header__logo {
    display: block;
    max-width: 274px;
    height: 32px;
}

.alt-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.alt-header .header__search {
    color: var(--navy-color);
}


.search-header {
    position: relative;
    width: 50px;
    height: 50px;
}

.search-header:not(.show) .search-header__form {
    display: none;
}

.search-header.show .header__search {
    display: none;
}

.search-header__form {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 5;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    column-gap: 15px;
    height: 40px;
    background-color: #fff;
}

.search-header__input {
    background-color: #fff;
}

.search-header__submit, .search-header__close, .search-header__input {
    height: 100%;
}

.search-header__submit, .search-header__close {
    width: 40px;
}

.search-header__submit .icon, .search-header__close .icon {
    color: #000;
    font-size: 20px;
    transition: color 0.26s ease;
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.menu:not(.show) {
    display: none;
}

.menu:not(.animate) .menu__list {
    transform: translateX(-100%);
}

.menu:not(.animate) .menu__close {
    opacity: 0;
}

.menu__close {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    opacity: 0.6;
    transition: opacity 0.25s linear;
}

.menu__list {
    position: relative;
    z-index: 2;
    width: 320px;
    height: 100%;
    padding-block: 12px;
    overflow-y: auto;
    background-color: var(--background-black-color);
    transition: transform 0.25s linear;
}

.menu__item--divider {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #333;
}

.menu__link {
    display: block;
    width: 100%;
    padding-inline: 19px;
    color: var(--color-white);
    font-family: var(--third-font);
    font-size: 16px;
    line-height: 34px;
    font-weight: 400;
    transition: color 0.2s linear;
}

.menu__link:hover, .menu__link:focus {
    color: #dedede;
}

@media screen and (max-width: 768px) {
    .menu {
        top: 55px;
    }

    .menu__list {
        width: 100%;
    }
}

.footer__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 30px 60px;
}

.footer__container::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--padding-inline);
    right: var(--padding-inline);
    height: 2px;
    background-color: rgba(var(--border-color_rgb), 0.5);
}

.footer__logo {
    height: 40px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__block-logo {
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    color: var(--color-black);
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.footer__menu-list {
    display: flex;
    column-gap: 20px;
}

.footer__menu-link {
    color: var(--color-black);
    font-family: var(--third-font);
    font-size: 14px;
    line-height: 28px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer__menu-link:hover, .footer__menu-link:focus {
    color: var(--color-hover);
}

@media screen and (max-width: 1024px) {
    .footer__container {
        margin-top: 60px;
    }

    .footer__block-logo {
        flex-direction: column;
        align-items: flex-end;
    }
}

@media screen and (max-width: 768px) {
    .footer__container, .footer__menu-list {
        flex-direction: column;
        align-items: center;
    }

    .footer__block-logo {
        align-items: center;
    }

    .footer__copyright {
        flex-direction: row;
        column-gap: 1ch;
        margin-block: 12px 22px;
    }

    .footer__menu-list {
        row-gap: 12px;
    }
}

.category-section {
    margin-bottom: 60px;
}

.category-section.pt-60 {
    padding-top: 60px;
}

.category-section > .category-section {
    padding-inline: 0px;
}

.category-section--gray, .category-section--gray-small {
    display: flex;
    flex-direction: column;
    background-color: #F5F5F5;
}

.category-section--gray {
    padding: 60px;
}

.category-section--gray-small {
    padding: 20px 20px 45px 20px;
}

.category-section--gray .category-section__posts {
    height: 100%;
}

.category-section--double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.category-section--with-email {
    display: grid;
    grid-template-columns: 3fr 1fr;
    column-gap: 40px;
}

.category-section__navigation {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.category-section__navigation::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color) 40px, var(--border-color-divider) 40px);
}

.category-section__navigation_icon {
    width: 40px;
    height: 30px;
    margin-right: 10px;
}

.category-section__navigation_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-section__name {
    font-family: var(--second-font);
    color: var(--color-black);
    font-size: 22px;
    line-height: 30.8px;
    font-weight: 700;
    text-transform: uppercase;
}

.category-section__read-all {
    margin-left: auto;
    font-family: var(--third-font);
    color: var(--color-black);
    font-size: 16px;
    line-height: 22.4px;
    font-weight: 600;
}

.category-section__posts {
    display: grid;
    column-gap: 30px;
    row-gap: 40px;
}

.category-section__posts + .category-section__posts {
    margin-top: 30px;
}

.category-section__posts--row {
    --height: 230px;
}

.category-section__posts--sidebar {
    --height: 100px;
}

.category-section__posts--sidebar .small-post__text > * {
    color: var(--color-black);
}

.category-section__posts--latest-posts {
    --height: 340px;
}

.category-section__posts--sponsored {
    --height: 300px;
}

.category-section__posts.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.category-section__posts.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.category-section__posts.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.category-section__posts.row-2 {
    grid-template-rows: repeat(2, var(--height, 170px));
}

.category-section__posts.row-3 {
    grid-template-rows: repeat(3, var(--height, 170px));
}

.category-section__posts.child-1--row-2 .small-post {
    height: 100%;
}

.category-section__posts.child-1--row-2 .small-post:first-child {
    grid-row: 1/3;
}

@media screen and (max-width: 1024px) {
    .category-section.pt-60 {
        padding-top: 0px;
    }

    .category-section__posts.col-2, .category-section__posts.col-3.row-2, .category-section__posts.row-3 {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 30px;
    }

    .category-section__posts.col-4 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        row-gap: 30px;
    }

    .category-section--double, .category-section--with-email {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 30px;
    }

    .category-section--gray {
        padding: 50px;
    }

    .category-section, .category-section--with-email, .category-section--double {
        margin-bottom: 30px;
    }

    .category-section, .category-section--with-email .category-section, .category-section--double {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 768px) {
    .category-section__posts.col-4 {
        grid-template-columns: 1fr;
    }

    .category-section__posts.col-3 {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .category-section--gray {
        padding: 50px;
    }
}

.small-post {
    position: relative;
    display: grid;
    height: var(--height, 100%);
}

.small-post--gray {
    padding: 25px;
    background-color: #F5F5F5;
}

.small-post--horizontal {
    grid-template-columns: 1fr 1.6fr;
    column-gap: 20px;
}

.small-post--vertical {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(50%, 90%) 1fr;
}

.small-post--vertical-bg-img {
    grid-template-rows: 1fr;
}

.small-post--with-shadow {
    grid-template-rows: 326px minmax(179px, 1fr);
}

.small-post__wrapper-image {
    position: relative;
    overflow: hidden;
}

.small-post__wrapper-image img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.small-post__wrapper-image .small-post__category {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.small-post--horizontal .small-post__category {
    margin-bottom: 15px;
}

.small-post__category {
    display: inline-block;
    padding-inline: 12px;
    background-color: #fe4646;
    color: var(--color-white);
    font-family: var(--third-font);
    font-size: 13px;
    line-height: 24px;
    font-weight: 400;
    text-transform: uppercase;
}

.small-post--vertical .small-post__content {
    padding: 20px;
    background-color: #F5F5F5;
}

.small-post--vertical-bg-img .small-post__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 5%, rgba(0, 0, 0, 0.8));
}

.small-post--with-shadow .small-post__content {
    background-color: var(--background-color);
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.0392156863);
}

.small-post__title {
    color: var(--color-black);
    font-family: var(--second-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.small-post__title__link {
    font-weight: inherit !important;
}

.small-post__link:hover, .small-post__link:focus {
    color: var(--color-hover) !important;
}

.small-post--vertical-bg-img .small-post__link:hover, .small-post--vertical-bg-img .small-post__link:focus {
    color: rgba(255, 255, 255, 0.6);
}

.small-post__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.small-post__text > * {
    margin-top: 10px;
    color: var(--color-white);
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
}

.small-post--vertical-bg-img .small-post__title, .small-post--vertical-bg-img .small-post__text {
    color: var(--color-white);
}

.small-post__author {
    padding-top: 10px;
    margin-top: 15px;
    border-top: solid 2px rgba(204, 204, 204, 0.5);
}

.small-post__author-link {
    color: rgb(119, 119, 119);
    font-family: var(--second-font);
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
}

.single-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    column-gap: 30px;
    row-gap: 40px;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--padding-inline);
}

@media screen and (max-width: 1200px) {
    .single-page {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .single-page {
        padding-inline: 0;
        margin-bottom: 30px;
    }

    .single-page__sidebar {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}

.post__metadata {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post__author-name, .post__published-date {
    color: #777777;
    font-family: var(--second-font);
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}

.post__author-name {
    padding-right: 10px;
    margin-right: 10px;
    border-right: solid 1px #777777;
}

.post__image {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.post__title {
    color: var(--color-black);
    font-family: var(--second-font);
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.post__content img {
    display: block;
    max-width: 70%;
    margin-inline: auto;
}

.post__content h1, .post__content h2, .post__content h3, .post__content h4 {
    margin-top: 20px;
    margin-block: 16px;
    font-family: var(--second-font);
    color: rgb(51, 51, 51);
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

.post__content p,
.post__content table {
    margin-block: 16px;
    font-family: var(--primary-font);
    color: rgb(51, 51, 51);
    font-size: 19px;
    line-height: 22px;
    font-weight: 400;
}

.post__content p small {
    display: block;
    font-size: 14px;
    line-height: 2;
    text-align: center;
}

.post__content a {
    color: inherit !important;
    font-weight: 600 !important;
    box-shadow: inset 0 0px 0 white, inset 0 -9px 0 #efe2ba !important;

    &:has(img) {
        box-shadow: none !important;
    }
}

.post__content ul {
    padding-left: 40px;
}

.post__content a:hover, .post__content a:focus {
    font-weight: 800 !important;
}

a.wp-block-button__link.wp-element-button {
    color: #fff !important;
    box-shadow: none !important;
    background-color: #4056a1;
    border: 2px solid #4056a1;
    transition: all 0.3s ease;
}

a.wp-block-button__link.wp-element-button:hover {
    font-weight: 400 !important;
    background-color: transparent;
    color: #4056a1 !important;
}

.wp-block-video video {
    aspect-ratio: 19/9;
}

.post__content table td {

    box-shadow: none !important;
    background: transparent !important;
}

.post__content table a {
    display: block;
    background-color: #4056a1;
    border: 2px solid #4056a1;
    border-radius: 40px;
    padding: 12px 20px;
    color: #fff !important;
    font-family: var(--third-font) !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.post__content table a:hover {
    background-color: transparent;
    color: #4056a1 !important;
}

.post__content li {
    list-style: disc;
    font-family: var(--primary-font);
    font-size: 19px;
    line-height: 28px;
    font-weight: 400;
    padding-block: 4px;
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.post__tag {
    border-radius: 15px;
    padding: 5px 13px;
    background-color: #F5F5F5;
}

.post__tag a {
    display: block;
    font-family: var(--second-font);
    color: #707070;
    font-size: 13px;
    line-height: 20px;
}

.newsletter {
    align-self: flex-start;
    padding: 20px;
    margin-top: 70px;
    background-color: var(--background-black-color);
}

.newsletter--sidebar {
    margin-top: 0px;
}

.newsletter__text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    margin-bottom: 20px;
    color: var(--color-white);
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    text-align: center;
}

.newsletter--sidebar .newsletter__text {
    flex-direction: column;
}

.newsletter__icon {
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.newsletter__form {
    display: flex;
}

.newsletter__input {
    /*width: calc(100% - 45px);*/
    height: 45px;
    padding: 10px;
    background-color: var(--background-color);
    color: #8f8f8f;
    font-family: var(--third-font);
    font-size: 14px;
    font-weight: 400;
}

.newsletter__submit {
    width: 45px;
    height: 45px;
    background-color: #777777;
}

@media screen and (max-width: 1200px) {
    .newsletter--sidebar {
        display: grid;
        grid-template-columns: 240px;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .newsletter {
        display: grid;
        grid-template-columns: 240px;
        align-items: center;
        justify-content: center;
        margin-top: 0px;
    }
}

.alt-post__metadata {
    display: flex;
    column-gap: 4px;
    margin-block: 10px;
}

.alt-post__metadata-category, .alt-post__metadata-date {
    font-family: var(--second-font);
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.alt-post__metadata-category {
    color: rgb(0, 154, 205);
}

.alt-post__metadata-date {
    color: rgb(154, 154, 154);
}

.alt-post__image {
    width: 100%;
    max-width: 100%;
    max-height: 560px;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    object-position: center;
    margin-bottom: 50px;
}

.alt-post__title {
    color: rgb(31, 31, 31);
    font-family: var(--second-font);
    font-size: 36px;
    line-height: 50px;
    font-weight: 700;
    margin-bottom: 30px;
}

.alt-post__content {
    padding: 20px;
}

.alt-post__content img {
    max-width: 100%;
}

.alt-post__content h1, .alt-post__content h2, .alt-post__content h3, .alt-post__content h4, .alt-post__content h5, .alt-post__content h6, .alt-post__content a, .alt-post__content p, .alt-post__content button, .alt-post__content li {
    color: #000;
    font-family: var(--second-font);
}

.alt-post__content h1,
.alt-post__content h2,
.post__content h1,
.post__content h2 {
    font-size: 27px;
    line-height: 43px;
    font-weight: 700;
    margin-block: 22px;
}

.alt-post__content h3, .alt-post__content h4, .alt-post__content h5, .alt-post__content h6, .post__content h3, .post__content h4 {
    font-size: 21px;
    line-height: 33px;
    font-weight: 700;
    margin-block: 21px;
}

.alt-post__content a {
    color: inherit !important;
    font-weight: 600 !important;
    box-shadow: inset 0 0 0 white, inset 0 -9px 0 #efe2ba !important;
}

a:has(img) {
    box-shadow: none !important;
}

.alt-post__content a:hover, .alt-post__content a:focus {
    font-weight: 800 !important;
}

.alt-post__content ul {
    padding-left: 32px;
}

.alt-post__content table td {
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

a.elementor-button.elementor-button-link,
.alt-post__content table a {
    display: block;
    background-color: #4056a1;
    border: 2px solid #4056a1;
    border-radius: 40px;
    padding: 12px 20px;
    color: #fff !important;
    font-family: var(--third-font) !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;

    width: max-content;
    margin: 0 auto;
}

a.elementor-button.elementor-button-link:hover,
.alt-post__content table a:hover {
    background-color: transparent;
    color: #4056a1 !important;
}

.alt-post__content ul {
    margin-block: 20px;
}

.alt-post__content li {
    list-style: disc;
    font-family: var(--primary-font);
    font-size: 19px;
    line-height: 28px;
    font-weight: 400;
    padding-block: 4px;
}

.alt-post__content p {
    font-family: var(--primary-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    margin-block: 18px;
}

.alt-author {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.alt-author__photo {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    object-fit: contain;
    object-position: center;
}

.alt-author__name {
    color: rgb(8, 165, 203);
    font-family: var(--second-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
}

.author {
    display: flex;
    align-items: flex-start;
    column-gap: 50px;
    padding: 20px;
    margin-bottom: 20px;
    border: solid 1px #eee;
    background-color: #F5F5F5;
}

.author__photo {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    object-fit: cover;
    object-position: center;
}

.author__name {
    color: #333;
    font-family: var(--second-font);
    font-size: 24px;
    line-height: 33px;
    font-weight: 700;
}

.author__follow {
    display: block;
    padding: 7px 31px;
    margin-top: 30px;
    background-color: var(--background-black-color);
    color: var(--background-color);
    font-family: var(--second-font);
    font-size: 22.4px;
    line-height: 31.36px;
    font-weight: 400;
}

@media screen and (max-width: 991px) {
    .author {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    .author__photo {
        width: 150px;
        height: 150px;
    }

    .alt-post__image, .post__image {
        aspect-ratio: unset;
    }
}

html {
    --max-width: 1430px;
    --padding-inline: 15px;
    --primary-font: "Roboto", sans-serif;
    --second-font: "Poppins", sans-serif;
    --third-font: "IBM Plex Sans", sans-serif;
    --navy-color: #202b51;
    --background-color: #fff;
    --background-black-color: #000;
    --border-color: #ccc;
    --border-color_rgb: 204, 204, 204;
    --border-color-divider: #E6E6E6;
    --color-black: #000;
    --color-white: #fff;
    --color-text: #444444;
    --color-hover: #0023a2;
    --color-violet: #7A00CB;
    --color-red: #FF2020;
    --color-blue: #0085C4;
    --color-risd-blue: #004CFE;
    --color-orange-peel: #FE9900;
    --color-apple-green: #7DAF00;
    --color-alt-red: #FE002B;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background-color);
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 34px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--second-font);
}

p, button, a, input {
    font-size: inherit;
}

p, p a {
    font-family: var(--primary-font);
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, p a {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

h1 > a:hover, h1 > a:focus, h2 > a:hover, h2 > a:focus, h3 > a:hover, h3 > a:focus, h4 > a:hover, h4 > a:focus, h5 > a:hover, h5 > a:focus, p a:hover, p a:focus {
    font-weight: 800;
}

button, a, input {
    font-family: var(--third-font);
}

button, input {
    border: none;
    outline: none;
    background-color: transparent;
}

button {
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--padding-inline);
}

.homepage {
    display: flex;
    flex-direction: column;
}

.load-more-posts {
    display: block;
    margin-top: 20px;
    width: 100%;
    padding: 25px;
    border: 2px solid rgb(8, 165, 203);
    color: rgb(8, 165, 203);
    font-family: var(--third-font);
    font-size: 25px;
    line-height: 25px;
    font-weight: 700;
    transition: all 0.35s ease;
}

.load-more-posts:hover {
    border-color: #202a5d;
    color: #202a5d;
}

.search-form {
    display: flex;
    margin-bottom: 40px;
}

.search-form__input {
    border: 1px solid #ccc;
    height: 50px;
    width: 100%;
    padding: 12px 16px;
    font-family: var(--third-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.search-form__submit {
    color: var(--color-white);
    background-color: var(--background-black-color);
    padding: 12px 18px;
    font-family: var(--third-font);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    width: 220px;
}

@media screen and (max-width: 1024px) {
    .homepage {
        row-gap: 30px;
    }
}

.btn-link-wrapper {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

.btn-link-wrapper .btn-link {
    width: 100% !important;
    max-width: 220px !important;
}

.wp-block-buttons {
    text-align: center;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.alt-post__meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 991px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .alt-post {
        padding-top: 10px;
    }

    .alt-header__logo {
        max-width: 200px;
        height: 28px;
    }

    .alt-header__menu-button, .alt-header__search {
        height: 55px;
    }

    .alt-header__menu-item {
        &:first-child {
            width: 100%;
            justify-content: center;
        }

        &:not(:first-child):not(:last-child) {
            display: none;
        }
    }

    .alt-post__title {
        font-size: 30px;
        line-height: 1.3;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .alt-post__image {
        max-height: 350px;
        margin-bottom: 15px;
    }

    .alt-post__metadata {
        margin: 0;
    }

    .alt-post__content {
        padding: 5px;
    }


    .alt-post__content h2,
    .post__content h2,
    .alt-post__content h3,
    .post__content h3,
    .alt-post__content h4,
    .post__content h4 {
        line-height: 1.4;
        margin-block: 0;
    }

    .alt-post__content h2,
    .post__content h2 {
        font-size: 24px;
    }


    .alt-post__content h3,
    .post__content h3 {
        font-size: 22px;
    }


    .alt-post__content h4,
    .post__content h4 {
        font-size: 20px;
    }

    a.wp-block-button__link.wp-element-button {
        margin-top: 10px;
        box-shadow: 4px 4px 6px gray !important;
        font-size: 21px;
    }

    .alt-post__content p {
        font-size: 17px;
    }
}

#termly-code-snippet-support {
    display: none !important;
    opacity: 0 !important;
    position: fixed !important;
    top: -100% !important;
    left: -100% !important;
    z-index: -1 !important;
}