/* ITDO site chrome for Basho — keep separate from screen.css for easier theme upgrades */

:root {
  --itdo-ink: #111;
  --itdo-muted: #666;
  --itdo-line: #e5e5e5;
  --itdo-footer-bg: #0a0a0a;
  --itdo-footer-border: #222;
  --itdo-footer-muted: rgb(176, 174, 174);
  --itdo-yellow: #ffa937;
  --itdo-header-h: 96px;
  --max-width-global-wrap: 1296px;
  --font-family-one: "Open Sans", sans-serif;
  --font-family-two: "Open Sans", sans-serif;
  --font-family-three: "Open Sans", sans-serif;
  --color-font-one: #000;
}

.global-main {
  padding-top: 3vh;
}

body.has-itdo-chrome,
body.has-itdo-chrome button,
body.has-itdo-chrome input,
body.has-itdo-chrome select,
body.has-itdo-chrome textarea {
  font-family: "Open Sans", sans-serif;
}

body.has-itdo-chrome {
  padding-top: var(--itdo-header-h);
}

/* ── Header ─────────────────────────────────────────── */
@keyframes stickyAni {
  0% {
    transform: translate3d(0, -40px, 0) scaleY(0.8);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(0, 0, 0) scaleY(1);
    opacity: 1;
  }
}

.itdo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  font-family: inherit;
}

.itdo-header.is-sticky {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
  animation: stickyAni 0.6s ease-in-out;
}

.itdo-header.is-sticky .itdo-header__logo {
  padding: 15px 0px;
}

.itdo-header__inner {
  max-width: var(--max-width-global-wrap);
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.itdo-header__logo {
  display: inline-flex;
  flex-shrink: 0;
}

.itdo-header__logo img {
  display: block;
  height: 31.38px;
  width: auto;
  margin: 35px 0;
}

.itdo-header.is-sticky .itdo-header__logo img {
  margin: 0px!important;
}



.itdo-header__nav {
  display: none;
  flex: 1;
  justify-content: flex-end;
}

.itdo-header__nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.itdo-header__nav > ul > li {
  position: relative;
  margin: 0;
  list-style: none;
}

.itdo-header__nav > ul > li > a {
  display: block;
  margin: 0px 21px;
  font-size: 14px;
  font-weight: 700;
  color: var(--itdo-ink);
  text-decoration: none;
  white-space: nowrap;
}

.itdo-header__nav > ul > li > a.is-active,
.itdo-header__nav > ul > li > a:hover {
  color: var(--itdo-ink);
  border-bottom: 2px solid;
}

.itdo-link-effect {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.2em;
  vertical-align: middle;
}

.itdo-link-effect > span {
  display: block;
  line-height: 1.2;
  transition: transform 0.35s ease;
}

.itdo-link-effect > span + span {
  position: absolute;
  left: 0;
  top: 100%;
}

.itdo-header__nav > ul > li > a:hover .itdo-link-effect > span,
.itdo-btn--cta:hover .itdo-link-effect > span {
  transform: translateY(-100%);
}

.itdo-header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
  margin-top: 17px;
}

.itdo-header__nav .has-children:hover > .itdo-header__submenu,
.itdo-header__nav .has-children:focus-within > .itdo-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.itdo-header__submenu a {
  display: block;
  padding: 10px 20px;
  color: var(--itdo-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.itdo-header__submenu a:hover {
  background: #f6f6f6;
}

.itdo-header__actions {
  display: none;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.itdo-header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--itdo-ink);
  cursor: pointer;
  margin-right: 23px;
}

.itdo-header__search svg {
  width: 24px;
  height: 24px;
  display: block;
}

.itdo-mobile-menu__search {
  display: none;
}

.itdo-mobile-menu__search svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.itdo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.itdo-btn--cta {
  background: var(--itdo-yellow);
  color: var(--itdo-ink);
  border-radius: 100px;
  padding: 10px 20px;
}

.itdo-btn--cta .itdo-link-effect {
  height: 1.15em;
}

.itdo-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 14px;
  border: 2px solid var(--itdo-ink);
  background: transparent;
  cursor: pointer;
  border-radius: 50px;
}

.itdo-header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--itdo-ink);
}

@media (min-width: 992px) {
  .itdo-header__nav,
  .itdo-header__actions {
    display: flex;
    margin-left: 65px;
  }

  .itdo-header__burger {
    display: none;
  }
}

/* Laptop / large tablet: drop the 65px side gaps so the bar matches
   the footer inner width instead of overflowing. */
@media (min-width: 992px) and (max-width: 1399px) {
  .itdo-header__nav,
  .itdo-header__actions {
    margin-left: 24px;
  }

  .itdo-header__nav > ul > li > a {
    margin: 0 16px;
  }

  .itdo-header__search {
    margin-right: 12px;
  }
}

/* Tablet landscape: use the same extra width as the footer inner and
   spread nav items across the leftover space so they are not packed. */
@media (min-width: 992px) and (max-width: 1199px) {
  .itdo-header__inner {
    padding: 0 20px;
    gap: 0.75rem;
  }

  .itdo-header__nav,
  .itdo-header__actions {
    margin-left: 12px;
  }

  .itdo-header__nav > ul {
    width: 100%;
    justify-content: space-evenly;
  }

  .itdo-header__nav > ul > li > a {
    margin: 0 12px;
  }

  .itdo-header__search {
    margin-right: 8px;
  }

  .itdo-btn--cta {
    padding: 10px 14px;
  }
}

@media (max-width: 991px) {
  :root {
    --itdo-header-h: 80px;
  }

  .itdo-header__inner {
    padding: 20px 12px;
  }
}

/* ── Mobile menu ────────────────────────────────────── */
.itdo-mobile-menu,
.itdo-mobile-menu * {
  box-sizing: border-box;
}

.itdo-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.45);
}

.itdo-mobile-menu[hidden] {
  display: none !important;
}

.itdo-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  width: min(100%, 310px);
  max-width: 85%;
  height: 100%;
  background: #fff;
  padding: 24px 20px 40px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  max-width: 270px;
}

.itdo-mobile-menu__close {
  position: absolute;
  top: 23px;
  right: 20px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid var(--itdo-ink);
  border-radius: 50%;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--itdo-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.itdo-mobile-menu__logo {
  display: inline-block;
  margin: 8px 0 28px;
}

.itdo-mobile-menu__logo img {
  height: 28px;
  width: auto;
}

.itdo-mobile-menu__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.itdo-mobile-menu__nav a,
.itdo-mobile-menu__parent {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: var(--itdo-ink);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.itdo-mobile-menu__parent {
  position: relative;
  padding-right: 28px;
}

.itdo-mobile-menu__parent::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--itdo-ink);
  border-bottom: 2px solid var(--itdo-ink);
  transform: translateY(-70%) rotate(45deg);
}

.itdo-mobile-menu__parent[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.itdo-mobile-menu__sub {
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 0 12px;
}

.itdo-mobile-menu__sub a {
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  color: #000;
  padding-left: 20px;
  line-height: 1.4;
}

.itdo-mobile-menu .itdo-btn--cta {
  display: flex;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.itdo-mobile-menu__meta {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
  border-top: 2px solid #000;
  padding-top: 30px;
}

.itdo-mobile-menu__meta a {
  color: var(--itdo-ink);
}

body.itdo-menu-open {
  overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────── */
.itdo-footer {
  background: var(--itdo-footer-bg);
  border-top: 1px solid var(--itdo-footer-border);
  color: var(--itdo-footer-muted);
  padding: 60px 0 24px;
  font-family: inherit;
}

.itdo-footer__inner {
  max-width: var(--max-width-global-wrap);
  margin: 0 auto;
  padding: 0 36px;
}

.itdo-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.itdo-footer__brand {
  max-width: 320px;
}

.itdo-footer__grid div {
  margin-left: 3px;
}

.itdo-footer__grid .itdo-footer__brand {
  margin: 0px !important;
}

.itdo-footer__logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.itdo-footer__logo img {
  height: 40px;
  width: auto;
}

.itdo-footer__tagline {
  font-size: 13px;
  line-height: 1.7;
  color: var(--itdo-footer-muted);
  margin: 0 0 16px;
}

.itdo-footer__contact {
  font-size: 13px;
  color: var(--itdo-footer-muted);
  margin: 0 0 4px;
}

.itdo-footer__contact strong {
  color: #e0e0e0;
  font-weight: 500;
}

.itdo-footer__heading {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.itdo-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.itdo-footer li {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.itdo-footer a {
  color: var(--itdo-footer-muted);
  text-decoration: underline;
  font-size: 14px;
  line-height: 2;
  transition: color 0.2s ease;
}

.itdo-footer a:hover {
  color: #fff;
}

.itdo-footer__bottom {
  border-top: 1px solid var(--itdo-footer-border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.itdo-footer__copy {
  font-size: 13px;
  color: var(--itdo-footer-muted);
  margin-right: 4px;
}

.itdo-footer__legal a {
  font-size: 11px;
}

.itdo-footer__sep {
  color: #666;
  margin: 0 6px;
  font-size: 11px;
}

@media (max-width: 991px) {
  .itdo-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .itdo-footer__inner {
    padding: 0 20px;
  }

  .itdo-header__logo img {
    margin: 0px!important;
  }
}

@media (max-width: 560px) {
  .itdo-footer__grid {
    grid-template-columns: 1fr;
  }
  
}

/* Hide Basho native header/footer if somehow still rendered */
.header-section,
.footer-section.global-footer {
  display: none !important;
}


.post-content h1, .post-content h2, .post-content h3 {
  line-height: 1.2;
}