/*
Theme Name: FBS Nizhny Tagil
Theme URI: https://fbsnt.ru
Author: AutoClaw
Description: Тема для сайта Федерации бильярдного спорта г. Нижнего Тагила. Строгая редакционная вёрстка, зелёный акцент, адаптив.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fbsnt
*/

:root {
	--paper: #f3f1ea;
	--paper-2: #fbfaf6;
	--ink: #13160f;
	--muted: #6a6f64;
	--rule: #d5d1c4;
	--green: #14472f;
	--green-deep: #0d2f1f;
	--green-soft: #e2eae4;
	--wood: #7a4a2b;
	--wood-dark: #5a3320;
	--serif: Georgia, "PT Serif", "Times New Roman", serif;
	--sans: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
	--mono: Consolas, "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16.5px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.mono {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.muted { color: var(--muted); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
	border-bottom: 1px solid var(--rule);
	background: var(--paper);
	position: relative;
	z-index: 20;
}

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }

.brand-text { min-width: 0; }

.mark {
	width: 42px; height: 42px;
	border: 1px solid var(--green);
	display: grid;
	place-items: center;
	color: var(--green);
	font-family: var(--serif);
	font-size: 17px;
	letter-spacing: -.02em;
	flex: 0 0 auto;
}

.brand-text b {
	display: block;
	font-family: var(--serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	overflow-wrap: anywhere;
}

.brand-text span {
	display: block;
	font-size: 11.5px;
	color: var(--muted);
	margin-top: 3px;
}

.main-nav .nav-list {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14.5px;
}

.main-nav a { padding: 4px 0; border-bottom: 1px solid transparent; display: inline-block; }
.main-nav a:hover { border-color: var(--green); color: var(--green); }

.nav-toggle {
	display: none;
	width: 40px; height: 34px;
	border: 1px solid var(--rule);
	background: transparent;
	padding: 8px 9px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 1px;
	background: var(--ink);
	margin: 4px 0;
	transition: transform .2s ease, opacity .2s ease;
}

/* ---------- hero ---------- */

.hero { border-bottom: 1px solid var(--rule); }

.hero-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	border-left: 1px solid var(--rule);
	border-right: 1px solid var(--rule);
}

.hero-main { padding: 54px 48px 46px 32px; border-right: 1px solid var(--rule); }

.kicker { color: var(--green); margin-bottom: 14px; }

.hero-main h1 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	letter-spacing: -.028em;
	margin: 0 0 18px;
	max-width: 15ch;
	overflow-wrap: anywhere;
}

.hero-main .sub {
	font-size: 18px;
	color: #3b4038;
	max-width: 48ch;
	margin: 0 0 26px;
}

.facts {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin: 0 0 26px;
}

.facts div {
	padding: 13px 22px 13px 0;
	margin-right: 22px;
	border-right: 1px solid var(--rule);
	font-size: 14px;
}

.facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.facts span {
	display: block;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 3px;
}

.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.btn {
	display: inline-block;
	background: var(--green);
	color: #f6f4ec;
	padding: 13px 24px;
	font-size: 14.5px;
	letter-spacing: .02em;
}

.btn:hover { background: var(--green-deep); color: #f6f4ec; }

.link {
	font-size: 14.5px;
	border-bottom: 1px solid var(--green);
	color: var(--green);
	padding-bottom: 2px;
}

.hero-side {
	padding: 54px 32px 46px 34px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.side-title { color: var(--muted); margin-bottom: 10px; }

.event {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--rule);
}

.event:last-of-type { border-bottom: 0; }

.event .date {
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1;
	color: var(--green);
	min-width: 44px;
}

.event .date small {
	display: block;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 4px;
}

.event b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.event span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }

.side-all { margin-top: 16px; color: var(--green); }

/* ---------- sections ---------- */

.section { padding: 46px 0; border-bottom: 1px solid var(--rule); }
.section-last { border-bottom: 0; }

.sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}

.sec-head h2 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 32px;
	letter-spacing: -.02em;
	line-height: 1.1;
	margin: 0;
}

.more { color: var(--green); white-space: nowrap; }

/* ---------- news cards ---------- */

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 28px;
	border-top: 1px solid var(--rule);
}

.card {
	display: block;
	padding: 22px 0 26px;
	position: relative;
}

.card + .card::before {
	content: "";
	position: absolute;
	left: -14px;
	top: 22px;
	bottom: 26px;
	width: 1px;
	background: var(--rule);
}

.card:hover h3 { color: var(--green); }

.card-media,
.card .ph {
	aspect-ratio: 4 / 3;
	border: 1px solid var(--rule);
	overflow: hidden;
	margin-bottom: 14px;
	background: var(--green-soft);
	position: relative;
}

.card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.card .ph svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.card .ph { margin-bottom: 14px; }
.card .ph svg { position: absolute; inset: 0; }

.card-meta { color: var(--muted); }

.card h3 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.22;
	letter-spacing: -.01em;
	margin: 8px 0 8px;
}

.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- tiles ---------- */

.tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 28px;
	border-top: 1px solid var(--rule);
}

.tile {
	padding: 22px 0 26px;
	display: block;
	position: relative;
}

.tile + .tile::before {
	content: "";
	position: absolute;
	left: -14px;
	top: 22px;
	bottom: 26px;
	width: 1px;
	background: var(--rule);
}

.tile .mono { color: var(--muted); }

.tile h3 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 24px;
	letter-spacing: -.015em;
	margin: 10px 0 8px;
}

.tile p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 34ch; }
.tile:hover h3 { color: var(--green); }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 52px; }

.lead {
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.5;
	letter-spacing: -.005em;
	margin: 0;
	max-width: 52ch;
}

.quote-box { border-top: 2px solid var(--ink); padding-top: 16px; }

.quote-box .mono { color: var(--muted); }

.quote-box p {
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: -.01em;
	margin: 10px 0 14px;
}

/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.ph-item {
	display: block;
	aspect-ratio: 3 / 4;
	border: 1px solid var(--rule);
	overflow: hidden;
	background: var(--green-soft);
}

.ph-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- contacts ---------- */

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

.contacts h4 {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 8px;
	font-weight: 400;
}

.contacts p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--rule); padding: 38px 0 30px; background: var(--paper); }

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 30px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--rule);
}

.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.45; }
.footer-brand b { font-family: var(--serif); font-size: 16px; font-weight: 600; }

.site-footer h4 {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 8px;
	font-weight: 400;
}

.site-footer p { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	font-size: 12px;
	color: var(--muted);
}

/* ---------- page head ---------- */

.page-head { padding: 48px 0 34px; border-bottom: 1px solid var(--rule); }

.page-head h1 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(34px, 4.4vw, 52px);
	line-height: 1.06;
	letter-spacing: -.025em;
	margin: 8px 0 12px;
	max-width: 20ch;
}

.page-head .sub { font-size: 17px; color: var(--muted); max-width: 56ch; margin: 0 0 16px; }

/* ---------- article / prose ---------- */

.article { padding: 0 0 60px; }

.article-wrap { max-width: 820px; }

.article-head { padding: 46px 0 26px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }

.article-head h1 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(32px, 4.2vw, 50px);
	line-height: 1.08;
	letter-spacing: -.025em;
	margin: 8px 0 0;
	max-width: 22ch;
}

.entry-content { font-size: 17px; line-height: 1.68; max-width: 68ch; }

.entry-content p { margin: 0 0 1.05em; }

.entry-content [style*="text-align: justify"],
.entry-content [style*="text-align:justify"] { text-align: left !important; }
.entry-content h2,
.entry-content h3 {
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.2;
	margin: 1.5em 0 .55em;
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }

.entry-content a { color: var(--green); border-bottom: 1px solid rgba(20, 71, 47, .3); }
.entry-content a:hover { border-color: var(--green); }

.entry-content img { max-width: 100%; height: auto; display: block; margin: 1.2em auto; }

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 0 0 0 20px;
	border-left: 2px solid var(--green);
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.5;
}

.entry-content ul,
.entry-content ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.entry-content li { margin: 0 0 .35em; }

.entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 14.5px;
	line-height: 1.4;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.entry-content th { font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }

.entry-content iframe,
.entry-content video { max-width: 100%; }

.entry-content .alignleft { float: left; margin: 4px 22px 12px 0; }
.entry-content .alignright { float: right; margin: 4px 0 12px 22px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }

.article-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--rule);
}

.adjacent { display: block; }
.adjacent .mono { color: var(--muted); display: block; margin-bottom: 4px; }
.adjacent b { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.adjacent-next { text-align: right; }

.back-link { margin-top: 30px; }

/* ---------- pagination ---------- */

.pagination { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; }
.pagination .page-numbers { display: inline-block; padding: 5px 10px; margin-right: 6px; border: 1px solid var(--rule); }
.pagination .current { background: var(--green); color: #f6f4ec; border-color: var(--green); }

/* ---------- search ---------- */

.search-form { display: flex; gap: 10px; max-width: 520px; margin-top: 22px; }

.search-field {
	flex: 1;
	border: 1px solid var(--rule);
	background: var(--paper-2);
	padding: 11px 14px;
	font-family: var(--sans);
	font-size: 15px;
	color: var(--ink);
}

.search-submit {
	border: 0;
	background: var(--green);
	color: #f6f4ec;
	padding: 0 20px;
	font-size: 14px;
	cursor: pointer;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-main { padding: 40px 0 32px; border-right: 0; border-bottom: 1px solid var(--rule); }
	.hero-side { padding: 26px 0 34px; }
	.news-grid,
	.tiles { grid-template-columns: 1fr; }
	.news-grid,
	.tiles { gap: 0; }
	.card,
	.tile { border-bottom: 1px solid var(--rule); padding: 22px 0; }
	.card:last-child,
	.tile:last-child { border-bottom: 0; }
	.card + .card::before,
	.tile + .tile::before { display: none; }
	.split { grid-template-columns: 1fr; gap: 34px; }
	.contacts { grid-template-columns: 1fr; gap: 22px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.wrap { padding: 0 20px; }
	.main-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--paper);
		border-bottom: 1px solid var(--rule);
		padding: 10px 20px 16px;
		z-index: 30;
	}
	.main-nav.is-open { display: block; }
	.main-nav .nav-list { flex-direction: column; gap: 0; }
	.main-nav .nav-list li { border-bottom: 1px solid var(--rule); }
	.main-nav .nav-list li:last-child { border-bottom: 0; }
	.main-nav a { display: block; padding: 12px 0; border-bottom: 0; }
	.nav-toggle { display: block; }
	.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
	.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
	.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.article-foot { grid-template-columns: 1fr; }
	.adjacent-next { text-align: left; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.hero-main h1 { font-size: 34px; }
	.brand-text b { font-size: 16px; }
	.brand-text span { font-size: 10.5px; }
	.facts {
		display: grid;
		grid-template-columns: 1fr 1fr;
		border-bottom: 0;
	}
	.facts div {
		font-size: 13px;
		padding: 10px 12px 10px 0;
		margin: 0;
		border-right: 0;
		border-bottom: 1px solid var(--rule);
	}
	.facts div:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 12px; }
	.facts div:nth-child(even) { padding-left: 12px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: 6px; }
	.card h3 { font-size: 19px; }
	.page-head h1 { font-size: 30px; }
}

@media print {
	body { background: #fff; }
	.site-header, .site-footer, .actions, .nav-toggle { display: none; }
	.article-wrap { max-width: none; }
}

/* =========================================================
   Варианты оформления
   cloth   — сукно, дерево, тёплый свет ламп
   evening — вечерний клуб, приглушённый свет
   light   — светлый клуб с деревянными акцентами
   ========================================================= */

body.style-cloth {
	--paper: #0c2419;
	--paper-2: #113024;
	--ink: #f3ebd9;
	--muted: #a6b7a7;
	--rule: rgba(243, 235, 217, .17);
	--green: #d9b25a;
	--green-deep: #c39c45;
	--green-soft: #173a28;
	--wood: #7a4a2b;
	--wood-dark: #5a3320;
	background: var(--paper);
}

body.style-evening {
	--paper: #060f0b;
	--paper-2: #0a1710;
	--ink: #f0e8d6;
	--muted: #8fa293;
	--rule: rgba(240, 232, 214, .13);
	--green: #e0a83f;
	--green-deep: #c08c2f;
	--green-soft: #0f2619;
	--wood: #5f361d;
	--wood-dark: #452611;
	background: var(--paper);
}

body.style-light {
	--paper: #f7f1e3;
	--paper-2: #fcf8ef;
	--ink: #1b1712;
	--muted: #6d675a;
	--rule: #dbd0ba;
	--green: #14503a;
	--green-deep: #0e3a2a;
	--green-soft: #e6ece2;
	--wood: #7a4a2b;
	--wood-dark: #5a3320;
	background: var(--paper);
}

/* --- общая шапка вариантов --- */

body.style-cloth .site-header,
body.style-evening .site-header,
body.style-light .site-header {
	border-bottom: 3px solid var(--wood);
}

body.style-cloth .site-header { background: rgba(8, 27, 17, .88); }
body.style-evening .site-header { background: rgba(3, 10, 6, .92); }
body.style-light .site-header { background: var(--paper); }

body.style-cloth .mark,
body.style-evening .mark { color: var(--green); border-color: var(--green); }

/* --- баннер с фотографией и светом ламп --- */

body.style-cloth .hero,
body.style-evening .hero,
body.style-light .hero {
	background-image:
		radial-gradient(ellipse 62% 48% at 50% -8%, rgba(255, 190, 105, .32), rgba(255, 190, 105, 0) 72%),
		linear-gradient(180deg, rgba(7, 22, 14, .52) 0%, rgba(7, 22, 14, .86) 72%, rgba(7, 22, 14, .96) 100%),
		url("assets/hero.jpg");
	background-size: cover;
	background-position: center 42%;
	color: #f6eeda;
	border-bottom: 3px solid var(--wood);
}

body.style-evening .hero {
	background-image:
		radial-gradient(ellipse 55% 42% at 50% -10%, rgba(255, 160, 60, .38), rgba(255, 160, 60, 0) 70%),
		linear-gradient(180deg, rgba(2, 8, 5, .66) 0%, rgba(2, 8, 5, .93) 70%, #060f0b 100%),
		url("assets/hero.jpg");
}

body.style-light .hero {
	background-image:
		radial-gradient(ellipse 62% 48% at 50% -8%, rgba(255, 196, 112, .30), rgba(255, 196, 112, 0) 70%),
		linear-gradient(180deg, rgba(14, 40, 27, .58) 0%, rgba(14, 40, 27, .90) 74%, rgba(14, 40, 27, .97) 100%),
		url("assets/hero.jpg");
}

body.style-cloth .hero-grid,
body.style-evening .hero-grid,
body.style-light .hero-grid { border-color: rgba(243, 235, 217, .16); }

body.style-cloth .hero-side,
body.style-evening .hero-side,
body.style-light .hero-side {
	background: rgba(4, 14, 9, .55);
	backdrop-filter: blur(1.5px);
}

body.style-cloth .hero .link,
body.style-evening .hero .link,
body.style-light .hero .link {
	color: #ecd9ab;
	border-color: rgba(236, 217, 171, .55);
}

body.style-cloth .hero .link:hover,
body.style-evening .hero .link:hover,
body.style-light .hero .link:hover { color: #fff6e2; border-color: #fff6e2; }

/* деревянный акцент под заголовками разделов */
.sec-head h2 { position: relative; }

.sec-head h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	background: var(--wood);
	margin-top: 11px;
}

body.style-cloth .hero-main,
body.style-evening .hero-main,
body.style-light .hero-main { border-right-color: rgba(243, 235, 217, .16); }

body.style-cloth .hero-main h1,
body.style-evening .hero-main h1,
body.style-light .hero-main h1 { color: #f6eeda; text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }

body.style-cloth .hero-main .sub,
body.style-evening .hero-main .sub,
body.style-light .hero-main .sub { color: rgba(246, 238, 218, .82); }

body.style-cloth .facts,
body.style-evening .facts,
body.style-light .facts { border-color: rgba(243, 235, 217, .22); }

body.style-cloth .facts div,
body.style-evening .facts div,
body.style-light .facts div { border-color: rgba(243, 235, 217, .22); color: rgba(246, 238, 218, .92); }

body.style-cloth .facts span,
body.style-evening .facts span,
body.style-light .facts span { color: rgba(246, 238, 218, .58); }

body.style-cloth .event,
body.style-evening .event,
body.style-light .event { border-color: rgba(243, 235, 217, .16); }

body.style-cloth .event b,
body.style-evening .event b,
body.style-light .event b { color: #f3ebd9; }

body.style-cloth .event span,
body.style-evening .event span,
body.style-light .event span { color: rgba(243, 235, 217, .62); }

body.style-cloth .event .date,
body.style-evening .event .date,
body.style-light .event .date { color: #e3c179; }

body.style-cloth .side-title,
body.style-evening .side-title,
body.style-light .side-title { color: rgba(243, 235, 217, .55); }

body.style-cloth .side-all,
body.style-evening .side-all,
body.style-light .side-all { color: #e3c179; }

body.style-cloth .kicker,
body.style-evening .kicker,
body.style-light .hero .kicker { color: var(--green); }

/* --- кнопки и ссылки --- */

body.style-cloth .btn,
body.style-light .btn {
	background: var(--wood);
	color: #f9f1df;
	border: 1px solid rgba(255, 255, 255, .10);
}

body.style-cloth .btn:hover,
body.style-light .btn:hover { background: var(--wood-dark); color: #f9f1df; }

body.style-evening .btn {
	background: transparent;
	border: 1px solid var(--green);
	color: var(--green);
}

body.style-evening .btn:hover { background: var(--green); color: #10200f; }

body.style-cloth .link,
body.style-evening .link,
body.style-light .link { color: var(--green); border-color: var(--green); }

/* --- секции, карточки, плитки --- */

body.style-cloth .section:nth-of-type(even),
body.style-evening .section:nth-of-type(even) { background: rgba(255, 255, 255, .018); }

body.style-cloth .card-media,
body.style-cloth .card .ph,
body.style-evening .card-media,
body.style-evening .card .ph { border-color: rgba(243, 235, 217, .16); background: #081d13; }

body.style-evening .card-media img { filter: saturate(.9) contrast(1.05) brightness(.94); }

body.style-cloth .card p,
body.style-evening .card p { color: rgba(243, 235, 217, .60); }

body.style-cloth .card-meta,
body.style-evening .card-meta { color: var(--green); }

body.style-cloth .card + .card::before,
body.style-evening .card + .card::before,
body.style-cloth .tile + .tile::before,
body.style-evening .tile + .tile::before { background: rgba(243, 235, 217, .16); }

body.style-evening .card:hover h3 { color: var(--green); }

/* --- фотоблок --- */

body.style-cloth .ph-item,
body.style-evening .ph-item { border-color: rgba(243, 235, 217, .16); background: #081d13; }

/* --- подвал --- */

body.style-cloth .site-footer,
body.style-evening .site-footer {
	background: #071b11;
	border-top: 3px solid var(--wood);
	color: rgba(243, 235, 217, .78);
}

body.style-evening .site-footer { background: #030b07; }

body.style-cloth .site-footer h4,
body.style-evening .site-footer h4,
body.style-cloth .site-footer .mono,
body.style-evening .site-footer .mono { color: rgba(243, 235, 217, .5); }

body.style-cloth .footer-bottom,
body.style-evening .footer-bottom { color: rgba(243, 235, 217, .45); }

body.style-light .site-footer { border-top: 3px solid var(--wood); }

/* --- внутренние страницы --- */

body.style-cloth .page-head,
body.style-evening .page-head { border-bottom-color: var(--rule); }

body.style-cloth .entry-content a,
body.style-evening .entry-content a { color: var(--green); border-color: rgba(217, 178, 90, .35); }

body.style-cloth .pagination .page-numbers,
body.style-evening .pagination .page-numbers { border-color: var(--rule); }

body.style-cloth .pagination .current,
body.style-evening .pagination .current { background: var(--green); color: #10200f; border-color: var(--green); }

body.style-cloth .search-field,
body.style-evening .search-field { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--rule); }

body.style-cloth .quote-box,
body.style-evening .quote-box { border-top-color: var(--green); }
