/*
Theme Name: PinkLips
Author: PinkLips
Version: 1.0
*/

/*
 * Pink Lips — Dark Luxury / Neo-Brutalist stylesheet
 * Designed for the HTML structure supplied in the conversation.
 * Load after the theme's existing stylesheet.
 */

:root {
  color-scheme: dark;
  --pl-bg: #100d10;
  --pl-bg-soft: #171116;
  --pl-panel: #211820;
  --pl-panel-2: #2b1c26;
  --pl-burgundy: #481426;
  --pl-pink: #ff2e83;
  --pl-pink-soft: #ffb2d0;
  --pl-text: #f5edf1;
  --pl-muted: #b9aab2;
  --pl-line: #563044;
  --pl-white: #fff8fb;
  --pl-black: #090709;
  --pl-radius: 2px;
  --pl-shadow: 8px 8px 0 rgba(255, 46, 131, .16);
  --pl-max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--pl-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(112, 20, 58, .19), transparent 34rem),
    radial-gradient(ellipse at 0 48%, rgba(255, 46, 131, .055), transparent 32rem),
    var(--pl-bg);
  color: var(--pl-text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pl-pink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease,
              transform .2s ease;
}

a:hover,
a:focus-visible {
  color: var(--pl-white);
}

a:focus-visible,
button:focus-visible,
label:focus-visible,
input:focus-visible {
  outline: 3px solid var(--pl-pink);
  outline-offset: 4px;
}

::selection {
  color: var(--pl-black);
  background: var(--pl-pink);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .7em;
  color: var(--pl-white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 {
  max-width: 1000px;
  font-size: clamp(2.6rem, 7vw, 6.3rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1.25em;
  color: var(--pl-muted);
}

strong, b {
  color: var(--pl-white);
  font-weight: 750;
}

ul, ol {
  padding-left: 1.35em;
  color: var(--pl-muted);
}

li {
  margin: 0 0 .55em;
  padding-left: .2em;
}

li::marker {
  color: var(--pl-pink);
}

/* Header / logo */
#logox {
  width: min(var(--pl-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#logox a {
  display: inline-flex;
  align-items: center;
}

/* Navigation */
#nav {
  position: relative;
  z-index: 20;
  background: rgba(23, 17, 22, .94);
  border-top: 1px solid var(--pl-line);
  border-bottom: 1px solid var(--pl-line);
  backdrop-filter: blur(14px);
}

#nav nav {
  width: min(var(--pl-max), calc(100% - 48px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

#menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#dropdown {
  display: none;
  color: var(--pl-white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}

#nav ul {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

#nav li {
  margin: 0;
  padding: 0;
}

#nav li a {
  display: block;
  padding: 11px 15px;
  color: var(--pl-muted);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
}

#nav li a:hover,
#nav li a:focus-visible {
  color: var(--pl-white);
  background: var(--pl-burgundy);
  border-color: var(--pl-pink);
}

/* Main content surfaces */
.container-large {
  width: min(var(--pl-max), calc(100% - 48px));
  margin: 54px auto;
}

.content-box {
  position: relative;
  padding: clamp(25px, 5vw, 66px);
  background: linear-gradient(135deg, rgba(43, 28, 38, .94), rgba(25, 18, 24, .96));
  border: 1px solid var(--pl-line);
  box-shadow: var(--pl-shadow);
}

.content-box + .content-box {
  margin-top: 36px;
}

.content-box > h1:first-child,
.content-box > h2:first-child {
  position: relative;
  margin-bottom: .55em;
  padding-left: 18px;
}

.content-box > h1:first-child::before,
.content-box > h2:first-child::before {
  position: absolute;
  top: .06em;
  bottom: .08em;
  left: 0;
  width: 6px;
  content: "";
  background: var(--pl-pink);
}

.content-box h2:not(:first-child) {
  margin-top: 1.7em;
  color: var(--pl-pink-soft);
}

.content-box a:not(.page-numbers) {
  font-weight: 700;
}

.content-box figure {
  margin: 2rem 0;
}

.content-box figure img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  border: 1px solid var(--pl-line);
}

.wp-element-caption,
figcaption {
  margin-top: .65rem;
  color: var(--pl-muted);
  font-size: .85rem;
}

/* Article / post listing: intentionally editorial and asymmetrical */
.category {
  width: min(var(--pl-max), calc(100% - 48px));
  margin: 68px auto;
}

.all-posts {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.single-post {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  background: var(--pl-panel);
  border: 1px solid var(--pl-line);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .28);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.single-post:nth-child(6n + 1) {
  grid-column: span 7;
}

.single-post:nth-child(6n + 2) {
  grid-column: span 5;
  margin-top: 34px;
}

.single-post:nth-child(6n + 3) {
  grid-column: span 4;
}

.single-post:nth-child(6n + 4) {
  grid-column: span 4;
  margin-top: 28px;
}

.single-post:nth-child(6n + 5) {
  grid-column: span 4;
}

.single-post:nth-child(6n) {
  grid-column: span 8;
  margin-left: auto;
}

.single-post:hover {
  transform: translateY(-6px);
  border-color: var(--pl-pink);
  box-shadow: 9px 9px 0 rgba(255, 46, 131, .17);
}

.post-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--pl-bg-soft);
}

.single-post:nth-child(6n + 1) .post-img,
.single-post:nth-child(6n) .post-img {
  aspect-ratio: 16 / 8.5;
}

.post-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.single-post:hover .post-img img {
  transform: scale(1.045);
}

.post-title {
  padding: 22px 24px 4px;
}

.post-title h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.02;
}

.post-title a {
  color: var(--pl-white);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--pl-pink);
}

.post-descp {
  padding: 8px 24px 24px;
}

.post-descp p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.65;
}

/* WordPress tables / rates */
.wp-block-table {
  width: 100%;
  margin: 2rem 0 0;
  overflow-x: auto;
}

.wp-block-table table,
.content-box table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 7, 9, .32);
  color: var(--pl-text);
}

.wp-block-table td,
.wp-block-table th,
.content-box table td,
.content-box table th {
  padding: 17px 20px;
  border: 1px solid var(--pl-line);
  text-align: left;
}

.wp-block-table tr:first-child,
.content-box table tr:first-child {
  background: var(--pl-burgundy);
  color: var(--pl-white);
}

.wp-block-table tr:not(:first-child):nth-child(even),
.content-box table tr:not(:first-child):nth-child(even) {
  background: rgba(255, 255, 255, .035);
}

/* Pagination */
#post-nav {
  margin-top: 34px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: var(--pl-text);
  background: var(--pl-bg-soft);
  border: 1px solid var(--pl-line);
  text-decoration: none;
  font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--pl-black);
  background: var(--pl-pink);
  border-color: var(--pl-pink);
}

/* Comments */
.comments-box {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.comment {
  padding: 20px 22px;
  background: rgba(10, 7, 9, .34);
  border: 1px solid var(--pl-line);
  border-left: 4px solid var(--pl-pink);
}

.comment-meta {
  margin-bottom: 8px;
}

.comment-author .fn {
  color: var(--pl-white);
  font-size: 1rem;
}

.comment-author .says {
  color: var(--pl-muted);
  font-size: .9rem;
}

.comment-content p {
  margin: 0;
  color: var(--pl-text);
}

/* Footer */
#footer {
  margin-top: 90px;
  padding: 64px 24px 0;
  background: #0a080a;
  border-top: 3px solid var(--pl-pink);
}

.footer-parts {
  width: min(var(--pl-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 42px;
}

.footer-cols {
  min-width: 0;
}

.footer-cols:first-child {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-cols img {
  width: auto;
  max-width: 250px;
  max-height: 75px;
  object-fit: contain;
  object-position: left center;
}

.footer-cols b {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--pl-pink-soft);
  font-size: 1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-cols p {
  font-size: .9rem;
  line-height: 1.7;
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols li {
  margin: 0 0 8px;
  padding: 0;
}

.footer-cols li::marker {
  content: "";
}

.footer-cols li a {
  color: var(--pl-muted);
  text-decoration: none;
}

.footer-cols li a:hover {
  color: var(--pl-pink);
}

#footer-end {
  width: min(var(--pl-max), 100%);
  margin: 52px auto 0;
  padding: 20px 0;
  color: var(--pl-muted);
  border-top: 1px solid var(--pl-line);
  font-size: .85rem;
  text-align: center;
}

#footer-end a {
  color: var(--pl-pink-soft);
  text-decoration: none;
}

/* Floating call / WhatsApp controls */
.floating-contacts {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease;
}

.contact-btn {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--pl-white);
  border: 2px solid var(--pl-black);
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(255, 46, 131, .55);
}

.contact-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 rgba(255, 46, 131, .55);
}

.contact-btn svg {
  width: 31px;
  height: 31px;
}

.contact-btn.call svg {
  width: 27px;
  height: 27px;
}

.contact-btn.call svg path {
  stroke: #171116;
}

/* Accessibility / motion preferences */
.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 (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 901px) {
    #logox img {
    width: 30%;
    height: auto;
}
}

/* Tablet */
@media (max-width: 900px) {

    #logox img {
    width: 30%;
    height: auto;
}

  .container-large,
  .category,
  #logox,
  #nav nav {
    width: min(100% - 36px, var(--pl-max));
  }

  .all-posts {
    gap: 18px;
  }

  .single-post,
  .single-post:nth-child(n) {
    grid-column: span 6;
    margin: 0;
  }

  .single-post:nth-child(3n + 1) {
    grid-column: span 7;
  }

  .single-post:nth-child(3n + 2) {
    grid-column: span 5;
    margin-top: 25px;
  }

  .footer-parts {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-cols:first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile navigation and layout */
@media (max-width: 640px) {
  body {
    font-size: 17px;
    line-height: 1.75;
  }

  #logox {
    padding: 16px 0;
  }

 #logox img {
    width: 75%;
    height: auto;
}

  #nav nav {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    display: block;
  }

  #dropdown {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
  }

  #dropdown::after {
    content: "+";
    color: var(--pl-pink);
    font-size: 1.7rem;
    line-height: 1;
  }

  #menu-toggle:checked + #dropdown::after {
    content: "−";
  }

  #nav ul {
    display: none;
    padding: 8px 0 16px;
    border-top: 1px solid var(--pl-line);
  }

  #menu-toggle:checked ~ ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  #nav li a {
    padding: 13px 12px;
    font-size: .95rem;
    border-bottom: 1px solid rgba(86, 48, 68, .5);
  }

  .container-large {
    width: calc(100% - 28px);
    margin: 30px auto;
  }

  .content-box {
    padding: 25px 21px;
    box-shadow: 5px 5px 0 rgba(255, 46, 131, .13);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .content-box p,
  .content-box li {
    font-size: 1rem;
  }

  .category {
    width: calc(100% - 28px);
    margin: 42px auto;
  }

  .all-posts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-post,
  .single-post:nth-child(n),
  .single-post:nth-child(3n + 1),
  .single-post:nth-child(3n + 2) {
    grid-column: 1;
    margin: 0;
  }

  .post-img,
  .single-post:nth-child(6n + 1) .post-img,
  .single-post:nth-child(6n) .post-img {
    aspect-ratio: 16 / 10;
  }

  .post-title {
    padding: 20px 19px 4px;
  }

  .post-title h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.05;
  }

  .post-descp {
    padding: 8px 19px 21px;
  }

  .post-descp p {
    font-size: 1rem;
  }

  .wp-block-table td,
  .wp-block-table th,
  .content-box table td,
  .content-box table th {
    padding: 13px 12px;
    font-size: .98rem;
  }

  .navigation.pagination .nav-links {
    gap: 7px;
  }

  .page-numbers {
    min-width: 42px;
    min-height: 44px;
    padding: 8px 11px;
  }

  #footer {
    margin-top: 60px;
    padding: 42px 20px 0;
  }

  .footer-parts {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-cols:first-child {
    grid-column: auto;
  }

  .footer-cols p {
    font-size: .95rem;
  }

  #footer-end {
    margin-top: 35px;
    line-height: 1.9;
  }

  .floating-contacts {
    right: 13px;
    bottom: 14px;
    gap: 10px;
  }

  .contact-btn {
    width: 52px;
    height: 52px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  body {
    font-size: 16px;
  }

  .container-large,
  .category {
    width: calc(100% - 22px);
  }

  .content-box {
    padding: 21px 17px;
  }

  #logox img {
    width: 90%;
    height: auto;
}

  .post-title,
  .post-descp {
    padding-left: 16px;
    padding-right: 16px;
  }
}



/*
 * Modernizr note:
 * This stylesheet does not depend on Modernizr. The mobile menu uses the
 * existing checkbox + label markup, so it works without JavaScript.
 * Modernizr's .js / .no-js classes do not need special handling here.
 */
