/* WebFort Custom Animations and Effects */

/* ============================================
   ANIMATED GRADIENT MESH BACKGROUND
   ============================================ */
.gradient-bg {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f3c 50%, #0a0f1c 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(200, 255, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: gradientMove 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* ============================================
   FLOATING ORBS
   ============================================ */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.5);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(200, 255, 0, 0.3);
    top: 60%;
    right: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(96, 165, 250, 0.4);
    bottom: 10%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

/* ============================================
   GLASS CARD EFFECTS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only apply hover effects to glass cards NOT in header */
.glass-card:not(.webfort-header .glass-card):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 255, 0, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -20px rgba(200, 255, 0, 0.2);
}

/* Header glass card - full hover effect matching WebFort */
.webfort-header .glass-card:hover,
.header-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 255, 0, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -20px rgba(200, 255, 0, 0.2);
}

/* Post cards in query loop */
.wp-block-post.glass-card-post {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-post.glass-card-post:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 255, 0, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -20px rgba(200, 255, 0, 0.2);
}

/* ============================================
   GLOWING TEXT EFFECTS
   ============================================ */
.glow-text {
    text-shadow: 0 0 80px rgba(200, 255, 0, 0.5);
}

.animated-gradient-text {
    background: linear-gradient(90deg, #2563eb, #c8ff00, #60a5fa, #2563eb);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ============================================
   GLOW BUTTON EFFECTS
   ============================================ */
.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.float {
    animation: float 6s ease-in-out infinite;
}

.float-delay-1 { animation-delay: -2s; }
.float-delay-2 { animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse-ring {
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   NOISE OVERLAY - disabled to prevent lines
   ============================================ */
.noise {
    display: none;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
html {
    scrollbar-width: thin;
    scrollbar-color: #2563eb #0a0f1c;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0f1c;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c8ff00;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.nav-link {
    position: relative;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 255, 0, 0.15), rgba(96, 165, 250, 0.15));
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #c8ff00;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.webfort-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 1rem;
    background: transparent;
}

.webfort-header .glass-card,
.webfort-header .header-glass {
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Header logo */
.webfort-header .header-logo,
.webfort-header .wp-block-image {
    margin: 0 !important;
    flex-shrink: 0;
}

.webfort-header .header-logo img {
    display: block;
}

/* Header navigation container */
.webfort-header .header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Nav links */
.webfort-header .nav-link {
    position: relative;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
}

.webfort-header .nav-link a {
    color: inherit;
    text-decoration: none;
}

.webfort-header .nav-link:hover {
    color: #c8ff00;
    background: rgba(200, 255, 0, 0.1);
}

/* Lime colored nav link (Free Website) */
.webfort-header .nav-link-lime,
.webfort-header .nav-link-lime a {
    color: #c8ff00 !important;
}

.webfort-header .nav-link-lime:hover {
    background: rgba(200, 255, 0, 0.15);
}

/* Dropdown trigger */
.webfort-header .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.webfort-header .dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.webfort-header .nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.webfort-header .nav-dropdown {
    position: relative;
}

.webfort-header .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    padding: 12px;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 255, 0, 0.2);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(200, 255, 0, 0.1);
    z-index: 100;
}

.webfort-header .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.webfort-header .nav-dropdown-item {
    margin: 0;
    padding: 0;
}

.webfort-header .nav-dropdown-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

.webfort-header .nav-dropdown-item a:hover {
    background: rgba(200, 255, 0, 0.15);
    color: #c8ff00;
    transform: translateX(4px);
}

.webfort-header .dropdown-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.webfort-header .nav-dropdown-item a:hover .dropdown-icon {
    opacity: 1;
}

/* Header actions */
.webfort-header .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.webfort-header .login-link {
    margin: 0;
}

.webfort-header .login-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.webfort-header .login-link a:hover {
    color: white;
}

/* Get Started button */
.webfort-header .get-started-btn .wp-block-button__link {
    white-space: nowrap;
}

/* Fix header layout on mobile */
@media (max-width: 1024px) {
    .webfort-header .glass-card,
    .webfort-header .header-glass {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .webfort-header .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .webfort-header .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .webfort-header .header-actions {
        gap: 12px;
    }

    .webfort-header .login-link {
        display: none;
    }
}

/* ============================================
   FEATURED IMAGE STYLES
   ============================================ */
.wp-block-post-featured-image img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.02);
}

/* ============================================
   404 PAGE STYLES
   ============================================ */
.number-shadow {
    text-shadow:
        0 0 40px rgba(200, 255, 0, 0.5),
        0 0 80px rgba(200, 255, 0, 0.3),
        0 0 120px rgba(200, 255, 0, 0.1);
}

.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-5px, 2px); }
    94% { transform: translate(5px, -2px); }
    96% { transform: translate(-3px, -1px); }
    98% { transform: translate(3px, 1px); }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 782px) {
    .orb {
        display: none;
    }

    .gradient-bg::before {
        opacity: 0.5;
    }
}

/* ============================================
   WORDPRESS BLOCK OVERRIDES
   ============================================ */

/* Navigation links in header */
.wp-block-navigation a {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
    color: #c8ff00 !important;
}

/* Post grid styling */
.wp-block-post-template.is-style-glass-cards .wp-block-post {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-post-template.is-style-glass-cards .wp-block-post:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 255, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(200, 255, 0, 0.2);
}

/* Search input styling */
.wp-block-search__input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 16px 20px !important;
    transition: all 0.3s ease !important;
}

.wp-block-search__input:focus {
    border-color: rgba(200, 255, 0, 0.5) !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.1) !important;
}

.wp-block-search__input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Code block styling */
.wp-block-code {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
}

.wp-block-code code {
    color: #c8ff00 !important;
}

/* Quote styling */
.wp-block-quote {
    border-left: 4px solid #c8ff00 !important;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px 32px;
    border-radius: 0 16px 16px 0;
}

/* Separator styling */
.wp-block-separator {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Comments styling */
.wp-block-comments {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
}

/* Comment form inputs */
.wp-block-post-comments-form input,
.wp-block-post-comments-form textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.wp-block-post-comments-form input:focus,
.wp-block-post-comments-form textarea:focus {
    border-color: rgba(200, 255, 0, 0.5) !important;
    outline: none !important;
}

/* Pagination styling */
.wp-block-query-pagination-numbers .page-numbers {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers.current {
    background: rgba(200, 255, 0, 0.2);
    border-color: rgba(200, 255, 0, 0.5);
    color: #c8ff00;
}

/* Tag and category styling */
.wp-block-post-terms a {
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid rgba(200, 255, 0, 0.3);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.wp-block-post-terms a:hover {
    background: rgba(200, 255, 0, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER STYLES
   ============================================ */

/* Override global lime link color for all footer links */
.webfort-footer a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.webfort-footer a:hover {
    color: #c8ff00 !important;
}

/* Logo link should not be dimmed */
.webfort-footer .wp-block-image a {
    color: inherit !important;
}

/* Legal links hover to white instead of lime */
.webfort-footer .footer-legal a:hover {
    color: white !important;
}

.webfort-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
}


/* Remove any default list markers */
.wp-block-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.wp-block-list li {
    list-style: none !important;
}

.wp-block-list li::marker {
    content: none;
}

/* ============================================
   SINGLE POST PAGE - STUNNING REDESIGN
   ============================================ */

/* Hero Glow Effect */
.single-post-page .hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(200, 255, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Extra orb for hero area */
.single-post-page .orb-hero {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 255, 0, 0.25) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
    top: 5%;
    right: -5%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
    animation-delay: -2s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.single-post-page .post-hero {
    position: relative;
    z-index: 5;
}

/* Category Badge in Hero */
.single-post-page .hero-category {
    display: inline-flex;
}

.single-post-page .hero-category a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(200, 255, 0, 0.15) 0%, rgba(200, 255, 0, 0.05) 100%);
    border: 1px solid rgba(200, 255, 0, 0.4);
    border-radius: 9999px;
    color: #c8ff00 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.1);
}

.single-post-page .hero-category a:hover {
    background: linear-gradient(135deg, rgba(200, 255, 0, 0.25) 0%, rgba(200, 255, 0, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 255, 0, 0.2);
}

/* Hero Title */
.single-post-page .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    color: white !important;
    text-shadow: 0 0 80px rgba(200, 255, 0, 0.15);
    max-width: 900px;
    position: relative;
}

/* Subtle gradient underline on title */
.single-post-page .hero-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #c8ff00 0%, rgba(200, 255, 0, 0) 100%);
    border-radius: 2px;
}

/* Meta Items */
.single-post-page .hero-meta {
    position: relative;
}

.single-post-page .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-page .meta-icon {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.single-post-page .meta-reading-time .reading-time-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.single-post-page .meta-author::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 8px;
}

/* ============================================
   FEATURED IMAGE
   ============================================ */
.single-post-page .featured-image-wrapper {
    position: relative;
    z-index: 5;
}

.single-post-page .hero-featured-image {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 25px 80px -20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(200, 255, 0, 0.05);
}

.single-post-page .hero-featured-image img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-post-page .hero-featured-image:hover img {
    transform: scale(1.02);
}

/* Gradient overlay on featured image */
.single-post-page .hero-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(10, 15, 28, 0.4) 100%
    );
    pointer-events: none;
    border-radius: 24px;
}

/* ============================================
   ARTICLE CONTENT CARD
   ============================================ */
.single-post-page .article-section {
    position: relative;
    z-index: 5;
}

.single-post-page .article-content-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 25px 80px -20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Disable hover transform on article card */
.single-post-page .article-content-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Accent bar on the left */
.single-post-page .article-accent-bar {
    position: absolute;
    top: 56px;
    left: 0;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #c8ff00 0%, rgba(200, 255, 0, 0.2) 100%);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.4);
}

/* Article Body Typography */
.single-post-page .article-body {
    position: relative;
    z-index: 1;
}

.single-post-page .article-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5em;
}

.single-post-page .article-body h2,
.single-post-page .article-body h3,
.single-post-page .article-body h4 {
    color: white;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.single-post-page .article-body h2 {
    font-size: 1.75rem;
    font-weight: 800;
}

.single-post-page .article-body h3 {
    font-size: 1.375rem;
    font-weight: 700;
}

.single-post-page .article-body a {
    color: #c8ff00;
    text-decoration: underline;
    text-decoration-color: rgba(200, 255, 0, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.single-post-page .article-body a:hover {
    text-decoration-color: #c8ff00;
}

.single-post-page .article-body ul,
.single-post-page .article-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.single-post-page .article-body li {
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.85);
}

.single-post-page .article-body blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: rgba(200, 255, 0, 0.05);
    border-left: 4px solid #c8ff00;
    border-radius: 0 16px 16px 0;
}

.single-post-page .article-body blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Tags in Article */
.single-post-page .article-tags {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-post-page .article-tags .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post-page .article-tags .tag-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.single-post-page .article-tags .tag-list a:hover {
    background: rgba(200, 255, 0, 0.1);
    border-color: rgba(200, 255, 0, 0.3);
    color: #c8ff00 !important;
    transform: translateY(-2px);
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.single-post-page .comments-section {
    position: relative;
    z-index: 5;
}

.single-post-page .comments-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 25px 80px -20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Hide empty post navigation */
.single-post-page .post-nav-section:empty,
.single-post-page .post-nav-section > *:empty {
    display: none;
}

/* Disable hover transform on comments card */
.single-post-page .comments-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Header decoration */
.single-post-page .comments-header-decoration {
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200, 255, 0, 0.3), transparent);
}

/* Comments title styling */
.single-post-page .comments-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.single-post-page .comments-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #c8ff00;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(200, 255, 0, 0.6);
}

/* Comment Item */
.single-post-page .comment-item {
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.single-post-page .comment-item:last-child {
    border-bottom: none;
}

.single-post-page .comment-avatar img {
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.single-post-page .comment-item:hover .comment-avatar img {
    border-color: rgba(200, 255, 0, 0.3);
}

.single-post-page .comment-body {
    flex: 1;
    min-width: 0;
}

/* Form Divider */
.single-post-page .form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 32px;
}

/* Styled Comment Form */
.single-post-page .styled-comment-form .comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-post-page .styled-comment-form label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-post-page .styled-comment-form input[type="text"],
.single-post-page .styled-comment-form input[type="email"],
.single-post-page .styled-comment-form input[type="url"],
.single-post-page .styled-comment-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: white !important;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-post-page .styled-comment-form input:focus,
.single-post-page .styled-comment-form textarea:focus {
    outline: none !important;
    border-color: rgba(200, 255, 0, 0.5) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.1) !important;
}

.single-post-page .styled-comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.single-post-page .styled-comment-form input[type="submit"] {
    align-self: flex-start;
    padding: 14px 32px;
    background: linear-gradient(135deg, #c8ff00 0%, #9fcc00 100%) !important;
    border: none !important;
    border-radius: 9999px !important;
    color: #0a0f1c !important;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(200, 255, 0, 0.3);
}

.single-post-page .styled-comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 255, 0, 0.4);
}

/* Checkbox styling */
.single-post-page .styled-comment-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c8ff00;
    cursor: pointer;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 782px) {
    .single-post-page .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .single-post-page .article-content-card {
        padding: 32px 24px !important;
    }

    .single-post-page .article-accent-bar {
        top: 32px;
        height: 60px;
    }

    .single-post-page .comments-card {
        padding: 32px 24px !important;
    }

    .single-post-page .hero-glow {
        height: 400px;
    }

    .single-post-page .meta-author::before {
        display: none;
    }

    .single-post-page .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px !important;
    }
}

/* ============================================
   BLOG HOMEPAGE - STUNNING DESIGN
   ============================================ */

/* Hero Glow */
.blog-home-page .blog-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 500px;
    background: radial-gradient(ellipse at center top, rgba(200, 255, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Blog Badge */
.blog-home-page .blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(200, 255, 0, 0.12) 0%, rgba(200, 255, 0, 0.04) 100%);
    border: 1px solid rgba(200, 255, 0, 0.3);
    border-radius: 9999px;
    color: #c8ff00;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 30px rgba(200, 255, 0, 0.1);
}

.blog-home-page .blog-badge svg {
    opacity: 0.8;
}

/* Hero Title */
.blog-home-page .blog-hero-title {
    font-size: clamp(3rem, 8vw, 5rem) !important;
    color: white !important;
    text-shadow: 0 0 100px rgba(200, 255, 0, 0.12);
    max-width: 800px;
    position: relative;
}

.blog-home-page .blog-hero-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c8ff00 0%, rgba(200, 255, 0, 0) 100%);
    border-radius: 2px;
}

/* Hero Subtitle */
.blog-home-page .blog-hero-subtitle {
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================
   BLOG POST CARDS
   ============================================ */
.blog-home-page .blog-post-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-home-page .blog-post-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 255, 0, 0.25);
    transform: translateY(-8px);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(200, 255, 0, 0.08);
}

/* Post Card Image */
.blog-home-page .post-card-image {
    overflow: hidden;
    margin: 0 !important;
}

.blog-home-page .post-card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-home-page .blog-post-card:hover .post-card-image img {
    transform: scale(1.05);
}

/* Post Card Content */
.blog-home-page .post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Post Card Category */
.blog-home-page .post-card-category a {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid rgba(200, 255, 0, 0.25);
    border-radius: 6px;
    color: #c8ff00 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.blog-home-page .post-card-category a:hover {
    background: rgba(200, 255, 0, 0.2);
}

/* Post Card Title */
.blog-home-page .post-card-title a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.blog-home-page .blog-post-card:hover .post-card-title a {
    color: #c8ff00 !important;
}

/* Post Card Excerpt */
.blog-home-page .post-card-excerpt {
    flex: 1;
}

/* Post Card Link */
.blog-home-page .post-card-link {
    color: #c8ff00 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.blog-home-page .post-card-link:hover {
    text-decoration: underline !important;
}

/* Post Card Arrow */
.blog-home-page .post-card-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.blog-home-page .blog-post-card:hover .post-card-arrow {
    color: #c8ff00;
    transform: translateX(4px);
}

/* ============================================
   NO POSTS STATE
   ============================================ */
.blog-home-page .no-posts-card {
    text-align: center;
}

.blog-home-page .no-posts-card:hover {
    transform: none !important;
}

.blog-home-page .no-posts-icon {
    display: flex;
    justify-content: center;
}

.blog-home-page .no-posts-icon svg {
    color: rgba(200, 255, 0, 0.4);
}

/* ============================================
   BLOG PAGINATION
   ============================================ */
.blog-home-page .blog-pagination {
    gap: 8px;
}

.blog-home-page .blog-pagination a,
.blog-home-page .blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.blog-home-page .blog-pagination a:hover,
.blog-home-page .blog-pagination span.current {
    background: rgba(200, 255, 0, 0.15);
    border-color: rgba(200, 255, 0, 0.4);
    color: #c8ff00 !important;
}

/* ============================================
   BLOG HOMEPAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .blog-home-page .blog-post-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 782px) {
    .blog-home-page .blog-hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    }

    .blog-home-page .blog-post-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-home-page .blog-hero-glow {
        height: 350px;
    }

    .blog-home-page .post-card-content {
        padding: 20px 24px 24px !important;
    }
}

/* ============================================
   GLOBAL BLOG CARD STYLES
   (Works with existing template structure)
   ============================================ */

/* Style existing glass-card-post cards */
.glass-card-post {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-card-post:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(200, 255, 0, 0.25) !important;
    transform: translateY(-8px);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(200, 255, 0, 0.08);
}

/* Post card title hover */
.glass-card-post:hover .wp-block-post-title a {
    color: #c8ff00 !important;
}

/* Post card category styling */
.glass-card-post .wp-block-post-terms a {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid rgba(200, 255, 0, 0.25);
    border-radius: 6px;
    color: #c8ff00 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none !important;
}

/* Post card read more link */
.glass-card-post .wp-block-post-excerpt__more-link,
.glass-card-post .wp-block-read-more {
    color: #c8ff00 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.glass-card-post .wp-block-post-excerpt__more-link:hover,
.glass-card-post .wp-block-read-more:hover {
    text-decoration: underline !important;
}

/* Featured image zoom on card hover */
.glass-card-post .wp-block-post-featured-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-post:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* ============================================
   BLOG POST GRID LAYOUT
   ============================================ */
.blog-post-grid,
.wp-block-post-template {
    display: grid !important;
    gap: 32px;
}

@media (min-width: 783px) {
    .blog-post-grid,
    .wp-block-post-template[style*="grid"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 600px) and (max-width: 782px) {
    .blog-post-grid,
    .wp-block-post-template[style*="grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 599px) {
    .blog-post-grid,
    .wp-block-post-template[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
}
