/* assets/style.css
   Newspaper-like, mobile-first layout.
   Keep this file as your single place for design edits.
*/

:root {
  --bg: #ffffff;
  --ink: #111;
  --muted: #666;
  --line: #e6e6e6;
  --paper: #fafafa;
  --accent: #0b57d0;
  --accent2: #b00020;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .06);
  --max: 1180px;
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.muted {
  color: var(--muted);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 14px 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  filter: brightness(.95);
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: var(--accent);
}

.btn-danger {
  border-color: var(--accent2);
  background: var(--accent2);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--accent);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tbl th,
.tbl td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  font: 14px/1.25 var(--sans);
}

.tbl th {
  background: var(--paper);
  text-align: left;
  font-weight: 700;
}

.tbl tr:last-child td {
  border-bottom: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 700 12px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .03em;
}


.status.s-submitted {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.status.s-changes_requested {
  border-color: #fed7aa;
  background: #fff7ed;
}

.status.s-approved {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.status.s-published {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.status.s-archived {
  border-color: #e5e7eb;
  background: #f9fafb;
}

/* ===== Masthead ===== */
.masthead {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  /* Default for desktop */
  z-index: 990;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.topbar {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 36px 14px 24px;
  gap: 14px;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.brand {
  grid-column: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand .logo {
  display: block;
}

.brand .logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.brand .logo:hover {
  text-decoration: none;
}

.tagline {
  margin-top: 10px;
  font: 400 16px/1.3 var(--serif);
  color: var(--muted);
  font-style: italic;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  height: auto;
  overflow: hidden;
}


.top-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-actions .btn {
  height: 32px;
  font-size: 13px;
  padding: 0 12px;
}

@media (max-width: 768px) {
  .top-actions {
    display: none;
  }
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 16px 14px 18px;
  border-top: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
  height: auto;
  overflow: hidden;
}


.nav a {
  font: 700 15px/1 var(--sans);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Header ad */
.header-ad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 14px 14px;
}

.ad-empty {
  width: 100%;
  min-height: 60px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}

.ad-empty.tall {
  min-height: 200px;
}

.ad-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }
}

.maincol {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 980px) {
  .sidebar {
    position: static;
  }
}

.adbox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}

/* ===== Lead article ===== */
.lead {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.lead:hover {
  border-color: #cbd5e1;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.kicker a {
  font: 800 12px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent2);
  color: #fff;
  font: 800 11px/1 var(--sans);
  letter-spacing: .06em;
}

.lead h1 {
  margin: 0 0 10px;
  font: 900 34px/1.05 var(--serif);
}

.lead h1 a {
  color: var(--ink);
}

.lead h1 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lead-img {
  margin: 10px 20px 10px 0;
  border-radius: 12px;
  float: left;
  width: 280px;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lead-img {
    float: none;
    width: 100%;
    height: auto;
    margin: 10px 0 15px 0;
  }
}

.lead::after {
  content: "";
  display: table;
  clear: both;
}

.lead-summary {
  margin: 0 0 10px;
  font: 16px/1.5 var(--sans);
  color: var(--ink);
}

.meta {
  font: 13px/1.2 var(--sans);
}

/* ===== List rows ===== */
.list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.row:hover {
  border-color: #cbd5e1;
}

@media (max-width: 520px) {
  .row {
    flex-direction: column;
  }
}

.thumb {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
  flex-shrink: 0;
}

.row-body {
  flex: 1;
  min-width: 0;
}

@media (max-width: 520px) {
  .thumb {
    width: 100%;
    height: 190px;
  }
}

.row h2 {
  margin: 6px 0 6px;
  font: 900 18px/1.15 var(--serif);
}

.row h2 a {
  color: var(--ink);
}

.row h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.summary {
  margin: 0 0 8px;
  font: 14px/1.5 var(--sans);
  color: var(--muted);
}

/* Full block link overlay */
.full-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.kicker {
  z-index: 2;
  position: relative;
}

/* ===== Article page ===== */
.article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.article h1 {
  margin: 6px 0 8px;
  font: 900 34px/1.08 var(--serif);
}

.article-hero {
  margin: 14px 0 10px;
  border-radius: 12px;
}

.inline-ad {
  margin: 16px 0;
}

.article-body {
  margin-top: 12px;
  font: 18px/1.75 var(--serif);
  color: var(--ink);
}

.article-body p {
  margin: 0 0 12px;
}

.article-body a {
  color: var(--accent);
}

.article-body h2 {
  font: 900 26px/1.1 var(--serif);
  margin: 18px 0 10px;
}

.article-body h3 {
  font: 900 20px/1.2 var(--serif);
  margin: 16px 0 8px;
}

.article-body blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
}

.article-body img {
  border-radius: 12px;
  max-width: 100%;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

/* Figure and Figcaption UI */
.article-body figure {
  margin: 15px 0;
  display: inline-block;
  max-width: 100%;
}

.article-body figure img {
  margin: 0 !important;
  display: block;
}

.article-body figcaption {
  font: 13px/1.4 var(--sans);
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
  padding: 0 10px;
}

.article-body figcaption a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
}

.article-body figcaption a:hover {
  color: var(--accent);
}

.article-hero.wrapped {
  float: left;
  max-width: 50%;
  margin: 10px 20px 15px 0;
}

/* ===== Auth / Admin ===== */
.auth {
  max-width: 460px;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.auth h1 {
  margin: 0 0 14px;
  font: 900 26px/1 var(--serif);
}

label {
  display: block;
  margin: 10px 0 6px;
  font: 700 13px/1 var(--sans);
  color: var(--muted);
}

input[type="text"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: 14px/1.3 var(--sans);
  outline: none;
  background: #fff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #b6c8ff;
  box-shadow: 0 0 0 4px rgba(11, 87, 208, .10);
}

.error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  padding: 10px 12px;
  border-radius: 12px;
  font: 700 14px/1.3 var(--sans);
}

.adminbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.adminbar h1 {
  margin: 0;
  font: 900 26px/1 var(--serif);
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-scroll,
.tbl-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.formcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.formrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .formrow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .adminbar {
    align-items: flex-start;
    gap: 10px;
  }

  .adminbar h1 {
    font-size: 22px;
    line-height: 1.1;
  }

  .admin-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-actions .btn,
  .admin-actions button.btn {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
  }

  .formcard {
    padding: 14px;
  }

  .smallrow {
    flex-direction: column;
    align-items: stretch;
  }

  .smallrow > * {
    width: 100%;
  }

  .smallrow .btn {
    min-height: 42px;
  }

  .tbl {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tbl th,
  .tbl td {
    padding: 10px;
    font-size: 13px;
    vertical-align: top;
  }

  .auth {
    margin: 14px auto;
  }
}

@media (max-width: 480px) {
  .admin-actions {
    grid-template-columns: 1fr;
  }
}

.smallrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
  border: none;
}

.note {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  border-radius: 12px;
}

.note strong {
  font: 800 13px/1 var(--sans);
}

.note p {
  margin: 8px 0 0;
  font: 14px/1.45 var(--sans);
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  font: 13px/1.4 var(--sans);
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  color: var(--muted);
  font: 14px/1.4 var(--sans);
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--accent);
  color: white;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}

#scrollToTopBtn:hover {
  background-color: #0947a8;
}

@media (max-width: 768px) {
  #scrollToTopBtn {
    bottom: 16px;
    right: 16px;
  }

  .article-body img,
  .article-body figure.article-featured {
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 15px 0 !important;
    display: block !important;
  }
}

/* ===== Minimal Quill content styling (public pages) ===== */
.ql-editor {
  padding: 0 !important;
}

.ql-editor ul,
.ql-editor ol {
  margin: 0 0 12px 22px;
}

.ql-editor li {
  margin: 4px 0;
}

.ql-editor pre {
  background: #0b1020;
  color: #f3f4f6;
  padding: 12px;
  border-radius: 12px;
  overflow: auto;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* FIX: Quill editor clickable area */
#editor {
  background: #fff;
  min-height: 320px;
}

.ql-container {
  min-height: 320px;
}

.ql-editor {
  min-height: 280px;
  cursor: text;
}

/* ===== Mobile Navigation & Header Mods ===== */
.mobile-header-actions {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 10;
}

.masthead.scrolled .mobile-header-actions {
  display: flex;
}

.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-header .logo {
  display: flex;
  align-items: center;
}

.close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
}

.mobile-search-form {
  display: flex;
  margin-bottom: 24px;
  position: relative;
}

.mobile-search-form input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: 15px/1 var(--sans);
  background: var(--paper);
}

.mobile-search-form button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  font: 700 16px/1 var(--sans);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.mobile-nav-links a:hover {
  text-decoration: none;
  color: var(--accent);
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: 600 14px/1 var(--sans);
}

.mobile-inline-ad {
  display: none;
}

@media (max-width: 768px) {
  .masthead {
    position: sticky;
    top: 0;
  }

  /* Shrunk header is desktop only now */
  .shrunk-header {
    display: none !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-header-actions {
    display: flex !important;
    /* Mobile actions centered vertically */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    align-items: center;
    z-index: 1001;
  }

  .masthead.menu-open .mobile-header-actions,
  body.menu-open .mobile-header-actions {
    display: none !important;
  }

  .topbar {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 14px 20px !important;
    transition: padding 0.3s ease;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
  }

  .masthead.scrolled .topbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .brand {
    grid-column: auto !important;
    width: 100%;
    text-align: center;
  }

  .brand .logo img {
    height: 48px;
    transition: height 0.3s ease;
  }

  .masthead.scrolled .brand .logo img {
    height: 36px;
  }

  .tagline {
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease;
  }

  .masthead.scrolled .tagline {
    opacity: 0;
    height: 0;
    margin: 0 !important;
  }

  .mobile-inline-ad {
    display: block;
  }

  .sidebar .adbox {
    display: none;
  }

  .desktop-only {
    display: none !important;
  }

  /* Scrolled Mobile States */
  .masthead.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .masthead.scrolled .topbar {
    padding: 12px 14px !important;
  }

  .masthead.scrolled .brand .logo img {
    height: 36px !important;
  }

  .masthead.scrolled .tagline {
    opacity: 0;
    height: 0;
    margin: 0 !important;
  }

  .masthead.scrolled .nav {
    display: none !important;
  }
}

/* ===== Shrunk Header Styles (Desktop) ===== */
.shrunk-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

@media (min-width: 769px) {
  .shrunk-header.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.shrunk-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shrunk-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.shrunk-header .hamburger-btn {
  padding: 10px;
}

/* iOS Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--line);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
  background-color: #10b981;
}

input:focus+.slider {
  box-shadow: 0 0 1px #10b981;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* Share Buttons */
.share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, filter 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff;
}

.share-tg {
  background: #0088cc;
}

.share-wa {
  background: #25D366;
}

.share-tw {
  background: #000000;
}

.share-vk {
  background: #0077FF;
}

.share-fb {
  background: #1877F2;
}

.share-copy {
  background: #64748b;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1b2e;
  color: #fff;
  padding: 16px 0;
  z-index: 3000;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner-hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text p {
  margin: 0;
  font: 400 14px/1.5 var(--sans);
  color: #e8e8f0;
}

.cookie-policy-link {
  color: #93c5fd;
  text-decoration: underline;
  margin-left: 5px;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  font: 700 14px/1 var(--sans);
  cursor: pointer;
  transition: filter 0.2s;
}

.cookie-btn:hover {
  filter: brightness(1.1);
}

.cookie-btn-accept {
  background: #0b57d0;
  color: #fff;
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px 0;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
