/*!
Theme Name: RunToLive Child Themes
Theme URI: https://runtolive.com/
Author: Bao Thoai Offical
Author URI: runtolive.com
Description: This theme is designed for RUNTOLIVE CHILD THEMES
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: runtolive-child-themes
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/



body,
input,
select,
textarea,
button {
  font-family: 'Transducer', sans-serif;
}

body {
  min-width: 340px;
}

/*STYLE CSS DESTOP*/

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.error-ss {
  height: 1000px;
}

.menu-header nav ul li a {
  text-transform: uppercase;
  color: #fff;
}

.menu-header nav ul li.current-menu-item a {
  font-weight: 900;
  color: #fff !important;
}

.register-now .btn-action {
  color: #fff;
  display: inline-block;
  font-weight: 900;
  font-family: 'Transducer', sans-serif;
}

body::before {
  max-height: 96vh !important;
}

button:focus {
  outline: none !important;
}

.create-invitations-create .box-btn-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 750px;
  margin: 0 auto;
  padding-top: 48px;
}

.create-invitations-ss .box-invitations .box-content .form-control {
  color: #fff;
}

.create-invitations-create .content-create .thumnails-avatar a {
  position: relative;
  padding-top: 55%;
  display: block;
  width: 100%;
  float: right;
  overflow: hidden;
  padding-top: 62%;
  margin-top: 50px;
}

.btn-taongay .btn-action {
  color: #fff;
}

.create-invitations-create .content-create .box-content h4 {
  font-size: 24px;
  text-align: center;
}

.content-address .btn-action {
  border: 1px solid #b6acff !important;
}

.title-at h2 {
  text-transform: uppercase;
}

.pum-theme-1078 .pum-container,
.pum-theme-lightbox .pum-container {
  padding: 0 !important;
  border: none !important;
}

.modal-dialog .box-btn a:first-child {
  margin-right: 0 !important;
  margin-left: 0px;
}

.modal-dialog .box-btn a {
  width: 50% !important;
}

ul.language {
  margin-bottom: 0;
}

ul.language li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.language li a.vn-language {
  background: #4730ef;
  padding: 6px 8px;
  font-family: 'Transducer', sans-serif;
  padding: 6px 5px;
  font-size: 12px;
  border-radius: 100%;
  color: #fff;
  text-decoration: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

ul.language li a ul li {
  list-style: none;
}

.header-contact-mb {
  display: none;
}

.title-at:after {
  top: 50%;
  transform: translateY(-50%);
}

.item-at.active .tab-at {
  padding-top: 30px !important;
}

.arena-map .title-main-des p.slide-pc {
  font-weight: 700;
}

.header-contact .language a {
  font-size: 14px !important;
  padding: 6px 16px !important;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: skew(30deg);
  font-weight: 900;
}

.header-contact .language {
  padding: 3px 3px 3px !important;
}

.row.mb-40 {
  margin-bottom: 40px;
}

.connection-content .box-right span {
  font-size: 12px !important;
  font-family: 'Transducer', sans-serif;
}

.title-at h2 {
  font-weight: 500;
}

.button-list.box-map .item-at.active .title-at h2 {
  font-size: 22px;
  font-weight: 500;
}

.button-list.box-map .item-at.active .tab-at h3 {
  font-size: 1.5rem;
  text-transform: none;
  font-family: 'Transducer', sans-serif;
  font-weight: 700;
  line-height: 32px;
  margin: 30px 0;
}

.button-list.box-map .item-at.active .tab-at h6 {
  font-size: 15px;
  text-transform: none;
  font-family: 'Transducer', sans-serif;
  font-weight: 500;
  color: #fff;
}

.button-list.box-price .tab-at .box-content h3 {
  margin-bottom: 20px;
  margin-top: 30px;
  font-size: 1.5rem;
}

.button-list.box-price .tab-at .box-content h6 {
  font-size: 15px;
  font-style: italic;
  text-transform: none;
  font-family: 'Transducer', sans-serif;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

.button-list.box-faq .tab-at h3 {
  margin-top: 30px;
  line-height: 45px;
}

.button-list.box-faq .tab-at h6 {
  font-weight: 600;
}

.button-list.box-faq .item-at.active .tab-at b,
.button-list.box-faq .item-at.active .tab-at strong {
  font-style: italic;
  font-weight: 600;
}

.connection-content .box-left .thumnails-avatar a {
  position: relative;
  overflow: hidden;
}

.connection-content .box-left .thumnails-avatar a img {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.connection-content .box-left .thumnails-avatar:hover a img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.content-item-new .box-left .thumnails-avatar a {
  position: relative;
  overflow: hidden;
}

.content-item-new .box-left .thumnails-avatar a img {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.content-item-new .box-left .thumnails-avatar:hover a img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.section-new .connection-content {
  border-bottom: 1px solid #d9d9d99c !important;
}

.section-new-detail .content-new-header {
  border-bottom: none !important;
}

.content-ss.center h4 {
  font-size: 44px;
  line-height: 66px;
  text-transform: uppercase;
  font-weight: 700;
}

.content-ss.center h2 {
  font-size: 76px;
  line-height: 110px;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-pc .address-footer .item-address {
  display: flex;
}

.footer-pc .address-footer .item-address p:last-child {
  font-weight: 400;
  font-family: 'Transducer', sans-serif;
  font-size: 12px;
}

.section-new-detail .content-new-header .right-new .title-section h5 {
  border-bottom: none !important;
  position: relative;
}

.section-new-detail .content-new-header .right-new .title-section h5:after {
  content: "";
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  border-bottom: none;
  bottom: -10px;
}

.connection-content .box-right h6 {
  text-transform: uppercase;
}

.create-invitations-create .btn-action img {
  position: initial;
}

.cart-animate {
  position: fixed;
  z-index: 999;
  transition: transform 1.5s, opacity 2s;
  width: 43px;
}

@media only screen and (max-width: 520px) {
  .create-invitations-create .box-btn-submit {
    margin-top: 0;
    display: inline-block;
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .menu-header nav ul {
    display: block !important;
  }

  .menu-header nav {
    position: fixed;
  }

  .create-invitations-create img#blah {
    width: 100%;
  }

  .create-invitations-create .box-btn-submit {
    margin-top: 0 !important;
    width: 100%;
  }

  .create-invitations-create .btn-action img {
    position: initial;
  }

  .header-contact-mb {
    display: block;
    padding-right: 20px;
  }

  .header-contact-mb .language {
    border-radius: 50px;
    border: 1px solid #4730ef;
    background: rgba(71, 48, 239, 0.2);
  }

  .header-contact-mb .language a {
    font-size: 12px !important;
    padding: 5px 14px !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .header-contact-mb ul.language li a.vn-language {
    width: 24px;
    height: 24px;
  }

  .header-contact.mb-12 .language {
    display: none;
  }

  .register-now .btn-action {
    height: 26px;
    font-size: 8px;
    padding: 6px 16px !important;
    margin-left: inherit !important;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .tab-at h3 {
    font-size: 14px;
  }

  .charityfund .box-left {
    display: inline-block;
    width: 100%;
    padding-top: 30px;
  }

  #navbar .logo a img {
    height: 30px !important;
  }

  .btn-menu-mb img {
    height: 25px !important;
  }

  header .container-header {
    top: -5px;
  }

  .organizational-logo {
    margin-top: 12px;
    display: grid !important;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, 100%);
  }

  .organizational-logo img {
    height: 120px !important;
    padding: 0 48px;
    width: 100%;
    object-fit: contain;
  }

  .button-list.box-faq .tab-at h3 {
    margin-top: 0;
    line-height: 45px;
    font-size: 30px;
  }

  .section-new .connection-content .box-right .title-item {
    display: block;
    width: 100%;
    margin-bottom: 20px !important;
  }

  .section-new .connection-content .box-right h6 {
    font-size: 16px !important;
  }

  .section-new-detail .content-item-new .row.mb-40:last-child {
    margin-bottom: 0;
  }

  .new-connection .row.mb-40:last-child {
    margin-bottom: 0;
  }

  .content-ss.center h4 {
    font-size: 34px !important;
  }

  .content-ss.center h2 {
    font-size: 56px !important;
  }
}

@media only screen and (min-width: 660px) and (max-width: 767px) {
  .arena-map .title-main-des .title-gradient {
    margin-bottom: 40px !important;
  }

  .create-invitations-create .content-create .thumnails-avatar a {
    margin-top: 65px;
  }
}

@media only screen and (max-width: 350px) {
  footer .footer-pc .address-footer h6 {
    font-size: 14px;
  }

  footer .col-md-5 {
    width: 50%;
  }

  footer .col-md-3 {
    width: 50%;
  }
}

@media only screen and (max-width: 400px) {
  .create-invitations-create .content-create .thumnails-avatar a {
    margin-top: 65px;
  }

  .item-at.active .tab-at {
    padding-top: 30px !important;
  }

  .button-list.box-faq .tab-at h3 {
    margin-top: 0;
    line-height: 35px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 500px) {
  .create-invitations-create .content-create .thumnails-avatar a {
    margin-top: 30px;
  }

  .section-new .connection-content .box-right h6 {
    font-size: 14px !important;
  }

  .connection-content .box-right h6 {
    font-size: 14px;
    line-height: 20px;
  }

  .connection-content .box-right span {
    margin-bottom: 10px !important;
  }

  .connection-content .box-left .thumnails-avatar a {
    padding-top: 72%;
  }
}

/* ----------- iPad 1, 2, Mini and Air NGANG ----------- */

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  .menu-header nav ul li a {
    padding: 20px 18px !important;
  }

  .item-at.active .tab-at {
    padding-top: 30px !important;
  }

  .button-list.box-map .item-at.active .tab-at h3 {
    margin-top: 30px !important;
  }

  .button-list.box-faq .tab-at h3 {
    margin-top: 20px !important;
    line-height: 40px !important;
  }

  .section-new-detail .content-item-new .row.mb-40 {
    margin-bottom: 20px;
  }

  .section-new-detail .content-item-new .box-right a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ----------- iPad 1, 2, Mini and Air ĐỨNG ----------- */

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  .item-at.active .tab-at {
    padding-top: 30px !important;
  }

  .button-list.box-map .item-at.active .tab-at h3 {
    margin-top: 30px !important;
  }

  .button-list.box-faq .tab-at h3 {
    margin-top: 20px !important;
    line-height: 40px !important;
  }

  .section-new-detail .content-item-new .row.mb-40 {
    margin-bottom: 20px;
  }

  .section-new-detail .content-item-new .box-right a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-new-detail .content-item-new .row.mb-40 {
    margin-bottom: 0;
  }

  .connection-content .box-right h6 {
    color: #fff;
    font-size: 14px;
  }

  .content-address .btn-action {
    height: 60px !important;
    font-size: 14px !important;
  }
}

.upload-btn-wrapper button.btn p img {
  filter: invert(100%);
}

.upload-btn-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: inline-block;
}

.upload-btn-wrapper button.btn p {
  transform: skew(34deg);
  color: #000000;
  font-weight: 900;
  margin-bottom: 0px;
  text-transform: uppercase;
}

.upload-btn-wrapper button.btn {
  border-radius: 4px;
  /* border: 1.5px solid #fff; */
  background: #FFFFFF;
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  transform: skew(-34deg);
}

.upload-btn-wrapper input#imgInp {
  font-size: 100px;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
}

.upload-btn-wrapper label:hover {
  color: #fff;
}

.upload-btn-wrapper label {
  display: block;
  margin-bottom: 15px;
  margin-left: 10px;
}

.upload-btn-wrapper .image-upload>input {
  display: none;
}

.upload-btn-wrapper .upload-icon {
  width: 100px;
  height: 97px;
  border: 2px solid #5642be;
  border-style: dotted;
  border-radius: 18px;
}

.upload-btn-wrapper .upload-icon img {
  width: 60px;
  height: 60px;
  margin: 19px;
  cursor: pointer;
}

.upload-btn-wrapper .upload-icon.has-img {
  width: 100px;
  height: 97px;
  border: none;
}

.upload-btn-wrapper .upload-icon.has-img img {
  display: inline;
  margin: 0 auto 0.5rem auto;
  width: auto;
  height: 100px;
  max-width: 180px;
  border-radius: 8px;
}

.create-invitations-create .content-create .thumnails-avatar {
  width: 63% !important;
  margin: auto;
}

.create-invitations-create .big-box-create .box-center-create {
  display: inline-block;
  width: 63% !important;
  margin: 0 auto;
  padding-top: 10px;
}

.create-invitations-create .content-create .center img {
  width: 50% !important;
}

.create-invitations-create .content-create .box-content h4 {
  font-size: 24px;
  text-align: center;
  position: relative;
  width: fit-content;
  margin: 0 auto 12px !important;
}

.create-invitations-create .box-btn-submit .btn-action {
  cursor: pointer;
}

.partner-ss .title-section.partner {
  margin-top: 0;
}

.organizational .title-section.partner {
  margin-top: 0;
}

body .overlay-loading span.spinner {
  border-color: #007bff !important;
  border-top-color: #8b8b8b !important;
}

body .overlay-loading {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  position: fixed !important;
  background: none !important;
  justify-content: center !important;
  transform: initial !important;
  align-items: center !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Arena Map Title Styling based on Figma */
.arena-map .title-section h3,
.arena-map .title-section h3 * {
  font-family: 'Transducer', sans-serif !important;
  color: #110A50 !important;
  -webkit-text-fill-color: #110A50 !important;
  /* Ghi đè nếu có class title-gradient bên trong */
  background: none !important;
  font-size: 80px !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  line-height: normal !important;
  margin-bottom: 0 !important;
}

@media only screen and (max-width: 767px) {

  .arena-map .title-section h3,
  .arena-map .title-section h3 * {
    font-size: 36px !important;
  }
}

/* ============================================
   RACEDAY + BẢNG GIÁ VÉ — Figma nodes
   ============================================ */

/* --- Shared section header --- */
.ticket-pricing-section,
.pricing-table-section {
  padding: 60px 0 40px;
  background: #ffffff;
}

.ticket-pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.raceday-title {
  font-family: 'Transducer', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(40px, 5vw, 80px) !important;
  color: #110A50 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
  -webkit-text-fill-color: #110A50 !important;
  background: none !important;
}

.raceday-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}

.raceday-date-day {
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 55px);
  color: #110A50;
  font-style: italic;
}

.raceday-date-year {
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 60px);
  color: #110A50;
  font-style: italic;
}

/* --- Event countdown table --- */
.event-countdown-table {
  display: flex;
  border: 3px solid #110A50;
  min-height: 350px;
}

.event-countdown-table .table-left {
  flex: 0 0 46%;
  padding: 50px 40px;
  border-right: 3px solid #110A50;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-countdown-table .table-right {
  flex: 1;
  display: flex;
}

.event-countdown-table .col-phase {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 3px solid #110A50;
  padding: 30px 15px;
}

.event-countdown-table .col-phase:last-child {
  border-right: none;
}

.title-super {
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 48px);
  color: #110A50;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 25px;
}

.col-phase .phase-title {
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.5vw, 40px);
  color: #110A50;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.col-phase .phase-status {
  font-family: 'Transducer', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #9E9E9E;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Status labels */
.status-labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
}

.label-sold {
  color: #110A50;
  font-family: Transducer;
  font-size: 22.166px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;
}

.label-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Transducer', sans-serif;
  font-size: 12px;
  color: #110A50;
  text-transform: uppercase;
}

.label-total-prefix {
  color: #110A50;
  text-align: right;
  font-family: Transducer;
  font-size: 11.826px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;
}

.label-total-count {
  font-size: 12px;
  font-weight: 700;
}

/* Progress bar */
.progress-bar-container {
  width: 100%;
  height: 55px;
  background: #ffffff;
  border: 2px solid #110A50;
  position: relative;
  margin-bottom: 25px;
}

.progress-bar-fill {
  height: 100%;
  background: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 1s ease;
}

.progress-text {
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 22px);
  color: #ffffff;
  font-style: italic;
}

/* Join now button */
.btn-join-now {
  display: inline-block;
}

.btn-join-now a {
  display: inline-block;
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #ffffff;
  background: #111111;
  padding: 12px 30px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.btn-join-now a:hover {
  opacity: 0.85;
}

/* --- Pricing Table (BẢNG GIÁ VÉ) --- */
.raceday-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #110A50;
  font-family: 'Transducer', sans-serif;
}

.raceday-pricing-table thead {
  background: #110A50;
  color: #ffffff;
}

.raceday-pricing-table thead th {
  padding: 15px 20px;
  font-weight: 900;
  font-size: clamp(14px, 1.5vw, 22px);
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.raceday-pricing-table thead th:last-child {
  border-right: none;
}

.raceday-pricing-table thead th.col-label {
  text-align: left;
  font-size: 12px;
}

.raceday-pricing-table thead .col-phase-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.raceday-pricing-table thead .col-phase-header .remain-text {
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.8;
}

.raceday-pricing-table thead .col-phase-header .remain-num {
  font-weight: 900;
  font-size: 14px;
  font-style: italic;
}

/* Green highlight row (Super Early Bird) */
.raceday-pricing-table .row-super-early-bird td {
  background: #2BD82B;
  color: #111111;
  font-weight: 900;
  font-size: clamp(14px, 1.5vw, 22px);
  border-bottom: 3px solid #110A50;
}

.raceday-pricing-table .row-super-early-bird td.phase-name {
  font-size: clamp(10px, 1vw, 14px);
}

.raceday-pricing-table td {
  padding: 18px 20px;
  text-align: center;
  font-size: clamp(12px, 1.2vw, 18px);
  font-weight: 700;
  color: #110A50;
  border-bottom: 1px solid rgba(17, 10, 80, 0.15);
  border-right: 1px solid rgba(17, 10, 80, 0.15);
}

.raceday-pricing-table td:last-child {
  border-right: none;
}

.raceday-pricing-table td.phase-name {
  text-align: left;
  font-weight: 400;
  font-size: clamp(10px, 1vw, 14px);
  text-transform: uppercase;
  color: #666;
}

/* Register ticket button */
.btn-register-ticket {
  display: inline-block;
  font-family: 'Transducer', sans-serif;
  font-weight: 900;
  font-size: clamp(12px, 1vw, 16px);
  color: #ffffff;
  background: #1E1B2E;
  padding: 12px 35px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.btn-register-ticket:hover {
  opacity: 0.85;
  color: #ffffff;
  text-decoration: none;
}

.raceday-pricing-table .row-actions td {
  border-bottom: none;
  padding: 20px;
}

/* --- Mobile responsive for raceday sections --- */
@media only screen and (max-width: 991px) {
  .event-countdown-table {
    flex-direction: column;
    border-width: 2px;
  }

  .event-countdown-table .table-left {
    border-right: none;
    border-bottom: 2px solid #110A50;
    padding: 30px 25px;
    flex: none;
  }

  .event-countdown-table .table-right {
    flex-direction: column;
  }

  .event-countdown-table .col-phase {
    border-right: none;
    border-bottom: 1px solid rgba(17, 10, 80, 0.2);
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 25px;
  }

  .event-countdown-table .col-phase:last-child {
    border-bottom: none;
  }

  .raceday-pricing-table th,
  .raceday-pricing-table td {
    padding: 10px 8px;
    font-size: 11px;
  }

  .btn-register-ticket {
    padding: 8px 16px;
    font-size: 10px;
  }
}


/* ============================================
   HEADER — match Figma node 1:178 (Group 5)
   ============================================ */

/* Base navbar: gradient overlay on hero */
#navbar {
  height: auto !important;
  min-height: 100px;
  align-items: flex-start !important;
}

/* Remove the solid bg from container-scroll area */
#navbar .container,
#navbar .container-header,
#navbar .container-scroll,
#navbar .box-menu {
  background: transparent !important;
}

/* Keep the header-contact bar hidden (as in Figma) */
#navbar .header-contact {
  display: none !important;
}

/* Logo wrapper — 164×164 grey box per Figma */
.box-logo-header .header-logo-wrapper.logo {
  width: 164px !important;
  height: 164px !important;
  background: #D9D9D9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-right: 30px !important;
}

.box-logo-header .header-logo-wrapper.logo img {
  width: 84px !important;
  height: 86px !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Menu items — vertically center at ~70px from top */
.menu-header nav ul#menu-main {
  padding-top: 0 !important;
}

.menu-header nav ul#menu-main>li>a {
  font-family: 'Transducer', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 20px 24px !important;
}

/* Box-menu: all items on the same row, vertically centered */
.box-logo-header {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
}

.menu-header {
  padding-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
}

/* Buttons area — same row */
.box-button-header {
  padding-top: 0 !important;
  gap: 9px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* ĐĂNG NHẬP button — Figma: 185×44, white border, transparent bg */
.btn-secord.btn-login-header {
  width: 185px !important;
  height: 44px !important;
  border: 1px solid #FFFFFF !important;
  background: rgba(217, 217, 217, 0) !important;
  transform: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.btn-secord.btn-login-header a {
  color: #FFFFFF !important;
  transform: none !important;
  font-family: 'Transducer', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* ĐĂNG KÝ NGAY button — Figma: 185×44, solid #F5F7FD bg, dark text */
.btn-primary-custom.btn-register-header {
  width: 185px !important;
  height: 44px !important;
  background: #F5F7FD !important;
  transform: none !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
  padding: 0 !important;
}

.btn-primary-custom.btn-register-header::before {
  display: none !important;
}

.btn-primary-custom.btn-register-header a {
  color: #111111 !important;
  transform: none !important;
  font-family: 'Transducer', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-align: center !important;
}

.header-logo-wrapper.logo img {
  transition: height 0.5s ease, filter 0.5s ease !important;
}

/* Sticky navbar — keep solid dark when scrolled */
#navbar.sticky {
  background: #111111 !important;
  height: 80px !important;
  align-items: center !important;
}

#navbar.sticky .menu-header {
  padding-top: 0 !important;
}

#navbar.sticky .box-button-header {
  padding-top: 0 !important;
}

#navbar.sticky .box-logo-header {
  align-items: center !important;
}

#navbar.sticky .box-logo-header .header-logo-wrapper.logo {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
}

#navbar.sticky .box-logo-header .header-logo-wrapper.logo img {
  width: auto !important;
  height: 60px !important;
  filter: brightness(0) invert(1) !important;
}

#navbar.sticky .logo img,
#navbar.sticky .logo a img {
  filter: brightness(0) invert(1) !important;
}

/* ============================================
   HEADER MOBILE ADJUSTMENTS
   ============================================ */
@media only screen and (max-width: 767px) {
  #navbar {
    min-height: 60px !important;
    align-items: center !important;
  }

  .menu-header {
    padding-top: 0 !important;
  }

  .box-button-header {
    padding-top: 0 !important;
  }

  .box-logo-header {
    align-items: center !important;
  }

  .box-logo-header .header-logo-wrapper.logo {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
  }

  .box-logo-header .header-logo-wrapper.logo img {
    width: 37px !important;
    height: 37px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
  }
}