/* ===========================
   GLOBAL STYLES
=========================== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    margin: auto;
    max-width: 1200px;
}

/* ===========================
   Date/Time
=========================== */
.datetime {
    color: orange;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

/* ===========================
   MAIN HEADER
=========================== */
.main-header {
    background: #000;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
}

.main-header h1 {
    color: white;
    font-family: Georgia, serif;
    font-size: 48px;
    margin: 0;
}

/* ===========================
   BREAKING NEWS BAR
=========================== */
.breaking-news {
    background: #c30000;
    color: yellow;
    padding: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    font-weight: bold;
    overflow: hidden;
    flex-wrap: wrap;
}

.bn-title {
    margin-right: 10px;
    color: white;
    font-weight: bold;
}

/* ===========================
   SUB HEADER (MENU)
=========================== */
.sub-header {
    background: #222;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sub-header a {
    color: white;
    margin: 6px 12px;
    font-size: 18px;
    padding: 6px 12px;
}

.sub-header a:hover {
    background: #007bff;
    border-radius: 5px;
}

/* ===========================
   NEWS CARD
=========================== */
.news, .news-card {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.news img,
.news-card img,
.full-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 10px;
}

.news-card h2, .news h2 {
    margin: 5px 0;
    font-size: 26px;
    color: #111;
}

.meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.news-card p, .news p {
    font-size: 16px;
    color: #333;
}

/* ===========================
   READ MORE BUTTON
=========================== */
.read-more, .readmore-btn, .news a {
    color: orange;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===========================
   SKY BLUE BUTTONS
=========================== */
button, .btn {
    background: #3bb9ff;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

button:hover, .btn:hover {
    background: #1ca3f5;
}

/* ===========================
   FULL ARTICLE PAGE
=========================== */
.full-article {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* CONTENT SPLIT */
.content-area {
    display: flex;
    gap: 20px;
}

.left-content {
    width: 70%;
}

.sidebar {
    width: 30%;
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
}

.sidebar-item {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.sidebar-item a {
    color: #0066cc;
    font-size: 16px;
}

.sidebar-item a:hover {
    text-decoration: underline;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #111;
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
}

/* ===========================
   RESPONSIVE DESIGN 
=========================== */

/* TABLETS */
/* ===========================
   MOBILE FIX — NO OVERLAP
=========================== */
@media(max-width: 600px){

    /* Prevent overlapping inside cards */
    .news-card,
    .news,
    .full-article,
    .sidebar,
    .left-content {
        width: 100%;
        display: block;
        clear: both;
    }

    /* Ensure images do NOT overflow */
    img, .news img, .news-card img, .full-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* Fix Heading & paragraph collision */
    h1, h2, h3, p {
        word-wrap: break-word;
        line-height: 1.4;
    }

    /* Breaking news fix */
    .breaking-news {
        flex-direction: column;
        text-align: center;
        line-height: 1.4;
    }

    /* Menu alignment */
    .sub-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .sub-header a {
        display: inline-block;
        padding: 6px 10px;
        margin: 5px;
        font-size: 15px;
    }

    /* Content area fix — force vertical stacking */
    .content-area {
        display: block;
    }

    /* Fix spacing */
    .news-card, .news, .full-article {
        margin-bottom: 20px;
    }

    /* Ensure text doesn't overlap with sidebar */
    .sidebar {
        margin-top: 20px;
    }
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-card {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

.edu-btn{
  background:#ff6f00;
  color:#fff;
  padding:10px 18px;
  border:none;
  border-radius:6px;
  font-size:16px;
  cursor:pointer;
  margin:10px 0;
}
.edu-btn{
  background:#ff6f00;
  color:#fff;
  padding:8px 14px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

.class-btn{
  background:#1976d2;
  color:#fff;
  padding:6px 12px;
  border:none;
  border-radius:4px;
  margin:5px;
  cursor:pointer;
}

.qa-box{
  background:#fff;
  padding:12px;
  margin:12px 0;
  border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
}

.qa-ans{
  color:#2e7d32;
  margin-top:6px;
}

.food-card{
 position: relative;
 overflow: hidden;
 border-radius: 10px;
 background: #fff8e1; /* cream fallback */
}

.food-card img{
 width:100%;
 height:200px;
 object-fit:cover;
 display:block;
}

.food-title{
 position:absolute;
 bottom:0;
 width:100%;
 background: rgba(255,243,224,0.9);
 color:#3e2723;
 padding:6px;
 text-align:center;
 font-weight:bold;
 z-index:2;
}

.career-card{
    max-width:340px;
    background:linear-gradient(135deg,#5f259f,#6a1b9a); /* YONO purple */
    border-radius:16px;
    box-shadow:0 12px 30px rgba(95,37,159,0.4);
    padding:22px;
    transition:all 0.3s ease;
}

.career-card:hover{
    transform:translateY(-6px) scale(1.02);
    box-shadow:0 18px 40px rgba(95,37,159,0.6);
}

.career-link{
    text-decoration:none; 
    
    display:block;
    color:#ffffff;
    font-family:'Segoe UI', 'Poppins', Arial, sans-serif;
}

.career-link h3{
    margin:0 0 8px;
    font-size:22px;
    font-weight:800;   /* extra bold */
    letter-spacing:0.4px;
}

.career-link p{
    margin:0;
    font-size:15px;
    font-weight:600;
    opacity:0.95;
}

.hindi-link{
  display:block;
  font-size:22px;
  font-weight:700;
  color:#ff9800;
  text-decoration:none;
  margin:12px 0;
}
.hindi-link:hover{
  color:#e65100;
  text-decoration:underline;
}
