:root {
  --brand: #2e7dff;
  --brand-hover: #1a5fe0;
  --brand-deep: #003399;
  --brand-gold: #ffd700;
}

body a {
  color: var(--brand);
}

.hamburger .line,
.css-1wbm0rx.hamburger .line {
  background-color: var(--brand) !important;
}

ul.navi-categories a:hover,
ul.navi-categories li.navi-menu .active,
ul.navi-categories li.navi-menu > a:hover,
.css-dxma39 a:hover,
.css-dxma39 ul.navi-categories li.navi-menu .active {
  color: var(--brand) !important;
}

.article-faq summary::after {
  background: var(--brand) !important;
}

.article-faq details[open] summary::after {
  background: var(--brand-gold) !important;
  color: #1a1a1a !important;
}

[fill="#00b400"],
[fill="#01b400"],
[fill="#00B400"],
[fill="#1ab41e"],
[fill="#089a08"] {
  fill: var(--brand) !important;
}

[stroke="#00b400"],
[stroke="#01b400"],
[stroke="#00B400"] {
  stroke: var(--brand) !important;
}

.member-photo img {
  border-color: var(--brand) !important;
}

.__btn-subscription {
  background: var(--brand) !important;
  border-color: var(--brand-hover) !important;
}

.__btn-subscription:hover {
  background: var(--brand-hover) !important;
}

.btnreading:hover svg path {
  fill: var(--brand) !important;
}

#vote-in-article-render {
  --primary-color: #2e7dff;
}

#article-div a,
.__item_article-content a,
.article-main .e1dntnn21 a {
  color: var(--brand);
}

.__item_article-tags a:hover,
.Desktop-Article-tag a:hover,
.Mobile-Article-tag a:hover,
#TROL a:hover,
.footer-menu a:hover,
.footer-tr-about a:hover,
.footer-top a:hover {
  color: var(--brand) !important;
}

.footer-top a,
.SocialMediaShareButton,
#__share_bottom .facebook,
#__share_bottom .twitter,
#__share_bottom .appline,
#__share_bottom .copylink,
.Desktop-Article-share-bottom .facebook,
.Desktop-Article-share-bottom .twitter,
.Desktop-Article-share-bottom .appline,
.Desktop-Article-share-bottom .copylink {
  cursor: pointer !important;
}

.__item-share.btnfav svg path[fill="#00b400"],
.dark-mode .__item_article-share .__item-share .btnfav svg path,
.dark-mode .__item-share.btnfav svg path {
  fill: var(--brand) !important;
}

body {
  padding-bottom: 86px !important;
}

.float-cta {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 10050;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  height: 70px;
  padding: 6px 4px calc(12px + env(safe-area-inset-bottom, 0px));
  border: 1px solid #6a9fd4;
  border-radius: 22px;
  background: linear-gradient(180deg, #dceaf8 0%, #bcd8f2 100%);
  box-shadow: 0 10px 22px rgba(50, 110, 180, 0.3);
  font-family: "KaLaTeXa Display", "thongterm", sans-serif;
}

.float-cta a {
  color: #1e4d86 !important;
  text-decoration: none !important;
}

.float-cta__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  height: 100%;
  padding: 4px 2px 8px;
  text-align: center;
}

.float-cta__item + .float-cta__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, #4d8ec4, transparent);
  pointer-events: none;
}

.float-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #1558c8;
  font-style: normal;
}

.float-cta__icon svg,
.float-cta__chat svg,
.float-cta__register svg {
  display: block;
  flex: 0 0 auto;
}

.float-cta__icon svg {
  width: 20px;
  height: 20px;
}

.float-cta__label {
  display: block;
  max-width: 100%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1e4d86;
}

.float-cta__item--center {
  position: relative;
  top: -10px;
  height: auto;
}

.float-cta__item--center::before,
.float-cta__item--center + .float-cta__item::before {
  top: 18px;
  bottom: 8px;
}

.float-cta__register {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58px;
  height: 58px;
  overflow: visible;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff4b8 0%, #ffd36b 100%);
  box-shadow: 0 6px 12px rgba(255, 196, 120, 0.4);
  border: 2px solid #fff;
}

.float-cta__register svg {
  width: 20px;
  height: 20px;
  color: #9a6a18;
}

.float-cta__register .float-cta__label {
  font-size: 10px;
  color: #9a6a18;
  overflow: visible;
}

.float-cta__chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6eb8f5 0%, #2e86d6 100%);
  box-shadow: 0 4px 10px rgba(46, 134, 214, 0.4);
  border: 2px solid #fff;
}

.float-cta__chat svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.mobile-nav-panel {
  position: relative;
  z-index: 2;
  width: 235px;
  min-height: 100%;
  padding: 12px 18px 40px;
  background: #fff;
  box-sizing: border-box;
}

.mobile-nav-panel a,
.mobile-nav-panel span {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #111 !important;
  font-family: "KaLaTeXa Display", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel span:hover {
  color: var(--brand) !important;
}

#TROL.site-footer {
  background: #fff;
  color: #4a4a4a;
  padding: 0;
  font-family: "KaLaTeXa Display", sans-serif;
  border-top: 1px solid #e6e6e6;
}

#TROL .site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 15px 24px;
}

#TROL .site-footer__brands {
  background: #f5f5f5;
  border-bottom: 1px solid #ebebeb;
  padding: 20px 15px;
}

#TROL .site-footer__brands-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 15px 30px;
}

#TROL .site-footer__brands img {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
  object-fit: contain;
}

#TROL .__TROL_foot_money_logo {
  height: 25px;
}

#TROL .__TROL_foot_tv_logo {
  height: 22px;
}

#TROL .__TROL_foot_plus_logo {
  height: 24px;
}

#TROL .__TROL_foot_mirror_logo {
  height: 13px;
}

#TROL .__TROL_foot_logistic_logo {
  height: 27px;
}

@media (min-width: 768px) {
  #TROL .site-footer__brands-inner {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    justify-items: center;
    gap: 15px 30px;
  }
}

#TROL .footer-current-date {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-align: center;
  font-weight: 400;
}

#TROL .site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

#TROL .site-footer__col h3,
#TROL h3 {
  margin: 0 0 12px;
  color: #111 !important;
  font-size: 16px;
  font-weight: 700;
  cursor: default;
}

#TROL ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#TROL .site-footer__list {
  column-count: 2;
  column-gap: 18px;
}

#TROL li {
  break-inside: avoid;
  margin: 0 0 8px;
  color: #5c5c5c;
  font-size: 13px;
  line-height: 1.35;
  cursor: default;
}

#TROL .site-footer__about {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #eee;
}

#TROL .site-footer__about h3 {
  margin: 0;
  font-size: 16px;
}

#TROL .__TROL_foot_partner_title {
  color: #5c5c5c;
  font-size: 13px;
  cursor: default;
}

#TROL .site-footer__tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

#TROL .site-footer__apps {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  align-items: start;
  gap: 15px 10px;
}

#TROL .site-footer__app-brand {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 0 5px;
  align-items: center;
}

#TROL .site-footer__app-brand img {
  width: 33px;
  height: 33px;
  display: block;
}

#TROL .site-footer__app-brand h2 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1rem;
  font-family: "Kondolar Thai", serif;
  font-weight: 700;
  color: #000;
  cursor: default;
}

#TROL .site-footer__app-brand h2:last-of-type {
  color: #00b400;
  font-weight: 400;
}

#TROL .site-footer__stores {
  grid-column: 1 / 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#TROL .site-footer__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 32px;
  min-width: 0;
  padding: 0 8px;
  border-radius: 7px;
  background: #000;
  overflow: hidden;
  cursor: default;
}

#TROL .site-footer__store img {
  width: auto;
  height: 16px;
  max-width: 90px;
  display: block;
}

#TROL .site-footer__app-logo {
  display: none;
}

#TROL .site-footer__follow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

#TROL .site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#TROL .site-footer__social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

#TROL .site-footer__social img {
  width: 23px;
  height: 23px;
  display: block;
}

#TROL .site-footer__partners {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: start;
  gap: 15px 10px;
}

#TROL .__TROL_foot_logo_trendvg {
  width: 147px;
  height: 37px;
  object-fit: contain;
  grid-column: 1 / 3;
}

#TROL .__TROL_foot_logo_sonp {
  width: 125px;
  height: 30px;
  object-fit: contain;
}

#TROL .__TROL_foot_logo_net {
  width: 70px;
  height: 38px;
  object-fit: contain;
}

#TROL .site-footer__bar {
  background: #00b400;
  padding: 10px 15px;
}

@media (min-width: 992px) {
  #TROL .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 92px !important;
  }

  .float-cta {
    left: 16px;
    right: 16px;
    bottom: 12px;
    height: 76px;
    padding: 6px 10px 14px;
    border-radius: 24px;
  }

  .float-cta__icon {
    width: 24px;
    height: 24px;
  }

  .float-cta__icon svg {
    width: 22px;
    height: 22px;
  }

  .float-cta__label {
    font-size: 13px;
  }

  .float-cta__item + .float-cta__item::before {
    top: 14px;
    bottom: 14px;
  }

  .float-cta__item--center {
    top: -12px;
  }

  .float-cta__item--center::before,
  .float-cta__item--center + .float-cta__item::before {
    top: 20px;
    bottom: 10px;
  }

  .float-cta__register {
    width: 66px;
    height: 66px;
    border-radius: 50%;
  }

  .float-cta__register svg {
    width: 22px;
    height: 22px;
  }

  .float-cta__register .float-cta__label {
    font-size: 12px;
  }

  .float-cta__chat {
    width: 36px;
    height: 36px;
  }

  .float-cta__chat svg {
    width: 18px;
    height: 18px;
  }
}
