/* ============================================
   BLOG STYLES — Endurance Painting
   ============================================ */

/* ---- Blog Index Hero ---- */
.blog-hero {
    background: #0a0a0a;
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(252,123,27,0.14) 0%, transparent 55%);
    pointer-events: none;
}
.blog-hero__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.blog-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FC7B1B;
    margin-bottom: 14px;
}
.blog-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
}
.blog-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---- Blog Index Grid ---- */
.blog-section {
    padding: 72px 0 80px;
    background: #f5f5f5;
}
.blog-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Blog Card ---- */
.blog-card {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.13);
}
.blog-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.blog-card__image-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card__image-bg svg {
    opacity: 0.08;
    width: 80px;
    height: 80px;
    fill: #fff;
}
.bg-1 { background: linear-gradient(135deg, #1a1008 0%, #2d1a00 100%); }
.bg-2 { background: linear-gradient(135deg, #0a0f1a 0%, #12203a 100%); }
.bg-3 { background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2a 100%); }
.bg-4 { background: linear-gradient(135deg, #081510 0%, #0d2018 100%); }
.bg-5 { background: linear-gradient(135deg, #0a1520 0%, #0d2030 100%); }
.bg-6 { background: linear-gradient(135deg, #1a0800 0%, #2a1200 100%); }
.blog-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FC7B1B;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 2px;
    z-index: 1;
}
.blog-card__body {
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
}
.blog-card__date,
.blog-card__read-time {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}
.blog-card__date::after {
    content: '·';
    margin-left: 12px;
    color: #ddd;
}
.blog-card__title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #111;
    line-height: 1.38;
    margin: 0 0 11px;
}
.blog-card__excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.68;
    margin: 0 0 22px;
    flex: 1;
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #FC7B1B;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: gap 0.2s;
}
.blog-card:hover .blog-card__link {
    gap: 10px;
}

/* Featured card spans 2 columns */
.blog-card--featured {
    grid-column: span 2;
    flex-direction: row;
}
.blog-card--featured .blog-card__image {
    width: 48%;
    height: auto;
    min-height: 240px;
    flex-shrink: 0;
}
.blog-card--featured .blog-card__title {
    font-size: 1.25rem;
}
.blog-card--featured .blog-card__excerpt {
    font-size: 0.925rem;
}

/* ============================================
   BLOG POST PAGE
   ============================================ */

.blog-post-hero {
    background: #0a0a0a;
    padding: 64px 0 52px;
    position: relative;
    overflow: hidden;
}
.blog-post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(252,123,27,0.11) 0%, transparent 55%);
    pointer-events: none;
}
.blog-post-hero__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.blog-post-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.blog-post-hero__category {
    background: #FC7B1B;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}
.blog-post-hero__date,
.blog-post-hero__read-time {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.blog-post-hero__title {
    font-size: clamp(1.65rem, 4vw, 2.65rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 18px;
}
.blog-post-hero__subtitle {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

/* Post Layout */
.blog-post-layout {
    padding: 68px 0 84px;
    background: #fff;
}
.blog-post-layout__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

/* Article */
.blog-post-article h2 {
    font-size: 1.42rem;
    font-weight: 700;
    color: #111;
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FC7B1B;
    line-height: 1.3;
}
.blog-post-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 32px 0 10px;
}
.blog-post-article p {
    font-size: 1rem;
    line-height: 1.82;
    color: #444;
    margin: 0 0 20px;
}
.blog-post-article ul,
.blog-post-article ol {
    margin: 4px 0 22px;
    padding-left: 22px;
}
.blog-post-article li {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 7px;
}
.blog-post-article strong {
    color: #222;
    font-weight: 600;
}
.blog-post-article blockquote {
    border-left: 4px solid #FC7B1B;
    margin: 34px 0;
    padding: 18px 24px;
    background: #fdf7f2;
    border-radius: 0 3px 3px 0;
}
.blog-post-article blockquote p {
    font-size: 1.04rem;
    font-style: italic;
    color: #555;
    margin: 0;
    line-height: 1.7;
}
.post-cta-box {
    background: #111;
    padding: 38px 40px;
    border-radius: 3px;
    margin: 52px 0 0;
    text-align: center;
}
.post-cta-box h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 10px;
    font-weight: 700;
}
.post-cta-box p {
    color: rgba(255,255,255,0.65);
    margin: 0 0 22px;
    font-size: 0.94rem;
    line-height: 1.6;
}
.post-cta-box a {
    display: inline-block;
    background: #FC7B1B;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background 0.2s;
}
.post-cta-box a:hover {
    background: #D96610;
}

/* Sidebar */
.blog-post-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: #f5f5f5;
    padding: 26px;
    margin-bottom: 22px;
    border-radius: 3px;
}
.sidebar-widget__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FC7B1B;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
}
.sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-posts li {
    padding: 11px 0;
    border-bottom: 1px solid #e8e8e8;
}
.sidebar-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-posts a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.18s;
}
.sidebar-posts a:hover {
    color: #FC7B1B;
}
.sidebar-posts span {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-top: 3px;
}
.sidebar-cta {
    background: #FC7B1B;
    padding: 30px 26px;
    border-radius: 3px;
    text-align: center;
}
.sidebar-cta__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 9px;
}
.sidebar-cta__text {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0 0 18px;
}
.sidebar-cta__btn {
    display: block;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 2px;
    transition: background 0.18s;
}
.sidebar-cta__btn:hover {
    background: #222;
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-card--featured {
        grid-column: span 2;
        flex-direction: column;
    }
    .blog-card--featured .blog-card__image {
        width: 100%;
        height: 220px;
    }
    .blog-post-layout__container {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .blog-post-sidebar {
        position: static;
    }
}
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card--featured {
        grid-column: span 1;
    }
    .blog-hero { padding: 56px 0 40px; }
    .post-cta-box { padding: 28px 22px; }
}
