﻿/*
Theme Name: HSJ Host v2
Theme URI: /themes/hsj-host-v2/theme-screenshot.png
Author: HSJ Host
Author URI:
Description: Base theme structure for HSJ Host.
Version: 1.0.0
Text Domain: hsj-host-v2
*/

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

html {
  margin-top: 0 !important;
}

body.admin-bar {
  margin-top: 32px !important;
}

.primary-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: #0f172a;
}

.primary-nav .current-menu-item > a.nav-cta,
.primary-nav .current-menu-ancestor > a.nav-cta {
  color: #ffffff;
}

.primary-nav .current-menu-item > a:not(.nav-cta) .menu-label,
.primary-nav .current-menu-ancestor > a:not(.nav-cta) .menu-label {
  display: inline-block;
  border-bottom: 2px solid #f2be47;
  padding-bottom: 4px;
}

.primary-nav .sub-menu {
  display: none;
  z-index: 60;
}


.primary-nav .menu-item-has-children.submenu-open > .sub-menu {
  display: block;
}

@media (min-width: 1024px) {
  .primary-nav .menu-item-has-children:hover > .sub-menu,
  .primary-nav .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .primary-nav .menu-item-has-children > .sub-menu {
    position: absolute;
    margin-top: 0;
  }

  .primary-nav .menu-item-has-children > .sub-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }
}

body.admin-bar #topbar {
  top: 32px;
}

.site-header {
  position: relative;
  z-index: 60;
}

body.admin-bar .site-chrome {
  top: 32px;
}

.trusted-logo-hover > div {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.trusted-logo-hover:hover > div {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  border-color: rgba(46, 110, 235, 0.25);
}

@media (max-width: 782px) {
  body.admin-bar {
    margin-top: 46px !important;
  }

  body.admin-bar #topbar {
    top: 46px;
  }

  body.admin-bar .site-chrome {
    top: 46px;
  }
}

.entry-content {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.75;
}

.entry-content p {
  margin: 0 0 1.25rem;
}

.entry-content a {
  color: #2e6eeb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
  margin: 2rem 0 1rem;
}

.entry-content h1 {
  font-size: 1.75rem;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #2e6eeb;
  background: #f8fafc;
  color: #334155;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.payment-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64.89px;
  height: 40px;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
}

.payment-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .payment-logos {
    justify-content: center;
  }
}

.footer-stats-animate {
  animation: footerFadeUp 0.7s ease both;
}

@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .primary-menu > li + li {
    border-top: 1px solid #e2e8f0;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .primary-menu .mobile-nav-hidden {
    display: none;
  }
}


