/*!
Theme Name: EveryOne
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: EveryOne
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

EveryOne is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/*--------------------------------------------------------------
# Header nav — spacing (gap-20 maps to 20px; extra rhythm + tap targets)
--------------------------------------------------------------*/
.header .nav > ul.flex {
    gap: 24px;
}

.header .nav ul li {
    margin-right: 24px;
}

.header .nav ul li:last-child {
    margin-right: 0;
}

.header .nav > ul.flex > li > a {
    display: inline-block;
    padding: 0.35rem 0.65rem;
}

/*--------------------------------------------------------------
# Editorial tables — рамки и отступы (перебивают Tailwind preflight)
Страницы, где внутри .page-text есть .responsible-gambling, не затрагиваем.
--------------------------------------------------------------*/
#page-text table,
.page-text:not(:has(.responsible-gambling)) table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse !important;
    margin: 1.5rem 0 !important;
    border: 2px solid rgba(212, 175, 55, 0.55) !important;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

#page-text th,
#page-text td,
.page-text:not(:has(.responsible-gambling)) th,
.page-text:not(:has(.responsible-gambling)) td {
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    padding: 12px 14px !important;
    vertical-align: top;
}

#page-text thead th,
.page-text:not(:has(.responsible-gambling)) thead th {
    background: rgba(255, 255, 255, 0.12) !important;
    font-weight: 600;
}

#page-text tbody tr:nth-child(even),
.page-text:not(:has(.responsible-gambling)) tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.06) !important;
}

