/*
Theme Name: Escort365 V7
Theme URI: https://escort365.net
Author: Escort365
Description: Public directory theme for Escort365 profiles, cities, search, safety and advertising pages.
Version: 0.4.1
Requires at least: 5.8
Requires PHP: 5.6
Text Domain: escort365
*/

:root {
    --bg: #f7f4ef;
    --surface: #ffffff;
    --surface-soft: #eee8df;
    --ink: #211f1c;
    --muted: #6d675f;
    --line: #ddd4c8;
    --accent: #b4313b;
    --accent-dark: #851d26;
    --green: #28755b;
    --gold: #b5822d;
    --shadow: 0 18px 45px rgba(33, 31, 28, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand,
.header-actions,
.primary-nav,
.age-actions,
.section-heading,
.profile-card-title,
.badge-row,
.filter-bar {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
}

.primary-nav {
    justify-content: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.primary-nav a:hover,
.site-footer a:hover {
    color: var(--accent);
}

.header-actions,
.age-actions {
    gap: 10px;
}

.link-button,
.solid-button,
.hero-search button,
.compact-search button,
.search-page-form button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    border: 1px solid var(--line);
    font-weight: 700;
    cursor: pointer;
}

.solid-button,
.hero-search button,
.compact-search button,
.search-page-form button {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.solid-button:hover,
.hero-search button:hover,
.compact-search button:hover,
.search-page-form button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.hero {
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px);
    color: #fff;
    background:
        linear-gradient(0deg, rgba(18, 17, 16, 0.88), rgba(18, 17, 16, 0.28)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 850'%3E%3Crect width='1400' height='850' fill='%23211f1c'/%3E%3Cg fill='none' stroke='%23b4313b' stroke-opacity='.55' stroke-width='2'%3E%3Cpath d='M0 580 C220 460 350 610 580 500 S980 310 1400 420'/%3E%3Cpath d='M0 650 C260 530 440 690 710 570 S1100 400 1400 490'/%3E%3C/g%3E%3Cg fill='%23f7f4ef' fill-opacity='.1'%3E%3Ccircle cx='240' cy='220' r='92'/%3E%3Ccircle cx='1080' cy='240' r='140'/%3E%3Ccircle cx='860' cy='620' r='72'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.hero-inner {
    width: min(980px, 100%);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 28px;
    font-size: clamp(48px, 9vw, 104px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    width: min(920px, 100%);
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
}

label span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
    color: var(--ink);
}

.section-band,
.quick-sections,
.split-band,
.notice-band {
    padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 48px);
}

.section-heading {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.section-heading h1,
.section-heading h2,
.content-page h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.profile-card,
.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(33, 31, 28, 0.06);
}

.profile-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    background: var(--surface-soft);
}

.profile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder,
.gallery-placeholder {
    color: var(--muted);
    font-weight: 800;
}

.profile-card-body,
.content-card {
    padding: 14px;
}

.profile-card-title {
    justify-content: space-between;
    gap: 10px;
}

.profile-card h3,
.profile-card p {
    margin: 0 0 8px;
}

.profile-card h3 {
    font-size: 19px;
}

.profile-card p {
    color: var(--muted);
}

.icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.badge-row {
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0;
}

.badge-row span,
.filter-bar a {
    padding: 6px 9px;
    border-radius: 5px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.badge-row .status-badge {
    background: rgba(40, 117, 91, 0.12);
    color: var(--green);
}

.quick-sections,
.city-grid,
.content-grid,
.detail-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.quick-sections a,
.city-grid a,
.content-grid section,
.detail-panels section,
.contact-panel,
.empty-state,
.notice-band,
.profile-detail-main {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 20px;
}

.quick-sections span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.city-grid a {
    font-weight: 800;
}

.split-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--ink);
    color: #fff;
}

.split-band > div {
    max-width: 640px;
}

.split-band p,
.notice-band p,
.content-page p {
    color: var(--muted);
}

.split-band p {
    color: #d9d1c7;
}

.notice-band {
    background: var(--surface-soft);
}

.filter-bar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.compact-search {
    display: flex;
    gap: 8px;
    width: min(440px, 100%);
}

.search-page-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 980px;
}

.lead-copy {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.portal-layout {
    display: grid;
    grid-template-columns: minmax(230px, 300px) 1fr;
    gap: 22px;
    padding: clamp(24px, 5vw, 58px) clamp(16px, 4vw, 48px);
}

.portal-sidebar,
.portal-main {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 22px;
}

.portal-sidebar {
    align-self: start;
    position: sticky;
    top: 92px;
}

.portal-sidebar h1 {
    margin: 0 0 16px;
    font-size: 24px;
}

.portal-sidebar a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
}

.portal-main h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 54px);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.metric-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 16px;
}

.metric-grid span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.metric-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
}

.support-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 840px;
    margin-top: 24px;
}

.support-form .full {
    grid-column: 1 / -1;
}

.support-form textarea {
    width: 100%;
    min-height: 160px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
    resize: vertical;
}

.support-form button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
}

.profile-detail {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 22px;
    padding: clamp(24px, 5vw, 58px) clamp(16px, 4vw, 48px);
}

.profile-detail-gallery {
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
}

.profile-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-detail-main h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
}

.profile-copy {
    margin: 20px 0;
}

.masked-phone {
    font-size: 24px;
    font-weight: 800;
}

.report-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 800;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 36px clamp(16px, 4vw, 48px);
    background: #171513;
    color: #fff;
}

.site-footer p {
    color: #d9d1c7;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-end;
}

.mobile-tabbar {
    display: none;
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(23, 21, 19, 0.82);
}

.age-gate[hidden] {
    display: none;
}

.age-dialog {
    width: min(560px, 100%);
    border-radius: 8px;
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow);
}

.age-dialog h2 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        display: none;
    }

    .hero-search,
    .search-page-form,
    .profile-detail,
    .split-band,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 560px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .header-actions .solid-button {
        display: none;
    }

    .hero {
        padding-bottom: 86px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .mobile-tabbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #fff;
        border-top: 1px solid var(--line);
    }

    .mobile-tabbar a {
        padding: 10px 4px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        text-align: center;
    }

    body {
        padding-bottom: 52px;
    }
}

