/* Tegpun cookie consent — standalone, scoped styles for pages that use the regular WordPress theme (blog etc.).
   Everything sits under .tgc so the theme and this file never touch each other. */
.tgc { --ink:#05070F; --navy-900:#0A1024; --red:#E0243A; --red-2:#FF4D63; --ice:#C4D6FF; --t-dark:#F4F6FC; --t-dark-m:#98A1BC; --glass:rgba(255,255,255,.04); --glass-2:rgba(255,255,255,.08);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--t-dark); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.tgc *, .tgc *::before, .tgc *::after { box-sizing: border-box; }
.tgc [hidden] { display: none !important; }
.tgc h2, .tgc p { margin: 0; padding: 0; font-weight: inherit; letter-spacing: normal; text-transform: none; }
.tgc button { all: unset; box-sizing: border-box; cursor: pointer; }
.tgc button:focus-visible, .tgc a:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }
.tgc svg { display: block; width: 20px; height: 20px; }
.tgc .stack { display: flex; flex-direction: column; gap: 3px; }
.tgc .h-m { font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--t-dark); }
.tgc .h-l { font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--t-dark); }
.tgc .b-s { font-size: 14px; line-height: 1.57; }
.tgc .b-s-m { font-size: 14px; line-height: 1.43; font-weight: 500; color: var(--t-dark); }
.tgc .mono-s { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tgc .muted { color: var(--t-dark-m); }
.tgc .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 20px; text-align: center; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.tgc .btn--primary { background: var(--red) linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%); color: #fff; }
.tgc .btn--primary:hover { background-color: #c81e33; }
.tgc .btn--ghost { background: var(--glass-2); color: var(--t-dark); border: 1px solid rgba(255,255,255,.22); }
.tgc .btn--ghost:hover { border-color: rgba(255,255,255,.4); }
.tgc .cc { position: fixed; z-index: 2147483000; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px; background: rgba(10,16,36,.96); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -10px rgba(0,0,0,.45); }
.tgc .cc__head { display: flex; align-items: center; gap: 14px; }
.tgc .cc__icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(224,36,58,.14); display: grid; place-items: center; color: var(--red-2); flex: none; }
.tgc .cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tgc .cc__links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.tgc .cc__links button, .tgc .cc__links a { text-decoration: underline; text-underline-offset: 3px; color: var(--t-dark-m); }
.tgc .cc__links .customize { color: var(--ice); font-weight: 500; }
.tgc .modal { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px; background: rgba(5,7,15,.6); }
.tgc .modal__box { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 24px; border-radius: 24px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -10px rgba(0,0,0,.5); }
.tgc .modal__head { display: flex; justify-content: space-between; align-items: center; }
.tgc .x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); color: var(--t-dark); }
.tgc .x svg { width: 18px; height: 18px; }
.tgc .cat { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: var(--glass); border: 1px solid rgba(255,255,255,.08); }
.tgc .cat > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tgc .switch { display: inline-flex; align-items: center; gap: 10px; }
.tgc .toggle { position: relative; display: inline-block; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.14); flex: none; transition: background-color .25s; }
.tgc .toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s; }
.tgc .toggle.on, .tgc [aria-checked="true"] > .toggle { background: var(--red); }
.tgc .toggle.on::after, .tgc [aria-checked="true"] > .toggle::after { transform: translateX(18px); }
.tgc .switch[aria-disabled="true"] .toggle { background: rgba(224,36,58,.45); }
@media (max-width: 640px) {
  .tgc .cc { right: 0; bottom: 0; width: 100%; border-radius: 24px 24px 0 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .tgc * { transition: none !important; } }
