/*
Theme Name: Theme betting
Text Domain: screenshot-theme
Version: 0.1
Author: Bahrii developers
*/

.review-aside{
	display: flex;
	flex-direction: column;
	gap: 12px;
}




/* === Основний список меню === */
.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
	gap:16px;
}

/* === Пункти меню === */
.primary-nav__item {
    position: relative; /* Для dropdown */

}

/* === Посилання === */
.primary-nav__link {
    display: flex;
    align-items: center;
   
}


/* === WPML прапорці === */
.primary-nav__link img.wpml-ls-flag {
    width: 18px;
    height: auto;
    margin-right: 5px;
}

.primary-nav__link span.wpml-ls-native {
    display: inline-block;
}

/* === Підменю === */
.primary-nav__sub-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    background: linear-gradient(120deg, var(--btn-primary-start), var(--btn-primary-end));

    min-width: 200px;
    z-index: 1000;
		    max-width: 400px;
    overflow: auto;
}

/* Підпункти меню */
.primary-nav__sub-list .primary-nav__item {
    margin: 0;
}

/* Підпункти посилання */
.primary-nav__sub-list .primary-nav__link {
	   padding: 0 15px;
    text-decoration: underline;
    color: #333;
    white-space: nowrap;
}

.primary-nav__sub-list .primary-nav__link:hover,
.primary-nav__sub-list .primary-nav__link--active {
    color: #c9a227;

}
.primary-nav__link--active{
    background: transparent!important;	
	box-shadow:none!important;	
}

/* Показ підменю на hover */
.primary-nav__item:hover > .primary-nav__sub-list {
    display: block;
}

/* === Мобільна адаптивність === */
@media (max-width: 1024px) {
    .primary-nav__rail {
        flex-direction: column;
    }
    .primary-nav__list {
        flex-direction: column;
    }
  
    .primary-nav__sub-list {
        position: static;
        border: none;
        box-shadow: none;
        display: block; /* Підменю завжди видно на мобільних */
        padding-left: 15px;
    }
    .primary-nav__sub-list .primary-nav__link {
        padding: 8px 0;
    }
}


.primary-nav__rail{
	overflow-x: inherit!important;

}



#ez-toc-container a {
	color: #c9a227;}

	.aligncenter {
text-align:center;
    margin: auto;
}

/* ===== Cricket Theme Visual Enhancements ===== */

/* Gold top-border accent on header */
.site-header {
    border-top: 2px solid #c9a227;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15) !important;
}

/* Gold left accent line on active nav */


/* Heading gold accent */
.section__title,
.hero__title,
.review-hero__title {
    background: linear-gradient(90deg, #f0f0f0 60%, #d4b03a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cricket-styled footer */
.site-footer {
    border-top: 1px solid rgba(201, 162, 39, 0.2) !important;
}

/* Ticker gold accent */
.ticker {
    border-left: 3px solid #c9a227;
}

/* Table header cricket-red gradient */
.data-table thead,
thead {
    background: linear-gradient(120deg, #1a0a0a, #6b1515) !important;
    border-bottom: 2px solid #c9a227 !important;
}

/* Timeline gold dots */
.timeline {
    border-left-color: rgba(201, 162, 39, 0.25);
}

/* Card hover - gold border glow */
.news-card:hover {
    border-color: rgba(201, 162, 39, 0.45) !important;
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.1);
}

/* Gold scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: #c9a227;
    border-radius: 3px;
}

/* Section eyebrow cricket color */
.eyebrow {
    color: #c9a227 !important;
}

/* Pill cricket gold */
.pill {
    border-color: rgba(201, 162, 39, 0.3) !important;
}

/* Info card subtle gold border */
.info-card,
.review-block,
.slot-block {
    border: 1px solid rgba(201, 162, 39, 0.1);
}

/* Badge cricket tint */
.badge {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: #d4b03a;
}

/* Stats card gold value */
.stat-card__value {
    color: #d4b03a;
}

/* Accordion cricket style */
.accordion {
    border-color: rgba(201, 162, 39, 0.15) !important;
}

.accordion__button::after {
    color: #c9a227 !important;
}

/* Article category pill */
.news-card__category:hover,
.article-header__category:hover {
    color: #d4b03a !important;
    border-color: rgba(201, 162, 39, 0.4) !important;
}

/* Logo size */
header .logo img {
    width: 52px;
    height: 52px;
}

/* ===== Cricket Hero Banner ===== */

.cricket-hero-section {
    padding-bottom: 0;
}

.cricket-hero__banner {
    position: relative;
    border-radius: var(--radius-lg);
    min-height: 520px;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    isolation: isolate;
}

.cricket-hero__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Gold shimmer line at top of banner */
.cricket-hero__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a227, #e8c547, #c9a227, transparent);
    z-index: 2;
}

.cricket-hero__banner-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.cricket-hero__banner-content {
    max-width: 720px;
}

.cricket-hero__eyebrow {
    margin-bottom: 0.75rem;
}

.cricket-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    margin-bottom: 0.75rem !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ===== Cricket Story Strip ===== */

.cricket-hero__strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.cricket-story-pill {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 162, 39, 0.14);
    background: rgba(22, 20, 15, 0.9);
    text-decoration: none;
    color: #f0f0f0;
    cursor: pointer;
    transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.cricket-story-pill:hover {
    border-color: rgba(201, 162, 39, 0.45);
    background: rgba(30, 26, 18, 0.95);
    transform: translateY(-2px);
}

.cricket-story-pill__img {
    width: 86px;
    height: 72px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.cricket-story-pill__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cricket-story-pill__cat {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c9a227;
    font-weight: 600;
}

.cricket-story-pill__body h3 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
}

.cricket-story-pill__date {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ===== Cricket News Grid ===== */

.cricket-news-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 1.4rem !important;
}

.cricket-news-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.cricket-news-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.cricket-news-card__cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem !important;
    background: rgba(201, 162, 39, 0.9) !important;
    color: #1a1000 !important;
    border: none !important;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cricket-news-card__body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.cricket-news-card__body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.cricket-news-card__body p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.cricket-news-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.cricket-news-card__meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ===== Responsive Cricket Hero ===== */

@media (max-width: 768px) {
    .cricket-hero__banner {
        min-height: 380px;
    }

    .cricket-hero__strip {
        grid-template-columns: 1fr;
    }

    .cricket-story-pill__img {
        width: 72px;
        height: 60px;
    }

    .cricket-news-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .cricket-hero__banner {
        min-height: 300px;
    }
}

