.page-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid #007cba;
  padding-bottom: 20px;
}
.page-title {
  color: var(--main-font-color);
  margin: 0;
  font-size: 2.5em;
}
.page-subtitle {
  color: var(--v2-light-color);
  margin: 10px 0 0 0;
  font-size: 1.2em;
}
.market-ticker {
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  color: #007cba;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 2em;
  }
}

/* ── Module styles (from _module_liveblog.ascx) ── */
.liveblog-wrapper {
  max-width: 100%;
  margin: 0 auto;
  font-family: Inter, Arial, sans-serif;
}
.loading-indicator {
  text-align: center;
  padding: 40px;
  color: var(--v2-light-color);
  font-size: 16px;
}
.date-title {
  color: var(--v2-light-color);
  padding: 0 0 5px 30px;
}
.section-title {
  color: var(--v2-main-text-color);
  font-size: 24px;
  font-weight: 700;
  border-bottom: 3px solid var(--color-live-blue);
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.featured-post-section {
  margin-bottom: 40px;
  padding: 0;
  border: none;
}
.featured-post-section .section-title {
  color: var(--color-breaking);
  border-bottom-color: var(--color-breaking);
}
.live-updates-section {
  margin-bottom: 20px;
  border-top: 2px solid #f0f0f0;
  padding-top: 20px;
  position: relative;
}
.live-updates-section .section-title {
  font-size: 20px;
  color: var(--color-live-blue);
}
.update-notification {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--color-breaking), #ff6b6b);
  color: #fff;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  z-index: 100;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.update-notification.show {
  transform: translateY(0);
  opacity: 1;
}
.update-notification:hover {
  background: linear-gradient(135deg, var(--color-breaking-hover), #ff5252);
  transform: translateY(0) scale(1.02);
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}
.update-notification .notification-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 16px;
  animation: pulse-icon 1.5s infinite;
}
@keyframes pulse-icon {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.post-item {
  border-bottom: 1px solid var(--v2-row-border-color);
  padding: 20px 0 20px 25px;
  transition: all 0.3s ease;
  position: relative;
  scroll-margin-top: 100px;
}
.post-item.new-post {
  background-color: #fff8dc;
  padding: 25px 15px;
  margin: 0 -15px;
  border-left: 4px solid #ffa500;
  animation: slideInNew 0.5s ease-in;
}
.dark .post-item.new-post {
  background-color: #0b0b09;
}
.post-item.highlight-new {
  background: linear-gradient(90deg, rgba(255, 235, 59, 0.3), rgba(255, 235, 59, 0.1));
  border-left: 4px solid var(--color-warning);
  animation: highlightPulse 2s ease-in-out;
}
@keyframes highlightPulse {
  0%,
  100% {
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.3), rgba(255, 235, 59, 0.1));
  }
  50% {
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.5), rgba(255, 235, 59, 0.2));
  }
}
.post-item:last-child {
  border-bottom: none;
}
.post-item:hover {
  background-color: #fafafa;
}
.dark .post-item:hover {
  background-color: rgba(16, 16, 26, 0.6);
}
.post-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.featured-post .post-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--v2-main-text-color);
}
.post-title a {
  color: var(--v2-main-text-color);
  text-decoration: none;
}
.post-title a:hover {
  color: var(--link-color);
}
.post-content {
  color: var(--main-font-color);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 15px;
}
.post-content li {
  margin-bottom: 12px;
  line-height: 1.5;
  padding-left: 4px;
}
.post-content ul {
  padding-left: 25px;
}
.post-content h2 {
  font-size: 20px !important;
}
.featured-post .post-content,
.featured-post-content .post-content {
  font-size: 17px;
  line-height: 1.7;
}
.post-content.truncated.collapsed {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}
.post-content.truncated.collapsed:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, #fff);
}
.dark .post-content.truncated.collapsed:after {
  background: linear-gradient(transparent, var(--secondary-site-bg));
}

.expand-toggle {
  background: none;
  border: none;
  color: var(--color-live-blue);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.expand-toggle:hover {
  color: #106ebe;
  text-decoration: underline;
}
.read-more-link {
  display: inline-block;
  color: var(--color-live-blue);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid var(--color-live-blue);
  border-radius: 4px;
  margin-top: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.read-more-link:hover {
  background: var(--color-live-blue);
  color: #fff;
}
.post-meta {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}
.post-meta .time-ago {
  font-weight: 600;
  color: var(--color-breaking);
}
.post-image {
  float: left;
  margin: 0 20px 15px 0;
  max-width: 200px;
}
.post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  border-left: 4px solid var(--color-danger);
  font-weight: 600;
}
.status-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  border: 1px solid #ddd;
  font-weight: 600;
  z-index: 1000;
}
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  margin-right: 8px;
  animation: pulse 2s infinite;
}
.status-dot.checking {
  background: var(--color-warning);
}
.status-dot.error {
  background: var(--color-danger);
}
.update-badge {
  background: var(--color-breaking);
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 10px;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes slideInNew {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}
@media (max-width: 768px) {
  .featured-post .post-title {
    font-size: 24px;
  }
  .post-title {
    font-size: 18px;
  }
  .post-image {
    float: none;
    display: block;
    margin: 0 0 15px 0;
    max-width: 100%;
  }
  .status-indicator {
    bottom: 10px;
    right: 10px;
    font-size: 11px;
  }
  .date-title {
    font-size: 20px;
  }
  .update-notification {
    margin: 0 -15px 15px -15px;
    border-radius: 0;
  }
}
#ez-toc-container {
  display: none;
}
