/* THEME Bge - bge-energy.com (BGE Energy Joint Stock Corporation). Tiền tố .bge-; khối trang chủ dùng .hs-* (dùng chung với theme khác).
   Bootstrap chỉ cho dropdown ngôn ngữ, biểu mẫu và lưới footer (.row/.col-md-*). Không jQuery/Owl/Nivo. */
:root {
  --bge-accent: #4aaee8;
  --bge-accent-dark: #2a8fcb;
  --bge-hover: #ffc905;
  --bge-ink: #2b2b2b;
  --bge-text: #4a4a4a;
  --bge-muted: #6f6f6f;
  --bge-line: #e4e4e4;
  --bge-grey: #f5f5f5;
  --bge-dark: rgb(0 0 0 / .9);
  --bge-darker: #2b2b2b;
  --bge-w: 1200px;
  --bge-font: "Roboto Condensed", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Nền tảng ---------- */
.bge-body { margin: 0; background: #fff; color: var(--bge-text); font: 400 16px/1.65 var(--bge-font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.bge-body h1, .bge-body h2, .bge-body h3, .bge-body h4 { color: var(--bge-ink); font-family: var(--bge-font); line-height: 1.25; }
:where(.bge-body) a { color: var(--bge-accent-dark); text-decoration: none; transition: color .2s, background-color .2s; }
:where(.bge-body) a:hover { color: var(--bge-hover); }
:where(.bge-body) img { max-width: 100%; height: auto; }
.bge-container { width: 100%; max-width: var(--bge-w); margin: 0 auto; padding: 0 15px; }
.bge-main { min-height: 40vh; }
.bge-muted { color: var(--bge-muted); }

/* ---------- Đầu trang ---------- */
.bge-header { position: relative; z-index: 50; background: #fff; }
.bge-topbar { background: #efefef; padding: 5px 0; }
.bge-topbar__in { display: flex; justify-content: flex-end; }
.bge-topbar .dropdown-toggle { color: var(--bge-ink); font-size: 14px; }
.bge-brand { text-align: center; padding: 8px 15px 0; }
.bge-brand img { display: inline-block; max-height: 100px; width: auto; }
.bge-brand__text { font: 700 28px/1.2 var(--bge-font); color: var(--bge-accent-dark); text-transform: uppercase; }

/* ---------- Menu chính (dính đầu trang khi cuộn) ---------- */
.bge-nav { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s; }
.bge-nav.is-stuck { background: #efefef; box-shadow: 0 3px 9px -1px rgb(16 6 9 / .2); }
.bge-nav__bar { display: flex; justify-content: center; }
.bge-menu { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 6px 0; list-style: none; }
.bge-menu > li { position: relative; }
.bge-menu > li > a { display: block; padding: 18px 26px; color: var(--bge-ink); font-size: 16px; font-weight: 600; line-height: 20px; text-transform: uppercase; }
.bge-menu > li > a:hover, .bge-menu > li:focus-within > a { color: var(--bge-accent-dark); }
.bge-has-sub > a::after { content: ""; display: inline-block; margin-left: 10px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.bge-sub { position: absolute; top: 100%; left: 0; z-index: 70; min-width: 250px; margin: 0; padding: 0; list-style: none; background: #fff; box-shadow: 0 8px 18px rgb(0 0 0 / .15); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.bge-has-sub:hover > .bge-sub, .bge-has-sub:focus-within > .bge-sub, .bge-has-sub.is-open > .bge-sub { opacity: 1; visibility: visible; transform: none; }
.bge-sub li { border-bottom: 1px solid var(--bge-accent); }
.bge-sub li:last-child { border-bottom: 0; }
.bge-sub a { display: block; padding: 11px 20px; color: var(--bge-ink); font-size: 15px; text-transform: uppercase; }
.bge-sub a:hover { background: var(--bge-accent); color: #fff; }
.bge-sub-toggle, .bge-burger { display: none; }

/* ---------- Slider trang chủ ---------- */
.bge-hero { position: relative; background: #3b3b3b; }
.bge-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.bge-hero__track::-webkit-scrollbar { display: none; }
.bge-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(240px, 42vw, 600px); }
.bge-hero__slide::after { content: ""; position: absolute; inset: 0; background: rgb(59 59 59 / .2); pointer-events: none; }
.bge-hero__slide picture, .bge-hero__slide img { display: block; width: 100%; height: 100%; }
.bge-hero__slide img { object-fit: cover; }
.bge-hero__cover { position: absolute; inset: 0; z-index: 3; }
.bge-hero__capwrap { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; left: 50%; transform: translateX(-50%); pointer-events: none; }
.bge-hero__caption { max-width: 640px; pointer-events: auto; }
.bge-hero__title { margin: 0 0 8px; color: #fff !important; font-size: clamp(24px, 3.4vw, 40px); font-weight: 400; text-transform: uppercase; text-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.bge-hero__sub { margin: 0 0 20px; color: #fff; font-size: clamp(15px, 1.6vw, 18px); text-shadow: 0 1px 6px rgb(0 0 0 / .4); }
.bge-hero__btn { display: inline-block; padding: 8px 22px; background: var(--bge-accent); color: var(--bge-ink) !important; font-size: 15px; line-height: 1.6; }
.bge-hero__btn:hover { background: var(--bge-hover); }
.bge-hero__nav { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: var(--bge-accent); color: var(--bge-ink); font-size: 18px; cursor: pointer; }
.bge-hero__nav:hover { background: var(--bge-hover); }
.bge-hero__prev { left: 20px; }
.bge-hero__next { right: 20px; }

/* ---------- Dải nội dung trang chủ ---------- */
.bge-band { padding: 60px 0 70px; }
.bge-band--grey { background: var(--bge-grey); padding-bottom: 40px; }
.bge-band__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.bge-title { position: relative; margin: 0 0 18px; padding-bottom: 16px; color: var(--bge-ink); font-size: 30px; font-weight: 700; letter-spacing: 1px; text-align: center; text-transform: uppercase; }
.bge-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 4px; transform: translateX(-50%); background: var(--bge-accent); }
.bge-band__head .bge-title { margin-bottom: 8px; }
.bge-band__more { margin: 30px 0 0; text-align: center; }

.hs-btn { display: inline-block; padding: 8px 25px; border-radius: 100px; background: var(--bge-accent); color: #fff !important; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hs-btn:hover { background: var(--bge-hover); box-shadow: 0 10px 25px rgb(0 0 0 / .1); }

/* Giới thiệu nổi bật */
.hs-spotlight { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hs-spotlight__media { display: block; margin: 0 30px 30px 0; box-shadow: 0 0 30px rgb(0 0 0 / .2), 30px 30px 0 #eaeaeb; line-height: 0; }
.hs-spotlight__media img { width: 100%; height: auto; }
.hs-spotlight__title { margin: 0 0 20px; font-size: 20px; font-weight: 700; }
.hs-spotlight__title a { color: inherit; }
.hs-spotlight__text { margin: 0 0 20px; font-weight: 600; text-align: justify; white-space: pre-line; }
.hs-spotlight__body { text-align: left; }
.hs-spotlight__body .hs-btn { float: right; }
@media (min-width: 768px) { .hs-spotlight { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hs-spotlight__body { padding-right: 10px; } }

/* Thẻ tính năng (Sứ mệnh / Tầm nhìn) */
.hs-features { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
@media (min-width: 768px) { .hs-features--2, .hs-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .hs-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hs-feature { padding: 35px 24px 28px; border-radius: 4px; background: #fff; box-shadow: 3px 2px 3px rgb(0 0 0 / .15); text-align: center; transition: box-shadow .35s; }
.hs-feature:hover { box-shadow: 6px 6px 25px rgb(0 0 0 / .15); }
.hs-feature__icon { display: block; width: 64px; height: 64px; margin: 0 auto 12px; object-fit: contain; }
.hs-feature__title { margin: 0 0 14px; color: var(--bge-accent) !important; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.hs-feature__text { margin: 0; font-weight: 700; line-height: 1.5; }

/* Dịch vụ dạng dòng */
.hs-rows { max-width: 1000px; margin: 0 auto; }
.hs-row { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--bge-line); }
.hs-row:last-child { border-bottom: 0; margin-bottom: 0; }
.hs-row__title { margin: 0 0 16px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.hs-row__title a { color: inherit; }
.hs-row__title a:hover { color: var(--bge-accent-dark); }
.hs-row__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .hs-row__grid { grid-template-columns: 5fr 7fr; } }
.hs-row__media { display: block; overflow: hidden; line-height: 0; background: #e9e9e9; }
.hs-row__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.hs-row__media:hover img { transform: scale(1.04); }
.hs-row__body p { margin: 0 0 12px; font-size: 14px; text-align: justify; }
.hs-row__more { color: var(--bge-accent-dark); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.hs-row__more i { margin-left: 6px; }

/* ---------- Dải tiêu đề đầu trang trong (parallax) + breadcrumb ---------- */
.bge-pagehero { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 40px 15px; background: #1b3a57 center / cover no-repeat fixed; position: relative; text-align: center; }
.bge-pagehero::before { content: ""; position: absolute; inset: 0; background: rgb(8 28 48 / .55); }
.bge-pagehero__inner { position: relative; width: 100%; max-width: var(--bge-w); }
.bge-pagehero h1 { margin: 0; color: #fff; font-size: 38px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.bge-bc { background: var(--bge-grey); border-bottom: 1px solid var(--bge-line); }
.bge-bc__list { display: flex; flex-wrap: wrap; gap: 4px 0; width: 100%; max-width: var(--bge-w); margin: 0 auto; padding: 12px 15px; list-style: none; font-size: 14px; color: var(--bge-muted); }
.bge-bc__list li + li::before { content: "/"; margin: 0 9px; color: #b5b5b5; }
.bge-bc__list a:hover { color: var(--bge-accent-dark); }
.bge-bc__list .is-active { color: var(--bge-accent-dark); }
.bge-pagehero + .bge-bc + .bge-wrap { padding-top: 34px; }
@media (max-width: 991px) { .bge-pagehero { background-attachment: scroll; min-height: 160px; } .bge-pagehero h1 { font-size: 26px; } }

/* ---------- Trang trong ---------- */
.bge-wrap { width: 100%; max-width: var(--bge-w); margin: 0 auto; padding: 40px 15px 60px; }
.bge-crumbs { margin-bottom: 14px; color: var(--bge-muted); font-size: 14px; }
.bge-crumbs span { margin: 0 8px; }
.bge-crumbs strong { font-weight: 400; color: var(--bge-accent-dark); }
.bge-post__title { margin: 0 0 14px; font-size: 32px; font-weight: 700; }
.bge-article .bge-title, .bge-main-col .bge-title { text-align: left; }
.bge-article .bge-title::after, .bge-main-col .bge-title::after { left: 0; transform: none; }
.bge-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 18px; color: var(--bge-muted); font-size: 14px; }
.bge-meta i { margin-right: 6px; }
.bge-lead { font-size: 18px; font-weight: 600; }
.bge-content { font-size: 17px; line-height: 1.75; }
.bge-content img { height: auto; }
.bge-content table { width: 100%; max-width: 100%; margin: 0 0 1rem; border-collapse: collapse; }
.bge-content table td, .bge-content table th { padding: 8px 10px; border: 1px solid var(--bge-line); }
.bge-content blockquote { margin: 24px 0; padding: 20px 26px; border-left: 8px solid var(--bge-accent); background: #fff; box-shadow: 0 1px 8px -3px #b3b3b3; }
.bge-content a { text-decoration: underline; }
.bge-panel { margin-top: 36px; padding: 26px; background: var(--bge-grey); border-radius: 4px; }
.bge-widget__title { margin: 0 0 16px; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.bge-block { margin-top: 44px; }
.bge-adbar { max-width: var(--bge-w); margin: 14px auto; padding: 0 15px; }
.bge-empty { padding: 30px 0; color: var(--bge-muted); }

/* Danh sách bài */
.bge-items { display: grid; gap: 28px; }
.bge-item { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; border-bottom: 1px solid var(--bge-line); }
@media (min-width: 640px) { .bge-item { grid-template-columns: 260px minmax(0, 1fr); } }
.bge-item__thumb { display: block; overflow: hidden; background: #e9e9e9; line-height: 0; }
.bge-item__thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.bge-item__noimg { display: grid; place-items: center; aspect-ratio: 3 / 2; color: #bbb; font-size: 32px; line-height: 1; }
.bge-item__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.bge-item__title a { color: var(--bge-ink); }
.bge-item__title a:hover { color: var(--bge-accent-dark); }
.bge-item__excerpt { margin: 0; color: var(--bge-text); }

/* Bài viết liên quan: lưới 3 cột desktop, 2 cột tablet, 1 cột mobile; thẻ xếp dọc (ảnh trên, chữ dưới) */
.bge-related .bge-items { grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { .bge-related .bge-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .bge-related .bge-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bge-related .bge-item { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; padding-bottom: 0; border-bottom: 0; }
.bge-related .bge-item__title { font-size: 17px; line-height: 1.35; }
.bge-related .bge-item__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.bge-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 34px; }
.bge-pager a, .bge-pager span { min-width: 40px; padding: 8px 14px; border: 1px solid var(--bge-line); color: #8a8a8a; text-align: center; }
.bge-pager a:hover { border-color: transparent; background: var(--bge-accent); color: #fff; }
.bge-pager .is-current { border-color: transparent; background: var(--bge-accent); color: #fff; }
.bge-pager__gap { border: 0 !important; }

/* Tìm kiếm / 404 / liên hệ */
.bge-searchbar { display: flex; gap: 8px; max-width: 560px; margin: 0 0 24px; }
.bge-searchbar--center { margin-left: auto; margin-right: auto; }
.bge-searchbar input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #ccc; border-radius: 4px; }
.bge-searchbar button, .bge-btn { display: inline-block; padding: 0 20px; height: 44px; line-height: 44px; border: 0; border-radius: 100px; background: var(--bge-accent); color: #fff !important; font-weight: 600; cursor: pointer; }
.bge-btn { margin: 0 4px; }
.bge-btn--ghost { background: transparent; border: 1px solid var(--bge-accent); color: var(--bge-accent-dark) !important; }
.bge-searchbar button:hover, .bge-btn:hover { background: var(--bge-hover); color: var(--bge-ink) !important; }
.bge-tabs-lite { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.bge-tabs-lite a { display: block; padding: 6px 14px; border: 1px solid var(--bge-accent); color: var(--bge-ink); font-size: 14px; }
.bge-tabs-lite a.is-active, .bge-tabs-lite a:hover { background: var(--bge-accent); color: #fff; }
.bge-count { opacity: .75; }
.bge-viewall { margin: 14px 0 0; }
.bge-notfound { padding: 40px 0 20px; text-align: center; }
.bge-notfound__code { color: var(--bge-accent); font-size: clamp(90px, 18vw, 200px); font-weight: 700; line-height: 1; }
.bge-notfound__links { margin-top: 26px; }
.bge-contact { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .bge-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.bge-contact__list { margin: 0; padding: 0; list-style: none; }
.bge-contact__list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bge-line); }
.bge-contact__list i { width: 20px; margin-top: 5px; color: var(--bge-accent); }
.bge-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Chân trang ---------- */
.bge-footer { margin-top: 0; }
.bge-footer__top { padding: 57px 0 30px; background: var(--bge-dark); color: #eee; }
.bge-footer__top h1, .bge-footer__top h2, .bge-footer__top h3, .bge-footer__top h4, .bge-footer__top p, .bge-footer__top li { color: #eee; }
.bge-footer__top a { color: #eee; }
.bge-footer__top a:hover { color: var(--bge-accent); }
.bge-footer .footer-widget-title { position: relative; margin: 0 0 22px; padding-bottom: 12px; color: #fff; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.bge-footer .footer-widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--bge-accent); }
.bge-footer ul { padding-left: 0; list-style: none; }
.bge-footer li { line-height: 2; }
.bge-footer__bottom { padding: 22px 0; background: var(--bge-darker); color: #fff; font-size: 14px; }
.bge-footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.bge-footer__bottom a { color: var(--bge-accent); }
.bge-totop { position: fixed; right: 24px; bottom: 28px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; background: var(--bge-accent); color: var(--bge-ink) !important; font-size: 22px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background-color .2s; }
.bge-totop.is-show { opacity: 1; visibility: visible; }
.bge-totop:hover { background: var(--bge-hover); }

/* ---------- Điện thoại / máy tính bảng ---------- */
@media (max-width: 991px) {
  .bge-brand img { max-height: 64px; }
  .bge-nav__bar { justify-content: flex-start; }
  .bge-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; border: 0; background: transparent; cursor: pointer; }
  .bge-burger span { display: block; height: 2px; background: var(--bge-ink); }
  .bge-menu { display: none; flex-direction: column; width: 100%; padding: 0 0 8px; }
  .bge-menu.is-open { display: flex; }
  .bge-nav__bar { flex-wrap: wrap; }
  .bge-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--bge-line); }
  .bge-menu > li > a { flex: 1; padding: 13px 4px; }
  .bge-has-sub > a::after { display: none; }
  .bge-sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: transparent; color: var(--bge-ink); cursor: pointer; }
  .bge-sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f7f7f7; }
  .bge-has-sub.is-open > .bge-sub { display: block; }
  .bge-hero__nav { width: 34px; height: 34px; }
  .bge-band { padding: 40px 0 46px; }
  .bge-title { font-size: 24px; }
  .hs-spotlight__media { margin: 0 14px 14px 0; box-shadow: 0 0 20px rgb(0 0 0 / .2), 14px 14px 0 #eaeaeb; }
}
@media (prefers-reduced-motion: reduce) { .bge-hero__track { scroll-behavior: auto; } * { transition: none !important; } }
.about-details{font-size:16px;font-weight:600;padding:30px 0;}