/*
Theme Name: Salon Del Hobby Child
Theme URI: https://salondelhobby.com/
Description: A calm Japandi Divi child theme for Salon Del Hobby nail education and salon business guidance.
Author: Salon Del Hobby
Template: Divi
Version: 1.0.0
Text Domain: salon-del-hobby
*/

:root {
  --sdh-green: #176da6;
  --sdh-green-dark: #12527e;
  --sdh-blue: #168bd0;
  --sdh-navy: #243746;
  --sdh-ink: #30383b;
  --sdh-muted: #687174;
  --sdh-cream: #f5f1e8;
  --sdh-line: #ddd8ce;
  --sdh-white: #fff;
  --sdh-shadow: 0 18px 55px rgba(36, 55, 70, 0.12);
  --sdh-radius: 22px;
}
* {
  box-sizing: border-box;
}
body {
  color: var(--sdh-ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
  background: #fff;
}
h1,
h2,
h3,
h4 {
  color: var(--sdh-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
}
a {
  color: var(--sdh-blue);
}
img {
  max-width: 100%;
  height: auto;
}
.container,
.sdh-container {
  width: min(90%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
}
.sdh-skip {
  position: absolute;
  left: -9999px;
}
.sdh-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 99999;
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}
.sdh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sdh-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sdh-kicker:before {
  content: "";
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--sdh-blue);
}
.sdh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--sdh-green);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(214, 169, 0, 0.22);
  transition: 0.2s;
}
.sdh-btn:hover {
  background: var(--sdh-green-dark);
  transform: translateY(-2px);
}
.sdh-btn--ghost {
  background: #fff;
  color: var(--sdh-navy) !important;
  border: 1px solid var(--sdh-line);
  box-shadow: none;
}
.sdh-btn--ghost:hover {
  background: #f3f8f4;
}
.sdh-home section {
  padding: 96px 0;
}
.sdh-home h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.25rem);
  margin: 16px 0 22px;
}
.sdh-home h2 {
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  margin: 12px 0 16px;
}
.sdh-home p {
  font-size: 1.08rem;
  color: var(--sdh-muted);
}
.sdh-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  background: #f5f1e8;
  overflow: hidden;
}
.sdh-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f5f1e8 0%,
    rgba(245, 241, 232, 0.98) 37%,
    rgba(245, 241, 232, 0.62) 58%,
    rgba(245, 241, 232, 0.05) 100%
  );
  z-index: 1;
}
.sdh-hero__media {
  position: absolute;
  inset: 0;
}
.sdh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sdh-hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 100px 0;
}
.sdh-hero__content h1 span {
  color: var(--sdh-green);
}
.sdh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.sdh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  color: var(--sdh-navy);
  font-weight: 700;
  font-size: 0.9rem;
}
.sdh-trust span:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e5f4e6;
  color: var(--sdh-green);
}
.sdh-intro {
  text-align: center;
}
.sdh-intro__head {
  max-width: 760px;
  margin: 0 auto 46px;
}
.sdh-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sdh-pillar {
  text-align: left;
  padding: 34px;
  border: 1px solid var(--sdh-line);
  border-radius: var(--sdh-radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 60, 96, 0.06);
  transition: 0.25s;
}
.sdh-pillar:hover {
  transform: translateY(-7px);
  box-shadow: var(--sdh-shadow);
}
.sdh-pillar__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--sdh-green), var(--sdh-blue));
  font-size: 1.6rem;
}
.sdh-pillar h3 {
  font-size: 1.4rem;
}
.sdh-pillar a {
  font-weight: 800;
  text-decoration: none;
}
.sdh-stories {
  background: #fff;
  text-align: center;
}
.sdh-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  text-align: left;
}
.sdh-story {
  overflow: hidden;
  border: 1px solid var(--sdh-line);
  border-radius: var(--sdh-radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 63, 43, 0.08);
}
.sdh-story img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sdh-story > div {
  padding: 26px;
}
.sdh-story h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.sdh-story p {
  margin: 0;
  font-size: 0.96rem;
}
.sdh-story a {
  display: inline-block;
  margin-top: 15px;
  color: var(--sdh-green-dark);
  font-weight: 800;
  text-decoration: none;
}
.sdh-split {
  background: var(--sdh-cream);
}
.sdh-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.sdh-split__image {
  position: relative;
}
.sdh-split__image img {
  display: block;
  border-radius: 32px;
  box-shadow: var(--sdh-shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sdh-split__image:after {
  content: "PRO TIPS";
  position: absolute;
  right: -18px;
  bottom: 28px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--sdh-blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.sdh-checks {
  padding: 0;
  margin: 25px 0 32px;
  list-style: none;
}
.sdh-checks li {
  position: relative;
  padding: 8px 0 8px 35px;
  color: var(--sdh-ink);
  font-weight: 650;
}
.sdh-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--sdh-green);
  font-weight: 900;
}
.sdh-latest__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.sdh-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sdh-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sdh-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 60, 96, 0.07);
  transition: 0.25s;
}
.sdh-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sdh-shadow);
}
.sdh-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #edf3ef;
}
.sdh-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}
.sdh-card:hover .sdh-card__image img {
  transform: scale(1.04);
}
.sdh-card__body {
  padding: 26px;
}
.sdh-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--sdh-green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.sdh-card h2,
.sdh-card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.sdh-card h2 a,
.sdh-card h3 a {
  color: var(--sdh-ink);
  text-decoration: none;
}
.sdh-card p {
  font-size: 0.94rem;
  margin: 0;
}
.sdh-card__more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  text-decoration: none;
}
.sdh-supply {
  background: linear-gradient(135deg, #243746, #12527e);
  color: #fff;
}
.sdh-supply h2,
.sdh-supply p,
.sdh-supply .sdh-kicker {
  color: #fff;
}
.sdh-supply .sdh-checks li {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.sdh-supply .sdh-checks li:before {
  color: #a9d8f3;
}
.sdh-supply .sdh-btn {
  background: #fff;
  color: #12527e !important;
}
.sdh-supply .sdh-btn:hover {
  background: #ebe6dc;
}
.sdh-supply .sdh-kicker:before {
  background: #f2ce64;
}
.sdh-supply .sdh-split__image:after {
  content: "CALM & PRACTICAL";
  background: #fff;
  color: #12527e;
}
.sdh-newsletter {
  padding: 0 0 96px !important;
}
.sdh-newsletter__box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding: 52px 58px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ebe6dc, #ffffff);
}
.sdh-newsletter__box h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 8px;
}
.sdh-newsletter__form {
  display: flex;
  gap: 10px;
}
.sdh-newsletter__form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cddccc;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
}
.sdh-newsletter__form button {
  border: 0;
  cursor: pointer;
}
.sdh-page-hero {
  padding: 92px 0 75px;
  background: linear-gradient(135deg, #ebe6dc, #ffffff);
  text-align: center;
}
.sdh-page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  margin: 10px 0 13px;
}
.sdh-page-hero p {
  max-width: 670px;
  margin: auto;
  color: var(--sdh-muted);
}
.sdh-archive {
  padding: 75px 0 100px;
}
.sdh-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 55px;
  align-items: start;
}
.sdh-archive-main .sdh-post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sdh-archive .sdh-post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sdh-pagination {
  margin-top: 50px;
  text-align: center;
}
.sdh-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 43px;
  height: 43px;
  margin: 4px;
  border-radius: 50%;
  border: 1px solid var(--sdh-line);
  text-decoration: none;
}
.sdh-pagination .current {
  background: var(--sdh-green);
  color: #fff;
  border-color: var(--sdh-green);
}
.sdh-empty {
  text-align: center;
  padding: 60px;
  border-radius: 24px;
  background: var(--sdh-cream);
}
.sdh-single {
  padding: 70px 0 100px;
}
.sdh-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 290px;
  gap: 70px;
  justify-content: center;
}
.sdh-single__layout--wide {
  display: block;
  max-width: 900px;
}
.sdh-article__meta {
  color: var(--sdh-green-dark);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sdh-article h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  margin: 14px 0 18px;
}
.sdh-article__lead {
  font-size: 1.18rem;
  color: var(--sdh-muted);
}
.sdh-article__hero {
  width: 100%;
  border-radius: 28px;
  margin: 28px 0 38px;
}
.sdh-article__content {
  font-size: 1.06rem;
}
.sdh-article__content h2 {
  font-size: 2rem;
  margin-top: 1.8em;
}
.sdh-article__content h3 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}
.sdh-article__content img {
  border-radius: 18px;
}
.sdh-article__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sdh-article__content blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 5px solid var(--sdh-green);
  background: var(--sdh-cream);
  font-size: 1.15rem;
}
.sdh-author {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  margin-top: 50px;
  padding: 28px;
  border-radius: 20px;
  background: var(--sdh-cream);
}
.sdh-author img {
  border-radius: 50%;
}
.sdh-sidebar {
  position: sticky;
  top: 130px;
  height: max-content;
}
.sdh-widget {
  padding: 26px;
  border: 1px solid var(--sdh-line);
  border-radius: 20px;
  margin-bottom: 22px;
}
.sdh-widget h3 {
  font-size: 1.1rem;
  margin-top: 0;
}
.sdh-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sdh-widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--sdh-line);
}
.sdh-widget li:last-child {
  border: 0;
}
.sdh-widget--accent {
  border-color: #d9b54b;
  background: linear-gradient(145deg, #fbf3dd, #fffdf8);
}
.sdh-widget--accent h3 {
  margin: 10px 0;
  font-size: 1.35rem;
}
.sdh-widget--accent a {
  color: var(--sdh-green-dark);
  font-weight: 800;
  text-decoration: none;
}
.sdh-footer {
  background: #243746;
  color: #e8edf0;
  padding: 72px 0 25px;
}
.sdh-footer__brand {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 15px;
  background: #fff;
  margin-bottom: 20px;
}
.sdh-footer a {
  color: #fff;
  text-decoration: none;
}
.sdh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 45px;
}
.sdh-footer__logo {
  display: block;
  max-width: 210px;
  margin: 0;
}
.sdh-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.sdh-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sdh-footer li {
  margin: 8px 0;
}
.sdh-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.sdh-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sdh-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.85rem;
}
.sdh-footer__bottom p {
  margin: 0;
}
.sdh-footer__note {
  opacity: 0.78;
}
.sdh-search-form {
  display: flex;
}
.sdh-search-form input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 1px solid var(--sdh-line);
  border-radius: 10px 0 0 10px;
  padding: 0 12px;
}
.sdh-search-form button {
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--sdh-green);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 980px) {
  .sdh-home section {
    padding: 74px 0;
  }
  .sdh-hero {
    min-height: 680px;
  }
  .sdh-hero:before {
    background: linear-gradient(
      90deg,
      #f5f1e8 0%,
      rgba(245, 241, 232, 0.94) 58%,
      rgba(245, 241, 232, 0.3) 100%
    );
  }
  .sdh-pillar,
  .sdh-card {
    grid-column: span 1;
  }
  .sdh-pillars,
  .sdh-story-grid,
  .sdh-post-grid,
  .sdh-archive .sdh-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sdh-split__grid {
    gap: 42px;
  }
  .sdh-single__layout {
    grid-template-columns: 1fr;
  }
  .sdh-archive-layout {
    grid-template-columns: 1fr;
  }
  .sdh-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sdh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sdh-newsletter__box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sdh-home section {
    padding: 58px 0;
  }
  .sdh-hero {
    min-height: 700px;
    align-items: end;
  }
  .sdh-hero:before {
    background: linear-gradient(
      0deg,
      #f5f1e8 15%,
      rgba(245, 241, 232, 0.95) 48%,
      rgba(245, 241, 232, 0.3) 100%
    );
  }
  .sdh-hero__media img {
    object-position: 66% center;
  }
  .sdh-hero__content {
    padding: 245px 0 55px;
  }
  .sdh-home h1 {
    font-size: 2.65rem;
  }
  .sdh-pillars,
  .sdh-story-grid,
  .sdh-post-grid,
  .sdh-archive .sdh-post-grid,
  .sdh-split__grid,
  .sdh-footer__grid,
  .sdh-sidebar {
    grid-template-columns: 1fr;
  }
  .sdh-split__image {
    order: -1;
  }
  .sdh-split__image:after {
    right: 10px;
  }
  .sdh-latest__head {
    display: block;
  }
  .sdh-latest__head .sdh-btn {
    margin-top: 18px;
  }
  .sdh-newsletter__box {
    padding: 35px 25px;
  }
  .sdh-newsletter__form {
    display: block;
  }
  .sdh-newsletter__form button {
    width: 100%;
    margin-top: 10px;
  }
  .sdh-footer__bottom {
    display: block;
  }
  .sdh-footer__bottom p + p {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
