/* ===============================
   PAGE WRAPPER
================================ */
.daily-news-page{
  display:flex;
  gap:24px;
  padding:36px;
  background:#f8fafc;
}

/* ===============================
   LEFT MAIN PANEL
================================ */
.daily-main{
  flex:1;
  background:#ffffff;
  border-radius:14px;
  padding:24px 26px 30px;
  border:1px solid #e5e7eb;
}

/* HEADER BAR */
.daily-header{
  background:linear-gradient(135deg,#16a34a,#22c55e);
  color:#fff;
  padding:14px 20px;
  border-radius:10px;
  margin-bottom:18px;
}

.daily-title{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:20px;
  font-weight:700;
}

.daily-title i{
  background:#ffffff;
  color:#16a34a;
  padding:6px;
  border-radius:6px;
  font-size:16px;
}

/* DESCRIPTION */
.daily-desc{
  font-size:14px;
  line-height:1.75;
  color:#334155;
  margin-bottom:18px;
}

/* YEAR SELECT */
.year-select{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.year-select label{
  font-size:13px;
  color:#334155;
}

.year-select select{
  padding:6px 10px;
  border-radius:6px;
  border:1px solid #d1d5db;
  outline:none;
}

/* ===============================
   MONTH ACCORDION
================================ */
.month-block{
  border:1px solid #cfe3c3;
  border-radius:12px;
  overflow:hidden;
}

.month-header{
  background:#ecfdf5;
  padding:14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:700;
  color:#15803d;
}

.month-header i{
  color:#16a34a;
}

/* DATES GRID */
/* GREEN DATE TILES */
.date-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:16px;
  padding:18px;
}

.date-tile{
  background:linear-gradient(135deg,#1e3a14,#3f7d23);
  border-radius:14px;
  padding:18px 12px;
  text-align:center;
  color:#fff;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(83,141,34,.35);
  transition:.25s ease;
}

.date-tile i{
  font-size:24px;
  margin-bottom:8px;
  color:#d9ffb8;
}

.date-tile span{
  display:block;
  font-size:14px;
  font-weight:600;
  letter-spacing:.3px;
}

.date-tile:hover{
  transform:translateY(-6px) scale(1.03);
  box-shadow:0 14px 32px rgba(83,141,34,.45);
}


/* DATE CARD */
.date-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px 10px;
  text-align:center;
  text-decoration:none;
  color:#334155;
  transition:.25s ease;
}

.date-card i{
  font-size:22px;
  color:#16a34a;
  margin-bottom:6px;
}

.date-card span{
  display:block;
  font-size:13px;
}

.date-card:hover{
  border-color:#22c55e;
  background:#f0fdf4;
  transform:translateY(-3px);
}

/* =========================
   DAILY MAIN PANEL
========================= */

.daily-main{
  flex:1;
  background:#fff;
  border:1px solid #4d842147;
  border-radius:12px;
  padding:22px;
}

/* INTRO CARD */

.daily-intro-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(90deg,#1e3a14,#3f7d23);
  color:#fff;
  padding:18px 20px;
  border-radius:12px;
}

.intro-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.intro-left i{
  font-size:28px;
  opacity:.9;
}

.intro-left h2{
  font-size:20px;
  margin-bottom:2px;
}

.intro-left p{
  font-size:13px;
  opacity:.9;
}

.intro-right{
  display:flex;
  align-items:center;
  gap:8px;
}

.intro-right label{
  font-size:13px;
}

.intro-right select{
  padding:6px 10px;
  border-radius:6px;
  border:none;
  outline:none;
  font-weight:600;
}

/* INFO STRIP */

.daily-info-strip{
  margin-top:14px;
  padding:14px 16px;
  background:#f3f8ef;
  border-left:4px solid #3f7d23;
  border-radius:8px;
  font-size:14px;
  color:#2f4f1e;
}

/* MONTH BLOCK */

.month-block{
  margin-top:24px;
}

/* MONTH HEADER */

.month-header{
  width:100%;
  background:#f1f7ec;
  border:1px solid #4d842147;
  border-radius:10px;
  padding:14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:800;
  color:#2f7d18;
  cursor:pointer;
}

/* DATE GRID */

.date-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:14px;
}

/* DATE TILE */

.date-tile{
  background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
  border-radius:14px;
  padding:18px 12px;
  text-align:center;
  color:#fff;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(83,141,34,.35);
  transition:.25s ease;
  border:1px solid rgba(255,255,255,0.15);
}

.date-tile i{
  font-size:20px;
  margin-bottom:8px;
  display:block;
  color:#eaffd1;
}

.date-tile span{
  font-weight:700;
  letter-spacing:.3px;
}

.date-tile:hover{
  transform:translateY(-5px) scale(1.03);
  box-shadow:0 14px 32px rgba(83,141,34,.45);
}
/* ===== STATS ROW ===== */

.daily-stats-row{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.daily-stats-row span{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  color:#15803d;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:6px;
}
.date-tile em{
  display:block;
  margin-top:6px;
  font-size:11px;
  opacity:.9;
  background:rgba(255,255,255,.18);
  padding:2px 8px;
  border-radius:999px;
}
.subject-box li{
  position:relative;
  overflow:hidden;
  transition:all .25s ease;
}

.subject-box li::after{
  content:"";
  position:absolute;
  inset:0;
  width:0%;
  background:linear-gradient(90deg,#1e3a14,#3f7d23);
  z-index:-1;
  transition:.35s ease;
}

.subject-box li:hover::after{
  width:100%;
}

.subject-box li:hover{
  color:#fff;
  padding-left:14px;
}

.subject-box li:hover::before{
  color:#eaffd1;
}
.subject-box li.active{
  background:linear-gradient(90deg,#1e3a14,#3f7d23);
  color:#fff;
  border-radius:6px;
}
.month-header{
  position:sticky;
  top:0;
  z-index:2;
}
.daily-news-page{
  display:flex;
  gap:24px;
  padding:36px;
  background:#f8fafc;
  align-items:flex-start;
}

/* LEFT PANEL */

.daily-main{
  flex:1;
  background:#fff;
  border:1px solid #cfe3c3;
  border-radius:12px;
  padding:22px;
}

/* INTRO */

.daily-intro-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(90deg,var(--dark-green),var(--primary-green));
  color:#fff;
  padding:18px;
  border-radius:12px;
}

.intro-left{
  display:flex;
  gap:14px;
  align-items:center;
}

.intro-left i{font-size:28px;}

.intro-left h2{font-size:20px;}
.intro-left p{font-size:13px;opacity:.9;}

.intro-right select{
  padding:6px 10px;
  border-radius:6px;
  border:none;
  font-weight:600;
}

/* INFO */

.daily-info-strip{
  margin-top:14px;
  padding:14px;
  background:#f0f8ea;
  border-left:4px solid var(--primary-green);
  border-radius:8px;
  font-size:14px;
}

/* STATS */

.daily-stats-row{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.daily-stats-row span{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

/* ================= LATEST NEWS ================= */

.latest-news-box{
  margin-top:18px;
  background:#fff;
  border:1px solid #cfe3c3;
  border-radius:12px;
  padding:14px;
}

.latest-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--primary-green);
  border-bottom:2px solid var(--primary-green);
  padding-bottom:6px;
  margin-bottom:10px;
}

.latest-item{
  display:flex;
  gap:12px;
  padding:10px;
  border-bottom:1px solid #e5e7eb;
  text-decoration:none;
  transition:.25s;
}

.latest-item:hover{
  background:#f0f8ea;
  border-radius:8px;
}

.date-badge{
  width:46px;
  height:50px;
  background:var(--primary-green);
  color:#fff;
  border-radius:8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.latest-text h5{font-size:13px;color:#0f172a;}
.latest-text p{font-size:12px;color:var(--primary-green);font-weight:700;}

/* MONTH */

.month-block{margin-top:24px;}

.month-header{
  width:100%;
  padding:14px;
  background:#f1f7ec;
  border:1px solid #cfe3c3;
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  cursor:pointer;
}

.date-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:14px;
}

.date-tile{
  background:linear-gradient(90deg,var(--dark-green),var(--primary-green));
  border-radius:14px;
  padding:16px;
  text-align:center;
  color:#fff;
  text-decoration:none;
  transition:.25s;
}

.date-tile:hover{
  transform:translateY(-5px);
}
/* ============================
   ARTICLE PAGE – GREEN THEME
============================ */

.article-page{
  background:#ffffff;
  border-radius:14px;
  padding:26px 30px;
  border:1px solid #4d842147;
}

/* ===== HEADER ===== */

.article-header h1{
  font-size:24px;
  color:#2f7d18;
  margin-bottom:8px;
  font-weight:800;
}

/* rating + nav */

.article-top-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:10px 0 12px;
}

.rating i{ color:#22c55e; }
.rating .gray{ color:#cbd5e1; }

.nav-btns button{
  border:1px solid #4d842147;
  background:#f8fafc;
  padding:6px 10px;
  cursor:pointer;
  border-radius:6px;
  color:#2f7d18;
  transition:.2s;
}

.nav-btns button:hover{
  background:#ecfdf5;
}

/* ===== TAGS ===== */

.tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.tags span{
  background:#ecfdf5;
  padding:5px 12px;
  border-radius:999px;
  font-size:12px;
  color:#15803d;
  font-weight:700;
  border:1px solid #bbf7d0;
}

/* ===== PRELIMS / MAINS BOX ===== */

.exam-focus-box{
  background:#f0fdf4;
  border-left:5px solid #22c55e;
  border-radius:12px;
  padding:16px 18px;
  margin:22px 0 14px;
}

.exam-focus-box p{
  margin-bottom:10px;
  color:#14532d;
  line-height:1.7;
}

.exam-focus-box b{
  color:#166534;
}

.exam-focus-box span{
  color:#15803d;
  font-weight:600;
}

/* ===== SOURCE ===== */

.source{
  color:#2f7d18;
  font-weight:700;
  margin-bottom:18px;
}

/* ===== CONTENT ===== */

.article-content h3{
  margin-top:24px;
  margin-bottom:10px;
  font-size:20px;
  color:#3c642b;
}

.article-content h4{
  margin-top:14px;
  margin-bottom:6px;
  font-size:15px;
  color:#2f7d18;
}

.article-content p{
  line-height:1.8;
  margin-bottom:10px;
  color:#334155;
  font-size:14.5px;
}

.article-content ul{
  padding-left:18px;
  margin-bottom:14px;
}

.article-content li{
  list-style:disc;
  margin-bottom:8px;
  color:#334155;
  font-size:14.5px;
}

/* divider */

.article-content hr{
  margin:26px 0;
  border:none;
  border-top:1px dashed #bbf7d0;
}
