/*
Theme Name: WEOM
Theme URI: https://example.com/weom
Author: Antigravity
Author URI: https://meom.net
Description: A futuristic, cosmic, and alchemical WordPress theme.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: WEOM
*/

:root {
    /* Cosmic Alchemy Palette */
    --color-void: #131418;
    /* Dark Charcoal/Navy Void */
    --color-space: #1c1e26;
    /* Deep Navy Space */
    --color-nebula: #2d1b4e;
    /* Deep purple */
    --color-alchemy-gold: #d4af37;
    /* Metallic gold */
    --color-neon-cyan: #00f3ff;
    /* Cybernetic cyan */
    --color-plasma-pink: #ff0055;
    /* Accent pink */
    --color-starlight: #e0e0e0;
    /* Off-white text */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    /* Futuristic headers */
}

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

body {
    background-color: var(--color-void);
    color: var(--color-starlight);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--color-starlight);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    color: var(--color-neon-cyan);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--color-alchemy-gold);
    text-shadow: 0 0 8px var(--color-alchemy-gold);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-void);
    box-shadow: 0 0 15px var(--color-neon-cyan);
}

/* --- Header & Navigation --- */
.site-header {
    padding: 20px 0;
    background: rgba(19, 20, 24, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.theme-logo,
.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Hamburger Menu Button */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background: var(--color-neon-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--color-neon-cyan);
}

.hamburger-menu:hover .hamburger-line {
    background: var(--color-alchemy-gold);
    box-shadow: 0 0 8px var(--color-alchemy-gold);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

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

.menu-overlay-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 30, 38, 0.98) 0%, rgba(19, 20, 24, 0.98) 100%);
    border-left: 1px solid rgba(0, 243, 255, 0.3);
    padding: 80px 40px 40px;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 243, 255, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-overlay.active .menu-overlay-content {
    transform: translateX(0);
}

/* Close Button */
.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-neon-cyan);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    color: var(--color-alchemy-gold);
    transform: rotate(90deg);
    text-shadow: 0 0 10px var(--color-alchemy-gold);
}

/* Overlay Navigation */
.overlay-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-navigation li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.menu-overlay.active .overlay-navigation li {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.active .overlay-navigation li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active .overlay-navigation li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-overlay.active .overlay-navigation li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-overlay.active .overlay-navigation li:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-overlay.active .overlay-navigation li:nth-child(5) {
    transition-delay: 0.5s;
}

.overlay-navigation a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-starlight);
    display: block;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.overlay-navigation a:hover {
    color: var(--color-neon-cyan);
    border-bottom-color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan);
    padding-left: 10px;
}

@media (max-width: 768px) {
    .menu-overlay-content {
        width: 100%;
        max-width: 100%;
    }
}


.btn-gold {
    border-color: var(--color-alchemy-gold);
    color: var(--color-alchemy-gold);
}

.btn-gold:hover {
    background: var(--color-alchemy-gold);
    color: var(--color-void);
    box-shadow: 0 0 15px var(--color-alchemy-gold);
}

/* --- Contact Section --- */
.contact-section-block {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro {
    color: var(--color-starlight);
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-large {
    padding: 18px 60px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* --- Attention Box --- */
.attention-box {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 30px;
    background: rgba(255, 0, 85, 0.05);
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-left: 4px solid var(--color-plasma-pink);
    text-align: left;
}

.attention-title {
    font-family: var(--font-display);
    color: var(--color-plasma-pink);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.attention-intro {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

.attention-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.9rem;
}

.attention-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-plasma-pink);
    font-weight: bold;
}

/* --- Contact Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid var(--color-neon-cyan);
    padding: 40px;
    width: 95%;
    max-width: 800px;
    height: 80vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-neon-cyan) rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-neon-cyan);
    border-radius: 3px;
}

.modal-overlay.is-open .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-neon-cyan);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
    text-shadow: 0 0 10px var(--color-neon-cyan);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-family: var(--font-display);
    color: #fff;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    border: none !important;
    border-left: none !important;
    /* Explicitly remove left border */
    /* Force remove any border */
    padding: 0 !important;
    /* Force remove padding */
    text-align: center;
    display: block;
}

/* --- Archive Template --- */
.archive-hero {
    background: linear-gradient(135deg, var(--color-nebula) 0%, var(--color-void) 100%);
    padding: 100px 0 60px;
    position: relative;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.archive-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.archive-hero .hero-content {
    position: relative;
    z-index: 2;
}

.archive-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.archive-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.archive-content-section {
    padding: 80px 0;
    background: var(--color-space);
}

.archive-posts-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.archive-post-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.archive-post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-neon-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-post-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateX(10px);
}

.archive-post-item:hover::before {
    opacity: 1;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-family: var(--font-display);
    font-size: 0.85rem;
}

.post-date {
    color: var(--color-alchemy-gold);
}

.post-category {
    color: var(--color-neon-cyan);
    text-transform: uppercase;
}

.archive-post-item .post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: normal;
}

.archive-post-item .post-title a {
    color: var(--color-starlight);
    transition: color 0.3s ease;
}

.archive-post-item .post-title a:hover {
    color: var(--color-neon-cyan);
}

.post-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--color-alchemy-gold);
    text-shadow: 0 0 5px var(--color-alchemy-gold);
}

/* Archive Pagination */
.archive-pagination {
    text-align: center;
    margin-top: 60px;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--color-starlight);
    font-family: var(--font-display);
    transition: all 0.3s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.archive-pagination .prev,
.archive-pagination .next {
    font-weight: bold;
}

.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}


.modal-line {
    width: 60px;
    height: 3px;
    background: var(--color-alchemy-gold);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--color-alchemy-gold);
}

/* Modal Corners */
.modal-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--color-alchemy-gold);
    pointer-events: none;
}

.corner-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* --- Common Styles --- */
.latest-news-section,
.mission-vision-section,
.utopia-section,
.business-section {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.mv-block,
.business-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- Whitepaper Download Section --- */
.whitepaper-section {
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.whitepaper-section .whitepaper-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px 40px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(28, 30, 38, 0.5) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.whitepaper-section .whitepaper-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            var(--color-plasma-pink),
            var(--color-alchemy-gold));
    background-size: 300% 300%;
    z-index: -1;
    animation: gradient-border 4s ease infinite;
    border-radius: inherit;
}

@keyframes gradient-border {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.whitepaper-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.whitepaper-content {
    position: relative;
    z-index: 2;
}

.whitepaper-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid var(--color-neon-cyan);
    border-radius: 50%;
    color: var(--color-neon-cyan);
    transition: all 0.3s ease;
}

.whitepaper-section .whitepaper-card:hover .whitepaper-icon {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.whitepaper-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.whitepaper-description {
    font-size: 0.95rem;
    color: var(--color-starlight);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whitepaper-btn {
    display: inline-block;
    position: relative;
    padding: 12px 35px;
    background: transparent;
    border: 2px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
}

.whitepaper-btn .btn-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.whitepaper-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.whitepaper-btn:hover .btn-arrow {
    transform: translateY(3px);
    animation: bounce-arrow 0.6s ease infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(3px);
    }

    50% {
        transform: translateY(8px);
    }
}

.whitepaper-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.whitepaper-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-void);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6), 0 0 60px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}

.whitepaper-btn:hover .btn-glow {
    left: 100%;
}

/* Whitepaper Corners */
.whitepaper-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--color-alchemy-gold);
    pointer-events: none;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.whitepaper-section .whitepaper-card:hover .whitepaper-corner {
    opacity: 1;
    width: 30px;
    height: 30px;
}

.whitepaper-corner.corner-tl {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.whitepaper-corner.corner-tr {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.whitepaper-corner.corner-bl {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.whitepaper-corner.corner-br {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

/* Responsive */
@media (max-width: 768px) {
    .whitepaper-section .whitepaper-card {
        padding: 40px 25px;
    }

    .whitepaper-title {
        font-size: 2rem;
    }

    .whitepaper-description {
        font-size: 1rem;
    }

    .whitepaper-btn {
        padding: 15px 35px;
        font-size: 1rem;
    }
}


/* --- Single & Page Templates --- */
.static-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--color-neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.static-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 18, 0.3), var(--color-void));
    /* Fade into void */
    z-index: 1;
}

.static-hero-overlay::before {
    /* Grid Pattern Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.static-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.static-hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8), 0 0 40px rgba(0, 243, 255, 0.4);
    letter-spacing: 2px;
}

.post-meta {
    font-family: var(--font-display);
    /* Tech font for meta */
    color: var(--color-neon-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.post-meta span {
    margin: 0 10px;
}

.content-container {
    max-width: 840px;
    /* Slightly wider for the frame */
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content {
    color: var(--color-starlight);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 60px;
    position: relative;
    /* Neon Frame Corners */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.entry-content::before,
.entry-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-neon-cyan);
    transition: all 0.3s ease;
}

.entry-content::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.entry-content::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.entry-content h2 {
    font-family: var(--font-display);
    color: var(--color-alchemy-gold);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    padding-left: 24px;
    letter-spacing: 0.5px;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 95%;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            transparent);
    box-shadow: 0 0 8px var(--color-alchemy-gold);
    animation: h2-glow 3s ease-in-out infinite;
}

@keyframes h2-glow {

    0%,
    100% {
        opacity: 0.8;
        box-shadow: 0 0 8px var(--color-alchemy-gold);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px var(--color-alchemy-gold), 0 0 25px var(--color-neon-cyan);
    }
}

/* Mobile: Hide diamond and adjust line height for H2 */
@media (max-width: 768px) {
    .entry-content h2 {
        padding-left: 0;
        line-height: 1.1;
    }

    .entry-content h2::before {
        display: none;
    }
}

.entry-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-neon-cyan);
    padding-left: 15px;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content strong,
.entry-content b {
    color: var(--color-alchemy-gold);
    font-weight: bold;
}

/* --- Entry Content Lists --- */
.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
    /* Base indentation */
}

.entry-content ul {
    list-style: none;
    /* Remove default bullets */
}

.entry-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.entry-content ul li::before {
    content: '•';
    /* Custom bullet */
    color: var(--color-neon-cyan);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    /* Match text line-height */
}

.entry-content ol {
    list-style: decimal;
    padding-left: 40px;
    /* More space for numbers */
}

.entry-content ol li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content ol li::marker {
    color: var(--color-alchemy-gold);
    font-family: var(--font-display);
    font-weight: bold;
}

/* Nested Lists */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 30px;
    /* Indent nested lists */
}

.entry-content ul ul li::before {
    content: '◦';
    /* Different bullet for nested */
    color: var(--color-alchemy-gold);
}

.entry-content ul ul li::before {
    content: '◦';
    /* Different bullet for nested */
    color: var(--color-alchemy-gold);
}

/* --- Blockquotes --- */
.entry-content blockquote {
    margin: 30px 0;
    padding: 60px 30px 30px 30px;
    /* Increased top padding significantly */
    /* Increased top padding */
    border-left: 4px solid var(--color-alchemy-gold);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    position: relative;
}

.entry-content blockquote::before {
    content: '“';
    position: absolute;
    top: 10px;
    /* Moved down slightly */
    left: 20px;
    /* Moved right slightly */
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    font-family: serif;
    line-height: 1;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--color-neon-cyan);
    font-style: normal;
    text-align: right;
}

/* --- Code Blocks --- */
.entry-content pre {
    background: #0a0a12;
    /* Very dark background */
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 20px;
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 4px;
    position: relative;
}

.entry-content pre::before {
    /* Tech Label */
    content: 'CODE';
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 243, 255, 0.1);
    color: var(--color-neon-cyan);
    font-size: 0.7rem;
    padding: 2px 8px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.entry-content code {
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-plasma-pink);
}

.entry-content pre code {
    color: var(--color-starlight);
    background: none;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Inline Code */
.entry-content p code,
.entry-content li code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content p code,
.entry-content li code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Tables --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.entry-content th {
    background: rgba(0, 243, 255, 0.1);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px;
    text-align: left;
    border-bottom: none;
    /* Reset generic border */
}

.entry-content thead th {
    border-bottom: 2px solid var(--color-alchemy-gold);
}

.entry-content tbody th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(0, 243, 255, 0.2);
    /* Add separator for vertical header */
}

.entry-content td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.3s ease;
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* --- Single Post Whitepaper CTA --- */
.single-whitepaper-cta {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.2) 0%, rgba(28, 30, 38, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.single-whitepaper-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
            transparent,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            transparent);
}

.single-whitepaper-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.single-whitepaper-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid var(--color-neon-cyan);
    border-radius: 50%;
    color: var(--color-neon-cyan);
    transition: all 0.3s ease;
}

.single-whitepaper-cta:hover .single-whitepaper-icon {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
    transform: scale(1.05) rotate(5deg);
}

.single-whitepaper-text {
    flex: 1;
}

.single-whitepaper-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-whitepaper-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.single-whitepaper-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.single-whitepaper-btn svg {
    transition: transform 0.3s ease;
}

.single-whitepaper-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-void);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    transform: translateX(3px);
}

.single-whitepaper-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .single-whitepaper-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

/* --- Author Box --- */
.author-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.author-box::before {
    /* Tech Scan Line */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-neon-cyan);
    opacity: 0.5;
    box-shadow: 0 0 10px var(--color-neon-cyan);
}

.author-header {
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(0, 243, 255, 0.3);
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.written-by {
    font-family: var(--font-display);
    color: var(--color-neon-cyan);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 243, 255, 0.1);
    padding: 4px 12px;
    border-radius: 2px;
}

.author-details {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.author-avatar img {
    border-radius: 4px;
    /* Techy corners */
    border: 2px solid var(--color-alchemy-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.author-desc {
    color: var(--color-starlight);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .static-hero-title {
        font-size: 2rem;
    }

    .entry-content {
        padding: 30px;
    }

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

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #2d1b4e 0%, var(--color-void) 70%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

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

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.hero-title .highlight {
    color: var(--color-alchemy-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-neon-cyan);
    top: -50px;
    left: -50px;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-plasma-pink);
    bottom: -100px;
    right: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* --- Latest News Section --- */
.latest-news-section {
    padding: 60px 0;
    /* Override common padding */
    background: var(--color-space);
}

.news-knowledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .news-knowledge-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.news-column {
    min-width: 0;
    /* Prevent grid overflow */
}

.no-posts {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 20px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 4px solid var(--color-neon-cyan);
    padding-left: 15px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.news-date {
    font-family: var(--font-display);
    color: var(--color-alchemy-gold);
    margin-right: 30px;
    min-width: 120px;
}

.news-title {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: normal;
}

.news-title a {
    color: var(--color-starlight);
}

.news-title a:hover {
    color: var(--color-neon-cyan);
}

.news-archive-link {
    margin-top: 40px;
    text-align: right;
}

.btn-text {
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-text:hover {
    color: var(--color-alchemy-gold);
    text-shadow: 0 0 5px var(--color-alchemy-gold);
}

/* --- Mission & Vision Section --- */
.mission-vision-section {
    background: linear-gradient(to bottom, var(--color-space), var(--color-void));
    padding-bottom: 20px;
    /* Reduced bottom padding to connect with UTOPIA */
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* .mv-block inherits common .mv-block styles */
.mv-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-alchemy-gold), transparent);
}

.mv-title {
    font-size: 2.5rem;
    color: var(--color-neon-cyan);
    position: relative;
    margin-bottom: 15px;
    pointer-events: auto;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.mv-subtitle {
    font-size: 1.4rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-family: var(--font-main);
    font-weight: 600;
}

.mv-content {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
}

.mv-content p {
    margin-bottom: 20px;
}

/* --- UTOPIA Section --- */
.utopia-section {
    background: var(--color-void);
    padding-top: 20px;
    padding-bottom: 40px;
    /* Reduced top/bottom padding to connect with Mission/Vision and Business */
}

.utopia-block {
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.utopia-block .mv-title {
    margin-bottom: 20px;
}

/* --- Business Section --- */
.business-section {
    background: var(--color-void);
    padding-top: 40px;
    /* Reduced top padding to connect with UTOPIA */
}

.business-intro {
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.business-intro p {
    margin-bottom: 20px;
}

.target-audience-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.target-label {
    font-size: 1rem;
    color: var(--color-alchemy-gold);
    font-weight: 700;
    white-space: nowrap;
    margin-right: 10px;
}

.target-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.target-tags li {
    font-size: 0.9rem;
    color: var(--color-starlight);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.target-tags li:hover {
    border-color: var(--color-alchemy-gold);
    background: rgba(212, 175, 55, 0.1);
}

.service-list-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-list-summary li {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--color-neon-cyan);
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--color-neon-cyan);
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--color-neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.service-title {
    font-size: 1.6rem;
    color: var(--color-starlight);
    margin-bottom: 15px;
    font-family: var(--font-main);
    font-weight: 700;
    border-bottom: 2px solid var(--color-alchemy-gold);
    padding-bottom: 10px;
    display: inline-block;
}

.service-one-liner {
    font-size: 1.1rem;
    color: var(--color-neon-cyan);
    margin-bottom: 30px;
    font-weight: 600;
}

.service-details h4 {
    font-size: 1rem;
    color: var(--color-alchemy-gold);
    margin-top: 25px;
    margin-bottom: 10px;
    border-left: 3px solid var(--color-alchemy-gold);
    padding-left: 10px;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-details ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.service-details ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-neon-cyan);
}

.service-details ul ul {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 10px;
    width: 100%;
}

.service-price {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.price-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.price-value {
    font-size: 1.2rem;
    color: var(--color-alchemy-gold);
    font-weight: 700;
    font-family: var(--font-display);
}

.content-area {
    padding: 60px 20px;
}

article {
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

/* --- Unique Value Section --- */
.unique-value-block {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title-small {
    font-size: 1.8rem;
    color: var(--color-starlight);
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-display);
}

.unique-value-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

/* Accordion */
.value-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto 60px;
}

.value-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.value-accordion:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.value-accordion[open] {
    background: rgba(45, 27, 78, 0.3);
    border-color: var(--color-alchemy-gold);
}

.value-accordion summary {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    list-style: none;
    position: relative;
}

.value-accordion summary::-webkit-details-marker {
    display: none;
}

.accordion-number {
    font-family: var(--font-display);
    color: var(--color-alchemy-gold);
    font-size: 1.2rem;
    margin-right: 20px;
    opacity: 0.7;
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-starlight);
    flex: 1;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-neon-cyan);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.accordion-icon::before {
    width: 2px;
    height: 100%;
}

.accordion-icon::after {
    width: 100%;
    height: 2px;
}

.value-accordion[open] .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    padding: 0 30px 30px 70px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content ul {
    list-style: none;
    padding: 0;
}

.accordion-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.accordion-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-neon-cyan);
}

.comparison-list,
.advantage-list {
    margin: 15px 0;
    padding-left: 20px;
}

.advantage-list li {
    color: var(--color-alchemy-gold) !important;
    font-weight: 600;
}

.fermi-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-neon-cyan);
}

/* Value Proposition */
.value-proposition {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-alchemy-gold), transparent);
}

.value-prop-title {
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 30px;
    font-family: var(--font-display);
}

.value-prop-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.value-prop-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.value-prop-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-neon-cyan);
    font-size: 1.2rem;
}

.value-prop-summary {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-starlight);
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .accordion-content {
        padding: 0 20px 20px 20px;
    }

    .value-proposition {
        padding: 30px 20px;
    }
}

/* --- Case Studies Section --- */
.case-studies-block {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-alchemy-gold);
    transform: translateY(-5px);
}

.case-title {
    font-size: 1.1rem;
    color: var(--color-starlight);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 3.3em;
    /* Align heights */
    border-bottom: 2px solid var(--color-alchemy-gold);
    padding-bottom: 10px;
    display: block;
    /* Changed from inline-block */
    width: 100%;
    /* Ensure full width underline */
}

.case-image {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.case-keywords span {
    font-size: 0.8rem;
    color: var(--color-neon-cyan);
    background: rgba(0, 243, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

/* --- Media & Speaking Section --- */
.media-speaking-block {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.media-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .media-list {
        grid-template-columns: 1fr 1fr;
    }
}

.media-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-alchemy-gold);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.media-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: -5px 0 15px rgba(212, 175, 55, 0.1);
}

.media-date {
    font-family: var(--font-display);
    color: var(--color-alchemy-gold);
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.media-title {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Single & Page Templates --- */
.case-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    text-align: justify;
}

/* --- Contact Form 7 Styles --- */
#weom-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#weom-contact-form .form-group {
    margin-bottom: 20px;
    /* Reduced spacing between groups */
    position: relative;
}

/* 2-Column Layout */
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
    /* Prevent overflow */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Remove default p margins and hide br tags generated by CF7 */
#weom-contact-form p {
    margin: 0;
    padding: 0;
}

#weom-contact-form br {
    display: none;
}

/* Labels */
#weom-contact-form label,
.wpcf7-form label {
    display: block;
    font-family: var(--font-display);
    color: var(--color-neon-cyan) !important;
    font-size: 0.9rem;
    margin-bottom: 8px;
    /* Reduced space between label and input */
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

/* Inputs (Targeting IDs and Generic Classes) */
#cf-name,
#cf-email,
#cf-subject,
#cf-message,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    background-color: rgba(10, 10, 18, 0.8) !important;
    /* Force Dark Background */
    border: 1px solid rgba(0, 243, 255, 0.3) !important;
    border-radius: 4px;
    padding: 15px;
    color: #fff !important;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}

/* Focus State */
#cf-name:focus,
#cf-email:focus,
#cf-subject:focus,
#cf-message:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    background-color: rgba(0, 243, 255, 0.05) !important;
    border-color: var(--color-neon-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    outline: none;
}

/* Textarea Height */
#cf-message,
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
#cf-submit,
.wpcf7-submit {
    background: transparent !important;
    color: var(--color-alchemy-gold) !important;
    font-family: var(--font-display);
    font-size: 1.1rem;
    padding: 15px 40px;
    border: 1px solid var(--color-alchemy-gold) !important;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    margin-top: 20px;
    -webkit-appearance: none;
}

#cf-submit:hover,
.wpcf7-submit:hover {
    background-color: var(--color-alchemy-gold) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Placeholder */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* --- CF7 Response Messages --- */
.wpcf7-response-output {
    background-color: rgba(10, 10, 18, 0.95) !important;
    border: 1px solid var(--color-neon-cyan) !important;
    border-left: 4px solid var(--color-neon-cyan) !important;
    color: var(--color-starlight) !important;
    padding: 20px !important;
    margin: 30px 0 0 !important;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    animation: fadeIn 0.5s ease;
}

/* Success Message (Gold) */
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--color-alchemy-gold) !important;
    border-left-color: var(--color-alchemy-gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Error Message (Pink) */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: var(--color-plasma-pink) !important;
    border-left-color: var(--color-plasma-pink) !important;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.15);
}

/* Validation Tips */
.wpcf7-not-valid-tip {
    color: var(--color-plasma-pink) !important;
    font-size: 0.85rem;
    margin-top: 8px;
    display: block;
    font-family: var(--font-main);
}

/* --- News Magazine Template --- */
.news-magazine-page {
    padding-top: 40px;
    background: var(--color-space);
}

.magazine-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.magazine-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-alchemy-gold);
    box-shadow: 0 0 10px var(--color-alchemy-gold);
}

.magazine-title {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.magazine-subtitle {
    font-family: var(--font-display);
    color: var(--color-neon-cyan);
    letter-spacing: 4px;
    font-size: 0.9rem;
}

/* Featured Article */
.magazine-featured {
    margin-bottom: 80px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.2);
    overflow: hidden;
}

.featured-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

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

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

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(19, 20, 24, 0) 0%, rgba(19, 20, 24, 0.8) 100%);
    pointer-events: none;
}

.featured-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-title a {
    color: var(--color-starlight);
}

.featured-title a:hover {
    color: var(--color-neon-cyan);
}

.featured-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Magazine Layout (Main + Sidebar) */
.magazine-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-bottom: 80px;
}

/* Magazine Grid */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.magazine-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.magazine-item:hover {
    border-color: var(--color-neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.magazine-item:hover .magazine-img {
    transform: scale(1.1);
}

.magazine-item-content {
    padding: 20px;
}

.post-meta-mini {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.magazine-item-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.magazine-item-title a {
    color: var(--color-starlight);
}

.magazine-item-title a:hover {
    color: var(--color-alchemy-gold);
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 50px;
}

.widget-title {
    font-size: 1.2rem;
    border-left: 3px solid var(--color-alchemy-gold);
    padding-left: 15px;
    margin-bottom: 25px;
    color: var(--color-starlight);
}

.category-list,
.tag-cloud {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.category-list a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a:hover {
    color: var(--color-neon-cyan);
    padding-left: 5px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem !important;
    margin: 0 5px 10px 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    background: rgba(0, 243, 255, 0.05);
}

/* Sidebar Whitepaper Widget */
.sidebar-whitepaper {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.2) 0%, rgba(28, 30, 38, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.sidebar-whitepaper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            transparent);
}

.whitepaper-widget-content {
    position: relative;
    z-index: 2;
}

.whitepaper-widget-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid var(--color-neon-cyan);
    border-radius: 50%;
    color: var(--color-neon-cyan);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.sidebar-whitepaper:hover .whitepaper-widget-icon {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transform: scale(1.05);
}

.sidebar-whitepaper .widget-title {
    font-size: 1.2rem;
    border-left: none;
    padding-left: 0;
    margin-bottom: 12px;
    color: var(--color-alchemy-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whitepaper-widget-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 18px;
}

.whitepaper-widget-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whitepaper-widget-btn svg {
    transition: transform 0.3s ease;
}

.whitepaper-widget-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-void);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    transform: translateX(3px);
}

.whitepaper-widget-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image-wrapper {
        min-height: 300px;
    }

    .featured-content {
        padding: 30px;
    }

    .magazine-layout {
        grid-template-columns: 1fr;
    }

    .magazine-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

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

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

    .magazine-title {
        font-size: 2rem;
    }
}

/* Geometric Art Canvas */
.geometric-art-link {
    display: block;
    width: 100%;
    height: 100%;
}

.geometric-art-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========================================
   Whitepaper Library Template Styles
   ======================================== */

.whitepaper-library-page {
    padding: 80px 0;
    background: var(--color-void);
}

/* Library Header */
.whitepaper-library-header {
    text-align: center;
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.library-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.library-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Whitepapers Grid */
.whitepapers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Whitepaper Card */
.whitepaper-card {
    position: relative;
    transition: transform 0.5s ease;
}

.whitepaper-card:hover {
    transform: translateY(-5px);
}

.whitepaper-card-inner {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(28, 30, 38, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.8s ease;
}

.whitepaper-card:hover .whitepaper-card-inner {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.whitepaper-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.whitepaper-thumbnail .geometric-art-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.whitepaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

/* Card Content */
.whitepaper-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.whitepaper-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.whitepaper-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

.whitepaper-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    border: 2px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.whitepaper-download-btn svg {
    transition: transform 0.3s ease;
}

.whitepaper-download-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-void);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.whitepaper-download-btn:hover svg {
    transform: translateY(3px);
    animation: bounce-download 0.6s ease infinite;
}

@keyframes bounce-download {

    0%,
    100% {
        transform: translateY(3px);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Card Corners */
.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-alchemy-gold);
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.6s ease;
}

.whitepaper-card:hover .card-corner {
    opacity: 1;
    width: 25px;
    height: 25px;
}

.card-corner.corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.card-corner.corner-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.card-corner.corner-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.card-corner.corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* No Whitepapers */
.no-whitepapers {
    text-align: center;
    padding: 100px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Whitepaper Modal */
.whitepaper-modal {
    max-width: 95%;
    width: 1400px;
    height: 90vh;
}

.whitepaper-modal .modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* Modal Grid Layout */
.whitepaper-modal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Left Content Area (2/3) */
.whitepaper-modal-content {
    padding-right: 20px;
}

.whitepaper-modal-content .entry-content {
    color: var(--color-starlight);
    line-height: 1.8;
}

/* Match single post heading styles */
.whitepaper-modal-content .entry-content h2 {
    font-family: var(--font-display);
    color: var(--color-alchemy-gold);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    padding-left: 24px;
    letter-spacing: 0.5px;
}

.whitepaper-modal-content .entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 95%;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            transparent);
    box-shadow: 0 0 8px var(--color-alchemy-gold);
    animation: h2-glow 3s ease-in-out infinite;
}

.whitepaper-modal-content .entry-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.whitepaper-modal-content .entry-content p {
    margin-bottom: 1.5rem;
}

.whitepaper-modal-content .entry-content ul,
.whitepaper-modal-content .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.whitepaper-modal-content .entry-content li {
    margin-bottom: 0.5rem;
}

/* Right Sidebar (1/3) */
.whitepaper-modal-sidebar {
    position: sticky;
    top: 0;
    height: fit-content;
}

.download-form-wrapper {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(28, 30, 38, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    position: relative;
}

.download-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
            transparent,
            var(--color-alchemy-gold),
            var(--color-neon-cyan),
            transparent);
}

.download-form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-alchemy-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-form-wrapper iframe {
    width: 100%;
    height: 600px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 768px) {
    .library-title {
        font-size: 2rem;
    }

    .whitepapers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whitepaper-thumbnail {
        height: 200px;
    }

    .whitepaper-card-content {
        padding: 20px;
    }

    .whitepaper-download-btn {
        width: 100%;
    }

    .whitepaper-modal {
        width: 98%;
        height: 90vh;
        padding: 40px 10px 40px;
    }

    .whitepaper-modal .modal-body {
        padding: 10px;
    }

    .whitepaper-modal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whitepaper-modal-content {
        padding-right: 0;
    }

    .whitepaper-modal-content .entry-content {
        padding: 10px;
    }

    .whitepaper-modal-content .entry-content h2 {
        padding-left: 24px;
    }

    .whitepaper-modal-content .entry-content h2::before {
        display: block;
    }

    .download-form-wrapper iframe {
        height: 400px;
    }
}