/* ================================================================
   news.css — Consolidated styles for News & Events pages
   MAQResearch Inc.
   ================================================================ */


/* ---------------------------------------------------------------
   NEWS INDEX — Page Hero
   --------------------------------------------------------------- */

.news-page-hero {
    background: linear-gradient(135deg, #1e2a4a 0%, #3853a4 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: #fff;
}
.news-page-hero h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.news-page-hero h1 span { color: #f0d117; }
.news-page-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
}


/* ---------------------------------------------------------------
   NEWS INDEX — Grid & Cards
   --------------------------------------------------------------- */

.news-index-section {
    padding: 60px 0 80px;
    background: #f9faff;
}
.news-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(56, 83, 164, 0.09);
    border: 1.5px solid rgba(56, 83, 164, 0.10);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(56, 83, 164, 0.18);
}
.news-card-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
}
.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img-wrap img { transform: scale(1.05); }
.news-card-body {
    padding: 20px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e2a4a;
    margin-bottom: 12px;
    line-height: 1.4;
    flex: 1;
}
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf0f8;
}
.news-card-date {
    font-size: 0.82rem;
    color: #8898aa;
}
.news-read-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3853a4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.news-read-btn:hover { color: #f0d117; }
.news-no-results {
    text-align: center;
    color: #8898aa;
    padding: 40px 0;
    font-size: 1rem;
}


/* ---------------------------------------------------------------
   ARTICLE PAGE — Hero
   --------------------------------------------------------------- */

.article-page-hero {
    background: linear-gradient(135deg, rgba(30, 42, 74, 0.80) 0%, rgba(56, 83, 164, 0.72) 100%),
                url('/landing/img/cta-bg.jpg') center/cover no-repeat;
    padding: 150px 20px 60px 20px;
    text-align: center;
    color: #fff;
}
.article-page-hero .article-category {
    display: inline-block;
    background: rgba(240, 209, 23, 0.18);
    color: #f0d117;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.article-page-hero h1 {
    font-family: "League Spartan", sans-serif;
    font-size: 42px;
    font-weight: 800;
    max-width: 820px;
    margin: 0 auto 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.article-page-hero .article-meta {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.75;
}


/* ---------------------------------------------------------------
   ARTICLE PAGE — Content Section & Body Card
   --------------------------------------------------------------- */

.article-content-section {
    padding: 60px 0 80px;
    background: url('/image/bg.png') center/cover no-repeat;
    background-attachment: fixed;
}
.article-body-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 28px rgba(56, 83, 164, 0.09);
    padding: 48px 52px;
}
@media (max-width: 767px) {
    .article-body-card { padding: 28px 20px; }
    .article-page-hero h1 { font-size: 1.5rem; }
}


/* ---------------------------------------------------------------
   ARTICLE PAGE — Images
   --------------------------------------------------------------- */

.article-body-card .cover-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 32px;
    max-height: 420px;
    object-fit: cover;
}
.article-body-card .inline-img {
    width: 100%;
    border-radius: 12px;
    margin: 16px 0;
    max-height: 420px;
    object-fit: cover;
}


/* ---------------------------------------------------------------
   ARTICLE PAGE — Typography
   Covers both .content wrapper (show.blade) and direct styling
   used in the static article blade pages.
   --------------------------------------------------------------- */

.article-body-card .content h1,
.article-body-card .content h2,
.article-body-card .content h3,
.article-body-card .content h4,
.article-body-card .content h5,
.article-body-card .content h6,
.article-body-card h1,
.article-body-card h2,
.article-body-card h3,
.article-body-card h4,
.article-body-card h5,
.article-body-card h6 {
    font-family: "League Spartan", sans-serif;
    color: #1e2a4a;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.article-body-card .content h5,
.article-body-card h5 {
    font-size: 1.15rem;
}
.article-body-card .content p,
.article-body-card p {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 1rem;
}
.article-body-card .content ul,
.article-body-card .content ol,
.article-body-card ul,
.article-body-card ol {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #444444;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.85;
}
.article-body-card .content strong,
.article-body-card strong {
    font-weight: 700;
    color: #1e2a4a;
}
.article-body-card .content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 12px 0;
}


/* ---------------------------------------------------------------
   ARTICLE PAGE — Sidebar
   --------------------------------------------------------------- */

.article-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-heading {
    font-family: "League Spartan", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e2a4a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2.5px solid #3853a4;
}
.sidebar-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(56, 83, 164, 0.08);
    border: 1.5px solid rgba(56, 83, 164, 0.10);
    margin-bottom: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(56, 83, 164, 0.16);
}
.sidebar-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.sidebar-card-body {
    padding: 14px 16px 12px;
}
.sidebar-card-title {
    font-family: "League Spartan", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e2a4a;
    line-height: 1.35;
    margin-bottom: 8px;
}
.sidebar-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #edf0f8;
}
.sidebar-card-date {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: #8898aa;
}
.sidebar-read-btn {
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #3853a4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.2s;
}
.sidebar-read-btn:hover { color: #f0d117; }


/* ---------------------------------------------------------------
   ARTICLE PAGE — Page-specific utilities
   --------------------------------------------------------------- */

/* Women's Month closing statement */
.article-body-card .closing-statement {
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    color: #1e2a4a;
    margin-top: 1.5rem;
}

/* Back navigation link */
.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3853a4;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}
.article-back-link:hover { color: #f0d117; }
