/* sbowiki — original chrome CSS. Visual DNA from sbobet-help.com; not PHPKB licensed file. */
:root {
  --theme-color: #101161;
  --theme-text-color: #545764;
  --header-text-color: #ffffff;
  --header-text-hover-color: #f8bd08;
  --header-btn-bg-color: #ffffff;
  --header-btn-text-color: #557cb5;
  --header-btn-hover-color: #f3f6f4;
  --links-text-color: #545764;
  --links-hover-color: #557cb5;
  --btn-bg-color: #557cb5;
  --btn-text-color: #ffffff;
  --btn-hover-color: #557cb5;
  --toggle-btn-bg-color: #557cb5;
  --toggle-btn-text-color: #ffffff;
  --theme-panel-color: #f0f4f7;
  --theme-panel-border-color: #f0f4f7;
  --article-h1-color: #0e3266;
  --article-h2-color: #545764;
  --search-highlight-color: #cbfe65;
  --glossary-link-color: #008000;
  --navigation-links-color: #557cb5;
  --navigation-links-hover-color: #545764;
  --tabs-border-color: #e9ecef;
  --tabs-text-color: #557cb5;
  --breadcrumbs-links-color: #557cb5;
  --breadcrumbs-links-hover-color: #545764;
  --glossary-bg-color: #557cb5;
  --folder-yellow: #f6c445;
  --folder-yellow-dark: #e0a82a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--theme-text-color);
  background: #fff;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--navigation-links-color); text-decoration: none; }
a:hover { color: var(--links-hover-color); }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 500; color: var(--article-h2-color); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 6px; }

.screenreader-htl {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.screenreader-htl:focus {
  left: 12px; top: 12px; width: auto; height: auto; z-index: 9999;
  background: #fff; color: #101161; padding: 8px 12px;
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.container-xs { padding-top: 18px; padding-bottom: 40px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > [class*="col-"] { padding: 0 12px; }
.col-lg-3, .col-xl-3 { width: 25%; }
.col-lg-9, .col-xl-9 { width: 75%; }
.col-lg-8 { width: 66.666%; }
.col-lg-4 { width: 33.333%; }
.col-md-7 { width: 58.333%; }
.col-md-5 { width: 41.666%; }
.col-md-6 { width: 50%; }
.col-md-12, .col-lg-12 { width: 100%; }
.mx-md-auto { margin-left: auto; margin-right: auto; }
.no-p { padding: 0 !important; }
.no-padding { padding: 0 !important; }
.d-lg-none { display: none; }
.left-sidebar { max-width: 285px; flex: 0 0 285px; width: 285px; }
.container-content, .main-content { flex: 1 1 0; min-width: 0; max-width: 855px; }

/* Nav — original PHPKB chrome: navy bar, logo left / links right */
.nav-absolute { position: relative; z-index: 100; }
.nav-absolute nav {
  z-index: 100;
  background: #101161;
}
.mainnav {
  background: #101161;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
}
.mainnav .container.relative {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  width: 100%;
}
.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 28px;
  flex: 0 0 auto;
}
.navbar-brand img { height: 37px; width: auto; display: block; }
.chrome-disclaimer {
  background: var(--theme-panel-color);
  border-bottom: 1px solid #e4e8ee;
  color: var(--theme-text-color);
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 0;
}
.chrome-disclaimer p { margin: 0; }
.faq-block {
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
}
.xv-menuwrapper { margin-left: auto; }
.dl-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center;
}
.dl-menu > li { list-style: none; margin: 0; }
.dl-menu > li > a, .dl-menu > li > a.pointer {
  display: block;
  color: var(--header-text-color);
  font-size: 14px;
  font-weight: 400;
  padding: 0 10px;
  margin-left: 10px;
  line-height: 50px;
  position: relative;
  cursor: pointer;
}
.dl-menu > li > a span { color: inherit; }
.nav-absolute .dl-menu > li.active > a { color: #f8bd08; }
.nav-absolute .dl-menu > li.active > a span {
  border: 1px solid #f8bd08;
  padding: 10px;
  border-radius: 2px;
}
.nav-absolute .dl-menu > li > a:hover { color: var(--header-text-hover-color); }
.dl-menu > li.parent { position: relative; }
.dl-menu > li.parent > a { padding-right: 18px; }
.dl-menu > li.parent > a::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-40%);
}
.lg-submenu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  min-width: 215px;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.176);
  z-index: 50;
}
.dl-menu > li.parent:hover > .lg-submenu,
.dl-menu > li.parent.open > .lg-submenu { display: block; }
.lg-submenu li {
  display: block;
  margin: 0;
  border-top: 1px solid rgba(120, 130, 140, 0.13);
  padding: 8px 10px;
}
.lg-submenu a {
  display: block;
  padding: 0;
  line-height: 30px;
  color: var(--theme-text-color);
  font-size: 13px;
}
.lg-submenu a:hover { color: var(--links-hover-color); }

/* Mobile: left chevron (categories) + right hamburger (links) */
.dl-trigger {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: var(--toggle-btn-bg-color);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  text-decoration: none;
}
.chevron-icon {
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin: 15px auto 0;
}
.paper-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 4px;
  background: #1a237a;
  cursor: pointer;
  position: relative;
  z-index: 2;
  text-decoration: none;
}
.paper-nav-toggle i,
.paper-nav-toggle i::before,
.paper-nav-toggle i::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 9px;
  transition: transform .2s, top .2s, bottom .2s;
}
.paper-nav-toggle i { top: 19px; left: 9px; }
.paper-nav-toggle i::before { content: ""; top: -7px; left: 0; }
.paper-nav-toggle i::after { content: ""; top: 7px; left: 0; }
.paper-nav-toggle.is-open i { background: transparent; }
.paper-nav-toggle.is-open i::before { top: 0; transform: rotate(45deg); }
.paper-nav-toggle.is-open i::after { top: 0; transform: rotate(-45deg); }

/* Offcanvas category tree */
.kb-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #fff;
  z-index: 1200;
  transform: translateX(-105%);
  transition: transform .35s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
  padding: 12px 10px 24px;
}
.kb-offcanvas.is-open { transform: translateX(0); }
.kb-offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  font-weight: 500;
  color: var(--theme-color);
}
.kb-offcanvas-close {
  width: 36px; height: 36px;
  border: 0; background: transparent;
  font-size: 28px; line-height: 1;
  color: var(--theme-text-color);
  cursor: pointer;
}
.kb-offcanvas-backdrop {
  position: fixed; inset: 0;
  background: rgba(7, 16, 48, 0.45);
  z-index: 1100;
}
body.offcanvas-open { overflow: hidden; }

/* Hero */
.search-section {
  background-color: var(--theme-color);
  background-image: url("/assets/img/hero-pattern.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  color: var(--header-text-color);
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.search-section.home-search { height: 362px; display: flex; align-items: center; }
.search-section.search-pages,
.search-section.inner-search { min-height: 212px; display: flex; align-items: center; padding: 28px 0 20px; }
.search-section .masthead { width: 100%; text-align: center; }
.search-section h1 {
  font-family: Kanit, Roboto, Helvetica, Arial, sans-serif;
  color: var(--header-text-color);
  font-weight: 700;
  font-size: 60px;
  line-height: 66px;
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0 auto 10px;
  max-width: 720px;
}
.search-section h1.cat-title {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  text-align: left;
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.single-masthead form { margin-top: 12px; }
.single-masthead form[name="frmsearch"] { margin-top: 12px; height: 50px; max-width: none; }
.single-masthead .search-field { height: 50px; margin-top: 0; }

form[name="frmsearch"], .search-form {
  position: relative;
  max-width: 730px;
  height: 60px;
  margin: 20px auto 0;
}
.search-field {
  width: 100%;
  height: 60px;
  border: 2px solid var(--tabs-border-color);
  border-radius: 30px;
  padding: 0 56px 0 24px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #333;
  outline: none;
  background: #fff;
}
.search-field:focus { border-color: #c5d4e6; }
.search-field::placeholder { color: #b0b5c0; }
#search_btn, .search-btn {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5e686f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#search_btn:hover, .search-btn:hover { color: var(--theme-color); }
.icon-search { display: block; }

/* Breadcrumb */
.breadcrumbs { background: #fff; padding: 14px 0 6px; font-size: 13px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.breadcrumbs li { color: var(--breadcrumbs-links-color); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin: 0 8px; color: #9aa0ae; }
.breadcrumbs a { color: var(--breadcrumbs-links-color); }
.breadcrumbs a:hover { color: var(--breadcrumbs-links-hover-color); }
.breadcrumbs .active-cat a, .breadcrumbs li:last-child { color: var(--theme-text-color); }
.cat-sort { display: inline-block; }
.cat-sort select {
  border: 1px solid #ddd; border-radius: 3px; padding: 6px 10px;
  color: var(--theme-text-color); font: inherit; background: #fff;
}
.subscribe-category { text-align: right; padding-top: 2px; }

/* Tree */
.sidebar-kbtree { background: var(--theme-panel-color); padding: 12px 10px 16px; border-radius: 2px; }
.phpkbh3 { font-size: 15px; font-weight: 500; margin: 0 0 10px; padding: 4px 6px; }
.phpkbh3 a.nodeHeading { color: var(--theme-color); }
.phpkb-tree { font-size: 13px; }
.treeNode { margin: 0 0 2px; }
.treeNode > div { display: flex; align-items: center; min-height: 28px; }
.tree-col { display: flex; align-items: center; }
.tree-col:last-child { flex: 1; min-width: 0; padding-right: 4px; }
.tree-col a.node {
  color: var(--theme-text-color);
  display: inline-block;
  max-width: calc(100% - 42px);
  vertical-align: middle;
  line-height: 1.3;
}
.tree-col a.node:hover, .tree-col a.node.is-current { color: var(--theme-color); font-weight: 500; }
.expand-category, .collapse-category {
  display: inline-block; width: 14px; height: 14px; cursor: pointer;
  background: #8a90a2;
  clip-path: polygon(20% 10%, 80% 50%, 20% 90%);
  margin-right: 4px;
}
.collapse-category { transform: rotate(90deg); }
.clip { overflow: hidden; }
.icon-folder6, .icon-doc {
  display: inline-block; width: 18px; height: 16px; vertical-align: middle; margin-right: 2px;
}
.icon-folder6 {
  background:
    linear-gradient(var(--folder-yellow-dark), var(--folder-yellow-dark)) 2px 3px / 8px 4px no-repeat,
    linear-gradient(var(--folder-yellow), var(--folder-yellow));
  border-radius: 1px 2px 2px 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.icon-doc {
  background: #fff;
  border: 1px solid #c5c9d4;
  border-radius: 1px;
  position: relative;
}
.icon-doc::after {
  content: ""; position: absolute; top: 4px; left: 3px; right: 3px; height: 6px;
  background: repeating-linear-gradient(#d7dbe3 0 1px, transparent 1px 3px);
}
.badge-pill {
  display: inline-block;
  background: var(--btn-bg-color);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  line-height: 16px;
  min-width: 22px;
  text-align: center;
  padding: 0 6px;
  margin-left: 6px;
  float: right;
}
.pull-right { float: right; }
.child-indent { padding-left: 18px !important; }

/* Home lists */
.phpkbh2, .list-heading {
  font-size: 20px;
  font-weight: 500;
  color: var(--theme-color);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}
.home-lists { display: flex; gap: 28px; }
.home-lists .list-col { flex: 1; min-width: 0; }
.article.row.media, .featured.row.media, .popular.row.media, .cat-child.row.media {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
}
.media-col-icon .icon {
  display: inline-block; width: 18px; height: 20px;
  border: 1px solid #cfd4de; border-radius: 1px; background: #fff;
  position: relative; margin-top: 2px;
}
.media-col-icon .icon::before {
  content: ""; position: absolute; right: -1px; top: -1px;
  border-width: 0 10px 10px 0; border-style: solid;
  border-color: #e9ecef #f7f8fa;
}
.media-col-title a { color: var(--navigation-links-color); font-size: 14px; }
.media-col-title a:hover { text-decoration: underline; }
.small-text { color: #8b90a0; font-size: 12px; margin-top: 2px; }

/* Article */
.article-h1, .article-body h1.page-h1 {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 31px;
  line-height: 38px;
  color: #545764;
  margin: 8px 0 14px;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  color: #8b90a0; font-size: 13px; margin-bottom: 18px;
}
.chip-green {
  display: inline-block;
  background: #e8f8e8;
  color: #2e7d32;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 12px;
}
.chip-cat {
  display: inline-block;
  background: var(--theme-panel-color);
  color: var(--btn-bg-color);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 12px;
}
.article-body { font-size: 14px; line-height: 21px; color: var(--theme-text-color); max-width: 825px; }
.article-body h2 {
  font-size: 20px; font-weight: 500; color: var(--article-h1-color);
  margin: 22px 0 10px;
}
.article-body h3 { font-size: 16px; margin: 18px 0 8px; }
.article-body a { color: var(--glossary-link-color); }
.article-body a:hover { color: var(--links-hover-color); }
.disclaimer {
  background: var(--theme-panel-color);
  border-left: 3px solid var(--btn-bg-color);
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 13px;
}
.lang-note {
  background: #fff8e1;
  border: 1px solid #f8bd08;
  color: #5c4a00;
  padding: 8px 12px;
  margin: 0 0 12px;
  font-size: 13px;
}

.helpful-box, .rating-box, .feedback-box, .related-box {
  border-top: 1px solid #e9ecef;
  margin-top: 28px;
  padding-top: 16px;
}
.helpful-box button, .rating-box button, .btn {
  font: inherit; cursor: pointer;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: var(--theme-text-color);
  padding: 6px 14px;
  border-radius: 3px;
  margin-right: 6px;
}
.btn-primary, button.btn-phpkb {
  background: var(--btn-bg-color);
  border-color: var(--btn-bg-color);
  color: #fff;
  padding: 10px 28px;
  border-radius: 3px;
  font-size: 15px;
}
.btn-primary:hover { filter: brightness(1.05); }
.star { color: #ddd; cursor: pointer; font-size: 18px; margin-right: 2px; }
.star.on { color: #f8bd08; }
.related-box h2 { font-size: 18px; color: var(--theme-color); }
.related-box ul { list-style: none; padding: 0; }
.related-box li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }

/* Category children */
.folder-row .media-col-title a { font-weight: 500; color: var(--theme-color); }
.folder-count { color: #8b90a0; font-size: 12px; margin-left: 6px; }

/* Search results */
.custom-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--tabs-border-color); margin: 0 0 18px; }
.custom-tabs a, .custom-tabs button {
  background: none; border: 1px solid transparent; border-bottom: 0;
  padding: 10px 16px; color: var(--tabs-text-color); cursor: pointer; font: inherit;
}
.custom-tabs a.is-active, .custom-tabs button.is-active {
  color: var(--theme-text-color);
  border-color: var(--tabs-border-color);
  background: #fff;
  margin-bottom: -1px;
}
mark, .hl {
  background: var(--search-highlight-color);
  color: inherit;
  padding: 0 1px;
}
.result-row { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.result-row h2 { font-size: 18px; margin: 0 0 6px; }
.result-meta { color: #8b90a0; font-size: 12px; margin-bottom: 6px; }
.badge-interesting {
  display: inline-block; background: #2e7d32; color: #fff;
  font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-left: 8px;
}
.pager { display: flex; gap: 8px; margin: 20px 0; }
.pager a, .pager span {
  display: inline-block; min-width: 32px; text-align: center;
  padding: 6px 8px; border: 1px solid #e9ecef; color: var(--navigation-links-color);
}
.pager .is-current { background: var(--btn-bg-color); color: #fff; border-color: var(--btn-bg-color); }

/* Glossary */
.glossary-az { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0 24px; }
.glossary-az a, .glossary-az button {
  display: inline-block; min-width: 32px; text-align: center;
  padding: 6px 8px; border: 0; border-radius: 2px; cursor: pointer; font: inherit;
  background: var(--glossary-bg-color); color: #fff;
}
.glossary-az a.is-active, .glossary-az button.is-active { background: var(--theme-color); }
.glossary-term { padding: 16px 0; border-bottom: 1px solid #eef1f4; }
.glossary-term h2 { font-size: 18px; color: var(--article-h1-color); margin: 0 0 8px; }
.glossary-term .related-btn {
  display: inline-block; margin-top: 8px;
  background: var(--btn-bg-color); color: #fff !important;
  padding: 6px 12px; border-radius: 3px; font-size: 13px;
}

/* Footer */
footer { background: var(--theme-color); color: #fff; }
footer .newsletter { padding: 50px 0; }
footer a { color: #fff; }
footer a:hover { color: var(--header-text-hover-color); }
.footer-grid {
  display: flex; justify-content: space-between; gap: 24px;
  max-width: 900px; margin: 0 auto 8px; text-align: left;
}
.footer-grid > div { width: 45%; }
.footer-copy { text-align: center; font-size: 0.7rem; color: #fff; margin-top: 18px; }
.scroll-top {
  position: fixed; right: 18px; bottom: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--btn-bg-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 20;
}

.wiki-note { font-size: 12px; color: #c5c9e0; margin-top: 10px; text-align: center; }

/* 404 */
.error-wrap { max-width: 640px; margin: 40px auto; text-align: center; }
.error-wrap h1 { font-size: 40px; color: var(--theme-color); }

@media (max-width: 1048px) {
  .mainnav { min-height: 56px; padding: 0; }
  .mainnav .container.relative {
    min-height: 56px;
    max-width: none;
    padding: 8px 8px;
    justify-content: space-between;
  }
  .dl-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .chevron-icon { margin: 0; }
  .paper-nav-toggle {
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .navbar-brand img { height: 32px; }
  .xv-menuwrapper {
    display: none;
    position: absolute;
    right: 8px;
    left: auto;
    top: 100%;
    min-width: 220px;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 80;
  }
  .xv-menuwrapper.is-open { display: block; }
  .dl-menu { flex-direction: column; align-items: stretch; }
  .dl-menu > li > a {
    padding: 0 16px;
    margin: 0;
    line-height: 44px;
    color: var(--theme-text-color);
  }
  .nav-absolute .dl-menu > li.active > a { color: var(--theme-color); }
  .nav-absolute .dl-menu > li.active > a span { border-color: var(--theme-color); padding: 4px 8px; }
  .nav-absolute .dl-menu > li > a:hover { color: var(--theme-color); }
  .lg-submenu {
    position: static;
    box-shadow: none;
    min-width: 0;
  }
  .left-sidebar { display: none; }
  .container-content, .main-content { max-width: none; }
  .search-section.home-search { height: auto; min-height: 280px; padding: 36px 0 40px; }
  .search-section h1 { font-size: 32px; line-height: 40px; }
  form[name="frmsearch"] { max-width: 100%; }
}
@media (min-width: 1049px) {
  .dl-trigger, .paper-nav-toggle { display: none !important; }
  .kb-offcanvas, .kb-offcanvas-backdrop { display: none !important; }
}
@media (max-width: 991px) {
  .left-sidebar { width: 100%; max-width: none; flex: 1 1 100%; margin-bottom: 18px; }
  .container-content, .main-content, .col-lg-9, .col-lg-8, .col-lg-4, .col-md-7, .col-md-5, .col-md-6 { width: 100%; }
  .home-lists { flex-direction: column; }
  .footer-grid { flex-direction: column; }
  .footer-grid > div { width: 100%; text-align: center; }
  .subscribe-category { text-align: left; margin-top: 8px; }
}
@media (max-width: 400px) {
  .search-section h1 { font-size: 25px; line-height: 32px; }
  .search-field { font-size: 16px; height: 52px; }
  form[name="frmsearch"], .search-form { height: 52px; }
  .article-h1 { font-size: 24px; line-height: 30px; }
}
