/*
Theme Name: Bets10
Theme URI: https://bets10.com
Author: Bets10
Author URI: https://bets10.com
Description: Custom WordPress block theme matching the Bets10 brand design — green and gold sports betting theme with full Gutenberg/FSE compatibility. Features responsive layouts, promo card grids, hero sections, and all standard block patterns.
Version: 1.0.12
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bets10
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks, block-styles

Bets10 WordPress Theme — Fully compatible with the WordPress Block Editor (Gutenberg).
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

body {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

/* Container — matches 1498bets10.com @container site-home */
.container {
	max-width: 1236px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Header is full-width (no max-width constraint) — matches example site */
.header > .container,
.header .container,
.nav-menu .container {
	max-width: none;
	padding: 0 16px;
}

/* ==========================================================================
   Header — PHP-rendered, matches bets10.com exactly
   ========================================================================== */

.header {
	background: linear-gradient(135deg, #037E21, #037E21);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 0;
}

.logo {
	display: flex;
}

.logo img {
	height: 24px;
	width: auto;
}

.site-name {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

/* Hamburger — hidden on desktop */
.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #fff;
}

.hamburger svg {
	width: 24px;
	height: 24px;
	display: block;
}

/* Help icon — hidden on desktop */
.header-help {
	display: none;
	color: #fff;
	padding: 4px;
	text-decoration: none;
}

.header-help svg {
	width: 22px;
	height: 22px;
	display: block;
}

/* Auth Buttons */
.auth-buttons {
	display: flex;
	gap: 10px;
}

.btn {
	display: inline-block;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.btn-outline {
	background: transparent;
	border: 1.5px solid #fff;
	color: #fff;
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
	background: #EFBF01;
	color: #000;
	border: 1.5px solid #EFBF01;
}

.btn-primary:hover {
	background: #ffb300;
}

/* Desktop Navigation Menu */
.nav-menu {
	border-top: 1px solid #1a5f26;
}

.nav-menu .container {
	padding: 0;
}

.nav-menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	justify-content: center;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.nav-menu ul::-webkit-scrollbar {
	display: none;
}

.nav-menu li {
	margin: 0;
}

.nav-menu a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 16px;
	white-space: nowrap;
	transition: background 0.2s;
}

.nav-menu a:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Mobile Sidebar — HTML-based, matches bets10.com exactly
   ========================================================================== */

.sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 998;
}

.sidebar-overlay.active {
	display: block;
}

.mobile-sidebar {
	position: fixed;
	top: 0;
	left: -280px;
	width: 280px;
	height: 100%;
	background: #2f2f2f;
	z-index: 999;
	transition: left 0.3s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.mobile-sidebar.open {
	left: 0;
}

.sidebar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
}

.sidebar-logo {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
}

.sidebar-close {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 4px;
	line-height: 0;
}

.sidebar-close svg {
	display: block;
}

.sidebar-nav {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.sidebar-nav li {
	margin: 0;
}

.sidebar-nav a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 14px 20px;
	border-bottom: 1px solid #2a2a2a;
	text-align: left;
}

.sidebar-nav a:hover {
	background: #2a2a2a;
}

/* ==========================================================================
   Hero / Banner Section
   ========================================================================== */

.hero-section {
	position: relative;
	min-height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-size: cover;
	background-position: center;
	padding: 40px 20px;
}

.hero-section .hero-content {
	max-width: 600px;
}

.hero-section h1,
.hero-section h2 {
	color: var(--wp--preset--color--white);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 10px;
}

.hero-section p {
	color: var(--wp--preset--color--white);
	font-size: 1rem;
	margin-bottom: 20px;
}

.hero-section .wp-block-button__link {
	background: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--black);
	padding: 12px 40px;
	min-width: 150px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 1rem;
	text-align: center;
	transition: all 0.3s ease;
}

.hero-section .wp-block-button__link:hover {
	background: var(--wp--preset--color--cta-hover);
}

/* Payment Logos in Hero */
.payment-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

.payment-logos img {
	height: 24px;
	width: auto;
	object-fit: contain;
}

/* ==========================================================================
   Promotions / Product Grid
   ========================================================================== */

.promo-section {
	padding: 20px;
}

/* 5-column grid via wp:columns */
.promo-grid-columns {
	gap: 15px !important;
}

.promo-card {
	border-radius: 8px !important;
	overflow: hidden;
	min-height: 300px;
	cursor: pointer;
}

.promo-card a,
.promo-card .wp-block-cover__inner-container a {
	cursor: pointer;
}

.promo-card .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 235px;
}

.promo-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
    height: 40%;
    background: rgb(255 195 40 / 90%);
	z-index: 1;
}

.promo-card .promo-card-content {
	position: relative;
	z-index: 2;
	padding: 20px;
	color: var(--wp--preset--color--white);
}

.promo-card .promo-card-content h3 {
	color: var(--wp--preset--color--white);
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

/* ==========================================================================
   Features Section — mirrors bets10.com/home layout exactly
   ========================================================================== */

.features {
	background: #f8f9fa;
	padding: 60px 0;
}

.features .container {
	max-width: 1236px;
	margin: 0 auto;
	padding: 0 16px;
}

.features .section-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 16px;
	color: #333;
	text-align: left;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.features .feature-card {
    background: #222222 !important;
    background-color : #222222 !important ;
    border: 1px solid #ffffff26 !important;
	border-radius: 8px;
	padding: 20px;
	text-align: left;
}

.features .feature-card > * {
	margin-top: 0;
	margin-bottom: 15px;
}

.features .feature-card > *:last-child {
	margin-bottom: 0;
}

.features .feature-title {
	font: 700 16px/24px Roboto, "Roboto Fallback: Arial", "Roboto Fallback: Roboto", Arial, Roboto;
	color: #000;
	margin: 0 0 15px;
}

.features .feature-desc {
	font: 400 14px/20px Roboto, "Roboto Fallback: Arial", "Roboto Fallback: Roboto", Arial, Roboto;
	color: #000;
	margin: 0 0 15px;
}

.features .feature-detail {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 14px;
	gap: 10px;
}

.features .feature-detail > p,
.features .feature-detail .feature-label,
.features .feature-detail .feature-value {
	margin: 0;
}

.features .feature-label {
	color: #666;
	font-size: 14px;
}

.features .feature-value {
	font-weight: 600;
	color: #333;
	font-size: 14px;
	white-space: nowrap;
}

.features .payment-icons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 15px;
	max-width: 100%;
}

.features .payment-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.features .payment-icon .wp-block-image,
.features .payment-icon figure {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.features .payment-icon img {
	max-height: 20px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.features {
		padding: 40px 0;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.features .section-title {
		font-size: 24px;
		margin-bottom: 16px;
	}

	.features .feature-title {
		font-size: 14px;
	}

	.features .feature-desc {
		font-size: 13px;
	}

	.features .payment-icons {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}

	.features .payment-icon img {
		max-height: 18px;
	}
}

/* ==========================================================================
   Content Section (2-column layout)
   ========================================================================== */

.content-section {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	padding: 40px 0;
}

.content-section h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #ffffff !important ;
}

.content-section h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #ffffff !important ;
}

.content-section p {
	font-size: 0.875rem;
	color: #ffffff;
	line-height: 1.6;
}

/* ==========================================================================
   Expandable Content Section (matches bets10.com/home layout)
   ========================================================================== */

.expandable-content-section {
	padding: 60px 0;
}

.expandable-content-section .content-section {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	align-items: flex-start;
	padding: 0;
}

/* Layout/spacing only — typography comes from block settings in the editor */
.expandable-content-section .content-body {
	margin-bottom: 30px;
}

/* Hidden content wrapper — target the block's auto class directly for reliability */
.wp-block-bets10-expandable-hidden,
.expandable-content-section .expandable-text {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	margin: 0;
	padding: 0;
}

/* When the expandable feature is disabled, hide the hidden child entirely */
.expandable-content-section.no-expandable .wp-block-bets10-expandable-hidden,
.expandable-content-section.no-expandable .expandable-text,
.expandable-content-section-editor.no-expandable .wp-block-bets10-expandable-hidden {
	display: none !important;
}

.wp-block-bets10-expandable-hidden.expanded,
.expandable-content-section .expandable-text.expanded {
	max-height: 4000px;
}

.wp-block-bets10-expandable-hidden > *:first-child,
.expandable-content-section .expandable-text > *:first-child,
.wp-block-bets10-expandable-visible > *:first-child,
.expandable-content-section .content-body-visible > *:first-child {
	margin-top: 0;
}

/* Show-More button — matches bets10.com/home */
.show-more-btn,
.expandable-content-section .show-more-btn {
	background: none;
	border: none;
	color: #EFBF01 !important;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	margin-top: 20px;
	transition: all 0.3s ease;
}

.show-more-btn:hover,
.expandable-content-section .show-more-btn:hover {
	color: ##ffb300;
}

.show-more-btn .arrow,
.expandable-content-section .show-more-btn .arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.show-more-btn.expanded .arrow,
.expandable-content-section .show-more-btn.expanded .arrow {
	transform: rotate(180deg);
}

.expandable-content-section .app-download-section {
	display: flex;
	justify-content: center;
	align-items: center;
}

.expandable-content-section .app-download-section img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.expandable-content-section {
		padding: 40px 0;
	}

	.expandable-content-section .content-section {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* ==========================================================================
   Responsible Gaming — mirrors bets10.com/home layout
   ========================================================================== */

.responsible-gaming {
	background: #000000f7;
	padding: 60px 0;
	text-align: center;
}

.responsible-gaming .container {
	max-width: 1236px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	gap: 30px;
}

.responsible-gaming .responsible-icon {
	flex-shrink: 0;
	margin: 0;
	opacity: 0.9;
}

.responsible-gaming .responsible-icon .wp-block-image,
.responsible-gaming .responsible-icon figure {
	margin: 0;
}

.responsible-gaming .responsible-icon img {
	width: 64px;
	height: 64px;
	display: block;
}

.responsible-gaming .responsible-content {
	flex: 1;
	margin: 0;
}

.responsible-gaming .responsible-title {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 20px;
	color: #333;
}

.responsible-gaming .responsible-desc {
	color: #666;
	line-height: 1.6;
	margin: 0;
	max-width: 800px;
}

@media (max-width: 768px) {
	.responsible-gaming {
		padding: 40px 0;
	}

	.responsible-gaming .container {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.responsible-gaming .responsible-content {
		text-align: center;
	}

	.responsible-gaming .responsible-title {
		font-size: 24px;
		margin-bottom: 15px;
	}

	.responsible-gaming .responsible-desc {
		margin-left: auto;
		margin-right: auto;
	}
}

/* ==========================================================================
   Responsible Gaming — MOBILE-ONLY override for the cover-based section.
   Requires the wp:columns block to have the custom class "rg-cols"
   (Block sidebar -> Advanced -> Additional CSS class(es)).
   Image columns are identified by inline style flex-basis:20%,
   text column by flex-basis:100% — order-independent.
   Uses float-based layout (no CSS grid) for maximum validator compatibility.
   ========================================================================== */

@media (max-width: 768px) {
	.wp-block-columns.rg-cols {
		display: block !important;
		gap: 0 !important;
	}

	.wp-block-columns.rg-cols::after {
		content: "" !important;
		display: block !important;
		clear: both !important;
	}

	.wp-block-columns.rg-cols > .wp-block-column {
		flex-basis: auto !important;
		min-width: 0 !important;
	}

	.wp-block-columns.rg-cols > .wp-block-column[style*="flex-basis:20%"] {
		float: left !important;
		clear: left !important;
		width: 80px !important;
		max-width: 80px !important;
		margin: 0 16px 12px 0 !important;
		text-align: center !important;
	}

	.wp-block-columns.rg-cols > .wp-block-column[style*="flex-basis:20%"] .wp-block-image,
	.wp-block-columns.rg-cols > .wp-block-column[style*="flex-basis:20%"] figure {
		margin: 0 0 10px 0 !important;
		text-align: center !important;
	}

	.wp-block-columns.rg-cols > .wp-block-column[style*="flex-basis:20%"] img {
		max-width: 72px !important;
		height: auto !important;
		display: block !important;
		margin: 0 auto !important;
	}

	.wp-block-columns.rg-cols > .wp-block-column[style*="flex-basis:100%"] {
		float: none !important;
		width: auto !important;
		text-align: left !important;
		overflow: hidden !important;
	}

	.wp-block-columns.rg-cols .responsible-desc {
		margin: 0 !important;
	}
}

/* ==========================================================================
   Footer - Matching bets10.com layout
   ========================================================================== */

.site-footer {
	background: #272728;
	color: #ffffffde;
	font-size: 14px;
	line-height: 20px;
}

/* Kill all default WP margins/padding inside footer */
.site-footer .wp-block-group {
	margin-top: 0;
	margin-bottom: 0;
}

.site-footer p {
	margin-top: 0;
	margin-bottom: 0;
}

/* Footer Top - Social */
.footer-top {
	text-align: center;
}

.social-icons-row {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.social-icons-row .wp-block-image {
	margin: 0;
}

.social-icons-row .wp-block-image img {
	width: 84px;
	height: 84px;
	display: block;
}

/* Footer Middle */
.footer-middle {
	text-align: center;
}

.footer-middle > * + * {
	margin-top: 40px !important;
}

/* Sponsors */
.footer-sponsors {
	text-align: center;
}

.footer-sponsors .wp-block-image {
	margin: 0 auto;
}

/* Payment Methods */
.footer-payment-methods {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px 50px;
	flex-wrap: wrap;
}

.footer-payment-methods .wp-block-image {
	margin: 0;
}

.footer-payment-methods .wp-block-image img {
	height: 48px;
	width: auto;
	object-fit: contain;
}

/* Footer Nav Menu */
.footer-nav {
	padding: 20px 0;
	border-top: 1px solid #333;
}

.footer-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.footer-nav li {
	margin: 0;
}

.footer-nav a {
	color: #ffffffde;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 4px;
	transition: background 0.2s;
	white-space: nowrap;
}

.footer-nav a:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* App Downloads */
.footer-apps {
	text-align: center;
	width: 100%;
}

.app-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.app-download img {
	display: block;
}

/* Footer Bottom - Copyright and Legal */
.footer-bottom {
	background: #272728;
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

.license-info {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-shrink: 0;
}

.footer-right-content {
	flex: 1;
	text-align: right;
}

.footer-copyright {
	color: #ffffffde;
	font-size: 14px;
	margin-bottom: 10px;
}

.footer-legal {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.responsible-text {
	color: #ffffffde;
	font-size: 12px;
}

.age-restriction-icon {
	filter: brightness(0) invert(1);
}

.footer-text {
	color: #ffffffde;
	font-size: 12px;
	line-height: 16px;
	max-width: 800px;
	margin-left: auto;
}

/* Footer Button Menu */
/* WP wraps dynamic blocks in a div — reset it */
.wp-block-bets10-footer-bar,
.wp-block-bets10-social-links,
.wp-block-bets10-payment-logos,
.wp-block-bets10-sponsor-section,
.wp-block-bets10-hamburger-menu,
.wp-block-bets10-cookie-banner {
	margin: 0;
	padding: 0;
}

.footer-button-menu {
	background: #272728;
}

.footer-button-menu .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

@media only screen and (min-width: 992px) {
.footer-button-menu .container {
    	padding-top:60px;
}}

.footer-menu-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #3b3a3a00;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 900;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	font-family: inherit;
}

.footer-menu-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Language Selector */
.lang-selector {
	position: relative;
}

.lang-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #3b3a3a00;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 900;
	cursor: pointer;
	font-family: inherit;
}

.lang-btn:hover {
	background: #4a4a4b;
}

.lang-dropdown,
#langDropdown {
	display: none !important;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #222222;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	min-width: 200px;
	margin-bottom: 8px;
	overflow: hidden;
	z-index: 100;
}

.lang-dropdown.open,
#langDropdown.open {
	display: block !important;
}

.lang-dropdown a,
.lang-option {
	display: block;
	padding: 12px 16px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	color:white;
	transition: background 0.2s;
}

.lang-dropdown a:hover,
.lang-option:hover {
	background: #f8f9fa;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
	background: #e8e8e8;
	color: #000;
	font-size: 14px;
	line-height: 1.4;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

.cookie-banner p {
	margin: 0;
	flex: 1;
	max-width: 900px;
}

.cookie-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #000;
	padding: 5px;
	line-height: 1;
}

.cookie-banner.hidden {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.promo-grid-columns {
		flex-wrap: wrap !important;
	}

	.promo-grid-columns > .wp-block-column {
		flex-basis: calc(33.33% - 10px) !important;
	}
}

@media (max-width: 820px) {
	/* Hide desktop nav on mobile */
	.desktop-nav,
	.nav-menu {
		/*display: none !important;*/
	}

	/* Show hamburger + help icon on mobile */
	.hamburger,
	.header-help {
		display: flex;
	}

	/* Override Gutenberg flex layout on the header row so items can wrap */
	.header-row,
	.header-row.is-layout-flex {
		flex-wrap: wrap !important;
		gap: 0 !important;
	}

	/* Row 1: hamburger | logo (centered) | help icon */
	.header-row .hamburger {
		order: 1;
		flex: 0 0 auto;
	}

	.header-row .wp-block-site-logo,
	.header-row .header-logo {
		order: 2;
		flex: 1 1 auto;
		display: flex;
		justify-content: center;
	}

	.header-row .header-help {
		order: 3;
		flex: 0 0 auto;
	}

	/* Row 2: auth buttons full width */
	.header-row .header-auth-buttons {
		order: 4;
		flex: 0 0 100%;
		width: 100%;
		padding-top: 8px;
	}

.header-auth-buttons .wp-block-buttons {
		display: flex;
		width: 100%;
		gap: 8px;
		justify-content: center; /* override WP's is-content-justification-left */
	}

	.header-auth-buttons .wp-block-button,
	.header-auth-buttons .btn-login,
	.header-auth-buttons .btn-signup {
		flex: 1 1 50%;
	}

	.header-auth-buttons .wp-block-button__link {
		display: block;
		width: 100%;          /* fill the whole button — removed the stray width:50% */
		text-align: center;
		font-size: 15px;
		font-weight: 700 !important;
	}

	/* Legacy classes (old PHP-rendered header) */
	.header-content {
		flex-wrap: wrap;
		gap: 0;
	}

	.header-content .logo {
		flex: 1;
		justify-content: center;
	}

	.auth-buttons {
		display: flex;
		width: 100%;
		padding-top: 8px;
	}

	.auth-buttons .btn {
		flex: 1;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.promo-grid-columns > .wp-block-column {
		flex-basis: calc(50% - 10px) !important;
	}

	.content-section {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hero-section {
		min-height: 280px;
		padding: 30px 15px;
	}

	.hero-section h1,
	.hero-section h2 {
		font-size: 1.5rem;
	}

	/* Footer responsive */
	.social-icon img {
		width: 60px;
		height: 60px;
	}

	.footer-bottom .container {
		flex-direction: column;
		text-align: center;
	}

	.footer-right-content {
		text-align: center;
	}

	.footer-legal {
		justify-content: center;
	}

	.footer-text {
		margin: 0 auto;
	}

	.footer-nav ul {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 520px) {
	.hero-section {
		min-height: 240px;
		padding: 20px 15px;
	}

	.payment-logos img {
		height: 18px;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.has-primary-background {
	background-color: var(--wp--preset--color--primary);
}

.has-dark-background {
	background-color: var(--wp--preset--color--dark);
}

.has-light-bg-background {
	background-color: var(--wp--preset--color--light-bg);
}

.text-center {
	text-align: center;
}

/* ==========================================================================
   Gutenberg Layout Overrides
   Kill unwanted padding, gaps, and margins injected by WP block engine
   ========================================================================== */

/* Remove default block gap from all layout types */
.is-layout-flow > * + * {
	margin-block-start: 0;
}

.is-layout-constrained > * + * {
	margin-block-start: 0;
}

/* Remove root padding that WP injects */
body {
	--wp--style--root--padding-top: 0;
	--wp--style--root--padding-right: 0;
	--wp--style--root--padding-bottom: 0;
	--wp--style--root--padding-left: 0;
}

.wp-site-blocks {
	padding: 0 !important;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Prevent constrained layout from adding side padding */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-left: auto;
	margin-right: auto;
}

/* Remove default margins from wp-block-group */
.wp-block-group {
	margin-top: 0;
	margin-bottom: 0;
}

/* Navigation block — kill default gaps */
.wp-block-navigation .wp-block-navigation__container {
	gap: 0;
}

.wp-block-navigation .wp-block-navigation-item__content {
	padding: 10px 14px;
}

/* Cover block inner container — left align by default */
.wp-block-cover .wp-block-cover__inner-container {
	max-width: var(--wp--style--global--content-size);
	width: 100%;
}

.wp-block-cover.hero-cover {
	min-height: 340px;
}

/* Buttons block — remove default gap */
.wp-block-buttons {
	gap: 8px;
}

/* Columns — remove default gap override */
.wp-block-columns {
	margin-bottom: 0;
}

/* Ensure block patterns look good */
.wp-block-group.is-layout-flex {
	flex-wrap: wrap;
}

/* Separator — no extra margin */
.wp-block-separator {
	margin-top: 0;
	margin-bottom: 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	*,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}
.promo-card-link {
    display: block;
    text-decoration: none;
}

.promo-card a, .promo-card .wp-block-cover__inner-container a {
    cursor: pointer;
    color: black !important;
}
a.customize-unpreviewable {
    color: #fcb900 !important;
}
a.social-icon.customize-unpreviewable {
    color: #333 !important;
}

.wp-block-group.feature-card.has-border-color.has-background.is-layout-flow.wp-block-group-is-layout-flow {
    border-color: #ffffff26 !important;
    background-color: #222222 !important;
}

@media (max-width: 820px) {
    .header-row .hamburger {
        order: 1;
        flex: 0 0 auto;
        /*display: none !important;*/
    }
    
    img.wp-image-450 {
    width: 40px;
}
}

.accordion-header {
    justify-content: center !important;
}
@media (max-width: 768px) {
.wp-block-column.license-text-col.accfooter.is-layout-flow.wp-block-column-is-layout-flow {
    display: none;
}
}

.accordion-wrapper {
    border-top: 0px solid !important;
}

.footer-help-btn.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .footer-help-btn.desktop-only {
        display: none;
    }
}
/* ============================================================
   Şartlar ve Koşullar – Gutenberg page styles
   Paste into: Appearance → Customize → Additional CSS
   (or your theme/child-theme stylesheet)

   Everything is scoped under .tnc-page so it can NOT leak into
   the rest of the Bets10 theme. No :root, no global *, body or a
   selectors, and all custom properties are prefixed --tnc-* and
   live on the .tnc-page wrapper only.
   ============================================================ */

/* Scope + local variables (no :root) */
.tnc-page{
  --tnc-bg:#181818;
  --tnc-surface:#222222;
  --tnc-on:#ffffff;
  --tnc-accent:#FFC328;
  --tnc-accent-h:#ffcf53;
  --tnc-border:#383838;
  --tnc-radius:8px;

  max-width:100%;
  margin:0 auto;
  /* Full-width dark background, content centered to ~1128px.
     Side padding scales from 396px on wide screens down to 16px on phones. */
  padding:24px clamp(16px, calc((100% - 1128px) / 2), 396px) 80px;
  background:var(--tnc-bg);
  color:var(--tnc-on);
  text-align:left;
  font:400 14px/20px "Open Sans","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}

/* Help chip: wrap it in the same content-width box the theme gives other
   blocks, so it lines up with the title and cards instead of the full-left edge */
.tnc-page .wp-block-html{margin:0;}
.tnc-page .tnc-chip-wrap{max-width:var(--wp--style--global--content-size,1236px);margin:0 auto 24px;}
.tnc-page .tnc-chip{margin:0;}

.tnc-page a{color:var(--tnc-accent);text-decoration:none;}
.tnc-page a:hover{color:var(--tnc-accent-h);text-decoration:underline;}

/* Header: page title + Müşteri Hizmetleri chip */
.tnc-page .tnc-page-title{margin:0 0 20px;font-size:28px;font-weight:700;color:var(--tnc-on);}
.tnc-page .tnc-chip{display:inline-flex;align-items:center;gap:8px;
  border:1px solid #4a4a4a;border-radius:999px;padding:10px 18px;
  color:var(--tnc-on);font-weight:600;font-size:14px;margin-bottom:24px;}
.tnc-page .tnc-chip:hover{background:#2f2f2f;text-decoration:none;color:var(--tnc-on);}
.tnc-page .tnc-chip svg{width:20px;height:20px;flex:0 0 auto;}
.tnc-page .tnc-updated{margin:0 0 16px;font:400 16px/24px "Open Sans",Arial,sans-serif;color:var(--tnc-on);}

/* Two columns: content left, TOC right (TOC NOT sticky) */
.tnc-page .tnc-cols{display:flex;flex-direction:column;gap:16px;align-items:flex-start;}
.tnc-page .tnc-content{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%;}
.tnc-page .tnc-toc{background:var(--tnc-surface);border-radius:var(--tnc-radius);padding:24px;width:100%;}
.tnc-page .tnc-toc h2{margin:0 0 16px;font-size:16px;color:var(--tnc-on);}
.tnc-page .tnc-section-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;}
.tnc-page .tnc-section-list li{margin:0;}
.tnc-page .tnc-link{color:var(--tnc-accent);font:400 14px/20px "Open Sans",Arial,sans-serif;}

/* Content cards (each section = a wp-block-group.tnc-card) */
.tnc-page .tnc-card{background:var(--tnc-surface);border-radius:var(--tnc-radius);padding:24px;scroll-margin-top:16px;}
.tnc-page .tnc-section-title{margin:0 0 16px;font-size:18px;font-weight:700;color:var(--tnc-on);}
.tnc-page .tnc-section-body{margin:0 0 16px;color:var(--tnc-on);}
.tnc-page .tnc-section-body:last-child{margin-bottom:0;}
.tnc-page .tnc-section-body a{color:var(--tnc-accent);}
.tnc-page .tnc-section-body strong{color:var(--tnc-on);font-weight:700;}
.tnc-page .tnc-card ul,
.tnc-page .tnc-card ol{margin:0 0 16px;padding-left:24px;color:var(--tnc-on);}
.tnc-page .tnc-card li{margin-bottom:8px;}
.tnc-page .tnc-card table{width:100%;border-collapse:collapse;margin:16px 0;}
.tnc-page .tnc-card th,
.tnc-page .tnc-card td{border:1px solid var(--tnc-border);padding:8px 12px;text-align:left;}
.tnc-page .tnc-card tr:nth-child(2n){background:#181818;}
.tnc-page .tnc-card hr{border:0;border-top:1px solid var(--tnc-border);margin:16px 0;}

@media(min-width:900px){
  .tnc-page .tnc-cols{flex-direction:row;}
  .tnc-page .tnc-content{flex:1 1 auto;}
  .tnc-page .tnc-toc{flex:0 0 320px;width:320px;}
}

/* ---- Tablet (single column already kicks in below 900px) ---- */
@media(max-width:768px){
  .tnc-page{padding-top:16px;padding-bottom:56px;}
  .tnc-page .tnc-page-title{font-size:24px;margin-bottom:16px;}
  .tnc-page .tnc-card{padding:20px;}
  .tnc-page .tnc-toc{padding:20px;}
}

/* ---- Phones ---- */
@media(max-width:480px){
  .tnc-page{font-size:13px;line-height:19px;}
  .tnc-page .tnc-page-title{font-size:22px;}
  .tnc-page .tnc-updated{font-size:15px;}
  .tnc-page .tnc-chip{padding:8px 14px;font-size:13px;}
  .tnc-page .tnc-card{padding:16px;}
  .tnc-page .tnc-section-title{font-size:16px;margin-bottom:12px;}
  .tnc-page .tnc-toc{padding:16px;}
  .tnc-page .tnc-card ul,
  .tnc-page .tnc-card ol{padding-left:20px;}
  /* keep wide tables readable — let them scroll instead of squashing */
  .tnc-page .tnc-card table{display:block;overflow-x:auto;white-space:nowrap;}
}
