body{padding-bottom:150px}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
}

a { color: #d40000; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== INDEX.HR HEADER (RED BAR) ===== */
.index-header {
  background: #d40000;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.index-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 48px;
}

.index-logo-box {
  background: #b80000;
  padding: 8px 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  height: 48px;
}

.index-logo-text {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.index-logo-text span { font-weight: 400; }

.index-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.index-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.index-nav a:hover { background: rgba(0,0,0,0.15); }

.index-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
}

.index-header-right a { color: #fff; padding: 8px; }

/* ===== SUBNAV ===== */
.index-subnav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.index-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 15px;
  overflow-x: auto;
}

.index-subnav a {
  color: #333;
  font-size: 14px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.index-subnav a:hover { color: #d40000; }
.index-subnav a.active { color: #000; font-weight: 700; border-bottom: 3px solid #d40000; }
.index-subnav a.red { color: #d40000; }

/* ===== MAIN LAYOUT ===== */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  padding: 24px 15px 60px;
  background: #fff;
}

.article-column { flex: 1; max-width: 780px; }

.sidebar {
  width: 340px;
  flex-shrink: 0;
}

/* ===== ARTICLE ===== */
.article-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a1a1a;
}

/* BYLINE — matches Index.hr exactly */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.byline-info { font-size: 14px; color: #555; }
.byline-info .byline-label { color: #888; }
.byline-info .byline-name { font-weight: 700; color: #1a1a1a; }
.byline-info .byline-date { color: #888; font-size: 13px; }

/* HERO IMAGE */
.hero-image { width: 100%; margin-bottom: 24px; }
.hero-image img { width: 100%; height: auto; display: block; }

/* ARTICLE BODY */
.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 32px 0 16px;
  color: #1a1a1a;
}

.article-body p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: #1a1a1a;
}

.article-body .lead-text { font-size: 20px; font-weight: 600; }

.content-image {
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 24px 0 8px;
  display: block;
}

/* ===== SIDEBAR ===== */
.sidebar-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 16px;
}

.sidebar-tabs a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 16px;
  color: #888;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.sidebar-tabs a.active {
  color: #1a1a1a;
  border-bottom: 3px solid #d40000;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}

.sidebar-time {
  color: #d40000;
  font-size: 22px;
  font-weight: 800;
  min-width: 45px;
  text-align: center;
  line-height: 1;
}

.sidebar-time small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #d40000;
}

.sidebar-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

/* ===== EDITOR NOTE ===== */
.editor-note {
  background: #f8f9fa;
  border-left: 4px solid #d40000;
  padding: 20px 24px;
  margin: 28px 0;
}

.editor-note h3 {
  margin: 0 0 10px;
  color: #d40000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.editor-note p { font-size: 15px; line-height: 1.6; margin: 8px 0; }

.arhiva-box {
  background: #f4f6f8;
  border-left: 4px solid #1a1a1a;
  padding: 20px 24px;
  margin: 28px 0;
}
.arhiva-box h3 {
  margin: 0 0 10px;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.arhiva-box p { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.arhiva-box ul { font-size: 15px; line-height: 1.65; margin: 8px 0 8px 18px; padding: 0; }
.arhiva-box li { margin: 4px 0; }
.arhiva-box .arhiva-src { font-size: 13px; color: #666; margin-top: 12px; }

/* LIVE BOX */
.live-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 14px 20px;
  margin: 24px 0;
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #d40000;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* REGISTRATION BOX */
.reg-box {
  background: #fff8e1;
  border: 2px solid #ffc107;
  padding: 28px;
  margin: 32px 0;
  border-radius: 6px;
}

.reg-box ol { margin: 16px 0; padding-left: 24px; }
.reg-box ol li { margin: 10px 0; line-height: 1.6; font-size: 16px; }

.reg-important {
  background: #fff;
  border: 1px solid #d40000;
  padding: 14px;
  margin: 14px 0;
  border-radius: 4px;
  font-size: 14px;
}

/* CTA BUTTON */
.cta-wrap { text-align: center; margin: 28px 0; }

.cta-btn {
  display: inline-block;
  background: #d40000;
  color: #fff;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(212,0,0,0.3);
  width: 100%;
  max-width: 500px;
}

.cta-btn:hover {
  background: #b80000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212,0,0,0.4);
  text-decoration: none;
  color: #fff;
}

/* ===== COMMENTS ===== */
.comments-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #e0e0e0;
}

.comments-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.comments-info { font-size: 13px; color: #888; margin-bottom: 20px; }

.comment {
  background: #f8f9fa;
  padding: 18px 20px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
}

.comment.highlighted { background: #fff8e1; border-color: #ffc107; }

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-header strong { color: #d40000; font-size: 14px; }
.comment-time { color: #999; font-size: 12px; }
.comment p { margin: 6px 0; font-size: 15px; line-height: 1.55; }

.comment-update {
  background: #e8f4fd;
  padding: 10px 14px;
  margin-top: 10px;
  border-radius: 4px;
  border-left: 3px solid #1976d2;
  font-size: 14px;
}

.comment-likes { display: inline-block; margin-top: 8px; color: #888; font-size: 13px; }

/* ===== FOOTER ===== */
.index-footer-bar {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 40px 15px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
}

.footer-subscribe {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer-subscribe b { font-size: 15px; }

.footer-sub-btn {
  background: #d40000;
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.footer-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col { min-width: 140px; }
.footer-col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; color: #1a1a1a; }
.footer-col a { display: block; font-size: 13px; color: #666; padding: 3px 0; text-decoration: none; }
.footer-col a:hover { color: #d40000; }

.footer-bottom {
  background: #1a1a1a;
  color: #888;
  text-align: center;
  padding: 14px;
  font-size: 12px;
}

.cta-sub {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-align: center;
  margin: 8px 0 22px;
}
.cta-sub b { color: #1a1a1a; }

/* ===== FIXED BOTTOM BAR ===== */
.fixed-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #d40000;
  display: none;
  left: 0;
  z-index: 50;
  padding: 10px 15px;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.fixed-bottom .fixed-text { font-size: 14px; font-weight: 700; margin-bottom: 8px; }

.fixed-bottom .fixed-btn {
  display: inline-block;
  background: #d40000;
  color: #fff;
  padding: 10px 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
}

/* ===== MOBILE / FIGURE / CTA-MID ===== */
figure.ph { margin: 0 0 4px; }
figure.ph img { margin-bottom: 0; }
figure.ph figcaption {
  font-size: 13px; line-height: 1.45; color: #666;
  padding: 7px 2px 0; border-bottom: 1px solid #eee; margin-bottom: 18px;
}
.cta-mid { background:#fff; border:2px solid #d40000; border-radius:6px; padding:18px; margin:28px 0; text-align:center; }
.cta-mid .cta-kicker { font-size:15px; font-weight:700; margin-bottom:10px; }
.cta-mid .cta-sub { font-size:13px; color:#555; margin-top:9px; }

@media (max-width: 900px) {
  .main-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .article-title { font-size: 24px; }
  .index-nav { display: none; }
  .index-header-right { display: none; }
  .index-subnav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer-columns { gap: 20px; }
  .footer-col { min-width: 45%; }
  .footer-top { flex-direction: column; gap: 12px; }
}
