/*
Theme Name: Sunoffice
Theme URI: https://sunoffice.vn
Description: Child theme for Bricks
Theme Author: ducbui261@gmail.com
Author URI: https://nunguyen.vn
Template: bricks
Version: 1.0.0
Text Domain: bricks
License: GNU General Public License or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

:root {
  --main-text-color: #000000;
  --main-bg-color: #FBC152;
  --text-white-color: #ffffff;
}

.brx-has-megamenu {
  position: static !important;
}

.brx-megamenu {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 1230px !important;  /* hoặc width:1200px */
  width: 1230px !important;
  margin-top: -1px;
}

header.sticky.scrolling {
    border-bottom: 1px solid #DDE9FA;
}

.mega-sub-menu .bricks-nav-menu {
    gap: unset !important;
}

.mega-sub-menu .bricks-nav-menu>li>a {
    font-weight: 400 !important;
    color: #000 !important;
    font-size: 14px !important;
    line-height: 17px !important;
}

.mega-sub-menu .bricks-nav-menu>li {
    padding-top: 10px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-radius: 4px;
}

.mega-sub-menu .bricks-nav-menu>li:hover {
    background-color: #EFF2F5 !important;
}

.mega-menu-tab-content {
    max-width: calc(100% + 12px) !important;
    width: calc(100% + 12px) !important;
}

.btn-hotline {
  padding: 8px 12px;
  border: 1px solid var(--main-bg-color);
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 100%;
}

.site-footer-overlay {
  mix-blend-mode: lighten;
}
.site-footer-overlay::before {
  mix-blend-mode: lighten;
}
.site-footer::before {
  mix-blend-mode: hard-light;
}

.brx-has-megamenu button {
    display: none;
}

.footer-top-btn-hotline {
  position: relative;
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  border: none; /* không dùng border-image nữa */
}

.footer-top-btn-hotline::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px; /* độ dày border */
  background: linear-gradient(94.61deg, #F5FF36 -4.19%, #4F3AFB 114%);
  border-radius: 5px;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.footer-bottom-menu>li a:hover span {
    text-decoration: underline;
}

.home-partners li.bricks-layout-item {
    height: 97px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    background-color: #F6F9FB;
    border-radius: 10px;
}

.home-banner-desc strong {
    font-weight: 700;
}

.dropdown-location-item:hover {
    background-color: #EFF2F5;
}

.dropdown-location-item .icon {
  width: 14px;
  height: 14px;
}

#tab-office-city > .tab-menu .tab-title.brx-open {
  background-color: transparent !important;
}

#tab-office-city > .tab-menu .tab-title.brx-open .brxe-text-basic {
  color: var(--main-bg-color) !important;
}

.office-tab-title {
    padding: 0 8px !important;
}

.office-tab-title .brxe-text-basic {
  margin-top: 2px !important;
  color: #cfd3d9;
}

#tab-office-city > .tab-content {
  padding: 0 !important;
  border: none !important;
}

.office-tab-item, .process-item {
  transition: box-shadow 0.3s ease;
}
.office-tab-item:hover {
    box-shadow: 10px 10px 30px 0px #7389951A;
}
.office-tab-item .item-count {
  position: relative;
}
.office-tab-item .item-count::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(/wp-content/uploads/2025/08/icon-city.svg);
    left: 8px;
    position: absolute;
    top: 3px;
}
.office-tab-item:hover .item-count {
    background-color: var(--main-bg-color) !important;
}
.office-tab-item:hover .item-name {
    color: var(--main-bg-color) !important;
}

.process-item:hover {
    box-shadow: 32px 49px 80px 0 rgba(125, 149, 169, 0.12);
    border-color: var(--text-white-color) !important;
}

.testimonial-heading::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    background: url(/wp-content/uploads/2025/08/testimonial-quote.png);
    background-size: contain;
    width: 117px;
    height: 93px;
}

.testimonial-slider .splide__track {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.testimonial-item img.testimonial-avatar {
    transition: width 0.5s ease, height 0.5s ease, top 0.5s ease;
}
.testimonial-item .testimonial-content {
    transition: box-shadow 0.5s ease;
}
.testimonial-item.is-next .testimonial-content {
    box-shadow: 5px 35px 100px 0px #59687626 !important;
}
.testimonial-item.is-next img.testimonial-avatar {
    width: 84px;
    height: 84px;
    top: -42px;
}

.sunoffice-stars {
  display: flex;
  gap: 9px;
}
.star-item {
  width: 21px;
  height: 20px;
  background: url('/wp-content/uploads/2025/08/icon-star-rating.svg') no-repeat center;
  background-size: contain;
}
.star-item.active {
  background: url('/wp-content/uploads/2025/08/icon-star-rating-active.svg') no-repeat center;
  background-size: contain;
}

.list-customer-logo img {
    transition: filter 0.5s ease;
    width: 150px !important;
    height: 80px !important;
    /* filter: grayscale(1); */
}

.list-customer-logo img:hover {
    filter: unset;
}

.tool-item {
    cursor: pointer;
}
.tool-item:hover {
    background-color: var(--bricks-color-jffwdx) !important;
}
.tool-item:hover .icon {
    background-color: var(--bricks-color-xsemlu) !important;
}
.tool-item:hover .content {
    color: #27293B !important;
}
.news-blog-item {
    transition: box-shadow 0.3s ease, border 0.3s ease;
}
.news-blog-item:hover {
    box-shadow: 2px 40px 80px 0px #F1F1F1;
    border: 0.5px solid #0000000D !important;
}

.contact-form-col {
  box-shadow: 0 32px 64px rgba(15, 15, 15, 0.08);
}
.contact-form button {
    padding: 16px !important;
}
.contact-form .form-group {
  position: relative;
}
.contact-form input[name="contact-name"]:invalid:focus {
   border-color: #FFC709;
}
.contact-form .form-group::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
/* input-wrapper thứ nhất (Tên) */
.contact-form .form-group:nth-of-type(1)::before {
  background-image: url('/wp-content/uploads/2025/08/icon-user.svg');
}

/* input-wrapper thứ hai (Số điện thoại) */
.contact-form .form-group:nth-of-type(2)::before {
  background-image: url('/wp-content/uploads/2025/08/icon-phone-dark.svg');
}

/* input-wrapper thứ ba (Email) */
.contact-form .form-group:nth-of-type(3)::before {
  background-image: url('/wp-content/uploads/2025/08/icon-letter-dark.svg');
}
.contact-form.brxe-form textarea {
    padding-left: 12px !important;
}
.policy-sidebar li a{
    border-left: 1px solid #DDE9FA;
    padding: 12px 24px;
}

.policy-sidebar li a[aria-current="page"] {
    border-left: 2px solid var(--main-text-color);
}

.policy-page-content h1 {
   font-size: 36px;
   line-height: 44px;
}
.policy-page-content h2 {
    font-size: 18px;
    padding: 16px 0 10px 0;
}
.policy-page-content h3, .policy-page-content h4, .policy-page-content h5, .policy-page-content h6 {
    font-size: 16px;
    padding: 16px 0 10px 0;
}
.policy-page-content ul {
    margin-top: 0;
}
.policy-page-content a {
    text-decoration: underline;
}

.tab-title-badge {
    padding: 2px 8px;
    border-radius: 32px;
    background-color: #2E314C;
    font-size: 12px;
    line-height: 15px;
    color: var(--text-white-color);
    margin-left: 2px;
}
.tab-title-badge.new {
    background-color: #FFBB38 !important;
    color: var(--main-text-color);
}
.menu-tab-list li {
    width: 100%;
    border-radius: 4px;
}
.menu-tab-list li:hover {
    background-color: #EFF2F5 !important;
}
.menu-tab-divider {
    align-self: center;
}
#sun-main-menu>.bricks-nav-menu-wrapper>.bricks-nav-menu > li > .brx-submenu-toggle > a,
#sun-main-menu>.bricks-nav-menu-wrapper>.bricks-nav-menu > li > a {
    height: 80px;
    align-items: center;
    display: flex;
    border-bottom: 1px solid var(--text-white-color);
}

#sun-main-menu>.bricks-nav-menu-wrapper>.bricks-nav-menu > li:hover .brx-submenu-toggle > a,
#sun-main-menu>.bricks-nav-menu-wrapper>.bricks-nav-menu > li > a:hover {
    color: #FF8C09 !important;
    border-bottom: 1px solid #FF8C09 !important;
}

.design-process-item {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}
.design-process-item:hover {
    border-color: var(--text-white-color) !important;
    box-shadow: 32px 49px 80px 0px #7D95A91F;
}
.design-step-block::before {
    border-radius: 20px !important;
}
.design-step {
    position: relative;
}
.design-step::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 94px;
    height: 132px;
    background-image: url(/wp-content/uploads/2025/08/step-arrow.png);
    top: 20px;
    left: 97px;
}
.design-step.step-odd::after {
    transform: scaleY(-1);
}
.design-step.last-step::after {
    display: none !important;
}
.design-step:hover::after {
    background-image: url(/wp-content/uploads/2025/08/step-arrow-active.png) !important;
}

.production-step-block>.brxe-block {
    z-index: 2;
}
.production-step-block::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 12px;
    background-image: url(/wp-content/uploads/2025/08/production-process-arrow.png);
    left: auto;
    bottom: 72px;
    z-index: 1;
    left: 25px;
    background-repeat: no-repeat;
}

.btn-load-more {
  position: relative;
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
}

.btn-load-more::before {
  content: "";
  position: absolute;
  inset: 0; /* full kích thước nút */
  padding: 1px; /* độ dày viền */
  border-radius: inherit;
  background: linear-gradient(
    256.42deg,
    #ffa631 -0.13%,
    #b371bf 45.81%,
    #5f32ba 96.39%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.btn-load-more.readmore-office::before {
    background: linear-gradient(94.61deg, #F5FF36 -4.19%, #4F3AFB 114%) !important;
}

.design-request-block::before {
    border-radius: 10px;
}

.page-extra-content * {
    font-family: inherit !important;
    color: var(--main-text-color);
}
.page-extra-content p {
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
}
.page-extra-content strong, .page-extra-content b {
    font-weight: 500;
}
.page-extra-content figure {
    border: none;
    font-size: 15px;
    line-height: 22px;
    font-style: italic;
    font-weight: 400;
}
.page-extra-content h2, .page-extra-content h3
{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}
.page-extra-content h4 *, .page-extra-content h5 *
{
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
}
.page-extra-content ul {
    padding-left: 25px;
    margin-top: 0 !important;
    font-weight: 400;
    margin-bottom: 30px;
}
.page-extra-content .wp-caption-text {
    margin-top: 30px;
}

.news-blog-item figcaption {
    display: none;
}

.design-cta-desc b {
    font-weight: 500;
}

div#office-search-box {
    backdrop-filter: blur(5px);
}

.read-more-container {
    overflow: hidden;
    position: relative;
}

.label-office {
    color: #FCFCFD;
    padding: 4px 8px;
    border-radius: 32px;
    background-color: #83BC49;
    font-size: 12px;
    line-height: 15px;
    font-weight: 500 !important;
}
.label-office.outstanding {
    background-color: #FFBB38;
}
.label-office.offer {
    background-color: #EF5470;
}

#nearby-buildings .brxe-block:nth-child(n+6) {
    display: none !important;
}

/*POST CONTENT*/
.post-content table {
    border: 0;
    border-spacing: 0;
}
.post-content table tbody {
    display: table;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.post-content table tr td {
    border: none;
    padding: 8px;
}

.post-content table tr:first-child {
  background-color: #FFC709;
}
.post-content table tr:first-child td:first-child {
  border-top-left-radius: 10px;
}

.post-content table tr:first-child td:last-child {
  border-top-right-radius: 10px;
}

.post-content table tr:first-child strong {
    font-weight: 600;
}
.post-content table, .post-content dl, .post-content ul {
    margin-bottom: 30px !important;
}
.post-content p {
    margin-bottom: 20px !important;
}
.post-content table tr:nth-child(odd):not(:first-child) {
    background-color: #EBEFF5; /* các hàng lẻ, trừ hàng đầu */
}
.post-content table p {
    margin-bottom: 0 !important;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 27px;
    line-height: 36px;
}

.post-content h3, .post-content h4 {
    font-size: 18px;
    line-height: 24px;
}
.post-content h5, .post-content h6 {
    font-size: 17px;
    line-height: 24px;
}

.post-content dd {
    text-align: center;
    margin: 0;
    margin-top: 20px;
    font-style: italic;
    font-size: 15px;
    line-height: 22px;
}
.post-content img {
    border-radius: 20px;
}
.post-content figure.wp-caption {
    width: 100% !important;
    padding: 0;
    border: none;
    max-width: 100% !important;
}
.aiosrs-rating-wrap br, .post-content .lwptoc br, .post-content p:empty {
    display: none;
}
.post-content figcaption {
    margin-bottom: 30px;
}

.pswp__thumbnail-nav-wrapper img {
    filter: grayscale(0) !important;
}
.pswp__thumbnail-nav-wrapper img.active, .pswp__thumbnail-nav-wrapper img:hover {
    border: 3px solid white;
}

/* Form tìm kiếm tòa nhà*/
.search-wrapper{
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.search-block {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Vùng chứa checkbox */
.search-item-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
}

/* Ẩn checkbox mặc định */
.search-item, .search-item-all {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #FFBB38;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease-in-out;
  padding: 0;
}

/* Khi hover */
.search-item:hover, .search-item-all:hover {
  border-color: #000;
}

/* Khi được tick */
.search-item:checked, .search-item-all:checked {
  background-color: #FFBB38;
  border-color: #FFBB38;
}

/* Dấu tick */
.search-item:checked::after, .search-item-all:checked::after {
  content: "✓";
  color: #000;
  font-size: 12px;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -58%);
}

/* Label chữ */
.search-item-label {
  cursor: pointer;
  color: #222;
  margin-bottom: 0;
  font-size: 15px;
}

.btn-copy-link .brxe-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-copy-link .brxe-icon.copy-anim {
  opacity: 0.6;
}

.post-content a {
    color: #ff8c09;
}

/******RESPONSIVE******/
@media (max-width: 478px) {

header>section {
    border-bottom: none !important;
}

header.on-scroll.scrolling>section {
    background-color: #fff !important;
    border-bottom: 1px solid #dde9fa !important;
}

.office-tab-title {
    padding: 0px !important;
    margin-left: 8px;
}

/* .brxe-nav-menu .bricks-mobile-menu-toggle {
    color: #fff;
    width: 52px !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.brxe-nav-menu .bricks-mobile-menu-toggle span{
    position: static !important;
    width: 6px !important;
    min-width: 6px !important;
    border-radius: 100%;
    height: 6px;
} */

#express-gallery li {
    margin-bottom: 12px;
}

}