:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #c8102e;
  --accent-dark: #97081f;
  --line: #e4e2de;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Georgia, serif; }

.demo-tag {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 6px;
  letter-spacing: 0.03em;
  font-family: Arial, sans-serif;
}

.header { max-width: 1140px; margin: auto; padding: 16px 24px 0; font-family: Arial, sans-serif; }
.header-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 20px;
}
.brand-name {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
}
.search-btn {
  border: 1px solid var(--line);
  background: none;
  border-radius: 6px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
nav {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
nav a.active, nav a:hover { color: var(--accent); }

.breaking {
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.breaking-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.breaking-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-news {
  max-width: 1140px;
  margin: auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.tag-sm { font-size: 10px; padding: 3px 8px; }
.featured {
  background: linear-gradient(135deg, #2a2a2a, #111);
  color: #fff;
  padding: 34px;
  border-radius: 6px;
}
.featured h1 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
.featured p { font-family: Arial, sans-serif; color: #cfcfcf; font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.featured .meta { font-family: Arial, sans-serif; font-size: 12px; color: #9a9a9a; }

.secondary-list { display: flex; flex-direction: column; gap: 20px; }
.secondary { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.secondary h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.secondary .meta { font-family: Arial, sans-serif; font-size: 12px; color: var(--muted); }

.ad-slot {
  max-width: 1140px;
  margin: 0 auto 30px;
  padding: 22px 24px;
  border: 1.5px dashed #c7c3ba;
  border-radius: 6px;
  background: #efece5;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #8a8578;
}
.ad-slot span { display: block; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.ad-slot small { font-size: 12px; }

.content-grid {
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.block-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.block-heading h2 { font-size: 22px; margin: 0; }
.block-heading a { font-family: Arial, sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); }
.category-block { margin-bottom: 40px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card h3 { font-size: 16px; line-height: 1.3; margin: 8px 0 6px; }
.card .meta { font-family: Arial, sans-serif; font-size: 11px; color: var(--muted); }
.thumb { height: 110px; border-radius: 4px; margin-bottom: 4px; }
.thumb-1 { background: linear-gradient(135deg, #d8c9a3, #97081f); }
.thumb-2 { background: linear-gradient(135deg, #a3c2d8, #1a1a1a); }
.thumb-3 { background: linear-gradient(135deg, #c9d8a3, #2a2a2a); }
.thumb-4 { background: linear-gradient(135deg, #d8a3a3, #97081f); }
.thumb-5 { background: linear-gradient(135deg, #a3d8c2, #1a1a1a); }
.thumb-6 { background: linear-gradient(135deg, #d8c2a3, #2a2a2a); }

.sidebar-block { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 22px; margin-bottom: 24px; }
.sidebar-block h2 { font-size: 18px; margin: 0 0 16px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; }
.most-read { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.most-read li { font-family: Arial, sans-serif; font-size: 13px; line-height: 1.4; display: flex; gap: 10px; }
.most-read span { font-family: Georgia, serif; font-weight: 700; color: var(--accent); font-size: 16px; flex-shrink: 0; }
.ad-slot-side { margin: 0; }

footer { text-align: center; padding: 40px 24px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-family: Arial, sans-serif; }
footer p { max-width: 480px; margin: 0 auto 10px; }
footer a { color: var(--accent-dark); font-weight: 700; }

@media (max-width: 860px) {
  nav { flex-wrap: wrap; gap: 16px; }
  .hero-news { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .header-top { flex-direction: column; gap: 4px; }
  .brand-name { font-size: 21px; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* mapa */
.redacao { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; max-width:1100px; margin:auto; padding:80px 24px; text-align:left; }
.redacao .mapa-text h2, .redacao .mapa-text p { text-align:left; }
.mapa-endereco { display:flex; flex-direction:column; gap:3px; margin:0 0 28px; padding-left:14px; border-left:2px solid var(--accent); font-size:14px; color:var(--ink); }
.mapa-endereco span { display:block; margin:0; color:var(--ink); }
.mapa-embed { border-radius:4px; overflow:hidden; border:1px solid var(--line); box-shadow:0 24px 50px -28px rgba(0,0,0,.4); }
.mapa-embed iframe { width:100%; height:320px; border:0; display:block; filter:grayscale(.2) contrast(1.03); }
@media (max-width:860px){ .redacao { grid-template-columns:1fr; gap:32px; padding:60px 24px; text-align:center; } .mapa-endereco { text-align:left; } .mapa-embed iframe { height:260px; } }
.mapa-link{font-weight:700;color:var(--accent);}
