/*
Theme Name: LocalDude
Theme URI: https://malaypornsites.com/
Author: MalayPornSites
Description: Dark compact directory theme for ranked adult site lists.
Version: 1.1.0
Requires at least: 6.0
Text Domain: localdude
*/

:root {
  --bg-0: #0d0c11;
  --bg-1: #16151a;
  --bg-2: #1e1d24;
  --bg-3: #26252e;
  --accent: #e53359;
  --accent-h: #ff3f65;
  --text-1: #f1f1f1;
  --text-2: rgba(241, 241, 241, .7);
  --text-3: rgba(241, 241, 241, .42);
  --border: rgba(241, 241, 241, .08);
  --border-h: rgba(241, 241, 241, .18);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --font-head: "Space Grotesk", "Arial Black", system-ui, sans-serif;
  --font-body: Inter, Arial, system-ui, sans-serif;
  --transition: 200ms cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 60px);
}

.nc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 17, .92);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}

.nc-header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
}

.nc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: clamp(.92rem, 1.7vw, 1.05rem);
  font-weight: 800;
  color: var(--text-1);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
}

.logo-mark svg {
  width: 34px;
  height: 34px;
  display: block;
  overflow: visible;
}

.logo-mark-pin {
  fill: url("#header-logo-gradient");
}

.logo-mark-dot {
  fill: #fff;
}

.logo-mark-shadow {
  fill: rgba(229, 51, 89, .28);
  transform: translateY(3px);
  filter: blur(1px);
}

.accent {
  color: var(--accent);
}

.brand-accent {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 950;
  color: var(--accent-h);
  text-shadow: 0 0 15px rgba(229, 51, 89, .35);
  transform: translateY(.5px);
}

.nc-footer-logo .brand-accent {
  font-size: 1.06em;
}

.nc-search {
  position: relative;
  flex: 1;
  max-width: 860px;
  min-width: 0;
}

.nc-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nc-search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 51, 89, .15);
}

.nc-search-input-wrap span {
  color: var(--text-3);
  font-weight: 800;
}

.nc-search-input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text-1);
  font-size: .875rem;
}

.nc-search-input::placeholder {
  color: var(--text-3);
}

.nc-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.sort-like {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.sort-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-xl);
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.sort-pill {
  color: var(--text-2);
}

.sort-pill.active {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-2);
  color: var(--text-1);
  border: 1px solid var(--border);
}

.btn-ghost {
  color: var(--text-2);
}

.mobile-filters {
  display: none;
}

.home-intro {
  padding-top: 24px;
  padding-bottom: 8px;
}

.home-intro h1 {
  max-width: 760px;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  line-height: 1;
}

.home-intro p {
  max-width: 920px;
  margin-top: 10px;
  color: var(--text-2);
  font-size: .98rem;
  line-height: 1.7;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 24px;
  align-items: start;
}

.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
}

.card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.category-flag {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 20px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  background: #191820;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  line-height: 1;
  flex: 0 0 auto;
}

.category-flag-emoji {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 17px;
  line-height: 1;
  transform: scale(1.2);
}

.category-flag-code {
  display: none;
  place-items: center;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #24232b, #0f0e13);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.category-flag-emoji:empty + .category-flag-code {
  display: grid;
}

.card-see-all {
  position: absolute;
  right: 12px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-see-all:hover {
  color: var(--accent-h);
}

.card-sites {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
}

.site-row-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  transition: background var(--transition);
}

.site-row-wrap:hover {
  background: var(--bg-2);
}

.site-row {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
  padding: 5px 0 5px 10px;
  color: inherit;
}

.site-rank {
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-3);
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 800;
}

.site-rank.r1 {
  color: #ffd700;
}

.site-rank.r2 {
  color: #c0c0c0;
}

.site-rank.r3 {
  color: #cd7f32;
}

.site-logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}

.site-logo-fallback {
  color: var(--text-2);
  font-size: 10px;
  font-weight: 800;
}

.site-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text-1);
  font-size: .8125rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-new {
  flex-shrink: 0;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.site-visits {
  flex-shrink: 0;
  color: var(--text-3);
  font-size: .7rem;
}

.site-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  color: var(--text-3);
  opacity: .5;
  transition: opacity var(--transition), color var(--transition);
}

.site-row-wrap:hover .site-info-btn {
  opacity: 1;
  color: var(--accent);
}

.site-empty {
  display: block;
  padding: 14px 12px;
  color: var(--text-3);
  font-size: .8125rem;
}

.content-page {
  max-width: 960px;
  margin: 24px auto;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.review-shell {
  padding-top: 18px;
  padding-bottom: 34px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text-3);
  font-size: .82rem;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.review-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 72px;
}

.review-shot {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 230px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-3);
}

.review-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.review-card,
.next-sites,
.review-main,
.related-review-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.review-card {
  padding: 12px;
}

.review-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.review-card-title img {
  border-radius: 6px;
  background: var(--bg-3);
}

.open-site-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.rating-box > span {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
}

.rating-stars {
  color: #ffd15c;
  font-size: .85rem;
  letter-spacing: 1px;
}

.rating-box small {
  color: var(--text-3);
}

.next-sites {
  padding: 12px;
}

.next-sites h2 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: .84rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.next-sites a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--text-2);
  font-size: .84rem;
}

.next-sites img {
  border-radius: 5px;
  background: var(--bg-3);
}

.next-sites a:hover {
  color: var(--accent);
}

.review-main {
  padding: clamp(18px, 3vw, 30px);
}

.review-kicker {
  display: flex;
  gap: 10px;
  color: var(--text-3);
  font-size: .82rem;
  font-weight: 700;
}

.review-kicker a {
  color: var(--accent);
}

.review-main h1 {
  margin: 8px 0 4px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.review-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.review-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-3);
}

.review-heading h1 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.15;
}

.review-domain {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
}

.review-body {
  margin-top: 18px;
  color: var(--text-2);
}

.review-more-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-body-collapsible {
  position: relative;
  max-height: 780px;
  overflow: hidden;
}

.review-body-collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(22, 21, 26, 0), var(--bg-1));
  pointer-events: none;
}

.review-more-toggle:checked + .review-body-collapsible {
  max-height: none;
}

.review-more-toggle:checked + .review-body-collapsible::after {
  display: none;
}

.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 150px;
  height: 38px;
  margin: 18px auto 0;
  padding: 0 18px;
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.show-more-btn .less-text,
.review-more-toggle:checked ~ .show-more-btn .more-text {
  display: none;
}

.review-more-toggle:checked ~ .show-more-btn .less-text {
  display: inline;
}

.review-body h2 {
  margin: 28px 0 10px;
  color: var(--text-1);
  font-family: var(--font-head);
  font-size: 1.35rem;
}

.review-body h3 {
  margin: 18px 0 8px;
  color: var(--text-1);
  font-size: 1rem;
}

.review-body p,
.review-body ul,
.review-body ol {
  margin-bottom: 14px;
}

.review-body ul {
  padding-left: 20px;
}

.review-body li {
  margin-bottom: 6px;
}

.review-body a {
  color: var(--accent);
  font-weight: 700;
}

.related-review-grid {
  margin-top: 30px;
}

.related-review-grid h2 {
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.related-review-grid > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.related-review-card {
  padding: 12px;
}

.related-review-card img {
  border-radius: 6px;
  background: var(--bg-3);
}

.related-review-card h3 {
  margin: 8px 0;
  font-size: .95rem;
}

.related-review-card p {
  color: var(--text-3);
  font-size: .82rem;
}

.read-review {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
}

.blog-index {
  padding-top: 30px;
  padding-bottom: 42px;
}

.blog-index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-index-head h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.blog-index-head p {
  margin-top: 8px;
  color: var(--text-3);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.blog-card {
  min-width: 0;
}

.blog-card > a {
  display: block;
  height: 100%;
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.blog-card > a:hover {
  background: var(--bg-2);
  border-color: var(--border-h);
  transform: translateY(-1px);
}

.blog-thumb {
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-3);
}

.blog-thumb img,
.blog-single-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-card time,
.blog-single-head time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
}

.blog-card h2 {
  margin-bottom: 8px;
  color: var(--text-1);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.blog-card p {
  color: var(--text-3);
  font-size: .9rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--text-2);
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-1);
}

.blog-pagination .current,
.blog-pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.blog-empty,
.blog-single {
  margin-top: 24px;
  margin-bottom: 42px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.blog-single {
  max-width: 940px;
}

.blog-single-head h1 {
  max-width: 820px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.blog-single-head p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 1rem;
}

.blog-single-thumb {
  overflow: hidden;
  margin: 22px 0;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
}

.blog-content {
  max-width: 760px;
}

.content-page h1 {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.content-page h2 {
  margin: 24px 0 8px;
  color: var(--text-1);
  font-family: var(--font-head);
  font-size: 1.25rem;
}

.content-page p,
.content-page li {
  color: var(--text-2);
}

.content-page ul {
  margin: 10px 0 14px 22px;
}

.content-page a {
  color: var(--accent);
  font-weight: 800;
}

.localdude-contact-form {
  margin-top: 18px;
}

.localdude-contact-form form {
  display: grid;
  gap: 12px;
}

.localdude-contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text-2);
  font-weight: 800;
}

.localdude-contact-form input,
.localdude-contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-2);
  color: var(--text-1);
  padding: 11px 12px;
  outline: 0;
}

.localdude-contact-form input:focus,
.localdude-contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 51, 89, .15);
}

.localdude-contact-form button {
  width: max-content;
  min-width: 150px;
  height: 40px;
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.contact-success,
.contact-errors {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-success {
  background: rgba(37, 165, 91, .12);
  color: #8be0ad;
}

.contact-errors {
  background: rgba(229, 51, 89, .12);
  color: #ff9aae;
}

.top-sites-page {
  padding-top: 30px;
  padding-bottom: 42px;
}

.top-sites-head {
  margin-bottom: 18px;
}

.top-sites-head h1 {
  max-width: 760px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.top-sites-head p {
  margin-top: 8px;
  color: var(--text-3);
  font-weight: 800;
}

.top-sites-list {
  display: grid;
  gap: 10px;
}

.top-site-card {
  display: grid;
  grid-template-columns: 42px 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.top-site-card:hover {
  background: var(--bg-2);
  border-color: var(--border-h);
  transform: translateY(-1px);
}

.top-rank {
  font-family: var(--font-head);
  color: var(--text-3);
  font-size: 1.2rem;
  font-weight: 900;
  text-align: center;
}

.top-site-card:nth-child(1) .top-rank {
  color: #ffd700;
}

.top-site-card:nth-child(2) .top-rank {
  color: #c0c0c0;
}

.top-site-card:nth-child(3) .top-rank {
  color: #cd7f32;
}

.top-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: 12px;
}

.top-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-logo span {
  color: var(--text-2);
  font-weight: 900;
}

.top-site-info {
  min-width: 0;
  overflow: hidden;
}

.top-site-info h2 {
  font-family: var(--font-head);
  font-size: 1.06rem;
  line-height: 1.15;
  margin: 0;
}

.top-site-info h2 a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-site-info h2 a:hover {
  color: var(--accent);
}

.top-site-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  color: var(--text-3);
  font-size: .82rem;
  font-weight: 800;
  min-width: 0;
  flex-wrap: wrap;
}

.top-site-meta a {
  color: var(--accent);
  min-width: 0;
  overflow-wrap: anywhere;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.review-link,
.visit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-xl);
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.review-link {
  background: var(--bg-3);
  color: var(--text-1);
}

.visit-link {
  background: var(--accent);
  color: #fff;
}

.nc-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  color: var(--text-2);
  padding: 22px 0;
}

.nc-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nc-footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
}

.nc-footer-desc {
  flex: 1 1 280px;
  max-width: 520px;
  margin: 0;
  color: var(--text-3);
  font-size: .75rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8125rem;
}

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

.nc-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.nc-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1120px) {
  .sort-like {
    display: none;
  }

  .mobile-filters {
    display: flex;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }

  .sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    white-space: nowrap;
  }

  .sort-dropdown button {
    padding: 7px 10px;
    border-radius: var(--radius-xl);
    background: var(--bg-2);
    color: var(--text-2);
  }

  .sort-dropdown button.active {
    background: var(--accent);
    color: #fff;
  }
}

@media (max-width: 768px) {
  .nc-header-inner {
    justify-content: space-between;
    height: 52px;
  }

  .nc-mobile-toggle {
    display: flex;
  }

  .nc-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nc-search-desktop,
  .nc-desktop-only {
    display: none;
  }

  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-side {
    position: static;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .top-site-card {
    grid-template-columns: 34px 48px minmax(0, 1fr);
    align-items: center;
  }

  .top-actions {
    grid-column: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .top-sites-page {
    padding-top: 22px;
  }

  .top-sites-head h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }

  .top-site-card {
    grid-template-columns: 28px 42px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .top-rank {
    font-size: 1rem;
  }

  .top-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .top-site-info h2 {
    font-size: .98rem;
  }

  .top-site-meta {
    gap: 7px;
    font-size: .75rem;
  }

  .review-link,
  .visit-link {
    height: 31px;
    padding: 0 10px;
    font-size: .76rem;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .nc-logo {
    font-size: .92rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .nc-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

.nc-logo-image img,
.nc-footer-logo img {
    display: block;
    width: min(215px, 58vw);
    height: auto;
}

.nc-logo-image {
    min-width: 215px;
}

.nc-footer-logo {
    display: inline-flex;
    align-items: center;
}

/* IndianPornSites-inspired Malay directory refresh */
:root {
    --ips-bg: #f3f1ec;
    --ips-card: #fffaf2;
    --ips-card-2: #ffffff;
    --ips-ink: #1d1715;
    --ips-muted: #796d63;
    --ips-line: #ded3c4;
    --ips-red: #e33a28;
    --ips-red-dark: #b9271b;
    --ips-gold: #f2b544;
}

body {
    background: var(--ips-bg) !important;
    color: var(--ips-ink);
    font-family: Arial, Helvetica, sans-serif;
}

.nc-header,
.mobile-filters,
.nc-footer,
.sort-like,
.nc-nav-right,
.nc-mobile-toggle {
    display: none !important;
}

.ips-topbar {
    background: #201512;
    border-bottom: 4px solid var(--ips-red);
    color: #fff;
}

.ips-topbar-inner {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ips-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    flex: 0 0 auto;
}

.ips-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--ips-red);
    color: #fff;
    border-radius: 50%;
    border: 3px solid var(--ips-gold);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

.ips-brand-text {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.ips-brand-text b {
    color: var(--ips-gold);
}

.ips-brand-text span {
    color: #cbbeb4;
    font-size: 20px;
}

.ips-search {
    flex: 1 1 420px;
    max-width: 520px;
}

.ips-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #4a3934;
    border-radius: 3px;
    background: #fff;
    color: var(--ips-ink);
    padding: 0 14px;
    font-size: 15px;
}

.ips-main {
    padding: 24px 0 0;
}

.ips-shell,
.ips-copy {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

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

.ips-card {
    background: var(--ips-card);
    border: 1px solid var(--ips-line);
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(80, 50, 35, .08);
    padding: 16px 16px 14px;
    min-height: 300px;
}

.ips-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ips-line);
}

.ips-card-title {
    color: var(--ips-red-dark);
    font-size: 21px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1.15;
}

.ips-card-title:hover,
.ips-site-link:hover span,
.ips-see-all:hover,
.ips-footer a:hover {
    color: var(--ips-red);
    text-decoration: underline;
}

.ips-count {
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2b201d;
    color: #fff;
    border-radius: 2px;
    font-size: 15px;
}

.ips-card-desc {
    color: var(--ips-muted);
    font-size: 14px;
    line-height: 1.45;
    min-height: 62px;
    margin: 12px 0 10px;
}

.ips-site-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.ips-site-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
}

.ips-rank {
    color: #8d7e72;
    text-align: right;
    font-weight: 700;
}

.ips-site-link {
    min-width: 0;
    color: #2b211d;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ips-site-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.ips-site-link small {
    color: #9a8c7f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.ips-site-link b {
    color: var(--ips-red);
    font-size: 12px;
}

.ips-see-all {
    display: inline-block;
    margin-top: 12px;
    color: var(--ips-red-dark);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.ips-empty {
    color: var(--ips-muted);
    font-size: 14px;
}

.ips-copy {
    margin-top: 26px;
    background: var(--ips-card-2);
    border-top: 4px solid var(--ips-red);
    padding: 24px 22px 28px;
    line-height: 1.62;
}

.ips-copy h1 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
    color: var(--ips-ink);
}

.ips-copy h2 {
    margin: 22px 0 8px;
    font-size: 19px;
    color: var(--ips-red-dark);
}

.ips-copy p {
    margin: 0 0 10px;
    color: #50453d;
}

.ips-footer {
    margin-top: 0;
    background: #201512;
    color: #e8ded5;
    border-top: 4px solid var(--ips-gold);
}

.ips-footer-inner {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 28px 0;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 24px;
}

.ips-footer-brand {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.ips-footer-brand span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--ips-red);
    color: #fff;
    border: 2px solid var(--ips-gold);
    font-size: 13px;
}

.ips-footer p {
    margin: 0;
    color: #cbbeb4;
    line-height: 1.55;
}

.ips-footer h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--ips-gold);
    text-transform: uppercase;
}

.ips-footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 6px 0;
    font-size: 14px;
}

.ips-footer-bottom {
    border-top: 1px solid #3b2c27;
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 14px 0 18px;
    color: #b7aaa1;
    font-size: 13px;
}

@media (max-width: 980px) {
    .ips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ips-topbar-inner { align-items: stretch; flex-direction: column; padding: 14px 0; }
    .ips-search { max-width: none; flex-basis: auto; width: 100%; }
}

@media (max-width: 640px) {
    .ips-grid { grid-template-columns: 1fr; gap: 12px; }
    .ips-brand-text { font-size: 24px; }
    .ips-brand-text span { font-size: 16px; }
    .ips-brand-mark { width: 42px; height: 42px; }
    .ips-card { min-height: 0; padding: 14px; }
    .ips-card-title { font-size: 19px; }
    .ips-footer-inner { grid-template-columns: 1fr; gap: 18px; }
}
