.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
.animate-box {
  opacity: 0;
}
#fh5co-dialog {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  left: 0;
  right: 0;
  z-index: 999999;
}
#fh5co-dialog .dialog {
  min-width: 400px;
  min-height: 200px;
  margin: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
}
#fh5co-dialog .dialog .dialog-header {
  background-color: #eeeeee;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
  height: 40px;
  display: flex;
  justify-content: space-between;
}
#fh5co-dialog .dialog .dialog-header .dialog-title {
  font-weight: 600;
}
#fh5co-dialog .dialog .dialog-body {
  padding: 20px;
}
.header {
  display: flex;
  background-color: #fff;
  padding: 0 50px;
  height: 64px;
}
.header .logo {
  display: block;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Playfair Display", times, serif;
  font-size: 25px;
  color: #000;
  position: relative;
  top: -30px;
}
.header .logo a {
  color: #000 !important;
}
.header .more {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.header .login-btn {
  line-height: 64px;
  margin-left: auto;
}
.header .login-btn .fh5co-nav-toggle {
  position: relative;
  top: -2px;
  display: inline-block;
  padding: 0;
  margin-right: 20px;
  height: 100%;
}
.main {
  width: 88vw;
  margin: 20px auto 40px;
  background-color: #f0f2f5;
  padding: 20px 40px;
  overflow: hidden;
  box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
}
.main .search {
  display: flex;
  padding: 16px 0;
}
.main .search .layui-input:hover {
  border-color: #3db389 !important;
}
.main .more-class {
  padding: 24px;
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
}
.main .more-class .class-title {
  flex: 0 0 60px;
  font-weight: 600;
  font-size: 16px;
}
.main .more-class .class-span {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  cursor: pointer;
}
.main .more-class .class-span:hover {
  text-decoration: underline;
}
.collection {
  font-size: 18px;
  margin: 0 40px;
  cursor: pointer;
}
.username {
  cursor: pointer;
  padding: 0 10px !important;
}
#laypage {
  text-align: center;
}
.juz {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flex {
  display: flex;
}
.layui-nav .layui-nav-item {
  line-height: 64px;
}
.layui-nav .layui-nav-item a {
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
}
.layui-nav .layui-nav-item a:hover,
.layui-nav .layui-this a {
  color: #3db389;
}
.header-top {
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
  padding: 2em 3em;
}
.detail-table {
  width: 100%;
  background: #f0f2f5;
  padding: 20px;
  margin-bottom: 20px;
}
.detail-table .detail-table-bordered {
  background-color: #fff;
  padding: 20px;
}
.detail-table .detail-table-bordered .detail-table-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.detail-table .detail-table-bordered .detail-table-header .detail-table-title {
  overflow: hidden;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5715;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.detail-table .detail-table-bordered .detail-table-header .collectIcon {
  font-size: 24px;
  cursor: pointer;
  margin-left: 28px;
}
.detail-table .detail-table-bordered .detail-table-view {
  border: 1px solid #f0f0f0;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.detail-table .detail-table-bordered .detail-table-view table {
  table-layout: auto;
  width: 100%;
  text-align: left;
}
.detail-table .detail-table-bordered .detail-table-view .detail-table-row {
  border-bottom: 1px solid #f0f0f0;
}
.detail-table .detail-table-bordered .detail-table-view .detail-table-row:last-child {
  border-bottom: none;
}
.detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-label {
  width: 200px;
  background-color: #fafafa;
  padding: 16px 24px;
  border-right: 1px solid #f0f0f0;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5715;
  text-align: start;
}
.detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-content {
  padding: 16px 24px;
}
.detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-content span span:hover {
  text-decoration: underline;
}
.detail-table .detail-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.detail-preview {
  width: 100%;
  background: #f0f2f5;
  padding: 20px;
  text-align: left;
}
.detail-preview .detail-preview-content {
  padding: 20px;
  background-color: #fff;
}
.detail-preview .detail-preview-content h2 {
  margin: 0 0 20px;
}
.detail-preview .detail-preview-content img {
  width: 100%;
  object-fit: cover;
}
.list-empty-image svg {
  height: 100%;
  margin: auto;
}
.list-empty-image {
  height: 400px;
  margin-bottom: 8px;
  text-align: center;
}
.list-empty-description {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}
.lazyImgWrap {
  margin-bottom: 20px;
}
.fh5co-social {
  margin-bottom: 20px;
}
.unlimited-class {
  margin: 0;
  display: inline;
  margin-right: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}
@media screen and (min-width: 1200px) {
  .username {
    top: 1.2em !important;
  }
  .loginOut {
    text-align: right;
    padding: 0 20px;
  }
}

.search-area {
  position: relative;
}

.search-area svg {
  color: rgba(0, 0, 0, 0.25);
  position: absolute;
  right: 72px;
  top: 40%;
  cursor: pointer;
  display: none;
}

.fh5co-post-entry-de article {
  text-align: center;
  float: left;
  margin-bottom: 110px;
  padding-left: 3em;
  padding-right: 3em;
}

:root {
  --business-navy: #0f3d5e;
  --business-blue: #176b87;
  --business-cyan: #64ccc5;
  --business-ink: #172b3a;
  --business-muted: #657786;
  --business-line: #dfe7ec;
  --business-bg: #f5f8fa;
}

html { scroll-behavior: smooth; }
body {
  color: var(--business-ink);
  background: var(--business-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
}
.animate-box { opacity: 1; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#fh5co-header {
  float: none;
  width: 100%;
  padding: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--business-line);
}
.header {
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1440px;
  height: 72px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: visible;
}
.header .logo {
  position: static;
  flex: 0 0 190px;
  min-width: 0;
  font-family: inherit;
}
.header > .layui-nav {
  display: flex !important;
  align-items: stretch;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  height: 72px;
  padding: 0;
  white-space: nowrap;
}
.header > .layui-nav .layui-nav-item { flex: 0 0 auto; }
.header > .layui-nav .layui-nav-item > a { padding: 0 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--business-ink) !important; text-align: left; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--business-navy), var(--business-blue));
  font-size: 20px;
  font-weight: 700;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 18px; letter-spacing: .04em; }
.brand-copy small { margin-top: 4px; color: var(--business-muted); font-size: 11px; letter-spacing: .12em; }
.header-account { display: flex; align-items: center; flex: 0 0 240px; min-width: 240px; margin-left: 12px; }
.header .login-btn { position: static !important; display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1; }
.header .login-btn .layui-btn { margin: 0; }
.header .more, .header .collection, .header .recharge { flex: 0 0 auto; }
.header .more, .collection { color: #45606f; }
.header .collection { margin: 0 24px; }
.header .recharge .layui-btn { margin-left: 0 !important; }
.header .more:hover, .collection:hover { color: var(--business-blue); }
#fh5co-header .username {
  position: static !important;
  display: none;
  align-items: center;
  flex: 0 1 auto;
  gap: 9px;
  max-width: none;
  height: 38px;
  margin: 0;
  padding: 4px 10px !important;
  color: #405664;
  background: #f6f8fa;
  border: 1px solid var(--business-line);
  border-radius: 7px;
  font-size: 13px;
  line-height: 1;
}
#fh5co-header .username:hover { color: var(--business-blue); background: #eef5f7; border-color: #c9dce3; }
#fh5co-header .username .layui-nav-img { flex: 0 0 26px; width: 26px; height: 26px; margin: 0; object-fit: cover; }
#fh5co-header .username-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#fh5co-header .username-arrow { flex: 0 0 auto; color: #78909c; font-size: 12px; transition: transform .2s ease; }
#fh5co-header .username:hover .username-arrow { transform: translateY(1px); }
.layui-nav .layui-nav-item { line-height: 72px; }
.layui-nav .layui-nav-item a { color: #405664; font-size: 14px; }
.layui-nav .layui-nav-item a:hover, .layui-nav .layui-this a { color: var(--business-blue); }
.layui-nav .layui-this:after { background-color: var(--business-blue); }
.layui-btn {
  border-radius: 6px;
  background-color: var(--business-navy);
}
.layui-btn:hover { background-color: var(--business-blue); }
.layui-btn-primary { color: var(--business-navy); background: #fff; border-color: #cbd8df; }

.resource-page { clear: both; width: 100%; min-height: calc(100vh - 72px); }
.resource-section { width: 100%; max-width: 1320px; margin: 0 auto; padding: 36px 32px 20px; }
.resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--business-line);
}
.resource-heading h1 { margin: 0 0 7px; color: var(--business-ink); font-family: inherit; font-size: 28px; font-weight: 700; line-height: 1.2; }
.resource-heading p { margin: 0; color: var(--business-muted); font-size: 13px; }
.resource-toolbar .search { display: flex; flex: 0 1 480px; padding: 0; }
.resource-toolbar .search .layui-input { height: 42px; border-color: #cfdbe2; border-radius: 6px 0 0 6px; font-size: 14px; }
.resource-toolbar .search .layui-input:focus, .resource-toolbar .search .layui-input:hover { border-color: var(--business-blue) !important; }
.search_btn { height: 42px; min-width: 82px; border-radius: 0 6px 6px 0; font-weight: 600; }
.search-area svg { right: 96px; top: 14px; }
.resource-section > .more-class { margin: -10px 0 28px; padding: 8px 22px; background: #fff; border: 1px solid var(--business-line); border-radius: 8px; box-shadow: none; }
.resource-section > .more-class .filter-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf1f3; }
.resource-section > .more-class .filter-row:last-child { border-bottom: 0; }
.resource-section > .more-class .class-title { padding-top: 4px; color: #263f4e; font-size: 13px; font-weight: 700; }
.resource-section > .more-class .filter-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 6px; min-width: 0; }
.resource-section > .more-class .class-span, .resource-section > .more-class .unlimited-class { display: inline-flex; align-items: center; margin: 0; padding: 4px 9px; color: var(--business-muted); border-radius: 4px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.resource-section > .more-class .class-span:hover, .resource-section > .more-class .unlimited-class:hover { color: var(--business-blue); background: #eef5f7; text-decoration: none; }
.resource-list { padding: 0; }
.resource-loading { padding: 52px 20px; color: var(--business-muted); font-size: 14px; text-align: center; }
.noscript-note { margin: 16px 0; padding: 14px 16px; color: #526b78; background: #fff8e7; border: 1px solid #ead9a7; border-radius: 6px; }
.resource-guide { margin: 26px 0 34px; padding: 24px 26px; background: #fff; border: 1px solid var(--business-line); border-radius: 8px; }
.resource-guide > h2 { margin: 0 0 8px; color: var(--business-ink); font-family: inherit; font-size: 20px; font-weight: 700; }
.resource-guide > p { max-width: 900px; margin: 0; color: var(--business-muted); font-size: 13px; line-height: 1.75; }
.resource-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.resource-guide-grid article { padding-top: 16px; border-top: 2px solid #d9e8ed; }
.resource-guide-grid h3 { margin: 0 0 6px; color: #2b4858; font-family: inherit; font-size: 14px; font-weight: 700; }
.resource-guide-grid p { margin: 0; color: #71848f; font-size: 12px; line-height: 1.65; }
.fh5co-post-entry { max-width: none; margin: 0 -12px; }
.fh5co-post-entry article { margin-bottom: 30px; padding-left: 12px; padding-right: 12px; }
.fh5co-post-entry article figure { overflow: hidden; margin-bottom: 12px; border: 1px solid var(--business-line); border-radius: 6px; background: #eaf0f3; box-shadow: none; }
.fh5co-post-entry article figure img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: opacity .2s ease; }
.fh5co-post-entry article:hover figure img { opacity: .9; }
.fh5co-post-entry article .fh5co-article-title { margin: 0; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: left; }
.fh5co-post-entry article .fh5co-article-title a { color: #263f4e; }
.fh5co-post-entry article .fh5co-article-title a:hover { color: var(--business-blue); }
#laypage { min-height: 40px; margin: 4px 0 48px; padding: 0 20px; text-align: center; }
#laypage .layui-laypage { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; }
#laypage .layui-laypage > a, #laypage .layui-laypage > span { margin: 0; border-color: #dce5e9; }
#laypage .layui-laypage a:hover { color: var(--business-blue); }
#laypage .layui-laypage .layui-laypage-curr .layui-laypage-em { background-color: var(--business-blue); }
#fh5co-footer { background: #0d2e43; color: rgba(255,255,255,.66); }
#fh5co-footer a { color: #9de1dc; }

#fh5co-dialog { align-items: center; padding: 20px; background: rgba(6,26,39,.66); backdrop-filter: blur(5px); }
#fh5co-dialog .dialog { width: min(460px, 100%); min-width: 0; max-height: calc(100vh - 40px); overflow-y: auto; border: 0; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
#fh5co-dialog .dialog .dialog-header { height: 58px; padding: 0 24px; align-items: center; background: #fff; border-bottom: 1px solid var(--business-line); }
#fh5co-dialog .dialog .dialog-header .dialog-title { color: var(--business-ink); font-size: 16px; }
#fh5co-dialog .dialog .dialog-body { padding: 26px 28px 30px; }
.auth-intro { margin-bottom: 22px; }
.auth-intro h3 { margin: 0 0 7px; font-family: inherit; font-size: 23px; font-weight: 700; }
.auth-intro p { margin: 0; color: var(--business-muted); font-size: 13px; }
#fh5co-dialog label { color: #344e5d; font-size: 13px; font-weight: 600; }
#fh5co-dialog .form-control { height: 42px; border-color: #d6e0e5; box-shadow: none; }
#fh5co-dialog .form-control:focus { border-color: var(--business-blue); box-shadow: 0 0 0 3px rgba(23,107,135,.1); }
#fh5co-dialog .input-group-addon { color: #58707d; background: #f5f8fa; border-color: #d6e0e5; }
#fh5co-dialog input[type="submit"] { height: 44px; border: 0; font-weight: 600; }
#fh5co-offcanvas { width: min(430px, 100vw); max-width: none; padding: 0; background: #f5f8fa; border-left: 1px solid var(--business-line); box-shadow: -18px 0 55px rgba(7,31,45,.22); }
#fh5co-offcanvas .fh5co-close-offcanvas { top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; color: #5f7582; background: #fff; border: 1px solid #dbe5ea; border-radius: 50%; font-size: 20px; }
#fh5co-offcanvas .fh5co-close-offcanvas:hover { width: 36px; color: var(--business-blue); border-color: #b9d0d9; }
#fh5co-offcanvas .fh5co-close-offcanvas > span { width: auto; }
#fh5co-offcanvas .fh5co-close-offcanvas > span > span { display: none; }
#fh5co-offcanvas .fh5co-bio { float: none; width: 100% !important; min-height: 100%; padding: 58px 30px 30px; color: #405664; text-align: center; }
#fh5co-offcanvas .fh5co-bio figure { display: block; width: 92px; height: 92px; margin: 0 auto 16px; padding: 4px; overflow: hidden; background: #fff; border: 1px solid #d9e5ea; border-radius: 50%; box-shadow: 0 8px 24px rgba(23,54,72,.12); }
#fh5co-offcanvas .fh5co-bio figure img, #fh5co-offcanvas #userImg { display: block; width: 82px !important; height: 82px !important; max-width: none; margin: 0 !important; border-radius: 50%; object-fit: cover; }
#fh5co-offcanvas .heading { max-width: 100%; margin: 0 0 24px; overflow: hidden; color: var(--business-ink); font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
#fh5co-offcanvas .fh5co-bio > div { padding: 16px; background: #fff; border: 1px solid var(--business-line); border-radius: 9px; }
#fh5co-offcanvas .fh5co-bio > div > span { color: #526b78; font-size: 14px !important; }
#fh5co-offcanvas .fh5co-bio > div .layui-btn { margin-left: 12px !important; }
#fh5co-offcanvas .fh5co-bio > p { margin: 12px 0 0 !important; padding: 14px 16px; color: #526b78; background: #fff; border: 1px solid var(--business-line); border-radius: 9px; font-size: 14px !important; }
#fh5co-offcanvas .fh5co-social { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 8px; padding: 18px 12px; background: #fff; border: 1px solid var(--business-line); border-radius: 9px; }
#fh5co-offcanvas .fh5co-social > span { margin-right: 4px; color: #617783; font-size: 13px !important; }
#fh5co-offcanvas .fh5co-social li { display: block; margin: 0; }
#fh5co-offcanvas .fh5co-social li a { display: grid; place-items: center; width: 36px; height: 36px; padding: 7px; background: #f5f8fa; border-radius: 7px; }
#fh5co-offcanvas .fh5co-social li a .icon { width: 22px; height: 22px; }
#fh5co-offcanvas .fh5co-social + br + span { display: block; margin: 12px 0 20px; color: #8a9ba4; line-height: 1.7; }
#fh5co-offcanvas .loginOut { display: flex; gap: 10px; margin-top: 18px; padding: 18px 0 0; background: transparent; border: 0; border-top: 1px solid #dce6eb; border-radius: 0; }
#fh5co-offcanvas .loginOut .layui-btn { flex: 1 1 0; height: 42px; margin: 0 !important; }
#topUp-form .topup-intro { display: flex; align-items: center; gap: 14px; margin: -4px 0 24px; padding: 14px 16px; background: #f1f7f9; border: 1px solid #dbe9ee; border-radius: 9px; }
#topUp-form .topup-intro-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #fff; background: var(--business-blue); border-radius: 9px; font-size: 20px; font-weight: 700; }
#topUp-form .topup-intro strong { display: block; margin-bottom: 3px; color: #213d4d; font-size: 15px; }
#topUp-form .topup-intro p { margin: 0; color: var(--business-muted); font-size: 12px; line-height: 1.5; }
#topUp-form .topup-field { margin-bottom: 22px; }
#topUp-form .topup-field > label { display: block; margin-bottom: 9px; }
#topUp-form .topup-select-wrap { position: relative; }
#topUp-form .topup-select-wrap:after { position: absolute; top: 50%; right: 15px; width: 7px; height: 7px; border-right: 2px solid #6d818d; border-bottom: 2px solid #6d818d; content: ""; pointer-events: none; transform: translateY(-70%) rotate(45deg); }
#topUp-form #meal-select { height: 46px; padding: 0 42px 0 14px; color: #263f4e; background: #fff; border-radius: 7px; appearance: none; cursor: pointer; }
#topUp-form .pay-type-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
#topUp-form .pay-type-card { position: relative; display: flex; align-items: center; min-width: 0; min-height: 76px; margin: 0; padding: 12px 12px 12px 14px; background: #fff; border: 1px solid #d9e3e8; border-radius: 9px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
#topUp-form .pay-type-card:hover { border-color: #9ebfca; background: #fbfdfe; }
#topUp-form .pay-type-card input { position: absolute; opacity: 0; pointer-events: none; }
#topUp-form .pay-type-card:has(input:checked) { background: #f2f8fa; border-color: var(--business-blue); box-shadow: 0 0 0 2px rgba(23,107,135,.1); }
#topUp-form .pay-type-check { position: absolute; top: 9px; right: 9px; width: 16px; height: 16px; background: #fff; border: 1px solid #b8c7cf; border-radius: 50%; }
#topUp-form input:checked + .pay-type-check { border: 5px solid var(--business-blue); }
#topUp-form .pay-type-icon { flex: 0 0 38px; width: 38px; height: 38px; margin-right: 10px; font-size: 38px; line-height: 1; }
#topUp-form .pay-type-icon .icon { display: block; width: 100%; height: 100%; }
#topUp-form .pay-type-copy { min-width: 0; padding-right: 12px; }
#topUp-form .pay-type-copy strong, #topUp-form .pay-type-copy small { display: block; }
#topUp-form .pay-type-copy strong { margin-bottom: 3px; color: #263f4e; font-size: 14px; }
#topUp-form .pay-type-copy small { overflow: hidden; color: #7a8d98; font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
#topUp-form .topup-actions { display: flex; justify-content: flex-end; gap: 10px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #e5ecef; }
#topUp-form .topup-actions .layui-btn { min-width: 92px; height: 42px; margin: 0; }

@media (max-width: 1199px) and (min-width: 992px) {
  .header { padding: 0 24px; }
  .header .logo { flex-basis: 170px; }
  .brand { gap: 9px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { letter-spacing: .06em; }
  .header > .layui-nav .layui-nav-item > a { padding: 0 9px; font-size: 13px; }
  .header .collection { margin: 0 16px; }
  .header-account { flex-basis: 220px; min-width: 220px; margin-left: 10px; }
  #fh5co-header .username { max-width: none; }
}
@media (max-width: 991px) {
  #fh5co-header { position: relative; min-height: 64px; }
  #fh5co-header > .container-fluid, #fh5co-header > .container-fluid > .row { height: 64px; }
  #fh5co-header .fh5co-nav-toggle { top: 10px; left: 20px; }
  .header { height: 64px; padding: 0 20px; }
  .header > #layui-nav { display: none !important; }
  .header > #layui-nav.animated {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 10000;
    display: flex !important;
    align-items: stretch;
    flex-direction: column;
    width: min(280px, 82vw);
    height: calc(100vh - 64px);
    padding: 12px 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff !important;
    border-right: 1px solid var(--business-line);
    box-shadow: 12px 18px 36px rgba(13,46,67,.16);
    white-space: normal;
  }
  .header > #layui-nav .layui-nav-item { width: 100%; line-height: 48px; }
  .header > #layui-nav .layui-nav-item > a { display: block; padding: 0 22px; font-size: 14px; }
  .header > #layui-nav .layui-this:after { top: 8px; right: auto; bottom: 8px; left: 0; width: 3px; height: auto; }
  .header .more, .header .collection, .header .recharge { display: none !important; }
  .header-account { position: absolute; right: 20px; top: 13px; width: auto; min-width: 0; max-width: calc(100vw - 100px); margin: 0; }
  #fh5co-header .username { width: auto; max-width: 100%; padding-right: 8px !important; }
  #fh5co-header .username-text { flex: 0 1 auto; text-align: left; }
  .resource-page { min-height: calc(100vh - 64px); }
  .resource-section { padding-top: 28px; }
  .resource-toolbar { align-items: flex-start; flex-direction: column; gap: 18px; }
  .resource-toolbar .search { flex: none; width: 100%; }
}
@media (max-width: 767px) {
  #laypage { margin: 0 0 34px; padding: 0 12px; }
  #laypage .layui-laypage { max-width: 100%; flex-wrap: nowrap; gap: 4px; }
  #laypage .layui-laypage > a, #laypage .layui-laypage > span { box-sizing: border-box; min-width: 36px; height: 40px; padding: 0 8px; border-radius: 6px; line-height: 38px; }
  #laypage .layui-laypage-spr { min-width: 24px; padding: 0 2px; border-color: transparent; }
  #fh5co-offcanvas { width: min(360px, calc(100vw - 20px)); }
  #fh5co-offcanvas .fh5co-bio { padding: 54px 20px 24px; }
  #fh5co-offcanvas .fh5co-social { flex-wrap: wrap; }
  .resource-section { padding: 24px 20px 16px; }
  .resource-heading h1 { font-size: 24px; }
  .resource-heading p { line-height: 1.6; }
  .resource-toolbar { margin-bottom: 22px; padding-bottom: 18px; }
  .search_btn { min-width: 72px; }
  .search-area svg { right: 84px; }
  .resource-section > .more-class { padding: 6px 14px; }
  .resource-section > .more-class .filter-row { grid-template-columns: 1fr; gap: 7px; padding: 12px 0; }
  .resource-section > .more-class .class-title { padding-top: 0; }
  .resource-section > .more-class .class-span, .resource-section > .more-class .unlimited-class { padding: 4px 7px; }
  .resource-guide { padding: 20px; }
  .resource-guide-grid { grid-template-columns: 1fr; gap: 14px; }
  .fh5co-post-entry { margin: 0 -8px; }
  .fh5co-post-entry article { padding-left: 8px; padding-right: 8px; margin-bottom: 24px; }
  #fh5co-dialog .dialog .dialog-body { padding: 22px 20px 26px; }
  #topUp-form .pay-type-list { grid-template-columns: 1fr; }
  #topUp-form .topup-actions .layui-btn { flex: 1 1 0; }
}
/* Template detail */
.detail-header { float: none !important; width: 100%; padding: 0 !important; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--business-line); }
.detail-header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 40px)); height: 72px; margin: 0 auto; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; color: #45606f; font-size: 14px; font-weight: 600; }
.detail-back:hover { color: var(--business-blue); }
.detail-back span { font-size: 20px; line-height: 1; }
.detail-main { clear: both; width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 72px); margin: 0 auto; padding: 24px 0 56px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #8a9aa4; font-size: 13px; }
.detail-breadcrumb a { color: #5d7482; }
.detail-breadcrumb a:hover { color: var(--business-blue); }
.detail-article { float: none !important; left: auto !important; width: 100%; margin: 0 !important; padding: 0 !important; text-align: left !important; }
.detail-table { width: 100%; margin: 0 0 24px; padding: 0; background: transparent; }
.detail-table .detail-table-bordered { padding: 30px 32px; background: #fff; border: 1px solid var(--business-line); border-radius: 10px; box-shadow: 0 8px 28px rgba(23,54,72,.06); }
.detail-table .detail-table-bordered .detail-table-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--business-line); }
.detail-title-copy { min-width: 0; }
.detail-eyebrow { display: block; margin-bottom: 8px; color: var(--business-blue); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.detail-table .detail-table-bordered .detail-table-header .detail-table-title { overflow: visible; margin: 0; color: var(--business-ink); font-family: inherit; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.35; white-space: normal; }
.detail-title-copy p { margin: 10px 0 0; color: var(--business-muted); font-size: 13px; }
.detail-table .detail-table-bordered .detail-table-header .collectIcon { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; color: var(--business-blue); background: #f4f8fa; border: 1px solid var(--business-line); border-radius: 8px; cursor: pointer; }
.detail-table .detail-table-bordered .detail-table-header .collectIcon:hover { color: #fff; background: var(--business-blue); border-color: var(--business-blue); }
.detail-table .detail-table-bordered .detail-table-header .collectIcon .icon { width: 22px; height: 22px; }
.detail-table .detail-table-bordered .detail-table-view { overflow: hidden; width: 100%; border: 1px solid var(--business-line); border-radius: 8px; }
.detail-table .detail-table-bordered .detail-table-view table { width: 100%; table-layout: fixed; text-align: left; }
.detail-table .detail-table-bordered .detail-table-view .detail-table-row { border-bottom: 1px solid var(--business-line); }
.detail-table .detail-table-bordered .detail-table-view .detail-table-row:last-child { border-bottom: 0; }
.detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-label { width: 150px; padding: 16px 20px; color: #344e5d; background: #f6f8fa; border-right: 1px solid var(--business-line); font-size: 13px; font-weight: 600; vertical-align: top; }
.detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-content { padding: 16px 22px; color: #4d626f; font-size: 13px; line-height: 1.8; }
.detail-class-span { display: inline-block; margin: 0 7px 6px 0; }
.detail-class-span a { display: inline-block; padding: 3px 9px; color: #476575 !important; background: #f1f6f8; border-radius: 4px; }
.detail-class-span a:hover { color: var(--business-blue) !important; background: #e6f1f4; }
.detail-table .detail-btn { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-table .detail-btn .layui-btn { min-width: 112px; height: 42px; margin: 0; line-height: 42px; font-weight: 600; }
.detail-preview { width: 100%; margin: 0; padding: 0; background: transparent; text-align: left; }
.detail-preview .detail-preview-content { padding: 30px 32px 36px; background: #fff; border: 1px solid var(--business-line); border-radius: 10px; box-shadow: 0 8px 28px rgba(23,54,72,.06); }
.detail-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--business-line); }
.detail-section-heading span { display: block; margin-bottom: 7px; color: var(--business-blue); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.detail-preview .detail-preview-content .detail-section-heading h2 { margin: 0; color: var(--business-ink); font-family: inherit; font-size: 22px; font-weight: 700; }
.detail-section-heading p { margin: 0; color: var(--business-muted); font-size: 13px; }
.detail-preview .detail-preview-content img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid var(--business-line); border-radius: 7px; background: #f3f6f8; }

@media (max-width: 767px) {
  .detail-header-inner { width: calc(100% - 32px); height: 64px; }
  .detail-header .brand-copy small { display: none; }
  .detail-back { font-size: 13px; }
  .detail-main { width: calc(100% - 32px); min-height: calc(100vh - 64px); padding-top: 18px; }
  .detail-table .detail-table-bordered, .detail-preview .detail-preview-content { padding: 22px 18px; border-radius: 8px; }
  .detail-table .detail-table-bordered .detail-table-header { margin-bottom: 20px; padding-bottom: 20px; }
  .detail-title-copy p { line-height: 1.6; }
  .detail-table .detail-table-bordered .detail-table-view table, .detail-table .detail-table-bordered .detail-table-view tbody, .detail-table .detail-table-bordered .detail-table-view .detail-table-row, .detail-table .detail-table-bordered .detail-table-view .detail-table-item-label, .detail-table .detail-table-bordered .detail-table-view .detail-table-item-content { display: block; width: 100%; }
  .detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-label { padding: 11px 15px; border-right: 0; border-bottom: 1px solid var(--business-line); }
  .detail-table .detail-table-bordered .detail-table-view .detail-table-row .detail-table-item-content { padding: 14px 15px; }
  .detail-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-section-heading p { line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
