/*
Theme Name: F88VNNET Child
Description: Independent Flatsome child theme for f88vnnet.com.
Author: F88VNNET
Template: flatsome
Version: 1.0.0
Text Domain: f88vnnet
*/

:root {
  --f88-blue: #0553e0;
  --f88-blue-dark: #123084;
  --f88-yellow: #eeee22;
  --f88-orange: #ef7734;
  --f88-footer: #ddeefa;
  --f88-text: #000;
  --f88-shell: 1050px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.f88vnnet-site {
  margin: 0;
  overflow-x: clip;
  color: var(--f88-text);
  background: #fff;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

body.f88vnnet-site a {
  color: var(--f88-blue);
  text-decoration: none;
}

body.f88vnnet-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.f88-shell {
  width: min(var(--f88-shell), calc(100% - 30px));
  margin-right: auto;
  margin-left: auto;
}

.f88-skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 10000;
  padding: 8px 14px;
  background: #fff;
}

.f88-skip-link:focus {
  top: 10px;
}

.f88-header {
  position: relative;
  z-index: 50;
  background: #fff;
}

.f88-header-main {
  height: 90px;
  background: #fff;
}

.f88-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.f88-logo {
  display: flex;
  align-items: center;
  width: 200px;
  height: 90px;
}

.f88-logo img {
  width: 200px;
  max-height: 90px;
  object-fit: contain;
}

.f88-logo strong {
  color: var(--f88-blue);
  font-size: 34px;
}

.f88-desktop-actions,
.f88-mobile-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.f88-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 47px;
  padding: 10px 15px;
  border: 1px solid #f28c48;
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(180deg, #f89950 0%, #ec6d27 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .4), 0 2px 5px rgba(0, 0, 0, .14);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.f88-action-button:hover {
  color: #fff !important;
  filter: brightness(1.04);
}

.f88-primary-nav {
  min-height: 55px;
  background: var(--f88-blue);
}

.f88-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.f88-nav-list > li {
  margin: 0;
}

.f88-nav-list > li > a {
  display: flex;
  align-items: center;
  min-height: 55px;
  padding: 0 14px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.f88-nav-list > li > a:hover,
.f88-nav-list > .current-menu-item > a,
.f88-nav-list > .current_page_item > a {
  color: var(--f88-yellow) !important;
}

.f88-menu-toggle,
.f88-mobile-actions {
  display: none;
}

.f88-main {
  width: 100%;
  background: #fff;
}

.f88-hero {
  width: 100%;
  overflow: hidden;
  background: #effcff;
}

.f88-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 1439 / 494;
  object-fit: cover;
}

.f88-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 150px);
  justify-content: space-between;
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.f88-category-card {
  width: 150px;
  margin: 0;
}

.f88-category-card img {
  width: 150px;
  height: 234px;
  object-fit: cover;
}

.f88-home-content {
  padding-top: 0;
  padding-bottom: 42px;
}

.f88-home-content > h1 {
  margin: 0 0 16px;
  color: var(--f88-blue);
  font-size: 27.2px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.f88-editor-content {
  color: #000;
}

.f88-editor-content p {
  margin: 0 0 20px;
}

.f88-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 28px;
}

.f88-gallery-item {
  display: block;
  overflow: hidden;
}

.f88-gallery-item img {
  width: 100%;
  aspect-ratio: 300 / 175;
  object-fit: cover;
}

.f88-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 18px;
  color: var(--f88-blue);
  font-size: 25.6px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.f88-section-heading::before,
.f88-section-heading::after {
  content: "";
  height: 2px;
  flex: 1;
  background: currentColor;
  opacity: .28;
}

.f88-section-heading span {
  flex: 0 1 auto;
}

.f88-accordion details {
  border-top: 1px solid #ddd;
}

.f88-accordion details:last-child {
  border-bottom: 1px solid #ddd;
}

.f88-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 9px 0;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.f88-accordion summary::-webkit-details-marker {
  display: none;
}

.f88-accordion summary span {
  color: #777;
  font-size: 18px;
  transition: transform .2s ease;
}

.f88-accordion details[open] summary span {
  transform: rotate(180deg);
}

.f88-faq-answer {
  min-height: 1px;
}

.f88-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.f88-post-card {
  min-width: 0;
}

.f88-post-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #edf1f6;
}

.f88-post-image img {
  width: 100%;
  aspect-ratio: 330 / 186;
  object-fit: cover;
}

.f88-post-card h3 {
  margin: 12px 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.f88-post-card h3 a {
  color: #222 !important;
}

.f88-post-card p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.f88-page-main {
  min-height: 58vh;
  padding: 42px 0 60px;
}

.f88-page-card {
  min-height: 320px;
}

.f88-page-card h1 {
  margin: 0 0 20px;
  color: var(--f88-blue);
  font-size: 30px;
  text-align: center;
}

.f88-footer-main {
  padding: 30px 0;
  background: var(--f88-footer);
}

.f88-footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 50px;
}

.f88-footer-logo {
  display: block;
  width: 60%;
  margin-bottom: 16px;
}

.f88-footer-brand p {
  margin: 0;
  color: #000;
}

.f88-footer-brand a,
.f88-footer-links a {
  color: #000 !important;
}

.f88-footer-links h2 {
  margin: 6px 0 14px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.f88-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f88-footer-menu li {
  margin: 0 0 8px;
}

.f88-partner-strip {
  margin-top: 24px;
}

.f88-partner-strip img {
  width: 100%;
}

.f88-footer-bottom {
  min-height: 54px;
  padding: 16px 0;
  color: #fff;
  background: var(--f88-blue-dark);
  text-align: left;
}

.f88-back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff !important;
  background: rgba(18, 48, 132, .88);
  font-size: 22px;
}

@media (max-width: 849px) {
  .f88-shell {
    width: min(100% - 30px, 720px);
  }

  .f88-header-main,
  .f88-header-inner {
    height: 70px;
  }

  .f88-header-inner {
    position: relative;
    justify-content: center;
  }

  .f88-logo {
    width: 168px;
    height: 70px;
  }

  .f88-logo img {
    width: 168px;
    max-height: 70px;
  }

  .f88-menu-toggle {
    position: absolute;
    top: 20px;
    left: 0;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 4px 2px;
    border: 0;
    background: transparent;
  }

  .f88-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #777;
  }

  .f88-desktop-actions {
    display: none;
  }

  .f88-mobile-actions {
    display: flex;
    justify-content: center;
    min-height: 55px;
    padding: 5px 15px;
    background: var(--f88-blue);
  }

  .f88-mobile-actions .f88-action-button {
    min-width: 130px;
    min-height: 45px;
  }

  .f88-primary-nav {
    display: none;
  }

  .f88-primary-nav.is-open {
    display: block;
  }

  .f88-nav-list {
    display: block;
    min-height: 0;
    padding: 8px 0 12px;
  }

  .f88-nav-list > li > a {
    min-height: 42px;
    padding: 10px 15px;
  }

  .f88-category-grid {
    grid-template-columns: repeat(3, 100px);
    justify-content: space-between;
    gap: 30px;
  }

  .f88-category-card {
    width: 100px;
  }

  .f88-category-card img {
    width: 100px;
    height: 156px;
  }

  .f88-post-grid {
    grid-template-columns: 1fr;
  }

  .f88-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 549px) {
  body.f88vnnet-site {
    font-size: 16px;
  }

  .f88-shell {
    width: calc(100% - 30px);
  }

  .f88-hero img {
    aspect-ratio: 390 / 134;
  }

  .f88-category-grid {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .f88-home-content > h1 {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.28;
  }

  .f88-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .f88-section-heading {
    gap: 10px;
    font-size: 21px;
  }

  .f88-section-heading::before,
  .f88-section-heading::after {
    min-width: 16px;
  }

  .f88-footer-logo {
    width: 68%;
  }

  .f88-footer-bottom {
    text-align: center;
  }
}

@media (max-width: 360px) {
  .f88-mobile-actions {
    gap: 8px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .f88-mobile-actions .f88-action-button {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }

  .f88-category-grid {
    grid-template-columns: repeat(3, 92px);
    gap: 15px;
  }

  .f88-category-card,
  .f88-category-card img {
    width: 92px;
  }

  .f88-category-card img {
    height: 144px;
  }
}

