/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.6
*/
@import url('../mercury/style.css');
@import url('./css/sidebar.css');
@import url('./css/user.css');
@import url('./css/flexible.css');
@import url('./css/footer.css');
@import url('./css/single-bookmakers.css');

body {
    line-height: 1.4;
}

section:first-child {
    margin-top: 0;
}
section:last-child {
    margin-bottom: 0;
}
section {
    margin: 50px 0;
}

p {
    margin-bottom: 15px;
}
ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 25px;
}
ol {
    list-style: auto;
    margin-left: 25px;
    margin-bottom: 25px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
    overflow: auto;
    display: block;
}

th,
td {
    padding: 12px 15px;
}

th,
td {
    border: 1px solid #ddd;
}

th {
    background-color: #252424;
    font-weight: bold;
}

th {
    text-align: center;
}

thead {
    position: sticky;
    top: 0;
    background-color: #252424;
    z-index: 1;
}

h2.title,
section h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    display: block;
}
h2.title span {
    background: white;
    z-index: 2;
    position: relative;
    padding: 0 15px;
}
h2.title::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: orange;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.home-page-box__content {
    overflow: hidden;
}
.container,.space-single-aces-breadcrumbs  {
    padding: 0 15px;
    max-width: 1640px !important;
    margin: 0 auto;
}
.category-hero {
    padding: 25px;
    background-image: url('./images/bg.jpg');
    background-position: bottom;
    background-size: cover;
    width: 100%;
    position: relative;
}

.home-banner {
    padding: 120px 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-banner__box,
.category__box {
    max-width: 1000px;
    margin: 0 auto;
}
.home-banner h1,
.category__box h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
}
.home-banner__caption,
.category__caption {
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
}

.home-page-box {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 20px;
    margin: 40px 0;
}
@media screen and (max-width: 778px) {
    .home-page-box {
        grid-template-columns: 1fr;
    }
    .home-banner {
        padding: 100px 0;
    }
    .home-banner h1 {
        font-size: 2.2em;
    }
}
/* ===========sidebar */
.space-header-height .space-wrapper ul {
    list-style: none;
}
.space-header-height .space-wrapper {
    max-width: 1640px !important;
}
.space-header-search.absolute {
    display: none;
}
@media screen and (max-width: 1128px) {
    h2.title::after {
        display: none;
    }
}

@media screen and (max-width: 728px) {
    .information h2,
    h2.title span,
    h2 {
        font-size: 22px;
    }

    h1 {
        font-size: 26px;
    }
}



.meta-box {
    display: flex;
    align-items: center;
flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}
.meta-box .minimal-share-button svg {
    fill: #030065;
}
.msb-container h2 {
    text-align: center;
}
.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    padding: rem(20) 0;
}
.breadcrumb a {
    font-size: rem(16);
}

.eabs-article-meta-bar {
    font-size: 13px;
    color: #666;
    background-color: white;
    padding: 12px 16px;
    border-radius: 8px;
    width: fit-content;
}

.eabs-article-meta-bar a {
    text-decoration: none;
}

.eabs-article-meta-bar a:hover {
    text-decoration: underline;
}

.eabs-meta-separator {
    margin: 0 4px;
}

/* ============================================================
   ГЛОБАЛЬНІ СТИЛІ EEAT-БЛОКІВ
   ============================================================ */

.eabs-meta-row,
.eabs-author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.eabs-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.eabs-meta-item svg {
    width: 15px;
    height: 15px;
    fill: #777;
}

/* ============================================================
   1) ВЕРХНІЙ EEAT-БЛОК ([eabs-article-meta])
   ============================================================ */

.eabs-meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.eabs-meta-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.eabs-article-meta-bar a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.eabs-article-meta-bar a:hover {
    text-decoration: underline;
}

/* ============================================================
   2) НИЖНІЙ БЛОК АВТОРА ([eabs-author-signature])
   ============================================================ */

.eabs-author-signature {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;

    border-radius: 10px;
    background: #f7f7f7;
}

.eabs-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.eabs-author-name {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
}

.eabs-author-name a {
    color: #222;
    text-decoration: none;
}

.eabs-author-name a:hover {
    text-decoration: underline;
}

.eabs-author-bio {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.45;
}

.eabs-author-meta .eabs-meta-item svg {
    fill: #666;
}

.eabs-author-meta .eabs-meta-item {
    font-size: 13px;
    color: #666;
}
.eabs-meta-icon {
    display: flex;
}



@media (max-width: 768px) {
    /* Верхній блок — в колонку */
    .eabs-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Авторський блок — також в колонку */
    .eabs-author-signature {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .eabs-author-avatar {
        width: 70px;
        height: 70px;
    }
}

.helpful {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    text-align: center;
}

.helpful h4 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #333;
}

.helpful-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.helpful-btn {
    font-size: 20px;
    background: #fff;
    border: 2px solid #ddd;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpful-btn:hover {
    background: #eee;
}

.helpful-voted .helpful-btn {
    opacity: 0.5;
    pointer-events: none;
}


