/*
Theme Name: CasinoFind
Description: Professional UK casino comparison portal theme — 1:1 port of the approved Lovable design. Dark chrome, portal red, gold ratings, trust blue.
Version: 1.0.0
Author: CasinoFind
Text Domain: casinofind
*/

:root {
  --bg: #F5F6F8;
  --card: #FFFFFF;
  --zebra: #FAFBFC;
  --ink: #1B2431;
  --muted: #66707D;
  --chrome: #1B2431;
  --chrome-muted: #AEB8C4;
  --chrome-border: rgba(255, 255, 255, 0.12);
  --red: #D64545;
  --red-hover: #C13B3B;
  --brandmark: #E25555;
  --gold: #C9930A;
  --trust: #2C64A8;
  --trust-tint: #E6F1FB;
  --gold-tint: #FAEEDA;
  --red-tint: #FCEBEB;
  --grey-tint: #EEF0F2;
  --border: #E2E5EA;
  --border-hover: #C9CFD8;
  --danger: #9B3B3B;
  --radius: 10px;
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Public Sans", ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.65; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--trust); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: 34px; } h2 { font-size: 24px; } h3 { font-size: 18px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.chrome-pattern {
  background-color: var(--chrome);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.6'%3E%3Crect x='16' y='16' width='30' height='30' rx='6'/%3E%3Ccircle cx='26' cy='26' r='2.4'/%3E%3Ccircle cx='36' cy='36' r='2.4'/%3E%3Cpath d='M92 40c0-6-9-9-12-3-3-6-12-3-12 3 0 8 12 15 12 15s12-7 12-15z'/%3E%3Cpath d='M140 18l14 18-14 18-14-18z'/%3E%3Ccircle cx='178' cy='40' r='16'/%3E%3Cpath d='M170 30l16 20M186 30l-16 20'/%3E%3Cpath d='M30 96c6-8 14-6 14 2 0 6-6 9-14 14-8-5-14-8-14-14 0-8 8-10 14-2z'/%3E%3Crect x='72' y='84' width='26' height='36' rx='4'/%3E%3Cpath d='M85 92l6 10-6 10-6-10z'/%3E%3Cpath d='M136 84c-8 0-12 6-12 11 0 6 5 8 8 8-1 4-4 6-6 7h20c-2-1-5-3-6-7 3 0 8-2 8-8 0-5-4-11-12-11z'/%3E%3Cpath d='M176 86l4.5 9.5 10 1.5-7.3 7 1.8 10-9-4.8-9 4.8 1.8-10-7.3-7 10-1.5z'/%3E%3Crect x='16' y='150' width='34' height='24' rx='4'/%3E%3Ccircle cx='25' cy='162' r='2'/%3E%3Ccircle cx='41' cy='162' r='2'/%3E%3Ccircle cx='86' cy='162' r='18'/%3E%3Cpath d='M86 144v36M68 162h36'/%3E%3Cpath d='M140 148l14 18-14 18-14-18z'/%3E%3Cpath d='M188 150c-6 0-9 5-9 9 0 7 9 13 9 13s9-6 9-13c0-4-3-9-9-9z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ---------- compliance ribbon ---------- */
.cf-ribbon { background: transparent; border-bottom: 0.5px solid var(--border); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.cf-ribbon .container { display: flex; gap: 14px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.cf-ribbon a { color: var(--muted); text-decoration: underline; }

/* ---------- logo row ---------- */
.cf-logorow { background: var(--card); border-bottom: 0.5px solid var(--border); }
.cf-logorow .container { display: flex; align-items: center; gap: 16px; padding-top: 13px; padding-bottom: 13px; flex-wrap: wrap; }
.cf-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none !important; }
.cf-wordmark span { color: var(--red); }
.cf-search { flex: 1; min-width: 180px; max-width: 420px; position: relative; }
.cf-search input { width: 100%; background: var(--bg); border: 0.5px solid var(--border); border-radius: 7px; padding: 9px 12px 9px 36px; font: 400 13px var(--font-sans); color: var(--ink); }
.cf-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--muted); }
.cf-search-results { position: absolute; top: 110%; left: 0; right: 0; background: var(--card); border: 0.5px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(27,36,49,.12); z-index: 60; max-height: 320px; overflow-y: auto; display: none; }
.cf-search-results a { display: block; padding: 8px 12px; font-size: 13px; color: var(--ink); border-bottom: 0.5px solid var(--border); }
.cf-search-results a:hover { background: var(--bg); text-decoration: none; }
.cf-btn { display: inline-block; background: var(--red); color: #fff !important; font: 600 12.5px var(--font-sans); padding: 9px 14px; border-radius: 7px; border: none; cursor: pointer; text-decoration: none !important; }
.cf-btn:hover { background: var(--red-hover); }
.cf-btn-ghost { display: inline-block; background: transparent; border: 0.5px solid var(--border-hover); color: var(--ink) !important; font: 600 12px var(--font-sans); padding: 8px 11px; border-radius: 7px; text-decoration: none !important; }
.cf-btn-ghost:hover { background: var(--bg); }

/* ---------- navy nav strip + dropdowns ---------- */
.cf-nav { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(15, 23, 36, 0.25); }
body.admin-bar .cf-nav { top: 32px; }
.cf-nav .container { display: flex; flex-wrap: wrap; }
.cf-nav a.cf-tab { color: var(--chrome-muted); font: 600 12.5px var(--font-sans); padding: 14px 13px; text-decoration: none !important; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 5px; }
.cf-nav a.cf-tab:hover, .cf-nav .cf-navitem.open > a.cf-tab { color: #fff; }
.cf-nav a.cf-tab.active { color: #fff; border-bottom-color: var(--red); }
.cf-navitem { position: static; }
.cf-dropdown { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 55; }
.cf-navitem--narrow { position: relative; }
.cf-navitem--narrow .cf-dropdown { left: 0; right: auto; width: max-content; min-width: 260px; }
.cf-navitem--narrow .cf-panel { width: max-content; min-width: 260px; }
.cf-navitem--narrow .cf-dropdown.dd-flip { left: auto; right: 0; }
.cf-navitem.open .cf-dropdown { display: block; }
.cf-panel { background: var(--card); border: 0.5px solid var(--border); border-top: none; border-radius: 0 0 12px 12px; box-shadow: 0 12px 32px rgba(27,36,49,.14); max-width: 960px; padding: 20px; display: grid; gap: 24px; }
.cf-panel-3 { grid-template-columns: 260px 1fr 280px; }
.cf-panel-2 { grid-template-columns: 1fr 1fr; max-width: 640px; }
.cf-panel-1 { grid-template-columns: 1fr; max-width: 320px; }
.cf-panel .cf-col + .cf-col { border-left: 0.5px solid var(--border); padding-left: 24px; }
.cf-eyebrow { font: 600 10.5px var(--font-sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.cf-chipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cf-chip { background: var(--bg); border: 0.5px solid var(--border); border-radius: 7px; padding: 6px 9px; font: 500 12px var(--font-sans); color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-chip:hover { border-color: var(--border-hover); }
.cf-netrow { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 6px; font: 500 13px var(--font-sans); color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; }
.cf-netrow:hover { background: var(--bg); }
.cf-count { background: var(--trust-tint); color: var(--trust); font: 600 10.5px var(--font-sans); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.cf-spot { background: var(--grey-tint); border-radius: 8px; padding: 12px; }
.cf-spot p { font-size: 12px; color: var(--ink); line-height: 1.5; }
.cf-morelink { display: inline-block; margin-top: 10px; font: 600 12px var(--font-sans); color: var(--trust); }

/* ---------- hero ---------- */
.cf-hero { padding: 32px 0 24px; }
.cf-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.cf-hero p.sub { color: var(--muted); font-size: 15px; margin: 10px 0 16px; max-width: 560px; }
.cf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cf-trustchip { background: var(--card); border: 0.5px solid var(--border); border-radius: 99px; padding: 5px 12px; font: 500 11.5px var(--font-sans); color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.cf-herocard { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 14px; }
.cf-herocard h4 { font: 700 11px var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-bottom: 8px; }
.cf-herorow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 0.5px solid var(--border); }
.cf-herorow:last-of-type { border-bottom: none; }

/* ---------- quick pills / pillbar ---------- */
.cf-pills { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.cf-pills::-webkit-scrollbar { display: none; }
.cf-pill { flex: 0 0 auto; background: var(--card); border: 0.5px solid var(--border); border-radius: 99px; padding: 6px 13px; font: 500 12.5px var(--font-sans); color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; }
.cf-pill:hover { border-color: var(--border-hover); }
.cf-pill.active { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.cf-pill.tint-gold { background: var(--gold-tint); color: #854F0B !important; border-color: transparent; }
.cf-pill.tint-red { background: var(--red-tint); color: #A32D2D !important; border-color: transparent; }

/* ---------- sections ---------- */
.cf-section { margin: 26px 0; }
.cf-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cf-sechead h2 { font-size: 22px; }
.cf-subline { color: var(--muted); font-size: 12.5px; margin: 3px 0 12px; }
.cf-showall { display: inline-block; margin-top: 10px; font: 600 12.5px var(--font-sans); color: var(--trust); }
.cf-cat-blue .cf-eyebrow { color: var(--trust); }
.cf-cat-gold .cf-eyebrow { color: var(--gold); }
.cf-cat-red .cf-eyebrow { color: var(--red); }
.cf-cat-grey .cf-eyebrow { color: var(--muted); }
.cf-watermark { position: relative; overflow: hidden; }
.cf-watermark > svg.wm { position: absolute; top: 8px; right: 8px; width: 120px; height: 120px; pointer-events: none; }

/* ---------- listing rows ---------- */
.cf-rows { display: flex; flex-direction: column; gap: 8px; }
.cf-row { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 12px 14px; display: flex; gap: 14px; align-items: center; min-height: 84px; }
.cf-row:hover { border-color: var(--border-hover); }
.cf-rank { width: 22px; font: 700 14px var(--font-display); color: var(--muted); text-align: center; flex: 0 0 auto; }
.cf-logotile { width: 42px; height: 42px; border-radius: 8px; background: var(--chrome); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 11px var(--font-display); flex: 0 0 auto; }
.cf-logotile.has-img { background: #fff; border: 0.5px solid var(--border); padding: 3px; }
.cf-logotile.has-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; display: block; }
.cf-rowmain { flex: 1; min-width: 0; }
.cf-rowname { font: 600 14px var(--font-sans); color: var(--ink); }
.cf-rowoffer { font: 400 12.5px var(--font-sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-rowmeta { display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.cf-stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.cf-score { font: 600 13px var(--font-sans); color: var(--ink); }
.cf-licbadge { background: var(--trust-tint); color: var(--trust); font: 600 11px var(--font-sans); padding: 2px 8px; border-radius: 5px; display: inline-flex; align-items: center; gap: 4px; }
.cf-verify { border: 0.5px dashed var(--border-hover); color: var(--muted); font: 600 9.5px var(--font-sans); text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; }
.cf-rowctas { display: flex; flex-direction: column; gap: 5px; align-items: stretch; width: 128px; flex: 0 0 auto; text-align: center; }
.cf-rowlinks { font: 400 10px var(--font-sans); color: var(--muted); text-align: right; margin-top: 3px; }
.cf-rowlinks a { font-weight: 500; }
.cf-moreinfo { font: 500 11.5px var(--font-sans); color: var(--muted); cursor: pointer; background: none; border: none; }
.cf-moreinfo-body { display: none; width: 100%; font-size: 12.5px; color: var(--muted); padding-top: 8px; }
.cf-row.expanded { flex-wrap: wrap; }
.cf-row.expanded .cf-moreinfo-body { display: block; }

/* ---------- cards & grids ---------- */
.cf-grid { display: grid; gap: 10px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); }
.cf-card { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 12px; }
.cf-card:hover { border-color: var(--border-hover); }
.cf-vcard { text-align: center; display: flex; flex-direction: column; }
.cf-vcard .banner { height: 64px; border-radius: 8px; background: var(--chrome); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 15px var(--font-display); margin-bottom: 8px; }
.cf-vcard .banner.has-logo { background: #fff; border: 0.5px solid var(--border); }
.cf-vcard .banner.has-logo img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.cf-vcard .bonusbox { border: 1px dashed var(--border-hover); border-radius: 8px; padding: 8px 6px; font: 500 12px var(--font-sans); margin: 8px 0; min-height: 54px; }
.cf-vcard .cf-btn { margin-top: auto; }
.cf-minicard { display: flex; align-items: center; gap: 11px; }
.cf-newbadge { background: var(--red); color: #fff; font: 700 9px var(--font-sans); padding: 2px 6px; border-radius: 4px; vertical-align: 2px; }
.cf-tile-borders-blue { border-left: 3px solid var(--trust); border-radius: 0 var(--radius) var(--radius) 0; }
.cf-tile-borders-gold { border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.cf-tile-borders-red { border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.cf-tile-borders-grey { border-left: 3px solid var(--muted); border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- stats block ---------- */
.cf-stats { border-radius: var(--radius); padding: 20px; color: #fff; }
.cf-stats h3 { color: #fff; font-size: 17px; }
.cf-stats p.sub { color: var(--chrome-muted); font-size: 12.5px; margin: 2px 0 14px; }
.cf-stats .num { font: 700 26px var(--font-display); color: #fff; }
.cf-stats .lbl { font: 400 11.5px var(--font-sans); color: var(--chrome-muted); }

/* ---------- news magazine ---------- */
.cf-mast { border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.cf-newsgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.cf-kicker { font: 700 10.5px var(--font-sans); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; display: block; }
.k-red { color: var(--red); } .k-gold { color: var(--gold); } .k-blue { color: var(--trust); } .k-grey { color: var(--muted); }
.cf-newsimg { border-radius: 9px; height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; position: relative; overflow: hidden; }
.cf-newsimg .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cf-stackitem { padding: 10px 0; border-bottom: 0.5px solid var(--border); }
.cf-stackitem:last-child { border-bottom: none; }
.cf-byline { font: 500 11px var(--font-sans); color: var(--ink); }
.cf-byline span { color: var(--muted); font-weight: 400; }

/* ---------- layout with sidebar ---------- */
.cf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding: 20px 0 40px; }
.cf-layout > main { min-width: 0; }
.cf-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.cf-widget { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cf-widget h4 { font: 700 12px var(--font-sans); text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-bottom: 0.5px solid var(--border); }
.cf-widget .wrow { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-bottom: 0.5px solid var(--border); font: 500 12.5px var(--font-sans); }
.cf-widget .wrow:last-child { border-bottom: none; }
.cf-widget .wrow .n { width: 16px; color: var(--muted); font: 700 12px var(--font-display); }
.cf-widget .wrow .cf-logotile { width: 30px; height: 30px; font-size: 9px; border-radius: 6px; }
.cf-breadcrumbs { font: 400 11.5px var(--font-sans); color: var(--muted); padding: 14px 0 0; }
.cf-breadcrumbs a { color: var(--muted); }
.cf-pagehead h1 { font-size: 30px; }
.cf-pagehead .meta { font: 400 12px var(--font-sans); color: var(--muted); margin: 6px 0 0; }
.cf-pagehead .meta .cf-licbadge { margin-left: 6px; }

/* ---------- tables ---------- */
.cf-table { width: 100%; border-collapse: collapse; background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.cf-table th { text-align: left; font: 600 11px var(--font-sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 0.5px solid var(--border); background: var(--card); }
.cf-table td { padding: 10px 12px; border-bottom: 0.5px solid var(--border); }
.cf-table tr:nth-child(even) td { background: var(--zebra); }
.cf-table tr:last-child td { border-bottom: none; }
.cf-tablewrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- article/content ---------- */
.cf-content h2 { margin: 26px 0 10px; font-size: 21px; }
.cf-content h3 { margin: 18px 0 8px; }
.cf-content p, .cf-content ul { margin-bottom: 12px; color: var(--ink); font-size: 14.5px; }
.cf-content ul { padding-left: 20px; }
.cf-notice { background: var(--card); border: 1px dashed var(--border-hover); border-radius: var(--radius); padding: 14px 16px; font-size: 13.5px; color: var(--ink); margin: 14px 0; }

/* ---------- FAQ ---------- */
.cf-faqwrap { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.cf-faq { display: flex; flex-direction: column; gap: 8px; }
.cf-faqitem { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); }
.cf-faqitem summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; font: 600 15px var(--font-sans); }
.cf-faqitem summary::-webkit-details-marker { display: none; }
.cf-faqitem summary:after { content: "+"; font: 400 20px var(--font-sans); color: var(--muted); transition: transform .15s; }
.cf-faqitem[open] summary:after { transform: rotate(45deg); }
.cf-faqitem .a { padding: 0 15px 13px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- newsletter + footer ---------- */
.cf-newsletter { border-bottom: 0.5px solid var(--chrome-border); }
.cf-newsletter .container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.cf-newsletter h4 { color: #fff; font: 700 14px var(--font-display); letter-spacing: .03em; }
.cf-newsletter p { color: var(--chrome-muted); font-size: 11.5px; }
.cf-newsletter .fields { display: flex; gap: 6px; }
.cf-newsletter input[type=email] { flex: 1; max-width: 320px; border: none; border-radius: 7px; padding: 9px 12px; font: 400 12px var(--font-sans); }
.cf-newsletter .consent { font: 400 10.5px var(--font-sans); color: #7E8998; margin-top: 6px; }
.cf-newsletter .consent label { margin-right: 12px; }
.cf-newsletter .consent a { color: #7E8998; text-decoration: underline; }
.cf-footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 20px 0; }
.cf-footer h5 { font: 600 11px var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: #7E8998; margin-bottom: 8px; }
.cf-footer .cols a { display: block; font: 400 12px var(--font-sans); color: #C6CDD6; line-height: 1.95; text-decoration: none; }
.cf-footer .cols a:hover { color: #fff; }
.cf-compliance { border-top: 0.5px solid var(--chrome-border); padding: 12px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cf-18badge { border: 1px solid #7E8998; color: #C6CDD6; font: 700 10px var(--font-sans); padding: 3px 6px; border-radius: 5px; }
.cf-compliance a.rg { font: 600 11px var(--font-sans); color: #C6CDD6; text-decoration: none; }
.cf-social { margin-left: auto; display: flex; gap: 8px; }
.cf-social a { width: 36px; height: 36px; border-radius: 50%; border: 0.5px solid #2C3746; display: flex; align-items: center; justify-content: center; }
.cf-social a svg { width: 16px; height: 16px; stroke: #7E8998; fill: none; }
.cf-social a:hover { border-color: #C6CDD6; }
.cf-social a:hover svg { stroke: #C6CDD6; }
.cf-copyright { border-top: 0.5px solid var(--chrome-border); padding: 10px 0 14px; font: 400 11px var(--font-sans); color: #7E8998; }

/* ---------- back to top ---------- */
#cf-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); border: none; color: #fff; font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 90; }
#cf-top.show { display: flex; }

/* ---------- mobile ---------- */
.cf-burger { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.cf-burger svg { width: 24px; height: 24px; stroke: var(--ink); }
.cf-drawer { display: none; }
@media (max-width: 900px) {
  .cf-hero-grid, .cf-newsgrid, .cf-faqwrap, .cf-newsletter .container { grid-template-columns: 1fr; }
  .cf-layout { grid-template-columns: 1fr; }
  .cf-sidebar { position: static; }
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .cf-panel-3, .cf-panel-2 { grid-template-columns: 1fr; }
  .cf-footer .cols { grid-template-columns: repeat(2, 1fr); }
  .cf-watermark > svg.wm { display: none; }
}
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  .cf-nav { display: none; }
  .cf-burger { display: block; }
  .cf-logorow { position: sticky; top: 0; z-index: 80; box-shadow: 0 2px 10px rgba(27, 36, 49, 0.08); }
  .cf-logorow .cf-search { display: none; }
  .cf-drawer .cf-search { max-width: none; margin-bottom: 10px; }
  .cf-row { flex-wrap: wrap; min-height: 0; }
  .cf-rowctas { width: 100%; flex-direction: row; }
  .cf-rowctas .cf-btn, .cf-rowctas .cf-btn-ghost { flex: 1; }
  .cf-drawer { display: block; position: fixed; inset: 0; z-index: 100; visibility: hidden; }
  .cf-drawer.open { visibility: visible; }
  .cf-drawer .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
  .cf-drawer.open .backdrop { opacity: 1; }
  .cf-drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: 84%; max-width: 360px; background: var(--card); transform: translateX(100%); transition: transform .2s; overflow-y: auto; padding: 16px; }
  .cf-drawer.open .panel { transform: translateX(0); }
  .cf-drawer details { border-bottom: 0.5px solid var(--border); }
  .cf-drawer summary { list-style: none; display: flex; justify-content: space-between; padding: 13px 4px; font: 600 14px var(--font-sans); cursor: pointer; }
  .cf-drawer summary::-webkit-details-marker { display: none; }
  .cf-drawer .dd a { display: block; padding: 7px 12px; font-size: 13px; color: var(--ink); }
  .g2, .g3 { grid-template-columns: 1fr; }
  input[type="text"], input[type="search"], input[type="email"], select, textarea { font-size: 16px; }
  .cf-content p, .cf-content li { font-size: 15.5px; }
  .cf-compliance a, .cf-footer .fineprint, .cf-tcs { font-size: 11px; }
  .cf-footer .cols { grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 18px 0 8px; }
  .cf-footer .cols > div { margin-bottom: 14px; }
  .cf-footer h5 { margin-bottom: 5px; }
  .cf-footer .cols a { font-size: 12.5px; line-height: 2.15; }
  .cf-newsletter .container { gap: 10px; }
  .cf-newsletter .fields input[type=email] { max-width: none; font-size: 16px; }
  .cf-newsletter .consent label { display: block; margin-top: 7px; }
  .cf-newsletter .consent .cx { display: inline-block; margin-top: 7px; }
  .cf-compliance { justify-content: center; }
  .cf-copyright { text-align: center; }
}
