/*
Theme Name: LeanLotus Social
Theme URI: https://leanlotus.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A soft wellness-focused social WordPress theme designed for BuddyPress communities, recipes, yoga flows, journals, and stories.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: leanlotus-social
*/

:root{
  --ll-bg:#F7F3EC;
  --ll-surface:#FFFFFF;
  --ll-surface-soft:#FBF8F3;
  --ll-primary:#6F9B7A;
  --ll-primary-dark:#4F7358;
  --ll-accent:#E7D8C7;
  --ll-sage:#DDE8DE;
  --ll-text:#2A2926;
  --ll-muted:#6E6A63;
  --ll-line:#E7DFD4;
  --ll-shadow:0 12px 30px rgba(54,44,31,.08);
  --ll-radius:24px;
  --ll-container:min(1180px, calc(100% - 32px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ll-bg);color:var(--ll-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.7}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site-main{min-height:50vh}
.ll-container{width:var(--ll-container);margin:0 auto}
h1,h2,h3,h4,h5,h6,.site-title,.ll-hero-title,.ll-section-title{font-family:"Cormorant Garamond", Georgia, serif;line-height:1;letter-spacing:-.03em;margin:0 0 .4em}
p{margin:0 0 1rem}
.ll-muted{color:var(--ll-muted)}
.ll-topbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--ll-line)}
.ll-topbar-inner{width:var(--ll-container);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.ll-brand{display:flex;align-items:center;gap:14px;min-width:0}
.ll-brand-mark{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--ll-primary),var(--ll-sage));box-shadow:var(--ll-shadow);display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.1rem}
.ll-brand-text strong{display:block;font:700 1.55rem/1 "Cormorant Garamond", Georgia, serif}
.ll-brand-text span{color:var(--ll-muted);font-size:.9rem}
.custom-logo{max-height:60px;width:auto}
.ll-nav-wrap{display:flex;align-items:center;gap:16px}
.ll-primary-nav .menu{display:flex;flex-wrap:wrap;align-items:center;gap:18px;list-style:none;padding:0;margin:0}
.ll-primary-nav a{color:var(--ll-text);font-weight:600}
.ll-primary-nav a:hover{color:var(--ll-primary-dark)}
.ll-btn,button,input[type=submit],.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:16px;background:var(--ll-primary);color:#fff;padding:12px 18px;font-weight:700;transition:.18s ease}
.ll-btn:hover,button:hover,input[type=submit]:hover,.wp-block-button__link:hover{background:var(--ll-primary-dark);color:#fff}
.ll-btn-outline{background:#fff;color:var(--ll-text);border:1px solid var(--ll-line)}
.ll-btn-outline:hover{border-color:var(--ll-primary);color:var(--ll-primary-dark);background:#fff}
.ll-page{padding:28px 0 60px}
.ll-hero{width:var(--ll-container);margin:0 auto 28px;border:1px solid var(--ll-line);background:linear-gradient(135deg,var(--ll-surface-soft),#f1eadf);border-radius:32px;overflow:hidden;box-shadow:var(--ll-shadow)}
.ll-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch}
.ll-hero-copy{padding:56px 50px}
.ll-kicker{display:inline-block;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--ll-primary-dark);margin-bottom:18px}
.ll-hero-title{font-size:clamp(3rem, 7vw, 5.1rem);margin-bottom:12px}
.ll-hero-text{font-size:1.08rem;color:var(--ll-muted);max-width:40rem}
.ll-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.ll-hero-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.ll-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;border:1px solid var(--ll-line);background:#fff;color:var(--ll-muted);font-size:.84rem;font-weight:700}
.ll-hero-media{min-height:480px;background:linear-gradient(135deg,#e6dece,#f8f5ef);display:flex;align-items:center;justify-content:center;padding:24px}
.ll-hero-card{width:100%;height:100%;border-radius:26px;background:radial-gradient(circle at 22% 24%, rgba(255,255,255,.9), rgba(255,255,255,0) 28%), linear-gradient(180deg,#f6f3ed,#eee5d8);border:1px solid var(--ll-line);padding:28px;display:grid;align-content:space-between}
.ll-hero-card .ll-preview-shot{height:290px;border-radius:20px;border:1px solid var(--ll-line);background:linear-gradient(180deg, rgba(111,155,122,.12), rgba(111,155,122,0) 30%), linear-gradient(135deg,#fbfaf6,#f3ebdf);overflow:hidden;position:relative}
.ll-preview-shot:before{content:"";position:absolute;inset:18px;border-radius:18px;background:linear-gradient(90deg,#fff 0 56%, #f1f5ef 56% 100%);border:1px solid var(--ll-line);box-shadow:var(--ll-shadow)}
.ll-preview-shot:after{content:"";position:absolute;left:34px;top:38px;right:36px;bottom:36px;background:radial-gradient(circle at 78% 28%, rgba(111,155,122,.18), transparent 25%), linear-gradient(180deg, transparent 0 28px, rgba(79,115,88,.06) 28px 30px, transparent 30px 70px, rgba(79,115,88,.06) 70px 72px, transparent 72px), linear-gradient(90deg, transparent 0 53%, rgba(79,115,88,.06) 53% 54%, transparent 54%);pointer-events:none}
.ll-section{width:var(--ll-container);margin:0 auto 28px}
.ll-card{background:var(--ll-surface);border:1px solid var(--ll-line);border-radius:var(--ll-radius);box-shadow:var(--ll-shadow)}
.ll-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 16px}
.ll-section-title{font-size:2.3rem}
.ll-grid-4,.ll-grid-3,.ll-grid-2{display:grid;gap:20px}
.ll-grid-4{grid-template-columns:repeat(4,1fr)}
.ll-grid-3{grid-template-columns:repeat(3,1fr)}
.ll-grid-2{grid-template-columns:1.35fr .8fr}
.ll-feature-card{padding:22px}
.ll-feature-icon{width:48px;height:48px;border-radius:16px;background:var(--ll-sage);color:var(--ll-primary-dark);display:grid;place-items:center;font-weight:800;margin-bottom:14px}
.ll-feature-card h3{font-size:1.55rem;margin-bottom:8px}
.ll-feature-card p{color:var(--ll-muted)}
.ll-post-card{overflow:hidden}
.ll-post-thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#efe6d8,#f7f3ec);border-bottom:1px solid var(--ll-line)}
.ll-post-thumb img{width:100%;height:100%;object-fit:cover}
.ll-post-body{padding:18px}
.ll-post-type{margin-bottom:10px}
.ll-post-card h3{font-size:1.55rem;line-height:1.08;margin-bottom:8px}
.ll-post-meta{font-size:.92rem;color:var(--ll-muted)}
.ll-social-panel{padding:22px}
.ll-social-panel h3{font-size:1.55rem}
.ll-mini-list{display:grid;gap:14px}
.ll-mini-item{display:grid;grid-template-columns:62px 1fr;gap:12px;align-items:center}
.ll-avatar{width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,var(--ll-primary),var(--ll-sage));display:grid;place-items:center;color:#fff;font-weight:800;border:1px solid var(--ll-line)}
.ll-activity{padding:18px;border-radius:18px;border:1px solid var(--ll-line);background:#fcfbf8}
.ll-activity + .ll-activity{margin-top:12px}
.ll-home-cta{padding:28px 30px;background:linear-gradient(135deg,#fdfaf4,#efe5d9)}
.ll-home-cta h2{font-size:2.5rem;margin-bottom:10px}
.site-footer{border-top:1px solid var(--ll-line);background:#fff;padding:28px 0;margin-top:36px}
.site-footer .ll-container{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;color:var(--ll-muted)}
.ll-content-wrap{width:var(--ll-container);margin:0 auto}
.ll-content-card{padding:28px}
.entry-title{font-size:clamp(2.5rem,5vw,4rem)}
.entry-meta,.wp-caption-text,.post-date,.ll-meta{color:var(--ll-muted)}
.entry-content img,.entry-summary img{border-radius:18px;margin:18px 0}
.entry-content blockquote{margin:1.4em 0;padding:16px 18px;border-left:4px solid var(--ll-primary);background:#faf7f2;border-radius:14px}
.entry-content ul,.entry-content ol{padding-left:1.3rem}
.wp-block-group,.wp-block-columns,.wp-block-cover,.wp-block-image,.wp-block-buttons{margin-bottom:1.2rem}
input[type=text],input[type=email],input[type=password],input[type=url],textarea,select{width:100%;border:1px solid var(--ll-line);border-radius:16px;background:#fff;padding:12px 14px;color:var(--ll-text)}
textarea{min-height:130px}
label{font-weight:700;display:block;margin-bottom:8px}
#buddypress,.buddypress-wrap{width:var(--ll-container);margin:28px auto}
#buddypress .item-list,.buddypress-wrap .item-list{border:none}
#buddypress .activity-list li,#buddypress .members-list li,#buddypress .groups-list li,.buddypress-wrap .activity-list li,.buddypress-wrap .members-list li,.buddypress-wrap .groups-list li{background:#fff;border:1px solid var(--ll-line);border-radius:22px;padding:18px !important;margin-bottom:16px;box-shadow:var(--ll-shadow)}
#buddypress .item-body,.buddypress-wrap .item-body{color:var(--ll-muted)}
#buddypress .activity-header a,#buddypress .item-title a,.buddypress-wrap .activity-header a,.buddypress-wrap .item-title a{color:var(--ll-text);font-weight:700}
#buddypress .activity-content,.buddypress-wrap .activity-content{margin-top:8px}
#buddypress div.item-list-tabs ul li a,.buddypress-wrap .bp-navs ul li a{border-radius:999px;padding:10px 14px}
#buddypress div.item-list-tabs ul li.selected a,#buddypress div.item-list-tabs ul li.current a,.buddypress-wrap .bp-navs ul li.selected a,.buddypress-wrap .bp-navs ul li.current a{background:var(--ll-primary);color:#fff}
#buddypress img.avatar,.buddypress-wrap img.avatar{border-radius:18px}
.widget{background:#fff;border:1px solid var(--ll-line);border-radius:22px;padding:18px;box-shadow:var(--ll-shadow);margin-bottom:20px}
.widget-title{font-size:1.6rem}
@media (max-width: 1024px){
  .ll-grid-4,.ll-grid-3,.ll-grid-2,.ll-hero-grid{grid-template-columns:1fr}
  .ll-hero-media{min-height:360px}
}
@media (max-width: 720px){
  .ll-topbar-inner{padding:12px 0;align-items:flex-start}
  .ll-nav-wrap{width:100%;justify-content:flex-end}
  .ll-primary-nav .menu{gap:12px}
  .ll-hero-copy{padding:34px 24px}
  .ll-hero-card{padding:18px}
  .ll-section-title{font-size:2rem}
}
