/* ==========================================================================
   Sunny Skies — Blog styles (listing + article)
   Loaded after style.css. Only affects .blog-* / .article-* elements.
   ========================================================================== */

.blog-banner {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 70px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.10), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(78, 205, 196, 0.10), transparent 55%),
        linear-gradient(160deg, #0F0F23 0%, #1A1B2E 55%, #23245a 100%);
}

.blog-banner .banner-inner {
    max-width: 780px;
}

.blog-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
}

.blog-banner p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- Listing grid ---------- */

.blog-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px 90px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 34px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.blog-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1A1B2E;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-chip {
    align-self: flex-start;
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.32);
    color: #ffd700;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.blog-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #b9c0d8;
    margin-bottom: 20px;
}

.blog-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: #8f97b5;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.blog-meta i {
    color: #FDD835;
    margin-right: 6px;
}

.blog-readmore {
    margin-top: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFD700;
}

/* ---------- Empty / coming soon ---------- */

.blog-note {
    margin-top: 60px;
    text-align: center;
    color: #9aa2c0;
    font-size: 0.95rem;
}

/* ---------- Article page ---------- */

.article-banner {
    padding: 150px 20px 60px;
    background:
        radial-gradient(circle at 75% 15%, rgba(255, 215, 0, 0.10), transparent 55%),
        linear-gradient(160deg, #0F0F23 0%, #1A1B2E 60%, #23245a 100%);
}

.article-banner .banner-inner {
    max-width: 820px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.88rem;
    color: #9aa2c0;
    margin-bottom: 22px;
}

.breadcrumb a {
    color: #FDD835;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.22;
    color: #fff;
    margin-bottom: 20px;
}

.article-lede {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 26px;
}

.article-hero {
    max-width: 900px;
    margin: -20px auto 0;
    padding: 0 20px;
}

.article-hero img {
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 55px 24px 40px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #d7dcef;
}

.article-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin: 44px 0 16px;
    line-height: 1.3;
}

.article-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: #FDD835;
    margin: 32px 0 12px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px 22px;
}

.article-body li {
    margin-bottom: 11px;
}

.article-body strong {
    color: #ffffff;
}

.article-body a {
    color: #FFD700;
}

.pull-quote {
    border-left: 3px solid #FFD700;
    background: rgba(255, 215, 0, 0.07);
    padding: 20px 26px;
    margin: 34px 0;
    border-radius: 0 14px 14px 0;
    font-size: 1.08rem;
    color: #f0e6c8;
}

.article-cta {
    max-width: 720px;
    margin: 20px auto 90px;
    padding: 34px 28px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(78, 205, 196, 0.12));
    border: 1px solid rgba(255, 215, 0, 0.28);
}

.article-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.article-cta p {
    color: #cbd5e1;
    margin-bottom: 22px;
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #FFD700, #FFAA00);
    color: #0F0F23;
    transition: transform 0.25s ease;
}

.cta-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* ---------- Related posts ---------- */

.related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

.related h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 26px;
    text-align: center;
}

/* ---------- Accessibility / responsive ---------- */

.blog-card:focus-visible,
.cta-btn:focus-visible,
.breadcrumb a:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .blog-banner {
        min-height: auto;
        padding: 120px 18px 55px;
    }

    .article-banner {
        padding: 120px 18px 45px;
    }

    .blog-wrap {
        padding: 50px 18px 70px;
    }

    .article-body {
        padding: 40px 20px 30px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .blog-card,
    .cta-btn {
        transition: none;
    }

    .blog-card:hover,
    .cta-btn:hover {
        transform: none;
    }
}

/* Keep blog content above the decorative floating doodles (z-index: 1) */
.blog-banner,
.article-banner,
.article-hero,
.blog-wrap,
.article-body,
.article-cta,
.related {
    position: relative;
    z-index: 2;
}
