/*
Theme Name: Forex Crypto Lab
Theme URI: https://forexcryptolab.id
Author: Senior WP Developer
Author URI: https://forexcryptolab.id
Description: Tema kustom premium untuk portal berita Forex, Kripto, Binance, dan Trading. Sangat teroptimasi untuk Bot Auto-Post dan SEO.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: forexcrypto
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header & Navigation */
.site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    padding: 10px 0;
    font-size: 0.9em;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    z-index: 1001;
}

.logo span {
    color: #10b981;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav a:hover, nav a.active {
    color: #10b981;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 200px 0 120px;
    text-align: left;
    margin-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2310b981;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23059669;stop-opacity:0.05" /></linearGradient></defs><circle cx="600" cy="200" r="300" fill="url(%23grad)"/><circle cx="700" cy="400" r="200" fill="url(%23grad)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: #10b981;
    display: block;
    font-size: 0.9em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 35px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #10b981;
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
    border: 2px solid #10b981;
}

.cta-button::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

.cta-button:hover {
    background: transparent;
    color: #10b981;
    box-shadow: 0 6px 20px rgba(16,185,129,0.3);
}

/* Market Ticker */
.market-ticker {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ticker-item .symbol {
    font-weight: bold;
    color: #0f172a;
}

.ticker-item .price {
    color: #27ae60;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #0f172a;
    font-weight: 900;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #10b981;
    border-radius: 2px;
}

/* Featured Topics */
.topics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.topic-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: left;
    width: calc(33.333% - 20px);
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid rgba(16,185,129,0.1);
    position: relative;
    overflow: visible;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10b981, #059669, #34d399);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.topic-card:hover::before {
    opacity: 1;
}

.topic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(16,185,129,0.25);
}

.topic-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.topic-card h3 {
    color: #0f172a;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 700;
}

.topic-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95em;
}

.learn-more {
    color: #10b981;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more::after {
    content: '→';
    transition: transform 0.3s;
}

.learn-more:hover {
    color: #059669;
    gap: 10px;
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* Blog Section */
.blog-page-wrapper {
    padding-top: 140px;
    padding-bottom: 60px;
    background: #f8f9fa;
    min-height: 100vh;
}

.blog-page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-page-header .section-title {
    color: white;
    margin-bottom: 15px;
}

.blog-page-header .section-title::before {
    background: rgba(16,185,129,0.2);
}

.blog-page-header .section-title::after {
    background: #10b981;
}

.blog-page-header .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #10b981;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(16,185,129,0.25);
}

.blog-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5em;
    overflow: hidden;
    position: relative;
}

.blog-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: #999;
    font-size: 0.85em;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-date a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-date a:hover {
    color: #059669;
    text-decoration: underline;
}

.blog-card h3 {
    color: #0f172a;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1.4;
    flex-grow: 0;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #10b981;
}

.post-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95em;
    flex-grow: 1;
}

.read-more {
    color: #10b981;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    margin-top: auto;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s;
}

.read-more:hover {
    color: #059669;
    gap: 10px;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.no-posts-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-posts-message h3 {
    color: #0f172a;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.no-posts-message p {
    color: #666;
    font-size: 1.1em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 10px;
    background: #fff;
    color: #333;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.pagination .page-numbers:hover {
    background: #f8fafc;
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.pagination .page-numbers.dots:hover {
    transform: none;
    background: transparent;
    border: none;
}

/* Platforms Section */
.platforms {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    margin: 60px 0;
    position: relative;
}

.platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #34d399);
}

.platforms-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    text-align: center;
    flex-wrap: wrap;
}

.platform-item {
    padding: 30px 25px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-width: 150px;
}

.platform-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(16,185,129,0.2);
}

.platform-item h4 {
    color: #0f172a;
    font-size: 1.3em;
    margin-top: 15px;
}

.platform-logo {
    font-size: 2.5em;
    color: #10b981;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #10b981;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #10b981;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.disclaimer {
    background: rgba(16,185,129,0.1);
    border-left: 4px solid #10b981;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.6;
}

.disclaimer strong {
    color: #10b981;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Trust Badges */
.trust-section {
    background: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 500;
}

.trust-item .icon {
    font-size: 1.5em;
    color: #27ae60;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    /* Blog Page Tablet */
    .blog-page-wrapper {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-card h3 {
        font-size: 1.25em;
    }
}

/* Small Tablet / Large Phone */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-image {
        height: 180px;
    }
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a {
        display: block;
        padding: 15px 10px;
        font-size: 1.1em;
        width: 100%;
    }

    nav a:hover {
        background: rgba(16,185,129,0.1);
        padding-left: 20px;
    }

    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .hero {
        padding: 150px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }

    .hero h1 span {
        font-size: 1em;
    }

    .hero p {
        font-size: 1.1em;
        padding: 0 10px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95em;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .topic-card {
        width: 100%;
    }

    /* Blog Page Responsive */
    .blog-page-wrapper {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .blog-page-header {
        padding: 35px 20px;
        margin-bottom: 40px;
        border-radius: 15px;
    }

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

    .blog-card {
        flex-direction: column;
    }

    .blog-image {
        width: 100%;
        height: 200px;
        min-width: 100%;
    }

    .blog-content {
        padding: 20px;
    }

    .pagination {
        padding: 40px 0 20px;
        gap: 8px;
    }

    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9em;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

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

    .ticker-content {
        gap: 30px;
    }

    .ticker-item {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5em;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 1.6em;
    }

    .hero p {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .topic-card {
        padding: 25px 20px;
    }

    .topic-icon {
        font-size: 2.5em;
    }

    /* Blog Page Mobile */
    .blog-page-wrapper {
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .blog-page-header {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .blog-page-header .section-title {
        font-size: 1.6em;
    }

    .blog-page-header .section-subtitle {
        font-size: 1em;
    }

    .blog-grid {
        gap: 20px;
    }

    .blog-image {
        height: 180px;
        font-size: 2.8em;
    }

    .blog-content {
        padding: 18px;
    }

    .blog-card h3 {
        font-size: 1.15em;
        margin-bottom: 12px;
    }

    .post-excerpt {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .pagination {
        padding: 30px 0 20px;
        gap: 6px;
    }

    .pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.85em;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        padding: 5px 8px;
        font-size: 0.85em;
    }

    .header-top p {
        font-size: 0.8em;
    }

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

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4em;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .topic-card h3 {
        font-size: 1.3em;
    }

    .blog-card h3 {
        font-size: 1.1em;
    }

    .blog-page-header {
        padding: 20px 12px;
    }

    .blog-page-header .section-title {
        font-size: 1.4em;
    }

    .blog-page-header .section-subtitle {
        font-size: 0.95em;
    }

    .blog-image {
        height: 160px;
        font-size: 2.5em;
    }

    .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 0.8em;
    }
}

/* ==========================================================
   PROSE / BOT GENERATED CONTENT STYLES
   ========================================================== */
.single-post-wrapper {
    max-width: 900px;
    margin: 150px auto 60px;
    padding: 0 20px;
}

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

.single-title {
    font-size: 2.5em;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 15px;
}

.single-meta {
    color: #64748b;
    font-size: 0.95em;
}

.single-hero-image-wrapper {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.single-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.prose.bot-content-wrapper {
    font-size: 1.1em;
    color: #334155;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5em;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.prose h2 { font-size: 1.8em; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.prose h3 { font-size: 1.5em; }
.prose h4 { font-size: 1.25em; }

.prose ul, .prose ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose li {
    margin-bottom: 0.5em;
}

.prose a {
    color: #10b981;
    text-decoration: underline;
    text-decoration-color: rgba(16,185,129,0.4);
    font-weight: 600;
}

.prose a:hover {
    text-decoration-color: #10b981;
}

.prose blockquote {
    border-left: 4px solid #10b981;
    background: #f8fafc;
    padding: 20px;
    margin: 2em 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #475569;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2em 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.95em;
}

.prose th, .prose td {
    border: 1px solid #cbd5e1;
    padding: 12px 15px;
    text-align: left;
}

.prose th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
}

.prose tr:nth-child(even) {
    background: #f8fafc;
}

/* ==========================================================
   COMMENTS SECTION
   ========================================================== */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

.comments-title {
    font-size: 1.5em;
    color: #0f172a;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #10b981;
    border-radius: 2px;
}

/* Comment List — reset OL numbering */
.comment-list,
.comment-list ol,
.comment-list ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.comment-list > li {
    list-style: none !important;
}

.comment-list > li::before {
    content: none !important;
    display: none !important;
}

.comment-list > li::marker {
    content: none;
    font-size: 0;
    color: transparent;
}

.comment-list .comment {
    margin-bottom: 30px;
}

.comment-list .comment .comment-body {
    background: #f8fafc;
    border-radius: 14px;
    padding: 28px 30px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.comment-list .comment .comment-body:hover {
    border-color: #10b981;
}

/* Comment Meta (avatar, author, date) */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    padding: 0;
}

.comment-author .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #10b981;
    flex-shrink: 0;
}

.comment-author b,
.comment-author .fn,
.comment-author .fn a {
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    font-size: 1em;
    font-style: normal;
}

.comment-author .fn a:hover {
    color: #10b981;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    margin-left: auto;
}

.comment-metadata,
.comment-metadata a,
.comment-metadata time {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s ease;
    background: transparent !important;
}

.comment-metadata a:hover {
    color: #10b981 !important;
}

/* Comment Content */
.comment-content {
    color: #334155;
    line-height: 1.8;
    font-size: 1em;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

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

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

/* Reply Link */
.reply {
    margin-top: 18px;
}

.reply .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    padding: 8px 20px;
    border: 1.5px solid #10b981;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.reply .comment-reply-link:hover {
    background: #10b981;
    color: white;
}

/* Nested / Child Comments */
.comment-list .children {
    list-style: none !important;
    padding-left: 30px;
    margin-top: 20px;
    border-left: 3px solid #e2e8f0;
}

.comment-list .children li {
    list-style: none !important;
}

.comment-list .children li::before,
.comment-list .children li::marker {
    content: none !important;
    display: none !important;
}

.comment-list .children .comment-body {
    background: #ffffff;
}

/* Pingbacks & Trackbacks */
.comment-list .pingback,
.comment-list .trackback {
    padding: 15px 20px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #64748b;
}

/* ==========================================================
   COMMENT FORM
   ========================================================== */
.comment-respond {
    margin-top: 45px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 35px;
    border: 1px solid #e2e8f0;
}

.comment-reply-title {
    font-size: 1.4em;
    color: #0f172a;
    margin-bottom: 8px;
    font-weight: 700;
}

.comment-reply-title small {
    display: block;
    margin-top: 8px;
}

.comment-reply-title small a {
    color: #ef4444;
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 500;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

.logged-in-as {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.logged-in-as a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.comment-notes {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: #334155;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 22px;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.9em;
    color: #64748b;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
}

.form-submit {
    margin-top: 15px;
}

.form-submit .submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: white;
    padding: 14px 32px;
    border: 2px solid #10b981;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.form-submit .submit:hover {
    background: transparent;
    color: #10b981;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

/* No Comments Yet */
.no-comments {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
    font-size: 1em;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
}

/* ==========================================================
   COMMENTS RESPONSIVE
   ========================================================== */
@media (max-width: 768px) {
    .comments-area {
        margin-top: 40px;
        padding-top: 30px;
    }

    .comment-list .comment .comment-body {
        padding: 22px 20px;
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .comment-metadata {
        margin-left: 0;
    }

    .comment-content {
        margin-top: 15px;
        padding-top: 15px;
    }

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

    .comment-respond {
        padding: 28px 22px;
    }

    .comment-reply-title {
        font-size: 1.2em;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .comment-list .comment .comment-body {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .comment-content {
        font-size: 0.95em;
    }

    .comment-respond {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .comment-form-comment textarea {
        min-height: 130px;
    }

    .form-submit .submit {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }

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

    .reply .comment-reply-link {
        padding: 7px 16px;
        font-size: 0.85em;
    }
}
