/*
Theme Name: OMG Casino Blog
Theme URI: https://omgcasino.com/
Author: Yagna P (Blazesoft)
Description: A custom WordPress theme for OMG Casino Blogs.
Version: 1.0.0
Tags: casino, gaming, omg
Text Domain: omg-casino-blog
*/

:root {
    --primary-font: "Open Sans", sans-serif;
    --secondary-font: "Jost", sans-serif;
    --bg-color: #000000;
    --sec-bg-color: #0F1115;
    --header-height: 3.5rem;
    --nav-width: 70px;
    --yellow-gold: #E2C562;
    --border-color: #4A4A50;
    --primary-font-color: #fff;
    --gradient-gold-start: #f7de7c;
    --gradient-gold-middle: #fff3a5;
    --gradient-gold-end: #b27f2b;
    --gradient-gold: linear-gradient(180deg, var(--gradient-gold-start) 12.81%, var(--gradient-gold-middle) 49.05%, var(--gradient-gold-end) 82.19%);
}

*,
::before,
::after {
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    font-size: var(--normal-font-size);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
a,
span {
    color: var(--primary-font-color);
}

/* Header styles */
.sp_login-home-header-top, .sp_sign-up-home-header-top{
    display: none;
}
.sp_login-home-header-top {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 13px 40px;
    background: var(--sec-bg-color);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    vertical-align: middle;
}

.sp_login-home-header-top:hover {
    background: var(--yellow-gold);
    color: var(--sec-bg-color);
    border: 2px solid var(--yellow-gold);
}

.sp_sign-up-home-header-top {
    color: var(--sec-bg-color);
    background: var(--yellow-gold);
    border-radius: 12px;
    padding: 12px 40px;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    vertical-align: middle;
    border: none;
}

.sp_sign-up-home-header-top:hover {
    background: var(--yellow-gold);
    color: var(--sec-bg-color);
}

.sp_sign-up-home-header-top img {
    position: absolute;
    right: -20px;
    top: 4px;
}

.menu-divider {
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

li.menu-item a {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -4%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-menu {
    display: none;
}

.sticky-header {
    background-color: rgb(from var(--black, #000) r g b / 65%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
}

/* Header style end */

/* Footer styles */
footer p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.footer_nav {
    display: contents;
}

.menu_lists {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer_menu_label {
    font-weight: 700;
    font-size: 16px;
    line-height: 180%;
    color: var(--yellow-gold);
}

.footer-divider {
    border: 2px solid var(--border-color);
    margin-top: 20px;
    width: 100%;
}

.footer-menu li a {
    font-weight: 600;
    font-size: 13px;
    line-height: 180%;
    letter-spacing: -2.5%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-transform: unset;
    text-decoration-thickness: 0%;
}

.footer-menu li a:hover,
a.view-all-blog:hover,
li.menu-item a:hover {
    color: var(--primary-font-color);
}

.home-layout__bottom-button-container {
    display: none;
    position: fixed;
    inset-inline-end: 0;
    inset-block-end: 0;
    z-index: 99999;
    inline-size: 100%;
    justify-content: center;
    gap: .625rem;
    background-color: var(--black, #000);
    padding: .875rem 1.625rem;
    border-block-start: .0625rem solid var(--border-color, #4a4a50);
}

/* Footer Styles End */

/* Home page styles start */
section.banner {
    background-image: url(/blog/wp-content/uploads/2025/05/home-banner-desktop.png);
    height: 400px;
    background-size: cover;
    background-position: right;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    display: flex;
    align-items: center;
}

section.banner span,
section.banner p:first-of-type {
    display: inline;
    font-weight: 700;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
    border: 1px solid var(--border-color);
    padding: 3px 20px;
    border-radius: 8px;
}

h1 {
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: -4%;
}

h3 {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -2%;
    vertical-align: middle;
}

h2 {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -4%;
}

section.banner p {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
}

.card {
    background: var(--sec-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 33px;
}

.card img {
    border-radius: 33px;
}

a.view-all-blog {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
}

a.view-all-blog::after {
    content: "";
    display: inline-block;
    width: 7px;
    /* Adjust based on your SVG size */
    height: 12px;
    margin-left: 8px;
    background-image: url('/blog/wp-content/uploads/2025/05/view-all.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.card-title {
    font-size: 22px;
    line-height: 126%;
    text-decoration: none;
    cursor: pointer;
}

.card-title:hover {
    color: var(--yellow-gold);
}

.card-body {
    padding: 1.25rem;
    gap: 12px;
}

.meta-info {
    display: flex;
    gap: 15px;
}

.meta-info span {
    position: relative;
    padding-left: 20px;
}

.meta-info span::before {
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
    /* top: 2px; */
}

.meta-info .author::before {
    background-image: url('/blog/wp-content/themes/omgblogs/images/author-icon.svg');
}

.meta-info .modified::before {
    background-image: url('/blog/wp-content/themes/omgblogs/images/last-updated.svg');
}

.meta-info .reading-time::before {
    background-image: url('/blog/wp-content/themes/omgblogs/images/reading-time.svg');
}

span.author,
.modified,
.reading-time {
    font-weight: 400;
    font-size: 12px;
    color: #727272;
    text-transform: capitalize;
}

p.card-text,
li.breadcrumb-item {
    font-weight: 400;
    font-size: 14px;
    line-height: 126%;
}

a.read-article-link,
.read-all-article,
.read-all-article:hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Space between text and icon */
    color: var(--yellow-gold);
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    text-decoration: none;
    position: relative;
    /* Not strictly needed now, but safe to keep */
}

.read-article-link::after {
    content: "";
    display: inline-block;
    background: url('/blog/wp-content/themes/omgblogs/images/read-more.svg') no-repeat center;
    width: 16px;
    height: 16px;
}

.card-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card-scroll-row {
    display: flex;
    flex-wrap: nowrap;
}

.card-scroll-row>.col-md-4 {
    flex: 0 0 calc(66.66%);
    /* Show about 1.5 cards */
    max-width: calc(66.66%);
    min-width: 280px;
}

/* Home page styles ends */

/* Category page css STARTS  */

.category-breadcrumbs p {
    font-size: 14px;
    line-height: 100%;
}

.category-breadcrumbs p a {
    color: var(--yellow-gold);
    text-decoration: none;
}

.category-description {
    color: var(--primary-font-color);
    font-weight: 400;
    font-size: 18px;
    line-height: 129%;
    letter-spacing: -4%;
    text-transform: capitalize;
}

.category-posts .card img {
    border-top-left-radius: 33px;
    border-bottom-left-radius: 33px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    object-fit: cover;
}

.category-posts .card {
    gap: 20px;
}

.card-img-wrapper {
    flex: 0 0 41%;
}

.card-img-left {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 33px;
    border-bottom-left-radius: 33px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

nav.navigation.pagination {
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 12px;
}

span.page-numbers.current {
    background: var(--yellow-gold);
    color: var(--bg-color);
}

a.page-numbers,
a.page-numbers:hover {
    color: var(--primary-font-color);
    background: var(--sec-bg-color);
    border: 1px solid var(--border-color);
    text-transform: uppercase;
}

.prev.page-numbers,
.next.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}

/* Add the arrow icon before or after */
.prev.page-numbers::before,
.next.page-numbers::after,
.next-article::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Left arrow before the "Prev" text */
.prev.page-numbers::before {
    background-image: url('/blog/wp-content/uploads/2025/05/previous-vector.svg');
}

/* Right arrow after the "Next" text */
.next.page-numbers::after,
.next-article::after {
    background-image: url('/blog/wp-content/uploads/2025/05/next-vector.svg');
}

.welcome-bonus {
    border: 1px solid var(--border-color);
    border-radius: 33px;
    padding: 20px;
    background: var(--sec-bg-color);
}

.welcome-bonus h2 {
    font-size: 22px;
    text-transform: capitalize;
}

.image-overlay-container img {
    display: block;
    width: 100%;
    height: auto;
}

.welcome-bonus h3 {
    font-weight: 800;
    font-size: 35px;
    text-transform: capitalize;
    padding-top: 10%;
    text-align: center;
    text-decoration: none;
}

.bonus-heading {
    background-image: linear-gradient(0deg, rgba(15, 17, 21, 0) 50.08%, var(--sec-bg-color) 100%), url(/blog/wp-content/uploads/2025/05/welcome-bonus-category-section.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 639px;
    border-radius: 33px;
}

.no-posts {
    border: 1px solid var(--border-color);
    border-radius: 33px;
    background: var(--sec-bg-color);
    padding: 20px;
}

/* Category page css ENDS  */

/* Post single page */

.breadcrumb {
    margin: 0;
}

.breadcrumb-item a {
    color: var(--yellow-gold);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active,
.next-article:hover,
.card-title a:hover {
    color: var(--primary-font-color);
}

.next-article {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    background: var(--sec-bg-color);
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
}

.single-post .card.banner-card {
    height: 398px;
}

.card.banner-card .card-img-wrapper::after,
.card.banner-card .card-img-left::after {
    content: unset;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 33px;
}

.img-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(270deg, rgba(15, 17, 21, 0) 49.9%, var(--sec-bg-color) 100%);
    z-index: 1;
    pointer-events: none;
}

.blog-banner h1 {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -2%;
}

.post .post-content ul,
.post .post-content ol {
    color: var(--primary-font-color);
}

.post .post-content h2,
.post .post-content h3,
.post .post-content h4,
.popular-articles h3 {
    font-size: 26px;
    line-height: 130%;
    margin-bottom: 20px;
    font-weight: 700;
}

.post .post-content ul {
    margin-bottom: 20px;
}

.post .post-content h2:not(:first-of-type) {
    margin-top: 50px;
}

.post .post-content h3,
.post .post-content h4 {
    margin-top: 50px;
}

.follow-us-wrapper {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 20px;
}

.custom-divider {
    border: 0;
    border-top: 2px solid var(--border-color);
    margin-top: 50px;
}

.popular-articles .card img {
    border-radius: unset;
    border-top-left-radius: 33px;
    border-bottom-left-radius: 33px;
}

.popular-articles .card-img-left {
    width: 24%;
    /* Let the container take up the available space */
    height: 100px;
    /* Set a fixed height for the container */
    position: relative;
}

.popular-articles .card-img-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img-left::after,
.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 17, 21, 0) 77.74%, var(--sec-bg-color) 100.16%);
    pointer-events: none;
    /* To ensure the gradient doesn't block image interactions */
}

/* 404 page */
.no-content {
    background: var(--sec-bg-color);
    border: 1px solid var(--yellow-gold);
    border-radius: 33px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
}

.error-text-404 {
    font-size: 30px;
    font-weight: 700;
}

.next-mob-link a {
    color: #fff;
    text-decoration: none;
}

.custom-home-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.no-content h2 {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 10px;
}

.no-content p {
    font-size: 16px;
    line-height: 27px;
    letter-spacing: -4%;
}

.no-content-inner {
    padding: 1.5rem calc(22.5% - 5rem);
}

.no-content-inner a {
    color: var(--yellow-gold);
    font-weight: 700;
}

.no-content a.btn-learn-more {
    display: block;
    text-align: center;
}

.no-content a.btn-learn-more {
    background: var(--yellow-gold);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -4%;
    color: var(--sec-bg-color);
    text-decoration: none;
    border-radius: 12px;
    padding: 8px 22px;
    margin-top: 20px;
}

.error404 .custom-home-btn {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 16px;
    background: var(--sec-bg-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error404 h1 {
    font-family: var(--secondary-font);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -4%;
    text-align: center;
    vertical-align: middle;
}

.sealMain {
    width: 3.438rem;
}

/* Geo block popup start */
.modal {
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    border-radius: 33px;
    border: 1px solid var(--GOLD-FINAL, #E2C562);
    background: var(--Gray-900, #0F1115);
}
.error-dialog-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
p.error-dialog-title {
    background: var(--Linear, linear-gradient(180deg, #F7DE7C 12.81%, #FFF3A5 49.05%, #B27F2B 82.19%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    text-transform: uppercase;
    padding: 20px;
}
.modal-body {
    padding: 1.3rem;
}
p.error-dialog-content {
    color: #d0d5dd;
    font-size: 1.125rem;
    line-height: 28px;
    font-weight: 400;
    text-align: center;
}
a.error-dialog-btn.btn.btn-secondary.btn-learn-more {
    font-weight: 900;
    font-size: 20px;
}