/* Bet24Tips blog — editorial layout on brand navy/orange */

.blog-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 0.75rem 2.5rem;
}

@media (min-width: 640px) {
    .blog-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.blog-hero,
.blog-post-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background:
        radial-gradient(1200px 420px at 12% -10%, rgba(249, 115, 22, 0.28), transparent 55%),
        radial-gradient(900px 380px at 90% 0%, rgba(56, 189, 248, 0.14), transparent 50%),
        linear-gradient(135deg, #0b1220 0%, #0f172a 42%, #1e293b 100%);
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    margin-bottom: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.blog-hero-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(40px);
    pointer-events: none;
}

.blog-hero-glow-a {
    width: 14rem;
    height: 14rem;
    right: -3rem;
    bottom: -4rem;
    background: rgba(249, 115, 22, 0.22);
}

.blog-hero-glow-b {
    width: 10rem;
    height: 10rem;
    left: 1.5rem;
    top: -2rem;
    background: rgba(14, 165, 233, 0.16);
}

.blog-hero-inner,
.blog-post-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
    padding: 2.4rem 1.25rem 2.6rem;
}

.blog-post-hero-inner {
    max-width: 48rem;
    text-align: left;
    padding-top: 1.75rem;
    padding-bottom: 2.1rem;
}

.blog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(249, 115, 22, 0.28);
}

.blog-hero h1 {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.blog-hero-copy {
    margin: 0.85rem auto 0;
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #cbd5e1;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.blog-toolbar h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.blog-count {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
}

.blog-featured {
    position: relative;
    overflow: hidden;
    display: grid;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.15rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.blog-featured-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #f97316, #ea580c 55%, #fb923c);
}

.blog-featured-body {
    padding: 1.5rem 1.4rem 1.55rem 1.55rem;
}

@media (min-width: 768px) {
    .blog-featured-body {
        padding: 1.85rem 1.9rem 1.9rem 2rem;
    }
}

.blog-featured-meta,
.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #94a3b8;
}

.blog-post-meta {
    justify-content: flex-start;
    margin: 1rem 0 0.85rem;
    color: #cbd5e1;
}

.blog-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background: currentColor;
    opacity: 0.55;
}

.blog-featured-title {
    margin: 0.85rem 0 0;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.blog-featured-title a {
    color: #0f172a;
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: #ea580c;
}

.blog-featured-excerpt {
    margin: 0.85rem 0 0;
    max-width: 46rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #64748b;
}

.blog-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.15rem;
    padding: 0.7rem 1.05rem;
    border-radius: 9999px;
    background: #0f172a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.blog-featured-cta:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 240px;
    padding: 1.25rem 1.2rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: 1rem 1rem 0 0;
    background: linear-gradient(90deg, #f97316, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: #fdba74;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.blog-card-read {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.blog-category {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c2410c;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 9999px;
    padding: 0.22rem 0.58rem;
}

.blog-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.blog-title a {
    color: #0f172a;
    text-decoration: none;
}

.blog-title a:hover {
    color: #ea580c;
}

.blog-meta {
    font-size: 0.75rem;
    font-weight: 650;
    color: #94a3b8;
}

.blog-excerpt {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #ea580c;
    text-decoration: none;
}

.read-more-btn:hover {
    color: #c2410c;
}

.blog-empty-state {
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    padding: 3rem 1.4rem;
    color: #64748b;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.blog-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.85rem;
    border-radius: 9999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 1.15rem;
}

.blog-empty-state h2 {
    margin: 0 0 0.4rem;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
}

.blog-empty-state p {
    margin: 0;
    font-size: 0.92rem;
}

.pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    padding-top: 0.35rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
    transition: all 0.15s ease;
}

.page-btn:hover {
    border-color: #fdba74;
    color: #ea580c;
}

.page-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

/* Detail */
.blog-post-shell {
    padding-bottom: 2.75rem;
}

.blog-article-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.15rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.blog-article-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.75rem 1.2rem 2.1rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.95rem 0.45rem 0.45rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
    font-weight: 750;
    font-size: 0.82rem;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.18s ease;
}

.blog-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    font-size: 0.72rem;
}

.blog-back-link:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

.blog-back-link:hover .blog-back-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.blog-article-title {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.45rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.blog-lead {
    margin: 1rem 0 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.blog-article-body {
    margin-top: 0.25rem;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1.85rem 0 0.75rem;
    line-height: 1.28;
}

.blog-article-body h2 {
    font-size: 1.45rem;
}

.blog-article-body h3 {
    font-size: 1.2rem;
}

.blog-article-body p {
    margin: 0 0 1.1rem;
}

.blog-article-body a {
    color: #ea580c;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.9rem;
    margin: 1.15rem 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1.1rem 1.25rem;
}

.blog-article-body li {
    margin-bottom: 0.4rem;
}

.blog-article-body blockquote {
    margin: 1.35rem 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid #f97316;
    background: linear-gradient(90deg, #fff7ed, #fff);
    color: #9a3412;
    border-radius: 0 0.85rem 0.85rem 0;
    font-weight: 600;
}

.blog-article-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.blog-article-footer .blog-featured-cta {
    margin-top: 0;
}

.blog-article-footer-note {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 650;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .blog-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-list-grid {
        grid-template-columns: 1fr;
    }

    .blog-article-inner {
        padding: 1.25rem 0.95rem 1.6rem;
    }

    .blog-hero-inner {
        padding: 1.85rem 1rem 2rem;
    }

    .blog-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
