:root {
      --primary: #be0000;
      --text: #1a1a1a;
      --light: #f8f9fa;
      --gray: #6c757d;
      --max-content: 1300px;
    }

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

    body {
      font-family: system-ui, sans-serif;
      line-height: 1.68;
      color: var(--text);
      background: var(--light);
    }

    .apex-header-zone { max-width: var(--max-content); margin: 0 auto; padding: 0 20px; }

    .apex-hero-banner-frame {
      height: 547px; overflow: hidden; border-radius: 12px;
      margin: 32px 0 24px; background: #111;
    }
    .apex-hero-visual { width:100%; height:100%; object-fit:cover; transition: transform 0.7s ease; }
    .apex-hero-banner-frame:hover .apex-hero-visual { transform: scale(1.06); }

    .post-metadata-strip { display:flex; gap:28px; color:var(--gray); font-size:0.94rem; margin-bottom:32px; flex-wrap: wrap; }

    .primary-layout-canvas {
      max-width: var(--max-content); margin:0 auto;
      display: grid; grid-template-columns: 2fr 1fr; gap:48px;
      padding: 0 20px 80px;
    }

    .core-article-zone { font-size: 1.09rem; }
    .core-article-zone p { margin-bottom: 1.8em; }

    .embedded-visual-module {
      margin: 2.4em 0; border-radius:10px; overflow:hidden;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12); cursor:pointer;
      transition: all 0.4s ease;
    }
    .embedded-visual-module:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(0,0,0,0.18); }
    .embedded-visual-asset { width:100%; height:279px; object-fit:cover; }

    .distribution-hub-area { margin:48px 0 64px; }

    .distribution-trigger-btn {
      display:inline-flex; align-items:center; gap:10px;
      padding:12px 24px; background:var(--primary); color:white;
      border:none; border-radius:50px; font-weight:600; cursor:pointer;
      transition:all 0.3s;
    }
    .distribution-trigger-btn:hover { background:#000000; transform:translateY(-2px); }

    /* Share Modal */
    .distribution-overlay-layer { position:fixed; inset:0; background:rgba(0,0,0,0.7); display:none;
                   align-items:center; justify-content:center; z-index:1000; }
    .distribution-overlay-layer.active-state { display:flex; }

    .distribution-panel-box {
      background:white; padding:32px; border-radius:16px; max-width:460px; width:92%;
      text-align:center; position:relative;
    }

    .distribution-icons-cluster { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; }
    .distribution-platform-icon { width:52px; height:52px; border-radius:50%; color:white;
                   display:grid; place-items:center; font-size:1.4rem; transition:transform 0.3s; }
    .distribution-platform-icon:hover { transform:translateY(-6px) scale(1.12); }

    .overlay-dismiss-control { position:absolute; top:16px; right:20px; font-size:1.8rem; cursor:pointer; color:#666; }

    /* Sidebar */
    .auxiliary-content-wing { display:flex; flex-direction:column; gap:48px; }

    .monetization-unit-frame {
      width:300px; border-radius:12px; overflow:hidden; background:white;
      box-shadow:0 4px 20px rgba(0,0,0,0.08); transition:all 0.3s;
    }
    .monetization-unit-frame:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,0.12); }

    .monetization-sponsor-tag {
      background:linear-gradient(90deg, #0f0f0f, #383838); color:white;
      font-size:0.75rem; font-weight:600; padding:6px 12px;
      text-align:center; text-transform:uppercase;
    }

    .monetization-display-zone {
      height:250px; display:flex; align-items:center; justify-content:center;
      background:linear-gradient(135deg, #f5f7fa 0%, #e4e9fd 100%); color:#666;
    }
    .monetization-display-zone.extended-height { height:600px; }

    /* Recent Carousel */
    .chronological-feed-slider {
      width:300px; height:250px; background:white; border-radius:12px;
      overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,0.08); position:relative;
      user-select:none; touch-action:pan-y; contain:content; isolation:isolate; min-width:0;
    }

    .chronological-slider-caption {
      padding:14px 16px 8px; font-size:1.28rem; border-bottom:2px solid #eef2ff;
      display:flex; align-items:center; gap:10px;
    }
    .chronological-slider-caption i { color:var(--primary); }

    .chronological-slider-rail {
      width:100%; height:calc(100% - 54px); display:flex;
      transition:transform 0.5s cubic-bezier(0.25,0.1,0.25,1); will-change:transform;
    }

    .chronological-entry-tile {
      min-width:300px; height:100%; padding:12px; text-decoration:none; color:inherit;
      display:block; flex-shrink:0; background:rgba(13,110,253,0.03);
    }

    .chronological-entry-tile img { width:100%; height:140px; object-fit:cover; border-radius:8px; margin-bottom:10px; }

    .chronological-entry-headline {
      font-size:1.02rem; font-weight:600; line-height:1.35;
      display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    }

    .chronological-indicator-nav {
      position:absolute; bottom:12px; left:50%; transform:translateX(-50%);
      display:flex; gap:12px; z-index:5;
    }

    .indicator-bullet {
      width:10px; height:10px; border-radius:50%; background:#ccc; cursor:pointer;
      transition:all 0.3s;
    }
    .indicator-bullet.active-bullet { background:var(--primary); transform:scale(1.3); }

    /* Related Articles */
    .associated-content-module { margin:64px 0 32px; }

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

    .associated-entry-card {
      display:flex; flex-direction:column; background:white; border-radius:12px;
      overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,0.08);
      text-decoration:none; color:inherit; transition:all 0.3s ease;
    }
    .associated-entry-card:hover { transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,0.14); }

    .associated-entry-card img { width:100%; height:160px; object-fit:cover; }

    .associated-entry-headline {
      padding:14px 16px; font-size:1.05rem; font-weight:600; line-height:1.38;
      display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    }

    /* Mobile & Tablet Only - Force single column layout and mobile-optimized styles */
    @media (max-width: 1024px) {
      .primary-layout-canvas {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 16px 60px;
      }

      .apex-header-zone { padding: 0 16px; }

      .apex-hero-banner-frame {
        height: 420px;
        margin: 24px 0 20px;
        border-radius: 10px;
      }

      .post-metadata-strip {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        font-size: 0.96rem;
        margin-bottom: 28px;
      }

      .core-article-zone {
        font-size: 1.12rem;
      }
      .core-article-zone h1 {
        font-size: 1.9rem;
        line-height: 1.3;
      }

      .embedded-visual-asset { height: 260px; }

      .auxiliary-content-wing {
        gap: 40px;
      }

      .monetization-unit-frame {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
      }

      .monetization-display-zone.extended-height {
        height: 300px;
      }

      .chronological-feed-slider {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
      }

      .chronological-entry-tile {
        min-width: 100%;
      }

      .chronological-entry-tile img {
        height: 170px;
      }

      .associated-grid-matrix {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .associated-entry-card img {
        height: 220px;
      }

      .associated-entry-headline {
        padding: 16px;
        font-size: 1.1rem;
      }
    }

    @media (max-width: 768px) {
      .apex-hero-banner-frame { height: 360px; }
      .core-article-zone h1 { font-size: 1.8rem; }
      .embedded-visual-asset { height: 240px; }
    }

    @media (max-width: 480px) {
      .apex-header-zone { padding: 0 12px; }
      .primary-layout-canvas { padding: 0 12px 50px; }

      .apex-hero-banner-frame {
        height: 300px;
        border-radius: 8px;
        margin: 20px 0 16px;
      }

      .post-metadata-strip { font-size: 0.92rem; }

      .core-article-zone {
        font-size: 1.08rem;
      }
      .core-article-zone h1 {
        font-size: 1.6rem;
      }

      .embedded-visual-asset { height: 220px; }

      .distribution-trigger-btn {
        padding: 14px 28px;
        font-size: 1rem;
      }

      .monetization-display-zone {
        height: 250px;
      }
      .monetization-display-zone.extended-height {
        height: 250px;
      }

      .chronological-entry-tile img {
        height: 150px;
      }

      .associated-entry-card img {
        height: 200px;
      }
    }







    .voidFooterRealm {
            width: 100%;
            background-color: #000;
            color: #fff;
            padding: clamp(20px, 3vw, 30px) clamp(10px, 1.5vw, 20px);
            font-family: -apple-system, BlinkMacSystemFont, sans-serif;
            box-sizing: border-box;
        }

        /* Main footer content wrapper */
        .nebulaFooterCore {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            gap: clamp(10px, 2vw, 20px);
            align-items: flex-start;
        }

        /* Logo section */
        .lunarLogoHub {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .lunarLogoHub a {
            display: inline-block;
        }

        .lunarLogoHub img {
            width: clamp(80px, 15vw, 120px);
            height: auto;
            filter: brightness(0) invert(1);
        }

        .lunarLogoHub p {
            font-size: clamp(10px, 2vw, 12px);
            opacity: 0.7;
            margin: 0;
            line-height: 1.3;
        }

        /* Navigation links */
        .astroNavCluster {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: clamp(6px, 1vw, 8px);
        }

        .astroNavCluster ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .astroNavCluster li {
            margin-bottom: 6px;
        }

        .astroNavCluster a {
            color: #fff;
            text-decoration: none;
            font-size: clamp(11px, 2vw, 13px);
            font-weight: 500;
            transition: color 0.3s ease, transform 0.2s ease;
        }

        .astroNavCluster a:hover {
            color: #007bff;
            transform: translateX(4px);
        }

        /* Social media section */
        .cosmicSocialSphere {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .cosmicSocialSphere h3 {
            font-size: clamp(14px, 2.5vw, 16px);
            font-weight: 600;
            margin: 0;
        }

        .stellarSocialIcons {
            display: flex;
            flex-wrap: wrap;
            gap: clamp(6px, 1vw, 8px);
        }

        .stellarSocialIcons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: background 0.3s ease, transform 0.2s ease;
        }

        .stellarSocialIcons a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        .stellarSocialIcons svg {
            width: 20px;
            height: 20px;
            fill: #fff;
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .nebulaFooterCore {
                grid-template-columns: 1fr 1fr;
                gap: clamp(8px, 1.5vw, 15px);
            }

            .cosmicSocialSphere {
                grid-column: 1 / -1;
                align-items: center;
                text-align: center;
            }

            .stellarSocialIcons {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .voidFooterRealm {
                padding: clamp(10px, 2vw, 20px) clamp(8px, 1vw, 15px);
            }

            .nebulaFooterCore {
                grid-template-columns: 1fr;
                gap: clamp(10px, 2vw, 15px);
            }

            .lunarLogoHub {
                align-items: center;
                text-align: center;
            }

            .astroNavCluster {
                grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
                justify-items: center;
            }

            .astroNavCluster ul {
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .voidFooterRealm {
                padding: clamp(8px, 1.5vw, 15px) clamp(5px, 0.75vw, 10px);
            }

            .lunarLogoHub img {
                width: clamp(60px, 20vw, 100px);
            }

            .lunarLogoHub p {
                font-size: clamp(9px, 2vw, 11px);
            }

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

            .astroNavCluster ul {
                margin-bottom: 8px;
            }

            .astroNavCluster a {
                font-size: clamp(10px, 2vw, 12px);
            }

            .cosmicSocialSphere h3 {
                font-size: clamp(12px, 2.5vw, 14px);
            }

            .stellarSocialIcons a {
                width: 28px;
                height: 28px;
            }

            .stellarSocialIcons svg {
                width: 16px;
                height: 16px;
            }
        }

        @media (max-width: 360px) {
            .voidFooterRealm {
                padding: clamp(5px, 1.5vw, 10px) clamp(3px, 0.75vw, 5px);
            }

            .lunarLogoHub img {
                width: clamp(50px, 20vw, 80px);
            }

            .lunarLogoHub p {
                font-size: clamp(8px, 2vw, 10px);
            }

            .astroNavCluster a {
                font-size: clamp(9px, 2vw, 11px);
            }

            .cosmicSocialSphere h3 {
                font-size: clamp(11px, 2.5vw, 13px);
            }

            .stellarSocialIcons a {
                width: 24px;
                height: 24px;
            }

            .stellarSocialIcons svg {
                width: 14px;
                height: 14px;
            }
        }