/*
Theme Name: Laman Prime List
Theme URI: https://lamanweblucah.com/
Author: Codex
Description: Adult directory style WordPress theme inspired by compact category list layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: laman-prime-list
*/

:root {
  --bg: #cfcfcf;
  --ink: #1d1d1f;
  --muted: #6d6d72;
  --panel: #fff;
  --line: #dfdfdf;
  --accent: #ffcc00;
  --accent-dark: #d7a900;
  --header: #222;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-transform: uppercase;
}

.brand-mark {
  width: 76px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #101010;
  border: 1px solid #3e3e3e;
  color: var(--accent);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 1px;
}

.brand-name {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: .9;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 3px solid var(--accent-dark);
  font-size: 16px;
  font-weight: 800;
  color: #f4f4f4;
}

.wrap {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.search-panel {
  display: flex;
  justify-content: center;
  padding: 18px 0 0;
}

.directory-search {
  width: min(740px, 100%);
  display: grid;
  grid-template-columns: 1fr 64px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}

.directory-search input {
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px 0 0 12px;
  color: #555;
  font-size: 18px;
  outline: 0;
}

.directory-search button {
  min-height: 64px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--accent);
  color: #181818;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.directory-search svg {
  width: 31px;
  height: 31px;
}

.hero-title {
  margin: 18px auto 24px;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 760px) 1fr;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.hero-title::before,
.hero-title::after {
  content: "";
  height: 1px;
  background: #8b8b8b;
}

.hero-title h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.category-card {
  overflow: hidden;
  background: var(--panel);
  border-radius: 13px 13px 0 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}

.category-title {
  display: block;
  padding: 24px 18px 18px;
  text-align: center;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
  color: #3b3b3d;
  text-transform: uppercase;
}

.category-description {
  min-height: 77px;
  margin: 0;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #666;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

.site-list {
  list-style: none;
  margin: 0;
  padding: 18px 22px 12px;
}

.site-item {
  display: grid;
  grid-template-columns: 30px 1fr 26px;
  align-items: center;
  min-height: 38px;
  gap: 8px;
}

.favicon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #f2f2f2;
  color: #222;
  font-size: 11px;
  font-weight: 900;
  overflow: hidden;
}

.site-name {
  min-width: 0;
  color: #55575c;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-name:hover,
.category-title:hover {
  color: #000;
}

.review-link {
  width: 24px;
  height: 24px;
  color: #8a8a8a;
  display: grid;
  place-items: center;
}

.review-link svg {
  width: 22px;
  height: 22px;
}

.more-link {
  display: block;
  margin: 0 22px 22px;
  padding: 13px 16px;
  background: var(--accent);
  color: #1d1d1d;
  border-radius: 2px;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 900;
}

.more-link:hover,
.directory-search button:hover {
  background: #f1bd00;
}

.content-blocks {
  margin: 38px auto 0;
  padding: 0 0 48px;
}

.content-blocks h2 {
  margin: 26px 0 18px;
  padding: 5px 10px 6px;
  background: linear-gradient(90deg, #ffd95a 0%, #fff8df 68%, rgba(255, 255, 255, 0) 100%);
  border-radius: 4px 0 0 4px;
  color: #17202a;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.15;
  font-weight: 900;
  text-align: left;
}

.content-blocks p {
  max-width: none;
  margin: 0 0 14px;
  color: #111827;
  font-size: 16px;
  line-height: 1.42;
}

.site-footer {
  margin-top: 6px;
  padding: 24px 0 28px;
  background: #202020;
  color: #bdbdbd;
  text-align: center;
  border-top: 1px solid #111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.footer-inner {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 0 16px;
  padding: 0 0 15px;
  border-bottom: 1px solid #343434;
}

.footer-links a {
  position: relative;
  padding: 0 15px;
  color: #e7e7e7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 1px;
  height: 14px;
  background: #565656;
}

.footer-links a:hover,
.footer-copy a:hover {
  color: var(--accent);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  color: #a8a8a8;
  font-size: 14px;
}

.footer-copy a {
  color: #e8e8e8;
  font-weight: 800;
}

.rta {
  margin: 10px 0 0;
  color: #8f8f8f;
  font-size: 14px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 28px;
  background: #000;
  color: #fff;
  text-align: center;
}

.age-gate.is-visible {
  display: grid;
}

.age-logo {
  margin: 0 auto 28px;
  font-size: clamp(28px, 8vw, 52px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.age-logo span {
  color: var(--accent);
}

.age-gate p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: clamp(22px, 5vw, 32px);
}

.age-actions {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.age-confirm {
  min-width: min(380px, calc(100vw - 56px));
  padding: 22px 24px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.age-leave {
  color: #bbb;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .sites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 84px;
  }

  .brand-mark {
    width: 56px;
    height: 50px;
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .directory-search {
    grid-template-columns: 1fr 58px;
  }

  .directory-search input,
  .directory-search button {
    min-height: 58px;
  }

  .hero-title {
    grid-template-columns: 28px 1fr 28px;
    gap: 8px;
  }

  .sites-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
