/* =============================================================
   JSR Properties - Blog Pages (Self-Contained)
   Elite Design Language with Embedded Design Tokens
   ============================================================= */

/* -----------------------------------------------------------------------
   DESIGN TOKENS (EMBEDDED FOR BLOG PAGES)
   ----------------------------------------------------------------------- */

:root {
  /* Colors */
  --blog-black: #000;
  --blog-charcoal: #333;
  --blog-grey-mid: #666;
  --blog-grey-light: #999;
  --blog-grey-pale: #ccc;
  --blog-grey-border: #dedede;
  --blog-grey-bg: #f4f4f4;
  --blog-white: #fff;
  --blog-primary: #204cd1;

  /* Typography */
  --blog-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --blog-text-xs: 12px;
  --blog-text-sm: 12.8px;
  --blog-text-base: 14px;
  --blog-text-md: 16px;
  --blog-text-lg: 19.2px;
  --blog-text-xl: 25.6px;
  --blog-text-2xl: 32px;
  --blog-text-3xl: 40px;
  --blog-text-4xl: 57.6px;
  --blog-text-5xl: 72px;

  /* Line Heights */
  --blog-lh-body: 20px;
  --blog-lh-h4: 29.44px;
  --blog-lh-h3: 30.4px;
  --blog-lh-h2: 54.72px;
  --blog-lh-h1: 68.4px;

  /* Letter Spacing */
  --blog-ls-label: 0.1em;
  --blog-ls-h4: -0.8192px;
  --blog-ls-h3: -1.024px;
  --blog-ls-h2: -1.8432px;
  --blog-ls-h1: -2.592px;

  /* Layout */
  --blog-nav-height: 64px;
  --blog-container: 1140px;
  --blog-container-px: 32px;
  --blog-section-py: 120px;

  /* Radius */
  --blog-radius-sm: 4px;
  --blog-radius-md: 8px;
  --blog-radius-lg: 16px;
  --blog-radius-full: 999px;

  /* Transitions */
  --blog-t-fast: 150ms ease;
  --blog-t-base: 300ms ease;
  --blog-t-slow: 500ms ease;

  /* Shadows */
  --blog-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --blog-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --blog-shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
}

/* -----------------------------------------------------------------------
   LAYOUT FOUNDATION
   ----------------------------------------------------------------------- */

.container {
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 32px;
}

.section {
    position: relative;
}

/* -----------------------------------------------------------------------
   BLOG HERO SECTION
   ----------------------------------------------------------------------- */

.blog-hero {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #ffffff;
    padding: 144px 0 120px; /* nav-height(64px) + 80px top, 120px bottom */
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(32, 76, 209, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="0.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.6;
}

.blog-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 32px;
}

.blog-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #204cd1;
    margin-bottom: 32px;
    background: rgba(32, 76, 209, 0.15);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(32, 76, 209, 0.3);
}

.blog-hero__tag::before {
    content: '◆';
    font-size: 8px;
    opacity: 0.8;
}

.blog-hero__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2.592px;
    margin-bottom: 32px;
    color: #ffffff;
}

.blog-hero__subtitle {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* -----------------------------------------------------------------------
   FEATURED BLOG CARD
   ----------------------------------------------------------------------- */

.featured-blog {
    padding: 120px 0;
    background: #f4f4f4;
}

.featured-blog__wrapper {
    margin-bottom: 60px;
}

.featured-blog__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 500ms ease, box-shadow 500ms ease;
}

.featured-blog__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.featured-blog__media {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-blog__image,
.featured-blog__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.featured-blog__card:hover .featured-blog__image {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #204cd1;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.featured-blog__content {
    padding: 40px;
}

.featured-blog__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-meta__author {
    font-size: 12.8px;
    font-weight: 600;
    color: #204cd1;
}

.blog-meta__separator {
    color: #999;
    font-weight: 400;
}

.blog-meta__date,
.blog-meta__read {
    font-size: 12.8px;
    color: #666;
    font-weight: 400;
}

.featured-blog__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.024px;
    margin-bottom: 20px;
}

.featured-blog__title a {
    color: #000;
    text-decoration: none;
    transition: color 150ms ease;
}

.featured-blog__title a:hover {
    color: #204cd1;
}

.featured-blog__excerpt {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.featured-blog__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.blog-tag {
    background: #f4f4f4;
    color: #666;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 150ms ease;
    text-decoration: none;
}

.blog-tag:hover {
    background: #204cd1;
    color: #ffffff;
}

.blog-tag--small {
    padding: 4px 10px;
    font-size: 10px;
}

.btn-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #204cd1;
    padding: 12px 0;
    transition: gap 150ms ease, color 150ms ease;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.btn-blog-read:hover {
    gap: 16px;
    color: #000;
}

.btn-blog-arrow {
    font-size: 18px;
    transition: transform 150ms ease;
}

.btn-blog-read:hover .btn-blog-arrow {
    transform: translateX(4px);
}

/* -----------------------------------------------------------------------
   BLOG FILTER AND GRID
   ----------------------------------------------------------------------- */

.blog-grid {
    padding: 80px 0 120px;
}

.blog-filter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding-bottom: 32px;
    border-bottom: 1px solid #dedede;
}

.blog-filter__left {
    flex: 1;
}

.blog-filter__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.024px;
    color: #000;
    margin-bottom: 8px;
}

.blog-filter__count {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    color: #999;
    margin: 0;
}

.blog-filter__right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.blog-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-filter__tag {
    padding: 10px 18px;
    border-radius: 999px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: 1px solid #dedede;
    transition: all 300ms ease;
    white-space: nowrap;
    text-decoration: none;
}

.blog-filter__tag:hover,
.blog-filter__tag.active {
    background: #204cd1;
    color: #ffffff;
    border-color: #204cd1;
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.blog-grid__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 500ms ease, box-shadow 500ms ease;
    height: fit-content;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.blog-card__media {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card__image,
.blog-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f4f4f4 0%, #dedede 100%);
}

.blog-placeholder-icon {
    font-size: 48px;
    opacity: 0.4;
}

.blog-card__content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-card__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 25.6px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8192px;
    margin: 0;
}

.blog-card__title a {
    color: #000;
    text-decoration: none;
    transition: color 150ms ease;
}

.blog-card__title a:hover {
    color: #333;
}

.blog-card__excerpt {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 600;
    color: #204cd1;
    transition: gap 150ms ease;
    text-decoration: none;
}

.blog-card__link:hover {
    gap: 12px;
}

.blog-card__arrow {
    font-size: 16px;
    transition: transform 150ms ease;
}

.blog-card__link:hover .blog-card__arrow {
    transform: translateX(2px);
}

/* -----------------------------------------------------------------------
   BLOG CTA SECTION
   ----------------------------------------------------------------------- */

.blog-cta {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.blog-cta__content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-cta__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.8432px;
    margin-bottom: 20px;
}

.blog-cta__text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* -----------------------------------------------------------------------
   BLOG POST PAGE STYLES
   ----------------------------------------------------------------------- */

.blog-post {
    padding-top: 64px;
}

/* Blog Header */
.blog-header {
    background: #f4f4f4;
    padding: 80px 0 60px;
}

.blog-header__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    color: #666;
}

.blog-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 150ms ease;
}

.blog-breadcrumb a:hover {
    color: #204cd1;
}

.blog-breadcrumb__separator {
    color: #999;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
}

.blog-meta__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta__right {
    color: #999;
    font-weight: 500;
}

.blog-header__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(40px, 4vw, 57.6px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.8432px;
    color: #000;
    margin-bottom: 24px;
}

.blog-header__excerpt {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.blog-tag-link {
    background: #ffffff;
    color: #666;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 500;
    transition: all 150ms ease;
    border: 1px solid #dedede;
    text-decoration: none;
}

.blog-tag-link:hover {
    background: #204cd1;
    color: #ffffff;
    border-color: #204cd1;
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Featured Image */
.blog-featured-image {
    padding: 40px 0 80px;
    background: #f4f4f4;
}

.blog-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.blog-featured-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* -----------------------------------------------------------------------
   BUTTONS (matching homepage)
   ----------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.1536px;
    text-transform: uppercase;
    color: #333;
    background: #ffffff;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 12px 16px 12px 12px;
    cursor: pointer;
    transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    background: #000;
    color: #ffffff;
    border-color: #000;
}

.btn--primary {
    background: #ffffff;
    color: #333;
    border-color: #999;
}

.btn--outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: #ffffff;
    color: #333;
    border-color: #ffffff;
}

.btn--large {
    padding: 12px 16px 12px 12px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* -----------------------------------------------------------------------
   EMPTY STATE
   ----------------------------------------------------------------------- */

.blog-empty {
    text-align: center;
    padding: 120px 20px;
}

.blog-empty__icon {
    font-size: 80px;
    margin-bottom: 32px;
    opacity: 0.3;
}

.blog-empty__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.024px;
    margin-bottom: 16px;
    color: #000;
}

.blog-empty__text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .blog-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-filter__right {
        flex: none;
        justify-content: flex-start;
        width: 100%;
    }

    .featured-blog__card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .featured-blog__media {
        height: 300px;
    }

    .featured-blog__content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: calc(64px + 40px) 0 80px;
    }

    .blog-hero__title {
        font-size: 40px;
    }

    .featured-blog {
        padding: 80px 0;
    }

    .blog-grid {
        padding: 60px 0;
    }

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

    .blog-card__content {
        padding: 24px;
    }

    .blog-filter__tags {
        gap: 8px;
    }

    .blog-filter__tag {
        padding: 8px 12px;
        font-size: 12px;
    }

    .blog-header {
        padding: 60px 0 40px;
    }

    .blog-header__title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .blog-hero__title {
        font-size: 32px;
    }

    .blog-header__title {
        font-size: 25.6px;
    }

    .blog-cta__title {
        font-size: 32px;
    }
}

/* -----------------------------------------------------------------------
   BLOG CONTENT LAYOUT
   ----------------------------------------------------------------------- */

.blog-content {
    padding: 60px 0 120px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.blog-main {
    max-width: none;
}

.blog-content__wrapper {
    margin-bottom: 40px;
}

.blog-prose {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-prose h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.024px;
    margin: 40px 0 20px;
    color: #000;
}

.blog-prose h3 {
    font-size: 25.6px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8192px;
    margin: 32px 0 16px;
    color: #000;
}

.blog-prose p {
    margin-bottom: 20px;
}

.blog-prose ul,
.blog-prose ol {
    margin: 20px 0;
    padding-left: 24px;
}

.blog-prose li {
    margin-bottom: 8px;
    list-style: disc;
}

.blog-prose blockquote {
    border-left: 4px solid #204cd1;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
}

/* -----------------------------------------------------------------------
   BLOG SHARE SECTION (IN SIDEBAR)
   ----------------------------------------------------------------------- */

.blog-share {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

.blog-share__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.blog-share__links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.blog-share__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 600;
    transition: all 150ms ease;
    text-decoration: none;
    border: 1px solid #dedede;
    background: #ffffff;
    color: #666;
    width: 100%;
    justify-content: center;
}

.blog-share__link--twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.blog-share__link--linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.blog-share__link--facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.blog-share__link--copy:hover {
    background: #666;
    color: white;
    border-color: #666;
}

.blog-share__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* -----------------------------------------------------------------------
   BLOG SIDEBAR
   ----------------------------------------------------------------------- */

.blog-sidebar {
    margin-top: 40px;
}

.blog-sidebar__content {
    position: static;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid #dedede;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-section__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.author-card {
    text-align: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25.6px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.author-card__name {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.author-card__bio {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.toc-card__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.toc-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    color: #000;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    font-weight: 500;
    transition: color 150ms ease;
    text-decoration: none;
}

.toc-link:hover {
    color: #666;
}

/* -----------------------------------------------------------------------
   RELATED POSTS (HORIZONTAL CARDS)
   ----------------------------------------------------------------------- */

.related-posts {
    background: #f4f4f4;
    padding: 80px 0;
}

.related-posts__header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 32px;
}

.related-posts__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.related-posts__subtitle {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    color: #666;
}

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

.related-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 300ms ease, box-shadow 300ms ease;
    width: 100%;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.related-card__media {
    height: 240px;
    overflow: hidden;
}

.related-card__image,
.related-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.related-card:hover .related-card__image {
    transform: scale(1.08);
}

.related-card__content {
    padding: 32px;
}

.related-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.8px;
    color: #666;
}

.related-card__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 25.6px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.related-card__title a {
    color: #000;
    text-decoration: none;
    transition: color 150ms ease;
}

.related-card__title a:hover {
    color: #333;
}

.related-card__excerpt {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* -----------------------------------------------------------------------
   NEWSLETTER SECTION (GREY/BLACK/WHITE THEME)
   ----------------------------------------------------------------------- */

.blog-newsletter {
    background: #f4f4f4;
    color: #000;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #dedede;
}

.blog-newsletter__content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 32px;
}

.blog-newsletter__title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.8432px;
    margin-bottom: 24px;
    color: #000;
}

.blog-newsletter__text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 19.2px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------------------------
   RESPONSIVE DESIGN ADDITIONS
   ----------------------------------------------------------------------- */

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

    .blog-sidebar__content {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

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

    .related-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-content {
        padding: 40px 0 80px;
    }

    .blog-share__links {
        justify-content: center;
    }

    .blog-share__link {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .related-posts__grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .blog-newsletter__title {
        font-size: 32px;
    }
}

/* -----------------------------------------------------------------------
   ANIMATION UTILITIES
   ----------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.blog-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.blog-stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

.blog-stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}