/**
 * Theme Name: PBN TWO Child
 * Template: pbn-two
 * Description: Child theme for PBN TWO theme
 * Author: Steyra
 * Author URI: https: //steyra.ru/
 * Version: 1.0.0
 */

.logo img,
.logo svg {
	height: 2.875rem;
	width: auto;
}

footer .logo img,
footer .logo svg {
	height: 3.5rem;
	width: auto;
}

.copyright .years {
	font-size: 1rem;
	font-weight: 700;
	line-height: 100%;
	text-transform: uppercase;
}




/* 29.04 */
.wp-block-table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

.wp-block-table table {
  width: 924px;
  min-width: 924px;
  border-collapse: collapse;
}
.wp-block-table table a {
  color: var(--color_2);
  text-decoration: underline;
}
.wp-block-table table a > strong {
  color: var(--color_2);
}
.wp-block-table table a:hover strong,
.wp-block-table table a:hover {
  color: inherit;
}
.tags a {
    height: auto;
    display: block;
}

/* ── Image alignment in article content ────────── */
article figure.aligncenter,
article .wp-block-image.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
article figure.aligncenter img,
article .wp-block-image.aligncenter img {
    margin: 0 auto;
    display: block;
}
article figure.alignleft,
article .wp-block-image.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}
article figure.alignright,
article .wp-block-image.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}
article figure.aligncenter figcaption,
article .wp-block-image.aligncenter figcaption {
    text-align: center;
}
/* Clearfix after floated images */
article p:has(+ figure.alignleft),
article p:has(+ figure.alignright) {
    overflow: hidden;
}

/* ── Responsive tables (mobile) ────────────────── */
@media (max-width: 768px) {
    .wp-block-table {
        -webkit-overflow-scrolling: touch;
    }
    .wp-block-table table {
        width: 100%;
        min-width: 600px;
    }
}

/* ── Game card overlay buttons ─────────────────── */
.game-item__image-wrap {
    position: relative;
    border-radius: 0.625rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.game-item__image-wrap .image {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: 50% 50%;
    margin-bottom: 0;
}
.game-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.game-item__image-wrap:hover .game-item__overlay {
    opacity: 1;
}
.game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: transform 0.15s, filter 0.15s;
    line-height: 1;
}
.game-btn:hover { transform: scale(1.03); }
.game-btn--free {
    background: #fff !important;
    border: 2px solid #fff !important;
    color: var(--color_2, #178f64) !important;
}
.game-btn--real {
    background: var(--color_2, #178f64) !important;
    border: 2px solid var(--color_2, #178f64) !important;
    color: #fff !important;
}

/* ── Single game: Play for Real button ───── */
.game-btn-real-single {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 0.75rem;
    background: transparent;
    border: 2px solid var(--color_2, #178f64);
    color: var(--color_2, #178f64);
    font-size: 1rem;
    font-family: "Inter-Bold", sans-serif;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.012px;
    text-decoration: none;
    box-shadow: 0 0.625rem 1.875rem 0 rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
}
.game-btn-real-single:hover {
    background: var(--color_2, #178f64);
    color: var(--color_0, #fff);
}

/* Slot type nav on /slots/ main page */
.slot-type-nav-all {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.slot-type-nav-all a {
    display: inline-flex;
    align-items: center;
    height: 1.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: #fff;
    border: 1px solid var(--color_3);
    color: var(--color_3);
    text-decoration: none;
}
.slot-type-nav-all a:hover,
.slot-type-nav-all a.active {
    color: var(--color_2);
    border-color: var(--color_2);
}

