@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Baloo+2:wght@600;700&display=swap');

/* Shared blog module styles for modern, reusable listing pages */
:root {
    --brand: #ff802c;
    --brand-dark: #e56a14;
    --accent: #2c1810;
    --brand-soft: #fff4ec;
    --accent-soft: #ffe8d6;
    --bg: #fffaf6;
    --surface: #ffffff;
    --border: #f0ddd0;
    --text: #2a1f18;
    --muted: #7a6558;
    --shadow: 0 20px 45px rgba(255, 128, 44, 0.18);
}

.blog-section {
    padding: 1rem 0 3.5rem;
}

.blog-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    padding: 1.8rem;
    margin-bottom: 1.7rem;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.blog-hero-copy {
    position: relative;
    z-index: 1;
}

.blog-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-hero h1 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: #fff;
}

.blog-hero p {
    max-width: 620px;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-brand,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 10px 24px rgba(255, 128, 44, 0.28);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-brand:hover,
.btn-outline:hover {
    transform: translateY(-2px);
}

.blog-hero-panel {
    display: grid;
    gap: 0.8rem;
    align-content: center;
    position: relative;
    z-index: 1;
}

.blog-hero-stat {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-hero-stat strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.blog-hero-stat span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.blog-section-kicker {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-section-header h2 {
    margin: 0;
    font-family: 'Baloo 2', cursive;
    color: var(--text);
    font-size: 1.35rem;
}

.blog-section-header>a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
}

.blog-page-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.9rem;
}

.blog-card {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(255, 128, 44, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-image.no-image {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
    color: var(--brand);
    font-weight: 700;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    box-shadow: 0 10px 24px rgba(255, 128, 44, 0.16);
}

.blog-card-content {
    padding: 1.2rem 1.2rem 1.35rem;
}

.blog-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
}

.blog-card-reading {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.blog-card-title {
    margin-bottom: 0.75rem;
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    line-height: 1.25;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--brand);
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.84rem;
    color: var(--muted);
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card-text {
    margin-bottom: 1rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.blog-readmore:hover {
    color: var(--brand-dark);
}

.blog-post-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(255, 128, 44, 0.1);
}

.blog-post-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.blog-post-body {
    padding: 1.4rem 1.4rem 1.6rem;
}

.blog-post-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.blog-post-title {
    margin-bottom: 0.8rem;
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.5rem, 2.2vw, 2.2rem) !important;
    color: var(--text) !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    -webkit-text-fill-color: var(--text);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    justify-content: space-between;
}

.blog-post-content {
    color: var(--text);
    line-height: 1.8;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 0.8rem 0;
}

.blog-post-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.blog-post-section-title {
    margin-bottom: 0.5rem;
    color: var(--brand);
    font-weight: 700;
}

.blog-post-tags {
    margin: 0;
    color: var(--muted);
}

.blog-share-links {
    display: flex;
    gap: 0.6rem;
}

.blog-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    text-decoration: none;
}

.blog-share-links a:hover {
    background: var(--brand);
    color: #fff;
}

.blog-sidebar-card {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(255, 128, 44, 0.07);
}

.blog-sidebar-card-header {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--brand-soft), #fffaf6);
    color: var(--brand);
    font-weight: 800;
}

.blog-sidebar-card-body {
    padding: 1rem 1.1rem;
}

.blog-sidebar-list {
    display: grid;
    gap: 0.45rem;
}

.blog-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 0.75rem;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    background: #fffaf6;
}

.blog-sidebar-link:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.blog-sidebar-form .input-group {
    gap: 0.5rem;
}

.blog-sidebar-form .form-control {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.7rem 0.9rem;
}

.blog-sidebar-form .btn {
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    border: 0;
}

.blog-sidebar-post {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.blog-sidebar-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-post a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.blog-sidebar-post a:hover {
    color: var(--brand);
}

.blog-sidebar-post span {
    color: var(--muted);
    font-size: 0.82rem;
}

.blog-empty {
    padding: 1.4rem;
    border-radius: 18px;
    background: var(--surface);
    border: 1px dashed var(--border);
    color: var(--muted);
    text-align: center;
}

.blog-pagination {
    margin-top: 2rem;
}

.blog-pagination .pagination {
    gap: 0.35rem;
}

.blog-pagination .page-link {
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    min-width: 40px;
    padding: 0.55rem 0.8rem;
    background: var(--surface);
}

.blog-pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

@media (max-width: 991px) {
    .blog-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding-bottom: 2.5rem;
    }

    .blog-hero {
        padding: 1.25rem;
    }

    .blog-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-card-image img {
        height: 190px;
    }

    .blog-card-content {
        padding: 1rem;
    }

    .blog-post-body {
        padding: 1.1rem;
    }

    .blog-post-topbar,
    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.blog-sidebar {
    margin-bottom: 2rem;
}

.blog-sidebar .blog-sidebar-card + .blog-sidebar-card {
    margin-top: 1rem;
}

.blog-sidebar .list-group-item {
    border-color: var(--border) !important;
    color: var(--text) !important;
    background: #fff !important;
}

.blog-sidebar .list-group-item:hover,
.blog-sidebar .list-group-item:focus {
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
}

.blog-sidebar .list-group-item i {
    color: var(--brand) !important;
}

.blog-comments-section,
.blog-comment-form-section {
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(255, 128, 44, 0.07);
}

.blog-comments-title {
    margin-bottom: 1rem;
    font-family: 'Baloo 2', cursive;
    color: var(--brand) !important;
    font-size: 1.35rem;
}

.blog-comment-note {
    color: var(--muted) !important;
    margin-bottom: 1rem;
}

.blog-comment {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.blog-comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-comment-body p {
    margin-bottom: 0;
    color: var(--text) !important;
    line-height: 1.7;
}

.blog-comment-meta {
    margin-bottom: 0.35rem;
    color: var(--muted) !important;
    font-size: 0.9rem;
}

.blog-comment-meta strong {
    color: var(--text) !important;
    margin-right: 0.5rem;
}

.blog-comment-form .form-label {
    color: var(--text) !important;
    font-weight: 600;
}

.blog-comment-form .form-control {
    color: var(--text) !important;
    background: #fff !important;
    border-color: var(--border) !important;
}

.blog-comment-form .btn-primary {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

/* Force readable colors against Darkly / site theme overrides */
.container.ful_width,
.container.ful_width.bg2 {
    background: var(--bg) !important;
    color: var(--text) !important;
    border-radius: 0;
}

.container.ful_width,
.container.ful_width .col-lg-8,
.container.ful_width .col-lg-4,
.blog-post-card,
.blog-post-body,
.blog-post-content,
.blog-comments-section,
.blog-comment-form-section,
.blog-sidebar-card,
.blog-sidebar-card-body,
.blog-card,
.blog-card-content {
    color: var(--text) !important;
}

.blog-post-title,
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6,
.blog-post-content p,
.blog-post-content li,
.blog-post-content span,
.blog-section-header h2,
.blog-card-title,
.blog-card-title a,
.blog-sidebar .card-title {
    color: var(--text) !important;
}

.blog-sidebar-card-header,
.blog-comments-title,
.blog-post-section-title,
.blog-badge,
.blog-section-kicker,
.blog-readmore,
.blog-card-title a:hover {
    color: var(--brand) !important;
}

.blog-badge {
    background: var(--brand-soft) !important;
}

.blog-post-meta,
.blog-post-meta span,
.blog-card-meta,
.blog-card-meta span,
.blog-card-reading,
.blog-card-text,
.blog-post-tags,
.blog-comment-note {
    color: var(--muted) !important;
}

.blog-post-content a,
.blog-share-links a,
.blog-sidebar-post a:hover,
.blog-section-header > a {
    color: var(--brand) !important;
}

.blog-post-card,
.blog-comments-section,
.blog-comment-form-section,
.blog-sidebar-card,
.blog-card {
    background: var(--surface) !important;
}

.sb-banner.sb-banner-color .sb-main-title h1,
.sb-banner.sb-banner-color .sb-main-title .sb-h2,
.sb-banner.sb-banner-color .sb-breadcrumbs,
.sb-banner.sb-banner-color .sb-breadcrumbs a,
.sb-banner.sb-banner-color .sb-breadcrumbs li {
    color: #fff !important;
}
