/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/

/* Fonts */
@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/DanaFaNum-Bold.woff2') format('woff2');
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/DanaFaNum-Medium.woff2') format('woff2');
    font-weight: 500; /* Medium */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/DanaFaNum-Regular.woff2') format('woff2');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/DanaFaNum-Light.woff2') format('woff2');
    font-weight: 300; /* Light */
    font-style: normal;
    font-display: swap;
}

.ltr {
    direction: ltr;
}

.rtl {
    direction: rtl;
}

body {
    background-color: #ffffff;
    color: #111;
}

body * {
    font-family: Dana !important;
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-light {
    font-weight: 300;
}

.font-1rem {
    font-size: 1rem;
}

/* Flex */
.flex {
    display: flex !important;
}

.inline-flex {
    display: inline-flex !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-col, .flex-column {
    flex-direction: column !important;
}

.flex-col-reverse, .flex-column-reverse {
    flex-direction: column-reverse !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse !important;
}

.items-start {
    align-items: flex-start !important;
}

.items-center {
    align-items: center !important;
}

.items-end {
    align-items: flex-end !important;
}

.items-stretch {
    align-items: stretch !important;
}

.items-baseline {
    align-items: baseline !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-end {
    justify-content: flex-end !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-around {
    justify-content: space-around !important;
}

.justify-evenly {
    justify-content: space-evenly !important;
}

.self-auto {
    align-self: auto !important;
}

.self-start {
    align-self: flex-start !important;
}

.self-center {
    align-self: center !important;
}

.self-end {
    align-self: flex-end !important;
}

.self-stretch {
    align-self: stretch !important;
}

.self-baseline {
    align-self: baseline !important;
}

.flex-1 {
    flex: 1 1 0 !important;
}

.flex-auto {
    flex: 1 1 auto !important;
}

.flex-initial {
    flex: 0 1 auto !important;
}

.flex-none {
    flex: none !important;
}

.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 0.75rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-5 {
    gap: 1.25rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

.gap-7 {
    gap: 2rem !important;
}

.gap-8 {
    gap: 3rem !important;
}

.gap-9 {
    gap: 5rem !important;
}

.gap-10 {
    gap: 10rem !important;
}

.flex-center {
    justify-content: center;
    align-content: center;
    align-items: center;
}

.d-none {
    display: none;
}

.block, .d-block {
    display: block;
}

.inline-block {
    display: block;
}

/* MARGIN — all sides */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.m-3 {
    margin: 0.75rem !important;
}

.m-4 {
    margin: 1rem !important;
}

.m-5 {
    margin: 1.25rem !important;
}

.m-6 {
    margin: 1.5rem !important;
}

.m-7 {
    margin: 2rem !important;
}

.m-8 {
    margin: 3rem !important;
}

.m-9 {
    margin: 5rem !important;
}

.m-10 {
    margin: 10rem !important;
}

/* MARGIN X-axis (left & right) */
.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.mx-2 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.mx-3 {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
}

.mx-4 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-5 {
    margin-left: 1.25rem !important;
    margin-right: 1.25rem !important;
}

.mx-6 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.mx-7 {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}

.mx-8 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}

.mx-9 {
    margin-left: 5rem !important;
    margin-right: 5rem !important;
}

.mx-10 {
    margin-left: 10rem !important;
    margin-right: 10rem !important;
}

/* MARGIN Y-axis (top & bottom) */
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.my-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-5 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.my-6 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-7 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.my-8 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.my-9 {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}

.my-10 {
    margin-top: 10rem !important;
    margin-bottom: 10rem !important;
}

/* Margin Top (mt-*) */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-5 {
    margin-top: 1.25rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.mt-7 {
    margin-top: 2rem !important;
}

.mt-8 {
    margin-top: 3rem !important;
}

.mt-9 {
    margin-top: 5rem !important;
}

.mt-10 {
    margin-top: 10rem !important;
}

/* Margin Bottom (mb-*) */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-5 {
    margin-bottom: 1.25rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-7 {
    margin-bottom: 2rem !important;
}

.mb-8 {
    margin-bottom: 3rem !important;
}

.mb-9 {
    margin-bottom: 5rem !important;
}

.mb-10 {
    margin-bottom: 10rem !important;
}

/* PADDING — all sides */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 0.75rem !important;
}

.p-4 {
    padding: 1rem !important;
}

.p-5 {
    padding: 1.25rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

.p-7 {
    padding: 2rem !important;
}

.p-8 {
    padding: 3rem !important;
}

.p-9 {
    padding: 5rem !important;
}

.p-10 {
    padding: 10rem !important;
}

/* PADDING X-axis */
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.px-3 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-5 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.px-7 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.px-8 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.px-9 {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}

.px-10 {
    padding-left: 10rem !important;
    padding-right: 10rem !important;
}

/* PADDING Y-axis */
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.py-6 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-7 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-8 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.py-9 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-10 {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

/* Padding Top (pt-*) */
.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 0.75rem !important;
}

.pt-4 {
    padding-top: 1rem !important;
}

.pt-5 {
    padding-top: 1.25rem !important;
}

.pt-6 {
    padding-top: 1.5rem !important;
}

.pt-7 {
    padding-top: 2rem !important;
}

.pt-8 {
    padding-top: 3rem !important;
}

.pt-9 {
    padding-top: 5rem !important;
}

.pt-10 {
    padding-top: 10rem !important;
}

/* Padding Bottom (pb-*) */
.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 0.75rem !important;
}

.pb-4 {
    padding-bottom: 1rem !important;
}

.pb-5 {
    padding-bottom: 1.25rem !important;
}

.pb-6 {
    padding-bottom: 1.5rem !important;
}

.pb-7 {
    padding-bottom: 2rem !important;
}

.pb-8 {
    padding-bottom: 3rem !important;
}

.pb-9 {
    padding-bottom: 5rem !important;
}

.pb-10 {
    padding-bottom: 10rem !important;
}

.w-100, .w-full {
    width: 100%;
}

.w-100vw {
    width: 100vw;
}

.h-100 {
    height: 100%;
}

.h-100vh {
    height: 100vh;
}


/* General */
body a {
    color: #ffa210;
}

body a:hover {
    color: #d88500;
}

.theme-toggle-wrapper {
    position: fixed;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-switch-btn {
    background: white;
    color: #424242;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 1px 1px 4px #979797;
}

body h1.tdb-title-text, body .post .tdb-title-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.5rem;
}

body h2, body h2 * {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 2rem;
}

body .tdb_breadcrumbs {
    margin: 2rem 0;
    line-height: 1.75rem;
}

body .tdb_breadcrumbs a, .tdb_breadcrumbs span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #363636;
}

body .tdb_breadcrumbs .tdb-bred-no-url-last {
    font-size: 1rem;
    color: black;
}

/* Menu */
body .tdm-header .header-search-wrap {
    margin-left: 140px;
}

@media (max-width: 768px) {
    body .tdm-header .header-search-wrap {
        margin-left: 5px;
    }
}

body .menu-btn-cta {
    position: absolute;
    left: 0;
    top: 20%;
}

body .menu-btn-cta a {
    background-color: #ffc117;
    color: black;
    border-radius: 4px;
    line-height: 40px !important;
    height: 40px;
}

body.rtl .td-mobile-main-menu {
    flex-direction: column;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    body .menu-btn-cta {
        position: relative;
        margin-top: 32px;
    }

    body .menu-btn-cta a {
        background-color: #ffc117;
        color: black;
        border-radius: 4px;
        line-height: unset;
        height: unset;
        text-align: center;
    }
}

body .menu-btn-cta a:hover {
    background: #ffa507;
}

body .td-header-gradient:before {
    display: none;
}

.td-header-menu-wrap-full {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rtl .sf-menu li {
    float: right;
}

.sf-menu a.sf-with-ul {
    padding: 0 16px;
}

.sf-menu > li > a {
    font-weight: 500;
}

.sf-menu > li > ul.sub-menu > li > ul.sub-menu {
    right: 99% !important;
    width: 10rem;
    min-width: 15rem;
    max-width: 20rem;
}

.sf-menu > li > a i.td-icon-menu-down {
    margin-right: 5px;
}

.sf-menu .sub-menu .td-icon-menu-down {
    right: unset;
    left: 19px !important;
    rotate: 180deg;
    margin-top: -5px;
    line-height: 1;
}

.sf-menu ul .td-menu-item > a {
    font-size: 0.9rem;
}

.align-left {
    text-align: left;
}

.td-main-menu-logo {
    display: flex !important;
    float: right !important;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-right: 0 !important;
    margin-left: 16px !important;
}

.tdm-header .header-search-wrap {
    float: left;
    margin-left: 5rem;
}

.td-header-wrap #td-header-search {
    border-right: 1px solid;
}

.td-header-wrap .td-drop-down-search .btn {
    right: unset;
}

.tdc-row {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 1400px !important;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .tdc-row {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.tdc-row.stretch_row {
    max-width: 100% !important;
    padding: 0 !important;
}

.vc_row_inner .wpb_column {
    float: right;
}

/* Home Page: Hero Cards */
/* Wrapper layout */
#hero .hero-posts-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    max-height: 450px; /* limit height on desktop */
}

/* Column rules */
#hero .bigger-side {
    flex: 0 0 60%;
}

#hero .smaller-side {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Hero post box */
#hero .hero-post {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

/* Image & overlay container */
#hero .hero-thumb {
    position: relative;
}

#hero .hero-thumb img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Overlay content on image */
#hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1rem;
    border-radius: 0 0 6px 6px;
    height: 120px;
    overflow-y: hidden;
}

#hero .hero-title {
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

#hero .hero-title a {
    text-decoration: none;
    color: #fff;
}

#hero .hero-post-1 .hero-title a {
    font-size: 1.25rem;
    font-weight: 700;
}

#hero .hero-post-n .hero-title a {
    font-size: 1rem;
    font-weight: 700;
}

#hero .hero-title a:hover {
    color: #ffd700;
    transition: color;
    transition-duration: 200ms;
}

#hero .hero-excerpt {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

#hero .hero-date {
    font-size: 0.8rem;
    color: #ccc;
}

/* Mobile layout: stack posts */
@media (max-width: 768px) {
    #hero .hero-posts-wrapper {
        flex-direction: column;
        max-height: none; /* remove desktop restriction */
    }

    #hero .bigger-side,
    #hero .smaller-side {
        flex: 0 0 100%;
    }

    #hero .smaller-side {
        flex-direction: column;
    }

    #hero .hero-thumb img {
        max-height: none;
        height: auto;
    }

    #hero .hero-title {
        margin: 0 0 1rem 0;
    }

    #hero .hero-title a {
        font-size: 1rem !important;
        font-weight: 700;
        line-height: 2rem;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* lines to show */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #hero .hero-excerpt,
    #hero .hero-date {
        display: none;
    }

    #hero .hero-overlay {
        height: 86px;
    }
}

#cta {
    align-content: center;
    background: linear-gradient(90deg, #FFE08B 0%, #FFC117 50%, #FFE08B 100%);
    margin: 128px 0 64px 0;
    height: 300px;
}

#cta .cta-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

#cta .cta-content img {
    position: absolute;
    bottom: -72px;
    left: 10rem;
}

#cta h3 {
    font-size: 1.75rem;
    font-weight: bold;
}

#cta p {
    font-size: 1.5rem;
    color: rgb(56 62 66);
}

#cta .tdm-btn {
    font-size: 1.2rem;
    background-color: #0a0a0a;
}

@media (max-width: 768px) {
    #cta {
        margin: 64px 0;
    }

    #cta .cta-content img {
        bottom: -32px;
        left: 0;
        width: 200px;
    }

    #cta h3 {
        font-size: 1.25rem;
    }

    #cta p {
        font-size: 1rem;
        max-width: 480px;
    }

    #cta .tdm-btn {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #cta p {
        max-width: 240px;
    }
}

.ramzinex-post-slider-wrapper {
    margin: 48px 0;
}

/* Footer */
#footer .block-title {
    text-align: right;
    margin-bottom: 0.5rem;
}

#footer .td_block_title {
    margin-bottom: 0;
}

#footer .btn-app-download a {
    font-size: 0.9rem;
    font-weight: bold;
    color: black;
}

#footer .btn-app-download a:hover {
    background-color: #ffc117 !important;
    color: white;
}

#footer {
    border-style: solid !important;
    border-color: #2222220f !important;
    border-width: 1px !important;
}

.td-footer-template-wrap {
    padding-top: 64px;
}

.footer-heading {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.footer-heading .footer-heading-download {
    text-align: left;
}

.social-icons-box {
    margin-bottom: 4rem;
}

.social-icons-box .__title {
    display: none;
}

.social-icon-box {
    background-color: rgb(241, 241, 241);
    border-radius: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    width: 100%;
    text-align: center;
}

.social-icon-box .__icon img {
    width: 64px;
    height: 64px;
    margin-bottom: 0;
}

.social-icon-box .__text {
    font-size: 1rem;
    font-weight: 500;
    color: black;
}

@media (max-width: 640px) {
    .social-icons-box {
        background-color: #efefef;
        border-radius: 1rem;
        padding: 1rem;
    }

    .social-icon-box {
        background: none;
        padding-bottom: 0;
    }

    .social-icon-box .__icon img {
        margin-bottom: 0;
    }

    .social-icons-box .__title {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 0.5rem;
    }

    .social-icon-box .__text {
        display: none;
    }
}

@media (max-width: 420px) {
    .social-icon-box .__icon img {
        width: 48px;
        height: 48px;
    }
}

.post .tdb_single_tags a {
    padding: 3px;
    font-size: 0.75rem;
    background-color: rgb(255 248 228);
    border: none;
}

.post .tdb_single_tags a:hover {
    color: #171717;
}

@media (max-width: 767px) {
    .post .singlepost-sidebar-left {
        display: none;
    }
}


@media (max-width: 767px) {
    .sm-block {
        display: block;
    }
}

.post .tdb_single_toc .tdb-block-inner {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgb(250 250 250);
}

.post .tdb_single_toc .tdb-block-inner li {
    margin-top: 0.5rem;
}

.post .tdb_single_toc .tdb-stoc-title {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.75rem;
}

.post .singlepost-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: center;
}

.post .singlepost-meta a, .post .singlepost-meta span {
    font-size: 0.8rem;
}

.post .tdb_single_reading_time .tdb-block-inner {
    text-align: left;
}

.post .tdb_single_reading_time i {
    margin-left: 0.5rem;
}

.post img {
    border-radius: 0.75rem;
}

.compact-mode .social-icons-box {
    background-color: #efefef;
    border-radius: 1rem;
    padding: 1rem;
}

.compact-mode .social-icon-box {
    background: none;
    padding-bottom: 0;
}

.compact-mode .social-icon-box .__icon img {
    margin-bottom: 0;
}

.compact-mode .social-icons-box .__title {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.compact-mode .social-icon-box .__text {
    display: none;
}

.compact-mode .social-icon-box .__icon img {
    width: 48px;
    height: 48px;
}

.side-cta {
    position: relative;
    background: linear-gradient(90deg, #FFE08B 0%, #FFC117 50%);
    height: 220px;
    border-radius: 0.5rem;
}

.side-cta .__logo {
    margin-bottom: 1.5rem;
}

.side-cta .__btn {
    background-color: #0a0a0a;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.2rem;
}

.side-cta .__text {
    width: 70%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: rgb(56 62 66);
}

.side-cta .__image {
    position: absolute;
    top: -4px;
    left: -32px;
    width: 160px;
}

.side-box {
    padding: 1rem !important;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgb(250 250 250);
    margin-bottom: 1.5rem;
}

.side-box .td_block_wrap {
    margin-bottom: 0;
}

.side-box .__heading {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.75rem;
}

.side-box .__currency {
    padding-top: 1rem;
}

.side-box .__logo img {
    margin-bottom: 0;
    width: 38px;
    height: 38px;
    vertical-align: middle;
}

.side-box .__currency .__name {
    font-weight: 500;
}

.side-box a {
    color: #0a0a0a;
    font-weight: 500;
}

.side-box a:hover {
    color: #cc7a00;
}

.side-box .__currency .__symbol {
    color: gray;
}

.__change-percent.positive {
    color: green;
}

.__change-percent.negative {
    color: red;
}

.__change-percent.neutral {
    color: gray;
}

.comments .logged-in-as {
    display: none;
}

/* Categories */
body .tdb_category_description {
    padding-right: 0;
}

body .tdb_category_description .tdb-block-inner * {
    font-style: normal;
}

/* Posts Loop */
/* Grid container */
.ramzinex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1280px) {
    .ramzinex-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .ramzinex-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ramzinex-grid {
        grid-template-columns: 1fr;
    }
}

/* Card styling */
.ramzinex-card {
    background-color: rgb(250, 250, 250); /* light background */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}

.ramzinex-card__image {
    position: relative;
}

.ramzinex-card__thumb {
    width: 100%;
    height: auto;
    display: block;
}

.ramzinex-card__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ramzinex-card__meta {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ramzinex-card__author {
    font-weight: 600;
}

.ramzinex-card__title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.ramzinex-card__title a {
    color: #222;
    text-decoration: none;
}

.ramzinex-card__title a:hover {
    color: #ffa210;
}

.ramzinex-card__excerpt {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: auto; /* pushes readmore to bottom */
}

.ramzinex-card__footer {
    margin-top: 12px;
}

.ramzinex-card__readmore {
    font-size: 0.85rem;
    font-weight: bold;
    color: #292929;
    text-decoration: none;
}

.ramzinex-card__readmore:hover {
    text-decoration: underline;
}

/* Pagination styling */
.ramzinex-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.ramzinex-pagination a {
    padding: 6px 12px;
    background: #f3f3f3;
    color: #333;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ddd;
}

.ramzinex-pagination .current {
    color: #4c4c4c;
}

.ramzinex-coin-card {
    background-color: rgb(250, 250, 250);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.2s ease-in-out;
}

.ramzinex-coin-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ramzinex-coin-card .__image img {
    height: 54px;
    margin-bottom: 0.5rem;
}

.ramzinex-coin-card .__title {
    font-weight: 500;
    font-size: 1rem;
    color: #222;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .ramzinex-coins-grid {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .ramzinex-coins-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ramzinex-coin-card .__title {
        font-size: 0.8rem;
    }

    .ramzinex-coin-card .__image img {
        height: 48px;
        margin-bottom: 0.25rem;
    }
}

/* Hide initially for load more */
.hidden {
    display: none !important;
}

/* Load More button */
.ramzinex-load-more {
    padding: 0.5rem 1.5rem;
    background-color: #ffc117;
    color: black;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.ramzinex-load-more:hover {
    background-color: #b37400;
}

body .posts-grid {
    padding: 1rem;
}

body .posts-grid .tdb-block-inner {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1280px) {
    body .posts-grid .tdb-block-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    body .posts-grid .tdb-block-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body .posts-grid .tdb-block-inner {
        grid-template-columns: 1fr;
    }
}

body .posts-grid .tdb_module_loop {
    background-color: rgb(250 250 250);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    width: 100% !important;
}

.posts-grid .td-module-container .td-image-container .entry-thumb {
    border-radius: 0.5rem;
}

.posts-grid .td-module-container a.td-post-category {
    display: none;
}

.posts-grid .td-module-container .entry-title a {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Wrapper — common flex row/scroll container */
.ramzinex-post-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
    scrollbar-width: none; /* Firefox small scrollbar */
    scroll-snap-type: x mandatory; /* CSS snap */
}

/* Hide scrollbar in Webkit */
.ramzinex-post-slider::-webkit-scrollbar {
    height: 6px;
}

.ramzinex-post-slider::-webkit-scrollbar-track {
    background: transparent;
}

.ramzinex-post-slider::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

/* RTL support */
html[dir="rtl"] .ramzinex-post-slider {
    direction: rtl;
}

html[dir="rtl"] .ramzinex-slide {
    direction: ltr;
}

@media (min-width: 1024px) {
    .ramzinex-post-slider__heading {
        border-width: 0 0 1px 0;
        border-color: rgb(227 229 231);
        border-style: solid;
    }
}

.ramzinex-post-slider__heading h2 {
    font-size: 1rem;
    color: rgb(28 31 33);
    margin: 0;
}

.ramzinex-post-slider__heading a {
    font-size: 0.875rem;
    color: rgb(128 138 146);
}

/* Add a gradient overlay at the edges of the slider */
.ramzinex-post-slider::before,
.ramzinex-post-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px; /* Width of the gradient */
    pointer-events: none; /* Make sure it doesn't block clicks */
    z-index: 1;
}

.ramzinex-post-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    display: none; /* Initially hidden */
}

.ramzinex-post-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    display: none; /* Initially hidden */
}

/* Position caret buttons */
.ramzinex-slider__caret {
    position: absolute;
    bottom: 5%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: none; /* Default hidden */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.ramzinex-slider__caret:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.ramzinex-slider__caret--left {
    left: 10px;
}

.ramzinex-slider__caret--right {
    right: 10px;
}

/* Responsive adjustments for desktop only */
@media (max-width: 767px) {
    .ramzinex-post-slider::before {
        display: none; /* Show gradient for desktop */
    }

    .ramzinex-post-slider::after {
        display: none; /* Show gradient for desktop */
    }

    .ramzinex-slider__caret {
        display: none; /* Show carets for desktop */
    }
}

.ramzinex-slider__caret img {
    width: 16px;
    height: 16px;
    margin-bottom: 0;
}

.ramzinex-post-slider__slide {
    max-width: 375px;
    min-width: 320px;
    background-color: rgb(250 250 250);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.ramzinex-post-slider__slide.darker-bg {
    background-color: rgb(234 234 234);
}

.ramzinex-post-slider__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ramzinex-post-slider__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ramzinex-post-slider__title {
    color: rgb(50, 50, 50);
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
}

.ramzinex-post-slider__meta {
    font-size: 0.75rem;
    color: #0a0a0a;
}

.ramzinex-post-slider__excerpt {
    color: #0a0a0a;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ramzinex-post-slider__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

body .ramzinex-post-slider__read-more {
    display: flex;
    flex-direction: row;
    color: rgb(193 122 1);
    font-size: 0.875rem;
    font-weight: bold;
    align-items: center;
    justify-content: end;
}

body .ramzinex-post-slider__read-more img {
    width: 14px;
    height: 14px;
    margin: 0 0.375rem;
    padding: 0;
}

body img {
    border-radius: 0.5rem;
}

/* Special Styles */
.ramzinex-post-slider__slide--news .ramzinex-post-slider__header img {
    height: 64px;
    max-width: 75px;
    min-width: 75px;
    border-radius: 0.5rem;
}

.ramzinex-post-slider__slide--article {
    padding: 0;
}

.ramzinex-post-slider__slide--article .ramzinex-post-slider__header img {
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    height: 186px;
}

.ramzinex-post-slider__slide--news .ramzinex-post-slider__title {
    font-size: 0.85rem;
}

figcaption {
    text-align: center !important;
    font-size: 0.95rem !important;
}

body .wp-block-quote p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #5c5c5c;
}

body .td-post-content ul,
body .td-post-content ol {
    padding-right: 1.5rem;
}

#rank-math-faq .rank-math-list-item {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
}

.post-comments-wrapper {
    margin-top: 5rem;
}

.tdb-author-info {
    padding-right: 1.5rem
}

body .comment-form input[type=text] {
    background-color: white;
}

body .td-post-content ol, ol li {
    list-style-type: decimal;
}

body .td-post-content ul, ul li {
    list-style-type: disc;
}

/* Default styles for all screen sizes */
.top-menu-banner {
    width: 100%;
    height: 100%;
    display: block;
    max-height: 40px;
    background-color: #fcb31e;
}

.top-menu-banner video {
    width: 100%;
    height: 100%;
    background-color: #fcb31e;
}

.video-desktop {
    display: none;
    max-height: 40px;
}

.video-mobile {
    display: flex;
    max-height: 40px;
}

@media (min-width: 900px) {
    .top-menu-banner {
        max-height: 56px;
    }

    .video-desktop {
        display: flex;
        max-height: 56px;
    }

    .video-mobile {
        display: none;
        max-height: 56px;
    }
}

@media (max-width: 899px) {
    .video-desktop {
        display: none;
        max-height: 40px;
    }

    .video-mobile {
        display: flex;
        max-height: 40px;
    }
}

body img.tdb-logo-img,
body .td-header-logo img {
    border-radius: 0;
}

body .posts-grid .tdb_module_loop a {
    color: #252525;
}

body .wp-block-button a.wp-block-button__link {
    background-color: #ffa507 !important;
    color: black !important;
    font-weight: 500 !important;
}

body .wp-block-button a.wp-block-button__link:hover {
    background-color: #cc8300 !important;
    color: black !important;
    font-weight: 500 !important;
}

/**********************/
/***** DARK THEME *****/
/**********************/
/*.theme-switch-btn {*/
/*    display: none !important;*/
/*}*/

body.dark-theme .theme-switch-btn {
    background-color: #191919;
    color: white;
}

body.dark-theme {
    background-color: #343434;
}

body.dark-theme a {
    color: var(--td_theme_color);
}

body.dark-theme .side-box a {
    color: white;
}

body.dark-theme *,
body.dark-theme ul.sub-menu a,
body.dark-theme li a,
body.dark-theme .tdb_breadcrumbs a,
body.dark-theme .tdb_breadcrumbs span,
body.dark-theme .tdb_breadcrumbs .tdb-bred-no-url-last,
body.dark-theme .tdb-author-name,
body.dark-theme .side-box a.__link,
body.dark-theme .social-icon-box .__text {
    color: white;
}

body.dark-theme .td-header-wrap .td-header-menu-wrap-full,
body.dark-theme .td-drop-down-search-open {
    background-color: #212121;
}

body.dark-theme .menu-btn-cta a,
body.dark-theme .menu-btn-cta a:hover,
body.dark-theme input[type=text],
body.dark-theme textarea {
    color: black;
}

body.dark-theme ul.sub-menu {
    background-color: #1d1d1d;
}

body.dark-theme a:hover,
body.dark-theme a.__link:hover,
body.dark-theme .ramzinex-post-slider__title:hover,
body.dark-theme a span:hover {
    color: #ffa507;
}

body.dark-theme .side-box {
    border: 1px solid rgb(0 0 0 / 32%);
    background-color: rgb(48 48 48);
}

body.dark-theme .side-box .__heading,
body.dark-theme .post .tdb_single_toc .tdb-stoc-title {
    border-bottom: 1px solid rgb(0 0 0 / 15%);
}

body.dark-theme .side-box .__currency .__symbol {
    color: #c2c2c2;
}

body.dark-theme .social-icons-box,
body.dark-theme .post .tdb_single_toc .tdb-block-inner {
    background-color: rgb(48 48 48);
}

body.dark-theme .social-icon-box {
    background-color: rgb(40 40 40);
}

body.dark-theme .ramzinex-post-slider__slide,
body.dark-theme .ramzinex-post-slider__slide.darker-bg {
    background-color: rgb(61 61 61);
}

body.dark-theme .cta-content h3 {
    color: #0a0a0a;
}

body.dark-theme .wp-block-table th,
body.dark-theme .wp-block-table td {
    color: #2b2b2b;
}

body.dark-theme .wp-block-quote p {
    color: #d1d1d1;
}

body.dark-theme .posts-grid .tdb_module_loop {
    background-color: rgb(59 59 59);
    border: 1px solid rgb(0 0 0 / 25%);
}

body.dark-theme .posts-grid .tdb_module_loop a {
    color: white;
}

body.dark-theme .posts-grid .tdb_module_loop a:hover {
    color: #ffa507;
}

body.dark-theme .wp-block-button a.wp-block-button__link {
    background-color: #ffa507;
    color: black;
    font-weight: 500;
}

body.dark-theme .wp-block-button a.wp-block-button__link:hover {
    background-color: #cc8300;
    color: black;
    font-weight: 500;
}