/* Council Beat — Ghost Theme Stylesheet v1.0 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&display=swap');

/* ── TOKENS ── */
:root {
  --black:    #0a0a0a;
  --ink:      #1a1a1a;
  --charcoal: #333;
  --slate:    #666;
  --silver:   #999;
  --smoke:    #ccc;
  --mist:     #ebebeb;
  --paper:    #f7f5f0;
  --white:    #fff;
  --alert:    #c0392b;
  --t-display:'Playfair Display', Georgia, serif;
  --t-label:  'Bebas Neue', sans-serif;
  --t-body:   'Source Serif 4', Georgia, serif;
  --t-caption:'Cormorant Garamond', Georgia, serif;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--t-body); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TICKER ── */
.cb-ticker {
  background: var(--alert);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}
.cb-ticker__tag {
  background: var(--black);
  color: var(--white);
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 4px;
  padding: 7px 16px;
  flex-shrink: 0;
  white-space: nowrap;
}
.cb-ticker__text {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.9);
  padding: 7px 20px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── NAV ── */
.cb-nav {
  background: var(--black);
  position: sticky;
  top: 31px;
  z-index: 99;
  border-bottom: 1px solid #1a1a1a;
}
.cb-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.cb-nav__logo {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -1px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  padding: 12px 24px;
  border-right: 1px solid #1e1e1e;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cb-nav__logo .inv {
  background: var(--white);
  color: var(--black);
  padding: 1px 6px 2px;
  display: inline-block;
}
.cb-nav__links {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  list-style: none;
}
.cb-nav__links a {
  font-family: var(--t-label);
  font-size: 10.5px;
  letter-spacing: 3px;
  color: #666;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-right: 1px solid #1a1a1a;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.cb-nav__links a:hover { color: var(--white); background: #161616; }
.cb-nav__right {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  border-left: 1px solid #1e1e1e;
}
.cb-nav__subscribe {
  background: var(--white);
  color: var(--black);
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  padding: 7px 14px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cb-nav__subscribe:hover { background: var(--mist); }

/* ── MASTHEAD ── */
.cb-masthead {
  background: var(--white);
  border-bottom: 3px solid var(--black);
}
.cb-masthead__zigzag {
  height: 10px;
  background: repeating-linear-gradient(90deg, #000 0px, #000 38px, #fff 38px, #fff 40px);
}
.cb-masthead__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 14px;
}
.cb-masthead__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cb-masthead__meta {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--silver);
}
.cb-masthead__logo {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -3px;
  text-align: center;
  flex: 1;
}
.cb-masthead__logo .inv {
  background: var(--black);
  color: var(--white);
  padding: 2px 10px 4px;
  display: inline-block;
}
.cb-masthead__tagline-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 6px;
}
.cb-masthead__tagline-row .rule { flex: 1; height: 1.5px; background: var(--black); }
.cb-masthead__tagline {
  font-family: var(--t-caption);
  font-style: italic;
  font-size: 14px;
  color: var(--slate);
  white-space: nowrap;
}
.cb-masthead__bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--silver);
}
.cb-masthead__stripe { height: 6px; background: var(--black); margin-top: 14px; }

/* ── HERO ── */
.cb-hero {
  background: var(--black);
  border-bottom: 4px solid var(--black);
}
.cb-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 480px;
}
.cb-hero__lead {
  padding: 48px;
  border-right: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cb-hero__eyebrow {
  font-family: var(--t-label);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--alert);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cb-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--alert);
}
.cb-hero__headline {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 20px;
}
.cb-hero__dek {
  font-family: var(--t-body);
  font-size: 17px;
  line-height: 1.65;
  color: #aaa;
  margin-bottom: 24px;
}
.cb-hero__byline {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: #555;
}
.cb-hero__read {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--white);
  border-bottom: 1px solid #333;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}
.cb-hero__read:hover { border-color: var(--white); }
.cb-hero__sidebar { display: flex; flex-direction: column; }
.cb-hero__sidebar-story {
  padding: 22px 28px;
  border-bottom: 1px solid #1a1a1a;
  flex: 1;
  transition: background 0.15s;
}
.cb-hero__sidebar-story:hover { background: #111; }
.cb-hero__sidebar-story .tag {
  font-family: var(--t-label);
  font-size: 9.5px;
  letter-spacing: 3px;
  color: #555;
  margin-bottom: 6px;
  display: block;
}
.cb-hero__sidebar-story h3 {
  font-family: var(--t-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #ddd;
}
.cb-hero__sidebar-story .city {
  font-family: var(--t-caption);
  font-style: italic;
  font-size: 12px;
  color: #555;
  margin-top: 5px;
  display: block;
}

/* ── SECTION HEADER ── */
.cb-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.cb-section-header h2 {
  font-family: var(--t-label);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--black);
  white-space: nowrap;
}
.cb-section-header .line { flex: 1; height: 1.5px; background: var(--black); }
.cb-section-header .see-all {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--silver);
  white-space: nowrap;
  transition: color 0.15s;
}
.cb-section-header .see-all:hover { color: var(--black); }

/* ── MAIN WRAP ── */
.cb-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

/* ── POST GRID ── */
.cb-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cb-post-card {
  border-top: 3px solid var(--black);
  padding-top: 14px;
  transition: opacity 0.15s;
}
.cb-post-card:hover { opacity: 0.8; }
.cb-post-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 12px;
}
.cb-post-card__image-placeholder {
  width: 100%;
  height: 180px;
  background: var(--mist);
  margin-bottom: 12px;
}
.cb-post-card__tag {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--alert);
  margin-bottom: 6px;
  display: block;
}
.cb-post-card__tag.plain { color: var(--silver); }
.cb-post-card h3 {
  font-family: var(--t-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 8px;
}
.cb-post-card__excerpt {
  font-family: var(--t-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 10px;
}
.cb-post-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--t-label);
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--smoke);
  border-top: 1px solid var(--mist);
  padding-top: 8px;
}

/* ── SIDEBAR ── */
.cb-sidebar { display: flex; flex-direction: column; gap: 32px; }

.cb-subscribe-widget {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 28px;
}
.cb-subscribe-widget__label {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--silver);
  margin-bottom: 12px;
}
.cb-subscribe-widget h3 {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 10px;
}
.cb-subscribe-widget p {
  font-family: var(--t-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 18px;
}
.cb-subscribe-form { display: flex; flex-direction: column; gap: 8px; }
.cb-subscribe-form input {
  background: var(--paper);
  border: 1px solid var(--smoke);
  padding: 10px 14px;
  font-family: var(--t-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.cb-subscribe-form input:focus { border-color: var(--black); }
.cb-subscribe-form input::placeholder { color: var(--smoke); }
.cb-subscribe-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 11px 14px;
  font-family: var(--t-label);
  font-size: 11px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.cb-subscribe-form button:hover { background: var(--charcoal); }

/* ── ARTICLE PAGE ── */
.cb-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}
.cb-article__body { max-width: 680px; }
.cb-article__tag {
  font-family: var(--t-label);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--alert);
  margin-bottom: 12px;
  display: block;
}
.cb-article__headline {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 16px;
}
.cb-article__dek {
  font-family: var(--t-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--smoke);
  padding-bottom: 20px;
}
.cb-article__byline-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--silver);
  margin-bottom: 28px;
}
.cb-article__cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin-bottom: 28px;
}
.cb-article__content {
  font-family: var(--t-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}
.cb-article__content p { margin-bottom: 1.4em; }
.cb-article__content h2 {
  font-family: var(--t-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: 1.8em 0 0.6em;
  border-top: 2px solid var(--black);
  padding-top: 16px;
}
.cb-article__content h3 {
  font-family: var(--t-display);
  font-weight: 700;
  font-size: 20px;
  margin: 1.4em 0 0.5em;
}
.cb-article__content blockquote {
  border-left: 4px solid var(--black);
  padding: 8px 20px;
  margin: 1.6em 0;
  font-family: var(--t-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--black);
}
.cb-article__content ul, .cb-article__content ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.cb-article__content li { margin-bottom: 0.4em; }
.cb-article__content a {
  color: var(--black);
  border-bottom: 1px solid var(--smoke);
  transition: border-color 0.15s;
}
.cb-article__content a:hover { border-color: var(--black); }
.cb-article__content figure { margin: 1.8em 0; }
.cb-article__content figcaption {
  font-family: var(--t-caption);
  font-style: italic;
  font-size: 13px;
  color: var(--slate);
  margin-top: 8px;
}

/* ── FOOTER ── */
.cb-footer { background: var(--black); color: var(--white); margin-top: 0; }
.cb-footer__top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  padding: 48px 24px 40px;
  border-bottom: 1px solid #1a1a1a;
}
.cb-footer__brand-logo {
  font-family: var(--t-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 14px;
}
.cb-footer__brand-logo .inv {
  display: block;
  background: var(--white);
  color: var(--black);
  padding: 2px 8px 4px;
  margin-top: 2px;
  width: fit-content;
}
.cb-footer__brand p {
  font-family: var(--t-body);
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
.cb-footer__brand .tagline {
  font-family: var(--t-caption);
  font-style: italic;
  font-size: 14px;
  color: #444;
}
.cb-footer__col h4 {
  font-family: var(--t-label);
  font-size: 10px;
  letter-spacing: 5px;
  color: #444;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e1e1e;
}
.cb-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cb-footer__col ul li a {
  font-family: var(--t-body);
  font-size: 13px;
  color: #555;
  transition: color 0.15s;
}
.cb-footer__col ul li a:hover { color: var(--white); }
.cb-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cb-footer__copy {
  font-family: var(--t-label);
  font-size: 9.5px;
  letter-spacing: 3px;
  color: #333;
}
.cb-footer__motto {
  font-family: var(--t-caption);
  font-style: italic;
  font-size: 13px;
  color: #333;
}

/* ── GHOST KOENIG EDITOR REQUIRED CLASSES ── */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 2rem);
  margin-right: calc(50% - 50vw + 2rem);
  max-width: 1200px;
}
.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}
.kg-image { max-width: 100%; }
.kg-image-card { margin: 1.5em 0; }
.kg-image-card img { margin: 0 auto; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; gap: 4px; margin-bottom: 4px; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card { border: 1px solid var(--mist); padding: 16px; margin: 1.5em 0; }
.kg-bookmark-title { font-family: var(--t-display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.kg-bookmark-description { font-size: 13px; color: var(--slate); }
.kg-embed-card { margin: 1.5em 0; }
.kg-video-card { margin: 1.5em 0; }
.kg-video-card video { width: 100%; }
.kg-callout-card { display: flex; gap: 12px; padding: 16px; background: var(--mist); margin: 1.5em 0; border-left: 4px solid var(--black); }
.kg-callout-emoji { font-size: 20px; }
.kg-toggle-card { border: 1px solid var(--mist); padding: 16px; margin: 1.5em 0; }
.kg-toggle-heading-text { font-family: var(--t-display); font-weight: 700; }
.kg-product-card { border: 1px solid var(--mist); padding: 20px; margin: 1.5em 0; }
.kg-hr { border: none; border-top: 2px solid var(--black); margin: 2em 0; }
.kg-audio-card { border: 1px solid var(--mist); padding: 16px; margin: 1.5em 0; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .cb-hero__inner { grid-template-columns: 1fr; }
  .cb-hero__sidebar { display: none; }
  .cb-main { grid-template-columns: 1fr; }
  .cb-article { grid-template-columns: 1fr; }
  .cb-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cb-post-grid { grid-template-columns: 1fr; }
  .cb-footer__top { grid-template-columns: 1fr; }
  .cb-nav__links { display: none; }
}
