/**
 * Newsup Theme - Main Entry Point
 * 
 * This file imports all partials in the correct order.
 * DO NOT write styles directly here - use the partial files instead.
 */
/**
 * Newsup Theme - Variables
 * Identity: Professional newspaper. Poppins, Bootstrap grid, blue/yellow, rounded 10px cards.
 */
:root {
  --primary-color: var(--theme-primary, #0056b3);
  --secondary-color: var(--theme-secondary, #17a2b8);
  --accent-color: var(--theme-accent, #ffc107);
  --text-color: var(--theme-text, #333);
  --text-muted: #6c757d;
  --heading-color: var(--theme-heading, #212529);
  --link-color: var(--theme-link, #0056b3);
  --background-color: #f8f9fa;
  --content-bg: var(--theme-card-bg, #fff);
  --border-color: var(--theme-card-border, #e9ecef);
  --dark-bg: var(--theme-footer-bg, #212529);
  --footer-text: var(--theme-footer-text, #666);
  --footer-heading: var(--theme-footer-heading, #222);
  --ticker-bg: var(--theme-ticker-bg, #1a1a2e);
  --ticker-label-bg: var(--theme-ticker-label-bg, #ffc107);
  --ticker-label-text: var(--theme-ticker-label-text, #1a1a2e);
  --ticker-text: var(--theme-ticker-text, #fff);
  --tags-bg: var(--theme-tags-bg, #4a90a4);
  --font-family: 'Poppins', sans-serif;
  --font-size-sm: 13px;
  --font-size-base: 16px;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 15px;
  --space-lg: 25px;
  --space-xl: 40px;
  --radius: 10px;
  --radius-sm: 5px;
  --radius-lg: 15px;
  --radius-full: 50%;
  --shadow-card: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/**
 * Newsup Theme - Reset & Base
 */
body {
  font-family: var(--font-family);
  background: var(--background-color);
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--heading-color);
}

/**
 * Newsup Theme - Layout
 */
.container {
  max-width: var(--container-max-width, 1400px);
  margin: 0 auto;
  padding: 0 15px;
}

.site-main {
  padding: 30px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 20px;
  padding: 10px 0;
}
.breadcrumb a {
  color: var(--text-color);
  opacity: 0.7;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--primary-color);
  opacity: 1;
}
.breadcrumb .sep {
  opacity: 0.4;
}
.breadcrumb .current {
  opacity: 0.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

/**
 * Newsup Theme - Header
 * Dark top bar, professional branding, blue nav
 */
/* Top Bar */
.top-bar {
  background: var(--dark-bg);
  padding: 8px 0;
  font-size: var(--font-size-sm);
}

.top-bar-left {
  color: #adb5bd;
}

.date-display i {
  color: var(--accent-color);
  margin-right: 8px;
}

.top-bar-right {
  text-align: right;
}

.top-bar .social-icons a {
  color: #adb5bd;
  margin-left: 15px;
  font-size: 14px;
  transition: color var(--transition);
}

.top-bar .social-icons a:hover {
  color: var(--accent-color);
}

/* Main Header */
.main-header {
  background: var(--content-bg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  max-height: 60px;
}

.site-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.header-centered .header-inner {
  flex-direction: column;
  text-align: center;
}

.header-centered .site-branding {
  margin-bottom: var(--space-md);
}

/* Navigation */
.main-navigation {
  background: var(--nav-bg, var(--primary-color));
  padding: 0;
}

.main-navigation .navbar-nav .nav-link {
  color: var(--nav-text, #fff);
  font-weight: 600;
  padding: 14px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
}

.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link.active {
  background: rgba(0, 0, 0, 0.15);
  color: var(--nav-hover, var(--accent-color));
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-search {
  margin-left: auto;
}

.search-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 14px 15px;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--transition);
}

.search-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

/**
 * Newsup Theme - News Ticker & Popular Tags
 */
.news-ticker {
  background: var(--ticker-bg, #1a1a2e);
  padding: 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: stretch;
  min-height: 45px;
}

.ticker-label {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--ticker-label-bg, #ffc107);
  color: var(--ticker-label-text, #1a1a2e);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  padding-right: 35px;
}

.ticker-label i {
  margin-right: 8px;
  font-size: 14px;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.ticker-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, var(--ticker-bg, #1a1a2e), transparent);
  z-index: 2;
}

.ticker-content::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to left, var(--ticker-bg, #1a1a2e), transparent);
  z-index: 2;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-speed-slow .ticker-track,
.ticker-track.ticker-speed-slow {
  animation-duration: 45s;
}

.ticker-speed-normal .ticker-track,
.ticker-track.ticker-speed-normal {
  animation-duration: 30s;
}

.ticker-speed-fast .ticker-track,
.ticker-track.ticker-speed-fast {
  animation-duration: 18s;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ticker-text, #ffffff);
  font-size: 14px;
  transition: color 0.2s;
}

.ticker-item:hover {
  color: var(--ticker-label-bg, #ffc107);
}

.ticker-thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.ticker-text {
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.ticker-inner:hover .ticker-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .ticker-label {
    padding: 8px 15px;
    padding-right: 25px;
    font-size: 11px;
  }
  .ticker-item {
    font-size: 13px;
  }
  .ticker-thumb {
    display: none;
  }
  .ticker-text {
    max-width: 200px;
  }
}
/* Popular Tags Bar */
.popular-tags-bar {
  background: var(--tags-bg, #4a90a4);
  padding: 12px 0;
}

.tags-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tags-label {
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.tags-label i {
  color: #ff5722;
  margin-right: 8px;
  font-size: 14px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-list a {
  display: inline-block;
  padding: 5px 16px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s;
}

.tags-list a:hover {
  background: var(--primary-color, #0056b3);
  color: #fff;
}

/**
 * Newsup Theme - Search Modal
 */
#searchModal .modal-content {
  border: none;
  border-radius: 10px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form .form-control {
  border-radius: 25px;
  padding: 12px 20px;
}

.search-form .btn {
  border-radius: 25px;
  padding: 12px 25px;
}

/**
 * Newsup Theme - Featured & News Cards
 * Rounded 10px cards, translateY(-5px) lift + shadow grow, left-border accent section titles
 */
.featured-main,
.featured-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-main .featured-image {
  display: block;
  padding-bottom: 60%;
  position: relative;
}

.featured-side .featured-image {
  display: block;
  padding-bottom: 80%;
  position: relative;
}

.featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-main:hover .featured-image img,
.featured-side:hover .featured-image img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.9));
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 1;
}

.featured-main .featured-title {
  font-size: 28px;
  margin: var(--space-sm) 0;
  letter-spacing: -0.01em;
}

.featured-side .featured-title {
  font-size: 16px;
  margin: 8px 0 0 0;
  line-height: 1.35;
}

.featured-title a {
  color: #fff;
  transition: color var(--transition);
}

.featured-title a:hover {
  color: var(--accent-color);
}

.featured-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

/* Category Badge */
.category-badge {
  display: inline-block;
}

.category-badge a {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: var(--space-xs) var(--space-md);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.category-badge a:hover {
  background: var(--secondary-color);
  color: #fff;
}

.category-badge.small a {
  padding: 3px 10px;
  font-size: 9px;
}

/* Section Header - Left-border accent */
.section-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 3px solid var(--primary-color);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

.section-title i {
  color: var(--primary-color);
  margin-right: var(--space-sm);
}

/* News Cards - Signature rounded 10px, 5px lift */
.news-card {
  background: var(--content-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.news-card .card-image {
  display: block;
  overflow: hidden;
}

.news-card .card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-title {
  font-size: 16px;
  font-weight: 600;
  margin: var(--space-sm) 0;
  line-height: 1.4;
}

.news-card .card-title a {
  color: var(--heading-color);
  transition: color var(--transition);
}

.news-card .card-title a:hover {
  color: var(--primary-color);
}

.news-card .card-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.news-card .card-meta,
.news-card .card-date {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/**
 * Newsup Theme - Sidebar
 * White rounded panel with blue accents
 */
.sidebar {
  background: var(--content-bg);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
  color: var(--heading-color);
}

/* Categories Widget */
.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  border-bottom: 1px solid var(--border-color);
}

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

.category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  color: var(--text-color);
  font-size: 14px;
  transition: color var(--transition);
}

.category-list li a:hover {
  color: var(--primary-color);
}

/* Recent Posts Widget */
.recent-post {
  display: flex;
  gap: var(--space-md);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
  border-bottom: none;
}

.recent-post .post-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post .post-info {
  flex: 1;
}

.recent-post .post-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.recent-post .post-title a {
  color: var(--heading-color);
  transition: color var(--transition);
}

.recent-post .post-title a:hover {
  color: var(--primary-color);
}

.recent-post .post-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Social Follow Widget */
.social-follow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.social-item {
  display: flex;
  align-items: center;
  padding: 12px var(--space-md);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: opacity var(--transition);
}

.social-item i {
  margin-right: var(--space-sm);
  font-size: 16px;
}

.social-item.facebook {
  background: #3b5998;
}

.social-item.twitter {
  background: #1da1f2;
}

.social-item.telegram {
  background: #0088cc;
}

.social-item.youtube {
  background: #ff0000;
}

.social-item:hover {
  opacity: 0.9;
  color: #fff;
}

/**
 * Newsup Theme - Pagination
 */
.pagination-wrapper {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.pagination .page-link {
  color: var(--text-color);
  border-radius: 5px;
  margin: 0 3px;
  padding: 10px 15px;
}

.pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination .page-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/**
 * Newsup Theme - Single Post
 * Professional article layout with rounded elements
 */
.single-post .post-header {
  margin-bottom: var(--space-lg);
}

.single-post .post-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin: var(--space-md) 0;
  letter-spacing: -0.02em;
}

.single-post .post-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.single-post .post-meta span {
  margin-right: 20px;
}

.single-post .post-meta i {
  margin-right: var(--space-xs);
  color: var(--primary-color);
}

.single-post .post-thumbnail {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.share-label {
  font-weight: 700;
  margin-right: var(--space-sm);
  font-size: var(--font-size-sm);
}

.share-buttons .btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-facebook {
  background: #3b5998;
}

.btn-twitter {
  background: #1da1f2;
}

.btn-telegram {
  background: #0088cc;
}

.btn-copy {
  background: #6c757d;
}

.share-buttons .btn:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
}

/* Post Content */
.post-content {
  font-size: 17px;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1.3em;
}

.post-content h2, .post-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.post-content h2 {
  font-size: 24px;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-color);
}

.post-content img {
  border-radius: var(--radius-sm);
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: var(--space-md) var(--space-lg);
  margin: 1.5em 0;
  background: #f8f9fa;
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Post Tags */
.post-tags {
  margin-top: var(--space-lg);
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.tags-label {
  font-weight: 700;
  margin-right: var(--space-sm);
}

.tag-item {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: #f1f1f1;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  margin: 3px;
  border-radius: 20px;
  transition: all var(--transition);
}

.tag-item:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Post Source */
.post-source {
  margin-top: 20px;
  padding: var(--space-md);
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 3px solid var(--primary-color);
}

/* Post Navigation (Prev/Next) */
.post-navigation {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.post-navigation .nav-link-prev,
.post-navigation .nav-link-next {
  display: block;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.post-navigation .nav-link-prev:hover,
.post-navigation .nav-link-next:hover {
  background: #f8f9fa;
}

.post-navigation .nav-post-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color, #212529);
  line-height: 1.35;
  margin-top: 4px;
}

/* Featured Slider */
.featured-slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.featured-slider .slide {
  display: none;
  position: relative;
}

.featured-slider .slide.active {
  display: block;
}

.featured-slider .slide .featured-image {
  display: block;
  padding-bottom: 50%;
  position: relative;
}

.featured-slider .slide .featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-slider .slide .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.featured-slider .slide .featured-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.featured-slider .slide .featured-title a {
  color: #fff;
}

.featured-slider .slider-prev,
.featured-slider .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  border-radius: 4px;
}

.featured-slider .slider-prev:hover,
.featured-slider .slider-next:hover {
  background: var(--primary-color);
}

.featured-slider .slider-prev {
  left: 10px;
}

.featured-slider .slider-next {
  right: 10px;
}

/* Featured Grid variant */
.featured-grid .featured-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.featured-grid .featured-card .featured-image {
  display: block;
  padding-bottom: 70%;
  position: relative;
}

.featured-grid .featured-card .featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-grid .featured-card .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.featured-grid .featured-title {
  font-size: 15px;
}

.featured-grid .featured-title a {
  color: #fff;
}

/* Error Page (404) */
.error-page {
  text-align: center;
  padding: 60px 20px;
  background: var(--content-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.error-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--content-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.error-actions .btn-secondary:hover {
  background: var(--border-color);
}

/**
 * Newsup Theme - Archive Pages
 */
.archive-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 30px;
  border-radius: 10px;
  color: #fff;
}

.archive-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.archive-title {
  font-size: 28px;
  margin: 5px 0 0 0;
  color: #fff;
}

.archive-description {
  margin-top: 10px;
  opacity: 0.9;
}

.no-posts {
  padding: 50px;
  text-align: center;
  background: var(--content-bg);
  border-radius: 10px;
}

/**
 * Newsup Theme - You Missed & Related Sections
 */
.related-posts,
.you-missed-section {
  padding: 30px 0;
}

.related-posts .section-header,
.you-missed-section .section-header {
  margin-bottom: 25px;
  border-bottom: none;
}

.related-posts .section-title,
.you-missed-section .section-title {
  padding-left: 15px;
  border-left: 4px solid var(--theme-accent, var(--accent-color));
}

.related-posts .section-title span,
.you-missed-section .section-title span {
  padding-right: 15px;
}

/* Related Posts (post page) */
.related-posts .news-card {
  background: var(--content-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.related-posts .card-image {
  display: block;
  height: 180px;
  overflow: hidden;
}

.related-posts .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-posts .news-card:hover .card-image img {
  transform: scale(1.05);
}

.related-posts .card-body {
  padding: 15px;
}

.related-posts .card-title {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}

.related-posts .card-title a {
  color: var(--heading-color);
}

.related-posts .card-title a:hover {
  color: var(--theme-primary, var(--primary-color));
}

/* You Missed Section - light variant (used in footer with inline bg) */
.you-missed-section {
  border-top: 3px solid var(--theme-accent, var(--accent-color));
  margin-top: 40px;
}

/* Missed Card - small cards in post page */
.missed-card {
  text-align: center;
  background: var(--content-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding-bottom: 15px;
}

.missed-card .card-image {
  display: block;
  height: 140px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}

.missed-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.missed-card:hover .card-image img {
  transform: scale(1.05);
}

.missed-card .card-title {
  font-size: 13px;
  font-weight: 600;
  padding: 0 10px;
  margin: 0;
  line-height: 1.4;
}

.missed-card .card-title a {
  color: var(--heading-color);
}

.missed-card .card-title a:hover {
  color: var(--theme-primary, var(--primary-color));
}

/* Missed Post - full cards in footer "you missed" */
.missed-post {
  background: var(--content-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.missed-post .post-thumb {
  display: block;
  height: 160px;
  overflow: hidden;
}

.missed-post .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.missed-post:hover .post-thumb img {
  transform: scale(1.05);
}

.missed-post .post-content {
  padding: 15px;
}

.missed-post .post-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.missed-post .post-category a {
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm, 3px);
  font-size: 10px;
}

.missed-post .post-title {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

.missed-post .post-title a {
  color: var(--heading-color);
}

.missed-post .post-title a:hover {
  color: var(--theme-primary, var(--primary-color));
}

/* Placeholder Image */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 30px;
}

/**
 * Newsup Theme - Footer
 */
.site-footer {
  background: var(--dark-bg);
  color: var(--footer-text);
  margin-top: 0;
}

.footer-widgets {
  padding: 50px 0;
}

.footer-widgets .widget-title {
  color: var(--footer-heading);
  border-bottom-color: var(--primary-color);
}

.about-content .footer-logo {
  max-height: 50px;
  margin-bottom: var(--space-md);
}

.about-content p {
  line-height: 1.7;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

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

.footer-menu a {
  color: var(--footer-text);
  transition: color var(--transition);
}

.footer-menu a:hover {
  color: var(--accent-color);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  padding: var(--space-xs) 12px;
  background: rgba(128, 128, 128, 0.12);
  color: var(--footer-text);
  font-size: 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.footer-tags a:hover {
  background: var(--primary-color);
  color: #fff;
}

.social-icons-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(128, 128, 128, 0.12);
  color: var(--footer-heading);
  border-radius: var(--radius-full);
  margin-right: var(--space-sm);
  transition: background var(--transition);
}

.social-icons-footer a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(128, 128, 128, 0.08);
  padding: 20px 0;
}

.copyright {
  margin: 0;
  font-size: 14px;
}

.footer-nav {
  text-align: right;
}

.footer-nav a {
  color: var(--footer-text);
  margin-left: 20px;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-color);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  z-index: 999;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--heading-color);
  color: #fff;
  transform: translateY(-2px);
}

/**
 * Newsup Theme - Color Overrides & Dark Mode
 */
.main-navigation {
  background: var(--theme-primary, var(--primary-color));
}

.popular-tags-bar {
  background: var(--theme-secondary, var(--secondary-color));
}

.category-badge,
.post-category a {
  background: var(--theme-primary, var(--primary-color));
  color: #fff;
}

.btn-primary,
.back-to-top {
  background: var(--theme-primary, var(--primary-color));
  border-color: var(--theme-primary, var(--primary-color));
}

.btn-primary:hover,
.back-to-top:hover {
  background: var(--theme-secondary, var(--secondary-color));
  border-color: var(--theme-secondary, var(--secondary-color));
}

/* Dark Mode Support */
.dark-mode {
  --background-color: #1a1a1a;
  --content-bg: #242424;
  --text-color: #e0e0e0;
  --text-muted: #999;
  --heading-color: #fff;
  --border-color: #333;
}

.dark-mode .top-bar {
  background: #0d0d0d;
}

.dark-mode .main-header {
  background: #1a1a1a;
  border-bottom-color: #333;
}

.dark-mode .site-title {
  color: #fff;
}

.dark-mode .news-card,
.dark-mode .widget,
.dark-mode .missed-post,
.dark-mode .related-posts .news-card {
  background: #242424;
}

.dark-mode .card-title a,
.dark-mode .post-title a,
.dark-mode .widget-title {
  color: #fff;
}

.dark-mode .you-missed-section {
  background: #1a1a1a;
}

.dark-mode .entry blockquote {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .tag-link {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

.dark-mode .post-source {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .post-navigation .nav-link-prev:hover,
.dark-mode .post-navigation .nav-link-next:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .placeholder-image {
  background: rgba(255, 255, 255, 0.08);
  color: #666;
}

.dark-mode .search-form-large input {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  border-color: var(--border-color);
}

/**
 * Newsup Theme - Responsive
 */
html, body {
  overflow-x: hidden;
}

@media (max-width: 991px) {
  .featured-main .featured-title {
    font-size: 22px;
  }
  .news-card .card-title {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .top-bar-right {
    display: none;
  }
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  .featured-main .featured-title {
    font-size: 18px;
  }
  .single-post .post-title {
    font-size: 24px;
  }
  .ticker-news {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .ticker-label {
    margin-right: 0;
  }
  .you-missed-section .row {
    gap: 15px;
  }
  .missed-post,
  .missed-card {
    margin-bottom: 15px;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .footer-nav {
    text-align: center;
    margin-top: 15px;
  }
  .footer-nav a {
    margin: 0 10px;
  }
  .social-follow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .single-post .post-title {
    font-size: 20px;
  }
  .section-title {
    font-size: 16px;
  }
}
.card-style-overlay .post-card {
  position: relative;
  overflow: hidden;
  border: none;
}
.card-style-overlay .post-card .post-thumbnail {
  height: 100%;
  min-height: 280px;
}
.card-style-overlay .post-card .post-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
}
.card-style-overlay .post-card .post-title a {
  color: #fff;
}
.card-style-overlay .post-card .post-meta {
  color: rgba(255, 255, 255, 0.7);
}
.card-style-overlay .post-card .post-excerpt {
  color: rgba(255, 255, 255, 0.8);
}

.card-style-horizontal .post-card {
  display: grid;
  grid-template-columns: 250px 1fr;
}
.card-style-horizontal .post-card .post-thumbnail {
  height: 100%;
  min-height: 160px;
}
@media (max-width: 640px) {
  .card-style-horizontal .post-card {
    grid-template-columns: 1fr;
  }
}

.card-style-minimal .post-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--theme-card-border, #e7e7e7);
  padding-bottom: 1rem;
}

.card-style-bordered .post-card {
  border-left: 4px solid var(--theme-primary, #d32f2f);
  border-radius: 0 4px 4px 0;
}

.heading-accent-line {
  border-left: 4px solid var(--theme-primary, #d32f2f);
  padding-left: 1rem;
  background: none !important;
}
.heading-accent-line h1 {
  color: var(--theme-heading, #333);
}

.heading-gradient-banner {
  background: linear-gradient(135deg, var(--theme-primary, #d32f2f), var(--theme-secondary, #1565c0)) !important;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  color: #fff;
}
.heading-gradient-banner h1, .heading-gradient-banner .archive-label, .heading-gradient-banner .archive-description, .heading-gradient-banner p {
  color: #fff !important;
}

.heading-underline {
  background: none !important;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--theme-primary, #d32f2f);
}
.heading-underline h1 {
  color: var(--theme-heading, #333);
}

.heading-minimal {
  background: none !important;
  padding: 1rem 0;
  border: none;
}
.heading-minimal h1 {
  color: var(--theme-heading, #333);
  font-weight: 400;
}

.section-style-border-bottom .section-title {
  border-bottom: 2px solid var(--theme-primary, #d32f2f);
  padding-bottom: 0.5rem;
}

.section-style-accent-left .section-title {
  border-left: 4px solid var(--theme-primary, #d32f2f);
  padding-left: 0.75rem;
  border-bottom: none;
}

.section-style-badge .section-title {
  background: var(--theme-primary, #d32f2f);
  color: #fff;
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 4px;
  border-bottom: none;
}

.section-style-dot .section-title {
  border-bottom: none;
}
.section-style-dot .section-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-primary, #d32f2f);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.grid-desktop-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-desktop-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-desktop-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-desktop-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-tablet-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-tablet-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-tablet-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-mobile-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-mobile-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ratio-16-9 .post-thumbnail, .ratio-16-9 .card-image {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ratio-4-3 .post-thumbnail, .ratio-4-3 .card-image {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ratio-3-2 .post-thumbnail, .ratio-3-2 .card-image {
  aspect-ratio: 3/2;
  object-fit: cover;
}

.ratio-1-1 .post-thumbnail, .ratio-1-1 .card-image {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hover-lift .post-card:hover, .hover-lift .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hover-shadow .post-card:hover, .hover-shadow .news-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hover-zoom .post-card:hover .post-thumbnail img, .hover-zoom .news-card:hover img {
  transform: scale(1.05);
}

.hover-none .post-card:hover, .hover-none .news-card:hover {
  transform: none;
  box-shadow: none;
}

.display-list {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}
.display-list .post-card, .display-list .news-card {
  display: grid;
  grid-template-columns: 250px 1fr;
}
@media (max-width: 640px) {
  .display-list .post-card, .display-list .news-card {
    grid-template-columns: 120px 1fr;
  }
}
.display-list .post-card .post-thumbnail, .display-list .post-card .card-image, .display-list .news-card .post-thumbnail, .display-list .news-card .card-image {
  height: 100%;
  min-height: 140px;
}

/*# sourceMappingURL=style.css.map */
