/*
 * LinuxCapable unified external CSS
 * Source: merged from former custom.css + custom-noncritical.css
 * Strategy: single header-loaded stylesheet with query-string versioning.
 * Version: 2026.02.09-11.0
 */

.main-navigation .menu-bar-items {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
    .sidebar-top {
        display: none;
    }
}

@media (max-width: 1024px) {
    .desktop-ads {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .mobile-ads {
        display: none !important;
    }
}

.ad-container {
    display: block;
    margin: 20px 0 28px 0;
    text-align: center;
    overflow: visible;
}

.ad-container .ad-box {
    width: 100%;
    margin: 0 auto;
    line-height: 0;
    contain: layout style;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

#article-start {
    display: none;
}

@media screen and (min-width: 1025px) {
    #article-start {
        display: block;
        width: 100%;
        max-width: 728px;
        aspect-ratio: 728 / 90;
        margin: 0 auto;
        line-height: 0;
        contain: layout style size;
    }
}

@media screen and (min-width: 768px) {
    .ad-container {
        padding-top: 10px;
    }

    .ad-container .ad-box {
        max-width: 336px;
        aspect-ratio: 336 / 280;
    }

    #article-start-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .ad-container {
        padding-top: 0;
    }

    .ad-container .ad-box {
        max-width: 350px;
        aspect-ratio: 336 / 280;
    }

    #article-start {
        display: none;
    }

    #article-start-mobile {
        display: block;
    }
}

@media (max-width: 1023px) {
    .sticky-sidebar-nitro {
        display: none !important;
    }

    #top-sidebar-right {
        display: none !important;
    }
}

.site-header {
    border-bottom: 1px solid #dddddd;
}

.home .generate-columns-container .dynamic-featured-image,
.blog .generate-columns-container .dynamic-featured-image,
.archive .generate-columns-container .dynamic-featured-image {
    width: 100%;
    display: block;
    aspect-ratio: 19 / 12;
    object-fit: cover;
}

/* ============================================
   ARCHIVE PAGE HERO
   ============================================ */

.gb-container-a623c943 {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    text-align: left;
}

/* Archive & Static page titles */
.gb-headline-dbebb020,
.gb-headline-6eab0dca {
    justify-content: flex-start;
    color: #fff !important;
    font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.gb-headline-dbebb020 .gb-icon,
.gb-headline-6eab0dca .gb-icon {
    color: #a78bfa !important;
}

/* Term description */
.gb-container-a623c943 .gb-inside-container > p,
.gb-container-a623c943 .term-description,
.gb-container-a623c943 .term-description p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0;
}

/* ============================================
   HOMEPAGE HERO SECTION
   ============================================ */

.lc-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 80px 40px;
    text-align: center;
}

.lc-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.lc-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.lc-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 40px 0;
    line-height: 1.6;
}

/* Search Form */
.lc-hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 30px auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.lc-hero-search:focus-within {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25), 0 10px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.lc-search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
}

.lc-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.lc-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lc-search-btn:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
    transform: scale(1.02);
}

.lc-search-btn svg {
    flex-shrink: 0;
}

/* Quick Tags */
.lc-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.lc-hero-tag-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lc-hero-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-hero-tag:hover {
    color: #fff !important;
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .lc-hero {
        padding: 50px 20px;
    }

    .lc-hero-search {
        flex-direction: column;
        border-radius: 10px;
    }

    .lc-search-input {
        padding: 14px 16px;
        text-align: center;
    }

    .lc-search-btn {
        justify-content: center;
        padding: 14px 20px;
        border-radius: 0 0 9px 9px;
    }

    .lc-hero-tags {
        gap: 8px;
    }
}

:not(pre) > code,
:not(pre) > code.language-none,
:not(pre) > code[class*="language-"] {
    color: #2e1a47 !important;
    background-color: #f3f0ff !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px !important;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, text-fonts, monospace;
    border: 1px solid #e0d8ff;
}

.site-footer a:hover {
    color: #444444 !important;
}

.lc-footer-follow {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lc-footer-heading {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.lc-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
}

.lc-social-icon:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (max-width: 767px) {
    .lc-footer-follow {
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
}

.lc-google-badge {
    display: block;
    margin-top: 16px;
}

.lc-google-badge img {
    max-width: 200px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.lc-google-badge:hover img {
    opacity: 1;
}

@media (max-width: 767px) {
    .lc-google-badge {
        text-align: center;
        margin-top: 12px;
    }
}

.lc-footer-social .gb-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lc-footer-social .gb-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.lc-footer-social .gb-button:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
}

pre {
    background-color: black;
    color: white;
    padding: 10px;
    font-family: monospace;
    border-radius: 5px;
}

blockquote {
    font-size: 16px;
    color: #666666;
    border-left: 2px solid #745acc;
    margin: 40px;
    padding: 0px 20px 0px 30px;
}

blockquote p {
    margin-bottom: 5px;
}

figure.wp-block-image,
.gb-grid-wrapper figure.wp-block-image,
div.wp-block-image,
.gb-grid-wrapper div.wp-block-image {
    margin-bottom: 2em;
}

.rpwwt-post-title {
    font-weight: bold !important;
    font-size: 16px !important;
    list-style-type: disc !important;
}

.widget-title {
    font-weight: bold !important;
    font-size: 20px !important;
    list-style-type: disc !important;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background: #000;
}

.wp-block-heading {
    margin-top: 1.5rem;
    padding-top: 0;
}

.wp-block-heading:first-child {
    margin-top: 0;
    padding-top: 0;
}

figure.wp-block-table,
div.wp-block-table,
.wp-block-table {
    margin-bottom: 2.5rem !important;
    padding-bottom: 0.75rem;
}

:where(figure.wp-block-table, div.wp-block-table, .wp-block-table) + .wp-block-heading {
    margin-top: 2.5rem;
    padding-top: 0.75rem;
}

h2.wp-block-heading {
    border-bottom: 2px solid;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

h3.wp-block-heading {
    border-bottom: 2px dotted;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

h4.wp-block-heading {
    padding-bottom: 5px;
    margin-bottom: 20px;
}

code:not([lang="bash"]):not(.language-bash) {
    font-size: 16px;
}

.wp-block-quote {
    border: 2px solid #6a00ff;
    background-color: #f1f1f1;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.wp-block-quote p,
.wp-block-quote ul li,
.wp-block-quote ol li {
    color: #000;
    font-size: 14px;
    font-style: normal;
}

.wp-block-quote a {
    color: #6a00ff;
    text-decoration: underline;
}

.wp-block-quote p:first-of-type {
    display: list-item;
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}

.wp-block-quote p:first-of-type::marker {
    content: "Note to Reader: ";
    font-weight: bold;
    color: #000;
    font-size: 14px;
}

.wp-block-quote ul {
    list-style-type: disc;
    margin-left: 40px;
}

.wp-block-quote ol {
    list-style-type: decimal;
    margin-left: 40px;
}

.wp-block-heading code {
    font-size: inherit;
}

:root {
    --lc-code-bg: #1b1230;
    --lc-code-border: #2d1a4f;
    --lc-code-text: #f1eeff;
    --lc-copy-bg: #2a1e52;
    --lc-copy-bg-hover: #3a2a6e;
    --lc-copy-border: #5a45a6;
    --lc-copy-text: #efeaff;
    --lc-copied-bg: #2e7d32;
    --lc-copied-border: #1b5e20;
    --lc-error-bg: #b00020;
    --lc-error-border: #870015;
}

:where(figure.wp-block-code, div.wp-block-code, .wp-block-code__container) {
    position: relative;
}

pre.wp-block-code {
    position: relative;
    background: var(--lc-code-bg);
    border: 1px solid var(--lc-code-border);
    color: var(--lc-code-text);
    border-radius: 10px;
    padding: 2.8rem 1.25rem 1.25rem 1.25rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 28px rgba(16, 8, 32, .25);
    overflow: auto;
    max-width: 100%;
}

pre.wp-block-code::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.3rem;
    background: linear-gradient(180deg, #36205f 0%, #1f1538 100%);
    border-radius: 10px 10px 0 0;
    box-shadow: inset 0 -1px rgba(255, 255, 255, .08);
    pointer-events: none;
    z-index: 0;
}

pre.wp-block-code::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 2.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
    z-index: 1;
}

pre.wp-block-code code {
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .95rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

@media (max-width: 600px) {
    pre.wp-block-code {
        padding: 2.8rem 1rem 1rem 1rem;
    }

    pre.wp-block-code::after {
        left: 1rem;
        right: 1rem;
    }
}

/* ============================================
   ARCHIVE CARDS - Hover Effects
   ============================================ */

.gb-container-6281de8b {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.gb-container-6281de8b:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image zoom on hover */
.gb-container-6281de8b .dynamic-featured-image {
    overflow: hidden;
    border-radius: 6px;
}

.gb-container-6281de8b .dynamic-featured-image img {
    transition: transform 0.4s ease;
}

.gb-container-6281de8b:hover .dynamic-featured-image img {
    transform: scale(1.05);
}

/* ============================================
   SINGLE POST NAVIGATION - Premium Redesign
   ============================================ */

/* Main navigation container */
.gb-container-d1dd99b1 {
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
}

/* Previous/Next card containers */
.gb-container-9c89f761,
.gb-container-5d70717c {
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f1ff 100%);
    border: 1px solid #e8e4f7;
    border-radius: 12px;
    padding: 20px !important;
    transition: all 0.3s ease;
}

.gb-container-9c89f761:hover,
.gb-container-5d70717c:hover {
    background: linear-gradient(135deg, #f3f1ff 0%, #ebe7ff 100%);
    border-color: #d4c8f5;
    box-shadow: 0 8px 25px rgba(116, 90, 204, 0.12);
    transform: translateY(-3px);
}

/* Arrow buttons */
.gb-button-bec8d56e,
.gb-button-122d9fa4 {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.gb-button-bec8d56e .gb-icon,
.gb-button-122d9fa4 .gb-icon {
    color: #fff !important;
}

.gb-button-bec8d56e:hover,
.gb-button-122d9fa4:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4) !important;
}

/* Post titles */
.gb-headline-a6f36397,
.gb-headline-643cf12f {
    font-weight: 600 !important;
    color: #1f2937 !important;
    transition: color 0.2s ease !important;
    line-height: 1.4 !important;
}

.gb-headline-a6f36397:hover,
.gb-headline-643cf12f:hover {
    color: #7c3aed !important;
}

/* Add labels via CSS */
.gb-container-9c89f761::before {
    content: "Previous Article";
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 12px;
    margin-left: calc(15% + 10px);
}

.gb-container-5d70717c::before {
    content: "Next Article";
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 12px;
    text-align: right;
    margin-right: calc(15% + 10px);
}

@media (max-width: 767px) {
    .gb-container-9c89f761::before,
    .gb-container-5d70717c::before {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

/* ============================================
   POST SUPPORT CTA - Buy Me a Coffee
   ============================================ */

.lc-support-cta {
    margin: 40px 0 12px;
    padding: 24px 20px;
    border-radius: 12px;
    border: 1px solid #f6d743;
    background: linear-gradient(135deg, #fffdf5 0%, #fff4c4 100%);
    text-align: center;
}

.lc-support-cta-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.25;
    color: #1f2937;
    font-weight: 700;
}

.lc-support-cta-text {
    margin: 0 0 16px;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.65;
}

.lc-support-cta-link {
    display: inline-block;
    line-height: 0;
    min-height: 50px;
    min-width: 217px;
    text-decoration: none;
}

.lc-support-cta-link img {
    display: block;
    width: 217px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lc-support-cta-fallback {
    display: none;
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid #000;
    background: #ffdd00;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #111827;
}

.lc-support-cta-link:hover img {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}

/* ============================================
   SITE FOOTER - Premium Redesign
   ============================================ */

.lc-site-footer {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 40px 200px 40px;
    margin-top: -60px;
}

.lc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Section */
.lc-footer-contact {
    margin-bottom: 50px;
}

.lc-footer-contact-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 0 20px 0;
}

.lc-footer-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.lc-footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
}

/* Divider */
.lc-footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    margin: 50px 0;
}

/* Bottom Section - Two Column Layout */
.lc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.lc-footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lc-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* Social Section */
.lc-footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lc-footer-heading {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lc-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lc-social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #a78bfa;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
    color: #fff;
}

/* Individual brand colors on hover (optional override) */
.lc-social-icon[aria-label="Follow on X"]:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.lc-social-icon[aria-label="Follow on Bluesky"]:hover {
    background: linear-gradient(135deg, #0066ff 0%, #0085ff 100%);
    border-color: #66b3ff;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.5);
}

.lc-social-icon[aria-label="RSS Feed"]:hover {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border-color: #fdba74;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
}

.lc-social-icon[aria-label="JSON Feed"]:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    border-color: #67e8f9;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
}

/* Google Badge */
.lc-google-badge {
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lc-google-badge img {
    max-width: 180px;
    height: auto;
}

.lc-google-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Privacy Controls (GDPR Consent + CCPA Opt-Out) */
#lc-consent-box {
    margin-bottom: 8px;
}

.lc-consent-button {
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-consent-button:hover,
.lc-consent-button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

/* NitroPay simple CMP injection container */
#ncmp-consent-link button {
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#ncmp-consent-link button:hover,
#ncmp-consent-link button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

/* CCPA "Do Not Sell" Link Styling */
span[data-ccpa-link] a {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

span[data-ccpa-link] a:hover,
span[data-ccpa-link] a:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    outline: none;
}

/* Footer Navigation */
.lc-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: flex-end;
}

.lc-footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.lc-footer-nav a:hover {
    color: #fff !important;
}

.lc-footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #a78bfa;
    transition: width 0.3s ease;
}

.lc-footer-nav a:hover::after {
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lc-site-footer {
        padding: 60px 24px 200px 24px;
    }

    .lc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .lc-footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .lc-footer-nav {
        justify-content: flex-start;
    }

    .lc-footer-social-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ============================================
   YOAST FAQ BLOCK - Premium Styling
   ============================================ */

.wp-block-yoast-faq-block {
    margin: 2rem 0;
}

.schema-faq-section {
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f1ff 100%);
    border: 1px solid #e8e4f7;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.schema-faq-section:last-child {
    margin-bottom: 0;
}

.schema-faq-section:hover {
    background: linear-gradient(135deg, #f3f1ff 0%, #ebe7ff 100%);
    border-color: #d4c8f5;
    box-shadow: 0 8px 25px rgba(116, 90, 204, 0.12);
    transform: translateY(-2px);
}

.schema-faq-question {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.schema-faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.schema-faq-answer {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    padding-left: 28px;
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .schema-faq-section {
        background: linear-gradient(135deg, #1f1b2e 0%, #2a2440 100%);
        border-color: #3d3555;
    }

    .schema-faq-section:hover {
        background: linear-gradient(135deg, #2a2440 0%, #352d50 100%);
        border-color: #5a4a7a;
    }

    .schema-faq-question {
        color: #f3f1ff;
    }

    .schema-faq-answer {
        color: rgba(255, 255, 255, 0.8);
    }
}

/* ============================================
   HOMEPAGE DYNAMIC POST SECTIONS
   ============================================ */

.lc-home-sections-wrap {
    --lc-home-ink: #1a1930;
    --lc-home-muted: #5f6174;
    --lc-home-accent: #4f46e5;
    --lc-home-accent-2: #745acc;
    --lc-home-surface: #ffffff;
    --lc-home-border: #e7e4f3;
    display: grid;
    gap: clamp(18px, 2.4vw, 28px);
    width: min(1240px, 100%);
    box-sizing: border-box;
    margin: clamp(30px, 3.3vw, 48px) auto 0;
    border: 1px solid #d7d0ea;
    border-radius: 22px;
    padding: clamp(20px, 4vw, 44px) clamp(10px, 2.2vw, 26px);
    background: radial-gradient(1200px 380px at 10% 0%, rgba(116, 90, 204, 0.08), rgba(116, 90, 204, 0) 60%), linear-gradient(180deg, #f7f8fc 0%, #f1f3fb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(29, 22, 58, 0.06);
}

.lc-home-section {
    position: relative;
    overflow: hidden;
    background: var(--lc-home-surface);
    border: 1px solid var(--lc-home-border);
    border-radius: 18px;
    padding: clamp(18px, 2.4vw, 26px);
    box-shadow: 0 16px 34px rgba(25, 18, 45, 0.08);
}

.lc-home-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lc-home-accent) 0%, var(--lc-home-accent-2) 55%, #a78bfa 100%);
}

.lc-home-section-header {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eeebf8;
}

.lc-home-kicker {
    margin: 0;
    width: fit-content;
    padding: 4px 9px;
    border: 1px solid #d9d1f5;
    border-radius: 999px;
    background: #f4f0ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b3b92;
}

.lc-home-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.6vw, 1.88rem);
    line-height: 1.25;
    color: var(--lc-home-ink);
    letter-spacing: -0.02em;
}

.lc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lc-home-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e9e6f4;
    border-radius: 14px;
    overflow: hidden;
    background: #fcfbff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lc-home-card:hover {
    transform: translateY(-4px);
    border-color: #cfc6ef;
    box-shadow: 0 14px 32px rgba(33, 24, 69, 0.14);
}

.lc-home-card-thumb {
    display: block;
    overflow: hidden;
    background: #efeaff;
}

.lc-home-card-image,
.lc-home-card-image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.lc-home-card-image-placeholder {
    background: linear-gradient(135deg, #302b63 0%, #745acc 100%);
}

.lc-home-card-image {
    transition: transform 0.35s ease;
}

.lc-home-card:hover .lc-home-card-image {
    transform: scale(1.035);
}

.lc-home-card-body {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 14px 14px 14px 14px;
}

.lc-home-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-home-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ece6ff;
    color: #3e2e84;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lc-home-card-tag:hover {
    background: #dfd4ff;
    color: #2f215f;
}

.lc-home-card-tag-empty {
    background: #f4f4f8;
    color: #5a5d69;
}

.lc-home-card-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.36;
    min-height: 2.72em;
}

.lc-home-card-title a {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1e1d33;
    text-decoration: none;
}

.lc-home-card-title a:hover {
    color: #4a36a6;
}

.lc-home-card-excerpt {
    margin: 0;
    color: #5c5875;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-home-card-meta-text {
    margin: auto 0 0 0;
    font-size: 12px;
    color: var(--lc-home-muted);
}

.lc-home-card-meta-text time {
    font-weight: 600;
    color: #4d5070;
}

.lc-home-empty {
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f6f4fd;
    color: #3f3860;
}

.lc-search-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px 0;
    padding: 12px 14px;
    border: 1px solid #e2dbf4;
    border-radius: 12px;
    background: #f8f5ff;
}

.lc-search-tools-meta {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4f3f97;
}

.lc-search-tools-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(480px, 100%);
    margin: 0;
}

.lc-search-tools-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d7cdec;
    border-radius: 10px;
    background: #fff;
    color: #211a44;
    font-size: 14px;
}

.lc-search-tools-input:focus {
    outline: 2px solid #a78bfa;
    outline-offset: 1px;
    border-color: #a78bfa;
}

.lc-search-tools-btn {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #5f4dc1;
    border-radius: 10px;
    background: linear-gradient(135deg, #5141b4 0%, #7556cd 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.lc-search-tools-btn:hover {
    border-color: #725de0;
    background: linear-gradient(135deg, #5d4cc7 0%, #8062d9 100%);
}

.lc-search-empty {
    padding: clamp(16px, 2.2vw, 24px);
    border: 1px solid #e2dbf4;
    border-radius: 14px;
    background: linear-gradient(180deg, #faf8ff 0%, #f4efff 100%);
}

.lc-search-empty-title {
    margin: 0 0 8px 0;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    line-height: 1.25;
    color: #241d49;
}

.lc-search-empty-text {
    margin: 0 0 14px 0;
    color: #4b4665;
    font-size: 14px;
    line-height: 1.6;
}

.lc-search-empty-form {
    width: min(560px, 100%);
    margin-bottom: 12px;
}

.lc-search-empty-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-search-empty-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #d7cdec;
    border-radius: 999px;
    background: #fff;
    color: #3e2e84;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.lc-search-empty-links a:hover {
    border-color: #b9a8ec;
    background: #f7f2ff;
}

body.search .lc-home-sections-wrap-archive {
    position: relative;
    margin-top: clamp(30px, 3.3vw, 48px);
    border: 1px solid #d7d0ea;
    border-radius: 22px;
    background:
        radial-gradient(980px 360px at 8% -8%, rgba(116, 90, 204, 0.13), rgba(116, 90, 204, 0) 62%),
        linear-gradient(180deg, #f0eef8 0%, #e8e7f2 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(29, 22, 58, 0.06);
}

body.search .lc-home-section-archive {
    border-color: #d5cdeb;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
    box-shadow: 0 14px 30px rgba(33, 24, 68, 0.09);
}

body.search .lc-home-section-archive::before {
    height: 4px;
    background: linear-gradient(90deg, #6f5ad8 0%, #927aec 56%, #bda9ff 100%);
}

body.search .lc-home-section-archive::after {
    opacity: 0.42;
}

body.search .lc-search-tools {
    background: linear-gradient(180deg, #faf8ff 0%, #f4f0ff 100%);
    border-color: #d6caee;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.search .lc-search-empty {
    background: #ffffff;
    border-color: #cfc2eb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 20px rgba(28, 21, 53, 0.05);
}

.lc-home-loadmore-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.lc-home-loadmore {
    appearance: none;
    border: 1px solid #5f4dc1;
    border-radius: 10px;
    background: linear-gradient(135deg, #5141b4 0%, #7556cd 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 10px 15px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.lc-home-loadmore:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(48, 34, 97, 0.2);
}

.lc-home-loadmore.is-loading {
    opacity: 0.82;
    cursor: wait;
}

.lc-home-loadmore-status {
    font-size: 12px;
    color: var(--lc-home-muted);
}

.lc-home-loadmore-wrap.is-complete .lc-home-loadmore {
    display: none;
}

.lc-home-loadmore-sentinel {
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lc-home-pagination {
    margin-top: 16px;
}

.lc-home-pagination-ajax {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-home-pagination-ajax.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.lc-home-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-home-pagination .page-numbers li {
    margin: 0;
}

.lc-home-pagination .page-numbers a,
.lc-home-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #dbd5ef;
    border-radius: 9px;
    background: #fff;
    color: #3e3a5b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.lc-home-pagination .page-numbers .dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 2px;
}

.lc-home-pagination .page-numbers .disabled {
    opacity: 0.55;
}

.lc-home-pagination .page-numbers .current {
    border-color: #5e4dc0;
    background: #5e4dc0;
    color: #fff;
}

.lc-home-pagination .page-numbers a:hover {
    border-color: #8f7adf;
    color: #5643ad;
}

.lc-home-pagination .page-numbers a:focus-visible {
    outline: 2px solid #9f8df1;
    outline-offset: 2px;
}

@media (max-width: 1080px) {
    .lc-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lc-home-sections-wrap {
        padding: 20px 8px;
        gap: 18px;
        border-radius: 16px;
    }

    .lc-home-section {
        border-radius: 14px;
        padding: 16px;
    }

    .lc-home-title {
        font-size: clamp(1.22rem, 5.4vw, 1.52rem);
    }

    .lc-home-grid {
        grid-template-columns: 1fr;
    }

    .lc-archive-hero + .lc-home-sections-wrap-archive {
        padding-top: 12px;
    }

    .lc-search-tools {
        align-items: stretch;
    }

    .lc-search-tools-form {
        width: 100%;
    }

    body.search .lc-home-sections-wrap-archive {
        border-radius: 16px;
    }

    body.search .lc-home-section-archive {
        border-radius: 14px;
    }
}

/* ============================================
   CATEGORY/ARCHIVE LOOP CARDS (GeneratePress Loop Template)
   ============================================ */

.lc-archive-card {
    height: 100%;
}

.lc-archive-card .dynamic-featured-image,
.lc-archive-card .dynamic-featured-image a {
    display: block;
}

.lc-archive-card .dynamic-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.lc-archive-card:hover .dynamic-featured-image img {
    transform: scale(1.035);
}

.lc-archive-card .lc-home-card-body {
    height: auto;
}

.lc-home-section-archive .lc-home-grid {
    align-items: start;
    gap: 14px;
}

.lc-home-section-archive .lc-home-card-meta-text {
    margin: 0;
}

.lc-home-sections-wrap-archive {
    width: min(1240px, 100%);
}

.lc-archive-hero + .lc-home-sections-wrap-archive {
    margin-top: clamp(30px, 3.3vw, 48px);
    padding-top: clamp(14px, 2.2vw, 24px);
}

.lc-home-sections-wrap-archive .lc-home-section-archive {
    max-width: none;
    margin: 0;
}

.lc-home-section-archive {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(980px 320px at 6% -10%, rgba(116, 90, 204, 0.14), rgba(116, 90, 204, 0) 62%),
        linear-gradient(180deg, #fdfcff 0%, #f7f5fd 100%);
    border-color: #ddd4f0;
    box-shadow: 0 18px 36px rgba(20, 14, 49, 0.11);
}

.lc-home-section-archive::before {
    background: linear-gradient(90deg, #6d57d4 0%, #8a72eb 60%, #b49cff 100%);
    height: 5px;
}

.lc-home-section-archive::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(147, 123, 255, 0.2) 0%, rgba(147, 123, 255, 0) 68%);
    pointer-events: none;
}

.lc-home-section-archive .lc-home-card {
    background: #fcfbff;
    border-color: #e3deef;
    box-shadow: 0 10px 24px rgba(32, 24, 63, 0.06);
}

.lc-home-section-archive .lc-home-card:hover {
    border-color: #cfc6ef;
    box-shadow: 0 15px 30px rgba(32, 24, 63, 0.12);
}

.lc-home-section-archive .lc-home-section-header {
    border-bottom-color: #e3dbf4;
}

.lc-home-section-archive .lc-home-pagination .page-numbers a,
.lc-home-section-archive .lc-home-pagination .page-numbers span {
    border-color: #d9d1ec;
}

.lc-home-section-archive .lc-home-pagination .page-numbers a:hover {
    border-color: #8f7adf;
    box-shadow: none;
    text-decoration: none;
}

.lc-archive-shortcode-panel + .lc-archive-shortcode-panel {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eeebf8;
}

.lc-archive-shortcode-panel .lc-home-pagination {
    margin-top: 14px;
}

.lc-archive-shortcode-panel .lc-home-empty {
    margin: 0;
}

.lc-archive-category-updated {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.lc-archive-card .gb-button.lc-home-card-tag {
    border: none !important;
    box-shadow: none !important;
}

/* ============================================
   ARCHIVE PAGES - HOMEPAGE-STYLE EXPERIENCE
   ============================================ */

.lc-archive-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: clamp(22px, 3.4vw, 42px) clamp(18px, 3vw, 32px);
    border: 1px solid #332b69;
    border-radius: 18px;
    background: linear-gradient(140deg, #1a1848 0%, #2d2466 52%, #47389a 100%);
    box-shadow: 0 18px 36px rgba(20, 14, 49, 0.28);
}

.lc-archive-hero::before {
    content: "";
    position: absolute;
    inset: auto -12% -35% auto;
    width: min(420px, 55vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(147, 123, 255, 0.5) 0%, rgba(147, 123, 255, 0) 68%);
    pointer-events: none;
}

.lc-archive-hero-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lc-archive-hero .gb-icon {
    color: #9e87ff !important;
}

.lc-archive-hero-desc {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    max-width: 760px;
    color: rgba(241, 237, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.65;
}

.lc-archive-hero-desc p {
    margin: 0;
}

.lc-archive-main,
.lc-archive-ajax {
    position: relative;
}

.lc-archive-ajax {
    display: grid;
    gap: 18px;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid #e5e1f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
    box-shadow: 0 16px 34px rgba(25, 18, 45, 0.08);
}

.lc-archive-ajax .wp-block-post-template {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lc-archive-ajax .wp-block-post-template > li,
.lc-archive-ajax .wp-block-post {
    margin: 0;
}

.lc-home-section-archive .lc-home-card-image,
.lc-home-section-archive .lc-home-card-image-placeholder {
    aspect-ratio: 16 / 9;
}

.lc-archive-main .navigation.pagination,
.lc-archive-main .wp-block-query-pagination,
.lc-archive-ajax .navigation.pagination,
.lc-archive-ajax .wp-block-query-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
}

.lc-archive-main .nav-links,
.lc-archive-ajax .nav-links,
.lc-archive-main .wp-block-query-pagination-numbers,
.lc-archive-ajax .wp-block-query-pagination-numbers {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-archive-main a.page-numbers,
.lc-archive-main span.page-numbers,
.lc-archive-main .wp-block-query-pagination a,
.lc-archive-main .wp-block-query-pagination span,
.lc-archive-ajax a.page-numbers,
.lc-archive-ajax span.page-numbers,
.lc-archive-ajax .wp-block-query-pagination a,
.lc-archive-ajax .wp-block-query-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #dbd5ef;
    border-radius: 9px;
    background: #ffffff;
    color: #3e3a5b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.lc-archive-main .page-numbers.current,
.lc-archive-main .wp-block-query-pagination span[aria-current="page"],
.lc-archive-ajax .page-numbers.current,
.lc-archive-ajax .wp-block-query-pagination span[aria-current="page"] {
    border-color: #5e4dc0;
    background: #5e4dc0;
    color: #ffffff;
}

.lc-archive-main a.page-numbers:hover,
.lc-archive-main .wp-block-query-pagination a:hover,
.lc-archive-ajax a.page-numbers:hover,
.lc-archive-ajax .wp-block-query-pagination a:hover {
    border-color: #8f7adf;
    color: #5643ad;
}

.lc-archive-main.is-loading,
.lc-archive-ajax.is-loading {
    opacity: 0.74;
    pointer-events: none;
}

.lc-archive-main.is-loading::after,
.lc-archive-ajax.is-loading::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(94, 77, 192, 0.22);
    border-top-color: #5e4dc0;
    border-radius: 999px;
    animation: lcArchiveSpin 0.75s linear infinite;
}

.lc-archive-ajax-status {
    margin: 4px 0 0;
    font-size: 12px;
    color: #5f6174;
}

@keyframes lcArchiveSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1080px) {
    .lc-archive-ajax .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lc-archive-hero {
        border-radius: 14px;
        padding: 20px 16px;
    }

    .lc-archive-ajax {
        border-radius: 14px;
        padding: 14px;
    }

    .lc-archive-ajax .wp-block-post-template {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SINGLE POST HERO HEADER
   ============================================ */

.lc-single-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0a2e 0%, #1e1458 30%, #3b279a 65%, #6d4de0 100%);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(20, 14, 49, 0.28);
}

.lc-single-hero::before {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -40%;
    width: min(400px, 50vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(147, 123, 255, 0.45) 0%, rgba(147, 123, 255, 0) 68%);
    pointer-events: none;
}

/* Secondary glow — top-left accent */
.lc-single-hero::after {
    content: "";
    position: absolute;
    left: -8%;
    top: -30%;
    width: min(280px, 40vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99, 70, 230, 0.25) 0%, rgba(99, 70, 230, 0) 70%);
    pointer-events: none;
}

.lc-single-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 44px) clamp(22px, 3vw, 32px);
}

/* Breadcrumbs ─ Yoast output: Home » Category » <strong>Title</strong> */
.lc-single-hero-breadcrumb {
    margin-bottom: 16px;
}

.lc-single-hero-breadcrumb p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(200, 190, 230, 0.9);
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.lc-single-hero-breadcrumb a {
    color: #c4b5fd !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.lc-single-hero-breadcrumb a:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Override Yoast's <strong> on last breadcrumb (too heavy) */
.lc-single-hero-breadcrumb .breadcrumb_last,
.lc-single-hero-breadcrumb .breadcrumb_last strong {
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.45);
}

/* Category pills */
.lc-single-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.lc-single-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.28);
    border: 1px solid rgba(167, 139, 250, 0.5);
    color: #c9b8ff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-single-hero-tag:hover {
    background: rgba(139, 92, 246, 0.45);
    border-color: rgba(167, 139, 250, 0.7);
    color: #fff !important;
}

/* Title */
.lc-single-hero-title {
    margin: 0 0 16px 0;
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

/* Meta row */
.lc-single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.lc-single-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lc-single-hero-meta-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.lc-single-hero-meta-sep {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Comment count link in meta row */
a.lc-single-hero-meta-comments {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.lc-single-hero-meta-comments:hover,
a.lc-single-hero-meta-comments:focus {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Hide default GP entry-header when hero is active */
.single-post .entry-header {
    display: none !important;
}

/* Hide default GP featured image (hero replaces it) */
.single-post .post-image,
.single-post .featured-image,
.single-post .page-header-image-single,
.single-post .entry-content > .wp-post-image:first-child,
.single-post .inside-article > .post-image,
.single-post .inside-article > .featured-image,
.single-post .inside-article > .page-header-image-single {
    display: none !important;
}

/* ── Featured Image (integrated inside hero card) ── */

.lc-single-hero-featured {
    position: relative;
    z-index: 1;
    margin: 0 clamp(16px, 2.5vw, 28px) clamp(16px, 2.5vw, 28px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    line-height: 0;
}

.lc-single-hero-featured img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

@media (max-width: 768px) {
    .lc-single-hero {
        border-radius: 14px;
    }

    .lc-single-hero-inner {
        padding: 22px 16px 18px;
    }

    .lc-single-hero-featured {
        margin: 0 12px 12px;
        border-radius: 10px;
    }

    .lc-single-hero-featured img {
        max-height: 240px;
    }

    .lc-single-hero-meta-sep {
        display: none;
    }

    .lc-single-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ============================================
   TABLE OF CONTENTS — LuckyWP TOC Restyle
   ============================================ */

.lwptoc {
    margin: 28px 0 32px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.lwptoc .lwptoc_i {
    background: linear-gradient(180deg, #faf8ff 0%, #f4f0ff 100%);
    border: 1px solid #e0d6f5;
    border-left: 4px solid #7c3aed;
    border-radius: 12px;
    padding: 20px 22px 18px;
    box-shadow: 0 8px 24px rgba(33, 24, 69, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lwptoc:hover .lwptoc_i {
    border-color: #d4c8f5;
    box-shadow: 0 12px 30px rgba(33, 24, 69, 0.1);
}

/* Header */
.lwptoc .lwptoc_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeebf8;
}

.lwptoc .lwptoc_title {
    font-size: 15px;
    font-weight: 700;
    color: #2d1a5e;
    letter-spacing: -0.01em;
}

.lwptoc .lwptoc_title::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c3aed'%3E%3Cpath d='M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Toggle button */
.lwptoc .lwptoc_toggle {
    margin-left: auto;
}

.lwptoc .lwptoc_toggle_label {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ece6ff;
    color: #5a3ea8 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.lwptoc .lwptoc_toggle_label:hover {
    background: #dfd4ff;
    color: #3e2e84 !important;
}

/* Items container */
.lwptoc .lwptoc_items {
    padding: 0;
    margin: 0;
}

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

/* Individual TOC items */
.lwptoc .lwptoc_item {
    counter-increment: toc-counter;
    position: relative;
    padding: 0;
    margin: 0;
}

.lwptoc .lwptoc_item > a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 10px 7px 12px;
    margin: 0 -4px;
    border-radius: 8px;
    color: #3b2d6e !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lwptoc .lwptoc_item > a::before {
    content: counter(toc-counter) ".";
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #8b6ae0;
    min-width: 18px;
}

.lwptoc .lwptoc_item > a:hover {
    background: rgba(124, 58, 237, 0.06);
    color: #5a3ea8 !important;
}

.lwptoc .lwptoc_item > a .lwptoc_item_label {
    color: inherit !important;
}

/* Active state (set by scroll-spy JS) */
.lwptoc .lwptoc_item.lc-toc-active > a {
    background: rgba(124, 58, 237, 0.08);
    border-left-color: #7c3aed;
    color: #5a3ea8 !important;
    font-weight: 600;
}

.lwptoc .lwptoc_item.lc-toc-active > a::before {
    color: #7c3aed;
}

/* Nested sub-items */
.lwptoc .lwptoc_item .lwptoc_itemWrap {
    counter-reset: toc-sub-counter;
    padding-left: 14px;
    margin-top: 2px;
    border-left: 1px solid #eeebf8;
    margin-left: 20px;
}

.lwptoc .lwptoc_item .lwptoc_itemWrap .lwptoc_item {
    counter-increment: toc-sub-counter;
}

.lwptoc .lwptoc_item .lwptoc_itemWrap .lwptoc_item > a::before {
    content: counter(toc-sub-counter, lower-alpha) ".";
    color: #a78bfa;
}

.lwptoc .lwptoc_item .lwptoc_itemWrap .lwptoc_item > a {
    font-size: 13px;
    padding: 5px 10px 5px 12px;
}

/* Visited links — keep subtle */
.lwptoc .lwptoc_i a:visited {
    color: #5a4a8a !important;
}

/* Override plugin inline styles */
.lwptoc .lwptoc_i A {
    color: #3b2d6e !important;
}

.lwptoc .lwptoc_i A:hover {
    color: #5a3ea8 !important;
}

@media (max-width: 768px) {
    .lwptoc .lwptoc_i {
        padding: 16px 14px 14px;
        border-radius: 10px;
    }

    .lwptoc .lwptoc_item > a {
        padding: 6px 8px 6px 10px;
        font-size: 13px;
    }

    .lwptoc .lwptoc_item .lwptoc_itemWrap .lwptoc_item > a {
        font-size: 12px;
    }
}

/* ============================================
   SINGLE POST SIDEBAR — Custom Sections
   ============================================ */

.lc-sidebar-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Section wrapper */
.lc-sidebar-section {
    background: #fcfbff;
    border: 1px solid #e5e1f4;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(33, 24, 69, 0.06);
}

.lc-sidebar-section-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeebf8;
}

.lc-sidebar-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #d9d1f5;
    background: #f4f0ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b3b92;
}

.lc-sidebar-section-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: #1a1930;
    border: none !important;
}

.lc-sidebar-section-title::after {
    display: none !important;
}

.lc-sidebar-section-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Hero Card (first item in Latest) ── */

.lc-sidebar-hero-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9e6f4;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.25s ease;
}

.lc-sidebar-hero-card:hover {
    border-color: #cfc6ef;
    box-shadow: 0 10px 24px rgba(33, 24, 69, 0.12);
    transform: translateY(-2px);
}

.lc-sidebar-hero-thumb {
    display: block;
    overflow: hidden;
    background: #efeaff;
}

.lc-sidebar-hero-image,
.lc-sidebar-hero-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.lc-sidebar-hero-placeholder {
    background: linear-gradient(135deg, #302b63 0%, #745acc 100%);
}

.lc-sidebar-hero-card:hover .lc-sidebar-hero-image {
    transform: scale(1.04);
}

.lc-sidebar-hero-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-sidebar-tag {
    display: inline-flex;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ece6ff;
    color: #3e2e84 !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lc-sidebar-tag:hover {
    background: #dfd4ff;
}

.lc-sidebar-hero-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    border: none !important;
}

.lc-sidebar-hero-title::after {
    display: none !important;
}

.lc-sidebar-hero-title a {
    color: #1e1d33 !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-sidebar-hero-title a:hover {
    color: #5a3ea8 !important;
}

.lc-sidebar-hero-meta {
    font-size: 11px;
    color: #7a7795;
}

/* ── Compact Card (list items) ── */

.lc-sidebar-compact-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0edf8;
}

.lc-sidebar-compact-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.lc-sidebar-compact-thumb {
    flex-shrink: 0;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #efeaff;
}

.lc-sidebar-compact-image,
.lc-sidebar-compact-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-sidebar-compact-placeholder {
    background: linear-gradient(135deg, #302b63 0%, #745acc 100%);
}

.lc-sidebar-compact-card:hover .lc-sidebar-compact-image {
    transform: scale(1.08);
}

.lc-sidebar-compact-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lc-sidebar-compact-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    border: none !important;
}

.lc-sidebar-compact-title::after {
    display: none !important;
}

.lc-sidebar-compact-title a {
    color: #1e1d33 !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-sidebar-compact-title a:hover {
    color: #5a3ea8 !important;
}

.lc-sidebar-compact-meta {
    font-size: 11px;
    color: #7a7795;
}

/* ── Comment Items ── */

.lc-sidebar-comment {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0edf8;
}

.lc-sidebar-comment:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.lc-sidebar-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.lc-sidebar-comment-avatar {
    flex-shrink: 0;
}

.lc-sidebar-comment-img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e5e1f4;
}

.lc-sidebar-comment-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lc-sidebar-comment-author {
    font-size: 12px;
    font-weight: 700;
    color: #1e1d33;
    line-height: 1.2;
}

.lc-sidebar-comment-time {
    font-size: 10px;
    color: #9a96ad;
}

.lc-sidebar-comment-text {
    margin: 0 0 6px 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #4b4665;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-sidebar-comment-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #5a3ea8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lc-sidebar-comment-link:hover {
    color: #7c3aed !important;
}

/* ── Sidebar alignment on single posts ── */

.single-post #right-sidebar {
    align-self: flex-start;
}

.single-post .site-content {
    align-items: flex-start;
}

.single-post #primary {
    min-width: 0;
}

/* ── Sidebar mobile (already hidden by GP, but ensure spacing) ── */

@media (max-width: 768px) {
    .lc-sidebar-sections {
        gap: 18px;
    }

    .lc-sidebar-section {
        padding: 14px;
        border-radius: 12px;
    }
}

/* ============================================
   COMMENTS SECTION — Full Restyle
   v2026.02.09-1
   ============================================ */

/* ── Section wrapper ── */

#comments {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    padding: 0;
}

/* ── Section title ("X thoughts on …") ── */

.comments-title {
    order: -2;
    position: relative;
    margin: 0 0 24px 0;
    padding: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1930;
    border-bottom: 2px solid #eeebf8;
}

.comments-title::before {
    content: "Discussion";
    display: block;
    margin-bottom: 6px;
    padding: 2px 10px;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #d9d1f5;
    background: #f4f0ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b3b92;
}

/* ── Comment list reset ── */

.comment-list,
.comment-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list > li {
    margin-bottom: 0;
}

/* ── Individual comment card ── */

.comment-body {
    position: relative;
    background: linear-gradient(135deg, #faf9ff 0%, #f5f3ff 100%);
    border: 1px solid #e8e4f7;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.comment-body:hover {
    border-color: #d4c8f5;
    box-shadow: 0 8px 20px rgba(33, 24, 69, 0.06);
}

/* ── Comment meta / header ── */

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeebf8;
}

/* Avatar */
.comment-meta > img.avatar,
.comment-meta > .avatar {
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px;
    border: 2px solid #e0d6f5;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    transition: border-color 0.2s ease;
}

.comment-body:hover .comment-meta > img.avatar {
    border-color: #c4b5fd;
}

/* Author info block */
.comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.comment-author.vcard {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author .fn {
    font-size: 14px;
    font-weight: 700;
    color: #1e1d33;
    font-style: normal;
}

.comment-author .fn a {
    color: #1e1d33;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-author .fn a:hover {
    color: #5a3ea8;
}

/* Date / timestamp */
.comment-metadata {
    font-size: 12px;
    line-height: 1.4;
}

.comment-metadata a {
    color: #7a7795 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-metadata a:hover {
    color: #5a3ea8 !important;
}

.comment-metadata time {
    color: inherit;
}

/* ── Post-author badge (bypostauthor) ── */

.bypostauthor > .comment-body {
    background: linear-gradient(135deg, #f5f0ff 0%, #ece4ff 100%);
    border-color: #d4c1fa;
}

.bypostauthor > .comment-body .comment-meta {
    border-bottom-color: #ddd2f8;
}

.bypostauthor > .comment-body .comment-meta > img.avatar {
    border-color: #a78bfa;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.18);
}

/* Badge via pseudo-element */
.bypostauthor > .comment-body .comment-author .fn::after {
    content: "Author";
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1.6;
}

/* ── Comment content ── */

.comment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #2d2a42;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-content p {
    margin: 0 0 12px 0;
}

.comment-content p:last-of-type {
    margin-bottom: 0;
}

/* Inline code in comments */
.comment-content code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #eee9fa;
    color: #4b3b92;
    font-size: 0.88em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* Code blocks in comments */
.comment-content pre {
    margin: 12px 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #1e1b2e;
    color: #d4cfea;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
    border: 1px solid #2d2750;
}

.comment-content pre code {
    padding: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

/* Blockquotes in comments */
.comment-content blockquote {
    margin: 12px 0;
    padding: 12px 16px;
    border-left: 3px solid #7c3aed;
    background: rgba(124, 58, 237, 0.04);
    border-radius: 0 8px 8px 0;
    color: #3b2d6e;
    font-style: italic;
}

.comment-content blockquote p {
    margin: 0;
}

/* Links in comments */
.comment-content a {
    color: #5a3ea8;
    text-decoration: underline;
    text-decoration-color: rgba(90, 62, 168, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.comment-content a:hover {
    text-decoration-color: #5a3ea8;
    color: #7c3aed;
}

/* WP block markup in comment replies (admin responses) */
.comment-content .wp-block-code {
    margin: 12px 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #1e1b2e;
    border: 1px solid #2d2750;
}

.comment-content .wp-block-code code {
    padding: 0;
    background: none;
    color: #d4cfea;
    font-size: 13px;
    border-radius: 0;
}

/* ── Reply button ── */

.comment-content > .reply {
    display: block;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eeebf8;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #f4f0ff;
    border: 1px solid #e0d6f5;
    color: #5a3ea8 !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    background: #ece4ff;
    border-color: #c4b5fd;
    color: #7c3aed !important;
    transform: translateY(-1px);
}

.comment-reply-link::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a3ea8'%3E%3Cpath fill-rule='evenodd' d='M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ── Threaded / nested replies ── */

.comment-list .children {
    margin-left: 28px;
    padding-left: 20px;
    border-left: 2px solid #e8e4f7;
}

.comment-list .children .children {
    margin-left: 20px;
    padding-left: 16px;
}

/* Depth 3+ get tighter nesting */
.comment-list .depth-3 .children,
.comment-list .depth-4 .children {
    margin-left: 14px;
    padding-left: 12px;
}

/* Deep nesting border gets lighter */
.comment-list .depth-3 > .children,
.comment-list .depth-4 > .children {
    border-left-color: #f0edf8;
}

/* ──────────────────────────────────────────────
   COMMENT GUIDE — Policy link + formatting tips
   (injected by comments-enhancement.php)
   ────────────────────────────────────────────── */

.lc-comment-guide {
    order: -1;
    margin: 0 0 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #faf9ff 0%, #f3f0ff 100%);
    border: 1px solid #e8e4f7;
    border-radius: 12px;
}

/* Policy link row */
.lc-comment-guide-policy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #3b2d6e;
    line-height: 1.5;
}

.lc-comment-guide-icon {
    flex-shrink: 0;
    color: #7c3aed;
}

.lc-comment-guide-policy a {
    color: #5a3ea8;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(90, 62, 168, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.lc-comment-guide-policy a:hover {
    color: #7c3aed;
    text-decoration-color: #7c3aed;
}

/* Expandable formatting tips */
.lc-comment-guide-details {
    margin-top: 12px;
}

.lc-comment-guide-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #5a3ea8;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    list-style: none;
}

.lc-comment-guide-summary::-webkit-details-marker {
    display: none;
}

.lc-comment-guide-summary::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a3ea8'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.lc-comment-guide-details[open] > .lc-comment-guide-summary::before {
    transform: rotate(180deg);
}

.lc-comment-guide-summary:hover {
    color: #7c3aed;
}

/* Guide body */
.lc-comment-guide-body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eeebf8;
}

.lc-comment-guide-intro {
    margin: 0 0 10px 0;
    font-size: 12.5px;
    color: #5f5b7a;
    line-height: 1.5;
}

/* Formatting reference table */
.lc-comment-guide-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e4f7;
}

.lc-comment-guide-table th {
    padding: 8px 12px;
    background: #ece6ff;
    color: #3e2e84;
    font-weight: 700;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-comment-guide-table td {
    padding: 7px 12px;
    background: #fff;
    color: #3b2d6e;
    border-top: 1px solid #f0edf8;
    vertical-align: middle;
}

.lc-comment-guide-table tr:first-child td {
    border-top: none;
}

.lc-comment-guide-table code {
    padding: 1px 5px;
    border-radius: 3px;
    background: #f4f0ff;
    color: #4b3b92;
    font-size: 0.92em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    white-space: nowrap;
}

.lc-guide-label {
    display: inline-flex;
    padding: 1px 7px;
    border-radius: 4px;
    background: #f4f0ff;
    border: 1px solid #e0d6f5;
    color: #5a3ea8;
    font-size: 11px;
    font-weight: 600;
}

a.lc-guide-demo-link {
    color: #5a3ea8;
    text-decoration: underline;
    cursor: default;
}

/* ──────────────────────────────────────────────
   COMMENT FORM — Restyle
   ────────────────────────────────────────────── */

#respond {
    margin-top: 32px;
}

.comment-reply-title {
    margin: 0 0 18px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1930;
}

.comment-reply-title small a {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.comment-reply-title small a:hover {
    background: #fecaca;
    border-color: #f87171;
}

/* Welcome subtitle */
.lc-comment-form-welcome {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5f5b7a;
}

/* Form styling */
.comment-form {
    background: linear-gradient(135deg, #faf9ff 0%, #f5f3ff 100%);
    border: 1px solid #e8e4f7;
    border-radius: 14px;
    padding: 24px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0d6f5;
    border-radius: 10px;
    background: #fff;
    color: #1e1d33;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form textarea::placeholder,
.comment-form input::placeholder {
    color: #9a96ad;
}

/* Input field spacing */
.comment-form > p,
.comment-form > label,
.comment-form > .comment-form-comment {
    margin-bottom: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    margin-bottom: 12px;
}

/* Checkboxes (subscribe + cookies) */
.comment-form .comment-form-cookies-consent,
.subscribe-comments-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0;
    font-size: 13px;
    color: #5f5b7a;
    line-height: 1.5;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"],
.subscribe-comments-line input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #7c3aed;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Turnstile / submit section */
.comment-form .form-submit {
    margin-top: 16px;
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
}

.comment-form .submit:active {
    transform: translateY(0);
}

/* Turnstile label */
.cfturnstile-widget-label small {
    font-size: 12px;
    color: #7a7795;
}

/* ── Responsive — Comments ── */

@media (max-width: 768px) {
    .comment-body {
        padding: 16px;
        border-radius: 12px;
    }

    .comment-meta {
        gap: 10px;
    }

    .comment-meta > img.avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .comment-list .children {
        margin-left: 12px;
        padding-left: 12px;
    }

    .comment-list .children .children {
        margin-left: 8px;
        padding-left: 8px;
    }

    .comment-form {
        padding: 18px 14px;
        border-radius: 12px;
    }

    .lc-comment-guide {
        padding: 14px;
        border-radius: 10px;
    }

    .lc-comment-guide-table th,
    .lc-comment-guide-table td {
        padding: 6px 8px;
    }

    .comments-title {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .comment-list .children {
        margin-left: 6px;
        padding-left: 8px;
    }

    .lc-comment-guide-table {
        font-size: 11.5px;
    }
}