/* ============================================================
   DETAIL PAGE – Organic Luxury Styles
   ============================================================ */

.detail-main-container {
    padding-top: 130px;
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
}

.detail-glass-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 4rem;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08) !important;
}

/* Badge topic */
.detail-topic-badge {
    background: rgba(5, 150, 105, 0.08);
    color: var(--ol-accent-emerald);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(5, 150, 105, 0.12);
    display: inline-block;
}

/* Title styled with emerald-gold gradient */
.detail-title {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--ol-accent-emerald), #045a40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.detail-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.detail-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ol-accent-emerald), var(--ol-accent-gold));
    margin: 2rem auto 1rem;
    border-radius: 2px;
}

/* Image */
.detail-image-wrapper img {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
    border: 1px solid var(--ol-glass-border);
    background: #fbf9f2;
}

/* Content block styling */
.detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e35;
    text-align: justify;
}

.detail-content h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--ol-text-charcoal) !important;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--ol-accent-emerald);
    padding-left: 12px;
}

.detail-content h4 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.detail-content p {
    margin-bottom: 1.25rem;
}

.detail-content ul,
.detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.detail-content li {
    margin-bottom: 0.6rem;
    position: relative;
}

.detail-content blockquote {
    background: rgba(5, 150, 105, 0.04);
    border-left: 5px solid var(--ol-accent-emerald);
    padding: 1.2rem 1.8rem;
    margin: 1.8rem 0;
    border-radius: 4px 16px 16px 4px;
    font-style: italic;
    color: #1b4332;
    font-size: 1.08rem;
}

/* Custom back button */
.btn-back-home {
    border-color: rgba(5, 150, 105, 0.3) !important;
    color: var(--ol-accent-emerald) !important;
    font-weight: 600 !important;
    transition: var(--ol-transition) !important;
}

.btn-back-home:hover {
    background-color: var(--ol-accent-emerald) !important;
    color: #ffffff !important;
    border-color: var(--ol-accent-emerald) !important;
}

/* Premium Technical Data Table */
.detail-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.detail-data-table th {
    background: rgba(5, 150, 105, 0.06);
    color: #113f2a;
    font-weight: 700;
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(5, 150, 105, 0.12);
}

.detail-data-table td {
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #374151;
    font-size: 0.95rem;
}

.detail-data-table tr:last-child td {
    border-bottom: none;
}

.detail-data-table tr:hover td {
    background: rgba(5, 150, 105, 0.02);
}

/* Highlight cells/cards */
.highlight-val {
    font-weight: 700;
    color: var(--ol-accent-emerald);
}

.highlight-gold {
    font-weight: 700;
    color: var(--ol-accent-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .detail-main-container {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .detail-glass-card {
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .detail-title {
        font-size: 1.8rem !important;
    }

    .detail-subtitle {
        font-size: 1rem;
    }
}
