/*
Theme Name: Stories of Love - Header & Footer
Description: Replaces only the Stylic header and footer. Page content keeps the parent theme's presentation.
Template: stylic
Version: 1.0.0
Text Domain: sol-header-footer
*/
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
.sol-header,
.sol-footer {
  font-family: "Work Sans", sans-serif;
  line-height: 1.6;
  color: var(--sol-ink);
}
:root {
  --sol-blue: #3e5eab;
  --sol-blue-dark: #2d4a8f;
  --sol-blue-soft: #edf1fa;
  --sol-navy: #14213d;
  --sol-coral: #f1584c;
  --sol-orange: #f9a575;
  --sol-yellow: #f9b624;
  --sol-cream: #fef5e4;
  --sol-ink: #1f2a3d;
  --sol-muted: #5a6478;
  --sol-line: #d9dfeb;
}
.sol-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}
.admin-bar .sol-header {
  top: 32px;
}
.sol-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.sol-shell {
  width: min(100% - 60px, 1170px);
  margin-inline: auto;
}
.sol-brand {
  display: block;
  margin-right: auto;
  flex-shrink: 0;
}
.sol-logo {
  display: block;
  width: 250px;
  height: auto;
}
.sol-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sol-nav-list a {
  display: block;
  padding-block: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sol-blue);
  text-decoration: none;
  white-space: nowrap;
}
.sol-nav-list a:hover, .sol-nav-list .current-menu-item a {
  color: #996300;
}
.sol-header .sol-header-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--sol-blue);
  border-radius: 12px;
  background: var(--sol-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.sol-header .sol-header-donate:hover {
  background: #304b8c;
  border-color: #304b8c;
}
.sol-menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--sol-blue);
  font: inherit;
  cursor: pointer;
}
.sol-header [hidden] {
  display: none !important;
}
.sol-header :focus-visible, .sol-footer :focus-visible {
  outline: 3px solid var(--sol-blue);
  outline-offset: 4px;
}
.sol-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10001;
  padding: 12px 20px;
  background: #fff;
  color: var(--sol-blue);
  transform: translateY(-160%);
}
.sol-skip-link:focus {
  transform: none;
}
html {
  scroll-padding-top: 100px;
}
.sol-footer {
  position: relative;
  margin-top: 56px;
  padding: 58px 0 0;
  background: var(--sol-cream);
}
.sol-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--sol-coral),
    var(--sol-orange) 45%,
    var(--sol-yellow)
  );
}
.sol-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 65px;
  padding-bottom: 42px;
}
.sol-footer-brand img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}
.sol-footer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sol-muted);
  margin: 0 0 20px;
}
.sol-footer h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sol-navy);
  margin: 0 0 18px;
}
.sol-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sol-footer li {
  margin-bottom: 10px;
}
.sol-footer li a, .sol-footer-social a {
  display: inline-block;
  padding-block: 4px;
  font-size: 15px;
  color: var(--sol-blue);
  text-decoration: none;
}
.sol-footer a:hover {
  color: var(--sol-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sol-footer-social {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.sol-footer .sol-footer-give {
  display: inline-block;
  padding: 13px 25px;
  margin-top: 16px;
  border-radius: 12px;
  background: var(--sol-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.sol-footer .sol-footer-give:hover {
  background: var(--sol-blue-dark);
}
.sol-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--sol-line);
  padding-block: 24px;
}
.sol-footer-bottom p, .sol-footer-bottom a {
  margin: 0;
  font-size: 12px;
  color: var(--sol-muted);
}
@media (max-width: 1199px) {
.sol-header-inner {
    gap: 15px;
  }
.sol-logo {
    width: 245px;
  }
.sol-nav-list {
    gap: 14px;
  }
.sol-nav-list a {
    font-size: 13px;
  }
}
@media (max-width: 1023px) {
.sol-header-inner {
    flex-wrap: wrap;
    min-height: 80px;
    padding-block: 12px;
  }
.sol-menu-ready .sol-menu-toggle:not([hidden]) {
    display: flex;
  }
.sol-navigation {
    order: 4;
    width: 100%;
    border-top: 1px solid #e5e9f2;
  }
.sol-menu-ready .sol-navigation {
    display: none;
  }
.sol-menu-open .sol-navigation {
    display: block;
  }
.sol-nav-list {
    flex-wrap: wrap;
    justify-content: space-between;
  }
.sol-nav-list a {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
.sol-shell {
    width: calc(100% - 30px);
  }
.sol-header-inner {
    gap: 7px;
    min-height: 72px;
  }
.sol-logo {
    width: clamp(155px, 43vw, 190px);
  }
.sol-menu-toggle {
    font-size: 12px;
    padding: 7px;
  }
.sol-menu-toggle svg {
    display: none;
  }
.sol-header .sol-header-donate {
    font-size: 10px;
    padding: 10px 12px;
    gap: 5px;
  }
.sol-header-donate span {
    display: none;
  }
.sol-nav-list {
    display: block;
  }
.sol-nav-list a {
    padding: 12px 5px;
  }
.sol-footer {
    padding-top: 38px;
    margin-top: 36px;
  }
.sol-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    padding-bottom: 30px;
  }
.sol-footer-brand {
    grid-column: 1 / -1;
  }
.sol-footer-brand img {
    width: 245px;
    margin-bottom: 18px;
  }
.sol-footer h2 {
    font-size: 16px;
  }
.sol-footer li a {
    font-size: 14px;
  }
.sol-footer-bottom {
    display: block;
    padding-block: 20px;
  }
.sol-footer-bottom p + p {
    margin-top: 10px;
  }
.admin-bar .sol-header {
    top: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }
.sol-header * {
    animation: none !important;
    transition: none !important;
  }
}
