/* ============================================
   SUPERLAC BLOG — STYLES
   Design System Aligned
   ============================================ */

/* Hero Section */
.blog-hero {
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, #ffffff 50%, var(--bg) 100%);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(111,143,122,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: blog-orb-float 20s ease-in-out infinite;
}

.blog-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(200,169,138,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: blog-orb-float 25s ease-in-out infinite reverse;
}

@keyframes blog-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

/* Blog Hero Title */
.blog-hero-title {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.1;
    font-weight: 800;
    font-size: 4rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .blog-hero-title { font-size: 2.5rem; }
}

/* Blog Card Body - Used for featured sections */
.blog-card-body {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(111,143,122,0.08);
    transition: all 0.4s ease;
}

.blog-card-body:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
    .blog-card-body { padding: 24px; }
}

/* ============================================
   BLOG PANEL CARDS
   Use solid backgrounds with design tokens
   ============================================ */

.blog-panel {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(111,143,122,0.12);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.blog-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

/* Icon Container */
.blog-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(111,143,122,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.blog-panel:hover .blog-panel-icon {
    background: rgba(111,143,122,0.15);
    transform: scale(1.05);
}

/* Tag/Badge */
.blog-panel-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(111,143,122,0.12);
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Title */
.blog-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-panel:hover .blog-panel-title {
    color: var(--primary);
}

/* Excerpt */
.blog-panel-excerpt {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Read More Link */
.blog-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-panel-link i {
    transition: transform 0.3s ease;
}

.blog-panel:hover .blog-panel-link {
    gap: 8px;
}

.blog-panel:hover .blog-panel-link i {
    transform: translateX(2px);
}

/* Featured Image in Card */
.blog-panel-featured-img {
    border-radius: 12px;
    overflow: hidden;
}

.blog-panel-featured-img img {
    transition: transform 0.6s ease;
}

.blog-panel:hover .blog-panel-featured-img img {
    transform: scale(1.05);
}

/* Date Badge */
.blog-panel-date {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   CATEGORY PILLS
   ============================================ */

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid rgba(111,143,122,0.15);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.category-pill:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
}

.category-pill i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.category-pill:hover i {
    transform: scale(1.1);
}

.category-pill span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   FEATURED ICON
   ============================================ */

.blog-featured-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: rgba(111,143,122,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: blog-icon-pulse 4s ease-in-out infinite;
}

@keyframes blog-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */

.blog-calculator-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(111,143,122,0.1);
    box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
    .blog-calculator-section { padding: 24px; }
}

.blog-calc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(111,143,122,0.25);
}

/* ============================================
   FAQ ITEMS
   ============================================ */

.blog-faq-item {
    background: #ffffff;
    border: 1px solid rgba(111,143,122,0.1);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-faq-item:hover {
    border-color: rgba(111,143,122,0.2);
    box-shadow: var(--shadow-soft);
}

.blog-faq-item.active {
    border-color: var(--primary);
    background: rgba(111,143,122,0.03);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .blog-hero::before, .blog-hero::after { animation: none; }
}

@media (max-width: 768px) {
    .blog-hero { min-height: 70vh; }
    .blog-hero::before, .blog-hero::after { display: none; }
}