/* ============================================================
   PRAVAHA INTERNATIONAL — SHARED BLOG STYLES
   Used across all blog pages for consistent formatting
   ============================================================ */

/* ---- Blog Header (Monthly) ---- */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.blog-header h1 {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 12px;
    line-height: 1.25;
    position: relative;
}
.blog-header .blog-meta {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}
.blog-tag-pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 8px;
    margin-bottom: 16px;
}

/* ---- Blog Content Wrapper ---- */
.blog-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}
.blog-content h2 {
    font-size: 1.55rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f4;
}
.blog-content h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-top: 28px;
    margin-bottom: 12px;
}
.blog-content p {
    margin-bottom: 20px;
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--text-dark);
}
.blog-content ul {
    margin-bottom: 24px;
    padding-left: 22px;
    list-style-type: disc;
}
.blog-content li {
    margin-bottom: 10px;
    line-height: 1.65;
    font-size: 1.02rem;
    color: var(--text-dark);
}

/* ---- Section Intro Label ---- */
.section-intro-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 6px;
    margin-top: 50px;
}

/* ============================================================
   STAT CARDS — Key Highlights Section
   ============================================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 28px 0 10px;
}
.stat-card {
    background: #f7f9fc;
    border: 1px solid #e4e9f0;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 20px 18px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.stat-card:hover {
    box-shadow: 0 6px 24px rgba(10,25,47,0.10);
    transform: translateY(-2px);
}
.stat-card .stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.stat-card .stat-label {
    font-size: 0.82rem;
    color: #546e7a;
    line-height: 1.4;
    font-weight: 500;
}
.stat-card.highlight {
    background: var(--primary-color);
    border-left-color: #ffd700;
}
.stat-card.highlight .stat-value {
    color: #ffd700;
}
.stat-card.highlight .stat-label {
    color: rgba(255,255,255,0.8);
}
.stat-card.positive {
    border-left-color: #1a7f5a;
}
.stat-card.positive .stat-value {
    color: #1a7f5a;
}
.stat-card.warning {
    border-left-color: #c0392b;
}
.stat-card.warning .stat-value {
    color: #c0392b;
}

/* ============================================================
   DATA TABLES
   ============================================================ */
.table-wrapper {
    overflow-x: auto;
    margin: 24px 0 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(10,25,47,0.07);
}
.table-caption {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.table-caption i {
    opacity: 0.6;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
table.data-table thead tr {
    background: var(--primary-color);
    color: white;
}
table.data-table thead th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: white;
}
table.data-table tbody tr {
    border-bottom: 1px solid #eef0f4;
    transition: background 0.15s;
}
table.data-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}
table.data-table tbody tr:hover {
    background: #eef3fb;
}
table.data-table tbody td {
    padding: 12px 16px;
    vertical-align: top;
    line-height: 1.5;
    color: var(--text-dark);
}
table.data-table tbody td:first-child {
    font-weight: 600;
}
table.data-table tbody tr:last-child {
    border-bottom: none;
}

/* Price change badges */
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-up {
    background: #e8f5e9;
    color: #1a7f5a;
}
.badge-down {
    background: #ffebee;
    color: #c0392b;
}
.badge-neutral {
    background: #f3f4f6;
    color: #546e7a;
}
.badge-alert {
    background: #fff3cd;
    color: #856404;
}
.badge-unavailable {
    background: #f3f4f6;
    color: #9e9e9e;
    text-decoration: line-through;
}

/* ============================================================
   INFO BOXES — Alerts / Callouts
   ============================================================ */
.info-box {
    border-radius: 6px;
    padding: 18px 20px;
    margin: 28px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.97rem;
    line-height: 1.6;
}
.info-box .info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.info-box .info-content strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.info-box.critical {
    background: #fff5f5;
    border-left: 4px solid #c0392b;
    color: #7a1f1f;
}
.info-box.critical .info-icon { color: #c0392b; }
.info-box.warning {
    background: #fffbf0;
    border-left: 4px solid #e67e22;
    color: #7a4200;
}
.info-box.warning .info-icon { color: #e67e22; }
.info-box.insight {
    background: #f0f7ff;
    border-left: 4px solid #2980b9;
    color: #1a3a5c;
}
.info-box.insight .info-icon { color: #2980b9; }
.info-box.success {
    background: #f0fff4;
    border-left: 4px solid #1a7f5a;
    color: #0d4031;
}
.info-box.success .info-icon { color: #1a7f5a; }

/* ============================================================
   OUTLOOK / LOOKING AHEAD CARD
   ============================================================ */
.outlook-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
    color: white;
    border-radius: 10px;
    padding: 32px 36px;
    margin: 50px 0 20px;
    position: relative;
    overflow: hidden;
}
.outlook-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.outlook-card .outlook-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,215,0,0.9);
    margin-bottom: 10px;
}
.outlook-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.outlook-card p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    font-size: 0.97rem;
    margin-bottom: 0;
}

/* ============================================================
   CHECKLIST — Quality / Compliance Items
   ============================================================ */
.checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 0.97rem;
    line-height: 1.5;
}
.checklist li:last-child { border-bottom: none; }
.checklist li .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #1a7f5a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================================
   BLOG NAVIGATION (Prev / Next)
   ============================================================ */
.blog-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0 20px;
    flex-wrap: wrap;
}
.blog-nav-link {
    flex: 1;
    min-width: 220px;
    padding: 18px 22px;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.25s ease;
    background: #f7f9fc;
}
.blog-nav-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(10,25,47,0.15);
}
.blog-nav-link.next { text-align: right; }
.blog-nav-link .nav-dir {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
    margin-bottom: 4px;
}
.blog-nav-link .nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}
.blog-nav-link:hover .nav-dir,
.blog-nav-link:hover .nav-title {
    color: white;
    opacity: 1;
}

/* ============================================================
   FEATURE CARDS (3-col grid)
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0 32px;
}
.feature-card {
    background: #f7f9fc;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
}
.feature-card:hover {
    box-shadow: 0 6px 20px rgba(10,25,47,0.1);
    transform: translateY(-3px);
}
.feature-card .feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 14px;
}
.feature-card h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.85rem;
    color: #546e7a;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .blog-header h1 { font-size: 1.7rem; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-content { padding: 40px 16px 60px; }
    .blog-nav { flex-direction: column; }
    .blog-nav-link.next { text-align: left; }
    .outlook-card { padding: 24px 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    table.data-table thead th,
    table.data-table tbody td { padding: 10px 12px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr; }
    .stat-card .stat-value { font-size: 1.55rem; }
}
