
/* css/public/home/location_page_filter.css */
/* ============================================================
   LOCATION + SEXUAL ORIENTATION SEO
   css/public/home/location_page_filter.css
   ============================================================ */

.seo-page-intro {
    --seo-section-space: 30px;
    position: relative;
    z-index: 2;

    width: calc(100% - 39vw);
    min-height: 100vh;
    margin: 40px 0 0 19.5vw;
    padding: 0 32px 48px;

    background: var(--color-surface);
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    color: var(--color-text);
    box-sizing: border-box;
}


.seo-page-intro *,
.seo-page-intro *::before,
.seo-page-intro *::after {
    box-sizing: border-box;
}

/* ============================================================
   MAIN HEADING
   ============================================================ */

.seo-page-intro > h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;

    color: var(--color-text);

    font-size: clamp(27px, 3vw, 39px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    letter-spacing: -0.03em;

    text-align: left;
}

.seo-page-intro > p {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.85;

    text-align: left;
    overflow-wrap: break-word;
}

/* ============================================================
   NEARBY LOCATIONS
   ============================================================ */

.seo-nearby-locations {
    width: 100%;
    max-width: 100%;

    margin: 26px 0 32px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.seo-nearby-locations p {
    margin: 0 0 15px;

    color: var(--color-text-secondary);

    font-size: 13px;
    line-height: 1.85;

    text-align: left;
}

.seo-nearby-locations p:last-child {
    margin-top: 16px;
    margin-bottom: 0;
}

/* ============================================================
   GENERAL INTRODUCTION
   ============================================================ */

.seo-content-intro {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 32px 0;

    background: transparent;
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    text-align: left;
}

.seo-content-intro h2 {
    width: 100%;
    max-width: none;

    margin: 0 0 19px;

    color: var(--color-text);

    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    letter-spacing: -0.02em;

    text-align: left;
}

.seo-content-intro p {
    width: 100%;
    max-width: none;

    margin: 0 0 17px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.9;

    text-align: left;
    overflow-wrap: break-word;
}

.seo-content-intro p:last-of-type {
    margin-bottom: 0;
}

/* ============================================================
   SHARED SEO CONTENT SECTIONS
   ============================================================ */

.seo-content-block {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 32px 0;

    background: transparent;
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    color: var(--color-text);

    box-sizing: border-box;

    animation: locationSeoFadeUp 0.5s ease both;
}

.seo-content-block:hover {
    border-color: var(--color-border-light);
    box-shadow: none;
}

.seo-content-block h2 {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0 0 19px;
    padding: 0;

    color: var(--color-text);

    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    letter-spacing: -0.02em;

    text-align: left;
}

.seo-content-block h2::before {
    display: none;
    content: none;
}

.seo-content-block h3 {
    width: 100%;
    max-width: none;

    margin: 30px 0 15px;

    color: var(--color-text);

    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    letter-spacing: -0.015em;

    text-align: left;
}

.seo-content-block p {
    width: 100%;
    max-width: none;

    margin: 0 0 17px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.9;
    letter-spacing: 0;

    text-align: left;
    overflow-wrap: break-word;
}

.seo-content-block p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   LOCATION IMAGE
   ============================================================ */

.location-seo-image {
    display: block;

    width: 100%;
    max-width: 600px;

    margin: 28px 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.location-seo-image img {
    display: block;

    width: 100%;
    max-width: 600px;
    height: auto;

    aspect-ratio: 4 / 3;
    object-fit: cover;

    border: 0;
    border-radius: var(--radius-lg);

    background: var(--color-surface-soft);
}

.location-seo-image figcaption {
    margin-top: 12px;

    color: var(--color-text-muted);

    font-size: 12px;
    line-height: 1.7;

    text-align: left;
}

/* ============================================================
   SEO LISTS
   ============================================================ */

.seo-content-block ul {
    width: 100%;
    max-width: none;

    margin: 17px 0 22px;
    padding-left: 23px;

    color: var(--color-text-secondary);

    font-size: 14px;
    line-height: 1.9;

    text-align: left;
}

.seo-content-block li {
    margin-bottom: 10px;
    padding-left: 3px;
}

.seo-content-block li:last-child {
    margin-bottom: 0;
}

/* ============================================================
   LOCATION LINKS
   ============================================================ */

.seo-location-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    width: 100%;
    max-width: none;

    margin: 22px 0 25px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.seo-location-links + .seo-location-links {
    margin-top: 15px;
}

.seo-location-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 37px;
    padding: 0 15px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);

    background: var(--color-surface-soft);
    color: var(--color-primary);

    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;

    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;

    box-sizing: border-box;

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.seo-location-links a:hover {
    border-color: rgba(37, 99, 235, 0.28);

    background: var(--color-primary-soft);
    color: var(--color-primary-dark);

    transform: translateY(-2px);

    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.08);
}

.seo-location-links a:active {
    transform: translateY(0);
}

.seo-location-links a:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================================
   REGISTER CTA
   ============================================================ */

.seo-content-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    max-width: none;

    margin-top: 28px;
    padding-top: 4px;
}

.seo-register-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 164px;
    min-height: 47px;

    padding: 0 24px;

    border: 1px solid var(--color-primary);
    border-radius: var(--radius-pill);

    background: var(--color-primary);
    color: #fff;

    font-size: 13px;
    font-weight: var(--font-weight-bold);
    line-height: 1;

    text-align: center;
    text-decoration: none;

    box-shadow: var(--shadow-login);

    overflow: hidden;
    box-sizing: border-box;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.seo-register-button::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.14) 45%,
        transparent 70%
    );

    transform: translateX(-120%);
    transition: transform 0.6s ease;

    pointer-events: none;
}

.seo-register-button:hover::before {
    transform: translateX(120%);
}

.seo-register-button:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);

    color: #fff;

    transform: translateY(-2px);

    box-shadow: var(--shadow-login-hover);
}

.seo-register-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-login-active);
}

.seo-register-button:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================================
   ORIENTATION SEO CONTENT
   Uses the shared SEO section layout.
   ============================================================ */

.orientation-seo-content {
    --orientation-accent: #c2185b;
    --orientation-accent-dark: #941044;
    --orientation-muted: var(--color-text-secondary);
    --orientation-border: var(--color-border-light);
    --orientation-soft: var(--color-surface-soft);

    display: flow-root;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 32px 0;

    background: transparent;
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    color: var(--color-text);

    font-size: 14px;
    line-height: 1.9;

    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* ============================================================
   ORIENTATION HEADER
   ============================================================ */

.orientation-seo-header {
    width: 100%;

    margin: 0 0 28px;
    padding: 0 0 25px;

    border-bottom: 1px solid var(--orientation-border);
}

.orientation-seo-header h2 {
    margin: 0 0 16px;

    color: var(--color-text);

    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.orientation-seo-header h2::after {
    content: "";

    display: block;

    width: 54px;
    height: 3px;

    margin-top: 15px;

    background: var(--orientation-accent);
    border-radius: var(--radius-pill);
}

.orientation-seo-header p {
    margin: 0;

    color: var(--orientation-muted);

    font-size: 14px;
    line-height: 1.9;
}

/* ============================================================
   ORIENTATION IMAGE
   ============================================================ */

.orientation-seo-image {
    float: right;

    width: min(42%, 390px);

    margin: 5px 0 25px 30px;
    padding: 8px;

    background: var(--color-surface);
    border: 1px solid var(--orientation-border);
    border-radius: var(--radius-lg);

    box-shadow: 0 6px 20px rgba(20, 20, 40, 0.07);
}

.orientation-seo-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: var(--radius-md);
}

.orientation-seo-image figcaption {
    padding: 11px 5px 4px;

    color: var(--color-text-muted);

    font-size: 12px;
    line-height: 1.6;

    text-align: center;
}

/* ============================================================
   ORIENTATION HEADINGS
   ============================================================ */

.orientation-seo-content h2 {
    clear: none;

    margin: 30px 0 15px;

    color: var(--color-text);

    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.orientation-seo-content h3 {
    margin: 27px 0 13px;

    color: var(--orientation-accent-dark);

    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}

/* ============================================================
   ORIENTATION PARAGRAPHS
   ============================================================ */

.orientation-seo-content p {
    margin: 0 0 17px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.9;

    overflow-wrap: break-word;
}

.orientation-seo-content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   ORIENTATION LOCATION LINKS
   ============================================================ */

.orientation-seo-location-links {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;

    margin: 17px 0 26px;
    padding: 0;

    list-style: none;
}

.orientation-seo-location-links li {
    min-width: 0;

    margin: 0;
    padding: 0;
}

.orientation-seo-location-links a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 48px;
    padding: 11px 14px 11px 36px;

    color: var(--color-primary-dark);
    background: var(--orientation-soft);

    border: 1px solid rgba(194, 24, 91, 0.15);
    border-radius: var(--radius-md);

    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.orientation-seo-location-links a::before {
    content: "›";

    position: absolute;
    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--orientation-accent);

    font-size: 22px;
    font-weight: 800;
}

.orientation-seo-location-links a:hover {
    color: var(--orientation-accent-dark);

    background: var(--orientation-soft);
    border-color: rgba(194, 24, 91, 0.35);

    box-shadow: 0 5px 14px rgba(194, 24, 91, 0.08);

    transform: translateY(-2px);
}

.orientation-seo-location-links a:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================================
   ORIENTATION CONTENT RHYTHM
   ============================================================ */

.orientation-seo-content > h2:not(:first-child) {
    padding-top: 5px;
}

/* Clear floated image before later sections. */

.orientation-seo-content::after {
    content: "";

    display: table;
    clear: both;
}



/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes locationSeoFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {
    .seo-page-intro {
        width: var(--header-width-tablet);

        margin-top: 32px;
        padding: 30px 0 36px;
    }
}

@media (max-width: 900px) {
    .orientation-seo-image {
        width: min(45%, 340px);
        margin-left: 23px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .seo-page-intro {
        width: var(--header-width-tablet);

        margin-top: 28px;
        padding: 27px 0 32px;
    }

    .seo-page-intro > h1 {
        margin-bottom: 16px;

        font-size: 27px;
        line-height: 1.25;
    }

    .seo-page-intro > p {
        margin-bottom: 17px;

        font-size: 13.5px;
        line-height: 1.8;
    }

    .seo-nearby-locations {
        margin-top: 21px;
        margin-bottom: 25px;
    }

    .seo-nearby-locations p {
        font-size: 13px;
    }

    .seo-content-intro {
        padding: 26px 0;
    }

    .seo-content-intro h2 {
        margin-bottom: 16px;
        font-size: 23px;
    }

    .seo-content-intro p {
        margin-bottom: 15px;

        font-size: 13.5px;
        line-height: 1.8;
    }

    .seo-content-block {
        padding: 26px 0;
    }

    .seo-content-block h2 {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .seo-content-block h3 {
        margin-top: 25px;
        margin-bottom: 13px;

        font-size: 19px;
    }

    .seo-content-block p {
        margin-bottom: 15px;

        font-size: 13.5px;
        line-height: 1.8;
    }

    .seo-content-block ul {
        font-size: 13.5px;
        line-height: 1.85;
    }

    .location-seo-image {
        max-width: 100%;
        margin: 23px 0;
    }

    .location-seo-image img {
        max-width: 100%;
    }

    .seo-location-links {
        gap: 8px;

        margin-top: 19px;
        margin-bottom: 22px;
    }

    .seo-location-links a {
        min-height: 36px;
        padding: 0 12px;

        font-size: 11px;
    }

    .seo-content-cta {
        margin-top: 24px;
    }

    .orientation-seo-content {
        padding: 26px 0;
    }

    .orientation-seo-header {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .orientation-seo-header h2 {
        font-size: 23px;
    }

    .orientation-seo-header p,
    .orientation-seo-content p {
        font-size: 13.5px;
        line-height: 1.8;
    }

    .orientation-seo-image {
        float: none;

        display: block;

        width: 100%;
        max-width: 600px;

        margin: 20px 0 25px;
        padding: 7px;
    }

    .orientation-seo-image img {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .orientation-seo-content h2 {
        clear: both;

        margin: 26px 0 13px;
        font-size: 22px;
    }

    .orientation-seo-content h3 {
        margin-top: 24px;
        font-size: 18px;
    }

    .orientation-seo-location-links {
        grid-template-columns: 1fr;

        gap: 9px;
        margin: 14px 0 23px;
    }

    .orientation-seo-location-links a {
        min-height: 46px;
        font-size: 13px;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
    .seo-page-intro {
        width: calc(100% - 24px);

        margin: 24px 12px 0;
        padding: 24px 0 29px;
    }

    .seo-page-intro > h1 {
        margin-bottom: 14px;

        font-size: 24px;
        line-height: 1.25;
    }

    .seo-page-intro > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .seo-nearby-locations {
        margin-top: 19px;
        margin-bottom: 22px;
    }

    .seo-nearby-locations p {
        font-size: 12.5px;
    }

    .seo-content-intro {
        padding: 23px 0;
    }

    .seo-content-intro h2 {
        margin-bottom: 14px;
        font-size: 21px;
    }

    .seo-content-intro p {
        font-size: 13px;
        line-height: 1.8;
    }

    .seo-content-block {
        padding: 23px 0;
    }

    .seo-content-block h2 {
        font-size: 20px;
    }

    .seo-content-block h3 {
        margin-top: 22px;
        font-size: 18px;
    }

    .seo-content-block p {
        font-size: 13px;
        line-height: 1.8;
    }

    .seo-content-block ul {
        padding-left: 21px;
        font-size: 13px;
    }

    .location-seo-image {
        margin: 20px 0;
    }

    .location-seo-image img {
        border-radius: var(--radius-md);
    }

    .location-seo-image figcaption {
        font-size: 11px;
    }

    .seo-location-links {
        gap: 7px;

        margin-top: 17px;
        margin-bottom: 20px;
    }

    .seo-location-links a {
        min-height: 35px;
        padding: 0 10px;

        font-size: 10.5px;
    }

    .seo-content-cta {
        margin-top: 22px;
    }

    .seo-register-button {
        width: 100%;
        max-width: 280px;
    }

    .orientation-seo-content {
        padding: 23px 0;
    }

    .orientation-seo-header h2 {
        font-size: 21px;
    }

    .orientation-seo-header p,
    .orientation-seo-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .orientation-seo-content h2 {
        font-size: 20px;
    }

    .orientation-seo-content h3 {
        font-size: 17px;
    }

    .orientation-seo-image {
        margin: 18px 0 22px;
    }

    .orientation-seo-image figcaption {
        font-size: 11px;
    }

    .orientation-seo-location-links a {
        min-height: 44px;
        font-size: 12px;
    }

}

/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {
    .seo-page-intro {
        width: calc(100% - 20px);

        margin: 22px 10px 0;
        padding: 22px 0 26px;
    }

    .seo-page-intro > h1 {
        font-size: 22px;
    }

    .seo-page-intro > p,
    .seo-content-intro p,
    .seo-content-block p,
    .orientation-seo-content p {
        font-size: 12.5px;
    }

    .seo-content-intro h2 {
        font-size: 20px;
    }

    .seo-content-block h2,
    .orientation-seo-content h2 {
        font-size: 19px;
    }

    .seo-content-block h3,
    .orientation-seo-content h3 {
        font-size: 17px;
    }

    .seo-content-block ul {
        font-size: 12.5px;
    }

    .seo-location-links {
        gap: 6px;
    }

    .seo-location-links a {
        min-height: 33px;
        padding: 0 9px;
        font-size: 10px;
    }

    .orientation-seo-content {
        padding: 21px 0;
    }

    .orientation-seo-header h2 {
        font-size: 20px;
    }

    .orientation-seo-image figcaption {
        font-size: 11px;
    }

    .orientation-seo-location-links a {
        font-size: 12px;
    }

}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .seo-content-block {
        animation: none;
    }

    .seo-register-button,
    .seo-register-button::before,
    .seo-location-links a,
    .orientation-seo-location-links a {
        transition: none;
    }

    .seo-register-button:hover,
    .seo-location-links a:hover,
    .orientation-seo-location-links a:hover {
        transform: none;
    }
}

