/* ============================================
   STUDENT CORNER HOMEPAGE SECTION
============================================ */
.sc-home-section {
  padding: 80px 0;
  background: #f4f9f6;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal bg pattern like NiceSchool */
.sc-home-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(45,106,79,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(45,106,79,0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(45,106,79,0.03) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(45,106,79,0.03) 25%, transparent 25%);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating decorative orbs */
.sc-home-section::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sc-home-orb2 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section header */
.sc-home-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.sc-home-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sc-home-label .bar {
  width: 38px;
  height: 4px;
  background: linear-gradient(90deg, #2d6a4f, #52b788);
  border-radius: 2px;
}

.sc-home-label span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.sc-home-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a3c2e;
  line-height: 1.1;
  margin: 0;
}

.sc-home-title span {
  color: #2d6a4f;
  position: relative;
}

.sc-home-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #52b788, #2d6a4f);
  border-radius: 2px;
  opacity: 0.4;
}

.sc-home-sub {
  color: #6b9e81;
  font-size: 0.95rem;
  margin: 6px 0 0;
}

.sc-see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid #2d6a4f;
  color: #2d6a4f;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sc-see-all-btn:hover {
  background: #2d6a4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.2);
}

.sc-see-all-btn i {
  transition: transform 0.25s;
}

.sc-see-all-btn:hover i {
  transform: translateX(4px);
}

/* Category Filter Pills */
.sc-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.sc-pill {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid #cde7d8;
  background: #fff;
  color: #4a7c63;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sc-pill:hover,
.sc-pill.active {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,106,79,0.2);
}

/* Cards Grid */
.sc-cards-grid {
  position: relative;
  z-index: 2;
}

/* Individual Card */
.sc-home-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e0ede7;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sc-home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45,106,79,0.13);
  border-color: #b7ddc8;
}

/* Card image area */
.sc-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.sc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sc-home-card:hover .sc-card-img-wrap img {
  transform: scale(1.07);
}

/* No-image text preview panels */
.sc-text-panel {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.sc-text-panel.poem-panel {
  background: linear-gradient(135deg, #0a2818 0%, #1a5c3a 100%);
}

.sc-text-panel.story-panel {
  background: linear-gradient(135deg, #1a1a0a 0%, #5c4a1a 100%);
}

.sc-text-panel.artwork-panel {
  background: linear-gradient(135deg, #1a0a0a 0%, #5c1a1a 100%);
}

.sc-text-panel .panel-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 3.5rem;
  opacity: 0.1;
  color: #fff;
  line-height: 1;
}

.sc-text-panel .panel-quote {
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Gradient overlay on images */
.sc-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,24,0.6) 0%, transparent 55%);
}

/* Category badge on image */
.sc-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.sc-cat-badge.poem  { background: rgba(209,250,229,0.9); color: #065f46; }
.sc-cat-badge.story { background: rgba(254,243,199,0.9); color: #92400e; }
.sc-cat-badge.artwork { background: rgba(255,237,213,0.9); color: #9a3412; }

/* Featured star */
.sc-featured-star {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #facc15;
  color: #78350f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(250,204,21,0.4);
}

/* Card body */
.sc-home-card-body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sc-card-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.65rem;
}

.sc-card-ava {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d6a4f, #74c69d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.sc-card-author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a3c2e;
  line-height: 1.1;
}

.sc-card-author-class {
  font-size: 0.68rem;
  color: #9bb8a7;
}

.sc-card-date {
  margin-left: auto;
  font-size: 0.68rem;
  color: #c0d8ca;
}

.sc-home-card h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1a3c2e;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.sc-home-card:hover h5 { color: #2d6a4f; }

.sc-card-excerpt {
  font-size: 0.82rem;
  color: #6b9e81;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-card-footer {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f0f7f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-card-read-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d6a4f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s, color 0.2s;
}

.sc-card-read-link:hover {
  gap: 8px;
  color: #1a3c2e;
}

.sc-card-type-icon {
  font-size: 1rem;
  color: #c8dfd2;
}

/* Bottom CTA strip */
.sc-home-cta-strip {
  margin-top: 50px;
  background: linear-gradient(135deg, #1a3c2e 0%, #2d6a4f 100%);
  border-radius: 20px;
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.sc-home-cta-strip::before {
  content: '"';
  position: absolute;
  right: 30px;
  top: -20px;
  font-size: 12rem;
  color: rgba(255,255,255,0.04);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.sc-cta-text h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.sc-cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
}

.sc-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: #5eea8d;
  color: #052e16;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-primary:hover {
  background: #86efac;
  color: #052e16;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(94,234,141,0.3);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.07);
}

/* Scroll reveal animation */
.sc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.sc-reveal-d1 { transition-delay: 0.08s; }
.sc-reveal-d2 { transition-delay: 0.18s; }
.sc-reveal-d3 { transition-delay: 0.28s; }

/* No items state */
.sc-no-items {
  text-align: center;
  padding: 3rem;
  color: #6b9e81;
}

@media (max-width: 768px) {
  .sc-home-title { font-size: 1.7rem; }
  .sc-home-cta-strip { padding: 1.8rem; flex-direction: column; text-align: center; }
  .sc-cta-actions { justify-content: center; }
  .sc-home-header { flex-direction: column; align-items: flex-start; }
}





/* ============================================
   STATS SECTION — NiceSchool Style
============================================ */
.stats-section-v2 {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle bg accent */
.stats-section-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: #f4f9f6;
  z-index: 0;
}

.stats-section-v2 .container { position: relative; z-index: 1; }

/* ── LEFT: Title block ── */
.stats-intro {
  padding-right: 2rem;
}
.stats-intro .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}
.stats-intro .section-tag::before {
  content: '';
  width: 32px;
  height: 3px;
  background: #52b788;
  border-radius: 2px;
}
.stats-intro h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: #1a3c2e;
  line-height: 1.2;
  margin-bottom: 14px;
}
.stats-intro p {
  color: #5a7a67;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.stats-intro .cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-stats-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: #2d6a4f;
  color: #fff;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #2d6a4f;
  transition: all 0.22s;
}
.btn-stats-primary:hover {
  background: #1a3c2e;
  border-color: #1a3c2e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,106,79,0.2);
}
.btn-stats-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  background: transparent;
  color: #2d6a4f;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #b7ddc8;
  transition: all 0.22s;
}
.btn-stats-outline:hover {
  border-color: #2d6a4f;
  background: #f0fdf4;
  color: #1a3c2e;
}

/* ── RIGHT: Stat Cards ── */
.stat-card-v2 {
  background: #fff;
  border: 1px solid #e0ede7;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
}
.stat-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(45,106,79,0.11);
  border-color: #b7ddc8;
}
.stat-card-v2 .stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #065f46;
  transition: transform 0.25s;
}
.stat-card-v2:hover .stat-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}
.stat-card-v2 .stat-text .stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a3c2e;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card-v2 .stat-text .stat-label {
  font-size: 0.8rem;
  color: #6b9e81;
  font-weight: 600;
  line-height: 1.3;
}

/* Different icon bg colors per card */
.stat-card-v2:nth-child(1) .stat-icon-wrap { background: linear-gradient(135deg,#d1fae5,#a7f3d0); color: #065f46; }
.stat-card-v2:nth-child(2) .stat-icon-wrap { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: #1e40af; }
.stat-card-v2:nth-child(3) .stat-icon-wrap { background: linear-gradient(135deg,#fef3c7,#fde68a); color: #92400e; }
.stat-card-v2:nth-child(4) .stat-icon-wrap { background: linear-gradient(135deg,#fce7f3,#fbcfe8); color: #9d174d; }

/* ── ACHIEVEMENTS ── */
.achievements-v2 {
  margin-top: 70px;
}
.achievements-v2 .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.achievements-v2 .section-tag::before {
  content: '';
  width: 28px;
  height: 3px;
  background: #52b788;
  border-radius: 2px;
}
.achievements-v2 h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a3c2e;
  margin-bottom: 30px;
}

.ach-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.ach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,60,46,0.18);
}
.ach-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.ach-card:hover img { transform: scale(1.06); }

/* Dark overlay gradient */
.ach-card .ach-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,20,0.82) 0%, rgba(10,30,20,0.15) 55%, transparent 100%);
  transition: background 0.3s;
}
.ach-card:hover .ach-overlay {
  background: linear-gradient(to top, rgba(10,30,20,0.9) 0%, rgba(10,30,20,0.3) 60%, transparent 100%);
}

/* Content inside achievement card */
.ach-card .ach-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
}
.ach-card .ach-tag {
  display: inline-block;
  background: rgba(94,234,141,0.18);
  border: 1px solid rgba(94,234,141,0.3);
  color: #5eea8d;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.ach-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.3;
}
.ach-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}
.ach-card:hover p {
  max-height: 60px;
  opacity: 1;
}

/* Trophy icon watermark on ach card */
.ach-card .ach-watermark {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  color: rgba(255,255,255,0.12);
}

@media (max-width: 991px) {
  .stats-intro { padding-right: 0; margin-bottom: 2.5rem; }
}
@media (max-width: 576px) {
  .ach-card { height: 240px; }
}






/* ============================================
   RECENT NEWS — Clean NiceSchool Style
============================================ */
.news-section-v2 {
  padding: 80px 0;
  background: #f4f9f6;
}

/* Section header */
.news-section-v2 .news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 1rem;
}
.news-section-v2 .news-header .left .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.news-section-v2 .news-header .left .tag::before {
  content: '';
  width: 30px;
  height: 3px;
  background: #52b788;
  border-radius: 2px;
  display: block;
}
.news-section-v2 .news-header .left h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #1a3c2e;
  margin: 0;
  line-height: 1.15;
}
.news-section-v2 .news-header .left p {
  color: #6b9e81;
  font-size: 0.9rem;
  margin: 6px 0 0;
}
.news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d6a4f;
  text-decoration: none;
  border: 1.5px solid #b7ddc8;
  padding: 9px 20px;
  border-radius: 8px;
  transition: all 0.22s;
  white-space: nowrap;
}
.news-view-all:hover {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
}
.news-view-all i { transition: transform 0.22s; }
.news-view-all:hover i { transform: translateX(3px); }

/* ── NEWS CARD ── */
.news-card-v2 {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0ede7;
  transition: transform 0.26s, box-shadow 0.26s, border-color 0.26s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(45,106,79,0.11);
  border-color: #b7ddc8;
}

/* Thumbnail */
.news-card-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.news-card-v2:hover .news-card-thumb img {
  transform: scale(1.05);
}

/* Category badge */
.news-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.news-cat-badge.announcement { background: rgba(209,250,229,0.92); color: #065f46; }
.news-cat-badge.event        { background: rgba(219,234,254,0.92); color: #1e40af; }
.news-cat-badge.achievement  { background: rgba(254,243,199,0.92); color: #92400e; }
.news-cat-badge.notice       { background: rgba(252,231,243,0.92); color: #9d174d; }

/* Date chip on image */
.news-date-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15,30,20,0.72);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-date-chip i { font-size: 0.7rem; }

/* Card body */
.news-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Title */
.news-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1a3c2e;
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s;
}
.news-card-title:hover { color: #2d6a4f; }

/* Divider */
.news-card-divider {
  height: 1px;
  background: #f0f7f3;
  margin: 12px 0;
}

/* Author row */
.news-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.news-author-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #d1fae5;
}
.news-author-fallback {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d6a4f, #74c69d);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.news-author-info .author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a3c2e;
  line-height: 1.1;
}
.news-author-info .author-date {
  font-size: 0.7rem;
  color: #9bb8a7;
}
.news-read-link {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2d6a4f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  transition: gap 0.2s, color 0.2s;
}
.news-read-link:hover { gap: 6px; color: #1a3c2e; }






/* ============================================
   NOTICES HOMEPAGE SECTION
============================================ */
.notices-home {
  padding: 80px 0;
  background: #fff;
}

/* Header */
.notices-home .sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.notices-home .sec-tag::before {
  content: '';
  width: 30px; height: 3px;
  background: #52b788;
  border-radius: 2px;
  display: block;
}
.notices-home .sec-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #1a3c2e;
  margin: 0;
}
.notices-home .sec-sub {
  color: #6b9e81;
  font-size: 0.9rem;
  margin: 6px 0 0;
}
.notices-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d6a4f;
  text-decoration: none;
  border: 1.5px solid #b7ddc8;
  padding: 9px 20px;
  border-radius: 8px;
  transition: all 0.22s;
  white-space: nowrap;
}
.notices-view-all:hover {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
}
.notices-view-all i { transition: transform 0.2s; }
.notices-view-all:hover i { transform: translateX(3px); }

/* ── NOTICE CARD ── */
.notice-card-v2 {
  background: #fff;
  border: 1px solid #e0ede7;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.notice-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 34px rgba(45,106,79,0.11);
  border-color: #b7ddc8;
}

/* Image */
.notice-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.notice-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
  display: block;
}
.notice-card-v2:hover .notice-card-img img { transform: scale(1.05); }
.notice-card-img .img-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,30,20,0.35) 0%, transparent 55%);
}

/* No-image banner */
.notice-no-img {
  height: 80px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 10px;
  flex-shrink: 0;
  border-bottom: 1px solid #e0ede7;
}
.notice-no-img i {
  font-size: 1.6rem;
  color: #52b788;
  opacity: 0.6;
}

/* Date strip on image */
.notice-date-strip {
  position: absolute;
  bottom: 10px; left: 12px;
  background: rgba(10,30,20,0.65);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.notice-date-strip i { font-size: 0.7rem; color: #74c69d; }

/* Body */
.notice-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Date (no-image variant) */
.notice-date-plain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #52b788;
  margin-bottom: 8px;
}
.notice-date-plain i { font-size: 0.75rem; }

.notice-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  font-weight: 800;
  color: #1a3c2e;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.notice-card-v2:hover .notice-card-title { color: #2d6a4f; }

.notice-card-desc {
  font-size: 0.81rem;
  color: #5a7a67;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f7f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notice-read-link {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2d6a4f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s, color 0.2s;
}
.notice-read-link:hover { gap: 8px; color: #1a3c2e; }

.notice-type-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: #f0fdf4;
  display: flex; align-items: center; justify-content: center;
  color: #52b788;
  font-size: 0.82rem;
}



