/* =====================================================
   BHARAT FRONTIERS
   THE KNOWLEDGE POST
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #151515;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    background: #111111;
    color: #ffffff;
    font-size: 13px;
}

.top-bar-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a:hover {
    text-decoration: underline;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.header-main {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand {
    text-align: center;
}

.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    color: inherit;
    text-decoration: none;
}

.brand-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-text {
    text-align: center;
}

.brand h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: 2px;
    line-height: 1;
    font-weight: 700;
}

.tagline {
    margin-top: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-style: italic;
}

.brand-description {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666666;
}

.menu-button,
.search-button {
    display: none;
}


/* =====================================================
   NAVIGATION
===================================================== */

.navigation {
    border-top: 1px solid #eeeeee;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation a {
    padding: 15px 17px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.navigation a:hover,
.navigation a.active {
    background: #111111;
    color: #ffffff;
}


/* =====================================================
   SEARCH
===================================================== */

.search-panel {
    display: none;
    background: #f4f4f4;
    padding: 15px 0;
}

.search-panel.show {
    display: block;
}

.search-panel .container {
    display: flex;
    gap: 10px;
}

.search-panel input {
    flex: 1;
    padding: 14px;
    border: 1px solid #cccccc;
    font-size: 16px;
}

.search-panel button {
    padding: 0 18px;
    border: none;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
}


/* =====================================================
   BREAKING BAR
===================================================== */

.breaking-bar {
    border-bottom: 1px solid #dddddd;
    background: #fafafa;
}

.breaking-content {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.breaking-label {
    background: #111111;
    color: #ffffff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
}

.breaking-text {
    font-size: 14px;
    font-weight: 600;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    padding: 45px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.featured-story {
    border-bottom: 1px solid #cccccc;
}

.story-image {
    background: linear-gradient(
        135deg,
        #1b1b1b,
        #555555
    );
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
}

.story-content {
    padding: 25px 0 10px;
}

.category {
    color: #666666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.story-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    margin: 10px 0 15px;
}

.story-content p {
    color: #555555;
    font-size: 17px;
    max-width: 800px;
}

.story-meta,
.card-date {
    margin-top: 15px;
    color: #888888;
    font-size: 12px;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    border-bottom: 2px solid #111111;
    padding-bottom: 3px;
}


/* =====================================================
   TOP STORIES
===================================================== */

.top-stories {
    border-left: 1px solid #dddddd;
    padding-left: 25px;
}

.section-title {
    border-bottom: 3px solid #111111;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 17px;
    letter-spacing: 1px;
}

.top-story {
    padding: 20px 0;
    border-bottom: 1px solid #dddddd;
}

.top-story h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.25;
    margin: 5px 0;
}

.top-story small {
    color: #888888;
    font-size: 11px;
}


/* =====================================================
   CONTENT SECTIONS
===================================================== */

.content-section {
    padding: 55px 0;
}

.alternate-section {
    background: #f6f6f6;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #111111;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.section-heading a {
    font-size: 13px;
    font-weight: bold;
}


/* =====================================================
   NEWS GRID
===================================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    border: 1px solid #dddddd;
    background: #ffffff;
}

.card-image {
    min-height: 190px;
    background: linear-gradient(
        135deg,
        #222222,
        #777777
    );
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.25;
    margin: 8px 0;
}

.card-body p {
    color: #666666;
    font-size: 14px;
}


/* =====================================================
   THREE COLUMN
===================================================== */

.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #ffffff;
}

.small-image {
    min-height: 180px;
    background: linear-gradient(
        135deg,
        #252525,
        #777777
    );
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.25;
    margin: 8px 0;
}

.category-card p {
    color: #666666;
}


/* =====================================================
   POLICY
===================================================== */

.dark-section {
    background: #151515;
    color: #ffffff;
}

.dark-section .section-heading {
    border-color: #ffffff;
}

.dark-section .section-heading a {
    color: #ffffff;
}

.policy-card {
    border: 1px solid #444444;
    padding: 25px;
    min-height: 210px;
}

.policy-card .category {
    color: #bbbbbb;
}

.policy-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    margin: 12px 0;
}

.policy-card p {
    color: #cccccc;
}


/* =====================================================
   RESEARCH
===================================================== */

.research-section {
    background: #111111;
    color: #ffffff;
    padding: 80px 0;
}

.research-content {
    max-width: 750px;
}

.research-content span {
    font-size: 12px;
    letter-spacing: 2px;
}

.research-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 58px);
    margin: 10px 0;
}

.research-content p {
    font-size: 18px;
    color: #cccccc;
}

.light-button {
    display: inline-block;
    margin-top: 25px;
    border: 1px solid #ffffff;
    padding: 12px 20px;
}

.light-button:hover {
    background: #ffffff;
    color: #111111;
}


/* =====================================================
   ANALYSIS
===================================================== */

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.analysis-card {
    border-top: 4px solid #111111;
    padding: 25px 0;
}

.analysis-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.25;
    margin: 10px 0;
}

.analysis-card p {
    color: #666666;
}

.analysis-card a {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}


/* =====================================================
   INNOVATION
===================================================== */

.innovation-box {
    padding: 45px;
    background: #eeeeee;
    text-align: center;
}

.innovation-box h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
}

.innovation-box p {
    max-width: 750px;
    margin: 15px auto 0;
    color: #555555;
}


/* =====================================================
   EXPLAINED
===================================================== */

.explained-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.explained-grid article {
    border-left: 4px solid #111111;
    padding: 20px;
    background: #f7f7f7;
}

.explained-grid h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    margin: 10px 0;
}

.explained-grid p {
    color: #666666;
}


/* =====================================================
   DIGITAL EDITION
===================================================== */

.digital-edition {
    background: #e9e9e9;
    padding: 55px 0;
}

.digital-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.digital-content span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.digital-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    margin: 8px 0;
}

.edition-button {
    background: #111111;
    color: #ffffff;
    padding: 14px 22px;
    white-space: nowrap;
}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter {
    background: #f5f5f5;
    text-align: center;
    padding: 65px 0;
}

.newsletter h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.newsletter p {
    margin: 10px auto 25px;
    color: #666666;
}

.newsletter form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: auto;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: 1px solid #cccccc;
    font-size: 15px;
}

.newsletter button {
    border: none;
    background: #111111;
    color: #ffffff;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
}

#subscribeMessage {
    margin-top: 15px;
    font-weight: bold;
}


/* =====================================================
   ABOUT
===================================================== */

.about-section {
    padding: 70px 0;
}

.about-content {
    max-width: 850px;
}

.about-content span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.about-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    margin: 10px 0 20px;
}

.about-content p {
    color: #555555;
    font-size: 17px;
    margin-bottom: 15px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #111111;
    color: #ffffff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand h2 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #aaaaaa;
    margin-top: 8px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    border: 1px solid #555555;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column h3 {
    margin-bottom: 10px;
}

.footer-column a {
    color: #aaaaaa;
    font-size: 14px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #888888;
    font-size: 12px;
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 900px) {

    .navigation a {
        padding: 12px 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .top-stories {
        border-left: none;
        border-top: 1px solid #dddddd;
        padding-left: 0;
        padding-top: 25px;
    }

    .news-grid,
    .three-column {
        grid-template-columns: 1fr 1fr;
    }

    .explained-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

}


@media (max-width: 650px) {

    .top-bar-content {
        justify-content: center;
    }

    .top-links {
        display: none;
    }

    .header-main {
        min-height: 125px;
    }

    .brand-link {
        gap: 12px;
    }

    .brand-icon {
        width: 70px;
        height: 70px;
    }

    .brand h1 {
        font-size: 31px;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 18px;
    }

    .brand-description {
        font-size: 10px;
    }

    .brand-link {
        gap: 8px;
    }

    .brand-icon {
        width: 58px;
        height: 58px;
    }

    .brand h1 {
        font-size: 26px;
    }

    .tagline {
        font-size: 15px;
    }

    .menu-button,
    .search-button {
        display: block;
        position: absolute;
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
    }

    .menu-button {
        left: 0;
    }

    .search-button {
        right: 0;
    }

    .navigation {
        display: none;
    }

    .navigation.open {
        display: block;
    }

    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .navigation a {
        border-top: 1px solid #eeeeee;
        padding: 12px 10px;
    }

    .news-grid,
    .three-column,
    .analysis-grid,
    .explained-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 25px 0;
    }

    .story-image {
        min-height: 230px;
    }

    .story-content h2 {
        font-size: 32px;
    }

    .digital-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
        padding: 15px 0;
    }

}