/*
 Theme Name:  Sinatra Child
 Template:    sinatra
 Text Domain: sinatra-child
*/

/* Mobile Quick Links next to hamburger */
.si-mobile-quick-links {
  display: none;
  margin-right: 8px;
}

.si-mobile-quick-links .mobile-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.si-mobile-quick-links .mobile-quick-item a {
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Add a subtle chevron before labels (optional) */
.si-mobile-quick-links .mobile-quick-item a span::before {
  content: "›";
  display: inline-block;
  margin-right: 4px;
  transform: translateY(-1px);
  font-weight: 900;
}

/* MOBILE: push quick links down + make text larger */
@media (max-width: 782px) {
  /* 1) Make the links a block so margin-top works */
  .si-mobile-quick-links {
    display: block;          /* was inline-block */
    margin-top: 35px;        /* move further down */
  }

  /* 2) Bigger, easier-to-tap text */
  .si-mobile-quick-links .mobile-quick-list {
    gap: 18px;
  }
  .si-mobile-quick-links .mobile-quick-item a {
    font-size: 20px;         /* 16–18–20px depending on taste */
    line-height: 1.4;
    padding: 6px 4px;
    font-weight: 900;
  }

  /* (Optional) larger chevron */
  .si-mobile-quick-links .mobile-quick-item a span::before {
    font-size: 18px;         /* FIX: was 'px' */
    margin-right: 6px;
  }
}

/* Keep desktop clean (hide on larger screens explicitly) */
@media (min-width: 783px) {
  .si-mobile-quick-links { display: none; }
}

.single-post .entry-content,
.single-post .entry-media {
  margin-top: 10px;
}

.si-blog-horizontal .sinatra-article,
.si-blog-layout-1 .sinatra-article {
  margin-bottom: 50px;
}

@media screen and (max-width: 960px) {
  .sinatra-logo img {
    max-height: 60px;
    padding-left: 20px;
  }

  #secondary { display: none; }

  #sinatra-header-inner .site-navigation {
    background: #333;
    color: #fff;
  }

  #sinatra-header-inner .site-navigation > ul a {
    border-color: rgba(255,255,255,.1);
    color: #fff;                 /* FIX: was #000 on dark bg */
    text-align: center;
  }

  .si-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  #primary.content-area { margin-top: 10px; }

  .hamburger-box {
    margin-right: 10px;
    /* border: 1px;  <-- invalid */
    border: 1px solid transparent; /* or remove entirely */
  }

  .si-page-title-align-left .page-header.si-has-page-title,
  .si-page-title-align-right .page-header.si-has-page-title,
  .si-page-title-align-center .page-header .si-page-header-wrapper {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body:not(.is-mobile-menu-active) .si-hamburger .hamburger-box .hamburger-inner,
  body:not(.is-mobile-menu-active) .si-hamburger .hamburger-box .hamburger-inner:before,
  body:not(.is-mobile-menu-active) .si-hamburger .hamburger-box .hamburger-inner:after {
    width: 25px;
    height: 3px;
  }

  #sinatra-footer .sinatra-footer-column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* DESKTOP+ rules (use min-width instead of "not screen and") */
@media (min-width: 961px) {
  #primary { margin-top: 15px; }

  #secondary {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  body { font-size: 1rem; }
  p { font-size: 20px; }
  h5 { font-size: 1.25em; }

  #sinatra-footer .sinatra-footer-column {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }

  select:active, input:active, textarea:active {
    font-size: 16px;
  }

  #main .si-widget { margin-bottom: 0; }
}

/* === Header Layout 2: force show quick links on mobile and style them === */
@media (max-width: 782px) {
  /* 1) MAKE SURE THE QUICK LINKS NAV IS VISIBLE EVEN IF THE THEME HIDES SI HEADER ELEMENTS */
  .si-header-container nav.si-mobile-quick-links {
    display: block !important;     /* override any header rules hiding it */
    margin-top: 35px;              /* your desired spacing */
  }

  /* 2) TARGET BOTH FALLBACK <li class="mobile-quick-item"> AND WP MENU <li class="menu-item"> */
  .si-header-container nav.si-mobile-quick-links a,
  .si-header-container nav.si-mobile-quick-links .mobile-quick-item > a,
  .si-header-container nav.si-mobile-quick-links .menu-item > a {
    /* bold */
    font-weight: 700 !important;



    /* tap target/legibility */
    font-size: 14px;               /* adjust as you like */
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
  }

  /* 3) OPTIONAL: prevent dotted underline on the chevron glyph */
  .si-header-container nav.si-mobile-quick-links a span::before {
    text-decoration: none !important;
    border-bottom: 0 !important;
    margin-right: 6px;
  }
}

.page .si-breadcrumbs { 
  display: none; 
}

#page .page-header .page-title {
    font-size: 1.2rem;
}