/* ==========================================
   JATAV HISTORY - CHANDRASHEKHAR AZAD NEWS
   File: css/chandrashekhar-news.css
========================================== */

.jh-news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 18px 60px;
    color: #34445a;
}

.jh-news-page * {
    box-sizing: border-box;
}

.jh-news-page a {
    color: #123e78;
    text-decoration: none;
}

.jh-news-page a:hover {
    color: #a47726;
    text-decoration: underline;
}

.jh-news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 7px 0 22px;
    color: #8996a6;
    font-size: 12px;
}

.jh-news-breadcrumb a {
    color: #60738c;
}

.jh-news-article-page {
    width: 100%;
}

.jh-news-header {
    max-width: 940px;
    margin: 0 auto 25px;
}

.jh-news-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #edf3fa;
    color: #123e78;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.jh-news-header h1 {
    margin: 0 0 16px;
    color: #102d50;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.22;
}

.jh-news-standfirst {
    max-width: 850px;
    margin: 0 0 17px;
    color: #64758a;
    font-size: 17px;
    line-height: 1.75;
}

.jh-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    padding: 13px 0;
    border-top: 1px solid #e5ebf2;
    border-bottom: 1px solid #e5ebf2;
    color: #77869a;
    font-size: 12px;
}

.jh-news-meta strong {
    color: #29415e;
}

.jh-news-featured-image {
    max-width: 940px;
    margin: 0 auto 35px;
}

.jh-news-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    background: #edf2f7;
}

.jh-news-featured-image figcaption {
    margin-top: 8px;
    color: #8491a1;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.jh-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 35px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.jh-news-content {
    min-width: 0;
    font-size: 16px;
    line-height: 1.9;
}

.jh-news-content p {
    margin: 0 0 19px;
    color: #45566c;
    font-size: 15px;
    line-height: 1.95;
}

.jh-news-content h2 {
    margin: 32px 0 14px;
    color: #102d50;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}

.jh-news-content .jh-news-intro {
    margin-bottom: 25px;
    padding-left: 17px;
    border-left: 4px solid #d5a13c;
    color: #354b65;
    font-size: 17px;
    line-height: 1.9;
}

.jh-news-event-card {
    overflow: hidden;
    margin: 27px 0 32px;
    border: 1px solid #e3eaf2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(17, 48, 82, .055);
}

.jh-news-event-card-heading {
    padding: 21px 23px;
    background: linear-gradient(110deg, #102e55, #194c83);
}

.jh-news-event-card-heading > span {
    display: block;
    margin-bottom: 7px;
    color: #e5b75b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.jh-news-event-card-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.jh-news-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 19px;
}

.jh-news-event-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 14px 6px;
    border-bottom: 1px solid #edf0f4;
}

.jh-news-event-icon {
    display: flex;
    flex: 0 0 37px;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    background: #f0f5fb;
    font-size: 16px;
}

.jh-news-event-item small {
    display: block;
    margin-bottom: 4px;
    color: #8996a6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .9px;
}

.jh-news-event-item strong {
    display: block;
    color: #102d50;
    font-size: 12px;
    line-height: 1.5;
}

.jh-news-event-link {
    margin: 30px 0;
    padding: 22px 23px;
    border: 1px solid #dfe8f3;
    border-left: 4px solid #d5a13c;
    border-radius: 9px;
    background: #f4f7fb;
}

.jh-news-event-link > span {
    display: block;
    margin-bottom: 8px;
    color: #a47726;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.jh-news-event-link h2 {
    margin: 0 0 9px;
    font-size: 19px;
}

.jh-news-event-link p {
    margin-bottom: 13px;
    color: #68788c;
    font-size: 13px;
}

.jh-news-event-link > a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    background: #123e78;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.jh-news-event-link > a:hover {
    background: #102d50;
    color: #fff;
    text-decoration: none;
}

.jh-news-source-note {
    margin-top: 28px;
    padding-top: 15px;
    border-top: 1px solid #e3eaf2;
    color: #7b8999;
    font-size: 12px;
}

.jh-news-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 17px;
}

.jh-news-sidebar-card {
    padding: 21px;
    border: 1px solid #e3eaf2;
    border-top: 3px solid #d5a13c;
    border-radius: 9px;
    background: #fff;
}

.jh-news-sidebar-label {
    display: block;
    margin-bottom: 8px;
    color: #a47726;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.jh-news-sidebar-card h2 {
    margin: 0 0 15px;
    color: #102d50;
    font-size: 18px;
    line-height: 1.4;
}

.jh-news-sidebar-row {
    padding: 11px 0;
    border-bottom: 1px solid #edf0f4;
}

.jh-news-sidebar-row small {
    display: block;
    margin-bottom: 4px;
    color: #8996a6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
}

.jh-news-sidebar-row strong {
    display: block;
    color: #344b66;
    font-size: 12px;
    line-height: 1.6;
}

.jh-news-sidebar-button {
    display: block;
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 5px;
    background: #123e78;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.jh-news-sidebar-button:hover {
    background: #102d50;
    text-decoration: none !important;
}

.jh-news-city-card {
    background: #f5f8fc;
    border-top-color: #123e78;
}

.jh-news-city-card p {
    margin: 0 0 10px;
    color: #68788c;
    font-size: 12px;
    line-height: 1.75;
}

.jh-news-city-card > a {
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 850px) {
    .jh-news-layout {
        grid-template-columns: minmax(0, 1fr) 245px;
        gap: 22px;
    }
}

@media (max-width: 680px) {
    .jh-news-page {
        padding: 13px 13px 42px;
    }

    .jh-news-header h1 {
        font-size: 29px;
    }

    .jh-news-standfirst {
        font-size: 15px;
    }

    .jh-news-featured-image {
        margin-bottom: 25px;
    }

    .jh-news-featured-image img {
        border-radius: 7px;
    }

    .jh-news-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .jh-news-sidebar {
        position: static;
    }

    .jh-news-content h2 {
        font-size: 21px;
    }

    .jh-news-content p {
        font-size: 14px;
    }

    .jh-news-content .jh-news-intro {
        font-size: 15px;
    }

    .jh-news-event-grid {
        grid-template-columns: 1fr;
        padding: 5px 14px;
    }

    .jh-news-event-card-heading {
        padding: 18px;
    }

    .jh-news-event-card-heading h2 {
        font-size: 18px;
    }

    .jh-news-event-link {
        padding: 19px 17px;
    }
}
