/* Blog & inner pages — matches homepage UI */

body.inner-page {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: #1a1a2e;
    background: #faf8f5;
    line-height: 1.65;
}

body.inner-page #main-content {
    min-height: 50vh;
}

.navbar-menu a.is-active {
    color: #e67a22 !important;
}

.navbar-menu--desktop a.is-active::after {
    width: 100%;
}

/* Blog hero */
.blog-hero {
    background: linear-gradient(165deg, #1a1a2e 0%, #252542 50%, #1e1e36 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(230, 122, 34, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.blog-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(230, 122, 34, 0.2);
    border: 1px solid rgba(230, 122, 34, 0.35);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f4a261;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.blog-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.blog-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.blog-hero--compact {
    padding: 4.5rem 1.5rem 2.5rem;
}

.blog-hero--compact h1 {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

/* Breadcrumb */
.blog-breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
}

.blog-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.blog-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5c5c7a;
}

.blog-breadcrumb li + li::before {
    content: '/';
    color: #ccc;
    margin-right: 0.15rem;
}

.blog-breadcrumb a {
    color: #e67a22;
    text-decoration: none;
    font-weight: 500;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb [aria-current="page"] {
    color: #1a1a2e;
    font-weight: 600;
}

/* Blog list */
.blog-page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(26, 26, 46, 0.08);
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(230, 122, 34, 0.12);
}

.blog-card-body {
    padding: 1.35rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    color: #e67a22;
    font-weight: 600;
}

.blog-card-meta time {
    color: #5c5c7a;
    font-weight: 500;
}

.blog-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    line-height: 1.35;
}

.blog-card h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: #e67a22;
}

.blog-card-excerpt {
    color: #5c5c7a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.blog-card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    background: rgba(230, 122, 34, 0.1);
    color: #c45f10;
    border-radius: 999px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #e67a22;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    margin-top: auto;
}

.blog-card-link:hover {
    gap: 0.55rem;
}

.blog-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed rgba(230, 122, 34, 0.3);
    color: #5c5c7a;
}

.blog-empty i {
    font-size: 2.5rem;
    color: #e67a22;
    display: block;
    margin-bottom: 1rem;
}

/* Blog detail */
.blog-article-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.blog-article {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(26, 26, 46, 0.08);
    box-shadow: 0 8px 32px rgba(26, 26, 46, 0.06);
    padding: 2rem 1.75rem;
}

.blog-article-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.blog-article-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    font-size: 0.88rem;
    color: #5c5c7a;
}

.blog-article-meta time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-article-meta time i {
    color: #e67a22;
}

.blog-article-body {
    font-size: 1rem;
    color: #4a4a68;
    line-height: 1.75;
}

.blog-article-body h2,
.blog-article-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #1a1a2e;
    margin: 1.75rem 0 0.75rem;
}

.blog-article-body p {
    margin-bottom: 1rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1rem 1.25rem;
}

.blog-article-body a {
    color: #e67a22;
}

.blog-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.blog-related h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    margin: 0 0 1rem;
    color: #1a1a2e;
}

.blog-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.blog-related a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: #faf8f5;
    border-radius: 10px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-related a:hover {
    background: rgba(230, 122, 34, 0.1);
    color: #e67a22;
}

.blog-related a i {
    color: #e67a22;
}

.blog-cta-bar {
    max-width: 1180px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.blog-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #e67a22, #f4a261);
    border-radius: 16px;
    color: #fff;
}

.blog-cta-inner h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
}

.blog-cta-inner p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.blog-cta-inner .btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    background: #fff;
    color: #e67a22;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-cta-inner .btn-cta-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* WhatsApp float on inner pages */
body.inner-page .whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
}

body.inner-page .whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.25s ease;
}

body.inner-page .whatsapp-float a:hover {
    transform: scale(1.08);
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 4.5rem 1rem 2.5rem;
    }

    .blog-article {
        padding: 1.35rem 1.15rem;
    }

    .blog-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}
