/* Spilafréttir — brand layer over SmartMag */
:root { --sf-navy: #0b2545; --sf-accent: #c8102e; --sf-ice: #eef4fa; --sf-paper: #f7f8fa; }
:root { --c-main: #c8102e; --c-main-rgb: 200,16,46; }
.sf-rg-bar { background: var(--sf-navy); color: #e6ecf4; font-size: 13px; line-height: 1.5; text-align: center; padding: 10px 16px; }
.sf-rg-bar a { color: #fff; text-decoration: underline; }
.sf-sources { font-size: 14px; border-top: 1px solid #ddd; margin-top: 28px; padding-top: 12px; }
.sf-box { background: var(--sf-ice); border-left: 4px solid var(--sf-navy); padding: 14px 18px; margin: 22px 0; }
.sf-box-warn { background: #fff6f6; border-left-color: var(--sf-accent); }
.s-light .navigation-main .menu > .current-menu-item > a,
.s-light .navigation-main .menu > .current-menu-ancestor > a { color: var(--sf-accent); }
.smart-head-main .logo-image { max-height: 46px; width: auto; }
.sf-section { margin-top: 36px; border-bottom: 2px solid var(--sf-navy); padding-bottom: 6px; }
.sf-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.sf-table th, .sf-table td { border-bottom: 1px solid #e3e6ec; padding: 8px 10px; text-align: left; vertical-align: top; }
.sf-table th { background: #f3f5f9; font-weight: 600; }
.sf-updated { font-size: 13px; color: #666; }
/* SmartMag keeps col-8 on no-sidebar pages: stretch the main column */
.no-sidebar .ts-row > .main-content.col-8 { flex: 0 0 100%; max-width: 100%; width: 100%; }
@media (max-width: 640px) { .sf-table { display: block; overflow-x: auto; font-size: 14px; } }
/* Home */
.sf-home-h1 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: #555; margin: 4px 0 14px; font-weight: 600; }
.home .sf-home-cols { gap: 36px; }
.sf-box h3 { font-size: 17px; margin: 0 0 8px; }
.sf-box ul { margin: 0; padding-left: 18px; }
.sf-box li { margin: 4px 0; }
.sf-box-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--sf-accent); font-weight: 700; margin: 0 0 4px; }
.sf-event h3 a { color: var(--sf-navy); }
/* ---------- Poker hub (по образцу pokertube how-to-play) ---------- */
.sf-hub h2 { font-size: 22px; margin: 34px 0 12px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; padding: 0; list-style: none; }
.sf-chips li { margin: 0; }
.sf-chips a { display: inline-block; padding: 7px 14px; border: 1px solid #d8dde6; border-radius: 4px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sf-navy); background: #fff; text-decoration: none; }
.sf-chips a:hover, .sf-chips a.is-active { background: var(--sf-navy); border-color: var(--sf-navy); color: #fff; }
.sf-card { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 40px; padding: 0 3px; margin: 0 3px 3px 0;
  border: 1px solid #cfd5de; border-radius: 4px; background: #fff; font: 700 13px/1 system-ui, sans-serif; color: #1b2430; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.sf-card.r { color: #c8102e; }
.sf-hands td:first-child { font: 700 20px/1 Georgia, serif; color: #2b5aa8; width: 34px; }
.sf-hands .sf-hand-name { font-weight: 700; display: block; }
.sf-hands .sf-hand-desc { font-size: 13px; color: #666; }
.sf-hands td { vertical-align: middle; }
.sf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 20px; }
.sf-step { background: var(--sf-paper); border: 1px solid #e3e6ec; border-radius: 6px; padding: 14px; font-size: 14px; }
.sf-step b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #2b5aa8; }
.sf-step strong { display: block; font-size: 17px; margin: 2px 0 6px; color: var(--sf-navy); }
.sf-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0 0 10px; }
.sf-terms p { margin: 0; padding: 9px 0; border-bottom: 1px solid #e8ebf0; font-size: 14px; }
.sf-terms strong { text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }
.sf-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 10px; }
.sf-topic { border: 1px solid #e3e6ec; border-radius: 6px; padding: 14px 16px; background: #fff; }
.sf-topic h3 { font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px !important; padding-bottom: 8px; border-bottom: 1px solid #e8ebf0; }
.sf-topic h3 span { color: #2b5aa8; margin-right: 6px; }
.sf-topic dl { margin: 0; }
.sf-topic dt { font: 16px/1.3 Georgia, serif; margin-top: 10px; color: #1b2430; }
.sf-topic dd { margin: 2px 0 0; font-size: 13px; color: #666; }
.sf-topic dt a { color: inherit; }
.sf-people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.sf-person { display: flex; gap: 12px; align-items: flex-start; }
.sf-person .sf-ini { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--sf-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sf-person h3 { font-size: 17px !important; margin: 0 0 4px !important; }
.sf-person p { margin: 0; font-size: 14px; }
.sf-games > div { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8ebf0; padding: 12px 0; }
.sf-games h3 { font: 20px/1.2 Georgia, serif !important; margin: 0 0 4px !important; }
.sf-games p { margin: 0; font-size: 14px; }
.sf-games a.sf-btn { flex: 0 0 auto; background: #5d6470; color: #fff !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 9px 14px; border-radius: 3px; text-decoration: none; }
.sf-levels h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 6px; padding-bottom: 6px; border-bottom: 2px solid #1b2430; }
.sf-dots { letter-spacing: 2px; color: #2b5aa8; margin-left: 6px; }
.sf-dots i { color: #cfd5de; font-style: normal; }
.sf-levels ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; list-style: none; padding: 0; margin: 0; }
.sf-levels li { padding: 8px 0; border-bottom: 1px solid #e8ebf0; font-size: 14px; }
.sf-levels li strong { display: block; font: 16px Georgia, serif; }
.sf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.sf-compare > div { border: 1px solid #e3e6ec; border-radius: 6px; padding: 16px; }
.sf-compare h3 { font-size: 18px !important; margin: 0 0 2px !important; }
.sf-compare .sf-sub { font-size: 13px; color: #666; margin: 0 0 8px; }
.sf-compare table { width: 100%; font-size: 14px; border-collapse: collapse; }
.sf-compare th { text-align: left; width: 38%; padding: 7px 8px 7px 0; border-top: 1px solid #e8ebf0; vertical-align: top; }
.sf-compare td { padding: 7px 0; border-top: 1px solid #e8ebf0; }
.sf-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.sf-tool { border: 1px solid #e3e6ec; border-radius: 6px; padding: 14px 16px; }
.sf-tool h3 { font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px !important; display: flex; justify-content: space-between; gap: 8px; }
.sf-badge { font-size: 10px; letter-spacing: .05em; padding: 2px 6px; border-radius: 3px; background: #2b5aa8; color: #fff; white-space: nowrap; }
.sf-tool p { font-size: 14px; margin: 0 0 6px; }
.sf-events { list-style: none; margin: 0; padding: 0; counter-reset: ev; }
.sf-events li { position: relative; padding: 0 0 14px 34px; margin-bottom: 14px; border-bottom: 1px solid #e8ebf0; counter-increment: ev; font-size: 13.5px; }
.sf-events li::before { content: counter(ev); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #2b5aa8; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sf-events .sf-ev-date { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #2b5aa8; letter-spacing: .04em; }
.sf-events .sf-ev-name { display: block; font: 17px/1.25 Georgia, serif; color: #1b2430; margin: 2px 0; }
.sf-events .sf-ev-place { display: block; font-size: 12px; color: #777; margin-bottom: 4px; }
.sf-side-title { font-size: 17px !important; margin: 0 0 12px !important; }
.sf-faq details { border-bottom: 1px solid #e3e6ec; padding: 12px 0; }
.sf-faq summary { font-weight: 700; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sf-faq summary::after { content: "+"; font-weight: 400; }
.sf-faq details[open] summary::after { content: "–"; }
.sf-faq details p { margin: 10px 0 0; }
.sf-more { font-weight: 700; font-size: 14px; }
@media (max-width: 760px) {
  .sf-steps { grid-template-columns: 1fr 1fr; }
  .sf-terms, .sf-topics, .sf-people, .sf-compare, .sf-tools, .sf-levels ul { grid-template-columns: 1fr; }
  .sf-games > div { flex-direction: column; align-items: flex-start; }
  .sf-card { min-width: 24px; height: 32px; font-size: 11px; margin-right: 2px; }
}
/* hub fixes */
.entry-content ul.sf-chips, ul.sf-chips { padding-left: 0 !important; margin-left: 0 !important; }
.entry-content ol.sf-events, ol.sf-events { list-style: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.sf-events li::marker { content: none; }
.sf-hands td:nth-child(3) { white-space: nowrap; }
.sf-hands .sf-card { min-width: 26px; height: 34px; font-size: 12px; margin-right: 2px; }
.sf-hands th:nth-child(4), .sf-hands td:nth-child(4) { white-space: nowrap; }
@media (max-width: 760px) {
  .sf-hands .sf-card { min-width: 21px; height: 28px; font-size: 10px; padding: 0 1px; margin-right: 1px; }
  .sf-hands .sf-hand-desc { display: none; }
}
.sf-hands td:first-child, .sf-hands th:first-child { white-space: nowrap; width: 38px; }
@media (max-width: 760px) {
  .sf-hub table.sf-hands { display: table; overflow: visible; }
  .sf-hands th:nth-child(4), .sf-hands td:nth-child(4), .sf-hands th:nth-child(5), .sf-hands td:nth-child(5) { display: none; }
  .sf-hands td, .sf-hands th { padding: 8px 6px; }
  .sf-hands td:first-child { font-size: 17px; width: 26px; }
  .sf-chips a { padding: 6px 10px; font-size: 11px; }
}
