/* 
   Synthoil Blog Central Stylesheet - V2.2
   Premium Aesthetic - Non-Image Focus.
*/

:root {
    --primary-color: #00264d;
    --primary-dark: #001226;
    --accent-color: #c5a059;
    --accent-light: #d4af37;
    --text-dark: #1a1a1a;
    --text-medium: #444444;
    --text-light: #f4f4f4;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Industrial Theme Gradients */
    --grad-premium: linear-gradient(135deg, #00264d 0%, #004080 50%, #00264d 100%);
    --grad-accent: linear-gradient(135deg, #c5a059 0%, #f4d03f 100%);
}

/* Base Blog Layout & Typography */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fcfcfc;
}

.blog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
}

.blog-content h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-medium);
}

/* Executive Summary Block */
.executive-summary {
    background: rgba(212, 175, 55, 0.08);
    border-left: 6px solid var(--accent-light);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.05);
}

/* FAQ Styling */
.faq-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

.faq-item {
    background: #ffffff;
    padding: 1.8rem;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.faq-item:hover {
    border-color: var(--accent-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Blog Cards - Premium Redesign WITHOUT images */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    will-change: transform;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 38, 77, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.blog-card:hover::after {
    transform: scaleX(1);
}

/* Dynamic Decorative Header for Card */
.blog-card-img {
    height: 200px;
    background: var(--grad-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Adding a grid pattern to the background */
.blog-card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* Icon presentation */
.blog-card-img i {
    font-size: 3.5rem;
    color: var(--white);
    z-index: 2;
    transition: transform 0.4s ease;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.blog-card:hover .blog-card-img i {
    transform: scale(1.1) rotate(5deg);
}

/* Glass-morphism element inside img area */
.blog-card-img::after {
    content: 'TECHNICAL INSIGHT';
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 4px;
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-card-body {
    padding: 2rem;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    opacity: 0.9;
}

/* Button & Footer Styling */
.blog-card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.03);
    margin-top: auto;
}

.btn-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: fit-content;
}

.btn-read-more:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 2.2rem;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Article List Helpers */
.blog-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.blog-content ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    font-size: 1.1rem;
    color: var(--text-medium);
}

.blog-content ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Global Grid Optimization */
.grid { 
    display: grid; 
    gap: 2.5rem; 
}
.grid-2-cols { grid-template-columns: repeat(2, 1fr); }
.grid-3-cols { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 992px) { 
    .grid-3-cols { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 768px) { 
    .grid-2-cols, .grid-3-cols { grid-template-columns: 1fr; }
    .blog-card-title { font-size: 1.25rem; }
}

/* Footer & Global Elements */
.footer p, .footer span { color: #eeeeee !important; }
.footer .footer-col h4 { color: var(--accent-light) !important; font-weight: 800; }
