/* ═══════════════════════════════════════════════
   iDNES.cz — RONDA INVEST — styles.css
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

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

body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
}

a {
  color: #0000cc;
  text-decoration: underline;
}

a:hover { color: #cc0000; }

/* ── TOP RED LINE ───────────────────────────────── */
.topline {
  background: #cc0000;
  height: 4px;
}

/* ── HEADER ─────────────────────────────────────── */
.header {
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px;
}

/* Premium badge */
.premium {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.prem-label {
  background: #f5c518;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.prem-text {
  background: #fff;
  border: 1px solid #ddd;
  border-left: none;
  padding: 3px 10px;
  font-size: 10px;
  color: #333;
  line-height: 1.4;
}

/* Logo */
.logo-wrap {
  text-align: center;
  flex: 1;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: #888;
  text-transform: uppercase;
  margin-top: 3px;
}

.logo-sub strong { color: #cc0000; }

/* Header actions */
.hd-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.hd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #333;
  font-size: 11px;
  font-weight: 500;
}

.hd-menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hd-menu-lines span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
}

/* ── NAVIGATION ──────────────────────────────────── */
.nav {
  border-top: 1px solid #eee;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
}

.nav-a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  padding: 10px 13px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
  transition: color 0.15s;
}

.nav-a:hover { color: #cc0000; }

.nav-a.on {
  color: #cc0000;
  border-bottom-color: #cc0000;
  font-weight: 600;
}

/* ── MAIN LAYOUT ─────────────────────────────────── */
.main-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* ── ARTICLE ─────────────────────────────────────── */
.art-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.art-meta {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

.art-author {
  font-size: 13px;
  color: #333;
  margin-bottom: 3px;
}

.art-author a {
  color: #cc0000;
  text-decoration: none;
  font-weight: 600;
}

.adv-badge {
  font-size: 11px;
  font-weight: 700;
  color: #cc0000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.art-date {
  font-size: 12px;
  color: #888;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 20px;
  font-family: inherit;
}

.share-btn:hover { color: #cc0000; }

.art-perex {
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 22px;
}

/* Article images */
.art-img {
  width: 100%;
  margin-bottom: 6px;
  overflow: hidden;
}

.art-img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
  object-fit: cover;
}

.img-cap {
  font-size: 11px;
  color: #888;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.img-cap::before {
  content: 'ⓘ';
  font-size: 13px;
}

/* Article body */
.art-body p {
  font-size: 16px;
  line-height: 1.78;
  margin-bottom: 18px;
}

.art-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 30px 0 14px;
  line-height: 1.3;
}

/* Clearfix */
.cf::after {
  content: '';
  display: table;
  clear: both;
}

/* ── INFOBOX ─────────────────────────────────────── */
.infobox {
  float: right;
  width: 255px;
  margin: 0 0 18px 26px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 16px 18px;
}

.infobox-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.infobox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.infobox li {
  font-size: 13px;
  color: #333;
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid #eee;
  line-height: 1.4;
}

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

.infobox li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #aaa;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── QUOTE ───────────────────────────────────────── */
.art-quote {
  border-left: 3px solid #cc0000;
  padding: 4px 0 4px 18px;
  margin: 18px 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.72;
}

/* ── ALSO READ ───────────────────────────────────── */
.also-read {
  background: #f5f5f5;
  border-left: 3px solid #cc0000;
  padding: 14px 16px;
  margin: 24px 0;
}

.also-read-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #cc0000;
  margin-bottom: 8px;
}

.also-read a {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.also-read a:hover {
  color: #cc0000;
  text-decoration: underline;
}

/* ── CTA BOX ─────────────────────────────────────── */
.cta-box {
  background: #f0f7ff;
  border: 1px solid #b8d4f0;
  padding: 20px 24px;
  margin: 26px 0;
}

.cta-box h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 14px;
  color: #333;
  margin-bottom: 14px;
}

.cta-btn {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-btn::after { content: ' →'; }

.cta-btn:hover {
  background: #aa0000;
  color: #fff;
  text-decoration: none;
}

/* ── ARTICLE FOOTER ──────────────────────────────── */
.art-foot {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.art-source {
  font-size: 12px;
  color: #888;
  font-style: italic;
  margin-bottom: 10px;
}

.art-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  cursor: pointer;
}

.art-tags {
  font-size: 12px;
  color: #888;
}

.art-tags a { color: #0000cc; }

/* ── SIDEBAR ─────────────────────────────────────── */
.sidebar {}

.sidebar-section {
  margin-bottom: 26px;
}

.sb-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  border-bottom: 2px solid #cc0000;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.sb-art {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.sb-art:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sb-img {
  width: 80px;
  height: 58px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.sb-content { flex: 1; }

.sb-atitle {
  font-size: 13px;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.sb-atitle:hover {
  color: #cc0000;
  text-decoration: underline;
}

.sb-adate {
  font-size: 11px;
  color: #888;
}

/* Sidebar promo box */
.sb-promo {
  background: #fff8f0;
  border: 1px solid #f0ccaa;
  padding: 18px;
  margin-top: 8px;
}

.sb-promo-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sb-promo-text {
  font-size: 12px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.sb-promo-btn {
  display: block;
  background: #cc0000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.sb-promo-btn:hover {
  background: #aa0000;
  color: #fff;
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 26px 0;
  margin-top: 48px;
  font-size: 12px;
}

.foot-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-logo {
  height: 22px;
  width: auto;
}

.foot-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
}

.foot-links a:hover { color: #fff; }

.foot-copy {
  color: #666;
  font-size: 11px;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .main-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .art-title { font-size: 23px; }

  .infobox {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .header-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo-img { height: 26px; }
}

@media (max-width: 480px) {
  .nav-a { padding: 10px 9px; font-size: 12px; }
  .art-title { font-size: 20px; }
  .art-perex { font-size: 15px; }
}
