﻿/* =========================
   GLOBAL STYLES
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6f9;
    color: #222;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILITY BAR ===== */
.utility-bar {
    background: #153780;
    font-size: 13px;
    padding: 5px 0;
    color: #fff;
}

    .utility-bar a {
        color: #fff;
        margin-right: 12px;
        text-decoration: none;
    }

/* ===== MAIN HEADER ===== */
.main-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.logo img {
    height: 50px;
}

.header-actions a {
    margin-left: 10px;
    font-size: 13px;
}

/* ===== NAVBAR ===== */
.navbar-news {
    background: #c40000;
}

    .navbar-news .nav-link {
        color: #fff !important;
        font-weight: 600;
        font-size: 14px;
    }

        .navbar-news .nav-link:hover {
            color: #ffd700 !important;
        }

/* ===== BREAKING ===== */
.breaking-clean {
    background: #fff3cd;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #111;
    color: #ccc;
    font-size: 14px;
}

    .footer h5,
    .footer h6 {
        color: #fff;
        font-weight: 600;
    }

    .footer a {
        color: #ccc;
        display: block;
        margin-bottom: 6px;
    }

        .footer a:hover {
            color: #fff;
        }

    .footer hr {
        border-color: #444;
    }

    /* =========================
   NEWSLETTER
========================= */
    .footer .input-group input {
        border-radius: 20px 0 0 20px;
    }

    .footer .input-group button {
        border-radius: 0 20px 20px 0;
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .search-box {
        margin-top: 10px;
    }
}

/* =========================
   HERO IMAGE WRAPPER
========================= */
.hero-main,
.hero-small {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    /* IMAGE */
    .hero-main img,
    .hero-small img {
        width: 100%;
        object-fit: cover;
        transition: 0.4s;
    }

    .hero-main img {
        height: 400px;
    }

    .hero-small img {
        height: 190px;
    }

    .hero-main:hover img,
    .hero-small:hover img {
        transform: scale(1.05);
    }

/* =========================
   OVERLAY (IMPORTANT)
========================= */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    color: #fff;
    background: linear-gradient( to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent );
}

/* =========================
   CATEGORY BADGE
========================= */
.hero-category {
    display: inline-block;
    background: #c40000;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* =========================
   TITLE
========================= */
.hero-title {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.hero-main .hero-title {
    font-size: 22px;
}

.hero-small .hero-title {
    font-size: 14px;
}

/* =========================
   CONTENT BOX
========================= */
.hero-content {
    max-width: 95%;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:768px) {
    .hero-main img {
        height: 250px;
    }

    .hero-small img {
        height: 140px;
    }

    .hero-main .hero-title {
        font-size: 18px;
    }
}


/* =========================
   BREAKING NEWS TICKER
========================= */
.breaking-bar {
    background: #c40000;
    color: #fff;
    font-size: 14px;
    overflow: hidden;
}

.breaking-wrap {
    display: flex;
    align-items: center;
}

.breaking-label {
    background: #000;
    padding: 6px 12px;
    font-weight: 600;
    white-space: nowrap;
}

.breaking-news {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.breaking-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollTicker 20s linear infinite;
}

/* Animation */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover */
.breaking-news:hover .breaking-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width:768px) {
    .breaking-label {
        font-size: 12px;
        padding: 5px 8px;
    }
}

/* ===== CATEGORY COMMON ===== */
.category-section {
    margin-top: 40px;
}

.category-title {
    font-weight: 700;
    border-left: 5px solid #c40000;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* ===== CARD ===== */
.news-card {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

    .news-card img {
        width: 100px;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
    }

.news-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.news-desc {
    font-size: 13px;
    color: #666;
}

.news-meta {
    font-size: 12px;
    color: #999;
}

/* ===== GRID ===== */
.news-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== FEATURE ===== */
.news-feature img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== OVERLAY ===== */
.overlay-box {
    position: relative;
}

    .overlay-box img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.overlay-content {
    position: absolute;
    bottom: 0;
    padding: 10px;
    color: #fff;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}


/* =========================
   GLOBAL SPACING
========================= */
.section-space {
    margin-top: 40px;
}

/* =========================
   CATEGORY HEADER COLORS
========================= */
.cat-red {
    border-left: 5px solid #c40000;
}

.cat-blue {
    border-left: 5px solid #007bff;
}

.cat-green {
    border-left: 5px solid #28a745;
}

.cat-purple {
    border-left: 5px solid #6f42c1;
}

/* =========================
   CARD COMMON
========================= */
.news-box {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Featured */
.news-lg img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
}

.news-lg .title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
}

/* Small */
.news-sm {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

    .news-sm img {
        width: 90px;
        height: 65px;
        object-fit: cover;
        border-radius: 5px;
    }

.title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.desc {
    font-size: 13px;
    color: #666;
}

.meta {
    font-size: 12px;
    color: #999;
}

/* =========================
   SIDEBAR
========================= */
.sidebar-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Video */
.video iframe {
    width: 100%;
    height: 200px;
    border-radius: 6px;
}

/* Popular */
.popular li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    font-size: 14px;
}

/* Ads */
.ad img {
    width: 100%;
    border-radius: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px) {
    .news-lg img;

{
    height: 200px;
}

}

/* =========================
   LIVE UPDATE SECTION
========================= */
.live-section {
    background: #fff;
    border-left: 5px solid #ff3b3b;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.live-title {
    font-weight: 700;
    color: #ff3b3b;
    margin-bottom: 10px;
}

.live-item {
    border-bottom: 1px dashed #ddd;
    padding: 8px 0;
    font-size: 14px;
}

.live-time {
    color: #999;
    font-size: 12px;
    margin-right: 8px;
}

/* blinking dot */
.live-dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}


/* =========================
   NEWS DETAIL PAGE
========================= */
.news-detail img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.news-title-lg {
    font-size: 26px;
    font-weight: 700;
}

.news-meta {
    font-size: 13px;
    color: #777;
}

.news-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* SOCIAL SHARE */
.share-box a {
    display: inline-block;
    margin-right: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
}

.fb {
    background: #3b5998;
}

.tw {
    background: #1da1f2;
}

.wa {
    background: #25d366;
}

/* RELATED */
.related img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

/* TAG */
.badge-cat {
    background: #c40000;
}

/* STICKY SHARE */
.share-sticky {
    position: fixed;
    left: 10px;
    top: 40%;
}


/* ===== CATEGORY HEADER ===== */
.cat-header {
    background: linear-gradient(90deg,#c40000,#ff4d4d);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
}

/* ===== FEATURE ===== */
.feature-news img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-news h4 {
    margin-top: 10px;
    font-weight: 700;
}

/* ===== CARD GRID ===== */
.news-card {
    margin-bottom: 15px;
}

    .news-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 6px;
    }

    .news-card .title {
        font-size: 14px;
        font-weight: 600;
    }

/* ===== LIST ===== */
.news-list {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

    .news-list img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 5px;
    }

/* ===== SIDEBAR ===== */
.sidebar-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* ===== TAG ===== */
.badge-cat {
    background: #c40000;
}


/* ===== SPACING SYSTEM ===== */
.section-space {
    margin-top: 60px;
}

.row-gap {
    row-gap: 20px;
}

/* ===== HERO ===== */
.about-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 70px 20px;
    border-radius: 12px;
    text-align: center;
}

/* ===== CARDS ===== */
.card-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== STATS ===== */
.stat-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* ===== TEAM ===== */
.team-card {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .team-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
    }

/* ===== CTA ===== */
.cta-box {
    background: #c40000;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

/* ===== SIMPLE ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== HOVER ===== */
.card-hover {
    transition: 0.3s;
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.img-hover {
    overflow: hidden;
    border-radius: 8px;
}

    .img-hover img {
        transition: 0.4s;
    }

    .img-hover:hover img {
        transform: scale(1.05);
    }


/* ===== AUTHOR HERO ===== */
.author-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
}

/* PROFILE */
.author-profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

/* INFO */
.author-name {
    font-size: 22px;
    font-weight: 700;
}

.author-bio {
    font-size: 14px;
    opacity: 0.9;
}

/* STATS */
.author-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 13px;
}

/* SOCIAL */
.author-social a {
    margin-right: 10px;
    color: #fff;
    font-size: 14px;
}

/* CARD */
.news-card-author {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

    .news-card-author img {
        width: 100px;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
    }

/* SIDEBAR */
.sidebar-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* FOLLOW BTN */
.follow-btn {
    background: #fff;
    color: #c40000;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
}


/* ===== PAGE HEADER ===== */
.page-header {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* ===== AUTHOR CARD ===== */
.author-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .author-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .author-card img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
    }

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: #777;
}

.author-meta {
    font-size: 12px;
    margin-top: 5px;
}

/* ===== FOLLOW BUTTON ===== */
.follow-btn {
    margin-top: 10px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #c40000;
    color: #c40000;
    background: #fff;
}

    .follow-btn:hover {
        background: #c40000;
        color: #fff;
    }


/* ===== CONTACT HERO ===== */
.contact-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 50px 20px;
    border-radius: 12px;
    text-align: center;
}

/* ===== CONTACT BOX ===== */
.contact-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== INPUT ===== */
.form-control {
    border-radius: 6px;
    font-size: 14px;
}

/* ===== INFO ITEM ===== */
.contact-info-item {
    margin-bottom: 15px;
    font-size: 14px;
}

/* ===== MAP ===== */
.map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: 0;
}

/* ===== BUTTON ===== */
.btn-contact {
    background: #c40000;
    color: #fff;
    border: none;
}

    .btn-contact:hover {
        background: #a30000;
    }

/* ===== SIMPLE ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: 0.5s;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }


/* ===== HERO ===== */
.career-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
}

/* ===== SECTION ===== */
.section-space {
    margin-top: 60px;
}

/* ===== CARD ===== */
.career-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .career-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

/* ===== JOB ===== */
.job-title {
    font-weight: 600;
    font-size: 16px;
}

.job-meta {
    font-size: 13px;
    color: #777;
}

/* ===== APPLY BTN ===== */
.apply-btn {
    background: #c40000;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

    .apply-btn:hover {
        background: #a30000;
    }

/* ===== BENEFITS ===== */
.benefit-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* ===== SIMPLE ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: 0.5s;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }


/* ===== FORM WRAPPER ===== */
.form-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===== LABEL ===== */
.form-label {
    font-size: 13px;
    font-weight: 600;
}

/* ===== INPUT ===== */
.form-control, .form-select {
    border-radius: 6px;
    font-size: 14px;
}

/* ===== FILE INPUT ===== */
.file-box {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

    .file-box:hover {
        border-color: #c40000;
    }

/* ===== BUTTON ===== */
.btn-submit {
    background: #c40000;
    color: #fff;
    border: none;
}

    .btn-submit:hover {
        background: #a30000;
    }

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
    display: none;
    color: green;
    font-size: 14px;
    margin-top: 10px;
}

/* ===== HERO ===== */
.apply-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 50px 20px;
    border-radius: 12px;
}

/* ===== JOB BOX ===== */
.job-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== TAG ===== */
.job-tag {
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 5px;
}

/* ===== BENEFITS ===== */
.benefit-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

/* ===== APPLY FORM ===== */
.form-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== BUTTON ===== */
.btn-apply {
    background: #c40000;
    color: #fff;
}

    .btn-apply:hover {
        background: #a30000;
    }


/* ===== HERO ===== */
.epaper-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
}

/* ===== FILTER BOX ===== */
.filter-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== EPAPER CARD ===== */
.epaper-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .epaper-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .epaper-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }

/* ===== OVERLAY ===== */
.epaper-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* ===== DATE TAG ===== */
.epaper-date {
    font-size: 12px;
}

/* ===== TOP TAG ===== */
.epaper-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c40000;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

/* ===== BUTTON ===== */
.epaper-btn {
    background: #fff;
    color: #c40000;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ===== BUTTON ===== */
.btn-epaper {
    background: #c40000;
    color: #fff;
    font-size: 13px;
}

    .btn-epaper:hover {
        background: #a30000;
    }

    /* ===== HEADER ===== */
.epaper-header {
    background:#fff;
    padding:10px 15px;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:1000;
}

/* ===== TITLE ===== */
.epaper-title {
    font-weight:600;
    font-size:16px;
}

/* ===== ACTIONS ===== */
.epaper-actions a {
    margin-left:10px;
    font-size:13px;
}

/* ===== VIEWER ===== */
.epaper-viewer {
    margin-top:15px;
    background:#000;
    padding:10px;
    border-radius:10px;
}

/* ===== IFRAME ===== */
.epaper-viewer iframe {
    width:100%;
    height:80vh;
    border:none;
    border-radius:8px;
}

/* ===== NAVIGATION ===== */
.epaper-nav {
    text-align:center;
    margin-top:10px;
}

.epaper-nav button {
    margin:0 5px;
}


/* ===== PAGE HEADER ===== */
.page-hero {
    background: linear-gradient(120deg,#c40000,#ff6a00);
    color:#fff;
    padding:50px 20px;
    border-radius:12px;
    text-align:center;
}

/* ===== CLIENT CARD ===== */
.client-card {
    background:#fff;
    padding:20px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    transition:0.3s;
    height:100%;
}

.client-card:hover {
    transform:translateY(-6px);
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
}

/* ===== LOGO ===== */
.client-logo {
    height:80px;
    object-fit:contain;
    margin-bottom:10px;
}

/* ===== NAME ===== */
.client-name {
    font-weight:600;
    font-size:15px;
}

/* ===== TYPE ===== */
.client-type {
    font-size:12px;
    color:#777;
}

/* ===== OPTIONAL TAG ===== */
.client-tag {
    display:inline-block;
    background:#f1f1f1;
    font-size:11px;
    padding:3px 8px;
    border-radius:20px;
    margin-top:5px;
}

/* ===== GRID GAP ===== */
.row-gap {
    row-gap:25px;
}