/* MECE Corp. shared site shell for blog pages. */

.site-shell-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
}

.site-shell-header ~ .breadcrumb {
  padding-top: calc(72px + 1.25rem);
}

.site-shell-header ~ .archive-header {
  padding-top: calc(72px + 4rem);
}

.site-shell-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-shell-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.site-shell-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-shell-logo img {
  display: block;
  width: auto;
  height: 28px;
}

.site-shell-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.site-shell-nav a,
.site-shell-nav button,
.site-shell-mobile-menu a {
  color: inherit;
  text-decoration: none;
}

.site-shell-nav a:hover,
.site-shell-nav button:hover {
  color: #2563eb;
}

.site-shell-menu-group {
  position: relative;
}

.site-shell-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-shell-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-shell-dropdown-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  padding-top: 0.75rem;
}

.site-shell-menu-group:hover .site-shell-dropdown-wrap,
.site-shell-menu-group:focus-within .site-shell-dropdown-wrap {
  display: block;
}

.site-shell-dropdown {
  width: 16rem;
  padding: 0.5rem 0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.16), 0 8px 10px -6px rgba(15, 23, 42, 0.16);
}

.site-shell-dropdown a,
.site-shell-dropdown-note {
  display: block;
  padding: 0.5rem 1rem;
}

.site-shell-dropdown a:hover {
  background: #f8fafc;
}

.site-shell-dropdown-main {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 700;
}

.site-shell-gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.site-shell-badge {
  border-radius: 999px;
  background: #1e293b;
  color: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 400;
  white-space: nowrap;
}

.site-shell-dropdown-divider,
.site-shell-mobile-divider {
  height: 1px;
  background: #e2e8f0;
}

.site-shell-dropdown-divider {
  margin: 0.25rem 0;
}

.site-shell-dropdown-note {
  color: #94a3b8;
  font-size: 0.75rem;
}

.site-shell-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.site-shell-contact:hover {
  background: #dc2626;
}

.site-shell-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #1e293b;
  cursor: pointer;
}

.site-shell-hamburger,
.site-shell-hamburger::before,
.site-shell-hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.site-shell-hamburger {
  position: relative;
}

.site-shell-hamburger::before,
.site-shell-hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-shell-hamburger::before {
  top: -7px;
}

.site-shell-hamburger::after {
  top: 7px;
}

.site-shell-mobile-menu {
  display: none;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.14);
}

.site-shell-mobile-menu.is-open {
  display: block;
}

.site-shell-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
}

.site-shell-mobile-label {
  color: #94a3b8;
  font-size: 0.75rem;
}

.site-shell-mobile-main {
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.site-shell-mobile-contact {
  border-radius: 999px;
  background: #ef4444;
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.site-shell-footer {
  border-top: 1px solid #1e293b;
  background: #000;
  color: #94a3b8;
  padding: 2.5rem 0;
}

.site-shell-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.site-shell-footer-logo {
  display: block;
  width: auto;
  height: 40px;
}

.site-shell-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  font-size: 0.875rem;
}

.site-shell-footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.site-shell-footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell-footer li {
  margin: 0;
  padding: 0;
}

.site-shell-footer a {
  color: #94a3b8;
  text-decoration: none;
}

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

.site-shell-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .site-shell-header ~ .breadcrumb {
    padding-top: calc(68px + 1rem);
  }

  .site-shell-header ~ .archive-header {
    padding-top: calc(68px + 3rem);
  }

  .site-shell-header-inner {
    min-height: 68px;
  }

  .site-shell-nav,
  .site-shell-contact {
    display: none;
  }

  .site-shell-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-shell-footer-main {
    flex-direction: column;
  }

  .site-shell-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-shell-container {
    padding: 0 1rem;
  }

  .site-shell-footer-grid {
    grid-template-columns: 1fr;
  }
}
