/*
Theme Name: NK Nails Child
Theme URI: https://nknails.com/
Description: A classic luxury Divi child theme for NK Nails supply guidance, reviews and professional nail tutorials.
Author: NK Nails
Template: Divi
Version: 1.0.1
Text Domain: nk-nails
*/

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