/*
Theme Name: SugarDaddySite
Theme URI: https://www.sugardaddysite.org/
Author: SugarDaddySite.org
Description: A responsive editorial WordPress theme for SugarDaddySite.org with a ranked homepage, paginated blog archive, and full review pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sugardaddysite
*/

:root {
  --sds-burgundy: #800000;
  --sds-burgundy-dark: #5d0000;
  --sds-gold: #d2a92f;
  --sds-gold-soft: #e5c45c;
  --sds-ink: #241d1d;
  --sds-heading: #2a1515;
  --sds-muted: #655858;
  --sds-cream: #f7f3ed;
  --sds-cream-light: #fff9e8;
  --sds-line: #e2d9d2;
  --sds-white: #fff;
  --sds-shadow: 0 12px 32px rgba(77, 29, 21, .07);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sds-cream);
  color: var(--sds-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--sds-burgundy); }
a:hover { color: var(--sds-burgundy-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sds-gold-soft);
  outline-offset: 3px;
}
.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;
}
.sds-shell { width: min(100%, 1180px); margin: 0 auto; padding: 0 28px; }

/* Header */
.sds-site-header {
  position: relative;
  z-index: 10;
  background: var(--sds-burgundy);
  color: var(--sds-white);
  box-shadow: 0 6px 24px rgba(63, 0, 0, .16);
}
.sds-header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sds-site-logo { display: block; line-height: 0; }
.sds-site-logo img { display: block; width: 294px; max-width: 58vw; }
.sds-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.sds-nav a {
  color: var(--sds-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 600;
}
.sds-nav .current-menu-item > a,
.sds-nav a:hover { color: var(--sds-gold-soft); }

/* Shared typography */
.sds-eyebrow {
  margin: 0 0 14px;
  color: var(--sds-burgundy);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 600;
}
.sds-page-title,
.sds-hero h1,
.sds-review-hero h1,
.sds-article-title {
  margin: 0;
  color: var(--sds-heading);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.sds-hero h1 { max-width: 820px; font-size: clamp(36px, 6vw, 66px); line-height: 1.02; }
.sds-section-title { margin: 0; color: var(--sds-heading); font-family: Georgia, 'Times New Roman', serif; font-size: 31px; line-height: 1.15; font-weight: 400; }
.sds-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.sds-section-note { margin: 0; color: #746767; font-size: 13px; line-height: 1.5; }

/* Homepage hero */
.sds-hero {
  position: relative;
  padding: 68px 0 42px;
  background:
    radial-gradient(circle at 85% 18%, rgba(201, 161, 48, .18) 0 90px, transparent 91px),
    linear-gradient(135deg, #fffdf8 0%, #f6ecdd 100%);
  border-bottom: 1px solid #e3d6c6;
}
.sds-hero-copy { max-width: 700px; margin: 20px 0 0; color: var(--sds-muted); font-size: 16px; line-height: 1.65; }
.sds-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 13px;
  background: var(--sds-burgundy);
  color: var(--sds-white);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
}
.sds-update-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sds-gold-soft); }

/* Ranking */
.sds-rank-section { padding: 42px 0 70px; background: var(--sds-white); }
.sds-ranking { border-top: 4px solid var(--sds-burgundy); background: var(--sds-white); box-shadow: 0 18px 44px rgba(77, 29, 21, .08); }
.sds-ranking-row {
  min-height: 112px;
  display: grid;
  grid-template-columns: 54px minmax(170px, 220px) minmax(260px, 1fr) 132px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid #e6ddd7;
  border-top: 0;
}
.sds-ranking-row:first-child { background: linear-gradient(90deg, var(--sds-cream-light) 0%, var(--sds-white) 62%); }
.sds-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3ece6;
  color: var(--sds-burgundy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}
.sds-ranking-row:first-child .sds-rank { background: var(--sds-gold); color: #2d1c00; }
.sds-brand-logo { min-height: 54px; display: flex; align-items: center; color: #251b1b; }
.sds-brand-img { display: block; max-width: 190px; max-height: 44px; object-fit: contain; object-position: left center; }
.sds-brand-img--sdm { max-width: 205px; max-height: 52px; }
.sds-combo-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.sds-combo-logo img { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; }
.sds-advantage { margin: 0; color: #594d4d; font-size: 14px; line-height: 1.55; }
.sds-review-link { color: var(--sds-burgundy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; white-space: nowrap; }
.sds-primary-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--sds-burgundy);
  border-radius: 4px;
  background: var(--sds-burgundy);
  color: var(--sds-white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.sds-primary-button:hover { background: var(--sds-burgundy-dark); color: var(--sds-white); transform: translateY(-1px); }
.sds-disclosure { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0 0; color: #7b6b67; font-size: 11px; line-height: 1.5; }
.sds-disclosure-mark { color: #a57d12; font-size: 14px; }

/* Blog cards */
.sds-blog-section { padding: 68px 0 74px; background: var(--sds-cream); }
.sds-view-all { color: var(--sds-burgundy); text-decoration: none; font-size: 13px; font-weight: 600; }
.sds-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sds-post-card { overflow: hidden; display: flex; flex-direction: column; background: var(--sds-white); border: 1px solid var(--sds-line); box-shadow: var(--sds-shadow); }
.sds-post-art {
  position: relative;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 17px;
  background-size: cover;
  background-position: center;
  color: var(--sds-white);
}
.sds-post-art::before,
.sds-post-art::after { content: ''; position: absolute; border-radius: 50%; }
.sds-post-art::before { width: 170px; height: 170px; right: -36px; top: -72px; border: 1px solid rgba(255,255,255,.34); }
.sds-post-art::after { width: 90px; height: 90px; right: 18px; top: 18px; background: rgba(229,196,92,.22); }
.sds-post-art.has-thumbnail::before { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(0deg, rgba(49, 0, 0, .72), rgba(49, 0, 0, .08)); }
.sds-post-art.has-thumbnail::after { display: none; }
.sds-art-1 { background-image: linear-gradient(135deg, #3b0c0c, #8d2020); }
.sds-art-2 { background-image: linear-gradient(135deg, #7d1717, #c08d56); }
.sds-art-3 { background-image: linear-gradient(135deg, #2e2222, #765858); }
.sds-art-4 { background-image: linear-gradient(135deg, #8b3146, #d4a342); }
.sds-art-5 { background-image: linear-gradient(135deg, #4d1515, #9b6a42); }
.sds-art-6 { background-image: linear-gradient(135deg, #5d1422, #c8a13c); }
.sds-art-label { position: relative; z-index: 1; color: var(--sds-white); letter-spacing: .14em; font-size: 10px; font-weight: 600; }
.sds-post-body { min-height: 190px; padding: 20px 20px 22px; display: flex; flex: 1; flex-direction: column; }
.sds-post-meta { color: #9a7a28; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.sds-post-title { margin: 10px 0 12px; color: #281b1b; font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.3; font-weight: 400; }
.sds-post-title a { color: inherit; text-decoration: none; }
.sds-post-title a:hover { color: var(--sds-burgundy); }
.sds-post-link { margin-top: auto; color: var(--sds-burgundy); text-decoration: none; font-size: 12px; font-weight: 600; }
.sds-empty-state { grid-column: 1 / -1; margin: 0; padding: 30px; background: var(--sds-white); border: 1px solid var(--sds-line); color: var(--sds-muted); }

/* Blog archive */
.sds-archive-hero { padding: 56px 0 40px; background: linear-gradient(135deg, #fffdf8, #f6ecdd); border-bottom: 1px solid #e3d6c6; }
.sds-page-title { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; }
.sds-archive-copy { max-width: 650px; margin: 16px 0 0; color: var(--sds-muted); line-height: 1.65; }
.sds-archive-main { padding: 54px 0 74px; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nav-links .page-numbers { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; background: var(--sds-white); border: 1px solid #d9cec8; color: var(--sds-burgundy); text-decoration: none; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--sds-burgundy); border-color: var(--sds-burgundy); color: var(--sds-white); }

/* Reviews */
.sds-review-hero { padding: 58px 0 46px; background: linear-gradient(135deg, #fffdf8 0%, #f6ecdd 100%); border-bottom: 1px solid #e3d6c6; }
.sds-review-breadcrumb { margin: 0 0 22px; color: #7b6b67; font-size: 12px; }
.sds-review-breadcrumb a { text-decoration: none; }
.sds-review-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 46px; }
.sds-review-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.sds-review-deck { max-width: 720px; margin: 18px 0 0; color: var(--sds-muted); font-size: 17px; line-height: 1.65; }
.sds-review-logo-card { min-height: 190px; display: grid; place-items: center; padding: 34px; background: var(--sds-white); border-top: 4px solid var(--sds-burgundy); box-shadow: var(--sds-shadow); }
.sds-review-logo-card img { max-width: 230px; max-height: 82px; object-fit: contain; }
.sds-review-main { padding: 58px 0 76px; background: var(--sds-white); }
.sds-review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 54px; }
.sds-review-content { color: #493f3f; font-size: 16px; line-height: 1.75; }
.sds-review-content h2 { margin: 42px 0 14px; color: var(--sds-heading); font-family: Georgia, 'Times New Roman', serif; font-size: 30px; line-height: 1.2; font-weight: 400; }
.sds-review-content h2:first-child { margin-top: 0; }
.sds-review-content p { margin: 0 0 18px; }
.sds-review-content ul { margin: 0 0 22px; padding-left: 22px; }
.sds-review-content li { margin-bottom: 10px; }
.sds-review-note { padding: 18px 20px; background: var(--sds-cream-light); border-left: 4px solid var(--sds-gold); color: #5a4d40; font-size: 14px; }
.sds-review-sidebar { position: sticky; top: 28px; padding: 26px; background: var(--sds-cream); border: 1px solid var(--sds-line); }
.admin-bar .sds-review-sidebar { top: 60px; }
.sds-review-sidebar h2 { margin: 0 0 16px; color: var(--sds-heading); font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; }
.sds-review-sidebar ul { margin: 0 0 22px; padding-left: 20px; color: #594d4d; font-size: 14px; line-height: 1.6; }
.sds-review-sidebar .sds-primary-button { width: 100%; min-height: 46px; }
.sds-review-updated { margin: 14px 0 0; color: #7b6b67; font-size: 11px; line-height: 1.5; text-align: center; }

/* Standard pages and posts */
.sds-content-wrap { padding: 58px 0 76px; background: var(--sds-white); }
.sds-article { width: min(100%, 780px); margin: 0 auto; }
.sds-article-header { margin-bottom: 34px; }
.sds-article-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
.sds-article-meta { margin: 16px 0 0; color: #8a746f; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sds-article-thumbnail { margin: 0 0 34px; }
.sds-entry-content { color: #453b3b; font-size: 17px; line-height: 1.8; }
.sds-entry-content h2, .sds-entry-content h3 { color: var(--sds-heading); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.25; }
.sds-entry-content h2 { margin: 42px 0 16px; font-size: 31px; }
.sds-entry-content h3 { margin: 32px 0 14px; font-size: 24px; }
.sds-entry-content img { margin: 18px 0; }
.sds-entry-content a { text-underline-offset: 3px; }
.sds-entry-content blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sds-gold); color: #6b5850; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; }

/* Footer */
.sds-site-footer { background: var(--sds-burgundy); color: var(--sds-white); }
.sds-footer-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sds-footer-row p { margin: 0; font-size: 11px; opacity: .92; }
.sds-footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.sds-footer-nav a { color: var(--sds-white); text-decoration: none; font-size: 11px; }

@media (max-width: 850px) {
  .sds-ranking-row { grid-template-columns: 46px 145px minmax(210px, 1fr) 106px; gap: 14px; padding: 18px; }
  .sds-brand-img { max-width: 142px; max-height: 38px; }
  .sds-brand-img--sdm { max-width: 150px; max-height: 44px; }
  .sds-combo-logo { gap: 7px; font-size: 15px; }
  .sds-combo-logo img { width: 34px; height: 34px; border-radius: 7px; }
  .sds-post-grid { gap: 14px; }
  .sds-post-art { height: 120px; }
  .sds-post-body { min-height: 210px; padding: 16px; }
  .sds-review-hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
  .sds-review-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
}

@media (max-width: 620px) {
  .sds-shell { padding: 0 18px; }
  .sds-header-row { min-height: 72px; }
  .sds-nav ul { gap: 14px; }
  .sds-nav a { font-size: 11px; }
  .sds-hero { padding: 48px 0 34px; }
  .sds-section-head { align-items: flex-start; flex-direction: column; }
  .sds-ranking { display: grid; grid-template-columns: 1fr; gap: 16px; border-top: 0; background: transparent; box-shadow: none; }
  .sds-ranking-row {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    background: var(--sds-white);
    border: 1px solid #e1d6cf;
    border-top: 4px solid var(--sds-burgundy);
    box-shadow: var(--sds-shadow);
  }
  .sds-ranking-row:first-child { background: var(--sds-cream-light); }
  .sds-rank { display: none; }
  .sds-brand-logo { width: 100%; min-height: 48px; }
  .sds-brand-img { max-width: 210px; max-height: 48px; }
  .sds-brand-img--sdm { max-width: 232px; max-height: 62px; }
  .sds-combo-logo { font-size: 18px; }
  .sds-combo-logo img { width: 42px; height: 42px; }
  .sds-primary-button { width: 100%; min-height: 44px; }
  .sds-post-grid { grid-template-columns: 1fr; }
  .sds-post-art { height: 160px; }
  .sds-post-body { min-height: 170px; }
  .sds-review-hero { padding: 42px 0 36px; }
  .sds-review-hero-grid, .sds-review-layout { grid-template-columns: 1fr; }
  .sds-review-logo-card { min-height: 150px; padding: 28px; }
  .sds-review-sidebar { position: static; }
  .sds-footer-row { min-height: 92px; flex-direction: column; justify-content: center; text-align: center; }
}
