
:root {
  --background: #101014;
  --surface: #19191f;
  --surface-light: #222229;
  --border: #303038;
  --orange: #ff9000;
  --text: #f5f5f5;
  --muted: #a3a3ad;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  background: var(--orange);
  color: #111;
  padding: 10px 15px;
  border-radius: 5px;
}

.skip-link:focus {
  left: 10px;
}

/* HEADER */

.wellness-header {
  background: #151519;
  border-bottom: 1px solid var(--border);
}

.header-top {
  max-width: 1250px;
  margin: auto;
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wellness-logo {
  display: inline-flex;
  flex-direction: column;
  color: white;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.wellness-logo span {
  color: var(--orange);
  display: inline;
}

.wellness-logo small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2.5px;
  margin-top: 5px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
}

.primary-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #d4d4d9;
  transition: color .2s;
}

.primary-nav a:hover {
  color: var(--orange);
}

.wellness-tagline {
  text-align: center;
  background: #202026;
  padding: 9px 15px;
  font-size: 12px;
  color: #aaaab3;
}

.menu-toggle {
  display: none;
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
}

/* PAGE LAYOUT */

.page-layout {
  width: min(1250px, calc(100% - 40px));
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 35px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

/* INTRODUCTION */

.welcome-section {
  padding: 48px 42px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,144,0,.15), transparent 35%),
    linear-gradient(135deg, #222228, #17171d);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 42px;
}

.welcome-label,
.eyebrow {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.welcome-section h1 {
  max-width: 650px;
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.17;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.welcome-section p {
  max-width: 620px;
  color: #b9b9c2;
  font-size: 15px;
  margin-bottom: 25px;
}

.primary-button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--orange);
  color: #151515;
  font-size: 13px;
  font-weight: 800;
  border-radius: 5px;
  transition: background .2s, transform .2s;
}

.primary-button:hover {
  background: #ffab31;
  transform: translateY(-2px);
}

/* SECTION HEADINGS */

.content-section,
.featured-section {
  margin-bottom: 48px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 25px;
  line-height: 1.25;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.section-heading > a {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* FEATURED ARTICLE */

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.featured-image {
  min-height: 260px;
  display: flex;
  align-items: end;
  padding: 20px;
  background:
    linear-gradient(0deg, rgba(0,0,0,.7), transparent),
    linear-gradient(135deg, #3c3025, #17171d);
}

.featured-image span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.featured-details {
  padding: 30px;
  align-self: center;
}

.article-category {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.featured-details h3 {
  font-size: 22px;
  line-height: 1.35;
  margin: 12px 0;
}

.featured-details p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.featured-details a,
.article-info a {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

/* CATEGORY CARDS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 23px;
  transition: border-color .2s, transform .2s;
}

.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #30251a;
  color: var(--orange);
  border-radius: 8px;
  font-size: 20px;
  margin-bottom: 13px;
}

.category-card h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.category-card p {
  font-size: 12px;
  color: var(--muted);
}

/* ARTICLE CARDS */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #69502e;
}

.article-image {
  height: 145px;
  background: linear-gradient(135deg, #433326, #1c1c23);
}

.image-two {
  background: linear-gradient(135deg, #343b42, #1c1c23);
}

.image-three {
  background: linear-gradient(135deg, #47332e, #1c1c23);
}

.article-info {
  padding: 17px;
}

.article-info > span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.article-info h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 8px 0;
}

.article-info p {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 12px;
}

/* Q&A */

.qa-list {
  border-top: 1px solid var(--border);
}

.qa-list > a {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 5px;
  border-bottom: 1px solid var(--border);
}

.qa-list > a > span:first-child {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.qa-list h3 {
  font-size: 14px;
}

.qa-list p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.qa-list .arrow {
  margin-left: auto;
  color: var(--orange);
}

/* ABOUT */

.about-section {
  background: #1b1b21;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 32px;
  margin-bottom: 30px;
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.about-section p {
  color: #b5b5be;
  font-size: 13px;
  max-width: 700px;
}

/* SIDEBAR */

.wellness-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
}

.sidebar-box h3 {
  font-size: 11px;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  color: var(--orange);
}

.sidebar-box a {
  display: block;
  color: #c5c5cc;
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #29292f;
}

.sidebar-box a:hover {
  color: var(--orange);
}

.sidebar-box hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 13px 0;
}

.sidebar-note {
  padding: 20px;
  background: #282119;
  border: 1px solid #51402b;
  border-radius: 8px;
}

.sidebar-note strong {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 1px;
}

.sidebar-note p {
  color: #c0b8ae;
  font-size: 12px;
  margin-top: 9px;
}

/* FOOTER */

.wellness-footer {
  background: #151519;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-content {
  width: min(1250px, calc(100% - 40px));
  margin: auto;
  padding: 45px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

.footer-content p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.footer-content h3 {
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-content > div > a:not(.wellness-logo) {
  display: block;
  color: var(--muted);
  font-size: 12px;
  padding: 5px 0;
}

.footer-content a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px;
  color: #888891;
  font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wellness-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .sidebar-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .header-top {
    padding: 17px 16px;
  }

  .wellness-logo {
    font-size: 25px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 5px;
    border-bottom: 1px solid var(--border);
  }

  .wellness-tagline {
    font-size: 10px;
  }

  .page-layout {
    width: calc(100% - 28px);
    margin: 22px auto;
    gap: 25px;
  }

  .welcome-section {
    padding: 30px 22px;
    margin-bottom: 32px;
  }

  .welcome-section h1 {
    font-size: 32px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 180px;
  }

  .featured-details {
    padding: 22px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .category-card {
    padding: 15px;
  }

  .category-card h3 {
    font-size: 13px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
  }

  .article-image {
    height: 100%;
    min-height: 145px;
  }

  .article-info {
    padding: 13px;
  }

  .wellness-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-note {
    grid-column: auto;
  }

  .about-section {
    padding: 23px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-content > div:first-child {
    grid-column: 1 / -1;
  }
}


/* =========================================
   PORNVIEW WELLNESS ARTICLE LIBRARY
========================================= */

.library-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.library-stat strong {
  color: var(--orange);
  font-size: 25px;
}

.library-stat span {
  color: var(--muted);
  font-size: 12px;
}

.topic-button {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}

.topic-link {
  display: inline-block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  margin-top: 12px;
}

.article-search {
  margin-bottom: 20px;
}

.article-search label {
  display: block;
  color: #dedee4;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
}

.search-input-wrap {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 7px;
}

.search-input-wrap:focus-within {
  border-color: var(--orange);
}

.search-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: white;
  font-size: 13px;
}

.search-input-wrap input::placeholder {
  color: #85858e;
}

.search-input-wrap button {
  border: 0;
  border-radius: 5px;
  background: var(--orange);
  color: #171717;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.article-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: #c6c6ce;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.filter-button:hover,
.filter-button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #171717;
}

.article-results-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 11px;
}

.article-results-heading span:last-child {
  color: var(--orange);
  font-weight: 800;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.article-card-meta span {
  color: var(--muted);
  font-size: 10px;
}

.article-card-meta a {
  white-space: nowrap;
}

.article-loading {
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0;
}

.no-articles {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.no-articles[hidden] {
  display: none;
}

.no-articles h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.no-articles p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 17px;
}

.no-articles button {
  border: 0;
  background: var(--orange);
  color: #151515;
  padding: 10px 17px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.topic-button:focus-visible,
.filter-button:focus-visible,
.search-input-wrap button:focus-visible,
.no-articles button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

@media(max-width:600px) {

  .search-input-wrap {
    gap: 5px;
  }

  .search-input-wrap input {
    padding: 10px 7px;
    font-size: 12px;
  }

  .search-input-wrap button {
    padding: 0 13px;
  }

  .article-filters {
    gap: 7px;
  }

  .filter-button {
    padding: 8px 10px;
    font-size: 10px;
  }

  .article-results-heading {
    font-size: 10px;
  }

  .article-card-meta {
    flex-wrap: wrap;
  }

}
