/* =========================================================
   04 / 05 – Bản tin EHS – Chi tiết bài viết (Đang đọc / Đọc đủ 60 giây)
   ========================================================= */

/* Thanh thông báo khi đọc đủ 60s (màn 05) */
.read-status {
  position: sticky; top: var(--topbar-h); z-index: 14;
  display: none; align-items: center; height: 2rem; padding: 0 1.2rem; margin-top: -0.45rem;
  background: #009966; color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05));
}
.read-status__inner { width: 46.8rem; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.read-status__msg { display: flex; align-items: center; gap: 0.4rem; font-size: max(0.7rem, var(--fs-min2, 0px)); line-height: 1rem; letter-spacing: -.154px; }
.read-status__msg img { width: 1rem; height: 1rem; }
.read-status__badge { padding: 2px 0.4rem; border-radius: 0.2rem; background: #007a55; font-size: max(0.6rem, var(--fs-min, 0px)); line-height: 0.8rem; white-space: nowrap; }
.is-done .read-status { display: flex; animation: slideDown .35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

.detail { display: grid; grid-template-columns: minmax(0, 41.7rem) 20.95rem; column-gap: 1.45rem; padding: 3.95rem 7.35rem 0 7.3rem; align-items: start; }
.is-done .detail { padding-top: 2.4rem; }
.is-done .aside { margin-top: 1.1rem; }

/* ----- Bài viết ----- */
.article__head { width: calc(100% - 1.15rem); display: flex; flex-direction: column; gap: 0.57rem; }
.article__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tag { border-radius: 49.95rem; font-size: max(0.6rem, var(--fs-min, 0px)); font-weight: 500; line-height: 0.8rem; }
.tag--cat { padding: 0.2rem 0.6rem; background: #d0fae5; color: #006045; }
.tag--new { padding: 2px 0.5rem; background: #ff2056; color: #fff; }
.article__title { font-size: 1.5rem; font-weight: 600; line-height: 2.0625rem; letter-spacing: .42px; color: var(--ink-3); }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.8rem; padding: .6px 0 0.8rem; border-bottom: 1px solid #f1f5f9; }
.article__meta span { display: flex; align-items: center; gap: 0.3rem; font-size: max(0.6rem, var(--fs-min, 0px)); font-weight: 500; line-height: 0.8rem; color: #62748e; }
.article__meta img { width: 0.8rem; height: 0.8rem; }

.article__body { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.8rem; line-height: 1.3rem; letter-spacing: -.32px; color: #314158; }
.article__body img { height: auto; }
.article__quote { margin: 1.2rem 0 0; padding: 0.8rem; background: #f8fafc; border-left: 0.2rem solid #009966; border-radius: 0.6rem; font-size: 0.8rem; font-style: italic; font-weight: 500; line-height: 1.3rem; letter-spacing: -.32px; color: #314158; }

.article__nav {
  margin-top: 1.85rem; width: calc(100% - 1.65rem);
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.6rem 1.2rem; background: #fff; border-bottom: 1px solid var(--line); border-radius: 10rem;
}
.article__nav a { display: flex; align-items: center; gap: 0.4rem; padding: 0.3rem; border-radius: 0.4rem; font-size: max(0.7rem, var(--fs-min2, 0px)); font-weight: 700; line-height: 1rem; letter-spacing: -.154px; color: #314158; transition: background-color .2s, color .2s; }
.article__nav a:hover { background: #f1f5f9; color: var(--navy); }
.article__nav img { width: 0.8rem; height: 0.8rem; transition: transform .2s; }
.article__nav a:first-child:hover img { transform: translateX(-0.15rem); }
.article__nav a:last-child:hover img { transform: translateX(0.15rem); }

/* ----- Cột phải ----- */
.aside { display: flex; flex-direction: column; gap: 1.15rem; position: sticky; top: calc(var(--topbar-h) + 1.2rem); }
.timer-card { position: relative; height: 12.95rem; padding: 0 0.85rem; background: #fff; border: 1px solid #e2e9f2; border-radius: 0.7rem; }
.timer-card__icon { position: absolute; left: 0.9rem; top: 0.9rem; width: 1.45rem; height: 1.45rem; }
.timer-card__label { position: absolute; left: 0.85rem; top: 3.1rem; font-size: max(0.6rem, var(--fs-min, 0px)); font-weight: 500; line-height: 0.8rem; color: var(--muted-2); }
.timer-card__value { position: absolute; left: 0.85rem; top: 4.2rem; font-size: 2.25rem; font-weight: 700; line-height: 3rem; color: var(--navy); font-variant-numeric: tabular-nums; transition: opacity .3s; }
.timer-card__track { position: absolute; left: 0.85rem; top: 7.5rem; width: 19rem; max-width: calc(100% - 1.7rem); height: 0.4rem; border-radius: 0.2rem; background: #e2e9f2; overflow: hidden; }
.timer-card__bar { height: 100%; width: 0; border-radius: 0.2rem; background: var(--green); transition: width 1s linear; }
.timer-card__desc { position: absolute; left: 0.85rem; top: 8.8rem; font-size: max(0.6rem, var(--fs-min, 0px)); line-height: 0.8rem; color: var(--muted-2); }
.timer-card__status { position: absolute; left: 0.85rem; top: 10.45rem; height: 1.5rem; width: 4.35rem; border-radius: 0.75rem; display: grid; place-items: center; background: #e2e9f2; font-size: max(0.6rem, var(--fs-min, 0px)); font-weight: 600; line-height: 0.8rem; color: #2c69d8; }
.is-done .timer-card__value { opacity: .2; }
.is-done .timer-card__status { background: #d0fae5; color: var(--green); }

.related__title { font-size: 1rem; font-weight: 600; line-height: 1.2rem; color: var(--ink-2); }
.related .news-list { position: static; margin-top: 0.75rem; max-height: 25.8rem; padding: 0; }

.footer--detail { padding: 1.3rem 7.35rem 2rem 7.3rem; margin: 0; }

