/* ===========================================
   Magazine Template - Newspaper Pro Style
   Exact Clone of TagDiv Newspaper Theme
   =========================================== */

/* Self-hosted Google Fonts - eliminates render-blocking external requests */
/* Montserrat - Variable font (latin) - used by SVG logos */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url(montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans - Variable font (latin-ext) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans - Variable font (latin) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Roboto - Variable font (latin-ext) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(roboto-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto - Variable font (latin) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(roboto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* CSS Variables - Exact Newspaper Pro Colors */
:root {
  /* Primary Accent Color */
  --accent-blue: #4db2ec;
  --accent-blue-hover: #3a9fd9;

  /* Trending/Highlight Color */
  --trending-yellow: #f9b233;
  --trending-yellow-dark: #e8a020;

  /* Text Colors */
  --text-dark: #222222;
  --text-title: #111111;
  --text-body: #444444;
  --text-gray: #767676;
  --text-meta: #999999;
  --text-light: #ffffff;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-gray: #f4f4f4;
  --bg-dark: #222222;
  --bg-darker: #1a1a1a;
  --bg-black: #0d0d0d;
  --bg-footer: #1d1d1d;

  /* Border Colors */
  --border-light: #ededed;
  --border-gray: #e0e0e0;

  /* Category Badge Colors */
  --cat-default: #222222;
  --cat-fashion: #f7456b;
  --cat-tech: #00c4cc;
  --cat-business: #1e73be;
  --cat-lifestyle: #8224e3;
  --cat-travel: #0693e3;
  --cat-finance: #00d084;
  --cat-marketing: #ff6900;
  --cat-startup: #eb4d4b;
  --cat-ecommerce: #9b51e0;

  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Font Sizes */
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-xl: 21px;
  --fs-2xl: 26px;
  --fs-3xl: 32px;
  --fs-hero: 36px;

  /* Spacing */
  --gap-xs: 5px;
  --gap-sm: 10px;
  --gap-md: 15px;
  --gap-lg: 20px;
  --gap-xl: 30px;
  --gap-2xl: 40px;

  /* Layout */
  --container-width: 1100px;
  --sidebar-width: 300px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-hover: 0 5px 15px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.3s ease;
}

/* ===========================================
   Reset & Base Styles
   =========================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

::selection {
  background: var(--accent-blue);
  color: white;
}

/* ===========================================
   Top Bar - Newspaper Style (Black)
   =========================================== */

.top-bar {
  background: var(--bg-black);
  padding: 8px 0;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  color: rgba(255,255,255,0.7);
}

.top-bar-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-date svg {
  opacity: 0.6;
}

.top-bar-weather {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

.top-bar-links {
  display: flex;
  gap: var(--gap-md);
}

.top-bar-links a {
  color: rgba(255,255,255,0.7);
}

.top-bar-links a:hover {
  color: var(--text-light);
}

.top-bar-social {
  display: flex;
  gap: 2px;
}

.top-bar-social a {
  color: rgba(255,255,255,0.6);
  padding: 5px 7px;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--text-light);
}

/* ===========================================
   Header - Newspaper Style (White bg)
   =========================================== */

.site-header {
  background: var(--bg-white);
  padding: 30px 0 20px;
}

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

.site-logo {
  display: flex;
  align-items: center;
}

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

.site-logo .logo-svg {
  display: flex;
  align-items: center;
}

.site-logo .logo-svg svg {
  height: 50px;
  width: auto;
  max-width: 280px;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1;
}

.site-name span {
  color: var(--accent-blue);
}

.site-tagline {
  font-size: var(--fs-xs);
  color: var(--text-gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-ad {
  flex-shrink: 0;
}

.ad-placeholder {
  background: linear-gradient(90deg, #1d1d1d 0%, #2d2d2d 100%);
  padding: 15px 40px;
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-sm);
  text-align: center;
  border-radius: 3px;
}

.ad-placeholder strong {
  color: var(--trending-yellow);
}

/* ===========================================
   Navigation - Newspaper Style (White bg)
   =========================================== */

.main-nav {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--text-dark);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--accent-blue);
}

.nav-item.has-dropdown > a::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 3px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: var(--fs-base);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  font-weight: 400;
  text-transform: none;
}

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

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--accent-blue);
}

/* Search in Nav */
.nav-search {
  padding: 0 10px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  height: 38px;
}

.search-toggle {
  padding: 10px;
  color: var(--text-dark);
  transition: var(--transition);
}

.search-toggle:hover {
  color: var(--accent-blue);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ===========================================
   Trending Section - Yellow Bar (Horizontal Carousel)
   =========================================== */

.trending-section {
  background: var(--trending-yellow);
  padding: 12px 0;
}

.trending-section .container {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.trending-header {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  flex-shrink: 0;
}

.trending-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.trending-label svg {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.trending-nav {
  display: flex;
  gap: 2px;
}

.trending-nav button {
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.15);
  border: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.trending-nav button:hover {
  background: rgba(0,0,0,0.25);
}

/* Carousel container - horizontal scroll */
.trending-carousel {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 5px 0;
}

.trending-carousel::-webkit-scrollbar {
  display: none;
}

/* Each trending item */
.trending-item {
  flex-shrink: 0;
}

.trending-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.trending-number {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  opacity: 0.5;
}

.trending-item .trending-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trending-item .trending-content h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-item a:hover .trending-content h3 {
  text-decoration: underline;
}

.trending-meta {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-dark);
  opacity: 0.7;
}

/* ===========================================
   Hero Section - Featured Grid
   =========================================== */

.hero-section {
  padding: var(--gap-xl) 0;
  background: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gap-md);
}

/* Main Featured Article */
.featured-main {
  position: relative;
  overflow: hidden;
  background: var(--bg-black);
  border-radius: 16px;
}

.featured-main .featured-link {
  display: block;
  height: 100%;
}

.featured-main .featured-image {
  height: 100%;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
}

.featured-main .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

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

.featured-main .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 25px 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  color: var(--text-light);
}

.featured-main .featured-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0;
  color: var(--text-light);
}

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

.featured-main .featured-meta {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 15px;
}

.featured-main .featured-meta a {
  color: rgba(255,255,255,0.7);
}

.featured-main .featured-meta a:hover {
  color: var(--text-light);
}

/* Secondary Featured Grid */
.featured-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap-md);
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-black);
  border-radius: 16px;
}

.featured-card .featured-link {
  display: block;
  height: 100%;
}

.featured-card .featured-image {
  height: 100%;
  overflow: hidden;
}

.featured-card .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

.featured-card:hover .featured-image img {
  transform: scale(1.08);
}

.featured-card .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 15px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: var(--text-light);
}

.featured-card .featured-title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-light);
}

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

/* Category Badge */
.category-badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--cat-default);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.category-badge:hover {
  opacity: 0.9;
}

.category-badge.cat-business { background: var(--cat-business); }
.category-badge.cat-tech { background: var(--cat-tech); }
.category-badge.cat-marketing { background: var(--cat-marketing); }
.category-badge.cat-finance { background: var(--cat-finance); }
.category-badge.cat-startup { background: var(--cat-startup); }
.category-badge.cat-ecommerce { background: var(--cat-ecommerce); }
.category-badge.cat-lifestyle { background: var(--cat-lifestyle); }
.category-badge.cat-fashion { background: var(--cat-fashion); }
.category-badge.cat-travel { background: var(--cat-travel); }

/* ===========================================
   Content Section with Sidebar
   =========================================== */

.content-wrapper {
  padding: var(--gap-xl) 0 var(--gap-2xl);
  background: var(--bg-white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap-2xl);
}

/* Section Title - Newspaper Style */
.section-title {
  display: inline-block;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  margin-bottom: var(--gap-lg);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  border-style: solid;
  border-width: 0 0 34px 20px;
  border-color: transparent transparent transparent var(--bg-dark);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--gap-md);
}

/* ===========================================
   Tabs System - Newspaper Style
   =========================================== */

.tabs-section {
  margin-bottom: var(--gap-2xl);
}

.tabs-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border-light);
}

.tabs-header .section-title {
  margin-bottom: 0;
  margin-right: var(--gap-md);
}

.tab-btn {
  padding: 10px 15px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-gray);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===========================================
   Article Cards - Newspaper Style
   =========================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.article-card {
  background: var(--bg-white);
  transition: var(--transition);
}

.article-card a {
  display: block;
}

.card-image {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--gap-md);
  border-radius: 16px;
}

.card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

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

.card-image .category-badge {
  position: absolute;
  bottom: 0;
  left: 0;
}

.card-content {
  padding: 0;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: var(--gap-sm);
  transition: var(--transition);
}

.article-card:hover .card-title {
  color: var(--accent-blue);
}

.card-excerpt {
  font-size: var(--fs-base);
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: var(--gap-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: var(--fs-xs);
  color: var(--text-meta);
  padding: var(--gap-sm) 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-meta .author-link {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-meta .author-link:hover {
  color: var(--accent-blue);
}

.card-meta .date {
  color: var(--text-meta);
}

.card-meta .date::before {
  content: '·';
  margin-right: 8px;
}

/* Big Card (First in grid) */
.article-card.card-big .card-image img {
  aspect-ratio: 4 / 3;
}

.article-card.card-big .card-title {
  font-size: var(--fs-xl);
}

/* List Card */
.article-card.card-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);
  padding: var(--gap-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.article-card.card-list .card-image {
  margin-bottom: 0;
}

.article-card.card-list .card-image img {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.article-card.card-list .card-title {
  font-size: var(--fs-base);
  margin-bottom: var(--gap-xs);
}

.article-card.card-list .card-excerpt {
  display: none;
}

/* ===========================================
   Sidebar Widgets - Newspaper Style
   =========================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

.widget {
  background: var(--bg-white);
}

.widget-title {
  display: inline-block;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  margin-bottom: var(--gap-md);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  border-style: solid;
  border-width: 0 0 32px 20px;
  border-color: transparent transparent transparent var(--bg-dark);
}

/* Stay Connected Widget */
.social-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-stat {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--text-light);
  transition: var(--transition);
}

.social-stat:hover {
  opacity: 0.9;
}

.social-stat.facebook { background: #4267b2; }
.social-stat.twitter { background: #1da1f2; }
.social-stat.youtube { background: #ff0000; }
.social-stat.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

.social-stat svg {
  margin-right: var(--gap-md);
}

.social-stat .count {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-right: var(--gap-xs);
}

.social-stat .label {
  font-size: var(--fs-sm);
  opacity: 0.9;
  flex: 1;
}

.social-stat .action {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
}

/* Most Popular Widget */
.popular-list {
  display: flex;
  flex-direction: column;
}

.popular-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--gap-md);
  padding: var(--gap-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.popular-item:first-child {
  padding-top: 0;
}

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

.popular-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
}

.popular-item-content h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 3px;
  transition: var(--transition);
}

.popular-item:hover h4 {
  color: var(--accent-blue);
}

.popular-item-content span {
  font-size: var(--fs-xs);
  color: var(--text-meta);
}

/* Newsletter Widget */
.widget-newsletter {
  background: var(--bg-dark);
  padding: var(--gap-lg);
}

.widget-newsletter .widget-title {
  background: transparent;
  margin: 0 0 var(--gap-md) 0;
  padding: 0;
}

.widget-newsletter .widget-title::after {
  display: none;
}

.widget-newsletter p {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--gap-md);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  font-size: var(--fs-base);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
}

.newsletter-form button {
  padding: 12px;
  background: var(--accent-blue);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-blue-hover);
}

/* Ad Widget */
.widget-ad {
  text-align: center;
}

.ad-banner {
  background: var(--bg-gray);
  padding: 60px 20px;
  color: var(--text-meta);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================================
   Pagination - Newspaper Style
   =========================================== */

.pagination {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--gap-xl);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--text-body);
  border: 1px solid var(--border-gray);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.pagination span.current {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--text-light);
}

.pagination-info {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--text-meta);
}

/* ===========================================
   Footer - Newspaper Style
   =========================================== */

/* ===========================================
   Site Footer - Modern Dark Design
   =========================================== */

.site-footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  padding: 50px 0 0;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-blue);
}

.footer-description {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Social links in footer */
.footer-section .social-links {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.footer-section .social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer links lists */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 5px;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-links a:hover {
  color: var(--text-light);
}

/* ===========================================
   Back to Top Button
   =========================================== */

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--accent-blue-hover);
}

/* ===========================================
   Search Overlay
   =========================================== */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 2000;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 600px;
  padding: 0 30px;
}

.search-box input {
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: var(--text-light);
  text-align: center;
  transition: var(--transition);
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.4);
}

.search-box input:focus {
  outline: none;
  border-bottom-color: var(--accent-blue);
}

.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--text-light);
  font-size: 36px;
  padding: 10px;
  line-height: 1;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--accent-blue);
}

/* ===========================================
   Responsive Design
   =========================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-main .featured-image {
    min-height: 350px;
  }

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

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-xl);
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .site-header {
    padding: 15px 0;
  }

  .site-name {
    font-size: 28px;
  }

  .header-ad {
    display: none;
  }

  .main-nav .container {
    padding: 0 15px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 60px 0 30px;
    box-shadow: var(--shadow-hover);
    transition: left var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item > a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-light);
    display: none;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .trending-section {
    padding: 8px 0;
  }

  .trending-label {
    font-size: 9px;
    padding: 5px 8px;
  }

  .hero-section {
    padding: var(--gap-md) 0;
  }

  .featured-main .featured-image {
    min-height: 280px;
  }

  .featured-main .featured-title {
    font-size: var(--fs-xl);
  }

  .featured-secondary {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--gap-lg);
  }

  .footer-social h3,
  .social-links {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--gap-md);
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ===========================================
   Article Page Styles
   =========================================== */

.article-page {
  padding: var(--gap-xl) 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--gap-2xl);
}

.article-main {
  max-width: 100%;
}

.article-header {
  margin-bottom: var(--gap-xl);
}

.article-header .category-badge {
  display: inline-block;
  margin-bottom: var(--gap-md);
}

.article-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-title);
  margin-bottom: var(--gap-md);
}

.article-excerpt {
  font-size: var(--fs-lg);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--gap-lg);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.author-avatar-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.meta-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-author-info .author-name {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.meta-author-info .author-name:hover {
  color: var(--accent-blue);
}

.publish-date {
  font-size: var(--fs-sm);
  color: var(--text-meta);
}

.article-featured-image {
  margin-bottom: var(--gap-xl);
  border-radius: 16px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-featured-image figcaption {
  padding: var(--gap-sm);
  font-size: var(--fs-sm);
  color: var(--text-meta);
  background: var(--bg-light);
}

.article-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.article-content p {
  margin-bottom: 1.5em;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 2em 0 1em;
  color: var(--text-title);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 1.5em 0 0.75em;
  color: var(--text-title);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.5em 0;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-blue);
  padding-left: var(--gap-lg);
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-gray);
}

.article-content ul, .article-content ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.article-content li {
  margin-bottom: 0.5em;
}

/* Social Share */
.social-share {
  padding: var(--gap-xl) 0;
  margin: var(--gap-xl) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.share-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--gap-md);
  display: block;
}

.share-buttons {
  display: flex;
  gap: var(--gap-sm);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

.share-twitter:hover {
  background: #0d8ecf;
  color: white;
}

.share-facebook {
  background: #4267b2;
  color: white;
}

.share-facebook:hover {
  background: #365899;
  color: white;
}

.share-linkedin {
  background: #0077b5;
  color: white;
}

.share-linkedin:hover {
  background: #006097;
  color: white;
}

/* Author Box */
.author-box {
  display: flex;
  gap: var(--gap-lg);
  padding: var(--gap-xl);
  background: var(--bg-light);
  border-radius: 16px;
  margin: var(--gap-xl) 0;
}

.author-box-avatar {
  flex-shrink: 0;
}

.author-box-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder-large {
  width: 100px;
  height: 100px;
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 36px;
}

.author-box-name {
  font-size: var(--fs-lg);
  margin-bottom: var(--gap-xs);
}

.author-box-name a {
  color: var(--text-dark);
  text-decoration: none;
}

.author-box-name a:hover {
  color: var(--accent-blue);
}

.author-box-bio {
  font-size: var(--fs-base);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--gap-sm);
}

.author-box-link {
  font-size: var(--fs-sm);
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.author-box-link:hover {
  text-decoration: underline;
}

/* Related Articles */
.related-articles {
  margin-top: var(--gap-2xl);
}

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

/* ===========================================
   Category Page Styles
   =========================================== */

.category-page {
  padding: var(--gap-xl) 0;
}

.category-header {
  margin-bottom: var(--gap-xl);
  padding-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border-light);
}

.category-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: var(--gap-sm);
}

.category-description {
  font-size: var(--fs-lg);
  color: var(--text-gray);
  line-height: 1.6;
}

.category-featured {
  margin-bottom: var(--gap-xl);
}

.category-featured .featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-featured .featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: var(--gap-lg);
}

.category-featured .featured-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-featured:hover .featured-image img {
  transform: scale(1.03);
}

.category-featured .featured-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: var(--gap-sm);
  transition: color 0.3s ease;
}

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

.category-featured .featured-excerpt {
  font-size: var(--fs-md);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--gap-md);
}

.category-featured .featured-meta {
  display: flex;
  gap: var(--gap-md);
  font-size: var(--fs-sm);
  color: var(--text-meta);
}

.category-featured .featured-meta .author {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===========================================
   Static Page Styles
   =========================================== */

.static-page {
  padding: var(--gap-xl) 0;
  min-height: 60vh;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: var(--gap-xl);
  padding-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border-light);
}

.page-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-title);
}

.page-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.page-body p {
  margin-bottom: 1.5em;
}

.page-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 2em 0 1em;
  color: var(--text-title);
}

.page-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 1.5em 0 0.75em;
  color: var(--text-title);
}

.page-body ul, .page-body ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.page-body li {
  margin-bottom: 0.5em;
}

/* ===========================================
   Author Profile Styles
   =========================================== */

.author-profile {
  margin-bottom: var(--gap-xl);
  padding: var(--gap-xl);
  background: var(--bg-light);
  border-radius: 16px;
}

.author-profile-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-xl);
}

.author-profile-avatar {
  flex-shrink: 0;
}

.author-profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.avatar-placeholder-xl {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

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

.author-profile-name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: var(--gap-sm);
}

.author-profile-bio {
  font-size: var(--fs-md);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--gap-md);
}

.author-profile-meta {
  font-size: var(--fs-sm);
  color: var(--text-meta);
}

.author-profile-meta .articles-count {
  background: var(--accent-blue);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.author-articles {
  margin-top: var(--gap-xl);
}

@media (max-width: 640px) {
  .author-profile-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-profile-name {
    font-size: 24px;
  }

  .avatar-placeholder-xl,
  .author-profile-avatar img {
    width: 100px;
    height: 100px;
  }

  .avatar-placeholder-xl {
    font-size: 36px;
  }
}

/* ===========================================
   Breadcrumb Styles
   =========================================== */

.breadcrumb {
  margin-bottom: var(--gap-lg);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-sm);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--text-meta);
}

.breadcrumb-item a {
  color: var(--text-meta);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent-blue);
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 500;
}

/* ===========================================
   Article Page Responsive
   =========================================== */

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

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

@media (max-width: 768px) {
  .article-title {
    font-size: 28px;
  }

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

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .site-name {
    font-size: 24px;
  }

  .featured-secondary {
    grid-template-columns: 1fr;
  }

  .featured-card .featured-title {
    font-size: var(--fs-base);
  }

  .tabs-header {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs-header::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
  }
}

/* ===========================================
   Article Page Styles
   =========================================== */

.article-header {
  max-width: 800px;
  margin: 0 auto var(--gap-xl);
  padding-top: var(--gap-xl);
  text-align: center;
}

.article-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 var(--gap-md);
}

.article-excerpt {
  font-size: var(--fs-lg);
  color: var(--text-gray);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-lg);
  margin-top: var(--gap-md);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--text-meta);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

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

.author-name {
  color: var(--text-dark);
  font-weight: 600;
}

.article-featured-image {
  margin-bottom: var(--gap-xl);
}

.article-content {
  max-width: 750px;
  margin: 0 auto;
  font-size: var(--fs-md);
  line-height: 1.8;
}

.article-content h2 {
  font-size: var(--fs-2xl);
  margin: var(--gap-xl) 0 var(--gap-md);
}

.article-content h3 {
  font-size: var(--fs-xl);
  margin: var(--gap-lg) 0 var(--gap-md);
}

.article-content p {
  margin-bottom: var(--gap-md);
}

.article-content blockquote {
  border-left: 3px solid var(--accent-blue);
  padding: var(--gap-md) var(--gap-lg);
  margin: var(--gap-lg) 0;
  background: var(--bg-light);
  font-style: italic;
  color: var(--text-gray);
}

.article-content img {
  margin: var(--gap-lg) 0;
}

.article-content a {
  color: var(--accent-blue);
}

.article-content a:hover {
  text-decoration: underline;
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-top: var(--gap-xl);
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--border-light);
}

.share-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-dark);
  margin-right: var(--gap-sm);
}

.share-btn {
  padding: 8px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267b2; }
.share-btn.linkedin { background: #0077b5; }

.share-btn:hover {
  opacity: 0.9;
}

/* Related Articles */
.related-articles {
  margin-top: var(--gap-2xl);
  padding: var(--gap-xl) 0;
  background: var(--bg-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-lg);
}

@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: var(--fs-2xl);
  }

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

/* Category Page */
.category-header {
  text-align: center;
  padding: var(--gap-xl) 0;
  background: var(--bg-light);
  margin-bottom: var(--gap-xl);
}

.category-title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--gap-sm);
}

.category-description {
  font-size: var(--fs-md);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================================
   Table Styles
   =========================================== */

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  overflow-x: auto;
  display: block;
}

@media (min-width: 769px) {
  .article-content table {
    display: table;
  }
}

.article-content th,
.article-content td {
  padding: 12px var(--gap-md);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.article-content th {
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-light);
}
