/* ============================================================
   KAMER TELEKOM — Blog Styles (Listing + Single Post)
   Blog-specific CSS · loaded alongside /css/style.css
   ============================================================ */

/* ----------------------------------------------------------
   0. BLOG PAGE BODY HELPERS
   ---------------------------------------------------------- */
.blog-page {
  padding-top: 80px; /* clear fixed nav */
}

/* ----------------------------------------------------------
   1. BLOG HEADER (.blog-header)
   Full-width hero banner for the blog listing page
   ---------------------------------------------------------- */
.blog-header {
  position: relative;
  padding: 80px 24px 64px;
  text-align: center;
  background: linear-gradient(
    165deg,
    rgba(0, 180, 216, 0.12) 0%,
    var(--bg-primary) 50%,
    rgba(0, 212, 255, 0.08) 100%
  );
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.blog-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(0, 180, 216, 0.10) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.blog-header__title {
  font-family: var(--font-heading), sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  position: relative;
}

.blog-header__subtitle {
  font-family: var(--font-body), sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
}

/* Search bar inside hero */
.blog-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.blog-search__input {
  width: 100%;
  padding: 14px 52px 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-family: var(--font-body), sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.blog-search__input::placeholder {
  color: var(--text-secondary);
}

.blog-search__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.blog-search__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.blog-search__btn:hover {
  opacity: 0.85;
  transform: translateY(-50%) scale(1.05);
}

.blog-search__btn svg,
.blog-search__btn i {
  font-size: 1rem;
  width: 18px;
  height: 18px;
}

/* ----------------------------------------------------------
   2. BLOG GRID (.blog-grid)
   Responsive card layout – 3 / 2 / 1 columns
   ---------------------------------------------------------- */
.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  gap: 40px;
}

.blog-main {
  flex: 1;
  min-width: 0;
}

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

/* ----------------------------------------------------------
   3. BLOG CARD (.blog-card)
   Glass-morphism card with hover lift + glow
   ---------------------------------------------------------- */
.blog-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(0, 180, 216, 0.08);
}

/* Card image */
.blog-card__image {
  position: relative;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

/* Category badge on image */
.blog-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  font-family: var(--font-body), sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 20px;
  z-index: 2;
}

/* Card body */
.blog-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-family: var(--font-heading), sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--cyan);
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__excerpt {
  font-family: var(--font-body), sans-serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card footer row */
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

.blog-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card__date i,
.blog-card__date svg {
  font-size: 0.85rem;
  color: var(--blue);
}

.blog-card__read-more {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.blog-card__read-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.blog-card__read-more:hover {
  color: var(--white);
}

.blog-card:hover .blog-card__read-more::after {
  transform: translateX(4px);
}

/* Featured / large card variant */
.blog-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.blog-card--featured .blog-card__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.blog-card--featured .blog-card__image img {
  aspect-ratio: auto;
  height: 100%;
}

.blog-card--featured .blog-card__body {
  padding: 32px 30px;
  justify-content: center;
}

.blog-card--featured .blog-card__title {
  font-size: 1.45rem;
  -webkit-line-clamp: 3;
}

.blog-card--featured .blog-card__excerpt {
  -webkit-line-clamp: 4;
}

/* ----------------------------------------------------------
   4. BREADCRUMB (.breadcrumb)
   ---------------------------------------------------------- */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.breadcrumb-list .separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumb-list .current {
  color: var(--blue);
  font-weight: 500;
}

/* Alternate breadcrumb (simple inline) */
.breadcrumb--inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--font-body), sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.breadcrumb--inline a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.breadcrumb__separator {
  color: var(--text-secondary);
  opacity: 0.4;
  font-size: 0.75rem;
}

.breadcrumb__current {
  color: var(--text-primary);
  font-weight: 500;
}

/* ----------------------------------------------------------
   5. POST HEADER (.post-header)
   Hero area for single post pages
   ---------------------------------------------------------- */
.post-header {
  padding: 40px 0 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-category {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.post-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-meta svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.post-meta .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0.5;
}

/* Post header — hero variant with background */
.post-header--hero {
  position: relative;
  padding: 64px 24px 48px;
  max-width: none;
  background: linear-gradient(
    180deg,
    rgba(0, 180, 216, 0.08) 0%,
    var(--bg-primary) 100%
  );
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 48px;
}

.post-header--hero .post-category {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Featured image below header */
.post-header__image {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.post-header__image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

/* ----------------------------------------------------------
   6. POST CONTENT (.post-content)
   Single-post article typography
   ---------------------------------------------------------- */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 180, 216, 0.15);
  position: relative;
}

.post-body h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 16px;
}

.post-body h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.post-body p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.post-body ul,
.post-body ol {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.post-body ul li,
.post-body ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.post-body ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.post-body ol {
  counter-reset: list-counter;
}

.post-body ol li {
  counter-increment: list-counter;
}

.post-body ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 119, 182, 0.15));
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.post-body strong {
  color: var(--white);
  font-weight: 600;
}

.post-body a {
  color: var(--blue);
  border-bottom: 1px solid rgba(0, 180, 216, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.post-body a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Blockquote with left border gradient */
.post-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--blue), var(--cyan)) 1;
  background: rgba(0, 180, 216, 0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-body blockquote p {
  margin-bottom: 0;
}

/* Inline code */
.post-body code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  background: rgba(0, 180, 216, 0.1);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 180, 216, 0.15);
}

/* Code block */
.post-body pre {
  margin: 28px 0;
  padding: 24px;
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow-x: auto;
  position: relative;
}

.post-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Images in article */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 28px 0;
  border: 1px solid var(--border-color);
  display: block;
}

.post-body figure {
  margin: 32px 0;
}

.post-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* Horizontal rule */
.post-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), var(--blue), var(--border-color), transparent);
  margin: 48px 0;
}

/* ----------------------------------------------------------
   7. INFO BOX / WARNING BOX
   ---------------------------------------------------------- */
.info-box {
  padding: 24px;
  border-radius: var(--radius, 12px);
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.15);
  margin: 28px 0;
}

.info-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.warning-box {
  padding: 24px;
  border-radius: var(--radius, 12px);
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.2);
  margin: 28px 0;
}

.warning-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold, #ffc107);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   8. TABLE OF CONTENTS (.toc)
   ---------------------------------------------------------- */
.toc {
  padding: 24px 28px;
  border-radius: var(--radius, 12px);
  background: var(--bg-glass, var(--bg-card));
  border: 1px solid var(--border-color);
  margin: 0 0 40px;
}

.toc h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc ol {
  counter-reset: toc-counter;
  margin: 0;
  padding: 0;
}

.toc ol li {
  counter-increment: toc-counter;
  padding-left: 0;
  margin-bottom: 8px;
}

.toc ol li::before {
  display: none;
}

.toc ol li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc ol li a::before {
  content: counter(toc-counter) ".";
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  min-width: 20px;
}

.toc ol li a:hover {
  color: var(--blue);
}

/* ----------------------------------------------------------
   9. COMPARISON TABLE
   ---------------------------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead th {
  background: rgba(0, 180, 216, 0.12);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(0, 180, 216, 0.2);
}

.comparison-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.comparison-table tbody tr:hover {
  background: rgba(0, 180, 216, 0.04);
}

/* ----------------------------------------------------------
   10. CTA BOX
   ---------------------------------------------------------- */
.cta-box {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08), rgba(0, 119, 182, 0.05));
  border: 1px solid rgba(0, 180, 216, 0.2);
  margin: 48px 0 0;
}

.cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
}

.cta-box .btn-primary {
  font-size: 1rem;
}

/* ----------------------------------------------------------
   11. BLOG SIDEBAR (.blog-sidebar)
   Sticky sidebar for listing page (desktop only)
   ---------------------------------------------------------- */
.blog-sidebar {
  flex: 0 0 300px;
  max-width: 300px;
}

.blog-sidebar__inner {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Generic sidebar widget */
.sidebar-widget {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.sidebar-widget__title {
  font-family: var(--font-heading), sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget__title::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}

/* Recent posts widget */
.sidebar-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-recent__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar-recent__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent__info {
  flex: 1;
  min-width: 0;
}

.sidebar-recent__link {
  font-family: var(--font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.sidebar-recent__link:hover {
  color: var(--cyan);
}

.sidebar-recent__date {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* Categories widget */
.sidebar-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-categories__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-body), sans-serif;
  font-size: 0.88rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-categories__item a:hover {
  background: rgba(0, 180, 216, 0.08);
  color: var(--cyan);
}

.sidebar-categories__count {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 180, 216, 0.12);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 12px;
  min-width: 28px;
  text-align: center;
}

/* ----------------------------------------------------------
   12. BLOG PAGINATION (.blog-pagination)
   ---------------------------------------------------------- */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.blog-pagination__link,
.blog-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-body), sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.blog-pagination__link {
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: transparent;
}

.blog-pagination__link:hover {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(0, 180, 216, 0.08);
}

.blog-pagination__current {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: 1px solid transparent;
  font-weight: 600;
}

.blog-pagination__link--prev,
.blog-pagination__link--next {
  gap: 6px;
}

.blog-pagination__link--prev::before { content: "←"; }
.blog-pagination__link--next::after  { content: "→"; }

.blog-pagination__ellipsis {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0 4px;
}

/* ----------------------------------------------------------
   13. BLOG TAGS (.blog-tags)
   ---------------------------------------------------------- */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.blog-tags__label {
  font-family: var(--font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
  display: flex;
  align-items: center;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.blog-tag:hover {
  color: var(--white);
  background: rgba(0, 180, 216, 0.15);
  border-color: var(--blue);
}

.blog-tag--active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
}

/* ----------------------------------------------------------
   14. RELATED POSTS (.related-posts)
   Grid of related cards at bottom of single post
   ---------------------------------------------------------- */
.related-posts {
  padding: 0 0 80px;
}

.related-posts .container {
  max-width: 1000px;
}

.related-posts h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}

/* Title variant with line */
.related-posts__title {
  font-family: var(--font-heading), sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-posts__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-color), transparent);
}

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

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

/* Related card — text-only variant */
.related-card {
  display: block;
  padding: 28px;
  border-radius: var(--radius, 12px);
  background: var(--bg-glass, var(--bg-card));
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
}

.related-card:hover {
  background: var(--bg-glass-hover, rgba(15, 31, 54, 0.8));
  border-color: rgba(0, 180, 216, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.related-card .related-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.related-card:hover h3 {
  color: var(--cyan);
}

.related-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.related-card .read-more {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.related-card:hover .read-more {
  gap: 10px;
}

/* Related card — image variant */
.related-card--image {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.related-card--image .related-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.related-card--image .related-card__body {
  padding: 16px 18px 20px;
}

.related-card--image .related-card__category {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 8px;
}

.related-card--image .related-card__title {
  font-family: var(--font-heading), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.related-card--image:hover .related-card__title {
  color: var(--cyan);
}

/* ----------------------------------------------------------
   15. BLOG NAVIGATION BAR OVERRIDES
   Active state for blog link in main nav
   ---------------------------------------------------------- */
.nav a[href*="blog"].active,
.nav-link[href*="blog"].active,
.navbar a[href*="blog"].active {
  color: var(--cyan);
  position: relative;
}

.nav a[href*="blog"].active::after,
.nav-link[href*="blog"].active::after,
.navbar a[href*="blog"].active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* ----------------------------------------------------------
   16. SHARE BUTTONS (single post)
   ---------------------------------------------------------- */
.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0;
}

.blog-share__label {
  font-family: var(--font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
}

.blog-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.blog-share__link:hover {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   17. POST NAVIGATION (prev / next)
   ---------------------------------------------------------- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.post-nav__item:hover {
  background: var(--bg-card);
  border-color: rgba(0, 180, 216, 0.15);
}

.post-nav__item--next {
  text-align: right;
}

.post-nav__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.post-nav__title {
  font-family: var(--font-heading), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.post-nav__item:hover .post-nav__title {
  color: var(--cyan);
}

/* ----------------------------------------------------------
   18. ANIMATIONS
   Scroll-triggered & entrance animations
   ---------------------------------------------------------- */
@keyframes blogFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card {
  animation: blogFadeUp 0.5s ease both;
}

/* Stagger cards */
.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.10s; }
.blog-card:nth-child(3) { animation-delay: 0.15s; }
.blog-card:nth-child(4) { animation-delay: 0.20s; }
.blog-card:nth-child(5) { animation-delay: 0.25s; }
.blog-card:nth-child(6) { animation-delay: 0.30s; }
.blog-card:nth-child(7) { animation-delay: 0.35s; }
.blog-card:nth-child(8) { animation-delay: 0.40s; }
.blog-card:nth-child(9) { animation-delay: 0.45s; }

.related-card {
  animation: blogFadeUp 0.5s ease both;
}

.related-card:nth-child(1) { animation-delay: 0.05s; }
.related-card:nth-child(2) { animation-delay: 0.12s; }
.related-card:nth-child(3) { animation-delay: 0.19s; }

/* ----------------------------------------------------------
   19. RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------- */

/* Tablet landscape (≤ 1024px) */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .blog-sidebar {
    display: none;
  }

  .blog-container {
    padding: 36px 20px 60px;
  }

  .blog-card--featured {
    flex-direction: column;
  }

  .blog-card--featured .blog-card__image {
    flex: none;
    max-width: 100%;
  }

  .blog-card--featured .blog-card__image img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

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

/* Tablet portrait (≤ 768px) */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 80px 0 0;
  }

  .blog-header {
    padding: 56px 20px 48px;
  }

  .blog-header__title {
    font-size: 1.75rem;
  }

  .blog-header__subtitle {
    font-size: 0.95rem;
  }

  .post-header {
    padding: 24px 0 20px;
    text-align: left;
  }

  .post-header h1 {
    font-size: 1.6rem;
  }

  .post-meta {
    justify-content: flex-start;
    gap: 14px;
    font-size: 0.8rem;
  }

  .post-content {
    padding: 0 16px 60px;
  }

  .post-body {
    font-size: 0.95rem;
  }

  .post-body h2 {
    font-size: 1.35rem;
    margin-top: 36px;
  }

  .post-body h3 {
    font-size: 1.15rem;
    margin-top: 28px;
  }

  .post-body pre {
    padding: 18px;
    border-radius: 12px;
  }

  .toc {
    padding: 20px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav__item--next {
    text-align: left;
  }

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

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

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

  .cta-box {
    padding: 28px 20px;
  }

  .cta-box h3 {
    font-size: 1.2rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 10px;
  }
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
  .blog-page {
    padding-top: 64px;
  }

  .blog-header {
    padding: 40px 16px 36px;
  }

  .blog-header__title {
    font-size: 1.5rem;
  }

  .blog-header__subtitle {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .blog-search__input {
    padding: 12px 48px 12px 16px;
    font-size: 0.88rem;
  }

  .blog-container {
    padding: 24px 16px 48px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card__body {
    padding: 18px 18px 22px;
  }

  .blog-card__title {
    font-size: 1.05rem;
  }

  .post-header h1 {
    font-size: 1.4rem;
  }

  .post-content {
    padding: 0 16px 48px;
  }

  .post-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .post-body h2 {
    font-size: 1.2rem;
  }

  .post-body h3 {
    font-size: 1.05rem;
  }

  .post-body blockquote {
    padding: 16px 18px;
    margin: 24px 0;
  }

  .post-body pre {
    padding: 14px;
    font-size: 0.8rem;
    margin: 20px -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .breadcrumb {
    padding: 64px 0 0;
    font-size: 0.78rem;
  }

  .blog-pagination {
    gap: 6px;
  }

  .blog-pagination__link,
  .blog-pagination__current {
    min-width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

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

  .related-posts__title {
    font-size: 1.25rem;
  }

  .related-card {
    padding: 20px;
  }

  .blog-tags {
    gap: 6px;
  }

  .blog-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .related-card {
    animation: none;
  }

  .blog-card:hover,
  .related-card:hover {
    transform: none;
  }

  .blog-card:hover .blog-card__image img {
    transform: none;
  }
}

/* ============================================================
   BLOG LISTING PAGE — NEW PREMIUM DESIGN
   ============================================================ */

/* Blog Hero */
.blog-hero {
  position: relative;
  padding: 120px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0, 180, 216, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(102, 126, 234, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(0, 212, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.blog-hero-content {
  position: relative;
  z-index: 1;
}

.blog-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 50px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.2;
}

.blog-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.blog-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.blog-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Blog Section */
.blog-section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.featured-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.featured-card-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.featured-card:hover .featured-card-gradient {
  opacity: 1;
}

.featured-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.featured-main {
  min-height: 340px;
}

.featured-main h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: auto 0 16px;
  line-height: 1.3;
}

.featured-main h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-main p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 16px;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-small {
  flex: 1;
  min-height: 100px;
}

.featured-small h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: auto 0 10px;
  line-height: 1.3;
}

.featured-small h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-small .featured-card-content {
  padding: 20px 24px;
}

.featured-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* View Count Badge */
.view-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-card .view-count {
  color: var(--text-secondary);
}

.view-count svg {
  flex-shrink: 0;
}

/* Category Badges */
.blog-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.featured-card .blog-category {
  font-size: 0.58rem;
  padding: 3px 9px;
}

.cat-rehber,
.cat-karsilastirma,
.cat-analiz,
.cat-ipuclari,
.cat-teknoloji,
.cat-yerel,
.cat-inceleme,
.cat-sektorel {
  background: rgba(255, 255, 255, 0.1);
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cat-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-filter:hover {
  border-color: rgba(0, 180, 216, 0.3);
  color: var(--white);
}

.cat-filter.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: #fff;
}

.cat-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cat-filter.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Blog Grid - New Card Design */
.blog-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-section .blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

.blog-section .blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-section .blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 180, 216, 0.06);
}

.blog-card-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.blog-section .blog-card:hover .card-gradient {
  opacity: 1;
}

.card-icon {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 2.5rem;
  opacity: 0.3;
  filter: grayscale(0.5);
}

.blog-card-visual .blog-category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-section .blog-card:hover .blog-card-visual img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-section .blog-card:hover h3 a {
  color: var(--cyan);
}

.blog-card-body > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

.blog-card-footer .blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Animation */
@keyframes blogFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Tags */
.blog-hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-dot {
  color: var(--cyan);
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-side {
    flex-direction: row;
  }
  
  .featured-main {
    min-height: 260px;
  }
  
  .blog-section .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 90px 16px 32px;
  }
  
  .blog-hero h1 {
    font-size: 1.6rem;
  }
  
  .blog-hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .blog-hero-tags {
    font-size: 0.85rem;
    gap: 8px;
  }

  /* Featured section */
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .featured-side {
    flex-direction: column;
    gap: 12px;
  }
  
  .featured-main {
    min-height: 200px;
  }
  
  .featured-main h3 {
    font-size: 1.2rem;
  }
  
  .featured-main p {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .featured-small {
    min-height: auto;
  }
  
  .featured-small .featured-card-content {
    padding: 16px 18px;
  }
  
  .featured-small h3 {
    font-size: 0.95rem;
  }
  
  .featured-card-content {
    padding: 24px 20px;
  }
  
  .featured-card-meta {
    font-size: 0.75rem;
    gap: 10px;
  }

  /* Section */
  .blog-section {
    padding: 32px 0;
  }
  
  .section-header {
    margin-bottom: 20px;
  }
  
  .section-header h2 {
    font-size: 1.3rem;
  }
  
  /* Category filters — horizontal scroll on mobile */
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  
  .category-filters::-webkit-scrollbar {
    display: none;
  }
  
  .cat-filter {
    padding: 8px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Blog grid — single column */
  .blog-section .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Blog cards — horizontal on mobile */
  .blog-section .blog-card {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
  }
  
  .blog-card-visual {
    width: 120px;
    min-width: 120px;
    height: auto;
    min-height: 120px;
    border-radius: 12px 0 0 12px;
  }
  
  .blog-card-body {
    padding: 14px 16px;
  }
  
  .blog-card-body h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .blog-card-body > p {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
    margin-bottom: 10px;
  }
  
  .blog-card-footer {
    padding-top: 10px;
  }
  
  .blog-card-footer .blog-card-meta {
    font-size: 0.72rem;
    gap: 8px;
  }
  
  .blog-card .view-count {
    font-size: 0.72rem;
  }
  
  .blog-card .view-count svg {
    width: 12px;
    height: 12px;
  }
  
  /* Container padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 82px 12px 24px;
  }
  
  .blog-hero h1 {
    font-size: 1.35rem;
  }
  
  .blog-hero p {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }
  
  .blog-hero-tags {
    font-size: 0.8rem;
  }
  
  .featured-main {
    min-height: 180px;
  }
  
  .featured-main h3 {
    font-size: 1.05rem;
  }
  
  .featured-card-content {
    padding: 18px 16px;
  }
  
  /* Cards even more compact */
  .blog-card-visual {
    width: 100px;
    min-width: 100px;
  }
  
  .blog-card-body {
    padding: 12px 14px;
  }
  
  .blog-card-body h3 {
    font-size: 0.85rem;
  }
  
  .blog-card-body > p {
    display: none;
  }
  
  .blog-section {
    padding: 24px 0;
  }
  
  .section-header h2 {
    font-size: 1.15rem;
  }
}

