/*
Theme Name: Scarlet Asian Club
Theme URI: https://scarletasianclub.com
Author: Scarlet Asian Club
Description: Editable mobile-first profile directory inspired by the supplied pink-and-white reference. Includes sample profiles and bundled galleries.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: scarlet-asian-club
*/
:root{--pink:#f85aa6;--hot:#ff087b;--pale:#ffe8ef;--grey:#f1f1f1;--ink:#222;--gold:#a17a40}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#f1f1f1;font-size:15px}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.wrap{max-width:880px;margin:auto}.topbar{background:var(--pink);color:white;position:sticky;top:0;z-index:20}.topinner{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:12px}.brand{font-size:20px;font-weight:700}.back{font-weight:700}.menu-button{border:0;background:none;color:white;font-size:27px;line-height:1}.nav{display:none;background:#f5459c;padding:12px 20px}.nav.open{display:flex;gap:18px;flex-wrap:wrap}.nav a{font-weight:bold}.hero{background:#21171b;color:#fff;text-align:center;padding:46px 18px}.hero h1{margin:0 0 10px;font-size:29px;color:#f1c995}.hero p{margin:9px 0}.contact{background:white;text-align:center;padding:24px 14px}.contact h2{color:#f35a88;font-size:24px;margin:0 0 10px}.contact .location{font-size:14px;color:#555}.contact-icons{display:flex;justify-content:space-around;max-width:430px;margin:22px auto 0}.contact-icons span{font-size:25px;display:block;color:#1da947}.contact-icons small{color:#666}.list-area{background:var(--pale);padding:20px 12px 30px}.pill{display:table;background:var(--hot);color:white;border-radius:30px;padding:10px 32px;margin:0 auto 16px;font-weight:bold}.profile-card{background:#fff;border-radius:14px;padding:12px;margin:0 auto 14px;max-width:680px;box-shadow:0 1px 0 #f4d9e1}.date{background:#faf3b9;color:#988348;text-align:center;border-radius:6px;padding:5px 12px;font-size:12px;max-width:230px;margin:0 auto 10px}.card-main{display:grid;grid-template-columns:38% 1fr;gap:12px}.card-photo{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:7px}.profile-card h2{color:var(--pink);font-size:22px;margin:4px 0 10px}.card-meta{font-size:13px;line-height:1.65}.card-excerpt{font-size:13px;line-height:1.5;color:#555;margin:8px 0}.view{display:inline-block;color:var(--hot);font-weight:700;margin-top:10px}.detail-area{padding:14px 12px 28px;background:#efefef}.detail-card,.info-card{background:white;border-radius:13px;padding:20px;margin:0 auto 14px;max-width:760px}.detail-card h1{font-size:23px;color:var(--pink);margin:16px 0 8px}.detail-tag{display:inline-block;border:1px solid #e9cbaa;border-radius:3px;color:#bb8653;padding:5px 7px;font-size:14px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.gallery a{display:block}.gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;display:block}.info-card{font-size:17px;line-height:1.6}.info-card strong{color:var(--pink)}.footer{background:#333;color:#ddd;text-align:center;padding:38px 18px}.footer h3{color:white;margin:0 0 10px}.footer p{font-size:13px}.empty{padding:24px;text-align:center}.lightbox{display:none;position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.92);align-items:center;justify-content:center;padding:40px 15px}.lightbox.open{display:flex}.lightbox img{max-width:100%;max-height:88vh;object-fit:contain}.lightbox button{position:absolute;right:15px;top:10px;border:0;background:none;color:white;font-size:36px}.site-note{color:#777;font-size:12px;margin-top:8px}@media(min-width:720px){.list-area{padding:28px}.card-main{grid-template-columns:210px 1fr}.card-photo{height:240px;aspect-ratio:auto}.gallery{gap:14px}.detail-card,.info-card{padding:28px}.hero{padding:64px 18px}}

/* Editable phone numbers shown immediately below public location */
.scarlet-phones{display:flex;flex-direction:column;align-items:center;gap:6px;margin:10px 0 16px}.scarlet-phones p{margin:0}.scarlet-phones a{color:#f25487;font-weight:700;text-decoration:none;font-size:clamp(17px,4.5vw,24px)}.scarlet-phones a:hover{text-decoration:underline}
/* Compact mobile profile cards: fixed photo container prevents tall images from stretching cards. */
.list-area{padding:12px 8px 22px}.profile-card{max-width:680px;padding:7px;margin-bottom:7px;border-radius:9px}.profile-card .date{margin-bottom:5px;padding:3px 9px;line-height:1.2}.card-main{display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr);gap:8px;align-items:start}.card-main>*{min-width:0}.card-image-link{display:block;min-width:0;width:100%}.card-photo-wrap{width:100%;height:165px;overflow:hidden;border-radius:5px;background:#f8e6eb}.card-photo-wrap img.card-photo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center 28%;aspect-ratio:auto;border-radius:0}.profile-card h2{font-size:15px;margin:3px 0 5px;line-height:1.2}.card-meta{font-size:11px;line-height:1.4}.card-excerpt{font-size:11px;line-height:1.35;margin:5px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.view{font-size:11px;margin-top:4px}.gallery img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}@media(max-width:380px){.card-photo-wrap{height:150px}}@media(min-width:600px){.card-main{grid-template-columns:175px minmax(0,1fr);gap:12px}.card-photo-wrap{height:205px}.profile-card{padding:10px;margin-bottom:12px}.profile-card h2{font-size:20px}.card-meta,.card-excerpt,.view{font-size:13px}}

/* v4 editable business hours beneath contact phones */
.scarlet-business-hours{display:table;margin:10px auto 4px;padding:5px 16px;border:1px solid #ccc;border-radius:18px;background:#fafafa;color:#333;font-size:12px;line-height:1.4}.scarlet-business-hours span{font-weight:600;margin-right:6px}.contact-icons{margin-top:15px}

/* Rising Sun-inspired services typography, below profiles and above contact */
.scarlet-services{background:#f1f1f1;padding:40px 24px 48px;color:#222}
.scarlet-services .wrap{max-width:760px}
.scarlet-services h2{font-size:clamp(30px,6.8vw,46px);font-weight:400;text-align:center;color:#ff1687;margin:0 0 40px;line-height:1.25}
.scarlet-services-copy{font-size:clamp(21px,4.4vw,31px);line-height:1.48;overflow-wrap:anywhere}
.scarlet-services-copy p{margin:0 0 8px}
@media(max-width:480px){.scarlet-services{padding:35px 20px 40px}.scarlet-services h2{margin-bottom:34px}}

/* v6: contact information immediately below the location in the top hero */
.hero-contact{margin:10px auto 0;display:flex;flex-direction:column;align-items:center;gap:7px;max-width:440px}.hero-phone-numbers{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 16px}.hero-phone-numbers a{color:#fff;font-size:14px;font-weight:600;text-decoration:none}.hero-phone-numbers a:hover,.hero-phone-numbers a:focus{text-decoration:underline}.hero .hero-hours{font-size:13px;color:#f4d9e2;margin:2px 0 0;line-height:1.5}.hero-hours strong{color:#fff}@media(max-width:420px){.hero-phone-numbers{flex-direction:column;gap:5px}.hero-contact{gap:7px}}

/* v8: each header phone number on its own line at all screen widths */
.hero-phone-numbers{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;flex-wrap:nowrap}.hero-phone-numbers a{display:block;line-height:1.35;white-space:nowrap}.hero-contact{gap:12px}.hero .hero-hours{margin-top:2px}

/* v9: Rising Sun-style profile detail photo gallery */
.detail-card .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%;margin-top:14px;align-items:start}
.detail-card .gallery a{display:block;width:100%;min-width:0;overflow:hidden;border-radius:6px;aspect-ratio:0.82;background:#f1f1f1}
.detail-card .gallery img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top;border-radius:0}
@media(max-width:480px){.detail-area{padding:13px 12px 25px}.detail-card{padding:15px 18px}.detail-card .gallery{gap:8px;margin-top:12px}}
@media(min-width:720px){.detail-card .gallery{gap:12px}}

/* v10: display both contact numbers on separate lines */
.contact .scarlet-phones{display:flex!important;flex-direction:column!important;align-items:center;gap:10px;margin:14px auto 18px}.contact .scarlet-phones p{display:block!important;margin:0;line-height:1.4}.contact .scarlet-phones a{display:inline-block;color:#e35b91;font-size:clamp(18px,5vw,25px);font-weight:700}

/* v11: optional general-purpose offering displays */
.scarlet-offerings{display:flex;flex-direction:column;gap:7px;margin-top:13px}.scarlet-offering{color:#f52f87;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:15px}.scarlet-offering strong{font-weight:500}.scarlet-offerings-card .scarlet-offering{background:#fff;border-radius:24px;padding:6px 9px;font-size:11px;flex-wrap:wrap}.scarlet-offerings-detail{max-width:340px;margin-top:22px}.scarlet-offerings-detail .scarlet-offering{padding:10px 0;border-bottom:1px solid #eee;font-size:18px}@media(min-width:600px){.scarlet-offerings-card .scarlet-offering{font-size:13px}}
