/*
Theme Name: AlphaMarket
Theme URI: http://alphastreet.com/india
Author: AlphaStreet Clone
Description: Complete market dashboard theme including transcripts and inner pages.
Version: 1.1
Text Domain: alphamarket
*/

/* ---------------------------------------------------------
   1. Base & Reset
--------------------------------------------------------- */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}
a { text-decoration: none; color: #333; transition: color 0.2s; }
a:hover { color: #0056b3; }

/* ---------------------------------------------------------
   2. Header
--------------------------------------------------------- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
    margin-bottom: 20px;
}
.header-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.custom-logo { max-height: 50px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.main-nav a { font-weight: 600; font-size: 14px; text-transform: uppercase; }
.search-form { display: flex; }
.search-form input { border: 1px solid #ced4da; padding: 5px 10px; font-size: 14px; border-radius: 4px 0 0 4px; outline: none; }
.search-form button { background-color: #333; color: #fff; border: 1px solid #333; padding: 5px 15px; font-size: 12px; font-weight: bold; border-radius: 0 4px 4px 0; cursor: pointer; }

/* ---------------------------------------------------------
   3. Cards & Lists (Dashboard)
--------------------------------------------------------- */
.finance-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); overflow: hidden; }
.card-header { background: #fff; padding: 10px 15px; font-weight: 700; text-transform: uppercase; font-size: 14px; border-bottom: 1px solid #eee; color: #333; }
.analysis-list, .dense-list, .announcement-list { list-style: none; padding: 0; margin: 0; }
.analysis-item { padding: 12px 15px; border-bottom: 1px solid #f2f2f2; position: relative; }
.analysis-item:last-child { border-bottom: none; }
.analysis-content h3 { font-size: 14px; margin: 0; line-height: 1.4; font-weight: 500; }
.analysis-date { font-size: 11px; color: #999; margin-top: 4px; display: block; }

/* Lead Story */
.lead-story { padding: 15px; }
.lead-title { font-size: 18px; font-weight: 700; display: block; margin-bottom: 8px; color: #000; line-height: 1.3; }
.lead-excerpt { font-size: 13px; color: #666; margin-bottom: 10px; line-height: 1.5; }
.lead-meta { font-size: 11px; color: #999; }

/* Sidebars Lists */
.dense-list li { padding: 8px 15px; border-bottom: 1px solid #f2f2f2; font-size: 13px; line-height: 1.4; }
.dense-list li a { display: block; margin-bottom: 3px; font-weight: 500; }
.meta-date, .announcement-date { font-size: 10px; color: #888; display: block; }
.announcement-list li { padding: 8px 12px; border-bottom: 1px solid #eee; font-size: 12px; }
.announcement-link { font-weight: 600; color: #003b73; display: block; margin-bottom: 2px; }

/* ---------------------------------------------------------
   4. Transcripts & Widgets
--------------------------------------------------------- */
.transcript-box { background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 4px; height: 100%; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.transcript-box:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.transcript-label { display: inline-block; background: #f0f0f0; font-size: 10px; padding: 2px 6px; border-radius: 3px; margin-bottom: 8px; color: #555; width: fit-content; }
.transcript-title { display: block; font-size: 13px; font-weight: 700; margin-bottom: auto; color: #333; line-height: 1.4; }
.transcript-meta { font-size: 11px; color: #999; margin-top: 10px; }
.promo-billboard { margin-bottom: 20px; text-align: center; }
.promo-box { margin-top: 20px; margin-bottom: 20px; text-align: center; }
.promo-box img, .promo-billboard img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------
   5. Single Post & Inner Pages (NEW)
--------------------------------------------------------- */
.entry-title { font-size: 28px; font-weight: 800; color: #003b73; margin-bottom: 15px; }
.entry-meta { font-size: 13px; color: #666; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.entry-content { font-size: 16px; line-height: 1.7; color: #222; }
.entry-content p { margin-bottom: 20px; }
.sidebar-widget { background: #fff; border: 1px solid #e0e0e0; padding: 20px; margin-bottom: 30px; border-radius: 4px; }
.sidebar-title { font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; border-bottom: 2px solid #003b73; display: inline-block; padding-bottom: 5px; }

/* ---------------------------------------------------------
   6. Archive & Category Styles (ADD THIS TO BOTTOM)
--------------------------------------------------------- */

/* Card Hover Effect */
.hover-shadow:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #bbb;
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}

/* Image scaling inside cards */
.finance-card img {
    transition: transform 0.3s ease;
}
.finance-card:hover img {
    transform: scale(1.05);
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-numbers {
    display: block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.pagination .page-numbers.current {
    background: #003b73;
    color: #fff;
    border-color: #003b73;
}

.pagination .page-numbers:hover:not(.current) {
    background: #f1f1f1;
    color: #000;
}

/* Object Fit Utility for older Bootstraps if needed */
.object-fit-cover {
    object-fit: cover;
}

/* Scroll Top & Footer */
#scrollTop { display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; font-size: 18px; border: none; outline: none; background-color: #003b73; color: white; cursor: pointer; padding: 10px 15px; border-radius: 4px; }
footer { background-color: #222; color: #ccc; padding: 40px 0; font-size: 13px; margin-top: 40px; }
footer a { color: #fff; }
.footer-nav-container ul { list-style: none; padding: 0; display: inline-flex; gap: 20px; margin-bottom: 20px; }
.disclaimer { font-size: 11px; color: #777; margin-top: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }