/*
Theme Name: Astra Child — GameAlchemyPlay TR
Description: Professional dark/light hybrid theme with full Turkish support.
Version: 3.0.0-polished
Template: astra
*/

/* ========================================================================= */
/*  DESIGN TOKENS                                                            */
/* ========================================================================= */
:root {
	/* Brand */
	--brand-primary:    #f5a623;
	--brand-primary-h:  #ff7a00;
	--brand-secondary:  #7a3cff;
	--brand-dark:       #0a0a0a;
	--brand-success:    #2ecc71;
	--brand-warn:       #e74c3c;

	/* Surface */
	--bg:           #ffffff;
	--bg-alt:       #fafafa;
	--bg-dark:      #0a0a0a;
	--surface:      #ffffff;
	--surface-alt:  #f6f6f8;

	/* Text — высокий контраст */
	--text:         #1a1a1a;
	--text-strong:  #0a0a0a;
	--text-muted:   #595959;
	--text-light:   #8a8a8a;
	--text-on-dark: #f2f2f2;

	--border:       #e8e8e8;
	--border-strong:#d0d0d0;

	--radius:       10px;
	--radius-lg:    16px;
	--maxw:         1200px;
	--maxw-wide:    1280px;
	--font:         'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
	--shadow-sm:    0 1px 2px rgba(0,0,0,.04), 0 1px 4px rgba(0,0,0,.04);
	--shadow-md:    0 4px 12px rgba(0,0,0,.08);
	--shadow-lg:    0 8px 32px rgba(0,0,0,.12);
}

/* ========================================================================= */
/*  BASE                                                                     */
/* ========================================================================= */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	line-height: 1.7;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--text-strong) !important;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--text); }
a  { color: var(--brand-primary); text-decoration-color: rgba(245,166,35,.3); text-underline-offset: .18em; transition: color .15s; }
a:hover { color: var(--brand-primary-h); text-decoration-color: var(--brand-primary); }

::selection { background: var(--brand-primary); color: #000; }

/* ========================================================================= */
/*  ACCESSIBILITY                                                            */
/* ========================================================================= */
.screen-reader-text {
	position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; top: -40px; left: 0;
	background: var(--brand-primary); color: #000;
	padding: .75rem 1.25rem; z-index: 10000; font-weight: 700;
}
.skip-link:focus { top: 0; }
:focus-visible {
	outline: 3px solid var(--brand-primary);
	outline-offset: 2px;
	border-radius: 3px;
}

/* ========================================================================= */
/*  HEADER                                                                   */
/* ========================================================================= */
.site-header,
.ast-primary-header-bar,
.main-header-bar {
	background: rgba(255,255,255,.95) !important;
	border-bottom: 1px solid rgba(0,0,0,.06) !important;
	box-shadow: var(--shadow-sm) !important;
	padding: 0 !important;
	backdrop-filter: saturate(1.8) blur(14px);
	-webkit-backdrop-filter: saturate(1.8) blur(14px);
}
.ast-main-header-wrap { padding: .5rem 0 !important; min-height: 76px; }
#masthead {
	position: sticky !important; top: 0; z-index: 1000;
	transition: box-shadow .2s ease;
}
#masthead.scrolled { box-shadow: var(--shadow-md) !important; }

.ast-builder-grid-row-container,
.site-primary-header-wrap {
	max-width: var(--maxw-wide) !important;
	margin: 0 auto;
	padding: 0 1.5rem !important;
	background: transparent !important;
	border-radius: 0 !important;
}

/* Logo */
img.custom-logo, .custom-logo-link img, .site-logo-img img {
	max-width: 160px !important;
	max-height: 72px !important;
	width: auto !important; height: auto !important;
	object-fit: contain !important;
	display: block !important;
}
.site-logo-img a, .custom-logo-link {
	display: inline-flex !important; align-items: center;
	padding: 4px 0;
}
.site-title, .site-description,
.ast-site-title, .ast-site-description { display: none !important; }

/* Main Menu */
.main-header-menu, .ast-nav-menu {
	display: flex !important; flex-wrap: wrap;
	align-items: center; gap: .25rem;
}
.main-header-menu > li, .ast-nav-menu > li { margin: 0 !important; padding: 0 !important; }
.main-header-menu > li > a,
.ast-nav-menu > li > a {
	display: inline-flex; align-items: center;
	padding: .55rem 1rem !important;
	font-weight: 600 !important;
	font-size: .95rem !important;
	color: var(--text-strong) !important;
	border-radius: 8px;
	transition: all .15s ease !important;
	line-height: 1.4 !important;
}
.main-header-menu > li > a:hover,
.ast-nav-menu > li > a:hover,
.main-header-menu > li.current-menu-item > a,
.ast-nav-menu > li.current-menu-item > a {
	background: linear-gradient(135deg, #fff3dc, #ffe0b3) !important;
	color: #a85a00 !important;
}

/* 18+ badge на Yasal Bahis */
.ast-nav-menu > li > a[href*="yasal-bahis"]::after,
.main-header-menu > li > a[href*="yasal-bahis"]::after {
	content: "18+";
	display: inline-block;
	margin-left: .4rem;
	background: var(--brand-warn);
	color: #fff;
	font-size: .65rem;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 4px;
	line-height: 1;
	letter-spacing: .02em;
	vertical-align: middle;
}

/* Mobile hamburger — крупный, видимый */
.ast-mobile-menu-trigger-fill,
.ast-mobile-menu-trigger-minimal {
	color: #000 !important;
	background: var(--brand-primary) !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	box-shadow: var(--shadow-sm);
}

/* ========================================================================= */
/*  BREADCRUMBS                                                              */
/* ========================================================================= */
.gap-breadcrumbs {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--border);
}
.gap-breadcrumbs ol {
	display: flex; flex-wrap: wrap; gap: .25rem;
	list-style: none; padding: .9rem 1.5rem; margin: 0;
	font-size: .9rem; color: var(--text-muted);
	max-width: var(--maxw); margin: 0 auto;
}
.gap-breadcrumbs a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.gap-breadcrumbs a:hover { color: var(--brand-primary); }

/* ========================================================================= */
/*  BUTTONS                                                                  */
/* ========================================================================= */
.btn, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .9rem 1.75rem;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	transition: all .18s cubic-bezier(.4,0,.2,1);
	line-height: 1.3;
	cursor: pointer;
	border: 2px solid transparent;
	min-height: 48px; /* тач-таргет */
}
.btn-primary {
	background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-h) 100%) !important;
	color: #000 !important;
	box-shadow: 0 4px 14px rgba(245,166,35,.35);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(245,166,35,.5);
	color: #000 !important;
}
.btn-ghost {
	background: #fff !important;
	border-color: var(--text-strong) !important;
	color: var(--text-strong) !important;
}
.btn-ghost:hover {
	background: var(--text-strong) !important;
	color: #fff !important;
}

/* ========================================================================= */
/*  HERO                                                                     */
/* ========================================================================= */
.hero {
	text-align: center;
	padding: 4rem 1.5rem 3rem !important;
	max-width: var(--maxw); margin: 0 auto;
}
.hero__eyebrow {
	color: var(--brand-primary) !important;
	letter-spacing: .25em;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}
.hero__title {
	color: var(--text-strong) !important;
	font-size: clamp(2rem, 5.5vw, 3.75rem) !important;
	margin: 1rem 0 1.5rem !important;
	line-height: 1.1 !important;
	font-weight: 900 !important;
	letter-spacing: -.02em !important;
}
.hero__lead {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	color: var(--text) !important;
	font-size: 1.15rem;
	line-height: 1.6;
}
.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: center;
}
.hero__cta a { margin: 0 !important; }

/* ========================================================================= */
/*  SECTIONS                                                                 */
/* ========================================================================= */
.section-eyebrow {
	color: var(--brand-primary);
	letter-spacing: .25em;
	font-size: .8rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	display: block;
	margin-bottom: .5rem;
}
.section-title {
	text-align: center;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	margin: .5rem auto 2.5rem !important;
	max-width: 820px;
	color: var(--text-strong);
	line-height: 1.2;
}

section, header.page-header {
	padding: 2rem 1.5rem;
	max-width: var(--maxw); margin: 0 auto;
}
.page-lead {
	font-size: 1.1rem;
	color: var(--text);
	max-width: 760px;
	line-height: 1.65;
}

/* ========================================================================= */
/*  SERVICE CARDS                                                            */
/* ========================================================================= */
.services__grid {
	display: grid; gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	max-width: var(--maxw); margin: 0 auto;
	padding: 1rem;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem 1.5rem;
	text-align: center;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--brand-primary);
}
.service-card img {
	max-width: 72px !important; height: 72px !important;
	margin: 0 auto 1rem !important; display: block !important;
	object-fit: contain;
}
.service-card h3 {
	color: var(--text-strong);
	margin: .5rem 0 .75rem;
	font-size: 1.2rem;
}
.service-card p {
	color: var(--text-muted);
	font-size: .95rem;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.service-card__link {
	display: inline-block;
	color: var(--brand-primary);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all .15s;
}
.service-card__link:hover {
	color: var(--brand-primary-h);
	border-bottom-color: var(--brand-primary-h);
}

/* ========================================================================= */
/*  CHIPS                                                                    */
/* ========================================================================= */
.subcats {
	display: flex; flex-wrap: wrap; gap: .5rem;
	padding: 1rem 1.5rem;
	justify-content: center;
	max-width: var(--maxw); margin: 0 auto;
}
.chip {
	display: inline-block;
	padding: .5rem 1.1rem;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	text-decoration: none !important;
	color: var(--text-strong);
	font-size: .9rem;
	font-weight: 600;
	transition: all .15s;
	min-height: 40px;
	line-height: 1.4;
}
.chip:hover {
	background: var(--brand-primary);
	color: #000;
	border-color: var(--brand-primary);
	transform: translateY(-1px);
}

/* ========================================================================= */
/*  18+ NOTICES & AGE GATE                                                   */
/* ========================================================================= */
.responsible-notice {
	display: flex; align-items: center; gap: 1.25rem;
	max-width: var(--maxw); margin: 2rem auto;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, #fff7e6, #fff0d9);
	border: 1px solid #fcd99e;
	border-left: 4px solid var(--brand-primary);
	border-radius: var(--radius-lg);
	color: #5a3800;
}
.responsible-notice__badge {
	flex: 0 0 auto;
	background: var(--brand-primary);
	color: #000;
	font-weight: 900;
	font-size: 1.3rem;
	width: 48px; height: 48px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.responsible-notice p { margin: 0; font-size: .95rem; }
.responsible-notice--full { align-items: flex-start; flex-direction: column; }

.age-gate {
	max-width: var(--maxw); margin: 1rem auto 2rem;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, #330000, #4a0000);
	color: #fff;
	border-left: 4px solid var(--brand-warn);
	border-radius: var(--radius-lg);
}

/* ========================================================================= */
/*  TABLES                                                                   */
/* ========================================================================= */
table.scoring, table.cookies, table.retention, table.sla {
	width: 100%; border-collapse: collapse; margin: 1rem 0;
	background: var(--surface); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm);
}
table.scoring th, table.scoring td,
table.cookies th, table.cookies td,
table.retention th, table.retention td,
table.sla th, table.sla td {
	border: 1px solid var(--border);
	padding: .75rem 1rem;
	text-align: left;
	vertical-align: top;
}
table th {
	background: var(--surface-alt);
	font-weight: 700;
	color: var(--text-strong);
}
table tr:nth-child(even) { background: var(--surface-alt); }

/* ========================================================================= */
/*  FAQ                                                                      */
/* ========================================================================= */
.faq, section.faq { max-width: var(--maxw); margin: 2rem auto; }
.faq details, section.faq details {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin: .6rem 0;
	background: var(--surface);
	transition: box-shadow .2s, border-color .2s;
}
.faq details:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	color: var(--text-strong);
	min-height: 32px;
	display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
	content: "+";
	margin-right: .75rem;
	color: var(--brand-primary);
	font-weight: 900;
	font-size: 1.3rem;
	line-height: 1;
}
.faq details[open] {
	box-shadow: var(--shadow-md);
	border-color: var(--brand-primary);
}
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--text); }

/* ========================================================================= */
/*  IMPRINT                                                                  */
/* ========================================================================= */
.imprint {
	display: grid; grid-template-columns: minmax(140px, 220px) 1fr;
	gap: .75rem 1.5rem;
	max-width: 760px;
	background: var(--surface-alt);
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}
.imprint dt { color: var(--text-muted); font-weight: 500; }
.imprint dd { margin: 0; color: var(--text-strong); font-weight: 600; }

/* ========================================================================= */
/*  CONTENT TITLES                                                           */
/* ========================================================================= */
body.page .entry-header .entry-title,
body.single-post article > .entry-header .entry-title,
body.single-post .ast-article-single > header .entry-title { display: none !important; }

/* ========================================================================= */
/*  LATEST POSTS GRID                                                        */
/* ========================================================================= */
.gap-latest-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	padding: 1rem;
	max-width: var(--maxw); margin: 0 auto;
}
.gap-post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.gap-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--brand-primary);
}
.gap-post-card__thumb {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--surface-alt);
}
.gap-post-card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.gap-post-card:hover .gap-post-card__thumb img { transform: scale(1.05); }
.gap-post-card__body {
	padding: 1.1rem 1.25rem 1.25rem;
	display: flex; flex-direction: column;
	gap: .5rem;
	flex: 1;
}
.gap-post-card__cat {
	display: inline-block;
	background: var(--brand-primary);
	color: #000;
	font-size: .7rem;
	font-weight: 800;
	padding: .25rem .65rem;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: .05em;
	align-self: flex-start;
}
.gap-post-card h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}
.gap-post-card h3 a {
	color: var(--text-strong) !important;
	text-decoration: none;
}
.gap-post-card h3 a:hover { color: var(--brand-primary) !important; }
.gap-post-card__meta {
	font-size: .85rem;
	color: var(--text-muted);
	margin: 0; margin-top: auto;
}

/* Related + Author */
.gap-related {
	margin: 3rem auto;
	max-width: var(--maxw);
	padding: 2rem 1rem;
	border-top: 2px solid var(--brand-primary);
}
.gap-related h2 {
	font-size: 1.75rem;
	margin: 0 0 1.5rem;
	color: var(--text-strong);
}

.gap-author-bio {
	display: flex;
	gap: 1.25rem;
	background: linear-gradient(135deg, #f8f8f8, #ffffff);
	border: 1px solid var(--border);
	border-left: 4px solid var(--brand-primary);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	max-width: var(--maxw);
	margin: 3rem auto 2rem;
	align-items: center;
}
.gap-author-bio__avatar img {
	border-radius: 50%;
	width: 72px; height: 72px;
}
.gap-author-bio__text { flex: 1; }
.gap-author-bio__text strong {
	display: block; font-size: 1.1rem;
	margin-bottom: .35rem; color: var(--text-strong);
}
.gap-author-bio__text p {
	margin: 0; font-size: .95rem;
	color: var(--text-muted); line-height: 1.6;
}

/* ========================================================================= */
/*  REVIEW CARD                                                              */
/* ========================================================================= */
.gap-review-card {
	display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 2rem;
	margin: 2rem auto;
	max-width: var(--maxw);
	box-shadow: 0 8px 32px rgba(245,166,35,.15);
	border: 1px solid #333;
}
.gap-review-card h2 { color: #fff !important; }
.gap-review-card__score {
	text-align: center;
	border-right: 1px solid #333;
	padding-right: 2rem;
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
}
.gap-review-card__score-num {
	font-size: 5rem; font-weight: 900; line-height: 1;
	background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-h) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.gap-review-card--excellent .gap-review-card__score-num {
	background: linear-gradient(135deg, var(--brand-success) 0%, #27ae60 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gap-review-card--bad .gap-review-card__score-num {
	background: linear-gradient(135deg, var(--brand-warn) 0%, #c0392b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gap-review-card__score-max {
	color: #888; font-size: 1rem; margin-top: .25rem;
}
.gap-review-card__badge {
	margin-top: 1rem;
	background: var(--brand-primary); color: #000;
	padding: .35rem .9rem; border-radius: 4px;
	font-size: .75rem; font-weight: 800;
	letter-spacing: .05em;
}
.gap-review-card--excellent .gap-review-card__badge { background: var(--brand-success); }
.gap-review-card--bad .gap-review-card__badge { background: var(--brand-warn); color: #fff; }
.gap-review-card__title {
	color: #fff !important; font-size: 1.6rem !important;
	margin: 0 0 1rem !important; line-height: 1.2 !important;
}
.gap-review-card dl {
	display: grid; grid-template-columns: 130px 1fr;
	gap: .5rem 1rem; margin: 0 0 1rem;
	font-size: .9rem;
}
.gap-review-card dt { color: #999; }
.gap-review-card dd { color: #f0f0f0; margin: 0; }
.gap-review-card__pros, .gap-review-card__cons {
	margin-top: .75rem; font-size: .9rem;
}
.gap-review-card__pros strong { color: var(--brand-success); font-size: .95rem; }
.gap-review-card__cons strong { color: var(--brand-warn); font-size: .95rem; }
.gap-review-card__pros ul, .gap-review-card__cons ul {
	margin: .5rem 0 0;
	padding-left: 1.5rem;
	color: #ddd;
}
.gap-review-card__pros li, .gap-review-card__cons li {
	margin-bottom: .35rem;
}

/* ========================================================================= */
/*  FOOTER                                                                   */
/* ========================================================================= */
.gap-footer {
	background: var(--brand-dark);
	color: #e5e5e5;
	border-top: 4px solid var(--brand-primary);
	padding: 3rem 1.5rem 1.5rem;
	margin-top: 4rem;
}
.gap-footer__grid {
	display: grid; gap: 2rem;
	max-width: var(--maxw); margin: 0 auto;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gap-footer h4 {
	margin: 0 0 1rem;
	font-size: 1rem;
	color: var(--brand-primary) !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 800;
}
.gap-footer ul { list-style: none; padding: 0; margin: 0; }
.gap-footer li { margin-bottom: .5rem; }
.gap-footer a {
	color: #c5c5c5;
	text-decoration: none;
	font-size: .92rem;
	transition: color .15s;
}
.gap-footer a:hover { color: var(--brand-primary); }
.gap-footer address {
	color: #c5c5c5 !important;
	font-style: normal;
	line-height: 1.6;
}
.gap-footer address strong { color: #fff !important; }
.gap-footer__bottom {
	max-width: var(--maxw); margin: 2rem auto 0;
	display: flex; justify-content: space-between; align-items: center;
	font-size: .85rem; color: #888;
	border-top: 1px solid #2a2a2a;
	padding-top: 1.5rem;
	flex-wrap: wrap; gap: 1rem;
}
.gap-footer__badge18 {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	background: var(--brand-primary); color: #000;
	border-radius: 50%;
	font-weight: 900; font-size: .85rem;
}

/* ========================================================================= */
/*  IMAGES IN CONTENT                                                        */
/* ========================================================================= */
.entry-content img, main img { max-width: 100%; height: auto; }
figure.wp-block-image { margin: 1.5rem auto; }

/* ========================================================================= */
/*  MOBILE OPTIMIZATION — < 768px                                            */
/* ========================================================================= */
@media (max-width: 768px) {
	body { font-size: 16px; line-height: 1.6; }

	.hero { padding: 2.5rem 1rem 2rem !important; }
	.hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem) !important; }
	.hero__lead { font-size: 1rem; }
	.hero__cta { flex-direction: column; width: 100%; }
	.hero__cta .btn { width: 100%; max-width: 320px; margin: 0 auto !important; }

	.section-title { font-size: clamp(1.5rem, 5vw, 1.9rem) !important; margin: .5rem auto 1.5rem !important; }

	.services__grid { grid-template-columns: 1fr; gap: 1rem; padding: 0 1rem; }
	.service-card { padding: 1.5rem 1.25rem; }

	.gap-latest-grid { grid-template-columns: 1fr; padding: 0 1rem; }

	section, header.page-header { padding: 1.5rem 1rem; }

	.imprint { grid-template-columns: 1fr; padding: 1rem; }
	.imprint dt { color: var(--brand-primary); font-weight: 700; margin-top: .5rem; }

	.responsible-notice { flex-direction: column; text-align: center; padding: 1rem; }

	.gap-review-card {
		grid-template-columns: 1fr;
		padding: 1.5rem;
		margin: 1.5rem 1rem;
	}
	.gap-review-card__score {
		border-right: 0;
		border-bottom: 1px solid #333;
		padding: 0 0 1.5rem;
	}
	.gap-review-card dl { grid-template-columns: 110px 1fr; font-size: .85rem; }

	.gap-footer { padding: 2rem 1rem 1rem; }
	.gap-footer__grid { gap: 1.5rem; }
	.gap-footer__bottom { flex-direction: column; text-align: center; }

	.gap-author-bio { flex-direction: column; text-align: center; }

	table.scoring, table.cookies, table.retention, table.sla {
		display: block; overflow-x: auto; white-space: nowrap;
	}

	/* Header menu — hamburger уже делает Astra */
	.ast-main-header-wrap { min-height: 60px; }
	img.custom-logo, .custom-logo-link img { max-height: 48px !important; max-width: 130px !important; }
}

/* Extra small — < 400px */
@media (max-width: 400px) {
	.hero__title { font-size: clamp(1.5rem, 8vw, 2rem) !important; }
	section, header.page-header { padding: 1rem .75rem; }
	.subcats .chip { font-size: .85rem; padding: .4rem .9rem; }
	.gap-breadcrumbs ol { font-size: .8rem; padding: .75rem 1rem; }
}

/* ========================================================================= */
/*  PRINT                                                                    */
/* ========================================================================= */
@media print {
	.site-header, .gap-footer, .ast-related-posts, .gap-related,
	.hero__cta, .gap-review-card__badge, .cky-banner-element {
		display: none !important;
	}
	body { font-size: 11pt; color: #000; background: #fff; }
	a { color: #000; text-decoration: underline; }
	.gap-review-card { background: #f5f5f5; color: #000; border: 1px solid #ccc; }
	.gap-review-card__score-num { color: #000; -webkit-text-fill-color: #000; background: none; }
}

/* Scroll shadow boost */
#masthead.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1) !important; }
