/* ================================
   GLOBAL
   ================================ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #F9FBFE;          /* soft off-white */
    color: #374151;               /* readable dark gray */
}

/* ================================
   HEADER
   ================================ */
header {
    background: #F9FBFE;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

header img {
    max-height: 60px;
}

/* ================================
   NAVIGATION
   ================================ */
nav {
    background: #EEF4FB;
    border-bottom: 1px solid #E2E8F0;
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #3A7BD5;               /* primary blue */
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #1E5EB8;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    padding: 70px 20px 40px 20px;
    background: linear-gradient(
        180deg,
        #EAF2FB 0%,
        #F8FAFD 100%
    );
    text-align: center;
}

.hero h1 {
    color: #1E3A5F;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    color: #475569;
}

/* ================================
   INTRO PARAGRAPH
   ================================ */
.intro-copy {
    font-size: 18px;
    line-height: 1.75;
    color: #1E3A5F;
    max-width: 820px;
    margin: 0 auto;
}

/* ================================
   CATEGORY CARDS
   ================================ */
.category-card {
    background: #E8EEF5;    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border: 1px solid #DCE6F1;
    transition: 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(58,123,213,0.35);
    border-color: #3A7BD5;
}

.category-card h3 {
    margin: 0;
    font-size: 22px;
    color: #3A7BD5;
}

.category-card p {
    margin-top: 8px;
    color: #64748B;
}

/* ================================
   POST FEED CARDS
   ================================ */
.post-item {
    display: flex;
    background: #FFFFFF;
    padding: 15px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border: 1px solid #E2E8F0;
}

.post-item img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
}

.post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-info h2 {
    margin: 0;
    font-size: 20px;
    color: #1E3A5F;
}

.post-info p {
    margin: 5px 0;
    color: #64748B;
}

.post-info a {
    margin-top: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #3A7BD5;
}

/* ================================
   FOOTER
   ================================ */
footer {
    margin-top: 60px;
    background: #EEF4FB;
    color: #64748B;
    padding: 25px;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}

footer p {
    margin: 0;
}

footer a {
    color: #3A7BD5;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
   GRID CARDS (same layout, insurance colors)
   ------------------------------------------------------- */
.stock-grid {
    max-width: 1400px;
    margin: 50px auto 80px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 50px;
    padding: 0 20px;
}

.stock-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 0 0 25px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #E2E8F0;
    transition: 0.25s ease;
}

.stock-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(58,123,213,0.35);
}

.stock-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
    margin-bottom: 15px;
}

.stock-card h3 {
    color: #1E3A5F !important;
    font-size: 20px;
    margin: 10px 20px 5px 20px;
    text-transform: capitalize;
}

.stock-card p {
    color: #64748B;
    font-size: 15px;
    margin: 0 20px 15px 20px;
}

.stock-card a {
    color: #3A7BD5;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
}

/* ------------------------------
   ARTICLE PAGE
   ------------------------------ */
.article-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: ##F9FAF7;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.article-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1E3A5F;
    margin-bottom: 10px;
}

.article-date {
    text-align: center;
    font-size: 16px;
    color: #64748B;
    margin-bottom: 25px;
}

.article-body {
    font-size: 20px;
    line-height: 1.75;
    color: #374151;
}

.article-body p {
    margin-bottom: 18px;
}

/* ARTICLE IMAGE */
#pfp-article-img {
    width: 100% !important;
    max-width: 900px !important;
    height: 350px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 40px auto !important;
    border-radius: 14px !important;
}

/* Soft warmth accent */
.soft-highlight {
    background: #F6EDC9;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Section divider */
.section-divider {
    width: 120px;
    height: 3px;
    margin: 30px auto 0 auto;
    background-color: #3A7BD5;
    border: none;
    border-radius: 3px;
}
