/* ============================================================
   PAGE HERO (used on inner pages: blog, about, contact, etc.)
   ============================================================ */
.page-hero { background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); padding: 32px 0; }
.page-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.page-hero-inner p , .page-hero-inner .breadcrumb{
  color:#1a1f71;
}
.page-hero-img { width: 320px; height: 180px; background: linear-gradient(135deg, #0ea5e9, #0369a1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-left: auto; position: relative; overflow: hidden; }
.page-hero-img::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 20px,rgba(255,255,255,0.04) 20px,rgba(255,255,255,0.04) 40px); }
.page-hero-img-label { color: rgba(255,255,255,0.5); font-size: 11px; font-family: monospace; text-align: center; position: relative; z-index: 1; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }

/* ============================================================
   NEWS / BLOG LIST
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.news-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; cursor: pointer; text-decoration: none; display: block; transition: transform 0.15s, box-shadow 0.15s; }
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.news-thumb { position: relative; height: 160px; background: linear-gradient(135deg,#0ea5e9,#0369a1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-cat { position: absolute; top: 10px; left: 10px; background: rgba(211, 47, 47, 0.9); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; z-index: 1; }
.news-body { padding: 14px 16px; }
.news-title { font-size: 13.5px; font-weight: 700; color: var(--primary); line-height: 1.5; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn { width: 36px; height: 36px; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 8px; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.page-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   ARTICLE / POST DETAIL
   ============================================================ */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; padding: 32px 0; }
.article-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.article-content h2, .article-content h3 { margin: 24px 0 12px; }
.article-content p { color: var(--text); margin-bottom: 14px; }
.article-content img { border-radius: 10px; margin: 16px 0; }
.article-content ul, .article-content ol { margin: 14px 0 14px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  padding: 14px 18px; margin: 16px 0;
  border-radius: 0 10px 10px 0;
  color: var(--primary); font-style: italic;
}
.article-sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.article-sidebar-card h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.sidebar-cat-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; cursor: pointer; text-decoration: none; color: var(--text); }
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { color: var(--blue); }
.sidebar-cat-count { background: var(--bg); padding: 1px 7px; border-radius: 99px; font-size: 12px; color: var(--muted); }
.sidebar-post { display: flex; gap: 10px; margin-bottom: 12px; cursor: pointer; text-decoration: none; color: inherit; }
.sidebar-post-thumb { width: 60px; height: 60px; border-radius: 6px; background: linear-gradient(135deg,#0ea5e9,#0369a1); flex-shrink: 0; overflow: hidden; }
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post:hover .sidebar-post-title { color: var(--blue); }
.sidebar-post-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.tag { background: var(--blue-light); color: var(--blue); padding: 5px 12px; border-radius: 99px; font-size: 12px; cursor: pointer; text-decoration: none; }
.tag:hover { background: #ffebee; }
.article-nav { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
}
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.stat-card { text-align: center; padding: 16px 8px; background: var(--blue-light); border-radius: 10px; }
.stat-value { font-size: 22px; font-weight: 900; color: var(--blue); }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.mission-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.mission-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mission-title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 8px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }

/* Contact page main grid: info + form side-by-side on desktop, stack on mobile */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* About 2-column block (image + content) */
.about-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .about-2col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.contact-label { font-weight: 600; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-sub { font-size: 12px; color: var(--muted); }
.map-placeholder { background: linear-gradient(135deg,#ffebee,#ffcdd2); height: 280px; border-radius: 12px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; margin-top: 32px; overflow: hidden; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-lg); max-width: 280px; }
.map-card h4 { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.map-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.map-card a { color: var(--blue); font-size: 12px; font-weight: 500; text-decoration: none; display: block; margin-top: 8px; }
