/*
Theme Name: Nails Art Supply Child
Theme URI: https://nailsartsupply.com/
Description: A polished Divi child theme for Nails Art Supply education, supply reviews and professional nail guidance.
Author: Nails Art Supply
Template: Divi
Version: 1.0.0
Text Domain: nails-art-supply
*/

:root {
  --na-green: #16bd6d;
  --na-green-dark: #08784a;
  --na-blue: #79aa98;
  --na-navy: #163f37;
  --na-ink: #293b38;
  --na-muted: #667873;
  --na-cream: #f7faf6;
  --na-line: #dfe9e3;
  --na-white: #fff;
  --na-shadow: 0 18px 55px rgba(22, 63, 55, 0.11);
  --na-radius: 24px;
}
* {
  box-sizing: border-box;
}
body {
  color: var(--na-ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
  background: #fff;
}
h1,
h2,
h3,
h4 {
  color: var(--na-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
}
a {
  color: var(--na-blue);
}
img {
  max-width: 100%;
  height: auto;
}
.container,
.na-container {
  width: min(90%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
}
.na-skip {
  position: absolute;
  left: -9999px;
}
.na-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 99999;
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}
.na-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--na-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.na-kicker:before {
  content: "";
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--na-blue);
}
.na-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--na-green);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(22, 189, 109, 0.22);
  transition: 0.2s;
}
.na-btn:hover {
  background: var(--na-green-dark);
  transform: translateY(-2px);
}
.na-btn--ghost {
  background: #fff;
  color: var(--na-navy) !important;
  border: 1px solid var(--na-line);
  box-shadow: none;
}
.na-btn--ghost:hover {
  background: #f3f8f4;
}
.na-home section {
  padding: 96px 0;
}
.na-home h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.25rem);
  margin: 16px 0 22px;
}
.na-home h2 {
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  margin: 12px 0 16px;
}
.na-home p {
  font-size: 1.08rem;
  color: var(--na-muted);
}
.na-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  background: #fafbf7;
  overflow: hidden;
}
.na-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fafbf7 0%,
    rgba(250, 251, 247, 0.98) 37%,
    rgba(250, 251, 247, 0.58) 58%,
    rgba(250, 251, 247, 0.05) 100%
  );
  z-index: 1;
}
.na-hero__media {
  position: absolute;
  inset: 0;
}
.na-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.na-hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 100px 0;
}
.na-hero__content h1 span {
  color: var(--na-green);
}
.na-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.na-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  color: var(--na-navy);
  font-weight: 700;
  font-size: 0.9rem;
}
.na-trust span:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e5f4e6;
  color: var(--na-green);
}
.na-intro {
  text-align: center;
}
.na-intro__head {
  max-width: 760px;
  margin: 0 auto 46px;
}
.na-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.na-pillar {
  text-align: left;
  padding: 34px;
  border: 1px solid var(--na-line);
  border-radius: var(--na-radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 60, 96, 0.06);
  transition: 0.25s;
}
.na-pillar:hover {
  transform: translateY(-7px);
  box-shadow: var(--na-shadow);
}
.na-pillar__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--na-green), var(--na-blue));
  font-size: 1.6rem;
}
.na-pillar h3 {
  font-size: 1.4rem;
}
.na-pillar a {
  font-weight: 800;
  text-decoration: none;
}
.na-split {
  background: var(--na-cream);
}
.na-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.na-split__image {
  position: relative;
}
.na-split__image img {
  display: block;
  border-radius: 32px;
  box-shadow: var(--na-shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.na-split__image:after {
  content: "PRO TIPS";
  position: absolute;
  right: -18px;
  bottom: 28px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--na-blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.na-checks {
  padding: 0;
  margin: 25px 0 32px;
  list-style: none;
}
.na-checks li {
  position: relative;
  padding: 8px 0 8px 35px;
  color: var(--na-ink);
  font-weight: 650;
}
.na-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--na-green);
  font-weight: 900;
}
.na-latest__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.na-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.na-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--na-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 60, 96, 0.07);
  transition: 0.25s;
}
.na-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--na-shadow);
}
.na-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #edf3ef;
}
.na-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}
.na-card:hover .na-card__image img {
  transform: scale(1.04);
}
.na-card__body {
  padding: 26px;
}
.na-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--na-green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.na-card h2,
.na-card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.na-card h2 a,
.na-card h3 a {
  color: var(--na-ink);
  text-decoration: none;
}
.na-card p {
  font-size: 0.94rem;
  margin: 0;
}
.na-card__more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  text-decoration: none;
}
.na-supply {
  background: linear-gradient(135deg, var(--na-navy), #246c5c);
  color: #fff;
}
.na-supply h2,
.na-supply p,
.na-supply .na-kicker {
  color: #fff;
}
.na-supply .na-kicker:before {
  background: #a9d7c4;
}
.na-supply .na-split__image:after {
  content: "TESTED & EXPLAINED";
  background: var(--na-green);
}
.na-newsletter {
  padding: 0 0 96px !important;
}
.na-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, #ecf8f1, #f8f1ed);
}
.na-newsletter__box h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 8px;
}
.na-newsletter__form {
  display: flex;
  gap: 10px;
}
.na-newsletter__form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cddccc;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
}
.na-newsletter__form button {
  border: 0;
  cursor: pointer;
}
.na-page-hero {
  padding: 92px 0 75px;
  background: linear-gradient(135deg, #edf8f1, #f9f3ed);
  text-align: center;
}
.na-page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  margin: 10px 0 13px;
}
.na-page-hero p {
  max-width: 670px;
  margin: auto;
  color: var(--na-muted);
}
.na-archive {
  padding: 75px 0 100px;
}
.na-archive .na-post-grid {
  grid-template-columns: repeat(3, 1fr);
}
.na-pagination {
  margin-top: 50px;
  text-align: center;
}
.na-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 43px;
  height: 43px;
  margin: 4px;
  border-radius: 50%;
  border: 1px solid var(--na-line);
  text-decoration: none;
}
.na-pagination .current {
  background: var(--na-green);
  color: #fff;
  border-color: var(--na-green);
}
.na-empty {
  text-align: center;
  padding: 60px;
  border-radius: 24px;
  background: var(--na-cream);
}
.na-single {
  padding: 70px 0 100px;
}
.na-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 290px;
  gap: 70px;
  justify-content: center;
}
.na-article__meta {
  color: var(--na-green-dark);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.na-article h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  margin: 14px 0 18px;
}
.na-article__lead {
  font-size: 1.18rem;
  color: var(--na-muted);
}
.na-article__hero {
  width: 100%;
  border-radius: 28px;
  margin: 28px 0 38px;
}
.na-article__content {
  font-size: 1.06rem;
}
.na-article__content h2 {
  font-size: 2rem;
  margin-top: 1.8em;
}
.na-article__content h3 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}
.na-article__content img {
  border-radius: 18px;
}
.na-article__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.na-article__content blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 5px solid var(--na-green);
  background: var(--na-cream);
  font-size: 1.15rem;
}
.na-author {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  margin-top: 50px;
  padding: 28px;
  border-radius: 20px;
  background: var(--na-cream);
}
.na-author img {
  border-radius: 50%;
}
.na-sidebar {
  position: sticky;
  top: 130px;
  height: max-content;
}
.na-widget {
  padding: 26px;
  border: 1px solid var(--na-line);
  border-radius: 20px;
  margin-bottom: 22px;
}
.na-widget h3 {
  font-size: 1.1rem;
  margin-top: 0;
}
.na-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.na-widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--na-line);
}
.na-widget li:last-child {
  border: 0;
}
.na-footer {
  background: #173a34;
  color: #d4e5df;
  padding: 72px 0 25px;
}
.na-footer__brand {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 15px;
  background: #fff;
  margin-bottom: 20px;
}
.na-footer a {
  color: #fff;
  text-decoration: none;
}
.na-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 45px;
}
.na-footer__logo {
  display: block;
  max-width: 210px;
  margin: 0;
}
.na-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.na-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.na-footer li {
  margin: 8px 0;
}
.na-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.na-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.na-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;
}
.na-footer__bottom p {
  margin: 0;
}
.na-footer__note {
  opacity: 0.78;
}
.na-search-form {
  display: flex;
}
.na-search-form input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 1px solid var(--na-line);
  border-radius: 10px 0 0 10px;
  padding: 0 12px;
}
.na-search-form button {
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--na-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) {
  .na-home section {
    padding: 74px 0;
  }
  .na-hero {
    min-height: 680px;
  }
  .na-hero:before {
    background: linear-gradient(
      90deg,
      #f7fbf5 0%,
      rgba(247, 251, 245, 0.94) 58%,
      rgba(247, 251, 245, 0.3) 100%
    );
  }
  .na-pillar,
  .na-card {
    grid-column: span 1;
  }
  .na-pillars,
  .na-post-grid,
  .na-archive .na-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .na-split__grid {
    gap: 42px;
  }
  .na-single__layout {
    grid-template-columns: 1fr;
  }
  .na-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .na-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .na-newsletter__box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .na-home section {
    padding: 58px 0;
  }
  .na-hero {
    min-height: 700px;
    align-items: end;
  }
  .na-hero:before {
    background: linear-gradient(
      0deg,
      #f7fbf5 15%,
      rgba(247, 251, 245, 0.95) 48%,
      rgba(247, 251, 245, 0.3) 100%
    );
  }
  .na-hero__media img {
    object-position: 66% center;
  }
  .na-hero__content {
    padding: 245px 0 55px;
  }
  .na-home h1 {
    font-size: 2.65rem;
  }
  .na-pillars,
  .na-post-grid,
  .na-archive .na-post-grid,
  .na-split__grid,
  .na-footer__grid,
  .na-sidebar {
    grid-template-columns: 1fr;
  }
  .na-split__image {
    order: -1;
  }
  .na-split__image:after {
    right: 10px;
  }
  .na-latest__head {
    display: block;
  }
  .na-latest__head .na-btn {
    margin-top: 18px;
  }
  .na-newsletter__box {
    padding: 35px 25px;
  }
  .na-newsletter__form {
    display: block;
  }
  .na-newsletter__form button {
    width: 100%;
    margin-top: 10px;
  }
  .na-footer__bottom {
    display: block;
  }
  .na-footer__bottom p + p {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
