/* =========================================================
   SINGLE BLOG POST STYLES
   ========================================================= */

.single-post-content {
    background-color: var(--navy-dark);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* --- Fade Up --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* =========================================================
   POST HERO
   ========================================================= */
.post-hero {
    background-color: var(--navy-bg);
    padding: 130px 20px 70px;
    position: relative;
    overflow: hidden;
    margin-top: -30px;
    text-align: center;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.post-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.post-category {
    display: inline-block;
    background: var(--accent-green);
    color: var(--navy-bg);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post-hero h1 {
    font-size: 46px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 24px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #A0B2C6;
    flex-wrap: wrap;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    color: var(--accent-green);
    font-size: 13px;
}

/* =========================================================
   POST MAIN
   ========================================================= */
.post-main-section {
    background-color: var(--navy-dark);
    padding: 60px 20px 100px;
}

.post-main-container {
    max-width: 850px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 195, 74, 0.2);
    margin-bottom: 50px;
    display: block;
}

/* --- Content Typography --- */
.post-body {
    font-size: 16.5px;
    line-height: 1.85;
    color: #CBD5E1;
}

.post-body h2 {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 45px 0 20px 0;
    line-height: 1.3;
}

.post-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 35px 0 15px 0;
    line-height: 1.4;
}

.post-body p {
    margin: 0 0 22px 0;
}

.post-body a {
    color: var(--accent-green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-body a:hover {
    color: var(--accent-green-hover);
}

.post-body ul,
.post-body ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 4px solid var(--accent-green);
    background: rgba(139, 195, 74, 0.05);
    padding: 24px 28px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 18px;
    color: #FFFFFF;
}

/* --- Back to Blog Link --- */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    transition: gap 0.3s ease;
}

.back-to-blog:hover {
    gap: 14px;
    color: var(--accent-green-hover);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
    .post-hero { padding: 120px 20px 60px; }
    .post-hero h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    .post-hero h1 { font-size: 28px; }
    .post-main-section { padding: 40px 20px 80px; }
    .post-featured-image { border-radius: 16px; margin-bottom: 35px; }
    .post-body { font-size: 15.5px; }
    .post-body h2 { font-size: 24px; margin-top: 35px; }
    .post-body h3 { font-size: 20px; }
    .post-body blockquote { padding: 18px 22px; font-size: 16px; }
    .post-meta { gap: 16px; font-size: 13px; }
}