/*
Theme Name: ОУ Отец Паисий — Георги Дамяново
Theme URI: https://ougeorgidamyanovo.eu/
Author: ITSERVICE
Author URI: https://itservice-bg.net
Description: Лека тема без външни зависимости за ОУ „Отец Паисий", с. Георги Дамяново. Достъпност WCAG 2.1 AA, системни шрифтове, нула JS библиотеки.
Version: 1.0
Requires at least: 6.0
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: ougd
Tags: education, one-column, custom-menu, accessibility-ready
*/

/* ============================================================
   1. Токени
   ============================================================ */
:root {
	--c-primary:        #123B63;
	--c-primary-dark:   #0C2A47;
	--c-primary-light:  #1D5288;
	--c-accent:         #C8863C;  /* декоративен — не се ползва за текст върху бяло */
	--c-accent-text:    #8A5A18;  /* 4.9:1 върху бяло — за текст */
	--c-ink:            #1B2430;
	--c-muted:          #55616F;  /* 5.6:1 върху бяло */
	--c-surface:        #FFFFFF;
	--c-bg:             #F5F7FA;
	--c-bg-alt:         #EDF1F6;
	--c-border:         #DCE3EB;

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Liberation Sans", Arial, sans-serif;

	--wrap: 1180px;
	--wrap-narrow: 960px;
	--radius: 10px;
	--shadow-sm: 0 1px 2px rgba(18, 59, 99, .06), 0 2px 8px rgba(18, 59, 99, .05);
	--shadow-md: 0 2px 4px rgba(18, 59, 99, .07), 0 10px 24px rgba(18, 59, 99, .09);
	--header-h: 88px;
}

/* ============================================================
   2. Основа
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	/* Футерът стои на дъното и когато страницата е по-къса от екрана. */
	display: flex; flex-direction: column; min-height: 100vh;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, embed, object { max-width: 100%; }
img { height: auto; vertical-align: middle; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.22;
	color: var(--c-primary-dark);
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.55rem); }
h2 { font-size: clamp(1.4rem,  1.15rem + 1.1vw, 1.95rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }
h4 { font-size: 1.08rem; }

p, ul, ol, table, pre, blockquote { margin: 0 0 1.15em; }

a { color: var(--c-primary-light); text-decoration: underline; text-underline-offset: .18em; }
a:hover { color: var(--c-primary-dark); }

/* Видим фокус — задължителен за клавиатурна навигация */
:focus-visible {
	outline: 3px solid var(--c-accent-text);
	outline-offset: 2px;
	border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }

/* ============================================================
   3. Помощни
   ============================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 50%; top: 0;
	transform: translate(-50%, -140%);
	z-index: 999;
	background: var(--c-primary-dark); color: #fff;
	padding: .7rem 1.4rem;
	border-radius: 0 0 var(--radius) var(--radius);
	text-decoration: none; font-weight: 600;
	transition: transform .15s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .78rem 1.5rem;
	border-radius: var(--radius);
	font-weight: 600; font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary  { background: var(--c-accent); color: #241300; border-color: var(--c-accent); }
.btn--primary:hover  { background: #b0742f; border-color: #b0742f; color: #241300; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: #fff; color: var(--c-primary-dark); border-color: #fff; }
.btn--solid { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn--solid:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }

.eyebrow {
	display: block;
	font-size: .78rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-accent-text);
	margin-bottom: .55rem;
}

/* ============================================================
   4. Хедър
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }

.brand__mark {
	flex: 0 0 auto;
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	font-weight: 700; font-size: 1.15rem;
	letter-spacing: .02em;
	box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), 0 0 0 2px var(--c-accent);
}

/* Гербът. Щитът е по-висок, отколкото широк — водещият размер е височината. */
.brand__logo {
	flex: 0 0 auto;
	width: auto;
	height: 52px;
	display: block;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 700; font-size: 1.06rem; color: var(--c-primary-dark); }
.brand__place { font-size: .84rem; color: var(--c-muted); }

/* Навигация */
.nav-toggle { display: none; }

.main-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: .15rem;
}
.main-nav a {
	display: block;
	padding: .55rem .8rem;
	border-radius: 7px;
	font-size: .95rem; font-weight: 600;
	color: var(--c-ink);
	text-decoration: none;
	white-space: nowrap;
}
.main-nav a:hover { background: var(--c-bg-alt); color: var(--c-primary-dark); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-parent > a,
.main-nav [aria-current="page"] {
	color: var(--c-primary-dark);
	background: var(--c-bg-alt);
	box-shadow: inset 0 -3px 0 var(--c-accent);
}
.main-nav .sub-menu {
	position: absolute;
	flex-direction: column; align-items: stretch;
	min-width: 220px; padding: .35rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	display: none;
}
.main-nav li { position: relative; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: flex; }

@media (max-width: 1120px) {
	:root { --header-h: 72px; }
	.header-inner { flex-wrap: wrap; gap: .75rem; }

	/* Марката и бургерът трябва да се съберат на един ред и на 360px екран. */
	.brand { flex: 1 1 auto; min-width: 0; gap: .6rem; }
	.brand__text { min-width: 0; }
	.brand__mark { width: 44px; height: 44px; font-size: 1rem; }
	.brand__logo { height: 44px; }
	.brand__name { font-size: .95rem; }
	.brand__place { font-size: .78rem; }

	.nav-toggle {
		display: block;
		flex: 0 0 auto;
		margin-left: auto;
		background: none; border: 0; padding: 0; cursor: pointer;
	}
	.nav-toggle::-webkit-details-marker { display: none; }
	.nav-toggle summary { list-style: none; }
	.nav-toggle > summary {
		display: flex; align-items: center; gap: .5rem;
		padding: .55rem .9rem;
		border: 1px solid var(--c-border); border-radius: var(--radius);
		font-weight: 600; font-size: .95rem;
		color: var(--c-primary-dark);
		background: var(--c-surface);
		cursor: pointer;
	}
	.nav-toggle > summary::-webkit-details-marker { display: none; }
	.nav-toggle > summary::marker { content: ""; }
	.burger { display: inline-grid; gap: 4px; }
	.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }

	.main-nav {
		flex-basis: 100%;
		display: none;
		padding-bottom: 1rem;
	}
	.nav-toggle[open] ~ .main-nav { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: .75rem .8rem; border-bottom: 1px solid var(--c-border); border-radius: 0; }
	.main-nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
}

/* ============================================================
   5. Hero (начална страница)
   ============================================================ */
.hero {
	position: relative;
	background: var(--c-primary-dark);
	color: #fff;
	overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(12,42,71,.92) 0%, rgba(12,42,71,.72) 45%, rgba(12,42,71,.45) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(2.25rem, 4.6vw, 3.6rem) 20px; max-width: var(--wrap); margin-inline: auto; }
.hero__body { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .6rem; text-wrap: balance; }
.hero__eyebrow { color: #F0C48A; }
.hero__lead { font-size: clamp(1.02rem, .97rem + .3vw, 1.18rem); color: rgba(255,255,255,.93); margin-bottom: 1.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ============================================================
   6. Секции
   ============================================================ */
.section { padding: clamp(1.9rem, 3.4vw, 2.75rem) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--surface { background: var(--c-surface); }

.section__head { max-width: 720px; margin-bottom: 1.35rem; }
.section__head p { color: var(--c-muted); margin-bottom: 0; }

/* Плочки за бърз достъп */
.tiles {
	display: grid; gap: .9rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	list-style: none; margin: 0; padding: 0;
}
.tile {
	display: flex; flex-direction: column;
	gap: .4rem;
	padding: 1.25rem 1.3rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: var(--c-primary-light);
	color: inherit;
}
.tile__icon { width: 34px; height: 34px; color: var(--c-accent-text); }
.tile__name { font-weight: 700; font-size: 1.12rem; color: var(--c-primary-dark); }
.tile__count { font-size: .88rem; color: var(--c-muted); }

/* ============================================================
   7. Карти за публикации
   ============================================================ */
.cards {
	display: grid; gap: 1.1rem;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	list-style: none; margin: 0; padding: 0;
}

.card {
	display: flex; flex-direction: column;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--c-bg-alt); overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Типографски заместител, когато постът няма изображение */
.card__thumb--blank {
	display: grid; place-items: center;
	background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
	color: rgba(255,255,255,.9);
}
.card__thumb--blank svg { width: 46px; height: 46px; }

.card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem 1.3rem 1.4rem; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; font-size: .82rem; color: var(--c-muted); }
.card__cat {
	font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
	color: var(--c-accent-text); text-decoration: none;
}
.card__cat:hover { color: var(--c-accent-text); text-decoration: underline; }
.card__title { font-size: 1.1rem; margin: 0; line-height: 1.35; }
.card__title a { color: var(--c-primary-dark); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__excerpt { font-size: .94rem; color: var(--c-muted); margin: 0; }
.card__more { margin-top: auto; padding-top: .35rem; font-weight: 600; font-size: .92rem; }

/* Списъчен вид за архивите с документи */
.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.doclist__item {
	display: flex; align-items: flex-start; gap: 1rem;
	padding: 1.05rem 1.25rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.doclist__item:hover { border-color: var(--c-primary-light); }
.doclist__icon { flex: 0 0 auto; width: 26px; height: 26px; color: var(--c-accent-text); margin-top: .2rem; }
.doclist__body { min-width: 0; }
.doclist__title { margin: 0 0 .2rem; font-size: 1.05rem; line-height: 1.4; }
.doclist__title a { color: var(--c-primary-dark); text-decoration: none; }
.doclist__title a:hover { text-decoration: underline; }
.doclist__meta { font-size: .83rem; color: var(--c-muted); }

/* ============================================================
   8. Страница / статия
   ============================================================ */
.page-head {
	background: var(--c-primary-dark);
	color: #fff;
	padding: clamp(2rem, 4.5vw, 3.25rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: .3rem; text-wrap: balance; }
.page-head p { color: rgba(255,255,255,.85); margin: 0; }
.page-head .eyebrow { color: #F0C48A; }

.breadcrumbs { font-size: .87rem; padding: .9rem 0; color: var(--c-muted); }
.breadcrumbs a { color: var(--c-primary-light); }
.breadcrumbs span[aria-current] { color: var(--c-ink); font-weight: 600; }

.entry {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	box-shadow: var(--shadow-sm);
}
.entry__meta {
	display: flex; flex-wrap: wrap; gap: .5rem 1rem;
	font-size: .88rem; color: var(--c-muted);
	padding-bottom: 1.1rem; margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--c-border);
}

.entry-content { font-size: 1.03rem; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.9em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: 8px; height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .87rem; color: var(--c-muted); text-align: center; margin-top: .5rem; }
.entry-content blockquote {
	margin: 1.6em 0; padding: .3rem 0 .3rem 1.25rem;
	border-left: 4px solid var(--c-accent);
	color: var(--c-muted); font-style: italic;
}
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { font-weight: 500; }

/* Таблици — скролват се сами, страницата никога не скролва хоризонтално */
.table-scroll { overflow-x: auto; margin-bottom: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .6rem .8rem; border: 1px solid var(--c-border); text-align: left; }
.entry-content th { background: var(--c-bg-alt); font-weight: 700; }

/* Вградени документи (Document Embedder) */
.entry-content iframe { max-width: 100%; border-radius: 8px; }

/* Прикачени файлове */
.attachments { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
.attachments h2 { font-size: 1.15rem; }

.entry-nav {
	display: grid; gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin-top: 2rem;
}
.entry-nav a {
	display: block; padding: 1rem 1.25rem;
	background: var(--c-surface); border: 1px solid var(--c-border);
	border-radius: var(--radius); text-decoration: none;
	box-shadow: var(--shadow-sm);
}
.entry-nav a:hover { border-color: var(--c-primary-light); }
.entry-nav span { display: block; font-size: .8rem; color: var(--c-muted); margin-bottom: .2rem; }
.entry-nav strong { color: var(--c-primary-dark); font-weight: 600; font-size: .98rem; }
.entry-nav .is-next { text-align: right; }

/* ============================================================
   9. Секция „За училището" и контакти
   ============================================================ */
.about {
	display: grid; gap: clamp(1.75rem, 4vw, 3rem);
	grid-template-columns: 1.15fr .85fr;
	align-items: start;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; }
.facts svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--c-accent-text); margin-top: .25rem; }

.contact-grid {
	display: grid; gap: 1.1rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	list-style: none; margin: 0; padding: 0;
}
.contact-card {
	padding: 1.4rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--c-accent);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.contact-card__label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .35rem; }
.contact-card__value { font-size: 1.06rem; font-weight: 600; color: var(--c-primary-dark); word-break: break-word; }
.contact-card__value a { color: var(--c-primary-dark); }

/* ============================================================
   10. Търсачка, пагинация, футер
   ============================================================ */
.searchform { display: flex; gap: .5rem; max-width: 460px; }
.searchform input[type="search"] {
	flex: 1; min-width: 0;
	padding: .7rem .9rem;
	font: inherit; font-size: .97rem;
	color: var(--c-ink);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}
.searchform input[type="search"]::placeholder { color: #7C8796; }
.searchform button {
	padding: .7rem 1.2rem;
	font: inherit; font-weight: 600;
	color: #fff; background: var(--c-primary);
	border: 1px solid var(--c-primary); border-radius: var(--radius);
	cursor: pointer;
}
.searchform button:hover { background: var(--c-primary-dark); }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding: 0 .7rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: 8px;
	color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.pagination .page-numbers:hover { border-color: var(--c-primary-light); color: var(--c-primary-dark); }
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .dots { border-color: transparent; background: transparent; }

#content { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; background: var(--c-primary-dark); color: rgba(255,255,255,.82); padding-top: 3rem; margin-top: 3rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .9rem; }
.site-footer a { color: #CFE0F2; }
.site-footer a:hover { color: #fff; }

.footer-grid {
	display: grid; gap: 2rem;
	grid-template-columns: 1.3fr 1fr 1fr;
	padding-bottom: 1.9rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand .brand__mark { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.footer-brand .brand__logo { height: 46px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__place { color: rgba(255,255,255,.7); }
.footer-about { font-size: .95rem; margin: 0; }

.site-credit {
	border-top: 1px solid rgba(255,255,255,.15);
	padding: 1.15rem 0;
	font-size: .87rem;
	color: rgba(255,255,255,.72);
}
.site-credit .wrap {
	display: flex; flex-wrap: wrap;
	align-items: center; justify-content: center;
	gap: .2rem .7rem;
}
.site-credit .sep { color: rgba(255,255,255,.4); }
/* На тесен екран разделителят отпада — двете части се редят една под друга. */
@media (max-width: 560px) {
	.site-credit .wrap { flex-direction: column; gap: .3rem; }
	.site-credit .sep { display: none; }
}

/* ============================================================
   11. WordPress ядро — задължителни класове
   ============================================================ */
.alignleft  { float: left;  margin: .35rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .35rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .87rem; color: var(--c-muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1rem 0; } }

.wp-block-image img { border-radius: 8px; }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 1.5em; }
.gallery-item { margin: 0; }
.gallery img { border-radius: 8px; width: 100%; }

.notice {
	padding: 1.25rem 1.4rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--c-accent);
	border-radius: var(--radius);
}

/* ============================================================
   12. Печат
   ============================================================ */
@media print {
	.site-header, .site-footer, .hero, .breadcrumbs, .entry-nav, .pagination, .skip-link { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.entry { border: 0; box-shadow: none; padding: 0; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
