/* ========================================================================
   ohplesiosaur.com — base styles (global chrome)
   Values transcribed from the original theme (Ascend Premium customizer):
   teal #29cece header + footer, white nav, hover accent #d4f5f5, text #444.
   Body + h1–h4 Nunito, h5 Pacifico, mobile/secondary nav Source Sans Pro.
   ======================================================================== */

:root {
  --teal: #29cece;
  --teal-dark: #24b9b9;
  --teal-light: #3de2e2;
  --teal-pale: #d4f5f5;
  --text: #444444;
  --heading: #444444;
  --body-bg: #f2f2f2;
  --content-bg: #ffffff;
  --hairline: #eeeeee;
  --footer-text: #ffffff;
  --header-h: 50px;
  --header-h-shrunk: 50px;
  --mobile-header-h: 60px;
}

/* ---- reset-lite ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text);
  background-color: var(--body-bg);
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 10px; }

h1, h2, h3, h4, h5, h6 { font-family: Nunito, sans-serif; letter-spacing: 1.2px; font-weight: 400; margin: 10px 0; }
h1 { font-size: 40px; line-height: 44px; font-weight: 600; color: #444; }
h2 { font-size: 32px; line-height: 40px; font-weight: 700; color: #444; }
h3 { font-size: 28px; line-height: 40px; color: #444; }
h4 { font-size: 24px; line-height: 40px; color: #555; }
h5 { font-family: Pacifico, cursive; font-size: 18px; line-height: 24px; letter-spacing: 1.2px; color: #555; }

/* Theme container: full width + 15px gutters on mobile; 90% capped at 1140px
   (still with 15px padding) from 767px up — matches Ascend exactly. */
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 767px) {
  .container { width: 90%; max-width: 1140px; }
}

.site-content { background: var(--content-bg); }
.page-content h2 a { color: inherit; transition: color 0.2s; }
.page-content h2 a:hover { color: var(--teal); }

/* ---- desktop header (solid teal, sticky) --------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  transition: all 0.2s ease-in-out;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height 0.2s ease-in-out;
}
.site-header.shrunk { box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); }
.site-logo { display: flex; align-items: center; height: 100%; }
.site-logo img { max-height: 36px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav li { display: flex; align-items: center; }
.site-nav a {
  display: block;
  padding: 10px 12px;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: #ffffff;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--teal-pale); }
.site-nav a.current { color: var(--teal-pale); }
.site-nav .nav-search {
  display: flex;
  align-items: center;
  padding: 10px 4px 10px 12px;
  color: #ffffff;
}
.site-nav .nav-search:hover { color: var(--teal-pale); }
.site-nav .nav-search svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- mobile header + slide-out menu (teal banner) ------------------ */
.mobile-header { display: none; background: var(--teal); }
.mobile-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--mobile-header-h);
}
.mobile-header .site-logo img { max-height: 18px; }
.menu-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
}
.menu-toggle-bars {
  display: block;
  position: relative;
  width: 28px;
  height: 22px;
}
.menu-toggle-bars span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: #fff;
  transition: 0.35s ease-in-out;
}
.menu-toggle:hover .menu-toggle-bars span { background: var(--teal-pale); }
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 9px; }
.menu-toggle-bars span:nth-child(3) { top: 18px; }

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1502;
  width: 270px;
  padding: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--teal);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.2s;
}
.mobile-menu.open { transform: translateX(0); }
@media (min-width: 767px) { .mobile-menu { width: 400px; } }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1501;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; }

.mobile-search { position: relative; margin: 45px 0 10px; }
.mobile-search .search-field {
  width: 100%;
  padding: 10px 50px 10px 10px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
}
.mobile-search .search-field::placeholder { color: #fff; opacity: 1; }
.mobile-search .search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.mobile-search .search-submit svg { width: 16px; height: 16px; fill: currentColor; }

.mobile-nav { list-style: none; margin: 10px 0 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 10px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease-out;
}
.mobile-nav a:hover { color: var(--teal-pale); }

@media (max-width: 992px) {
  .site-header { display: none; }
  .mobile-header { display: block; position: sticky; top: 0; z-index: 1000; }
}

/* ---- footer (solid teal, white text) -------------------------------- */
.site-footer {
  background-color: var(--teal);
  font-size: 16px;
  color: var(--footer-text);
  padding-top: 30px;
}
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--teal-pale); }
.site-footer b { font-weight: 700; }

.footer-cols { display: flex; flex-wrap: wrap; margin: 0 -15px; padding-bottom: 15px; }
.footer-col { width: 25%; padding: 0 15px; margin-top: 15px; }
@media (max-width: 991px) { .footer-col { width: 50%; } }
@media (max-width: 550px) { .footer-col { width: 100%; } }

.footer-widget-title {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-widget-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.footer-widget-title span {
  position: relative;
  background-color: var(--teal);
  padding-right: 10px;
}

.footer-text { line-height: 24px; }
.footer-text a { text-decoration: underline; }

.vcard { line-height: 26px; }
.vcard-line { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.ft-ic { width: 15px; height: 15px; fill: currentColor; flex: none; align-self: center; }
.vcard-line a { display: inline-flex; align-items: center; }

.footer-social { margin-top: 12px; }
.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 6px 6px 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: #fff !important;
  text-align: center;
  transition: all 0.2s ease-in-out 0s;
}
.social-circle svg { width: 20px; height: 20px; fill: currentColor; }
.social-circle:hover { background-color: #fff; color: var(--teal) !important; border-color: #fff; }

.footer-etsy img { height: 90px; width: auto; }

.footer-base { background-color: var(--teal); border-top: 1px solid rgba(255, 255, 255, 0.25); margin-top: 0; }
.footer-credits { text-align: center; padding-top: 16px; padding-bottom: 16px; }
.footer-credits p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
}

/* screen-reader utility */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}
