/*
Theme Name: BestBinar
Description: 2026 redesign of the Options theme for bestbinar.ru: same structure, widget areas and URLs; responsive, semantic, fast.
Version: 1.0.0
Author: GTPHost
Text Domain: bestbinar
Requires PHP: 8.1
*/

/* ---------- tokens ---------- */
:root {
	--bg: #eef3f8;
	--surface: #ffffff;
	--text: #1d2731;
	--muted: #5d6b79;
	--line: #e1e8ef;
	--brand: #1b86c4;
	--brand-dark: #0e5d8c;
	--brand-light: #5fb3e2;
	--brand-soft: #e8f4fb;
	--nav: #1f262d;
	--gold: #ffd54a;
	--cta: #43a326;
	--cta-dark: #337d1c;
	--good: #1f9d55;
	--mid: #c99a00;
	--bad: #b23a3a;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 2px 8px rgba(16, 32, 48, .06);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: #12202c; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 20px; }

/* ---------- header ---------- */
.site-header { color: #fff; background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cpolyline fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='3' points='0,95 40,88 70,96 110,70 150,78 190,52 230,64 270,40 310,58 350,30 390,44 430,22 470,36 510,14 550,26 600,8'/%3E%3C/svg%3E") right center / 60% 100% no-repeat,
	linear-gradient(120deg, #0e5d8c 0%, #1b86c4 55%, #5fb3e2 100%); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { color: #fff; text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand:hover { color: #fff; }
.brand-name { font-size: 2rem; font-weight: 300; letter-spacing: .02em; }
.brand-name b { font-weight: 700; color: #d6efff; }
.brand-tag { font-size: .85rem; opacity: .92; margin-top: 4px; }
.search-form { display: flex; align-items: center; background: #fff; border-radius: 999px; overflow: hidden; }
.search-form input { border: 0; padding: 10px 6px 10px 16px; font: inherit; font-size: .95rem; width: 100%; min-width: 0; background: transparent; color: var(--text); }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: transparent; color: var(--brand-dark); padding: 8px 14px; cursor: pointer; display: flex; }
.header-bar .search-form { margin-left: auto; width: 300px; }
.nav-toggle { display: none; }

.site-nav { background: var(--nav); }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav a { display: block; padding: 13px 14px; color: #e8eef4; text-decoration: none; text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .menu-rating { margin-left: auto; }
.site-nav .menu-rating > a { color: var(--gold); }
.submenu-toggle { background: transparent; border: 0; color: #c7d2dc; width: 28px; height: 28px; margin-left: -10px; cursor: pointer; border-radius: 6px; }
.submenu-toggle::before { content: "▾"; font-size: .9rem; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: #262e36; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); display: none; z-index: 30; }
.site-nav .sub-menu a { text-transform: none; font-size: .95rem; font-weight: 500; padding: 9px 16px; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { display: block; }

/* ---------- layout ---------- */
.layout { display: grid; gap: 22px; padding-top: 22px; padding-bottom: 36px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "right" "left"; }
.main { grid-area: main; min-width: 0; container-type: inline-size; }
.sidebar-right { grid-area: right; min-width: 0; }
.sidebar-left { grid-area: left; min-width: 0; }
@media (min-width: 760px) {
	.layout { grid-template-columns: minmax(0, 1fr) 240px; grid-template-areas: "main right" "left right"; }
}
@media (min-width: 1120px) {
	.layout { grid-template-columns: 210px minmax(0, 1fr) 240px; grid-template-areas: "left main right"; }
}

/* ---------- breadcrumbs, headings ---------- */
.breadcrumbs ol { list-style: none; margin: 0 0 12px; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before { content: "›"; margin: 0 7px; color: #9aa8b5; }
.breadcrumbs a { color: var(--muted); }
.page-head h1 { margin-bottom: .2em; }
.page-head p, .page-head__desc { color: var(--muted); margin: .6em 0 0; }
.page-head .search-form { margin-top: 12px; border: 1px solid var(--line); max-width: 460px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 1.2rem; }
.more-link { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------- post lists ---------- */
.post-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-list { display: grid; gap: 16px; }
.post-item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; }
.post-item__title { font-size: 1.1rem; margin: 0 0 10px; }
.post-item__title a { text-decoration: none; color: var(--brand-dark); }
.post-item__title a:hover { color: var(--brand); text-decoration: underline; }
.post-item__body { display: flow-root; flex: 1; }
.post-item__thumb { float: left; margin: 4px 14px 6px 0; }
.post-item__thumb img { display: block; width: 110px; height: auto; max-height: 110px; object-fit: cover; border-radius: var(--radius-sm); background: var(--brand-soft); }
.post-item__excerpt { font-size: .95rem; color: #33414e; }
.post-item__excerpt p { margin: 0 0 .5em; }
.post-item__meta { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.post-item__meta a { color: var(--muted); }

/* ---------- top-5 leaderboard (home) ---------- */
.leaderboard { list-style: none; margin: 0; padding: 0; }
.leaderboard__row { display: grid; grid-template-columns: 30px 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.leaderboard__row:first-child { border-top: 0; }
.leaderboard__logo { width: 32px; height: 32px; object-fit: contain; }
.leaderboard__name a { font-weight: 700; text-decoration: none; color: var(--text); }
.leaderboard__name small { display: block; color: var(--muted); font-size: .8rem; }
.leaderboard__actions { display: flex; gap: 8px; }
.btn-sm { padding: 7px 12px; font-size: .88rem; }
@container (max-width: 520px) {
	.leaderboard__row { grid-template-columns: 30px 32px minmax(0, 1fr); }
	.leaderboard__actions { grid-column: 1 / -1; }
	.leaderboard__actions .btn { flex: 1; }
}

/* ---------- broker cards ---------- */
.broker-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.broker-mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fbfdff; }
.broker-mini__head { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.broker-mini__logo { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 3px; }
.broker-mini__name { font-size: 1rem; margin: 0; }
.broker-mini__name a { text-decoration: none; color: var(--text); }
.broker-mini__facts { list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.broker-mini__facts li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.broker-mini__actions { display: grid; gap: 8px; margin-top: auto; }
.rank { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: #fff; background: var(--good); }
.rank--mid { background: var(--mid); }
.rank--low { background: var(--bad); }

/* ---------- buttons ---------- */
.btn, .entry-content a.open, .entry-content a.obzor { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; line-height: 1.2; text-align: center; transition: background-color .15s, box-shadow .15s; }
.btn-cta, .entry-content a.open { background: linear-gradient(180deg, #57bd34, var(--cta)); color: #fff; box-shadow: 0 2px 0 var(--cta-dark); }
.btn-cta:hover, .entry-content a.open:hover { background: var(--cta-dark); color: #fff; }
.btn-ghost, .entry-content a.obzor { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--brand-light); }
.btn-ghost:hover, .entry-content a.obzor:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.08rem; }
.cta-row { text-align: center; margin: 18px 0; }

/* ---------- article ---------- */
.entry-card { padding: 24px 28px; }
.entry-header { margin-bottom: 16px; }
.entry-meta { font-size: .88rem; color: var(--muted); }
.entry-meta a { color: var(--muted); }
.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content h2 { font-size: 1.4rem; margin-top: 1.4em; }
.entry-content h3 { font-size: 1.18rem; margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--brand-light); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.entry-content table { border-collapse: collapse; min-width: 100%; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.entry-content th { background: var(--brand-soft); text-align: left; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.2em; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.aligncenter { display: block; margin: 12px auto; }
.alignleft { float: left; margin: 6px 20px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 599px) {
	.alignleft, .alignright { float: none; display: block; margin: 12px auto; }
}
.entry-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a, .chip-list a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); text-decoration: none; font-size: .88rem; }
.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-list li { margin-bottom: 6px; }
.risk-inline { font-size: .82rem; color: var(--muted); text-align: center; margin: 6px 0 0; }

/* ---------- broker review ---------- */
.broker-sheet { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); background: var(--brand-soft); border-radius: 12px; padding: 18px; margin-bottom: 8px; }
@media (min-width: 680px) { .broker-sheet { grid-template-columns: minmax(0, 1fr) 210px; } }
@media (max-width: 679px) { .broker-sheet__side { order: -1; flex-direction: row; justify-content: center; flex-wrap: wrap; } }
.broker-sheet__facts { margin: 0; display: grid; gap: 0; }
.broker-sheet__facts > div { display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(14, 93, 140, .12); }
.broker-sheet__facts dt { font-weight: 700; color: #304150; }
.broker-sheet__facts dd { margin: 0; }
.broker-sheet__pay { grid-template-columns: 1fr !important; }
.broker-sheet__pay dd { display: flex; flex-wrap: wrap; gap: 6px; }
.broker-sheet__pay img { height: 32px; width: auto; border-radius: 6px; }
.broker-sheet__side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.broker-sheet__logo { width: 110px; height: auto; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.flag { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-size: .8rem; font-weight: 900; color: #fff; vertical-align: middle; }
.flag-yes { background: var(--good); }
.flag-no { background: #b8c2cc; }
.country { vertical-align: middle; border-radius: 2px; }
.rating-box { text-align: center; font-size: .9rem; }
.rating-box__reviews { display: inline-block; margin-top: 6px; font-weight: 600; }
/* WP-PostRatings plus/minus voting: the plugin's own SVG shapes, drawn through a CSS mask. */
.wp-postratings-vote { display: inline-flex; gap: 8px; margin-bottom: 6px; }
.wp-postratings-vote button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #cfd9e3; border-radius: 50%; background: #fff; cursor: pointer; position: relative; transition: background-color .15s, border-color .15s; }
.wp-postratings-vote button:hover { border-color: var(--wp-postratings-color-on, var(--brand)); background: var(--brand-soft); }
.wp-postratings-vote button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.wp-postratings-item { display: block; width: 20px; height: 20px; background: var(--wp-postratings-color-on, var(--brand)); -webkit-mask: var(--wp-postratings-shape) center / contain no-repeat; mask: var(--wp-postratings-shape) center / contain no-repeat; }
.wp-postratings-voted button, .wp-postratings-voted button:hover { cursor: default; background: #eef1f4; border-color: #dbe1e7; }
.wp-postratings-voted .wp-postratings-item { background: #a9b4bf; }
.wp-postratings[aria-busy="true"] .wp-postratings-vote { opacity: .5; pointer-events: none; }
.postrating-text { font-size: .85rem; color: var(--muted); }
.postrating-text em { font-style: normal; }
.postrating-text strong { color: var(--text); }

/* ---------- rating page ---------- */
.rating-head h1 { font-size: 1.6rem; }
.rating-list { list-style: none; margin: 0; padding: 0; }
.rating-item { display: grid; gap: 14px 18px; grid-template-columns: 64px 1fr; grid-template-areas: "place logo" "info info" "votes votes" "desc desc" "actions actions"; align-items: center; }
@media (min-width: 640px) {
	.rating-item { grid-template-columns: 64px 110px minmax(0, 1fr) 170px; grid-template-areas: "place logo info votes" "desc desc desc desc" "actions actions actions actions"; }
}
.rating-item__place { grid-area: place; flex-direction: column; width: 60px; height: 60px; font-size: 1.4rem; line-height: 1; }
.rating-item__place span { font-size: .62rem; font-weight: 600; text-transform: uppercase; margin-top: 3px; opacity: .9; }
.rating-item__logo { grid-area: logo; }
.rating-item__logo img { display: block; width: 100px; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.rating-item__info { grid-area: info; }
.rating-item__name { font-size: 1.25rem; margin: 0 0 6px; }
.rating-item__name a { text-decoration: none; color: var(--text); }
.facts { list-style: none; margin: 0; padding: 0; font-size: .9rem; display: grid; gap: 2px; }
.facts__label { color: var(--muted); }
.rating-item__votes { grid-area: votes; }
.rating-item__desc { grid-area: desc; font-size: .95rem; color: #33414e; border-top: 1px solid var(--line); padding-top: 12px; }
.rating-item__desc p:last-child { margin-bottom: 0; }
.rating-item__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; }
.rating-item__actions .btn { flex: 1 1 200px; }
.share p { margin-bottom: 8px; font-weight: 600; }

/* ---------- related ---------- */
.related h2 { font-size: 1.2rem; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.related__list a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); padding: 8px; border-radius: 10px; }
.related__list a:hover { background: var(--brand-soft); }
.related__list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.related__list span { font-size: .95rem; font-weight: 600; line-height: 1.35; }

/* ---------- comments ---------- */
.comments-title { font-size: 1.25rem; }
.comments-title span { color: var(--muted); font-weight: 500; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 18px; padding-left: 14px; border-left: 2px solid var(--brand-soft); }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 700; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; color: var(--muted); }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content { margin-top: 6px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 6px; }
.comment-reply-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: 18px; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; border: 1px solid #cdd7e1; border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; background: #fff; }
.comment-form textarea { min-height: 130px; }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.comment-form .submit:hover { background: var(--brand-dark); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- pagination ---------- */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 20px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--brand); color: #fff; }
.page-numbers.dots { background: transparent; box-shadow: none; }

/* ---------- widgets ---------- */
.widget { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
.widget > *:not(.widget-title) { margin-left: 14px; margin-right: 14px; }
.widget > *:last-child { margin-bottom: 14px; }
.widget-title { margin: 0 0 10px; padding: 12px 14px; background: linear-gradient(180deg, var(--brand-light), #3b96cd); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.widget-title a { color: #fff; text-decoration: none; }
.widget ul, .widget ol { list-style: none; padding: 0; margin-top: 0; }
.widget li { border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { display: block; padding: 8px 2px 8px 14px; text-decoration: none; color: #2b3a47; font-size: .93rem; position: relative; }
.widget li a::before { content: "›"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
.widget li a:hover { color: var(--brand-dark); }
.widget img { display: block; margin: 0 auto; }
.widget iframe { display: block; margin: 0 auto; }
.top-brokers { counter-reset: tb; }
.top-brokers li a { display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.top-brokers li a::before { counter-increment: tb; content: counter(tb) "."; position: static; color: var(--muted); font-weight: 600; min-width: 22px; }
.top-brokers img { width: 16px; height: 16px; object-fit: contain; margin: 0; }
.widget.is-collapsed > *:not(.widget-title) { display: none; }
.widget.is-collapsed .widget-title { margin-bottom: 0; }
.sidebar-left .widget-title[role="button"] { cursor: pointer; }
.sidebar-left .widget-title[role="button"]::after { content: " ▾"; }
.widget.is-collapsed .widget-title[role="button"]::after { content: " ▸"; }

/* ---------- footer ---------- */
.footer-text { margin-bottom: 20px; }
.footer-text .widget { box-shadow: none; margin: 0; }
.footer-text .widget > * { margin-left: 0; margin-right: 0; }
.footer-text h2 { font-size: 1.3rem; }
.footer-widgets { margin-bottom: 20px; }
.footer-widgets .widget { padding-top: 12px; }
.site-footer { background: var(--nav); color: #b9c5d1; padding: 32px 0 24px; font-size: .92rem; }
.site-footer a { color: #e3eaf1; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-about .brand-name { font-size: 1.5rem; }
.footer-about p { margin-top: 10px; }
.footer-menu, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-links li { margin-bottom: 6px; }
.footer-menu a, .footer-links a { text-decoration: none; }
.footer-menu a:hover, .footer-links a:hover { text-decoration: underline; color: #fff; }
.risk-note { margin: 24px 0 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #93a2b1; }
.copyright { margin: 0; font-size: .82rem; color: #93a2b1; }

/* ---------- phones ---------- */
@media (max-width: 759px) {
	h1 { font-size: 1.45rem; }
	.card, .entry-card { padding: 16px; border-radius: 12px; }
	.header-bar { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
	.brand { flex: 1; min-width: 0; }
	.brand-name { font-size: 1.6rem; }
	.brand-tag { font-size: .74rem; }
	.header-bar .search-form { order: 3; width: 100%; margin-left: 0; }
	.nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius-sm); padding: 9px 12px; font: inherit; font-weight: 700; cursor: pointer; }
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.site-nav { display: none; }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; padding: 6px 0; }
	.site-nav li { flex-wrap: wrap; }
	.site-nav li > a { flex: 1; padding: 13px 4px; font-size: .9rem; }
	.site-nav .menu-rating { margin-left: 0; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.site-nav .sub-menu { position: static; display: none; width: 100%; box-shadow: none; background: transparent; padding: 0 0 6px 14px; }
	.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: none; }
	.site-nav li.is-open > .sub-menu { display: block; }
	.post-item { padding: 16px; }
	.entry-content { font-size: 1rem; }
	.broker-sheet__facts > div { grid-template-columns: 1fr; gap: 0; }
	.broker-sheet__facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
}
