/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #222;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =========================================================
   🌐 GLOBAL STICKY HEADER
   ========================================================= */
.global-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none !important;
  box-shadow: none !important;
}

/** #00B894, #00CEC9, #0984E3, #6C5CE7 **/
.header-logo {
  font-size: 2.0rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(60deg,
    #00B894, #00CEC9, #0984E3, #6C5CE7
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-logo a {
  color: inherit;
}


/* =========================================================
   FEED (Card Style)
   ========================================================= */
.post-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.07);
}
.post-card img { height: 210px; object-fit: cover; border-radius: 12px;}
.post-card-title { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }

/* =========================================================
   📄 ARTICLE PAGE
   ========================================================= */
.article-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.article-content p {
  font-size: 1.13rem;
  margin-bottom: 1.4rem;
  text-align: justify;
  text-justify: inter-word;
}

.article-tags .tag-badge {
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* =========================================================
   🖼 MEDIA HERO (Top Image) + Thumbnails
   ========================================================= */
.hero-img {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  border-radius: 15px;
  transition: opacity .2s ease-in-out;
}
.thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.thumb-img {
  height: 95px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .15s ease, transform .15s ease;
}
.thumb-img:hover { opacity: 1; transform: scale(1.03); }
.active-thumb {
  opacity: 1;
  border: 2px solid #111;
  transform: scale(1.05);
}
.thumb-strip::-webkit-scrollbar { display: none; }

.news-card img,
img.img-fluid.mb-4 {
  height: auto;
  object-fit: cover;
  border-radius: 12px !important;
  width: 100%;
  display: block;
}