/*
Theme Name: 79King Flatsome Child
Description: Flatsome child theme for the local 79King site.
Author: Local Development
Template: flatsome
Version: 1.6.0
Text Domain: flatsome-79king
*/

:root {
  --king-purple: #be2edd;
  --king-red: #dd3333;
  --king-black: #0a0a0a;
  --king-green: #2ecc71;
}

/* Native Flatsome custom footer block. */
.king-footer-block {
  color: #111;
  font-size: 16px;
}

.king-footer-block > .section-content > .row {
  max-width: 1180px;
}

.king-footer-logo-row .img {
  margin-bottom: 6px;
  max-width: 323px;
}

.king-footer-intro p {
  line-height: 1.48;
  margin-bottom: 0;
}

.king-footer-block a {
  color: #111;
  text-decoration: underline;
}

.king-footer-columns {
  margin-top: 0;
}

.king-footer-columns .col {
  padding-bottom: 0;
}

.king-footer-columns h3 {
  color: #191919;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 6px;
}

.king-footer-list {
  list-style: none;
  margin: 0;
}

.king-footer-list li {
  border-bottom: 1px solid #d9dee1;
  line-height: 1.45;
  margin: 0;
  min-height: 37px;
  padding: 7px 0;
}

.king-footer-partners-row {
  margin-top: 12px;
}

.king-footer-partners-row .img {
  margin: 0 auto;
  max-width: 800px;
}

.king-footer-keywords p {
  margin: 2px 0 0;
}

body > #wrapper > footer .absolute-footer {
  display: none;
}

@media (max-width: 849px) {
  .king-footer-block > .section-content > .row {
    padding-left: 12px;
    padding-right: 12px;
  }

  .king-footer-logo-row .img {
    width: 45% !important;
  }
}

@media (max-width: 549px) {
  .king-footer-columns h3 {
    font-size: 25px;
  }

  .king-footer-logo-row .img {
    width: 68% !important;
  }

  .king-footer-partners-row .img {
    width: 100% !important;
  }
}

/* Imported articles: match the source layout using Flatsome Blog Single. */
.single-post .blog-wrapper {
  background: #fff;
  padding: 41px 0 60px;
}

.single-post .blog-wrapper > .row {
  max-width: 1200px;
}

.single-post .blog-wrapper > .row > .large-9,
.single-post .blog-wrapper > .row > .post-sidebar {
  padding-left: 15px;
  padding-right: 15px;
}

.single-post .article-inner {
  color: #2e3246;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.single-post .entry-header-text {
  padding: 0;
}

.single-post .entry-category {
  margin: 0 0 45px;
}

.single-post .entry-category a {
  background: var(--king-red);
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 10px 13px;
}

.single-post .entry-content {
  padding: 0 0 30px;
}

.single-post .entry-content p {
  line-height: 1.65;
  margin-bottom: 1.45em;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  color: #151515;
  font-weight: 700;
  line-height: 1.2;
  margin: 10px 0;
}

.single-post .entry-content h2 {
  font-size: 38px;
}

.single-post .entry-content h3 {
  font-size: 28px;
}

.single-post .entry-content a {
  color: var(--king-red);
  text-decoration: underline;
}

.single-post .entry-content img {
  border-radius: 5px;
}

.single-post .wp-caption {
  max-width: 100%;
}

.single-post .wp-caption-text {
  color: #7f8c8d;
  font-size: 13px;
  line-height: 18px;
  padding-top: 10px;
}

.single-post .post-sidebar {
  border-left: 0 !important;
}

.single-post .post-sidebar .widget {
  margin-bottom: 30px;
}

.single-post .post-sidebar .widget-title,
.single-post .post-sidebar .wp-block-search__label {
  color: #151515;
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
  text-transform: none;
}

.single-post .post-sidebar .flatsome_recent_posts .widget-title {
  padding-left: 23px;
  position: relative;
}

.single-post .post-sidebar .flatsome_recent_posts .widget-title::before,
.single-post .post-sidebar .flatsome_recent_posts .widget-title::after {
  border-radius: 50%;
  content: "";
  height: 11px;
  left: 0;
  position: absolute;
  width: 11px;
}

.single-post .post-sidebar .flatsome_recent_posts .widget-title::before {
  background: var(--king-red);
  top: 5px;
}

.single-post .post-sidebar .flatsome_recent_posts .widget-title::after {
  background: var(--king-purple);
  top: 12px;
}

.single-post .post-sidebar .flatsome_recent_posts > .is-divider {
  display: none;
}

.single-post .post-sidebar .wp-block-search__inside-wrapper {
  display: flex;
}

.single-post .post-sidebar .wp-block-search__input {
  border: 1px solid #d6d7db;
  box-shadow: none;
  height: 45px;
  margin: 0 10px 0 0;
  min-width: 0;
}

.single-post .post-sidebar .wp-block-search__button {
  background: var(--king-purple);
  border: 0;
  color: #fff;
  margin: 0;
  padding: 0 18px;
}

.single-post .flatsome_recent_posts ul {
  margin: 0;
}

.single-post .flatsome_recent_posts li {
  border: 0;
}

.single-post .flatsome_recent_posts .recent-blog-posts {
  align-items: center;
  padding: 0 0 15px;
}

.single-post .flatsome_recent_posts .badge {
  height: 100px;
  width: 100px;
}

.single-post .flatsome_recent_posts .badge-inner {
  background-position: center !important;
  background-size: cover !important;
  border-radius: 5px;
}

.single-post .flatsome_recent_posts .flex-grow > a {
  color: #151515;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.single-post .flatsome_recent_posts .post_comments {
  display: none;
}

.single-post .comments-area:empty {
  display: none;
}

@media (max-width: 849px) {
  .single-post .blog-wrapper {
    padding-top: 28px;
  }

  .single-post .entry-content h2 {
    font-size: 30px;
  }

  .single-post .entry-content h3 {
    font-size: 24px;
  }

  .single-post .post-sidebar {
    border-top: 1px solid #dfe6e9;
    margin-top: 30px;
    padding-top: 30px;
  }
}

body {
  color: #34495e;
  font-family: Roboto, Arial, sans-serif;
}

.header-main,
.header-wrapper.stuck .header-main {
  background: var(--king-black);
}

.header-main .nav > li > a,
.header-main .header-button a,
.header-main .icon-menu {
  color: #fff;
}

.header-main .nav > li > a:hover,
.header-main .nav > li.active > a {
  color: var(--king-purple);
}
/* 
.header-main .nav > li.header-button-1,
.header-main .nav > li.header-button-2 {
  margin: 0 0 0 14px;
}

.header-main .header-button-1 .button,
.header-main .header-button-2 .button {
  align-items: center;
  border: 2px solid;
  border-radius: 6px;
  box-sizing: border-box;
  color: #050505 !important;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-width: 140px;
  padding: 0 18px;
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease;
}

.header-main .header-button-1 .button {
  background: #fff500 !important;
  border-color: #ff2d2d !important;
}

.header-main .header-button-2 .button {
  background: #18e1e9 !important;
  border-color: #fff !important;
}

.header-main .header-button-1 .button:hover,
.header-main .header-button-2 .button:hover {
  color: #050505 !important;
  filter: brightness(.94);
  transform: translateY(-1px);
} */

.button.secondary:not(.is-outline) {
    background-color: transparent!important;
    color: #000!important;
}

.header-top {
  background: linear-gradient(90deg, var(--king-purple), var(--king-red));
}

.header-top,
.header-top a {
  color: #fff;
}

/* Flatsome Header Builder: native bottom-row primary navigation. */
.header-bottom,
.header-wrapper.stuck .header-bottom {
  background: var(--king-black);
}

.header-bottom .container {
  max-width: 1080px;
  padding-left: 18px;
  padding-right: 18px;
}

.header-bottom .flex-center,
.header-bottom .header-bottom-nav {
  width: 100%;
}

.header-bottom .header-bottom-nav {
  align-items: stretch;
  justify-content: space-between;
}

.header-bottom .header-bottom-nav > li.king-menu-item {
  flex: 1 1 0;
  margin: 0;
}

.header-bottom .header-bottom-nav > li.king-menu-item > a {
  align-items: center;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.1;
  min-height: 92px;
  padding: 10px 4px 9px;
  text-transform: none;
  white-space: nowrap;
}

.header-bottom .header-bottom-nav > li.king-menu-item > a::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 34px;
  margin-bottom: 7px;
  width: 40px;
}

.header-bottom .header-bottom-nav > li.king-menu-item > a:hover,
.header-bottom .header-bottom-nav > li.king-menu-item.current-menu-item > a,
.header-bottom .header-bottom-nav > li.king-menu-item.current-menu-ancestor > a {
  background: rgb(255 255 255 / 5%);
  color: #fff !important;
}

.header-bottom .header-bottom-nav > li.king-menu-item.current-menu-item > a {
  box-shadow: inset 0 -2px 0 #fff;
}

.king-menu-home > a::before {
  background-image: url('/wp-content/uploads/2026/07/trang-chu-icon.webp');
}

.king-menu-guide > a::before {
  background-image: url('/wp-content/uploads/2026/07/app-base-1.png');
}

.king-menu-fish > a::before {
  background-image: url('/wp-content/uploads/2026/07/ban-ca-bet88-icon.webp');
}

.king-menu-cards > a::before {
  background-image: url('/wp-content/uploads/2026/07/game-bai-iconn.webp');
}

.king-menu-casino > a::before {
  background-image: url('/wp-content/uploads/2026/07/casino-bet88-icon.webp');
}

.king-menu-sports > a::before {
  background-image: url('/wp-content/uploads/2026/07/the-thao-icon.webp');
}

.king-menu-lottery > a::before {
  background-image: url('/wp-content/uploads/2026/07/xo-so-icon.webp');
}

.king-menu-cockfight > a::before {
  background-image: url('/wp-content/uploads/2026/07/da-ga-icon.webp');
}

.king-menu-contact > a::before {
  background-image: url('/wp-content/uploads/2026/07/lien-he-icon.webp');
}

.king-menu-news > a::before {
  background-image: url('/wp-content/uploads/2026/07/tin-tuc-icon.webp');
}

/* Native Flatsome dropdown menus, mirroring the source hierarchy. */
.header-bottom .header-bottom-nav > .menu-item-has-children > a > i {
  bottom: 7px;
  margin: 0;
  position: absolute;
  right: 8px;
}

.header-bottom .nav-dropdown {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
  min-width: 235px;
  padding: 8px 0;
}

.header-bottom .nav-dropdown > li > a {
  border-bottom: 1px solid #edf0f2;
  color: #34495e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  padding: 10px 16px;
  text-transform: none;
}

.header-bottom .nav-dropdown > li:last-child > a {
  border-bottom: 0;
}

.header-bottom .nav-dropdown > li > a:hover,
.header-bottom .nav-dropdown > li.active > a {
  background: #f5f6fa;
  color: #b2bec3;
}

.mobile-sidebar .king-submenu-item > a {
  color: #fff;
  font-size: 14px;
  text-transform: none;
}

.button.primary,
.button.checkout,
input[type="submit"] {
  background-color: var(--king-green) !important;
  border-color: var(--king-green) !important;
}

.page-wrapper,
.blog-wrapper {
  background: #f5f6fa;
}

.page-inner,
.article-inner {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 7%);
  padding: 28px;
}

.king-intro {
  font-size: 16px;
  line-height: 2;
  margin: 35px 0 12px;
}

.king-intro strong {
  color: #ff2424;
}

.king-profile {
  background: #000 !important;
  border: 3px solid #252a3e;
  border-radius: 20px;
  color: #fff;
  margin: 0;
  overflow: hidden;
  padding: 10px 8px;
}

.king-profile table {
  margin: 0;
}

.king-profile td {
  border-color: #fff;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  padding: 13px 14px;
}

.king-profile td:first-child {
  color: #fff;
  font-weight: 400;
  width: 34%;
}

.king-profile a {
  color: #ff2424;
}

.king-profile .king-stars {
  color: #ffad1f;
  font-size: 21px;
  letter-spacing: 3px;
}

.king-profile-logo .img {
  margin: 0 auto;
  max-width: 250px;
}

.king-profile-logo img {
  border-radius: 26px;
}

.king-home {
  background: #fff;
}

.king-home .king-body-row {
  max-width: 1188px;
}

.king-main-column > .col-inner {
  padding-right: 4px;
}

.king-hero-title h1 {
  color: #ff2424;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  margin: 12px auto 14px;
  max-width: 850px;
  text-transform: none;
}

#ez-toc-container.king-plugin-toc,
#ez-toc-container {
  background: #f6f6f6;
  border: 2px solid #4b4b4b;
  border-radius: 0;
  color: #333;
  display: table;
  margin: 12px 0 0;
  padding: 14px 18px 12px;
  width: 100%;
}

#ez-toc-container .ez-toc-title-container {
  display: block;
  position: relative;
  text-align: center;
}

#ez-toc-container .ez-toc-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

#ez-toc-container .ez-toc-title-toggle {
  color: #999;
  position: absolute;
  right: 0;
}

#ez-toc-container nav {
  margin-top: 10px;
}

#ez-toc-container ul.ez-toc-list {
  margin: 0 0 0 22px;
}

#ez-toc-container li {
  margin: 5px 0;
}

#ez-toc-container a.ez-toc-link {
  color: #3c3c3c;
  text-decoration: none;
}

.king-hot-heading h2 {
  color: #222;
  font-size: 25px;
  margin: 30px 0 16px;
}

.king-sidebar {
  padding-left: 20px;
}

.king-search-label p {
  color: #222;
  font-size: 16px;
  margin: 0 0 3px;
}

.king-sidebar-heading h3 {
  align-items: center;
  color: #222;
  display: flex;
  font-size: 22px;
  margin: 18px 0 20px;
}

.king-sidebar-heading h3 span {
  background: linear-gradient(#f182b0 0 50%, #be2edd 50% 100%);
  border-radius: 10px;
  display: inline-block;
  height: 18px;
  margin-right: 10px;
  width: 11px;
}

.king-sidebar .box-blog-post {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 18px;
}

.king-sidebar .box-blog-post .box-text {
  padding: 0 0 0 12px;
  text-align: left !important;
}

.king-sidebar .box-blog-post .post-title {
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.king-sidebar .box-blog-post .box-image {
  border-radius: 5px;
}

.king-sidebar .box-blog-post .is-divider {
  display: none;
}

.king-sidebar .search-field {
  background: #f0f1f2;
  border: 0;
  box-shadow: none;
  height: 44px;
}

.king-sidebar .ux-search-submit {
  background: #292d32 !important;
  border: 0 !important;
  border-radius: 0;
  color: #fff !important;
  height: 72px;
  line-height: 1.3;
  margin-left: 10px;
  min-width: 80px;
  padding: 0 12px;
}

.king-sidebar .ux-search-submit .icon-search {
  display: none;
}

.king-sidebar .ux-search-submit::after {
  content: "Tìm\A kiếm";
  font-size: 16px;
  font-weight: 400;
  white-space: pre;
}

.king-section-title .section-title-main {
  border-color: var(--king-red);
  color: #2d3436;
}

.box-blog-post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 8%);
  height: 100%;
  overflow: hidden;
}

.box-blog-post .box-text {
  padding: 18px;
}

.elementor-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1080px;
}

.elementor-column {
  padding: 10px;
}

.elementor-col-100 { width: 100%; }
.elementor-col-50 { width: 50%; }
.elementor-widget-image { text-align: center; }
.elementor-widget-image img { height: auto; max-width: 100%; }

.wp-show-posts-columns {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wp-show-posts-single {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 8%);
  overflow: hidden;
}

.wp-show-posts-single img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
}

.wp-show-posts-entry-header,
.wp-show-posts-entry-summary {
  padding: 0 16px;
}

.wp-show-posts-entry-title {
  font-size: 1rem;
}

.absolute-footer {
  background: var(--king-black);
  color: #b2bec3;
}

@media (max-width: 849px) {
  .elementor-col-50 { width: 100%; }
  .wp-show-posts-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-inner, .article-inner { padding: 20px; }

  .mobile-sidebar .header-button-1,
  .mobile-sidebar .header-button-2 {
    display: inline-block;
    margin: 14px 5px 0;
    width: calc(50% - 12px);
  }

  .mobile-sidebar .header-button-1 .button,
  .mobile-sidebar .header-button-2 .button {
    border: 2px solid;
    border-radius: 6px;
    color: #050505 !important;
    display: flex;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 10px !important;
  }

  .mobile-sidebar .header-button-1 .button {
    background: #fff500 !important;
    border-color: #ff2d2d !important;
  }

  .mobile-sidebar .header-button-2 .button {
    background: #18e1e9 !important;
    border-color: #fff !important;
  }

  .mobile-sidebar .king-menu-item > a {
    align-items: center;
    display: flex;
  }

  .mobile-sidebar .king-menu-item > a::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    flex: 0 0 30px;
    height: 28px;
    margin-right: 12px;
    width: 30px;
  }

  .king-main-column > .col-inner {
    padding-right: 0;
  }

  .king-sidebar {
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-left: 15px;
    padding-top: 24px;
  }

  .king-hero-title h1 {
    font-size: 30px;
  }
}

@media (max-width: 549px) {
  .wp-show-posts-columns { grid-template-columns: 1fr; }

  .king-hero-title h1 {
    font-size: 25px;
  }

  #ez-toc-container {
    padding: 10px;
  }

  #ez-toc-container ul.ez-toc-list {
    margin-left: 18px;
  }

  .king-profile {
    border-radius: 14px;
  }
}
