/* =================================================================
   Hugo Custom CSS for Helpass
   ================================================================= */

/* -----------------------------------------------------------------
   1. HEADER    
   ----------------------------------------------------------------- */

/* Speed up sticky header slide-in (was 1s) */
.sticky-header {
  -webkit-transition: all 0.35s !important;
  transition: all 0.35s !important;
}

/* Constrain sticky header to page content width (remove giant side padding) */
.wpo-site-header .navigation.sticky-header {
  padding: 0 !important;
}

/* CTA button: visible and bigger on mobile */
@media (max-width: 767px) {
  .wpo-site-header .header-right .close-form .theme-btn,
  .wpo-site-header .header-right .close-form .view-cart-btn {
    display: inline-block !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
}

.header-right .close-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* -----------------------------------------------------------------
   2. GLOBAL TABLE STYLES
      - Full-width on desktop
      - Horizontally scrollable on mobile
      - Applied via a wrapper <div class="hp-table-wrap"> added by
        the render-image hook, OR via the article/hp-content selector
   ----------------------------------------------------------------- */

/* Wrapper approach for guaranteed scroll */
.hp-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.hp-table-scroll table {
  min-width: 100%;
  border-collapse: collapse;
  border-radius: 0;
  overflow: visible;
  border: none;
  width: 100%;
}

/* Selectors for tables rendered directly in content */
article table,
.hp-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  overflow: hidden;
  border: none;
  margin-bottom: 1.5rem;
}

/* On mobile, make tables scrollable */
@media (max-width: 991px) {
  article table,
  .hp-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

article table th,
article table td,
.hp-table-scroll table th,
.hp-table-scroll table td,
.hp-content table th,
.hp-content table td {
  padding: 10px 14px;
  border: 1px solid #e8eaf0;
  white-space: normal;
}

article table th,
.hp-table-scroll table th,
.hp-content table th {
  white-space: nowrap;
}

article table thead th,
.hp-table-scroll table thead th,
.hp-content table thead th {
  background-color: #ff965f;
  color: #fff;
  font-weight: 600;
}

article table thead th strong,
.hp-table-scroll table thead th strong,
.hp-content table thead th strong {
  color: #fff;
  font-weight: 600;
}

article table tbody tr:nth-child(even) td,
.hp-table-scroll table tbody tr:nth-child(even) td,
.hp-content table tbody tr:nth-child(even) td {
  background-color: #f9f9fb;
}

/* Force nowrap on mobile so scrolling makes sense */
@media (max-width: 767px) {
  article table th,
  article table td,
  .hp-content table th,
  .hp-content table td {
    white-space: nowrap;
  }
}

/* -----------------------------------------------------------------
   3. CASINO LOGOS — one row, centred on mobile
   ----------------------------------------------------------------- */
.hp-casino-logos {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
  overflow: hidden;
}

.hp-casino-logos li {
  flex-shrink: 1;
  min-width: 0;
}

.hp-casino-logos li img {
  max-height: 28px;
  width: auto;
  max-width: 64px;
  display: block;
}

.hp-footer-logos-wrap {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .hp-footer-logos-wrap {
    justify-content: center;
    margin-top: 6px;
  }
  .hp-casino-logos {
    justify-content: center;
    gap: 10px;
  }
  .hp-casino-logos li img {
    max-height: 22px;
    max-width: 52px;
  }
}

/* -----------------------------------------------------------------
   4. HERO BANNER
   ----------------------------------------------------------------- */
.hp-hero-banner {
  background: #ff965f !important;
  background-image: none !important;
  min-height: 0 !important;
  padding: 28px 0 !important;
  width: 100%;
  margin: 0;
}

.hp-hero-banner::before {
  display: none !important;
}

.hp-hero-banner .wpo-breadcumb-wrap h2 {
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  margin-bottom: 6px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* h1 variant — breadcrumbs.html now outputs h1 */
.hp-hero-banner .wpo-breadcumb-wrap h1 {
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  margin-bottom: 6px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.hp-hero-banner .wpo-breadcumb-wrap ol li,
.hp-hero-banner .wpo-breadcumb-wrap ol li a {
  color: rgba(255,255,255,0.9) !important;
  font-size: 15px !important;
}

.hp-hero-banner .wpo-breadcumb-wrap ol li a:hover { color: #fff !important; }
.hp-hero-banner .wpo-breadcumb-wrap ol li:last-child span { color: rgba(255,255,255,0.7) !important; }
.hp-hero-banner .wpo-breadcumb-wrap ol li:after { background: rgba(255,255,255,0.6) !important; }

.hp-hero-banner .wpo-breadcumb-wrap p {
  color: rgba(255,255,255,0.88) !important;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 767px) {
  .hp-hero-banner .wpo-breadcumb-wrap h2,
  .hp-hero-banner .wpo-breadcumb-wrap h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .hp-hero-banner {
    padding: 20px 0 !important;
  }
}

/* -----------------------------------------------------------------
   5. SECTION SPACING
   ----------------------------------------------------------------- */
.wpo-service-single-section.section-padding,
.wpo-contact-pg-section.section-padding {
  padding-top: 36px !important;
}

@media (max-width: 991px) {
  .wpo-service-single-section.section-padding,
  .wpo-contact-pg-section.section-padding {
    padding-top: 28px !important;
  }
}

@media (max-width: 767px) {
  .wpo-service-single-section.section-padding,
  .wpo-contact-pg-section.section-padding {
    padding-top: 24px !important;
  }
}

.section-padding-top {
  padding-top: 30px;
}

/* -----------------------------------------------------------------
   6. CONTENT TYPOGRAPHY
   ----------------------------------------------------------------- */
.hp-content {
  color: #313131;
  line-height: 1.8;
}

.hp-content h1, .hp-content h2, .hp-content h3,
.hp-content h4, .hp-content h5, .hp-content h6 {
  color: #232f4b;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.hp-content p    { margin-bottom: 1.1em; }
.hp-content ul,
.hp-content ol   { padding-left: 1.5em; margin-bottom: 1em; }
.hp-content li   { margin-bottom: 0.4em; }
.hp-content a    { color: #fff !important;}
.hp-content a:hover { color: #fff !important; }
.hp-content strong { color: #232f4b; }

.hp-content img,
.hp-content-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: 100%;
}

.hp-content iframe   { max-width: 100%; }

.demo-iframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* -----------------------------------------------------------------
   7. TOC SHORTCODE
   ----------------------------------------------------------------- */
.toc-container {
  border-left: 4px solid #ff965f !important;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  padding: 0;
  overflow: hidden;
  background: #ff965f;
  box-shadow: 0 2px 12px rgba(33,33,88,0.07);
}

.toc-title {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  margin: 0 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  background: #ff965f !important;
  border-bottom: none;
}

h2.toc-title { margin-top: 0 !important; margin-bottom: 0 !important; }
.toc-title p { color: #fff; }

.toc-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.toc-header-content p { margin-bottom: 0; }

.toc-toggle-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s;
  filter: brightness(0) invert(1) !important;
}

.toc-content {
  padding: 16px 24px;
}

.toc-content nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-content nav ul li {
  margin-bottom: 6px;
  padding-left: 0;
}

.toc-content nav ul li::before {
  content: "›";
  color: #d4323c;
  margin-right: 6px;
  font-weight: bold;
}

.toc-content nav ul ul {
  padding-left: 1.4em;
  margin-top: 4px;
}

.toc-content nav ul ul li::before {
  content: "–";
  color: #d4323c;
  font-weight: normal;
}

.toc-content nav a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.toc-content nav a:hover { color: #fff !important; }

/* -----------------------------------------------------------------
   8. FAQ SECTION
   ----------------------------------------------------------------- */
.hp-faq-section {
  margin-top: 2.5rem;
}

.hp-faq-title h2 {
  font-size: 1.6rem;
  color: #232f4b;
  margin-bottom: 1.2rem;
}

.hp-faq-item         { border-bottom: 1px solid #e5e5e5; }
.hp-faq-item-first   { border-top: 1px solid #e5e5e5; }

.hp-faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: #232f4b;
  cursor: pointer;
  padding: 16px 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-faq-question-text { flex: 1; }
.hp-faq-icon { flex-shrink: 0; font-size: 1.2rem; color: #ff965f !important; line-height: 1; }

.hp-faq-answer { padding-bottom: 16px; }

.hp-faq-answer-inner { color: #313131; line-height: 1.8; }
.hp-faq-answer-inner p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------------
   9. FOOTER
   ----------------------------------------------------------------- */

/* Keep background image at all sizes */
@media (max-width: 1199px) {
  .wpo-site-footer {
    background: url(../images/footer-bg.png) no-repeat center center / cover !important;
  }
}

@media (max-width: 767px) {
  .wpo-site-footer {
    background: url(../images/footer-bg.png) no-repeat center center / cover !important;
  }
}

/* Reduce oversized upper footer padding */
.wpo-site-footer .wpo-upper-footer {
  padding: 40px 0 !important;
}

@media (max-width: 991px) {
  .wpo-site-footer .wpo-upper-footer {
    padding: 30px 0 0 !important;
  }
  /* Tighten per-col spacing on tablet/mobile */
  .wpo-site-footer .wpo-upper-footer .col {
    min-height: auto !important;
    margin-bottom: 28px !important;
  }
}

/* Logo column: tighter */
.wpo-site-footer .about-widget .logo {
  max-width: 150px;
  margin-bottom: 0 !important;
}

.wpo-site-footer .widget-title {
  margin-bottom: 8px !important;
}

/* ---- Footer text colors ---- */
.wpo-site-footer,
.wpo-site-footer p,
.wpo-site-footer li {
  color: #1E3446 !important;
}

.wpo-site-footer a               { color: #1E3446 !important; text-decoration: none; }
.wpo-site-footer a:hover         { color: #EF7C40 !important; }
.wpo-site-footer .copyright      { color: #4a5568 !important; }

.wpo-site-footer .hp-footer-disclaimer-text {
  opacity: 1 !important;
  color: #4a5568 !important;
}

.wpo-site-footer .hp-footer-disclaimer-label {
  opacity: 1 !important;
  color: #EF7C40 !important;
  font-weight: 700 !important;
}

/* ---- Footer nav links: clean list, hover orange ---- */
.wpo-site-footer .widget-title h3,
.wpo-site-footer .widget-title .hp-footer-nav-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #EF7C40 !important;
  font-family: "Inter", sans-serif !important;
  margin-bottom: 10px !important;
}

.wpo-site-footer .link-widget ul {
  padding: 0;
  margin: 0;
}

.wpo-site-footer .link-widget ul li {
  padding: 0 !important;
  margin-bottom: 8px !important;
  border: none;
  position: relative;
  padding-left: 12px !important;
}

.wpo-site-footer .link-widget ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #EF7C40;
  font-weight: bold;
  line-height: 1.5;
}

.wpo-site-footer .link-widget ul li a {
  color: #1E3446 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: color 0.2s;
}

.wpo-site-footer .link-widget ul li a:hover {
  color: #EF7C40 !important;
}

.wpo-site-footer .link-widget ul li + li {
  padding-top: 0 !important;
}

/* ---- Footer disclaimers: tighter ---- */
.hp-footer-disclaimer {
  margin-top: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,52,70,0.10);
}

.hp-footer-disclaimer:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hp-footer-disclaimer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
  text-align: left;
}

.hp-footer-disclaimer-text {
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

.hp-footer-logo-link  { display: inline-block; }
.hp-footer-logo-img   { max-height: 38px; width: auto; }

/* Centered disclaimers column */
.hp-footer-disclaimers-center {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hp-footer-disclaimer--centered {
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,52,70,0.10);
}

.hp-footer-disclaimer--centered:last-child { border-bottom: none; }

.hp-footer-disclaimer--centered .hp-footer-disclaimer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.hp-footer-disclaimer--centered .hp-footer-disclaimer-text {
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
}

/* -----------------------------------------------------------------
   10. BREADCRUMBS
   ----------------------------------------------------------------- */
.wpo-breadcumb-wrap ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Layout wrapper */
.office-info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Ensure cards stretch evenly */
.office-info-col {
  display: flex;
}

.office-info-item {
  width: 100%;
  height: 100%;
}
