/*
Theme Name: HelpBix Custom Theme
Author: Your Name
Description: Custom theme for HelpBix website.
Version: 1.0
*/

/* Offset for sticky header */
.site-main { padding-top: 80px; padding-left: 10px; padding-right: 10px; }
@media (max-width: 600px) { .site-main { padding-top: 60px !important; padding-left: 10px; padding-right: 10px; } }

.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-description {
    color: #666;
    font-size: 1.1rem;
}

.main-navigation {
    margin-top: 15px;
}



.site-main {
    min-height: 60vh;
    padding-top: 80px;
    padding-left: 10px;
    padding-right: 10px;
}

.single-post, .page-content, .archive-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 24px;
    margin-bottom: 40px;
}


.pagination {
    margin-top: 30px;
    text-align: center;
}


.not-found {
    text-align: center;
    padding: 80px 0;
}


/* Sticky Header */
#site-header.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}


/* Nav Menu */
.nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu a {
    white-space: nowrap;
    display: inline-block;
}


/* Uniform section card style */
.customer-care-section,
.customer-care-section.section-spacing {
    /* background: #fff; */
    padding-left: 16px !important;
    padding-right: 16px !important;
}


/* Optional: subtle bottom border for separation */
.customer-care-section {
    /* border-bottom: 1px solid #e3e8ef; */
}


/* Remove internal top/bottom padding from major sections for uniform spacing */
.customer-care-section,



/* Customer Care Directory Styles */
.customer-care-directory {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.directory-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.directory-tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}
.customer-care-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
#customer-care-search-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}
.alphabet-link {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    color: #0073e6;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.alphabet-link:hover, .alphabet-link.active {
    background: #0073e6;
    color: #fff;
}
.customer-care-list {
    margin-top: 2rem;
}
.brand-group {
    margin-bottom: 2.5rem;
}
.brand-group-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.3rem;
}
.brand-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f5f5;
}
.brand-info {
    flex: 1;
}
.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}
.brand-number {
    font-size: 1rem;
    color: #222;
    margin-bottom: 0.4rem;
}
.brand-details-link {
    color: #0073e6;
    text-decoration: underline;
    font-size: 0.97rem;
}


.result-title {
  font-weight: 600;
  font-size: 1.08rem;
}
.result-desc {
  font-size: 0.97rem;
  color: #666;
  margin-top: 0.1rem;
}
.result-cat {
  font-size: 0.93rem;
  color: #0073e6;
  margin-top: 0.1rem;
}

.no-results {
  padding: 1rem;
  color: #888;
  text-align: center;
}

/* Directory Table Listing Styles */
.customer-care-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 24px;
  margin-bottom: 32px;
}
.customer-care-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-size: 1rem;
  min-width: 600px;
}
.customer-care-table th, .customer-care-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #f2f2f2;
  text-align: left;
}
.customer-care-table th {
  background: #f5f7fa;
  font-weight: 700;
  color: #1a73e8;
}
.customer-care-table tr:last-child td {
  border-bottom: none;
}
.customer-care-table a {
  color: #0073e6;
  text-decoration: underline;
  font-size: 0.97rem;
}
.directory-alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.directory-alphabet-filter .alphabet-link {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.directory-alphabet-filter .alphabet-link.active,
.directory-alphabet-filter .alphabet-link:hover {
  background: #0073e6;
  color: #fff;
}
.directory-pagination {
  display: flex;
  gap: 0.4rem;
  margin: 18px 0 0 0;
  flex-wrap: wrap;
}
.page-link {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 4px;
  background: #f5f7fa;
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  margin-right: 2px;
}
.page-link.active, .page-link:hover {
  background: #0073e6;
  color: #fff;
}
@media (max-width: 700px) {
  .customer-care-table {
    min-width: 400px;
    font-size: 0.97rem;
  }
  .customer-care-table th, .customer-care-table td {
    padding: 0.6rem 0.5rem;
  }
}

/* Unique Brand List Styles */
.brand-list-unique {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 24px 0 32px 0;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.brand-list-item {
  display: block;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(26,115,232,0.07);
  padding: 1.05rem 1.4rem;
  font-size: 1.13rem;
  font-weight: 600;
  color: #1a73e8;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  position: relative;
  letter-spacing: 0.01em;
}
.brand-list-item:hover, .brand-list-item:focus {
  background: #e3f0fc;
  color: #1558b0;
  box-shadow: 0 4px 16px rgba(26,115,232,0.13);
  transform: translateY(-2px) scale(1.02);
}
.brand-list-name {
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .brand-list-unique {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .brand-list-item {
    font-size: 1.01rem;
    padding: 0.85rem 1rem;
  }
}

/* Three-column Brand List */
.brand-list-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem 1.2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .brand-list-3col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 98vw;
    padding: 0 2vw;
  }
}
@media (max-width: 600px) {
  .brand-list-3col {
    grid-template-columns: 1fr;
    max-width: 100vw;
    padding: 0 1vw;
  }
}
.brand-list-3col .brand-list-item {
  margin: 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Brand Initial Avatar and Arrow Styles */
.brand-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-right: 1.1rem;
  box-shadow: 0 2px 8px rgba(26,115,232,0.10);
  flex-shrink: 0;
  letter-spacing: 0.01em;
  transition: box-shadow 0.18s, transform 0.18s;
}
.brand-list-item:hover .brand-avatar {
  box-shadow: 0 4px 16px rgba(26,115,232,0.18);
  transform: scale(1.07);
}
.brand-list-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 0;
  padding-left: 0.7rem;
  opacity: 0.7;
  transition: opacity 0.18s, transform 0.18s;
}
.brand-list-item:hover .brand-list-arrow {
  opacity: 1;
  transform: translateX(4px) scale(1.08);
}
.brand-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.sponsored-badge {
  display: inline-block;
  background: #fbbc05;
  color: #fff;
  font-weight: 700;
  border-radius: 1.1rem;
  padding: 0.22em 1em;
  font-size: 0.97rem;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(251,188,5,0.10);
} 

.score-bar-wrap {
  width: 70px;
  height: 12px;
  margin-top: 0.2em;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.score-bar-bg {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f44336 0%, #ff9800 30%, #ffeb3b 60%, #4caf50 100%);
  position: relative;
}
.score-bar-bg::after {
  content: none;
}
.score-bar-marker {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 12px;
  background: #222;
  border-radius: 2px;
  box-shadow: 0 0 2px #fff;
  border: none;
  transition: left 0.3s;
  z-index: 2;
}


/* Speedometer (gauge) style for Trust Score */
.score-gauge-wrap {
  width: 90px;
  height: 48px;
  margin: 0.3em auto 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.score-gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Style for key highlight icon */
.highlight-icon {
  color: #1a73e8;
  font-size: 1.18em;
  margin-right: 0.5em;
  vertical-align: middle;
  display: inline-block;
}



.review-label {
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 0.4em;
}
.review-text {
  color: #444;
  font-size: 1.01rem;
  line-height: 1.5;
}




/* Sidebar and Latest Posts Widget */
.main-content-with-sidebar {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-content-area {
  flex: 1 1 0;
  min-width: 0;
}
.right-sidebar {
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
}
.widget.widget-latest-posts {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.07);
  padding: 24px 18px 18px 18px;
  margin-bottom: 32px;
}
.widget-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.latest-posts-list li {
  margin-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}
.latest-posts-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.latest-posts-list a {
  font-weight: 600;
  color: #1a73e8;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.18s;
}
.latest-posts-list a:hover {
  color: #1558b0;
  text-decoration: underline;
}
.latest-posts-list span {
  display: block;
  color: #888;
  font-size: 0.95rem;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .main-content-with-sidebar {
    flex-direction: column;
    gap: 0;
  }
  .right-sidebar {
    width: 100%;
    max-width: 100vw;
    margin-top: 32px;
  }
}


/* Styled Search Bar (Homepage) */
.styled-search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px auto 0 auto;
  width: 100%;
  max-width: 600px;
}
.styled-search-input-wrapper {
  display: flex;
  align-items: center;
        background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(200, 100, 100, 0.08), 0 1.5px 4px rgba(0,0,0,0.06);
  padding: 0 16px;
        width: 100%;
  min-width: 220px;
  max-width: 600px;
  height: 48px;
  position: relative;
}
.styled-search-icon {
  display: flex;
  align-items: center;
  margin-right: 8px;
  color: #888;
}
.styled-search-input {
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
        width: 100%;
  padding: 12px 0;
  color: #222;
}
.styled-search-input::placeholder {
  color: #888;
  opacity: 1;
  font-size: 1rem;
}
.styled-search-btn {
  display: none;
}
@media (max-width: 600px) {
  .styled-search-form {
    max-width: 98vw;
  }
  .styled-search-input-wrapper {
    height: 42px;
    padding: 0 10px;
  }
  .styled-search-input {
    font-size: 0.98rem;
  }
}


.archive-title {
    text-align: center;
  margin: 0 auto 2rem auto;
  font-size: 2rem;
  font-weight: 800;
  color: #1a73e8;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .archive-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
}

/* Responsive: stack vertically on mobile */

body.single-post { padding: 0 !important; }

body.modal-open {
  overflow: hidden !important;
  position: relative;
  width: 100vw;
  touch-action: none;
}