/* GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
background: #111111;
    color: #f5f5f5;
}

/* HEADER */
header {
    background: #e60023;
    padding: 5px 0; /* reduced from ~20px */
    text-align: center;
}

header img {
    max-height: 60px;
}

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

nav a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #e60023;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(180deg, #111111 0%, #0f0f0f 100%);
    padding: 90px 20px 60px; /* top | sides | bottom */
    text-align: center;
}

.hero h1 {
    color: #d1d5db;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 0.2px;
    line-height: 1.15;
    text-shadow: 0 3px 14px rgba(0,0,0,0.7);
}

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

/* CATEGORY CARDS */
.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.6);
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: default;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,0,50,0.5);
    border-color: #e60023;
}

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

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

/* POST FEED CARDS */
.post-item {
    display: flex;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.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: #e60023;
}

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

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

/* FOOTER */
footer {
    margin-top: 60px;
    background: #1a1a1a;
    color: #bbb;
    padding: 25px;
    text-align: center;
}

footer p {
    margin: 0;
}

/* ------------------------------------------------------- */
/* ★ NEW: STOCK GRID WITH GEN-X STYLE GLOWING CARDS ★ */
/* ------------------------------------------------------- */

.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;
}

/* Card container */
.stock-card {
    background: rgba(255,255,255,0.05);
    border-radius: 22px;
    padding: 0 0 25px 0;
    box-shadow: 0 0 25px rgba(230,0,35,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.25s ease;
}

.stock-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 35px rgba(230,0,35,0.55);
}

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

/* Card title */
.stock-card h3 {
    color: #3ee7ff !important;
    font-size: 20px;
    margin: 10px 20px 5px 20px;
    text-transform: capitalize;
}

/* Summary text */
.stock-card p {
    color: #ddd;
    font-size: 15px;
    margin: 0 20px 15px 20px;
}

/* Read more link */
.stock-card a {
    color: #ff3366;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
}
/* ------------------------------ */
/* ARTICLE PAGE IMPROVEMENTS     */
/* ------------------------------ */

/* Main article container */
.article-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 25px rgba(230,0,35,0.25);
}

/* Title */
.article-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #e60023;
    margin-bottom: 10px;
}

/* Date */
.article-date {
    text-align: center;
    font-size: 16px;
    color: #ccc;
    margin-bottom: 25px;
}


/* Body text – match GenX readability */
.article-body {
    font-size: 20px;
    line-height: 1.75;
    color: #e8e8e8;
}

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

/* FINAL OVERRIDE — FORCE ARTICLE IMAGE SIZE */
#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;
}
