/* ===========================
   🔹 BLOG DETAIL SPECIFIC STYLES
   (Layout handled by global style.css)
=========================== */

/* Tweaks for the 'container' on this specific page */
#detail-page-container {
    max-width: 900px;
    /* Easier to read width than full 1100px */
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Tweaks for the 'section' wrapper */
.detail-content-wrapper {
    padding: 15px 20px 10px !important;
    /* More breathing room for long text */
}

/* Header Area */
.detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.detail-date i {
    color: var(--cyan);
    margin-right: 5px;
}

/* Badge Styles (Reused) */
.blog-category {
    background: rgba(255, 67, 197, 0.15);
    color: var(--magenta);
    border: 1px solid var(--magenta);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-category.tech-web {
    background: rgba(0, 200, 255, 0.15);
    color: var(--cyan);
    border-color: var(--cyan);
}

/* Typography */
.detail-title {
    color: var(--cyan);
    font-size: 1.2rem;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
    text-align: justify;
    text-justify: inter-word;
}

.detail-body-text {
    color: var(--text-light);
    /* Brighter text for reading */
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 20px;
}

/* Back Button */
.detail-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Shape & Size */
    padding: 8px 10px;
    border-radius: 5px;
    /* Pill shape */
    border: 1px solid var(--cyan);
    /* Neon Cyan Border */
    /* Text Styles */
    color: var(--cyan);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    /* Smooth Animation */
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: var(--cyan);
    /* Fills with Cyan */
    color: #000;
    /* Text turns black for contrast */
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    /* Glowing effect */
    transform: translateX(-5px);
    /* Moves slightly left */
}

/* 🟢 THE "AVAILABLE EVERYWHERE" ARROW */
.back-btn i {
    display: inline-block;

    /* Use a standard font that exists on every computer */
    font-family: sans-serif !important;
    font-weight: bold !important;
    font-style: normal;
    font-size: 1.2rem;
    /* Make the arrow slightly larger */

    /* Ensure color matches */
    color: inherit;
    margin: 0;
    line-height: 1;
    transform: translateY(-3px);
    /* Keep the animation! */
    transition: transform 0.3s ease;
}

/* 🟢 INSERT THE ARROW MANUALLY */
/* This overrides the FontAwesome code and puts a real text arrow in */
.back-btn i::before {
    content: "←" !important;
    /* Standard Unicode Left Arrow */
}

.back-btn:hover i {
    transform: translate(-2px, -3px);
    /* Arrow nudges left */
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .detail-content-wrapper {
        padding: 15px 15px 10px !important;
    }

    .detail-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .detail-body-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .back-btn i {
        font-size: 1.8rem !important;
        /* Increased from 1.2rem */
        transform: translateY(-5px);
    }

    .back-btn:hover i {
        transform: translateY(-5px);
        /* Arrow nudges left */
    }

}