/*
Theme Name: AOTW Pink Red Child
Theme URI: https://adsoftheworld.in/
Description: A custom editorial directory redesign for Ads of the World, built as a child theme of FT Directory Listing.
Author: OpenAI
Template: ft-directory-listing
Version: 1.0.0
Text Domain: aotw-pink-red-child
*/

/* Main design system */
:root {
  --aotw-red: #d92f45;
  --aotw-red-dark: #b91f35;
  --aotw-pink: #fff0f2;
  --aotw-pink-soft: #fff8f8;
  --aotw-ink: #25232a;
  --aotw-muted: #77727a;
  --aotw-line: #f0e4e6;
  --aotw-card: #ffffff;
  --aotw-shadow: 0 12px 35px rgba(75, 30, 42, .07);
  --aotw-radius: 18px;
}
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--aotw-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--aotw-red); text-decoration: none; }
a:hover, a:focus { color: var(--aotw-red-dark); }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 36px)); }

/* Header */
.aotw-site-header {
  position: relative;
  z-index: 99;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--aotw-line);
  box-shadow: 0 3px 18px rgba(30,20,25,.035);
}
.aotw-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.aotw-brand { display:flex; align-items:center; gap:12px; min-width:180px; }
.aotw-brand img { max-height:54px; width:auto; }
.aotw-brand-name {
  color: var(--aotw-ink);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.8px;
}
.aotw-brand-name span { color: var(--aotw-red); }
.aotw-nav-wrap { display:flex; align-items:center; gap:24px; }
.aotw-main-nav ul {
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
  margin:0; padding:0; list-style:none;
}
.aotw-main-nav li { margin:0; padding:0; }
.aotw-main-nav a {
  display:block; padding:11px 13px; border-radius:999px;
  color:#464149; font-size:14px; font-weight:700;
  transition:background .2s ease,color .2s ease;
}
.aotw-main-nav a:hover, .aotw-main-nav .current-menu-item > a {
  color:var(--aotw-red); background:var(--aotw-pink-soft);
}
.aotw-header-cta, .aotw-button {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:46px; padding:0 21px; border:0; border-radius:999px;
  background:var(--aotw-red); color:#fff !important; font-weight:800;
  box-shadow:0 8px 18px rgba(217,47,69,.18);
  transition:transform .2s ease,background .2s ease;
}
.aotw-header-cta:hover, .aotw-button:hover {
  color:#fff !important; background:var(--aotw-red-dark); transform:translateY(-1px);
}
.aotw-menu-toggle {
  display:none; border:1px solid var(--aotw-line); background:#fff;
  color:var(--aotw-ink); border-radius:12px; padding:10px 13px; font-size:20px;
}

/* Hero */
.aotw-hero {
  position:relative; overflow:hidden;
  padding:78px 0 66px;
  background:
    radial-gradient(circle at 88% 15%, rgba(255,190,200,.48), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(255,216,221,.65), transparent 32%),
    linear-gradient(120deg, #fff5f6 0%, #fff 58%, #fff0f2 100%);
}
.aotw-hero:after {
  content:""; position:absolute; width:310px; height:310px; right:-105px; bottom:-175px;
  border:1px solid rgba(217,47,69,.12); border-radius:50%;
  box-shadow:0 0 0 28px rgba(217,47,69,.025),0 0 0 58px rgba(217,47,69,.02);
}
.aotw-hero-content { position:relative; z-index:1; max-width:850px; margin:0 auto; text-align:center; }
.aotw-eyebrow {
  display:inline-flex; align-items:center; gap:8px; padding:7px 14px;
  border:1px solid #f5cbd1; border-radius:999px; background:rgba(255,255,255,.8);
  color:var(--aotw-red); font-size:12px; font-weight:850; letter-spacing:1.2px;
  text-transform:uppercase;
}
.aotw-hero h1 {
  margin:20px auto 14px; max-width:820px; color:var(--aotw-ink);
  font-size:clamp(36px,5.2vw,62px); line-height:1.06; font-weight:900;
  letter-spacing:-2.4px;
}
.aotw-hero h1 span { color:var(--aotw-red); }
.aotw-hero p { max-width:650px; margin:0 auto 28px; color:#6f6870; font-size:18px; }
.aotw-search {
  display:flex; gap:10px; max-width:740px; margin:0 auto; padding:9px;
  background:#fff; border:1px solid #f2dfe2; border-radius:18px;
  box-shadow:0 16px 45px rgba(115,48,65,.11);
}
.aotw-search input[type="search"] {
  flex:1; min-width:0; height:52px; padding:0 17px; border:0 !important;
  outline:0; box-shadow:none !important; background:transparent;
  color:var(--aotw-ink); font-size:15px;
}
.aotw-search button {
  min-width:132px; border:0; border-radius:12px; background:var(--aotw-red);
  color:#fff; font-weight:800; padding:0 22px;
}
.aotw-search button:hover { background:var(--aotw-red-dark); }
.aotw-hero-note { margin-top:17px !important; font-size:13px !important; color:#8a7e83 !important; }

/* Main content and listing grid */
.aotw-main { padding:58px 0 76px; background:#fff; }
.aotw-section-heading { margin-bottom:25px; }
.aotw-section-heading h2 { margin:0 0 6px; font-size:30px; line-height:1.2; font-weight:850; letter-spacing:-.8px; }
.aotw-section-heading p { margin:0; color:var(--aotw-muted); }
.aotw-content-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:30px; align-items:start; }
.aotw-sidebar {
  padding:24px; border:1px solid var(--aotw-line); border-radius:var(--aotw-radius);
  background:var(--aotw-pink-soft); position:sticky; top:22px;
}
.aotw-sidebar h3 { margin:0 0 16px; font-size:17px; font-weight:850; }
.aotw-filter-list { list-style:none; padding:0; margin:0; }
.aotw-filter-list li { margin:0; border-bottom:1px solid #f1e1e4; }
.aotw-filter-list li:last-child { border-bottom:0; }
.aotw-filter-list a {
  display:flex; justify-content:space-between; gap:8px; padding:10px 0;
  color:#554d54; font-size:14px; font-weight:650;
}
.aotw-filter-list a:hover { color:var(--aotw-red); }
.aotw-filter-count { color:#a59aa0; font-size:12px; }
.aotw-results-top {
  display:flex; align-items:center; justify-content:space-between; gap:15px;
  margin:0 0 18px; color:var(--aotw-muted); font-size:14px;
}
.aotw-listing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.aotw-card {
  overflow:hidden; border:1px solid var(--aotw-line); border-radius:16px;
  background:var(--aotw-card); box-shadow:0 5px 18px rgba(60,35,42,.035);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.aotw-card:hover { transform:translateY(-4px); box-shadow:var(--aotw-shadow); border-color:#efc5cc; }
.aotw-card-image { display:block; aspect-ratio:16/10; overflow:hidden; background:#f9e9ec; }
.aotw-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.aotw-card:hover .aotw-card-image img { transform:scale(1.035); }
.aotw-card-placeholder {
  display:flex; align-items:center; justify-content:center; height:100%;
  color:#d98b98; font-size:38px; font-weight:900;
  background:linear-gradient(135deg,#fff0f2,#f8dce1);
}
.aotw-card-body { padding:19px 20px 20px; }
.aotw-card-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:9px; color:#9a8990; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.7px; }
.aotw-card h3 { margin:0 0 8px; font-size:19px; line-height:1.32; font-weight:850; }
.aotw-card h3 a { color:var(--aotw-ink); }
.aotw-card h3 a:hover { color:var(--aotw-red); }
.aotw-card-excerpt { margin:0 0 14px; color:#777078; font-size:14px; line-height:1.6; }
.aotw-card-link { font-size:13px; font-weight:850; color:var(--aotw-red); }
.aotw-empty {
  padding:42px 25px; text-align:center; border:1px dashed #e9cbd0;
  border-radius:16px; background:#fffafa; color:var(--aotw-muted);
}
.aotw-pagination { margin-top:30px; }
.aotw-pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px;
  margin:0 4px 5px 0; padding:0 12px; border:1px solid var(--aotw-line);
  border-radius:10px; background:#fff; color:#5f5660; font-weight:750;
}
.aotw-pagination .current, .aotw-pagination a:hover { color:#fff; border-color:var(--aotw-red); background:var(--aotw-red); }

/* Inner pages and single content */
.aotw-page-hero { padding:42px 0; background:var(--aotw-pink-soft); border-bottom:1px solid var(--aotw-line); }
.aotw-page-hero h1 { margin:0; font-size:clamp(30px,4vw,44px); font-weight:900; letter-spacing:-1.2px; }
.aotw-article {
  max-width:900px; margin:0 auto; padding:48px 0 75px;
}
.aotw-article .entry-title { font-size:clamp(30px,4vw,46px); line-height:1.15; font-weight:900; }
.aotw-article .entry-content { color:#504a51; font-size:17px; line-height:1.85; }
.aotw-article .entry-content img { border-radius:14px; }
.aotw-article .entry-content h2,.aotw-article .entry-content h3 { color:var(--aotw-ink); font-weight:850; }

/* Footer */
.aotw-footer { padding:48px 0 22px; color:#f8e9ec; background:#29232a; }
.aotw-footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:35px; }
.aotw-footer .aotw-brand-name { color:#fff; }
.aotw-footer p { max-width:390px; color:#c9bdc3; font-size:14px; }
.aotw-footer h3 { margin:0 0 14px; color:#fff; font-size:15px; font-weight:850; }
.aotw-footer ul { list-style:none; margin:0; padding:0; }
.aotw-footer li { margin:7px 0; }
.aotw-footer a { color:#d9cbd1; font-size:14px; }
.aotw-footer a:hover { color:#fff; }
.aotw-footer-bottom { margin-top:35px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); color:#a99da4; font-size:12px; }

/* WordPress compatibility */
.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; }
.alignwide { max-width:1100px; margin-left:auto; margin-right:auto; }
.alignfull { width:100%; max-width:100%; }
.wp-block-image img { border-radius:12px; }
.comment-respond, .comments-area { max-width:900px; margin:35px auto; }
input, select, textarea { max-width:100%; }

/* Responsive */
@media (max-width: 900px) {
  .aotw-header-inner { min-height:72px; }
  .aotw-menu-toggle { display:block; }
  .aotw-nav-wrap {
    display:none; position:absolute; top:100%; left:0; right:0; padding:18px;
    background:#fff; border-bottom:1px solid var(--aotw-line); box-shadow:0 15px 25px rgba(30,20,25,.08);
    align-items:stretch; flex-direction:column; gap:12px;
  }
  .aotw-nav-wrap.is-open { display:flex; }
  .aotw-main-nav ul { display:block; }
  .aotw-main-nav a { border-radius:10px; }
  .aotw-header-cta { align-self:flex-start; }
  .aotw-content-layout { grid-template-columns:1fr; }
  .aotw-sidebar { position:static; }
}
@media (max-width: 620px) {
  .aotw-hero { padding:55px 0 48px; }
  .aotw-hero h1 { letter-spacing:-1.5px; }
  .aotw-hero p { font-size:16px; }
  .aotw-search { flex-direction:column; padding:8px; border-radius:14px; }
  .aotw-search input[type="search"] { height:48px; }
  .aotw-search button { min-height:48px; }
  .aotw-main { padding:40px 0 55px; }
  .aotw-listing-grid { grid-template-columns:1fr; }
  .aotw-section-heading h2 { font-size:25px; }
  .aotw-footer-grid { grid-template-columns:1fr; gap:24px; }
  .aotw-results-top { align-items:flex-start; flex-direction:column; }
}
