/* Base variables */
:root{
  --primary:#F43F5E; /* accent for pin and .blog */
  --text:#111827;
  --text-muted:#6B7280;
  --bg:#FFFFFF;
  --border:#E5E7EB;
  --pill:#f3f4f68e;
  --dark:#0B0B0C;
  --shadow:0 2px 10px rgba(0,0,0,.06);
  --hero-dark:#111111;
  --hero-dark-2:#0E0E0E;
  --hero-text:#F7F7F7;
  --accent:#F43F5E;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;color:var(--text);background:var(--bg)}
.container{max-width:1180px;margin:0 auto;padding:0 16px}
/* Header container slightly wider and tighter side padding to reduce side white space */
.site-header .container{max-width:1240px;padding:0 8px}

/* Subscribe (Newsletter) card */
.subscribe{background:transparent;padding:34px 0}
.subscribe-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#FEE2E2;border:1px solid #FECACA;border-radius:12px;padding:18px 22px;box-shadow:0 6px 24px rgba(244,63,94,.08)}
.subscribe-text h2{margin:0;font-size:18px;line-height:1.4;font-weight:700;color:#7f1d1d}
.subscribe-sub{margin:6px 0 0;color:#991b1b;font-size:13px}
.subscribe-form{min-width:360px;display:flex;flex-direction:column;gap:8px}
.subscribe-form .input-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #FECACA;border-radius:8px;padding:10px}
.subscribe-form .mail-ico{color:var(--primary);opacity:.9}
.subscribe-form input{flex:1 1 auto;border:none;outline:none;font-size:14px;color:#111827}
.subscribe-form button{flex:0 0 auto;height:38px;padding:0 16px;border-radius:4px;border:1px solid var(--primary);background:var(--primary);color:#fff;font-weight:800;cursor:pointer}
.subscribe-form button:hover{filter:brightness(1.05)}
.subscribe-note{margin:4px 0 0;font-size:13px;color:#b91c1c}
.subscribe-note a{color:var(--primary)}

@media (max-width:900px){
  .subscribe-inner{flex-direction:column;align-items:flex-start;gap:12px}
  .subscribe-form{width:100%;min-width:0}
}
@media (max-width:480px){
  .subscribe-text h2{font-size:16px}
  .subscribe-form .input-wrap{padding:8px; flex-direction:column; align-items:stretch}
  .subscribe-form button{height:34px; width:100%}
}

/* City News */
.news{padding:24px 0 10px}
.news-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}
.news-title{margin:0;font-size:22px;font-weight:800;color:#0f172a}
.news-more{text-decoration:none;color:var(--primary);font-weight:700;white-space:nowrap}
.news-split{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.news-left .feature-card .card-media{aspect-ratio:16/9}
.news-right{display:grid;grid-template-columns:1fr;gap:16px}
.post-card--sm .card-media{aspect-ratio:16/9}
@media (max-width:900px){
  .news-split{grid-template-columns:1fr}
}
@media (max-width:640px){
  .news-title{font-size:18px}
  .news-head{align-items:baseline}
  .news-more{font-size:13px}
}
@media (max-width:420px){
  .news-head{flex-wrap:wrap}
  .news-title{flex:1 1 100%}
  .news-more{margin-left:auto}
}

/* Latest Posts */
.latest{padding:28px 0 44px}
.latest-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.latest-title{margin:0;font-size:22px;font-weight:800;letter-spacing:.2px;color:#0f172a}
.posts-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:18px}
.post-card{box-shadow:0 2px 0 rgba(0,0,0,.01)}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden}
.post-card .card-media{flex:0 0 auto}
.post-card .card-pad{flex:1 1 auto;display:flex;flex-direction:column;gap:8px;min-height:120px}
.post-card .pill{margin-bottom:6px;align-self:flex-start;display:inline-flex}
.post-card .card-title{margin-top:0}
.post-card .card-desc{margin:2px 0 0}
.load-more-wrap{display:flex;justify-content:center;margin-top:18px}
.load-more{padding:10px 16px;border-radius:999px;border:1px solid #000;background:#0B0B0C;color:#fff;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.15)}
.load-more[disabled]{opacity:.6;cursor:default}

@media (max-width:1024px){
  .posts-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width:640px){
  .posts-grid{grid-template-columns:1fr}
}

/* Events Near You */
.events{padding:10px 0 44px}
.events-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.events-title{margin:0;font-size:20px;font-weight:800;color:#0f172a}
.events-more{text-decoration:none;color:var(--primary);font-weight:600}
.events-row{display:flex;gap:14px;overflow-x:auto;scroll-behavior:smooth;padding:2px 4px 6px}
.events-row{-webkit-overflow-scrolling:touch;scrollbar-width:none}
.events-row::-webkit-scrollbar{display:none}
.events-strip{position:relative;display:flex;align-items:center;gap:10px;overflow:visible}
.events-strip .events-row{flex:1 1 auto;padding:0 44px}
.events-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:1px solid var(--border);background:#fff;cursor:pointer;display:inline-grid;place-items:center;box-shadow:var(--shadow)}
.events-prev{left:-6px}
.events-next{right:0}
.events-nav:disabled{opacity:.4;cursor:default}
.event-card{flex:0 0 320px}
.event-card .card-media{aspect-ratio:16/9}
.event-actions{margin-top:auto;display:flex}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#111827;text-decoration:none;font-weight:600}
.btn-outline:hover{border-color:#d1d5db}
/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:12px;min-height:84px}

/* Brand */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand-badge{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:11px;background:linear-gradient(135deg,#FF7A59,#F43F5E);color:#fff;font-weight:700}
.brand-block{display:flex;flex-direction:column;line-height:1}
.brand-text{font-weight:800;letter-spacing:.2px;font-size:20px}
.brand-dot{color:var(--primary)}
.brand-tagline{font-size:10px;color:var(--text-muted);margin-top:4px;text-transform:uppercase;letter-spacing:.6px}

/* Nav */
.main-nav{flex:1;display:flex;justify-content:center}



.menu-tabs{list-style:none;margin:0;padding:6px 8px;display:flex;gap:12px;border:1px solid #c0c0c067;border-radius:999px;background:var(--pill);}
.menu-tab{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;background:transparent;color:var(--text-muted);text-decoration:none;border:1px solid transparent;font-size:13px;font-weight:600}
.menu-tab:hover{background:#fff}
.menu-tab.is-active{background:#FFFFFF;border-color:#FFFFFF;color:var(--primary);;box-shadow:0 0px 5px rgba(0,0,0,.06);font-weight:700}

/* Actions */
.header-actions{margin-left:12px;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.icon-btn{width:38px;height:38px;border-radius:999px;border:1px solid #c0c0c067;background:var(--pill);display:inline-grid;place-items:center;cursor:pointer;box-shadow:none}
.icon-btn:hover{background:#fff}
.create-btn{padding:10px 18px;border-radius:999px;background:var(--dark);color:#fff;text-decoration:none;border:1px solid #000;box-shadow:0 10px 22px rgba(0,0,0,.05)}
.create-btn:hover{filter:brightness(0.95)}

/* Mobile */
.nav-toggle{display:none;margin-left:auto;border:1px solid var(--border);background:#fff;border-radius:8px;width:40px;height:36px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.nav-toggle span{display:block;width:20px;height:2px;background:#111827;border-radius:2px}

@media (max-width:900px){
  .brand-tagline{display:none}
  /* Right-side drawer */
  .main-nav{position:fixed;top:84px;right:0;bottom:0;width:86vw;max-width:420px;background:#fff;border-left:1px solid var(--border);transform:translateX(105%);transition:transform .24s ease,opacity .24s ease;z-index:60;opacity:0;visibility:hidden;box-shadow:-12px 0 30px rgba(0,0,0,.08)}
  .main-nav.open{transform:translateX(0);opacity:1;visibility:visible}
  .menu-tabs{margin:18px;padding:0;gap:0;overflow:auto;white-space:normal;flex-direction:column;align-items:stretch}
  .menu-tab{padding:12px 14px;border-radius:8px}
  .menu-tab:hover{background:var(--pill)}
  .menu-tab.is-active{background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.06)}
  .header-actions{display:flex}
  /* Keep Create visible on tablets; hide only on small phones */
  .header-actions .create-btn{display:inline-flex}
  .nav-toggle{display:flex}
}

@media (max-width:640px){
  .header-actions .create-btn{display:none}
}

/* Small scroll shadow */
.scrolled .site-header{box-shadow:0 2px 10px rgba(0,0,0,.06)}

/* Backdrop when nav is open on mobile (exclude header and drawer area) */
@media (max-width:900px){
  body.nav-open::before{
    content:"";position:fixed;left:0;bottom:0;
    /* do not cover header */
    top:84px;
    /* leave space for the drawer on the right: same as drawer width (86vw, max 420px) */
    right: min(86vw, 420px);
    background:rgba(0,0,0,.25);
    /* below header (50) and drawer (60) */
    z-index:45;
  }
}

/* Hero Section */
.hero{padding:28px 0 32px;background:
  radial-gradient(1200px 400px at 50% -200px, rgba(244,63,94,.06), rgba(255,255,255,0) 60%),
  #fff}
.hero .container{max-width:1300px;padding:0 8px}
.hero-card{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding:56px 60px; border-radius:30px; min-height:460px;
  background: radial-gradient(1000px 600px at 90% 40%, rgba(255,255,255,.06), rgba(0,0,0,0) 60%),
             radial-gradient(800px 500px at -20% 0%, rgba(244,63,94,.10), rgba(0,0,0,0) 50%),
             linear-gradient(180deg, var(--hero-dark), var(--hero-dark-2));
  color:var(--hero-text);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  overflow:hidden;
}
.hero-left{max-width:720px}
.hero-badge{display:inline-flex;align-items:center;gap:8px;color:#e5e7eb;background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.25);padding:8px 12px;border-radius:999px;font-size:12px;margin-bottom:18px}
.hero-badge .dot{width:8px;height:8px;border-radius:999px;background:var(--accent);display:inline-block}
.hero-title{font-size:54px;line-height:1.05;margin:0 0 12px;font-weight:800;letter-spacing:-0.5px}
.hero-title .accent{color:#fff}
.hero-title .brand-dot{color:var(--accent)}
.hero-sub{color:#e5e7eb;max-width:560px;font-size:18px;line-height:1.6;margin:0 0 22px}
.hero-cta{display:inline-flex;align-items:center;gap:10px;background:var(--accent);color:#fff;text-decoration:none;padding:12px 18px;border-radius:999px;font-weight:600;box-shadow:0 10px 24px rgba(244,63,94,.35)}
.hero-cta::after{content:'→'}

.hero-right{flex:0 0 420px;display:flex;align-items:center;justify-content:center}
.stat-ring{position:relative;width:300px;height:300px;border-radius:50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.06), rgba(255,255,255,0)),
              rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), inset 0 0 0 10px rgba(255,255,255,.02);
}
.stat-ring::before{content:'';position:absolute;inset:20px;border-radius:50%;pointer-events:none;z-index:1;
  border:2px dashed rgba(255,255,255,.35);
  background: transparent;
  transform-origin:center;
  will-change: transform;
  animation: ring-spin 22s linear infinite;
}
@keyframes ring-spin{to{transform:rotate(360deg)}}
.stat-number{position:absolute;inset:0;display:grid;place-items:center;font-size:64px;font-weight:800;z-index:2}
.stat-label{position:absolute;inset:0;display:grid;place-items:center;transform:translateY(56px);font-size:12px;letter-spacing:.8px;color:#e5e7eb;text-align:center;z-index:2}
.stat-number{position:absolute;inset:0;display:grid;place-items:center;font-size:64px;font-weight:800}
.stat-label{position:absolute;inset:0;display:grid;place-items:center;transform:translateY(56px);font-size:12px;letter-spacing:.8px;color:#e5e7eb;text-align:center}

@media (max-width:900px){
  .hero-card{flex-direction:column;align-items:flex-start;padding:28px;min-height:unset}
  .hero-right{width:100%;justify-content:flex-start;flex-basis:auto}
  .stat-ring{width:180px;height:180px}
  .hero-title{font-size:40px}
}

/* Tablet hero tweaks */
@media (max-width:768px){
  .hero .container{padding:0 12px}
  .hero-card{padding:28px 24px;border-radius:22px}
  .hero-left{max-width:100%}
  .hero-title{font-size:36px;line-height:1.15}
  .hero-sub{font-size:16px}
  .hero-cta{padding:12px 16px;margin-bottom:14px}
  .hero-right{justify-content:center;margin-top:12px}
  .stat-ring{width:360px;height:260px}
  .stat-number{font-size:34px;line-height:; margin-top: -30px;}
}

/* Small phones hero tweaks */
@media (max-width:480px){
  .hero{padding:20px 0 24px}
  .hero-card{padding:22px 18px;border-radius:18px; }
  .hero-badge{padding:6px 10px;font-size:11px}
  .hero-title{font-size:30px }
  .hero-sub{font-size:15px}
  .hero-cta{width:100%;justify-content:center;margin-bottom:16px}
  .hero-right{justify-content:center;margin-top:16px}
  .stat-ring{width:160px;height:160px}
  .stat-ring::before{inset:14px}
  .stat-number{font-size:24px;line-height:1}
  .stat-label{transform:translateY(30px);font-size:11px}
}

/* Very small devices */
@media (max-width:360px){
  .hero-title{font-size:28px}
  .stat-ring{width:110px;height:110px}
  .stat-ring::before{inset:12px}
  .stat-number{font-size:32px;line-height:1}
  .stat-label{transform:translateY(28px)}
}
