/* ==========================================================================
   Rybaki UK — main.css
   Контрольные точки: телефон < 600, планшет 600–1023, компьютер ≥ 1024.
   Контент — 1440 px, шапка и подвал — во всю ширину.
   ========================================================================== */

:root {
	--bg: #0A1A24;
	--bg-2: #0D2230;
	--bg-deep: #07141C;
	--surface: #10283A;
	--surface-2: #163449;
	--line: #1E3A4F;
	--line-2: #2B4D66;
	--text: #EAF2F6;
	--text-2: #B8CAD6;
	--muted: #9DB3C2;
	--dim: #6F8798;
	--blue: #8DB4E2;
	--red: #D92128;
	--red-dark: #B3141B;
	--paper: #F3F0EA;
	--paper-line: #D9D2C5;
	--ink: #0A1A24;
	--gold: #FFC94D;
	--silver: #C9D6DF;
	--bronze: #E09A5B;
	--ok: #7FE0A6;
	--warn: #FFC94D;
	--radius: 16px;
	--content: 1440px;
	--gutter: 24px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Unbounded", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.container { max-width: var(--content); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 808px; }
.section { padding-top: 80px; padding-bottom: 0; }
.section:last-of-type { padding-bottom: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(25px, 2.3vw, 32px); }
.section-head__link { font-weight: 700; color: var(--blue); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 18px; color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--dim); }

/* Кнопки */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
	font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: var(--text); color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* Карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.card--paper { background: var(--paper); color: var(--ink); border-color: var(--paper-line); }
.card--paper a { color: var(--ink); }
.tag { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; background: var(--surface-2); color: var(--blue); text-transform: uppercase; }
.tag--red { background: var(--red); color: #fff; }
.grid { display: grid; gap: 20px; }
.grid--auto-240 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--auto-300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.split { display: flex; gap: 32px; flex-wrap: wrap; align-items: stretch; }
.split > .grow { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 340px; min-width: 0; }

/* Формы */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.field input, .field select, .field textarea, .input {
	background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 13px; color: var(--text); font-size: 16px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.check a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.is-ok { display: block; background: #14402A; color: var(--ok); }
.form-msg.is-err { display: block; background: #4A1418; color: #FFB3B6; }

/* ---------- Бегущая строка ---------- */
.ticker { background: var(--red); color: #fff; display: flex; overflow: hidden; font-size: 14px; font-weight: 700; }
.ticker__label { flex-shrink: 0; background: var(--ink); padding: 11px 18px; font-size: 13px; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; z-index: 1; }
.ticker__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; white-space: nowrap; animation: rybaki-tick var(--ticker-duration, 45s) linear infinite; }
.ticker__track:hover, .ticker__track:focus-within { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 11px 28px 11px 0; color: #fff; }
.ticker__item:hover { color: #fff; text-decoration: underline; }
.ticker__tag { font-size: 11px; letter-spacing: .08em; padding: 3px 7px; border-radius: 4px; background: rgba(10, 26, 36, .35); }
.ticker__item::after { content: "•"; opacity: .6; padding-left: 18px; }
@keyframes rybaki-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Шапка ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; transition: transform .25s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { display: flex; align-items: center; gap: 24px; padding: 12px max(40px, env(safe-area-inset-right)) 12px max(40px, env(safe-area-inset-left)); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 60px; height: 60px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; display: block; }
.brand__sub { font-size: 12px; color: var(--muted); display: block; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { display: block; padding: 8px 10px; font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--blue); border-bottom-color: var(--blue); }
.socials { display: flex; gap: 6px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.socials svg { width: 18px; height: 18px; }
.header-actions { display: flex; gap: 14px; align-items: center; }
.header-login { font-weight: 700; }
.burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.mobile-panel { display: none; border-top: 1px solid var(--line); padding: 8px 20px 20px; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.mobile-panel__extra { display: flex; gap: 10px; padding-top: 18px; flex-wrap: wrap; }
@media (max-width: 999px) {
	.main-nav, .site-header__bar .socials, .header-actions .header-login, .header-actions .header-user { display: none; }
	.burger { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.site-header__bar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); gap: 12px; }
	.brand img { width: 48px; height: 48px; }
	.brand__name { font-size: 16px; }
	.site-header.is-open .mobile-panel { display: block; }
	.site-header.is-open { max-height: 100svh; overflow-y: auto; }
}
@media (max-width: 420px) { .brand__sub { display: none; } .header-actions .btn { padding: 8px 12px; font-size: 14px; min-height: 42px; } }

.crumbs { padding-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--blue); }
.crumbs__sep { color: var(--line-2); }

/* ---------- Hero ---------- */
.hero { position: relative; background: #071620; overflow: hidden; border-bottom: 4px solid var(--red); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__veil { position: absolute; inset: 0; background: rgba(7, 22, 32, .8); }
.hero__inner { position: relative; padding-top: 56px; padding-bottom: 48px; min-height: min(650px, 100svh); display: flex; flex-direction: column; justify-content: center; gap: 44px; }
.hero__main { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; border-left: 4px solid var(--red); padding-left: 32px; }
.hero__text h1 { font-size: clamp(36px, 4.3vw, 64px); font-weight: 800; }
.hero__meta { font-size: 18px; color: #D4E0E8; max-width: 720px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__count { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: rgba(16, 40, 58, .85); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 20px; align-self: flex-start; }
.hero__count .countdown { min-width: 280px; }
.hero__count .countdown b { font-size: 26px; }
.hero__ad { flex: 0 0 400px; display: flex; flex-direction: column; gap: 10px; }
.hero__adbox { width: 400px; max-width: 100%; aspect-ratio: 1 / 1; background: rgba(16, 40, 58, .85); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; display: flex; }
.hero__adbox > * { width: 100%; height: 100%; }
.hero__adbox .ad-slot a, .hero__adbox picture { display: block; width: 100%; height: 100%; }
.hero__adbox .ad-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__adbox .ad-slot__label { display: none; }
.hero__adbox .ad-house { border: 0; border-radius: 0; background: transparent; }
@media (max-width: 1023px) { .hero__ad { flex: 1 1 100%; align-items: flex-start; } }
.live-dot { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #FF8A8F; }
.live-dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(217, 33, 40, .25); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.countdown span { font-size: 12px; color: var(--muted); }
.top5__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.top5__head span { font-size: 14px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.top5__head i { flex: 1; height: 1px; background: var(--line-2); }
.top5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.top5__card { background: rgba(16, 40, 58, .85); border: 1px solid var(--line-2); border-top: 3px solid var(--c, var(--dim)); border-radius: 12px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top5__num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--c, var(--dim)); }
.top5__name { font-weight: 700; flex: 1; line-height: 1.3; }
.top5__pts { font-size: 13px; color: var(--muted); text-align: right; }
.top5__pts b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--gold); }
@media (max-width: 599px) {
	.hero__inner { padding-top: 36px; gap: 32px; }
	.hero__text { padding-left: 18px; }
	.hero__count .countdown { min-width: 0; width: 100%; }
}


/* Рекламные места */
.ad-slot { display: block; margin: 0 auto; }
.ad-slot img { width: 100%; height: auto; border-radius: 14px; }
.ad-slot__label { font-size: 11px; color: var(--dim); text-align: right; margin-top: 4px; letter-spacing: .06em; }
.ad-house { border: 2px dashed #3C6280; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; min-height: 140px; }
.ad-house b { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 22px); }

/* Цифры */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(31px, 2.9vw, 40px); color: var(--blue); }
.stats span { color: var(--text-2); }

/* О клубе */
.about { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.about img { flex: 1 1 440px; min-width: 0; height: 380px; object-fit: cover; border-radius: var(--radius); }
.about__text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.about__text h2 { font-size: clamp(27px, 2.4vw, 34px); }
.about blockquote { margin: 0; font-size: 18px; color: var(--text-2); }

/* Широкая карточка итогов */
.wide-card { display: flex; flex-wrap: wrap; }
.wide-card > img { flex: 1 1 520px; min-width: 0; height: 340px; object-fit: cover; }
.wide-card .card__body { flex: 1 1 380px; padding: 36px; justify-content: center; }

/* Календарь */
.event-card .card__body { gap: 12px; }
.event-card h3 { font-size: 19px; }

/* Шаги */
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--red); }

/* Сезоны */
.season-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; height: 220px; background: var(--surface-2); }
.season-tile img { width: 100%; height: 100%; object-fit: cover; }
.season-tile span { position: absolute; left: 12px; bottom: 12px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; padding: 6px 12px; border-radius: 8px; }

/* Партнёрам */
.partners { background: var(--paper); color: var(--ink); }
.partners a:not(.btn) { color: var(--ink); }
.partners .eyebrow { color: var(--red-dark); }
.partners h2 { font-size: clamp(26px, 3.1vw, 44px); font-weight: 800; }
.partners__intro { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-end; }
.partners__intro > div:first-child { flex: 999 1 560px; display: flex; flex-direction: column; gap: 18px; }
.partners__intro > div:last-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.exposure { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; overflow: hidden; }
.exposure img { flex: 1 1 420px; min-width: 0; height: 380px; object-fit: cover; }
.exposure > div { flex: 1 1 380px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; line-height: 1.45; }
.ticks li::before { content: "✓"; color: var(--red); font-weight: 800; }
.pack { border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: #fff; color: var(--ink); }
.pack--dark { background: var(--ink); color: var(--paper); }
.pack h3 { font-size: 22px; }
.pack__price { margin-top: auto; padding-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.pack__price b { color: var(--red); }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.logo-row a, .logo-row span { height: 88px; border: 1px solid var(--paper-line); background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.logo-row img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.logo-row a:hover img { filter: none; opacity: 1; }
.logo-row .is-empty { border-style: dashed; color: #5A6A75; font-size: 14px; font-weight: 600; text-align: center; background: transparent; }

/* Слайдер новостей */
.slider { position: relative; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; display: flex; }
.slider__item > .card { display: flex; flex-direction: column; width: 100%; }
@media (max-width: 1023px) { .slider__item { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 599px) { .slider__item { flex-basis: 86%; } }
.slider__nav { display: flex; gap: 8px; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; }
.slider__btn:hover { border-color: var(--blue); color: var(--blue); }

/* Видео-фасад */
.video-facade { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surface); margin: 0 0 1.4em; }
.video-facade img, .video-facade iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-facade button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 62px; border-radius: 16px; border: 0; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-badge { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; align-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; }

/* Контакты */
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-links a { display: flex; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-weight: 700; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); margin-top: 80px; }
.site-footer__grid { display: flex; gap: 40px; flex-wrap: wrap; padding: 48px max(40px, env(safe-area-inset-right)) 32px max(40px, env(safe-area-inset-left)); }
.site-footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__col a { color: var(--muted); }
.site-footer__col a:hover { color: var(--text); }
.site-footer__title { font-weight: 700; font-size: 15px; }
.site-footer__brand { flex: 1 1 220px; }
.site-footer__news { flex: 2 1 340px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 18px max(40px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left)); display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: var(--dim); }
.site-footer__bottom ul { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }
.site-footer__bottom a, .site-footer__bottom button { color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; }
@media (max-width: 599px) { .site-footer__grid, .site-footer__bottom { padding-left: 20px; padding-right: 20px; } }
.to-top { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); border: 0; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Cookie-баннер ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 200; max-width: 760px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); display: none; }
.consent.is-open { display: block; }
.consent h2 { font-size: 18px; margin-bottom: 8px; }
.consent p { font-size: 14px; color: #3A4A55; }
.consent a { color: var(--red-dark); text-decoration: underline; }
.consent__opts { display: none; flex-direction: column; gap: 10px; margin: 12px 0; }
.consent.is-custom .consent__opts { display: flex; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .check { color: #3A4A55; }

/* ---------- Турнир ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.fact span { font-size: 13px; color: var(--muted); }
.fact b { font-weight: 700; font-size: 17px; line-height: 1.3; }
.t-title { font-size: clamp(29px, 3.4vw, 48px); font-weight: 800; }
.group-photo { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.reg-box { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.reg-box .countdown b { color: var(--ink); }
.reg-box .countdown > div { background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 12px 4px; }
.reg-box .countdown span { color: #4A5A65; }
.progress { height: 10px; background: #E4DDD0; border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--red); }
.podium { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; justify-content: center; max-width: 960px; margin: 0 auto; }
.podium__col { flex: 1 1 240px; display: flex; flex-direction: column; }
.podium__who { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px 16px; text-align: center; }
.podium__photo { border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 5px solid var(--c); background: var(--surface-2); margin-bottom: 10px; }
.podium__who b { font-family: var(--font-display); font-size: 19px; }
.podium__step { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 12px 12px 0 0; display: flex; flex-direction: column; align-items: center; padding-top: 18px; gap: 4px; }
.podium__step b { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--c); }
.podium__step span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 599px) {
	.podium { flex-direction: column; align-items: stretch; }
	.podium__col { order: var(--o); }
	.podium__step { height: auto !important; flex-direction: row; justify-content: center; padding: 12px; border-radius: 12px; border-top-width: 1px; border-left: 6px solid var(--c); }
	.podium__step b { font-size: 36px; }
}
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.table th { background: var(--surface-2); text-align: left; font-size: 13px; letter-spacing: .06em; color: var(--muted); padding: 14px 20px; text-transform: uppercase; }
.table td { padding: 13px 20px; border-top: 1px solid var(--line); }
.table .num { text-align: right; }
.table .place { font-family: var(--font-display); font-weight: 700; color: var(--c, var(--dim)); }
.status { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }
.status--paid { background: #14402A; color: var(--ok); }
.status--wait { background: #4A3510; color: var(--warn); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery a { display: block; height: 200px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.schedule li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.schedule time { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue); width: 64px; flex-shrink: 0; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.rules > div { border-top: 2px solid var(--red); padding-top: 12px; }
.rules h3 { font-family: var(--font); font-size: 16px; margin-bottom: 6px; }
.rules p { color: var(--text-2); font-size: 14px; margin: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; }
.lightbox__next { right: 16px; top: 50%; }

/* ---------- Статья ---------- */
.entry { font-size: 18px; line-height: 1.7; color: #C9D6DF; }
.entry h2 { font-size: clamp(22px, 2vw, 26px); color: var(--text); margin: 1.6em 0 .6em; }
.entry h3 { font-size: 20px; color: var(--text); margin: 1.4em 0 .5em; }
.entry a { color: var(--blue); text-decoration: underline; }
.entry img { border-radius: 14px; margin: 1em 0; }
.entry blockquote { margin: 1.4em 0; border-left: 4px solid var(--red); padding: 4px 0 4px 20px; font-size: 20px; color: var(--text); }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { border: 1px solid var(--line); padding: 8px 12px; }
.entry-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; flex-wrap: wrap; }
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line-2); font-weight: 700; padding: 0 14px; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line-2); }
.chips a.is-active { background: var(--surface-2); }

/* FAQ / Полезно знать */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 20px; color: var(--text-2); }
.season-table td.m { padding: 12px 2px; }
.season-table td.m i { display: block; height: 20px; margin: 0 2px; border-radius: 4px; background: var(--surface-2); }
.season-table td.m.on i { background: #2A6FB0; }

/* Регистрация */
.auth { max-width: 1100px; }
.steps2 { display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; }
.steps2 > * { flex: 1 1 440px; }
.step-badge { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--red); color: #fff; }
.tg-status { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--text-2); }
.tg-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex-shrink: 0; }
.tg-status.is-ok i { background: var(--ok); }
.btn--tg { background: #2A8BD8; color: #fff; }
.btn--tg:hover { background: #1F72B5; color: #fff; }
.qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; }

/* Shop (WooCommerce) */
.shop-layout { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.shop-layout aside { flex: 1 1 240px; max-width: 100%; }
.shop-layout > .shop-main { flex: 999 1 640px; min-width: 0; }
.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
ul.products li.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; margin: 0 !important; width: auto !important; float: none !important; }
ul.products li.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin: 0 !important; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); font-size: 17px; padding: 0 18px; }
ul.products li.product .price { padding: 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text) !important; }
.seller-box { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.btn--wa { background: #1F8F4E; color: #fff; }
.btn--wa:hover { background: #18733E; color: #fff; }
.woocommerce-breadcrumb { display: none; }

/* ---------- Печать (справка о турнире → PDF) ---------- */
@media print {
	@page { margin: 14mm; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.ticker, .site-header, .site-footer, .to-top, .consent, .crumbs, .btn, .lightbox, .ad-slot, .ad-house { display: none !important; }
	.card, .fact, .table-wrap, .podium__step { background: #fff !important; border-color: #ccc !important; color: #000 !important; }
	.muted, .lead, .fact span, .table th { color: #333 !important; }
	.section { padding-top: 16px !important; }
	.group-photo { max-height: 90mm; }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.gallery a { height: 32mm; }
	a { color: #000; }
}

/* ---------- Hero: слайдер турниров (v1.1.1) ---------- */
.hero__slider { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); align-content: center; }
.hero__slider > .hero__text { grid-area: 1 / 1; flex: none; }
.hero__slide { opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.hero__nav { grid-area: 2 / 1; display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-left: 36px; }
.hero__nav .slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(234,242,246,.3); background: rgba(10,26,36,.45); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.hero__nav .slider__btn:hover, .hero__nav .slider__btn:focus-visible { border-color: var(--red); background: var(--red); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(234,242,246,.3); cursor: pointer; transition: background .2s, width .2s; }
.hero__dot.is-active { width: 44px; background: var(--red); }
.hero__dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 599px) { .hero__nav { padding-left: 22px; margin-top: 20px; } .hero__dot { width: 18px; } .hero__dot.is-active { width: 30px; } }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide.is-active { transition: none; transform: none; } }

/* ---------- Шапка: 8 пунктов меню на средних экранах ---------- */
@media (max-width: 1365px) { .main-nav a { padding: 8px 7px; font-size: 14px; } }
@media (min-width: 1000px) and (max-width: 1199px) { .site-header__bar .socials { display: none; } }

/* ---------- TROUT MASTER ---------- */
.tm-top { padding: 72px 0 24px; }
.tm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tm-card { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-top: 3px solid var(--c, var(--dim)); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.tm-card__photo { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); }
.tm-card__photo .tm-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-photo--empty { display: flex !important; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--dim); background: linear-gradient(135deg, var(--surface-2), var(--bg)); }
.tm-card__rank { position: absolute; left: 0; top: 0; min-width: 52px; height: 52px; padding: 0 10px; display: flex; align-items: center; justify-content: center; background: var(--c, var(--dim)); color: #0A1A24; font-family: var(--font-display); font-weight: 800; font-size: 24px; border-bottom-right-radius: 14px; }
.tm-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tm-card__no { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.tm-card__name { font-size: 16px; line-height: 1.3; }
.tm-card__name b { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.tm-card__pts { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--gold); }
.tm-card__pts small { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.tm-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
.tm-card--big .tm-card__rank { min-width: 64px; height: 64px; font-size: 30px; }
.tm-card--big .tm-card__name { font-size: 19px; }
.tm-row { display: flex; align-items: center; gap: 12px; }
.tm-row .tm-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.tm-row .tm-photo--empty { font-size: 14px; }
.tm-row b { text-transform: uppercase; }
.tm-row__no { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.tm-table tr.is-hidden { display: none; }
@media (max-width: 1199px) { .tm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .tm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
	.tm-top { padding-top: 48px; }
	.tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tm-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tm-grid--page .tm-card__name, .tm-card__name { font-size: 14px; }
	.tm-card__body { padding: 10px 12px 12px; }
	.tm-card__pts { font-size: 20px; }
	.tm-card__rank, .tm-card--big .tm-card__rank { min-width: 38px; height: 38px; font-size: 18px; }
	.tm-hide-sm { display: none; }
	.tm-table { min-width: 0; }
	.tm-table td, .tm-table th { padding: 10px 12px; }
}

/* ---------- Итоги турнира: пары, номинации, мини-итоги ---------- */
.pair-amp { color: var(--muted); font-weight: 600; }
.podium--team .podium__who b .pair-amp { display: block; font-size: 14px; }
.podium__photo--team { width: 100%; max-width: 300px; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; object-position: 50% 30%; }
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 960px; margin: 0 auto; }
.award { --a: var(--blue); display: flex; background: var(--surface); border: 1px solid var(--line-2); border-left: 6px solid var(--a); border-radius: 14px; overflow: hidden; }
.award--big { --a: var(--gold); }
.award--small { --a: var(--blue); }
.award__photo { width: 42%; flex: 0 0 42%; object-fit: cover; min-height: 170px; }
.award__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.award__label { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--a); }
.award__name { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.award__weight { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.award__weight small { font-size: 15px; color: var(--muted); font-family: var(--font); }
.t-sum { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 8px; }
.t-sum__top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.t-sum__top li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.t-sum__top li b { font-family: var(--font-display); color: var(--c); min-width: 16px; }
.t-sum__top li span { flex: 1; font-weight: 600; }
.t-sum__top li em, .t-sum__award em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.t-sum__awards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-sum__award { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.t-sum__award span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.t-sum__award--small span { color: var(--blue); }
.t-sum__award b { font-weight: 700; }
@media (max-width: 599px) {
	.award { flex-direction: column; }
	.award__photo { width: 100%; flex: none; aspect-ratio: 16 / 10; min-height: 0; }
	.t-sum__awards { grid-template-columns: 1fr; }
}
@media print { .award { border-color: #ccc !important; background: #fff !important; } }

/* Trout Master: этапы, бонусы */
.tm-th-sub { display: block; font-size: 10px; letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--dim); white-space: nowrap; margin-top: 2px; }
.tm-tr[data-tm-toggle] { cursor: pointer; }
.tm-tr[data-tm-toggle]:hover td, .tm-tr[aria-expanded="true"] td { background: rgba(141, 180, 226, .06); }
.tm-tr[data-tm-toggle]:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tm-row__more { margin-left: auto; color: var(--dim); font-weight: 700; transition: transform .2s; }
.tm-tr[aria-expanded="true"] .tm-row__more { transform: rotate(45deg); color: var(--red); }
.tm-detail td { background: var(--bg); padding: 16px 20px 20px; }
.tm-detail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tm-detail__ev { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.tm-detail__ev.is-empty { opacity: .55; }
.tm-detail__ev b { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tm-detail__ev b em { font-style: normal; color: var(--gold); font-family: var(--font-display); }
.tm-detail__ev ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tm-detail__ev li { display: flex; justify-content: space-between; gap: 8px; color: var(--text-2); }
.tm-detail__sum { border-color: var(--gold); }

/* ---------- Команда клуба ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.team__card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.team__photo { aspect-ratio: 1 / 1; background: var(--surface-2); }
.team__photo img, .team__photo .tm-photo--empty { width: 100%; height: 100%; object-fit: cover; display: flex; }
.team__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.team__body h3 { font-size: 19px; }
.team__role { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.team__facts { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.team__facts div { display: flex; gap: 8px; }
.team__facts dt { color: var(--muted); min-width: 64px; }
.team__facts dd { margin: 0; }
.team__text { font-size: 15px; color: var(--text-2); }
.team__text p { margin: 0 0 8px; }
@media (max-width: 599px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .team__body { padding: 12px; } .team__body h3 { font-size: 16px; } }

/* Тексты страниц: lead, таблицы на телефоне, FAQ-аккордеон */
.entry .lead { font-size: 20px; color: var(--text); }
.entry th { background: var(--surface-2); color: var(--text); text-align: left; font-size: 15px; }
.entry details { border: 1px solid var(--line-2); border-radius: 12px; padding: 0 18px; margin: 10px 0; background: var(--surface); }
.entry details summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.entry details summary::-webkit-details-marker { display: none; }
.entry details summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.entry details[open] summary::after { content: "–"; }
.entry details p { margin: 0 0 16px; }
@media (max-width: 599px) {
	.entry { font-size: 16px; }
	.entry table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* ---------- Блог: две колонки (слева навигация, справа пост) ---------- */
.blog-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 80px; }
.blog-layout .blog-side { grid-column: 1; grid-row: 1; position: sticky; top: 96px; }
.blog-layout .blog-main { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.blog-main__head { display: flex; flex-direction: column; gap: 12px; }
.blog-main__head h1 { font-size: clamp(28px, 2.9vw, 42px); font-weight: 800; color: var(--text); }
.blog-main__img { border-radius: 14px; width: 100%; height: auto; }
.blog-main .entry { max-width: 820px; }
.blog-main .entry img { max-width: 100%; height: auto; }
.event-box { background: var(--surface); border: 1px solid var(--line-2); border-left: 4px solid var(--red); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.event-box .facts { margin: 0; }
.blog-main__share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.blog-main__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.blog-main__pn a { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--text); }
.blog-main__pn a small { color: var(--muted); font-weight: 600; }
.blog-main__pn a.is-next { text-align: right; grid-column: 2; }
.blog-side { display: flex; flex-direction: column; gap: 18px; }
.blog-side__box { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.blog-side__title { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
.blog-side__latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.blog-side__latest a { display: flex; gap: 12px; align-items: center; color: var(--text); }
.blog-side__latest img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: 0 0 56px; }
.blog-side__latest b { display: block; font-size: 14px; line-height: 1.35; font-weight: 700; }
.blog-side__latest small { color: var(--muted); font-size: 12px; }
.blog-side__latest a:hover b { color: var(--blue); }
.blog-side__arch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.blog-side__arch a { color: var(--text); }
.blog-side__arch a:hover { color: var(--blue); }
#wp-calendar { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; }
#wp-calendar caption { font-weight: 800; color: var(--text); padding-bottom: 8px; text-align: left; }
#wp-calendar th { color: var(--muted); font-weight: 700; padding: 4px 0; }
#wp-calendar td { padding: 6px 0; color: var(--dim); }
#wp-calendar td a { display: inline-block; min-width: 26px; padding: 2px 0; border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; }
#wp-calendar #today { outline: 1px solid var(--blue); border-radius: 6px; color: var(--text); }
.blog-side__cal .wp-calendar-nav { display: flex; justify-content: space-between; font-size: 13px; margin-top: 8px; }
.blog-side__cal .wp-calendar-nav a { color: var(--blue); }
@media (max-width: 1023px) {
	.blog-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.blog-layout .blog-side { grid-column: 1; grid-row: 2; position: static; }
	.blog-layout .blog-main { grid-column: 1; grid-row: 1; }
}
@media (max-width: 599px) { .blog-main__pn { grid-template-columns: 1fr; } .blog-main__pn a.is-next { grid-column: 1; text-align: left; } }
