/*
Theme Name: Eduma Child - SMAN 4 Yogyakarta
Theme URI: https://patbhe-jogja.sch.id/
Update URI: https://patbhe-jogja.sch.id/themes/eduma-child/
Description: Child theme Eduma untuk menjaga penyesuaian situs SMAN 4 Yogyakarta tetap aman saat tema induk diperbarui.
Author: SMAN 4 Yogyakarta
Template: eduma
Version: 1.0.3
Text Domain: eduma-child
*/

/*
 * Responsive shell for the migrated Elementor homepage.
 * The blue header mirrors the legacy static pages that are still served for
 * the site's inner URLs, while keeping Eduma's native accessible navigation.
 */
.sman4-topbar {
  position: relative;
  z-index: 8991;
  min-height: 42px;
  background: #0f213d;
  color: #d1d5db;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  line-height: 22px;
}

.sman4-topbar__inner {
  display: flex;
  width: min(100% - 30px, 1232px);
  min-height: 42px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.sman4-topbar__contact,
.sman4-topbar__info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sman4-topbar a,
.sman4-topbar a:visited,
.sman4-topbar a:hover {
  color: #d1d5db;
  text-decoration: none;
}

.sman4-topbar__contact a > span,
.sman4-topbar__info span > span:first-child {
  margin-right: 7px;
  color: #eab308;
}

#sman4-live-clock {
  display: inline-block;
  min-width: 72px;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #eab308;
  color: #fff;
  font-family: "Courier New", monospace;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.sman4-brand-copy {
  display: flex;
  min-width: 210px;
  flex-direction: column;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.2;
}

.sman4-brand-copy strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.sman4-brand-copy small {
  margin-top: 2px;
  color: #eab308;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 1200px) {
  body #masthead.site-header {
    display: block !important;
    position: sticky !important;
    z-index: 8990;
    top: 0 !important;
    min-height: 100px;
    border-bottom: 4px solid #eab308;
    background: #142b52 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  #masthead .thim-nav-wrapper,
  #masthead .row,
  #masthead .navigation,
  #masthead .tm-table {
    height: 96px;
  }

  #masthead .width-logo {
    display: flex !important;
    width: 300px !important;
    min-width: 300px;
    align-items: center;
    gap: 14px;
  }

  #masthead .width-logo > a {
    display: block;
    width: 70px !important;
    flex: 0 0 70px;
  }

  #masthead .thim-logo img {
    width: 65px !important;
    height: 65px !important;
    max-height: 65px !important;
    object-fit: contain;
  }

  #masthead .width-navigation > ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    margin: 0;
  }

  #masthead .width-navigation > ul > li > a,
  #masthead .width-navigation > ul > li > span {
    min-height: 96px;
    padding: 37px 7px !important;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 22px;
  }

  #masthead .width-navigation > ul > li:hover > a,
  #masthead .width-navigation > ul > li.current-menu-item > a,
  #masthead .width-navigation > ul > li.current-menu-ancestor > a {
    color: #eab308 !important;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  body #masthead.site-header {
    display: block !important;
    position: sticky !important;
    z-index: 8990;
    top: 0 !important;
    min-height: 78px;
    border-bottom: 3px solid #eab308;
    background: #142b52 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  #masthead .thim-nav-wrapper,
  #masthead .row,
  #masthead .navigation,
  #masthead .tm-table {
    width: 100%;
    height: 75px;
    margin: 0 !important;
  }

  #masthead .tm-table,
  #masthead .width-logo {
    display: flex !important;
    align-items: center;
  }

  #masthead .tm-table {
    justify-content: space-between;
  }

  #masthead .width-logo {
    width: auto !important;
    flex: 1 1 auto;
    gap: 12px;
  }

  #masthead .thim-logo,
  #masthead .thim-logo img {
    display: block;
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
  }

  #masthead .main-menu,
  #masthead .width-navigation {
    display: none !important;
  }

  #masthead .menu-mobile-effect.navbar-toggle {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    width: 44px;
    height: 44px;
    margin: 0 0 0 auto !important;
    padding: 11px 10px !important;
    float: none !important;
    transform: none !important;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    background: #0f213d;
  }

  #masthead .menu-mobile-effect .icon-bar {
    position: static !important;
    display: block;
    width: 24px !important;
    height: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #eab308 !important;
  }
}

@media (max-width: 1024px) {
  html,
  body,
  #wrapper-container,
  .content-pusher {
    max-width: 100%;
    overflow-x: clip;
  }

  #masthead.site-header {
    display: block !important;
    position: sticky !important;
    z-index: 8990;
    top: 0 !important;
    width: 100%;
    min-height: 72px;
    border-bottom: 3px solid #eab308;
    background: #142b52 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  #masthead .thim-nav-wrapper {
    width: 100%;
    height: 72px;
    padding: 0 14px !important;
  }

  #masthead .row,
  #masthead .navigation,
  #masthead .tm-table {
    width: 100%;
    height: 72px;
    margin: 0 !important;
  }

  #masthead .tm-table {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  #masthead .width-logo {
    display: flex !important;
    width: auto !important;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
  }

  #masthead .width-logo::after {
    content: none;
  }

  #masthead .thim-logo,
  #masthead .thim-logo img {
    display: block;
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    max-height: 54px !important;
    object-fit: contain;
  }

  #masthead .thim-logo {
    flex: 0 0 54px;
  }

  #masthead .sman4-brand-copy {
    min-width: 0;
  }

  #masthead .sman4-brand-copy strong {
    font-size: clamp(13px, 3.7vw, 17px);
    white-space: nowrap;
  }

  #masthead .sman4-brand-copy small {
    max-width: 190px;
    font-size: 10px;
    white-space: nowrap;
  }

  #masthead .main-menu,
  #masthead .width-navigation {
    display: none !important;
  }

  #masthead .menu-mobile-effect.navbar-toggle {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    width: 44px;
    height: 44px;
    margin: 0 0 0 auto !important;
    padding: 11px 10px !important;
    float: none !important;
    transform: none !important;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    background: #0f213d;
  }

  #masthead .menu-mobile-effect .icon-bar {
    position: static !important;
    display: block;
    width: 24px !important;
    height: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #eab308 !important;
  }

  .mobile-menu-wrapper {
    width: min(86vw, 340px);
    max-width: 340px;
  }

  .elementor-18 .elementor-element.elementor-element-f1969bf {
    min-height: 44px;
  }

  .elementor-18 .elementor-element.elementor-element-f1969bf marquee {
    width: 100%;
    font-size: 13px;
    line-height: 24px;
  }

  .elementor-18 .elementor-element.elementor-element-8bae6f2 {
    margin: 0 !important;
    padding: 18px 12px 12px !important;
  }

  .elementor-18 .elementor-element.elementor-element-3542aef .elementor-heading-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .elementor-18 .elementor-element.elementor-element-2c75b4f .elementor-heading-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .elementor-18 .elementor-element.elementor-element-29b9afe {
    width: auto !important;
    max-width: none !important;
  }

  .elementor-18 .elementor-element.elementor-element-29b9afe .elementor-button {
    min-height: 44px;
    padding: 11px 22px;
  }

  .elementor-18 .elementor-element.elementor-element-1b96b09,
  .elementor-18 .elementor-element.elementor-element-16fd00f,
  .elementor-18 .elementor-element.elementor-element-c0deb67 {
    margin-bottom: 14px;
  }

  .elementor-18 .elementor-element.elementor-element-1b96b09 > .elementor-element-populated,
  .elementor-18 .elementor-element.elementor-element-16fd00f > .elementor-element-populated,
  .elementor-18 .elementor-element.elementor-element-c0deb67 > .elementor-element-populated {
    margin: 0 !important;
    overflow: hidden;
  }

  .elementor-18 .elementor-element.elementor-element-9178067 .elementor-heading-title,
  .elementor-18 .elementor-element.elementor-element-dcfecf1 .elementor-heading-title,
  .elementor-18 .elementor-element.elementor-element-2bce16c .elementor-heading-title,
  .elementor-18 .elementor-element.elementor-element-8c89cc1 .elementor-heading-title,
  .elementor-18 .elementor-element.elementor-element-27a8497 .elementor-heading-title,
  .elementor-18 .elementor-element.elementor-element-31f1e12 .elementor-heading-title {
    font-size: 18px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  .elementor-18 .elementor-element.elementor-element-60da977 .elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .elementor-18 .elementor-element.elementor-element-d5d5749.elementor-invisible {
    visibility: visible !important;
    animation: none !important;
  }

  .elementor-18 .elementor-element.elementor-element-d5d5749 {
    padding: 8px 8px 16px !important;
  }

  .elementor-18 .elementor-element.elementor-element-d5d5749 > .elementor-container {
    gap: 12px;
  }

  .elementor-18 .elementor-element.elementor-element-d5d5749 .elementor-column {
    margin-bottom: 0 !important;
  }

  .joinchat {
    --s: 52px;
    --sep: 10px;
    --bottom: 10px;
  }
}

@media (max-width: 768px) {
  .sman4-topbar__inner {
    justify-content: center;
  }

  .sman4-topbar__contact {
    display: none;
  }

  .sman4-topbar__info {
    width: 100%;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  #masthead .sman4-brand-copy small {
    display: none;
  }

  .sman4-topbar__info > span:last-child {
    font-size: 10px;
  }
}

