/* Modern Article Page Styles */

:root {
  --primary-color: #dc2626;
  --text-dark: #1a1a2e;
  --text-gray: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

.article-page {
  background: #fff;
  min-height: 100vh;
}

.container-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.article-hero {
  padding: 40px 0 30px;
  background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.breadcrumb a:hover {
  color: var(--primary-color);
}

.cat-badge-hero {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.breaking-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: #fff;
  margin-left: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.article-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 20px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.article-summary {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0 0 24px;
  font-weight: 500;
}

.article-meta-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-author img,
.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-placeholder {
  background: linear-gradient(135deg, var(--primary-color), #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.meta-author > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.verified-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-light);
}

/* Featured Image */
.featured-image-container {
  padding: 0 0 20px 0;
}

.featured-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Content Layout */
.article-content-wrapper {
  padding: 20px 0 40px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 60px 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Share Sidebar */
.share-sidebar {
  position: relative;
}

.share-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.facebook {
  background: #1877f2;
}

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

.share-btn.linkedin {
  background: #0a66c2;
}

.share-btn.copy {
  background: #64748b;
  border: none;
  cursor: pointer;
}

/* Article Body */
.article-body {
  max-width: 100%;
}

.content-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
}

.content-text p {
  margin: 0 0 24px;
}

.content-text p:first-letter {
  font-size: 64px;
  font-weight: 900;
  float: left;
  line-height: 1;
  margin: 0 12px 0 0;
  color: var(--primary-color);
}

/* Author Card */
.author-card-modern {
  margin: 50px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Premium Share Section */
.share-section-premium {
  margin: 34px 0;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

@media (max-width: 1100px) {
  body,
  .article-page,
  .news-article-page {
    padding-bottom: 0 !important;
  }

  .mobile-share-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .news-article-page .news-mobile-share-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
}

.share-heading-premium {
  font-size: 18px;
  font-weight: 900;
  color: #1a1a2e;
  margin: 0 0 16px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  letter-spacing: 0;
}

.share-buttons-premium {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.share-btn-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  transition: all 0.25s ease;
  cursor: pointer;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.share-btn-premium:hover {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.share-btn-premium:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.share-icon {
  width: 54px;
  height: 54px;
  margin: 0;
  margin-right: 0;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.share-icon svg {
  width: 27px;
  height: 27px;
}

.share-content {
  display: none;
}

.share-platform {
  display: none;
}

.share-subtitle {
  display: none;
}

.share-arrow {
  display: none;
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe5d 0%, #128C7E 100%);
}

/* Facebook Button */
.facebook-btn {
  background: linear-gradient(135deg, #1877F2 0%, #0d5bd3 100%);
}

.facebook-btn:hover {
  background: linear-gradient(135deg, #0d5bd3 0%, #0a4ba8 100%);
}

/* Twitter Button */
.twitter-btn {
  background: linear-gradient(135deg, #1DA1F2 0%, #0c85d0 100%);
}

.twitter-btn:hover {
  background: linear-gradient(135deg, #0c85d0 0%, #0a6fb8 100%);
}

/* Instagram Button */
.instagram-btn {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
  background: linear-gradient(135deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a01070 100%);
}

/* Author Card */
.author-card-modern {
  margin: 50px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.author-card-header {
  padding: 20px 30px;
  background: var(--text-dark);
  color: #fff;
}

.author-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.author-card-body {
  padding: 30px;
  display: flex;
  gap: 24px;
  align-items: start;
}

.author-avatar-link img,
.author-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.author-avatar-large {
  background: linear-gradient(135deg, var(--primary-color), #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  font-weight: 900;
}

.author-info-modern {
  flex: 1;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.author-name-link {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.author-name-link:hover {
  color: var(--primary-color);
}

.verified-badge-author {
  width: 22px;
  height: 22px;
}

.author-username {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 12px;
}

.author-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0 0 16px;
}

.author-stats {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.author-stats span {
  color: var(--text-dark);
  font-size: 18px;
}

.follow-btn-modern {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.follow-btn-modern:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.follow-btn-modern.following {
  background: #e2e8f0;
  color: var(--text-gray);
}

.follow-btn-modern.following:hover {
  background: #cbd5e1;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.trending-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.2s;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item:hover {
  transform: translateX(4px);
}

.trending-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.trending-item > div {
  flex: 1;
}

.trending-cat {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.trending-item h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.trending-meta {
  font-size: 12px;
  color: var(--text-light);
}

/* Related Section */
.related-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.section-heading {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 40px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.3s;
}

.related-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.related-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.related-content {
  padding: 20px;
}

.related-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.related-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
}

/* Mobile Share Bar */
.mobile-share-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 20px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
}

.mobile-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.mobile-share-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-share-btn.whatsapp {
  background: #25d366;
}

.mobile-share-btn.facebook {
  background: #1877f2;
}

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

.mobile-share-btn.copy {
  background: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 280px;
  }
  
  .share-sidebar {
    display: none;
  }
  
  .mobile-share-bar {
    display: flex;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 28px;
  }
  
  .article-summary {
    font-size: 16px;
  }
  
  .featured-image-container {
    padding: 0 0 10px 0;
  }
  
  .article-content-wrapper {
    padding: 10px 0 30px 0;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: static;
  }
  
  .content-text {
    font-size: 16px;
  }
  
  .content-text p:first-letter {
    font-size: 48px;
  }
  
  .author-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .share-section-premium {
    margin: 28px 0;
    padding: 20px;
  }
  
  .share-heading-premium {
    font-size: 17px;
    margin-bottom: 14px;
  }
  
  .share-buttons-premium {
    gap: 18px;
  }
  
  .share-btn-premium {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 50%;
  }
  
  .share-icon {
    width: 64px;
    height: 64px;
  }
  
  .share-icon svg {
    width: 34px;
    height: 34px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-image {
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 480px) {
  .article-hero {
    padding: 20px 0 10px 0;
  }
  
  .featured-image-container {
    padding: 0;
  }
  
  .article-content-wrapper {
    padding: 10px 0 20px 0;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .article-meta-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* Article Gallery Section */
.article-gallery-section {
  margin: 64px 0;
  padding: 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 24px;
  border: 1px solid #e5e7eb;
}

.gallery-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 3px solid #dc2626;
  width: fit-content;
}

.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 12px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay::after {
  content: '🔍 View';
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.gallery-close:hover {
  color: #dc2626;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  font-size: 32px;
  font-weight: 700;
  padding: 16px 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10000;
}

.gallery-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 40px;
}

.gallery-next {
  right: 40px;
}

.gallery-counter {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 10000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-gallery-section {
    padding: 24px;
    margin: 40px 0;
    border-radius: 16px;
  }

  .gallery-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .article-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .gallery-item {
    border-radius: 12px;
  }

  .gallery-close {
    top: 10px;
    right: 20px;
    font-size: 36px;
  }

  .gallery-nav {
    font-size: 24px;
    padding: 12px 16px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-counter {
    bottom: 20px;
    font-size: 14px;
    padding: 8px 16px;
  }

  .gallery-modal-content {
    max-width: 95%;
    max-height: 80vh;
  }
}

@media (max-width: 480px) {
  .article-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .article-gallery-section {
    padding: 20px;
    margin: 32px 0;
  }

  .gallery-heading {
    font-size: 20px;
  }
}

/* Mobile article page hardening */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .article-page {
    width: 100%;
    max-width: 100%;
    padding-bottom: 76px;
    overflow-x: hidden;
  }

  .container-article {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .article-hero {
    padding: 18px 0 12px;
    background: #fff;
  }

  .breadcrumb {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .cat-badge-hero,
  .breaking-badge {
    margin-bottom: 10px;
    font-size: 11px;
    border-radius: 8px;
    padding: 6px 10px;
    letter-spacing: 0;
  }

  .breaking-badge {
    margin-left: 6px;
  }

  .article-title {
    font-size: clamp(24px, 6.4vw, 32px);
    line-height: 1.24;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-summary {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
  }

  .article-meta-hero {
    gap: 10px;
    padding-top: 12px;
    border-top-width: 1px;
  }

  .meta-author img,
  .author-avatar-placeholder {
    width: 40px;
    height: 40px;
  }

  .meta-info {
    gap: 8px 12px;
    font-size: 12px;
  }

  .featured-image-container {
    padding: 0 0 8px;
  }

  .featured-image-container .container-article {
    padding-left: 8px;
    padding-right: 8px;
  }

  .featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
    object-fit: cover;
    border-radius: 14px;
  }

  .article-content-wrapper {
    padding: 8px 0 24px;
  }

  .article-layout {
    display: block;
    width: 100%;
  }

  .article-body,
  .content-text,
  .article-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .content-text {
    font-size: 17px;
    line-height: 1.72;
    color: #30343b;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content-text p {
    margin-bottom: 18px;
  }

  .content-text p:first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    color: inherit;
  }

  .content-text img,
  .content-text iframe,
  .content-text video,
  .content-text table {
    max-width: 100% !important;
    height: auto !important;
  }

  .content-text table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .content-text iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
  }

  .share-sidebar {
    display: none !important;
  }

  .share-section-premium {
    margin: 24px 0 !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .share-buttons-premium {
    justify-content: flex-start !important;
    gap: 16px !important;
  }

  .share-btn-premium,
  .share-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex: 0 0 64px !important;
  }

  .share-icon svg {
    width: 34px !important;
    height: 34px !important;
  }

  .author-card-modern {
    margin: 28px 0;
    border-radius: 16px;
  }

  .author-card-header {
    padding: 16px 18px;
  }

  .author-card-body {
    padding: 20px 16px;
    gap: 14px;
    align-items: center;
  }

  .author-avatar-link img,
  .author-avatar-large {
    width: 78px;
    height: 78px;
  }

  .author-name-row {
    justify-content: center;
  }

  .author-name-link {
    font-size: 20px;
  }

  .follow-btn-modern {
    width: 100%;
    text-align: center;
  }

  .article-sidebar {
    margin-top: 24px;
    position: static;
  }

  .sidebar-widget {
    padding: 16px;
    border-radius: 16px;
  }

  .trending-item {
    gap: 10px;
    padding: 12px 0;
  }

  .trending-item img {
    width: 78px;
    height: 72px;
  }

  .trending-item h4 {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .related-section {
    padding: 32px 0 88px;
  }

  .section-heading {
    font-size: 24px;
    margin-bottom: 22px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .related-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .related-content {
    padding: 14px;
  }

  .related-content h3 {
    font-size: 15px;
  }

  .mobile-share-bar {
    display: flex;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-share-btn {
    width: 48px;
    height: 48px;
  }

  .mobile-share-btn svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 480px) {
  .container-article {
    padding-left: 10px;
    padding-right: 10px;
  }

  .article-title {
    font-size: clamp(22px, 7vw, 28px);
  }

  .article-summary {
    font-size: 14px;
  }

  .content-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .share-section-premium {
    padding: 16px !important;
  }

  .share-buttons-premium {
    gap: 14px !important;
  }

  .share-btn-premium,
  .share-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex-basis: 58px !important;
  }

  .share-icon svg {
    width: 31px !important;
    height: 31px !important;
  }

  .article-gallery-section {
    padding: 16px;
    margin: 24px 0;
  }

  .article-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Final mobile article hardening */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .article-page {
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 76px;
  }

  .container-article {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .article-hero {
    padding: 18px 0 14px;
    background: #ffffff;
  }

  .breadcrumb {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .cat-badge-hero,
  .breaking-badge {
    margin: 0 6px 8px 0;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.1;
  }

  .breaking-badge {
    margin-left: 0;
  }

  .article-title {
    margin-bottom: 12px;
    font-size: clamp(23px, 6.2vw, 30px);
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-summary {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .article-meta-hero {
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
  }

  .meta-author img,
  .author-avatar-placeholder {
    width: 38px;
    height: 38px;
  }

  .author-name {
    font-size: 13px;
  }

  .meta-info {
    gap: 8px 12px;
    font-size: 12px;
  }

  .featured-image-container {
    padding: 0 0 12px;
  }

  .featured-image-container .container-article {
    padding-left: 10px;
    padding-right: 10px;
  }

  .featured-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  }

  .article-content-wrapper {
    padding: 8px 0 24px;
  }

  .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
  }

  .article-body,
  .content-text {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .content-text {
    color: #374151;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .content-text p {
    margin-bottom: 16px;
  }

  .content-text p:first-letter {
    float: none;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }

  .content-text img,
  .content-text iframe,
  .content-text video,
  .content-text table {
    max-width: 100%;
    height: auto;
  }

  .content-text table {
    display: block;
    overflow-x: auto;
  }

  .share-sidebar {
    display: none !important;
  }

  .share-section-premium {
    margin: 24px 0 !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .share-heading-premium {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .share-buttons-premium {
    justify-content: flex-start;
    gap: 16px !important;
  }

  .share-btn-premium,
  .share-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex-basis: 64px !important;
  }

  .share-icon svg {
    width: 34px !important;
    height: 34px !important;
  }

  .author-card-modern {
    margin: 28px 0;
    border-radius: 16px;
  }

  .author-card-header {
    padding: 16px 18px;
  }

  .author-card-body {
    padding: 20px 16px;
    gap: 14px;
  }

  .author-avatar-link img,
  .author-avatar-large {
    width: 76px;
    height: 76px;
  }

  .author-name-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .author-name-link {
    font-size: 20px;
  }

  .follow-btn-modern {
    width: 100%;
    padding: 12px 18px;
    text-align: center;
  }

  .article-sidebar {
    position: static;
    width: 100%;
  }

  .sidebar-widget {
    padding: 16px;
    border-radius: 16px;
  }

  .trending-item {
    gap: 10px;
    padding: 12px 0;
  }

  .trending-item img {
    width: 86px;
    height: 72px;
  }

  .trending-item h4 {
    font-size: 14px;
    line-height: 1.35;
  }

  .related-section {
    padding: 34px 0 86px;
  }

  .section-heading {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .related-content {
    padding: 16px;
  }

  .related-content h3 {
    font-size: 16px;
  }

  .related-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mobile-share-bar {
    display: flex;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-share-btn {
    width: 48px;
    height: 48px;
  }

  .mobile-share-btn svg {
    width: 21px;
    height: 21px;
  }

  .article-gallery-section {
    margin: 28px 0;
    padding: 16px;
    border-radius: 16px;
  }

  .gallery-heading {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .article-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .container-article {
    padding-left: 10px;
    padding-right: 10px;
  }

  .article-title {
    font-size: clamp(22px, 7vw, 27px);
  }

  .featured-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .content-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .share-section-premium {
    padding: 16px !important;
  }

  .share-buttons-premium {
    gap: 14px !important;
  }

  .share-btn-premium,
  .share-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex-basis: 58px !important;
  }

  .share-icon svg {
    width: 31px !important;
    height: 31px !important;
  }

  .trending-item img {
    width: 78px;
    height: 66px;
  }

  .article-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Screenshot-style premium news article UI */
.legacy-article-page {
  display: none !important;
}

.news-article-page {
  background: #ffffff;
  color: #111827;
  font-family: 'Noto Sans Devanagari', 'Inter', Arial, sans-serif;
}

.news-article-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 52px;
}

.news-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 330px;
  gap: 34px;
  align-items: start;
}

.news-article-main {
  min-width: 0;
}

.news-category-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.news-cat-pill,
.news-breaking-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.news-breaking-pill {
  background: #111827;
}

.news-article-title {
  margin: 0;
  color: #111827;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.news-article-summary {
  max-width: 720px;
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.news-meta-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.news-meta-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.news-meta-list span {
  position: relative;
}

.news-meta-list span:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
}

.news-inline-share {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.news-inline-share > span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.news-share-icon {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.news-share-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.news-share-icon svg {
  width: 15px;
  height: 15px;
}

.news-share-whatsapp {
  background: #25d366;
}

.news-share-facebook {
  background: #1877f2;
}

.news-share-x {
  background: #111111;
}

.news-share-copy {
  background: #64748b;
}

.news-mobile-share-section {
  display: none;
}

.news-hero-figure {
  margin: 20px 0 0;
}

.news-hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.news-hero-figure figcaption {
  margin-top: 7px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}

.news-highlights-card {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #fee2e2;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  background: #fff7f7;
}

.news-highlights-card h2,
.news-section-heading h2,
.news-sidebar-title h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.news-highlights-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.news-highlights-card li {
  margin: 7px 0;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.news-quote-box {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff1f2;
}

.news-quote-box span {
  border-radius: 999px;
  background: #dc2626;
}

.news-quote-box p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.news-content-card {
  margin-top: 20px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.news-content-card p {
  margin: 0 0 18px;
}

.news-content-card h1,
.news-content-card h2,
.news-content-card h3 {
  margin: 28px 0 12px;
  color: #111827;
  font-weight: 900;
  line-height: 1.3;
}

.news-content-card h1 {
  font-size: clamp(26px, 3vw, 38px);
}

.news-content-card img,
.news-content-card iframe,
.news-content-card video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-content-card figure,
.news-content-card figure.wp-image-block {
  margin: 24px 0;
  width: 100%;
}

.news-content-card figure img,
.news-content-card figure.wp-image-block img,
.news-content-card > img,
.news-content-card p > img,
.content-text figure img,
.content-text p > img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: none;
}

.news-content-card figcaption,
.content-text figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.news-content-card table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.news-section-heading,
.news-sidebar-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.news-section-heading span,
.news-sidebar-title span {
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: #dc2626;
}

.news-gallery-card,
.news-related-block,
.news-author-card {
  margin-top: 30px;
}

.news-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.news-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.news-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.news-author-avatar {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #dc2626, #f97316);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
}

.news-author-avatar img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-author-card p {
  margin: 0 0 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.news-author-card h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.news-author-card span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.news-related-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.news-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.news-related-card img {
  width: 120px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.news-related-card b {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.news-related-card span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.news-article-sidebar {
  position: sticky;
  top: 130px;
  min-width: 0;
}

.news-sidebar-card {
  padding: 16px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.news-sidebar-card + .news-sidebar-card {
  margin-top: 18px;
}

.news-side-item,
.news-popular-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf2f7;
  color: inherit;
  text-decoration: none;
}

.news-side-item:first-of-type,
.news-popular-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.news-side-item img,
.news-popular-item img {
  width: 86px;
  height: 62px;
  object-fit: cover;
  border-radius: 7px;
  background: #f1f5f9;
}

.news-side-item b,
.news-popular-item b {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.38;
}

.news-side-item small,
.news-popular-item small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.news-popular-item {
  grid-template-columns: 24px 76px minmax(0, 1fr);
  align-items: center;
}

.news-popular-item em {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dc2626;
  color: #ffffff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.news-popular-item img {
  width: 76px;
  height: 58px;
}

.news-app-card {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
}

.news-app-card h3,
.news-app-card p {
  margin: 0;
  color: #ffffff;
}

.news-app-card h3 {
  font-size: 18px;
  font-weight: 900;
}

.news-app-card p {
  margin-top: 6px;
  opacity: .88;
  font-size: 13px;
  font-weight: 700;
}

.news-app-card a {
  display: inline-flex;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 7px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .news-article-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }
}

@media (max-width: 920px) {
  .news-article-grid {
    grid-template-columns: 1fr;
  }

  .news-article-sidebar {
    position: static;
  }

  .news-sidebar-card {
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .news-article-wrap {
    width: 100%;
    padding: 14px 12px 86px;
  }

  .news-article-title {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.22;
  }

  .news-article-summary {
    font-size: 15px;
    line-height: 1.5;
  }

  .news-meta-share-row {
    display: block;
    padding-bottom: 14px;
  }

  .news-meta-list {
    gap: 8px 12px;
    font-size: 11px;
  }

  .news-inline-share {
    margin-top: 12px;
  }

  .news-inline-share > span {
    display: none;
  }

  .news-share-icon {
    width: 38px;
    height: 38px;
  }

  .news-share-icon svg {
    width: 20px;
    height: 20px;
  }

  .news-hero-figure {
    margin-top: 16px;
  }

  .news-hero-figure img {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .news-highlights-card,
  .news-quote-box {
    margin-top: 14px;
    padding: 14px;
  }

  .news-highlights-card h2,
  .news-section-heading h2,
  .news-sidebar-title h3 {
    font-size: 17px;
  }

  .news-highlights-card li,
  .news-quote-box p {
    font-size: 14px;
  }

  .news-content-card {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.78;
  }

  .news-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-related-grid {
    grid-template-columns: 1fr;
  }

  .news-related-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .news-related-card img {
    width: 112px;
    height: 78px;
  }

  .news-author-card {
    align-items: flex-start;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .news-article-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .news-cat-pill,
  .news-breaking-pill {
    min-height: 22px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .news-article-title {
    font-size: clamp(23px, 7vw, 28px);
  }

  .news-meta-list span:not(:last-child)::after {
    display: none;
  }

  .news-meta-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-content-card {
    font-size: 16px;
    line-height: 1.72;
  }

  .news-gallery-grid {
    gap: 8px;
  }

  .news-side-item,
  .news-popular-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .news-popular-item {
    grid-template-columns: 22px 70px minmax(0, 1fr);
  }

  .news-side-item img {
    width: 78px;
    height: 58px;
  }

  .news-popular-item img {
    width: 70px;
    height: 54px;
  }
}

/* Article UI spacing polish */
.news-article-wrap {
  width: min(1320px, calc(100% - 44px));
}

.news-article-grid {
  grid-template-columns: minmax(0, 920px) 320px;
  gap: 28px;
  justify-content: center;
}

.news-article-sidebar {
  width: 100%;
}

.news-sidebar-card {
  padding: 14px;
}

.news-side-item {
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
}

.news-side-item img {
  width: 98px;
  height: 70px;
}

.news-side-item b {
  font-size: 14px;
  line-height: 1.32;
}

.news-popular-item {
  grid-template-columns: 24px 78px minmax(0, 1fr);
  gap: 9px;
}

.news-popular-item img {
  width: 78px;
  height: 58px;
}

.news-highlights-card,
.news-quote-box {
  display: none !important;
}

.news-related-block {
  width: calc(100% + 348px);
}

.news-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-related-card {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
}

.news-related-card img {
  width: 118px;
  height: 84px;
}

.news-author-card {
  max-width: 100%;
  min-height: 116px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
}

.news-author-info {
  min-width: 0;
  flex: 1;
}

.news-author-card .news-author-avatar span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.news-author-avatar.show-initial img {
  display: none;
}

.news-author-card .news-author-info span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.news-author-link {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #ffffff;
  color: #dc2626;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .news-article-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
  }

  .news-related-block {
    width: calc(100% + 322px);
  }
}

@media (max-width: 920px) {
  .news-article-wrap {
    width: min(760px, calc(100% - 24px));
  }

  .news-related-block {
    width: 100%;
  }

  .news-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-article-wrap {
    width: 100%;
  }

  .news-author-card {
    min-height: 0;
    padding: 14px;
    gap: 12px;
  }

  .news-author-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .news-side-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .news-side-item img {
    width: 82px;
    height: 60px;
  }
}

/* Final mobile article layout override */
.news-article-page {
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .news-article-page .news-article-wrap {
    width: min(100%, calc(100% - 24px)) !important;
    max-width: 760px !important;
    margin: 0 auto !important;
  }

  .news-article-page .news-article-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    justify-content: stretch !important;
  }

  .news-article-page .news-article-main,
  .news-article-page .news-article-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .news-article-page .news-article-sidebar {
    position: static !important;
  }

  .news-article-page .news-sidebar-card {
    width: 100% !important;
  }

  .news-article-page .news-related-block {
    width: 100% !important;
  }
}

@media (max-width: 1100px) {
  .news-article-page .news-article-wrap {
    width: 100% !important;
    max-width: none !important;
    padding: 12px 14px 84px !important;
  }

  .news-article-page .news-article-title {
    font-size: clamp(24px, 7.4vw, 31px) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }

  .news-article-page .news-category-row,
  .news-article-page .news-article-summary,
  .news-article-page .news-meta-share-row,
  .news-article-page .news-inline-share {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .news-article-page .news-mobile-share-section {
    display: block !important;
    margin: 26px 0 18px !important;
    padding: 16px !important;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  }

  .news-article-page figcaption,
  .news-article-page .news-hero-figure figcaption,
  .news-article-page .news-content-card figcaption {
    display: none !important;
  }

  .news-article-page .news-mobile-share-section h3 {
    margin: 0 0 14px !important;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
  }

  .news-article-page .news-mobile-share-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .news-article-page .news-share-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .news-article-page .news-hero-figure img,
  .news-article-page .news-content-card img,
  .news-article-page .news-content-card figure img,
  .news-article-page .news-gallery-grid img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .news-article-page .news-sidebar-card {
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .news-article-page .news-side-item {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .news-article-page .news-side-item img {
    width: 96px !important;
    height: 68px !important;
  }

  .news-article-page .news-popular-item {
    grid-template-columns: 24px 82px minmax(0, 1fr) !important;
  }
}

@media (max-width: 430px) {
  .news-article-page .news-article-wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .news-article-page .news-article-title {
    font-size: clamp(26px, 10vw, 34px) !important;
  }

  .news-article-page .news-side-item {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .news-article-page .news-side-item img {
    width: 84px !important;
    height: 62px !important;
  }

  .news-article-page .news-popular-item {
    grid-template-columns: 22px 76px minmax(0, 1fr) !important;
  }
}

/* Disable old fixed article share strip so hidden website navbar leaves no footer gap. */
@media (max-width: 1100px) {
  body,
  .article-page,
  .news-article-page {
    padding-bottom: 0 !important;
  }

  .mobile-share-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .news-article-page .news-mobile-share-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
}
