/* Capital Click — city-desk editorial */
:root {
  --cc-slate-dark: #2d3748;
  --cc-slate-mid: #4a5568;
  --cc-slate-light: #edf2f7;
  --cc-accent: #e53e3e;
  --cc-white: #ffffff;
  --cc-text: #1a202c;
  --cc-text-muted: #718096;
  --cc-border: #cbd5e0;
  --cc-shadow: 0 2px 8px rgba(45, 55, 72, 0.12);
  --cc-shadow-lg: 0 4px 20px rgba(45, 55, 72, 0.16);
  --cc-radius: 4px;
  --cc-font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --cc-font-serif: Georgia, "Times New Roman", serif;
  --cc-container: 1140px;
  --cc-transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--cc-font-sans);
  color: var(--cc-text);
  background: var(--cc-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cc-accent); text-decoration: none; transition: color var(--cc-transition); }
a:hover { color: var(--cc-slate-dark); }

.cc-container {
  max-width: var(--cc-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header — centered logo */
.cc-header {
  background: var(--cc-slate-dark);
  border-bottom: 3px solid var(--cc-accent);
}

.cc-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0 0;
}

.cc-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--cc-white);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.cc-logo:hover { color: var(--cc-slate-light); }

.cc-logo__mark {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cc-logo__tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cc-slate-light);
  opacity: 0.8;
  margin-top: 0.2rem;
}

.cc-nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--cc-slate-light);
  color: var(--cc-white);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--cc-radius);
  margin-bottom: 0.75rem;
}

.cc-nav {
  width: 100%;
  border-top: 1px solid rgba(237, 242, 247, 0.15);
}

.cc-nav__list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0;
}

.cc-nav__link {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--cc-slate-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background var(--cc-transition), color var(--cc-transition);
}

.cc-nav__link:hover,
.cc-nav__link--active {
  background: var(--cc-accent);
  color: var(--cc-white);
}

/* Main layout */
.cc-main { padding: 2rem 0 3rem; min-height: 60vh; }

.cc-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.cc-layout--full { grid-template-columns: 1fr; }

/* Typography — compact news */
.cc-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cc-accent);
  margin-bottom: 0.4rem;
}

.cc-headline {
  font-family: var(--cc-font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cc-slate-dark);
  margin-bottom: 0.75rem;
}

.cc-headline--lg { font-size: 2.5rem; }

.cc-headline--sm { font-size: 1.35rem; }

.cc-deck {
  font-size: 1.05rem;
  color: var(--cc-slate-mid);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cc-meta {
  font-size: 0.75rem;
  color: var(--cc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-meta span + span::before { content: " · "; }

.cc-prose {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cc-text);
}

.cc-prose p { margin-bottom: 1.1rem; }

.cc-prose h2 {
  font-family: var(--cc-font-serif);
  font-size: 1.35rem;
  color: var(--cc-slate-dark);
  margin: 1.75rem 0 0.75rem;
}

.cc-prose h3 {
  font-size: 1.05rem;
  color: var(--cc-slate-mid);
  margin: 1.25rem 0 0.5rem;
}

.cc-prose ul, .cc-prose ol {
  margin: 0 0 1.1rem 1.5rem;
}

.cc-prose li { margin-bottom: 0.4rem; }

/* Cards */
.cc-card {
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
  transition: box-shadow var(--cc-transition), transform var(--cc-transition);
}

.cc-card:hover {
  box-shadow: var(--cc-shadow-lg);
  transform: translateY(-2px);
}

.cc-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.cc-card__body { padding: 1rem 1.15rem; }

.cc-card__title {
  font-family: var(--cc-font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.cc-card__title a { color: var(--cc-slate-dark); text-decoration: none; }
.cc-card__title a:hover { color: var(--cc-accent); }

/* Featured story */
.cc-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.cc-featured__img {
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-lg);
  width: 100%;
}

.cc-featured__content { padding: 0.5rem 0; }

/* Article grid */
.cc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Sidebar */
.cc-sidebar__block {
  background: var(--cc-slate-light);
  border-radius: var(--cc-radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.cc-sidebar__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cc-slate-dark);
  border-bottom: 2px solid var(--cc-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.cc-sidebar__list { list-style: none; }

.cc-sidebar__list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cc-border);
  font-size: 0.85rem;
}

.cc-sidebar__list li:last-child { border-bottom: none; }

.cc-sidebar__list a { color: var(--cc-slate-dark); font-weight: 600; }
.cc-sidebar__list a:hover { color: var(--cc-accent); }

/* Article page — wide magazine */
.cc-article-hero {
  margin-bottom: 2rem;
}

.cc-article-hero__img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-lg);
  margin-bottom: 1.5rem;
}

.cc-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cc-slate-light);
  border-radius: var(--cc-radius);
  margin: 2rem 0;
}

.cc-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cc-author__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cc-slate-dark);
}

.cc-author__role {
  font-size: 0.8rem;
  color: var(--cc-text-muted);
}

/* Page header */
.cc-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cc-border);
}

/* Contact form */
.cc-form__group { margin-bottom: 1.25rem; }

.cc-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cc-slate-mid);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-form__input,
.cc-form__textarea,
.cc-form__select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--cc-transition);
}

.cc-form__input:focus,
.cc-form__textarea:focus,
.cc-form__select:focus {
  outline: none;
  border-color: var(--cc-accent);
}

.cc-form__textarea { min-height: 140px; resize: vertical; }

.cc-btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  background: var(--cc-accent);
  color: var(--cc-white);
  border: none;
  border-radius: var(--cc-radius);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--cc-transition);
}

.cc-btn:hover { background: var(--cc-slate-dark); color: var(--cc-white); }

/* Footer — three columns */
.cc-footer {
  background: var(--cc-slate-dark);
  color: var(--cc-slate-light);
  padding: 2.5rem 0 1.5rem;
}

.cc-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.cc-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cc-white);
  margin-bottom: 1rem;
}

.cc-footer__text {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

.cc-footer__links { list-style: none; }

.cc-footer__links li { margin-bottom: 0.5rem; }

.cc-footer__links a {
  color: var(--cc-slate-light);
  font-size: 0.85rem;
  text-decoration: none;
}

.cc-footer__links a:hover { color: var(--cc-white); }

.cc-footer__bottom {
  border-top: 1px solid rgba(237, 242, 247, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Cookie bar */
.cc-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cc-slate-dark);
  color: var(--cc-slate-light);
  padding: 1rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cc-cookie--visible { transform: translateY(0); }

.cc-cookie__inner {
  max-width: var(--cc-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cc-cookie__text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.cc-cookie__text a { color: var(--cc-slate-light); text-decoration: underline; }

.cc-cookie__btn {
  padding: 0.5rem 1.25rem;
  background: var(--cc-accent);
  color: var(--cc-white);
  border: none;
  border-radius: var(--cc-radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cc-cookie__btn:hover { background: #c53030; }

/* Utility */
.cc-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cc-slate-mid);
  border-bottom: 2px solid var(--cc-slate-dark);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cc-breadcrumb {
  font-size: 0.75rem;
  color: var(--cc-text-muted);
  margin-bottom: 1rem;
}

.cc-breadcrumb a { color: var(--cc-text-muted); }
.cc-breadcrumb a:hover { color: var(--cc-accent); }

/* Responsive */
@media (max-width: 900px) {
  .cc-layout { grid-template-columns: 1fr; }
  .cc-featured { grid-template-columns: 1fr; }
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .cc-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cc-nav-toggle { display: block; }

  .cc-nav { display: none; }
  .cc-nav--open { display: block; }

  .cc-nav__list { flex-direction: column; }

  .cc-nav__link {
    text-align: center;
    border-bottom: 1px solid rgba(237, 242, 247, 0.1);
  }

  .cc-grid { grid-template-columns: 1fr; }
  .cc-footer__grid { grid-template-columns: 1fr; }
  .cc-headline--lg { font-size: 1.75rem; }
  .cc-headline { font-size: 1.5rem; }

  .cc-cookie__inner { flex-direction: column; text-align: center; }
}
