/*
Theme Name: Polished Nail Supply Child
Theme URI: https://polishednailsupply.com/
Description: A clean modern Divi child theme for Polished Nail Supply gel polish guidance and English tutorials.
Author: Polished Nail Supply
Template: Divi
Version: 1.0.0
Text Domain: polished-nail-supply
*/

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