/* ================= BLOG DETAIL ================= */


/* Hero — full width, centered, editorial style */

.blog-hero {
    background: var(--white);
    padding: 72px 0 0;
    text-align: center;
}

.blog-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 22px;
}

.blog-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.5;
    display: inline-block;
}

.blog-hero h1 {
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 22px;
}

.blog-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 36px;
    font-weight: 400;
}

.blog-author-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #f8f7f5;
    border: 1.5px solid #ebebeb;
    border-radius: 30px;
    margin-bottom: 52px;
}

.blog-author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    text-transform: uppercase;
}

.blog-author-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.blog-author-label {
    font-size: 0.75rem;
    color: var(--muted);
}


/* Hero Image */

.blog-hero-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.07);
}

.blog-hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}


/* ================= BLOG BODY ================= */

.blog-body {
    background: var(--white);
    padding: 64px 0 80px;
}

.blog-body-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}


/* CKEditor content styles */

.blog-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--muted);
}

.blog-content p {
    margin-bottom: 1.4rem;
}

.blog-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2.4rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2rem 0 0.8rem;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.6rem 0 0.6rem;
}

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

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content ul li::marker {
    color: var(--orange);
}

.blog-content strong {
    font-weight: 700;
    color: var(--ink);
}

.blog-content a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: #b46f1e;
}

.blog-content img {
    width: 100%;
    border-radius: 14px;
    margin: 1.8rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-content blockquote {
    margin: 2rem 0;
    padding: 22px 28px;
    background: #fff8f0;
    border-left: 4px solid var(--orange);
    border-radius: 0 12px 12px 0;
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--ink);
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
    font-size: 0.93rem;
}

.blog-content table th {
    background: #f4f3f0;
    color: var(--ink);
    font-weight: 700;
    text-align: left;
    padding: 11px 16px;
    border-bottom: 2px solid #e4e4e4;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content table td {
    padding: 11px 16px;
    border-bottom: 1px solid #ebebeb;
    color: var(--muted);
}

.blog-content table tr:last-child td {
    border-bottom: none;
}

.blog-content table tr:hover td {
    background: #fafaf8;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    .blog-hero-image img {
        height: 320px;
    }
    .blog-hero {
        padding: 56px 0 0;
    }
    .blog-body {
        padding: 48px 0 64px;
    }
}

@media (max-width: 600px) {
    .blog-hero h1 {
        font-size: 1.75rem;
    }
    .blog-subtitle {
        font-size: 1rem;
    }
    .blog-hero-image img {
        height: 220px;
    }
    .blog-content {
        font-size: 0.97rem;
    }
    .blog-content h2 {
        font-size: 1.45rem;
    }
}