/*
Theme Name: BuddyX Child
Theme URI: https://example.com/
Description: Child theme for BuddyX — OTONA CIRCLE. Design matched to the client's top-page mockup (pixel-perfect project, 2026-11-15). Only brand/design CSS lives here. Never edit the parent theme.
Author: Zaer
Template: buddyx
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buddyx-child
*/

/* ============ OTONA CIRCLE design system (client mockup) ============ */
:root{
  --oc-green:#5f7a54;
  --oc-green-dark:#4c6543;
  --oc-sage:#63856d;
  --oc-cream:#faf5ec;
  --oc-card:#fffdf8;
  --oc-border:#e7ddcb;
  --oc-text:#3f3b33;
  --oc-muted:#8a8172;
  --oc-beige:#f3ecdb;
  --oc-icon-bg:#eef3e4;
}

body{ background:var(--oc-cream); color:var(--oc-text); }
.site-content, .content-area{ background:transparent; }

/* ---------- Header: logo only, slim ---------- */
.site-branding-inner{ display:none !important; }
.custom-logo{ height:46px; width:auto; }
#masthead{ background:#fffdf8; border-bottom:1px solid var(--oc-border); }
.main-navigation .menu a, .main-navigation a{ color:var(--oc-text); font-size:14px; }
h1,h2,h3,h4{ font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif; color:var(--oc-text); }
.entry-content h2, .entry-content h3{ scroll-margin-top:110px; }

/* ---------- Home sections ---------- */
.oc-section{ max-width:1080px; margin:0 auto; padding:34px 20px 6px; }
.oc-sec-head{ display:flex; align-items:flex-end; justify-content:space-between; margin:0 0 16px; }
.oc-sec-title{ display:flex; align-items:center; gap:10px; font-size:24px; margin:0; }
.oc-sec-title img{ width:26px; height:26px; object-fit:contain; }
.oc-more{ font-size:13px; color:var(--oc-muted); text-decoration:none; white-space:nowrap; }
.oc-more:hover{ color:var(--oc-green); }

/* cards */
.oc-card{ background:var(--oc-card); border:1px solid var(--oc-border); border-radius:14px; overflow:hidden; height:100%; }
.oc-card figure{ margin:0; }
.oc-card img{ width:100%; aspect-ratio:3/2; object-fit:cover; display:block; }
.oc-card-body{ padding:14px 16px 16px; }
.oc-card-body h3{ font-size:16.5px; line-height:1.5; margin:0 0 8px; }
.oc-card-body p{ font-size:13.5px; line-height:1.75; color:#5c564c; margin:0 0 10px; }
.oc-meta{ font-size:12.5px; color:var(--oc-muted); display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.oc-tag{ display:inline-block; background:var(--oc-icon-bg); color:var(--oc-green-dark); border-radius:20px; padding:2px 10px; font-size:12px; }
.oc-btn{ display:inline-block; background:var(--oc-green); color:#fff !important; border-radius:8px; padding:7px 22px; font-size:13.5px; text-decoration:none !important; }
.oc-btn:hover{ background:var(--oc-green-dark); }
.oc-card-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:6px; }

/* value cards (photo left, text right) */
.oc-value{ background:var(--oc-card); border:1px solid var(--oc-border); border-radius:14px; padding:14px; display:flex; gap:14px; align-items:flex-start; height:100%; }
.oc-value img{ width:96px; height:72px; object-fit:cover; border-radius:9px; flex:none; }
.oc-value h3{ font-size:15.5px; margin:0 0 6px; line-height:1.5; }
.oc-value p{ font-size:12.8px; line-height:1.7; color:#5c564c; margin:0; }

/* icon columns (dekiru koto / anshin) */
.oc-feature{ text-align:left; padding:6px 4px; }
.oc-icon{ width:58px; height:58px; border-radius:50%; background:var(--oc-icon-bg); display:flex; align-items:center; justify-content:center; font-size:27px; margin:0 0 12px; }
.oc-feature h3{ font-size:16.5px; margin:0 0 8px; }
.oc-feature p{ font-size:13.5px; line-height:1.75; color:#5c564c; margin:0 0 8px; }
.oc-feature a{ font-size:13.5px; color:var(--oc-green-dark); text-decoration:none; font-weight:600; }

/* event date badge */
.oc-event-media{ position:relative; }
.oc-date{ position:absolute; left:10px; bottom:10px; background:#fffdf8; border:1px solid var(--oc-border); border-radius:9px; padding:4px 10px; text-align:center; line-height:1.25; }
.oc-date b{ display:block; font-size:16px; color:var(--oc-text); }
.oc-date span{ font-size:11px; color:var(--oc-muted); }
.oc-kind{ position:absolute; right:10px; bottom:10px; background:var(--oc-green); color:#fff; border-radius:6px; padding:3px 10px; font-size:12px; }
.oc-kind.off{ background:#b98a4a; }

/* hero */
.oc-hero-note{ font-family:"Klee One",cursive; transform:rotate(-4deg); font-size:19px; color:#4c6543; text-align:right; }
.wp-block-cover .wp-block-cover__inner-container{ text-shadow:0 1px 10px rgba(255,253,248,.9), 0 0 26px rgba(255,253,248,.85); }
.wp-block-cover h1{ color:var(--oc-text) !important; }
.wp-block-cover p{ color:var(--oc-text) !important; }

/* buttons */
.wp-block-button .wp-block-button__link{ border-radius:9px; font-size:15px; padding:11px 30px; }
.wp-block-button.is-style-fill .wp-block-button__link{ background:var(--oc-green); color:#fff; }
.wp-block-button.is-style-outline .wp-block-button__link{ background:rgba(255,253,248,.92); color:var(--oc-text); border:1.5px solid #c9bfa9; }

/* CTA banner */
.oc-cta{ background:var(--oc-beige); border-radius:18px; padding:40px 24px 34px; text-align:center; }
.oc-cta h2{ font-size:27px; margin:0 0 10px; }
.oc-cta p{ color:#5c564c; margin:0 0 20px; }
.oc-cta .wp-block-buttons{ justify-content:center; }

/* ---------- Footer ---------- */
.site-footer{ background:#fffdf8; border-top:1px solid var(--oc-border); }
.site-info{ display:none; }
.oc-foot-tag{ font-size:13px; color:#5c564c; line-height:1.8; }
.oc-foot h4{ font-size:14.5px; margin:0 0 10px; font-family:inherit; font-weight:700; }
.oc-foot ul{ list-style:none; margin:0; padding:0; }
.oc-foot li{ margin:0 0 8px; font-size:13.5px; }
.oc-foot a{ color:#5c564c; text-decoration:none; }
.oc-foot a:hover{ color:var(--oc-green); }
.oc-copyright{ text-align:center; font-size:12.5px; color:var(--oc-muted); padding:16px 0 6px; }

/* tighten block gaps inside home columns */
.oc-tight .wp-block-column > *{ margin-top:0; margin-bottom:0; }
.oc-tight figure{ margin:0; }

@media (max-width: 781px){
  .oc-value{ flex-direction:column; }
  .oc-value img{ width:100%; height:auto; aspect-ratio:3/2; }
  .custom-logo{ height:38px; }
}

/* ============ v1.1 fixes (review 2026-11-15) ============ */
/* one width for every home section + footer */
.oc-section{ max-width:1140px; width:100%; padding:26px 20px 0; }
.oc-section > *, .oc-foot > *{ max-width:1140px !important; }
.page-id-30 .entry-content{ max-width:1140px; margin:0 auto; }
.oc-section .wp-block-columns{ margin-bottom:0; }
.oc-section, .oc-sec-title, .entry-content h2, .entry-content h3{ scroll-margin-top:96px; }

/* header: one row */
#masthead.site-header{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; padding-top:8px; padding-bottom:8px; }
#masthead .site-branding{ flex:none; }
#masthead .main-navigation{ flex:1 1 auto; }
.bx-color-mode-toggle{ display:none !important; }
.main-navigation .oc-head-btn a{ background:var(--oc-green); color:#fff !important; border-radius:8px; padding:9px 20px !important; margin-left:10px; }
.main-navigation .oc-head-btn a:hover{ background:var(--oc-green-dark); }

/* buttons: brand green everywhere */
.wp-block-button .wp-block-button__link{ background-color:var(--oc-green) !important; border-color:var(--oc-green) !important; color:#fff !important; }
.wp-block-button.is-style-outline .wp-block-button__link{ background:rgba(255,253,248,.94) !important; color:var(--oc-text) !important; border:1.5px solid #c9bfa9 !important; }

/* hero note: top right */
.wp-block-cover{ position:relative; }
.oc-hero-note{ position:absolute; top:22px; right:5%; z-index:5; margin:0; }

/* values: photo + text balance */
.oc-value{ align-items:center; }
.oc-value figure{ flex:none; margin:0; }
.oc-value img{ width:110px; height:82px; }
.oc-value > .wp-block-group{ flex:1 1 auto; min-width:0; }

/* icons a bit larger */
.oc-icon{ width:64px; height:64px; font-size:30px; }

/* section title leaf */
.oc-sec-title img{ width:24px; height:auto; }

/* ============ v1.2 fixes (review round 3) ============ */
html{ scroll-padding-top:92px; }
#masthead.site-header{ flex-wrap:nowrap; }
#masthead .main-navigation{ min-width:0; margin-left:auto; }
#masthead .main-navigation .menu a, #masthead .main-navigation a{ font-size:13px; padding-left:9px; padding-right:9px; }
.custom-logo{ height:34px; }
.main-navigation .oc-head-btn a{ padding:8px 14px !important; font-size:13px; white-space:nowrap; }
.wp-block-cover__inner-container > .oc-hero-note{ position:static; max-width:430px !important; width:fit-content; margin-left:auto !important; margin-right:2% !important; align-self:flex-end; text-align:right; }

/* ============ v1.3 fixes (review round 4) ============ */
.custom-logo{ height:30px; }
#masthead .main-navigation ul.menu, #masthead .main-navigation .menu > ul{ display:flex; flex-wrap:nowrap; align-items:center; }
#masthead .main-navigation li{ flex:none; }
#masthead .main-navigation .menu a{ padding-left:7px; padding-right:7px; }
.wp-block-cover .wp-block-cover__inner-container{ width:100%; }

/* ============ v1.4 hero note: absolute to the cover itself ============ */
.wp-block-cover{ position:relative; }
.wp-block-cover .wp-block-cover__inner-container{ position:static !important; }
.wp-block-cover .oc-hero-note{ position:absolute !important; top:20px; right:4%; left:auto; width:auto !important; max-width:430px; margin:0 !important; z-index:5; }

/* ============ v1.5 fixes (complete review round 2) ============ */
/* hero: inner container back above the photo; note absolute inside it */
.wp-block-cover .wp-block-cover__inner-container{ position:relative !important; }
.wp-block-cover .oc-hero-note{ top:-38px; right:0; background:rgba(250,245,236,.55); padding:8px 12px; border-radius:12px; }
/* CTA photo banner */
.oc-cta-cover{ border-radius:18px; overflow:hidden; }
.oc-cta-cover .wp-block-cover__inner-container{ text-shadow:none; }
.oc-cta-cover h2, .oc-cta-cover p{ color:var(--oc-text) !important; }
.oc-cta-cover .wp-block-buttons{ justify-content:center; }
/* features / anshin: left aligned, steady title size */
.oc-feature{ text-align:left; }
.oc-feature .oc-icon{ margin:0 0 12px; }
.oc-card-body.oc-feature h3{ font-size:15.5px; line-height:1.55; }
.oc-icon svg{ display:block; }
/* circle avatars */
.oc-avatars{ display:inline-flex; margin-right:9px; vertical-align:middle; }
.oc-avatars i{ width:22px; height:22px; border-radius:50%; background:#dfe7d2; border:2px solid #fffdf8; font-size:11px; font-style:normal; display:flex; align-items:center; justify-content:center; margin-left:-6px; }
.oc-avatars i:first-child{ margin-left:0; }
.oc-avatars i:nth-child(2){ background:#e9dfc8; }
.oc-avatars i:nth-child(3){ background:#d8e2ec; }
.oc-avatars i:nth-child(4){ background:#efdfd2; }
/* header login as outline button */
.bp-icon-wrap .btn-login{ border:1.5px solid #c9bfa9; border-radius:8px; padding:7px 15px; background:#fffdf8; color:var(--oc-text) !important; text-decoration:none !important; font-size:13px; white-space:nowrap; }
.bp-icon-wrap .btn-login .fa{ margin-right:6px; }
/* footer: even columns, icons at bottom-left */
.oc-foot .wp-block-columns{ gap:34px; }
.oc-foot li{ white-space:nowrap; font-size:13px; }
.oc-foot .wp-block-column:first-child{ display:flex; flex-direction:column; }
.oc-foot .wp-block-social-links{ margin-top:auto; padding-top:20px; }
/* inner pages: brand-green submit/search buttons */
.tribe-events-c-search__button, .widget_search .search-submit, form.search-form input[type="submit"],
.wpcf7-form input[type="submit"], input[type="submit"].tribe-events-c-search__button{
  background:var(--oc-green) !important; border-color:var(--oc-green) !important; color:#fff !important; }

/* ============ v1.6 fixes (re-review round) ============ */
.wp-block-cover .wp-block-cover__inner-container{ flex:1 1 100%; align-self:stretch; }
.oc-icon{ margin:0 0 12px 0 !important; }
.oc-foot .wp-block-social-links{ margin-top:34px; }

/* v1.7: footer left column tightening so social icons level with link rows */
.oc-foot .wp-block-image{ margin:0 0 8px !important; }
.oc-foot .wp-block-column:first-child p{ margin:0 !important; }
.oc-foot .wp-block-social-links{ margin-top:12px !important; }

/* ============ v1.8 fixes (section-by-section review 3) ============ */
.wp-block-button__link{ border-radius:999px !important; }
.wp-block-cover:not(.oc-cta-cover){ min-height:580px; }
.wp-block-cover .oc-hero-note{ background:transparent; padding:0; border-radius:0; backdrop-filter:none; }
.oc-card-body.oc-feature{ display:flex; flex-wrap:wrap; align-items:center; column-gap:12px; }
.oc-card-body.oc-feature .oc-icon{ flex:0 0 54px; margin:0 !important; }
.oc-card-body.oc-feature h3{ flex:1 1 0; margin:0; }
.oc-card-body.oc-feature p:not(.oc-icon){ flex:0 0 100%; }
.oc-meta span:last-child{ margin-left:auto; }
.oc-event-photo .oc-tag{ top:10px; bottom:auto; }
.oc-card-photo img{ aspect-ratio:12/5; }
.oc-copy{ text-align:right; }
.oc-section .wp-block-media-text{ grid-template-columns:27% 1fr !important; }
.wp-block-media-text__content p{ font-size:12.5px; }

/* ============ v1.9 header (user order: full width, order, bigger) ============ */
.site-header{ max-width:100% !important; width:100%; padding-left:40px; padding-right:40px; box-sizing:border-box; }
.site-header .custom-logo{ height:44px !important; }
.bp-icon-wrap .btn-login{ padding:11px 22px; font-size:15.5px; }
.oc-head-btn a{ padding:12px 26px !important; font-size:15.5px !important; }
.site-header > li.oc-head-btn{ list-style:none; display:flex; align-items:center; margin-left:16px; }
.site-wrapper{ padding-top:0 !important; margin-top:0 !important; }
.site-main{ padding-top:0 !important; }
.entry-content{ padding-top:0 !important; }

/* ============ v2.0 fixes (re-review round) ============ */
.site-header-wrapper .container{ max-width:100% !important; width:100% !important; padding-left:40px; padding-right:40px; box-sizing:border-box; }
.site-branding{ flex:none; }
.site-header .custom-logo{ height:54px !important; max-width:none; }
.bp-icon-wrap .btn-login{ min-height:46px; display:inline-flex; align-items:center; box-sizing:border-box; }
.oc-head-btn a{ min-height:46px; display:inline-flex !important; align-items:center; box-sizing:border-box; }
.main-navigation > li.oc-head-btn{ list-style:none; display:flex; align-items:center; margin-left:14px; }
.oc-feature{ display:flex; flex-wrap:wrap; align-items:center; column-gap:12px; }
.oc-feature .oc-icon{ flex:0 0 54px; margin:0 !important; }
.oc-feature h3{ flex:1 1 0; margin:0; }
.oc-feature p:not(.oc-icon){ flex:0 0 100%; }
.oc-feature .wp-block-buttons{ flex:0 0 100%; }
.oc-kind{ top:10px; bottom:auto; }
.oc-card .wp-block-image img{ width:100%; height:144px; object-fit:cover; }
.oc-copyright{ text-align:right !important; }
.oc-value img{ width:100px; height:75px; }
.oc-value p{ font-size:12px; line-height:1.65; }

/* ============ v2.1 header width + logo (re-review round 2) ============ */
.site-header-wrapper .container{ padding-left:20px; padding-right:20px; }
#masthead.site-header{ padding-left:20px; padding-right:20px; }
.main-navigation{ margin-left:auto; }
.site-header .custom-logo{ height:64px !important; }

/* ============ v2.2 header stretch + logo cap (re-review round 3) ============ */
.site-branding{ flex:0 1 auto !important; }
.main-navigation{ flex:1 1 auto !important; display:flex; justify-content:flex-end !important; align-items:center; }
.site-branding img{ max-height:76px !important; }
.site-header .custom-logo{ height:72px !important; }

/* ============ v2.3 responsive header (fit every screen width) ============ */
@media (max-width:1750px){
  .site-header .custom-logo{ height:60px !important; }
  .site-branding img{ max-height:64px !important; }
  #masthead.site-header{ gap:18px; }
  .main-navigation .menu > li > a{ font-size:14.5px; }
}
@media (max-width:1550px){
  .site-header .custom-logo{ height:52px !important; }
  .site-branding img{ max-height:56px !important; }
  .main-navigation .menu > li > a{ font-size:14px; }
  .bp-icon-wrap .btn-login{ padding:9px 16px; font-size:14px; min-height:42px; }
  .oc-head-btn a{ padding:10px 18px !important; font-size:14px !important; min-height:42px; }
}
@media (max-width:1400px){
  .site-header-wrapper .container{ padding-left:14px; padding-right:14px; }
  #masthead.site-header{ padding-left:14px; padding-right:14px; gap:12px; }
  .site-header .custom-logo{ height:44px !important; }
  .site-branding img{ max-height:48px !important; }
  .main-navigation .menu > li > a{ font-size:13.5px; }
}
@media (max-width:1250px){
  .site-header .custom-logo{ height:40px !important; }
  .site-branding img{ max-height:44px !important; }
  .main-navigation .menu > li > a{ font-size:13px; }
  .bp-icon-wrap .btn-login{ padding:8px 13px; font-size:13px; min-height:38px; }
  .oc-head-btn a{ padding:9px 14px !important; font-size:13px !important; min-height:38px; }
}

/* ============ v2.4 header line removed (user order) ============ */
.site-header-wrapper{ box-shadow:none !important; border-bottom:none !important; }
.site-header{ box-shadow:none !important; border-bottom:none !important; }

/* ============ v2.5 hero photo: no width crop (user order) ============ */
.wp-block-cover:not(.oc-cta-cover){ aspect-ratio:3/1; min-height:0; height:auto; }
@media (max-width:820px){
  .wp-block-cover:not(.oc-cta-cover){ aspect-ratio:auto; min-height:340px; }
}

/* ============ v2.6 hero full-bleed (user order: width cut) ============ */
.wp-block-cover.alignfull{ width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); border-radius:0; }
body{ overflow-x:clip; }

/* ============ v2.7 hero note: bold + white glow (mockup, user order) ============ */
.wp-block-cover .oc-hero-note{ font-weight:600; font-size:20px; color:#42563a; text-shadow:0 0 6px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.75), 0 1px 3px rgba(255,255,255,.9); }
.wp-block-cover .oc-hero-note::before{ content:''; position:absolute; inset:-16px -24px; background:rgba(255,255,255,.5); filter:blur(16px); border-radius:50%; z-index:-1; }

/* ============ v2.8 hero left text: same white glow as note (user order) ============ */
.wp-block-cover h1{ position:relative; isolation:isolate; text-shadow:0 0 6px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.75), 0 1px 3px rgba(255,255,255,.9); }
.wp-block-cover h1::before{ content:''; position:absolute; inset:-20px -30px -70px -30px; background:rgba(255,255,255,.45); filter:blur(18px); border-radius:50%; z-index:-1; }
.wp-block-cover__inner-container > p:not(.oc-hero-note){ text-shadow:0 0 6px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.75), 0 1px 3px rgba(255,255,255,.9); }

/* ============ v2.9 glow sirf text tak (user order: pura image safed ho gaya tha) ============ */
.wp-block-cover .wp-block-cover__inner-container{ text-shadow:0 0 5px rgba(255,255,255,.5); }
.wp-block-cover .oc-hero-note::before{ display:none; }
.wp-block-cover h1::before{ display:none; }
.wp-block-cover .oc-hero-note{ text-shadow:0 0 3px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.6); }
.wp-block-cover h1{ text-shadow:0 0 3px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.6); }
.wp-block-cover__inner-container > p:not(.oc-hero-note){ text-shadow:0 0 3px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.6); }

/* ============ v3.0 glow: beech wala naap (dikhe, par text tak hi) ============ */
.wp-block-cover .oc-hero-note{ text-shadow:0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.8), 0 0 18px rgba(255,255,255,.5); }
.wp-block-cover h1{ text-shadow:0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.8), 0 0 18px rgba(255,255,255,.5); }
.wp-block-cover__inner-container > p:not(.oc-hero-note){ text-shadow:0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.8), 0 0 18px rgba(255,255,255,.5); }

/* ============ v3.1 features section: mockup cards (white box, circle badge, 2-column interior) ============ */
.oc-features .oc-feature{ display:grid; grid-template-columns:56px 1fr; column-gap:14px; row-gap:5px; align-content:start; background:#fff; border:1px solid #e3e9e3; border-radius:14px; padding:20px 18px; height:100%; }
.oc-features .oc-feature .oc-icon{ grid-column:1; grid-row:1/4; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0; padding:0; }
.oc-features .oc-feature .oc-icon svg{ width:27px; height:27px; }
.oc-features .wp-block-column:nth-child(1) .oc-icon{ background:#e9f0f6; }
.oc-features .wp-block-column:nth-child(1) .oc-icon svg{ stroke:#5b84ae; }
.oc-features .wp-block-column:nth-child(2) .oc-icon{ background:#eaf1ec; }
.oc-features .wp-block-column:nth-child(2) .oc-icon svg{ stroke:#63856d; }
.oc-features .wp-block-column:nth-child(3) .oc-icon{ background:#e9f0f6; }
.oc-features .wp-block-column:nth-child(3) .oc-icon svg{ stroke:#5b84ae; }
.oc-features .wp-block-column:nth-child(4) .oc-icon{ background:#eaf1ec; }
.oc-features .wp-block-column:nth-child(4) .oc-icon svg{ stroke:#63856d; }
.oc-features .oc-feature h3{ margin:0; padding-top:3px; font-size:16px; }
.oc-features .oc-feature p{ margin:0; font-size:14px; line-height:1.65; color:#5c6470; }
.oc-features .oc-feature p a{ color:#2f4d6e; font-weight:600; text-decoration:none; }

/* ============ v3.2 features badge: upar (design jaisa), center nahi ============ */
.oc-features .oc-feature{ align-items:start; justify-items:start; }
.oc-features .oc-feature .oc-icon{ align-self:start; justify-self:start; }

/* ============ v3.3 features text: start (left) aligned, design jaisa ============ */
.oc-features .oc-feature{ text-align:left; }
.oc-features .oc-feature h3, .oc-features .oc-feature p{ text-align:left; }

/* ============ v3.4 features: WP layout ke auto-margin (center) ko hataya ============ */
.oc-features .oc-feature > *{ margin-left:0 !important; margin-right:0 !important; }

/* ============ v3.5 values cards: photo bada + upar se align (design proportion) ============ */
.oc-value{ align-items:flex-start; padding:16px; gap:16px; }
.oc-value img{ width:132px; height:99px; }

/* ============ v3.6 values: text group bhi upar se (title photo ke saath level) ============ */
.oc-value{ align-items:flex-start !important; }
.oc-value > .wp-block-group{ align-self:flex-start; margin-top:0 !important; }
.oc-value > .wp-block-group h3{ margin-top:0 !important; }

/* ============ v3.7 community: time left-grouped (design), pill tints, meta level, head centering ============ */
.oc-sec-head{ align-items:center; }
.oc-community .oc-card{ display:flex; flex-direction:column; }
.oc-community .oc-card-body{ flex:1; display:flex; flex-direction:column; }
.oc-community .oc-meta{ margin-top:auto; }
.oc-community .oc-meta span:last-child{ margin-left:0; }
.oc-community .oc-card-body h3{ font-size:15px; }
.oc-community .wp-block-column:nth-child(1) .oc-tag{ background:#f6e7da; }
.oc-community .wp-block-column:nth-child(2) .oc-tag{ background:#e9f1e6; }
.oc-community .wp-block-column:nth-child(3) .oc-tag{ background:#e6eef6; }

/* ============ v3.8 community round 2: meta flush-left, title 1-line, more-link nudge ============ */
.oc-community .oc-card-body > *{ margin-left:0 !important; margin-right:0 !important; }
.oc-community .oc-card-body{ padding:14px 13px 16px; }
.oc-community .oc-card-body h3{ font-size:14px; }
.oc-sec-head .oc-more{ position:relative; top:4px; }

/* ============ v3.9 community title: 13.5px + balance wrap (widow na ho) ============ */
.oc-community .oc-card-body h3{ font-size:13.5px; text-wrap:balance; }

/* ============ v4.0 card-body gap + circles: pill button, avatar silhouette ============ */
.oc-card-body{ margin-top:0 !important; }
.oc-circles .oc-btn{ background:#e6efdd; color:#4c6b3c !important; border-radius:999px; padding:7px 20px; }
.oc-circles .oc-btn:hover{ background:#d9e6cb; }
.oc-circles .oc-avatars{ margin-right:0; }
.oc-circles .oc-avatars i{ font-size:0; width:26px; height:26px; margin-left:-8px; overflow:hidden; background-image:radial-gradient(circle at 50% 36%, rgba(100,105,90,.5) 0 5px, transparent 6.5px), radial-gradient(circle at 50% 95%, rgba(100,105,90,.5) 0 10px, transparent 11.5px); }
.oc-circles .oc-avatars i:first-child{ margin-left:0; }
.oc-circles .oc-meta{ gap:8px; }

/* ============ v4.1 card title ka bacha hua top-margin khatam (gap ~20px) ============ */
.oc-card-body h3{ margin-top:0 !important; }

/* ============ v4.2 events: gola date badge, halke kind tag, pill button, ppl icon ============ */
.oc-btn{ background:#e6efdd; color:#4c6b3c !important; border-radius:999px; padding:7px 20px; }
.oc-btn:hover{ background:#d9e6cb; }
.oc-date{ left:12px; bottom:auto; top:50%; transform:translateY(-50%); width:64px; height:64px; border-radius:50%; border:none; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0; box-shadow:0 2px 8px rgba(60,50,30,.18); }
.oc-date b{ font-size:18px; }
.oc-kind{ background:#e9eff5; color:#46617c; border-radius:999px; padding:4px 12px; }
.oc-kind.off{ background:#f7e7d7; color:#96682f; }
.oc-ppl{ flex:0 0 auto; width:20px; height:20px; border-radius:50%; background-color:#eef3e4; background-image:radial-gradient(circle at 50% 36%, rgba(100,105,90,.5) 0 4px, transparent 5.5px), radial-gradient(circle at 50% 95%, rgba(100,105,90,.5) 0 8px, transparent 9.5px); }
.oc-events .oc-meta{ gap:7px; align-items:center; }
.oc-event-media{ margin:0 !important; }
.oc-event-media .wp-block-image{ margin:0 !important; }

/* ============ v4.3 events: badge/tag ka chhupa margin khatam, icon gap tight ============ */
.oc-date, .oc-kind{ margin:0 !important; }
.oc-ppl{ width:18px; height:18px; }
.oc-events .oc-meta{ gap:5px; }

/* ============ v4.4 events icon gap final ============ */
.oc-events .oc-meta{ gap:4px; }

/* ============ v4.5 blog: horizontal cards (photo left, text right) ============ */
.oc-blog .oc-card{ display:flex; flex-direction:row; align-items:stretch; }
.oc-blog .oc-card > figure{ flex:0 0 37%; margin:0 !important; }
.oc-blog .oc-card .wp-block-image img{ width:100%; height:100%; aspect-ratio:auto; }
.oc-blog .oc-card-body{ flex:1 1 auto; display:flex; flex-direction:column; padding:14px 14px 12px; }
.oc-blog .oc-card-body h3{ font-size:14px; line-height:1.45; }
.oc-blog .oc-card-body p{ font-size:12.5px; line-height:1.7; }
.oc-blog .oc-meta{ margin-top:auto; font-size:12px; }

/* ============ v4.6 blog: column width balance, date flush-left, widow control ============ */
.oc-blog .oc-card > figure{ flex-basis:35%; }
.oc-blog .oc-card-body{ padding:13px 12px 12px; }
.oc-blog .oc-card-body > *{ margin-left:0 !important; margin-right:0 !important; }
.oc-blog .oc-card-body h3{ font-size:13px; text-wrap:balance; }
.oc-blog .oc-card-body p{ text-wrap:balance; }
.oc-blog .oc-meta{ text-align:left; }

/* ============ v4.7 anshin: badge-left grid (features wala andaaz) ============ */
.oc-anshin .oc-card-body.oc-feature{ display:grid; grid-template-columns:56px 1fr; column-gap:14px; align-items:start; padding:18px 16px; }
.oc-anshin .oc-feature > *{ margin-left:0 !important; margin-right:0 !important; }
.oc-anshin .oc-icon{ grid-column:1; grid-row:1 / 4; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#eaf1ec; }
.oc-anshin .oc-feature h3{ grid-column:2; text-align:left; }
.oc-anshin .oc-feature p:not(.oc-icon){ grid-column:2; text-align:left; }
.oc-anshin .wp-block-column:nth-child(2) .oc-icon{ background:#faeae7; }
.oc-anshin .wp-block-column:nth-child(4) .oc-icon{ background:#f3ecdd; }

/* ============ v4.8 CTA banner: zyada unchaai khatam, content beech me ============ */
.oc-cta-cover{ min-height:0 !important; height:auto !important; align-items:center; }
.oc-cta-cover .wp-block-cover__image-background{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* ============ v4.9 CTA: headline ka top margin khatam (content sahi beech me) ============ */
.oc-cta-cover .wp-block-heading{ margin-top:0 !important; }

/* ============ v5.0 community: photo poori chaudaai (flex shrink-wrap fix) + body balance ============ */
.oc-community .oc-card > figure{ align-self:stretch; width:100%; margin-left:0 !important; margin-right:0 !important; }
.oc-community .oc-card-body p{ text-wrap:balance; }

/* ============ v5.1 footer: social dayein, divider lines, chaudai sections jitni ============ */
.oc-foot > *{ max-width:1100px !important; }
.oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(6){ border-left:1px solid #e7e1d3; padding-left:24px; }
.oc-foot .wp-block-column:last-child{ display:flex; flex-direction:column; align-items:flex-end; }
.oc-foot .wp-block-column:last-child .wp-block-social-links{ margin-top:2px !important; padding-top:0; }
/* v5.1b: footer ke neeche ki khaali jagah kam */
.oc-copyright{ margin-bottom:0 !important; padding-bottom:0 !important; }
.footer-inner{ padding-bottom:20px !important; }

/* ============ v5.2 footer: © icons ke saath ek hi box me + icons bade ============ */
.oc-foot .wp-block-columns{ gap:28px; }
.oc-foot-social{ font-size:26px; }
.oc-foot .wp-block-column:last-child .oc-copyright{ font-size:11px; margin-top:auto; padding:10px 0 0 !important; }

/* ============ v5.3 page chaudai 1200 + footer © ek line + icons bade ============ */
.oc-section{ max-width:1240px; }
.oc-foot > *{ max-width:1200px !important; }
.page-id-30 .entry-content{ max-width:1240px; }
.oc-foot-social{ gap:12px; }
.oc-foot-social .wp-block-social-link svg{ width:30px !important; height:30px !important; }

/* ============ v5.4 chaudai container + mobile/tablet fix ============ */
body.page-id-30 .container{ max-width:1280px; }
@media (max-width: 991px){
  #masthead{ display:block; }
  .site-branding .custom-logo{ height:34px; width:auto; }
  .oc-section{ padding:22px 16px 0; }
}
@media (max-width: 781px){
  .oc-value{ align-items:stretch !important; }
  .oc-value figure{ width:100%; align-self:stretch; }
  .oc-value img{ width:100% !important; height:190px !important; aspect-ratio:auto !important; object-fit:cover; }
  .oc-value .wp-block-group{ text-align:left; align-self:stretch; }
  .oc-foot .wp-block-column{ border-left:none !important; padding-left:0 !important; }
  .oc-foot .wp-block-column:last-child{ align-items:flex-start !important; }
  .oc-foot-social{ justify-content:flex-start; }
  .oc-foot .oc-copyright{ text-align:left !important; }
}
@media (max-width: 600px){
  .oc-blog .oc-card{ flex-direction:column !important; }
  .oc-blog .oc-card > figure{ flex:none !important; width:100%; }
  .oc-blog .oc-card .wp-block-image img{ height:180px !important; }
  .wp-block-cover__inner-container > p.wp-block-paragraph:not(.oc-hero-note){ font-size:13px; }
  .oc-sec-title{ font-size:20px !important; }
}

/* ============ v5.5 chaudai asal + header mobile + icons asal size ============ */
body.page-id-30 .site-wrapper{ max-width:1240px; margin-left:auto; margin-right:auto; }
.oc-foot .wp-block-social-links .wp-social-link{ font-size:30px; }
.oc-foot .wp-block-social-links svg{ width:30px !important; height:30px !important; }
@media (max-width: 991px){
  #masthead{ display:flex !important; flex-wrap:wrap; align-items:center; }
  .buddypress-icons-wrapper{ position:static !important; }
  .site-header .custom-logo{ height:26px !important; max-width:52vw; object-fit:contain; object-position:left center; }
  #masthead .main-navigation{ flex:0 1 auto !important; }
  .main-navigation > li.oc-head-btn{ display:none !important; }
  .bp-icon-wrap .btn-login{ min-height:0 !important; padding:6px 10px !important; font-size:12px !important; }
  #menu-toggle{ display:block !important; }
  #masthead .main-navigation ul.menu{ display:block !important; }
  #masthead .main-navigation ul.menu li{ display:block; }
  #masthead .main-navigation ul.menu a{ display:block; padding:12px 20px !important; }
}
@media (max-width: 600px){
  .menu-icons-wrapper .search{ display:none !important; }
  .oc-sec-head .oc-sec-title{ font-size:20px !important; white-space:nowrap; }
  .wp-block-cover .oc-hero-note, .wp-block-cover__inner-container > p.wp-block-paragraph:not(.oc-hero-note){ text-shadow:0 0 6px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.9), 0 0 22px rgba(255,255,255,.65) !important; }
}

/* ============ v5.6 chaudai asal wajah + tablet header + icons 34 ============ */
.oc-section > *{ max-width:1200px !important; }
.oc-foot .wp-block-social-links .wp-social-link{ font-size:34px; }
.oc-foot .wp-block-social-links svg{ width:34px !important; height:34px !important; }
@media (min-width:768px) and (max-width:991px){
  #masthead .main-navigation ul.menu{ display:flex !important; flex-wrap:nowrap; align-items:center; }
  #masthead .main-navigation ul.menu li{ display:block; }
  #masthead .main-navigation ul.menu a{ display:block; padding:6px 5px !important; font-size:12px !important; white-space:nowrap; }
  #menu-toggle{ display:none !important; }
  .menu-icons-wrapper .search{ display:none !important; }
}
@media (max-width:600px){
  .wp-block-cover__inner-container > p.wp-block-paragraph:not(.oc-hero-note){ color:#33402f !important; text-shadow:0 0 6px rgba(255,255,255,.98), 0 0 14px rgba(255,255,255,.95), 0 0 26px rgba(255,255,255,.8), 0 0 40px rgba(255,255,255,.6) !important; }
}

/* ============ v5.7 mobile hero text ke peeche halki parat (padhne ke liye) ============ */
@media (max-width:600px){
  .wp-block-cover__inner-container > p.wp-block-paragraph:not(.oc-hero-note){ background:rgba(255,253,248,.78); padding:3px 9px; border-radius:7px; width:fit-content; max-width:94vw; box-sizing:border-box; }
  .wp-block-cover .oc-hero-note{ background:rgba(255,253,248,.55); padding:4px 10px; border-radius:8px; }
}

/* ============ v5.8 mobile/tablet footer professional + drawer design-match ============ */
@media (max-width:991px){
  .oc-foot .wp-block-columns{ flex-wrap:wrap !important; }
  .oc-foot .wp-block-column{ border-left:none !important; padding-left:0 !important; }
  .oc-foot .wp-block-column:first-child{ flex-basis:100% !important; flex-direction:row !important; align-items:center !important; gap:14px; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex:none; margin:0 !important; }
  .oc-foot .wp-block-column:first-child img{ width:150px !important; height:auto !important; }
  .oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(3), .oc-foot .wp-block-column:nth-child(4), .oc-foot .wp-block-column:nth-child(5){ flex-basis:calc(50% - 14px) !important; }
  .oc-foot .wp-block-column:last-child{ flex-basis:100% !important; border-top:1px solid #e7e1d3; padding-top:16px !important; margin-top:4px; }
  .mobile-menu-heading{ background:#fffdf8 !important; height:72px; padding:0 20px !important; margin-bottom:0 !important; border-bottom:1px solid #e7e1d3; }
  .mobile-menu-heading .menu-title{ color:#3c3830 !important; font-size:16px !important; text-transform:none !important; letter-spacing:0 !important; }
  .mobile-menu-heading .menu-close{ font-size:0 !important; padding-right:0 !important; width:24px; height:35px; }
  .mobile-menu-heading .menu-close::before, .mobile-menu-heading .menu-close::after{ background-color:#3c3830 !important; }
  .main-navigation .primary-menu-container{ background:#fffdf8 !important; }
}
@media (max-width:767px){
  .primary-menu-container ul.menu a{ font-size:15px !important; color:#3c3830 !important; border-bottom:1px solid #f0ead9; padding:13px 20px !important; }
  .primary-menu-container ul.menu .oc-head-btn a{ border-bottom:none; }
}

/* ============ v5.9 drawer close asal X + footer tagline jagah ============ */
.mobile-menu-heading .menu-close::before{ transform:rotate(45deg) !important; width:18px !important; }
.mobile-menu-heading .menu-close::after{ transform:rotate(-45deg) !important; width:18px !important; }
@media (max-width:991px){
  .oc-foot .wp-block-column:first-child p{ flex:1 1 auto; }
}

/* ============ v5.10 footer link 4 group ek line + center (mobile/tablet) ============ */
@media (max-width:991px){
  .oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(3), .oc-foot .wp-block-column:nth-child(4), .oc-foot .wp-block-column:nth-child(5){ flex:1 1 0 !important; flex-basis:0 !important; text-align:center; }
  .oc-foot .wp-block-column:nth-child(2) li, .oc-foot .wp-block-column:nth-child(3) li, .oc-foot .wp-block-column:nth-child(4) li, .oc-foot .wp-block-column:nth-child(5) li{ font-size:12px; text-align:center; }
  .oc-foot .wp-block-column:nth-child(2) ul, .oc-foot .wp-block-column:nth-child(3) ul, .oc-foot .wp-block-column:nth-child(4) ul, .oc-foot .wp-block-column:nth-child(5) ul{ padding-left:0 !important; }
}

/* ============ v5.11 mobile/tablet: footer center asal + tagline jagah + tablet header logo ============ */
@media (max-width:991px){
  .oc-foot, .oc-foot .wp-block-columns{ width:100% !important; max-width:100% !important; }
  .oc-foot .wp-block-columns{ column-gap:10px !important; row-gap:20px !important; }
  .oc-foot .wp-block-column:first-child{ display:flex !important; flex:1 1 100% !important; width:100% !important; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex:0 0 132px !important; }
  .oc-foot .wp-block-column:first-child img{ width:132px !important; }
  .oc-foot .wp-block-column:first-child p{ flex:1 1 auto !important; min-width:0 !important; font-size:12.5px !important; }
  .oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(3), .oc-foot .wp-block-column:nth-child(4), .oc-foot .wp-block-column:nth-child(5){ min-width:0 !important; text-align:center !important; }
  .oc-foot .wp-block-column:nth-child(2) ul, .oc-foot .wp-block-column:nth-child(3) ul, .oc-foot .wp-block-column:nth-child(4) ul, .oc-foot .wp-block-column:nth-child(5) ul{ text-align:center !important; margin-left:auto !important; margin-right:auto !important; }
  .oc-foot .wp-block-column:nth-child(2) li, .oc-foot .wp-block-column:nth-child(3) li, .oc-foot .wp-block-column:nth-child(4) li, .oc-foot .wp-block-column:nth-child(5) li{ text-align:center !important; }
  .oc-foot .wp-block-column:nth-child(2) a, .oc-foot .wp-block-column:nth-child(3) a, .oc-foot .wp-block-column:nth-child(4) a, .oc-foot .wp-block-column:nth-child(5) a{ text-align:center !important; white-space:normal !important; font-size:11.5px !important; }
}
@media (min-width:768px) and (max-width:991px){
  #masthead{ gap:8px !important; }
  #masthead .site-branding{ flex:0 0 auto !important; }
  .site-header .custom-logo{ height:20px !important; width:auto !important; max-width:175px !important; }
  #masthead .main-navigation ul.menu a{ font-size:11.5px !important; padding:6px 3px !important; }
}

/* ============ v5.12 footer container poori chaudai (tablet cap fix) + phone tagline ============ */
@media (max-width:991px){
  .site-footer .container, .site-footer .footer-inner{ max-width:100% !important; width:100% !important; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:120px !important; }
  .oc-foot .wp-block-column:first-child img{ width:120px !important; }
  .oc-foot .wp-block-column:first-child p{ font-size:12px !important; }
}
@media (max-width:600px){
  .site-footer .footer-inner{ padding-left:10px !important; padding-right:10px !important; }
}

/* ============ v5.13 footer-widget 50% cap fix (BuddyX) + phone tagline jagah ============ */
@media (max-width:991px){
  .site-footer .footer-widget{ width:100% !important; flex:1 1 100% !important; margin:0 !important; }
}
@media (max-width:600px){
  .oc-foot{ padding-left:8px !important; padding-right:8px !important; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:104px !important; }
  .oc-foot .wp-block-column:first-child img{ width:104px !important; }
  .oc-foot .wp-block-column:first-child p{ font-size:11.5px !important; }
}

/* ============ v5.14 phone tagline: pehli line poori ek line me ============ */
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:88px !important; }
  .oc-foot .wp-block-column:first-child img{ width:88px !important; }
  .oc-foot .wp-block-column:first-child p{ font-size:11px !important; white-space:nowrap !important; }
}

/* ============ v5.15 phone footer logo thoda bada (tagline nowrap se surakshit) ============ */
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:108px !important; }
  .oc-foot .wp-block-column:first-child img{ width:108px !important; }
}

/* ============ v5.16 footer centre + faltu space kam + section gap kam (user order 2026-11-16) ============ */
/* footer ki upar-neeche ki khaali jagah kam */
.footer-inner{ padding:24px 0 12px !important; }
.oc-foot li{ margin-bottom:6px; }
/* columns ab do lines me: brand line + links/social line */
.oc-foot .wp-block-columns{ flex-wrap:wrap !important; row-gap:16px; }
/* brand column: poori line, logo + tagline beech me */
.oc-foot .wp-block-column:first-child{ flex:1 1 100% !important; align-items:center !important; text-align:center !important; }
.oc-foot .wp-block-column:first-child p{ margin:0 auto !important; }
/* aakhri column: social + copyright centre */
.oc-foot .wp-block-column:last-child{ align-items:center !important; border-left:none !important; padding-left:0 !important; }
.oc-foot .wp-block-column:last-child .wp-block-social-links{ margin:0 auto !important; padding-top:0 !important; justify-content:center !important; }
.oc-foot-social{ justify-content:center !important; }
.oc-foot .wp-block-column:last-child .oc-copyright{ text-align:center !important; margin-top:6px !important; padding:0 !important; }
/* link columns ke purane side dividers khatm */
.oc-foot .wp-block-column:nth-child(2){ border-left:none !important; padding-left:0 !important; }
@media (min-width:992px){
  /* desktop: logo aur tagline ek line me, poora group centre */
  .oc-foot .wp-block-column:first-child{ flex-direction:row !important; justify-content:center !important; gap:18px; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ margin:0 !important; flex:none; }
  .oc-foot .wp-block-column:first-child p{ margin:0 !important; text-align:left !important; }
  /* desktop: 4 link group + social column ek hi line me, group centre */
  .oc-foot .wp-block-columns{ justify-content:center; }
  .oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(3), .oc-foot .wp-block-column:nth-child(4), .oc-foot .wp-block-column:nth-child(5), .oc-foot .wp-block-column:last-child{ flex-grow:0 !important; }
}
@media (max-width:991px){
  /* mobile/tablet: logo upar centre, tagline uske neeche centre */
  .oc-foot .wp-block-column:first-child{ flex-direction:column !important; align-items:center !important; gap:6px; }
  .oc-foot .wp-block-column:first-child p{ text-align:center !important; }
  .oc-foot .wp-block-column:last-child{ align-items:center !important; }
  .oc-foot .oc-copyright{ text-align:center !important; }
}
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:auto !important; }
  .oc-foot .wp-block-column:first-child img{ width:120px !important; }
  .oc-foot .wp-block-column:first-child p{ font-size:12.5px !important; white-space:normal !important; text-align:center !important; }
  .footer-inner{ padding-top:20px !important; padding-bottom:10px !important; }
}
/* sections ke beech ka gap kam (sab versions) */
.oc-section{ padding-top:16px; margin-block-start:10px !important; }
@media (max-width:600px){
  .oc-section{ padding-top:12px; margin-block-start:6px !important; }
}

/* ============ v5.17 footer: logo asal centre + social/copyright asal centre + gap aur kam (user order 2026-11-16) ============ */
.footer-inner{ padding:20px 0 12px !important; }
.site-footer .footer-widget, .site-footer .widget, .oc-foot, .oc-foot .wp-block-columns{ margin-bottom:0 !important; padding-bottom:0 !important; }
.oc-foot .wp-block-columns{ row-gap:12px; }
.oc-foot li{ line-height:1.45; margin-bottom:5px; }
/* brand: logo centre, tagline uske neeche centre — sab versions ek jaisa */
.oc-foot .wp-block-column:first-child{ flex-direction:column !important; align-items:center !important; gap:4px; }
.oc-foot .wp-block-column:first-child .wp-block-image{ margin:0 auto !important; }
.oc-foot .wp-block-column:first-child p{ text-align:center !important; margin:0 auto !important; }
/* social + copyright: apni poori line, page ke centre me */
.oc-foot .wp-block-column:last-child{ flex:1 1 100% !important; align-items:center !important; border-top:1px solid #e7e1d3; padding-top:12px; margin-top:0; }
.oc-foot .wp-block-column:last-child .oc-copyright{ margin-top:6px !important; }
@media (min-width:992px){
  .oc-foot-tag br{ display:none; }
}
@media (max-width:991px){
  .oc-foot .wp-block-column:last-child{ align-items:center !important; }
}
/* sections: head ke upar ki + pichhle section ke neeche ki jagah bhi kam */
.oc-section{ padding-top:12px; }
.oc-section > :first-child{ margin-top:0 !important; }
.oc-section > :last-child{ margin-bottom:0 !important; }
.oc-sec-head, .oc-sec-title{ margin-top:0 !important; }
.entry-content > .wp-block-cover{ margin-bottom:0 !important; }
@media (max-width:600px){
  .oc-section{ padding-top:10px; }
}


/* ============ v5.18 mobile/tablet footer logo bada (user order 2026-11-16) ============ */
@media (max-width:991px){
  .oc-foot .wp-block-column:first-child .wp-block-image{ flex-basis:auto !important; }
  .oc-foot .wp-block-column:first-child img{ width:200px !important; }
}
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child img{ width:180px !important; }
}


/* ============ v5.19 desktop footer design jaisa wapas (sirf >=992px; mobile/tablet centre hi rahega) (user order 2026-11-16) ============ */
@media (min-width:992px){
  .footer-inner{ padding:50px 0 20px !important; }
  .oc-foot .wp-block-columns{ flex-wrap:nowrap !important; justify-content:normal; }
  .oc-foot .wp-block-column:first-child{ flex:1 1 24% !important; flex-direction:column !important; align-items:stretch !important; text-align:left !important; gap:0; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ margin:0 0 8px !important; flex:none; }
  .oc-foot .wp-block-column:first-child p{ margin:0 !important; text-align:left !important; }
  .oc-foot-tag br{ display:inline !important; }
  .oc-foot .wp-block-column:nth-child(2){ border-left:1px solid #e7e1d3 !important; padding-left:24px !important; }
  .oc-foot .wp-block-column:nth-child(2), .oc-foot .wp-block-column:nth-child(3), .oc-foot .wp-block-column:nth-child(4), .oc-foot .wp-block-column:nth-child(5){ flex-grow:1 !important; }
  .oc-foot li{ line-height:inherit !important; margin-bottom:8px; }
  .oc-foot .wp-block-column:last-child{ flex:1 1 26% !important; align-items:flex-end !important; border-left:1px solid #e7e1d3 !important; padding-left:24px !important; border-top:none !important; padding-top:0 !important; }
  .oc-foot .wp-block-column:last-child .wp-block-social-links{ margin-top:2px !important; margin-left:0 !important; margin-right:0 !important; padding-top:0 !important; justify-content:flex-start !important; }
  .oc-foot-social{ justify-content:flex-start !important; }
  .oc-foot .wp-block-column:last-child .oc-copyright{ margin-top:auto !important; padding:10px 0 0 !important; }
}


/* ============ v5.20 tablet: logo + tagline ek line (row); mobile: logo thoda bada, text neeche hi; desktop untouched (user order 2026-11-16) ============ */
@media (min-width:601px) and (max-width:991px){
  .oc-foot .wp-block-column:first-child{ flex-direction:row !important; justify-content:center !important; align-items:center !important; gap:14px; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ margin:0 !important; flex:none !important; }
  .oc-foot .wp-block-column:first-child img{ width:220px !important; }
  .oc-foot .wp-block-column:first-child p{ margin:0 !important; text-align:left !important; flex:0 1 auto !important; }
  .oc-foot-tag br{ display:none; }
}
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child img{ width:200px !important; }
}


/* ============ v5.21 dynamic home sections: card title links + empty state ============ */
.oc-dyn .oc-card-body h3 a{ color:inherit; text-decoration:none; }
.oc-dyn-empty{ background:var(--oc-card, #fffdf8); border:1px solid var(--oc-border, #e9e1d3); border-radius:14px; padding:26px 20px; text-align:center; color:#5c564c; font-size:14px; }


/* ============ v5.22 dynamic sections fix: link-wrapped photos fill card + single card keeps 3-col width on desktop ============ */
.oc-dyn figure a{ display:block; }
.oc-dyn .oc-event-media .wp-block-image img{ width:100%; }
@media (min-width:992px){
  .oc-dyn .oc-card{ max-width:400px; }
}


/* ============ v5.23 blog article page (single post) design — top-page style ============ */
.single-post .buddyx-post-section, .single-post .site-wrapper, .single-post .site-main{ background:var(--oc-cream); }
.single-post .entry-content-wrapper{ background:transparent; }
.single-post .post-thumbnail{ max-width:840px; margin-left:auto; margin-right:auto; }
.single-post .post-thumbnail img{ border-radius:16px; display:block; }
.single-post .entry-header{ max-width:840px; margin-left:auto; margin-right:auto; }
.single-post .post-meta-category__link{ display:inline-block; background:#e6efdd; color:#4c6b3c !important; border-radius:999px; padding:3px 13px; font-size:12.5px; font-weight:600; text-decoration:none; }
.single-post .entry-title{ font-family:'Shippori Mincho', serif; font-weight:700; font-size:30px; line-height:1.55; color:var(--oc-text); }
.single-post .entry-meta{ color:#8a8378; font-size:13px; }
.single-post .entry-meta a{ color:#5F7A54; }
.single-post .posted-by .avatar{ display:none; }
.single-post .entry-content{ font-size:16px; line-height:1.9; color:var(--oc-text); }
.single-post .entry-content h2{ font-family:'Shippori Mincho', serif; font-size:24px; line-height:1.5; margin:1.6em 0 .7em; color:var(--oc-text); }
.single-post .entry-content h3{ font-family:'Shippori Mincho', serif; font-size:20px; line-height:1.5; margin:1.4em 0 .6em; color:var(--oc-text); }
.single-post .wpulike-default .wp_ulike_btn{ background-color:#fffdf8; border:1px solid #d9e0cb; border-radius:999px; }
.single-post .wpulike .count-box{ background:#eef3e4; border:1px solid #d9e0cb; border-radius:8px; color:#4c6b3c; }
.single-post .entry-taxonomies{ display:none; }
.single-post .post-navigation .nav-previous a, .single-post .post-navigation .nav-next a{ display:block; background:#fffdf8; border:1px solid var(--oc-border); border-radius:14px; padding:14px 18px; color:var(--oc-text); text-decoration:none; }
.single-post .post-navigation-sub{ color:#4c6b3c; font-size:12px; letter-spacing:.06em; margin-bottom:4px; }
.single-post .comment-reply-title, .single-post .comments-title{ font-family:'Shippori Mincho', serif; font-size:22px; color:var(--oc-text); }
.single-post .comment-form textarea, .single-post .comment-form input[type="text"], .single-post .comment-form input[type="email"], .single-post .comment-form input[type="url"]{ background:#fffdf8; border:1px solid #e0d6c0; border-radius:10px; }
.single-post .comment-form .submit{ background:#5F7A54 !important; border:none !important; border-radius:999px; padding:12px 30px; color:#fff; font-weight:600; cursor:pointer; }
.single-post .comment-form .submit:hover{ background:#4c6b3c !important; }
@media (max-width:600px){
  .single-post .entry-title{ font-size:24px; }
  .single-post .post-thumbnail img{ border-radius:12px; }
  .single-post .comment-reply-title, .single-post .comments-title{ font-size:20px; }
}


/* ============ v5.24 article fixes: full cream bg, one 800px column, phone photo radius ============ */
body.single-post, .single-post #page, .single-post .site-content{ background:var(--oc-cream) !important; }
.single-post .entry-content-wrapper, .single-post .comments-area, .single-post .post-navigation{ max-width:800px; margin-left:auto; margin-right:auto; }
.single-post .post-thumbnail, .single-post .entry-header{ max-width:800px; }
.single-post .post-thumbnail{ border-radius:16px; overflow:hidden; }
@media (max-width:600px){
  .single-post .post-thumbnail{ border-radius:12px; }
  .single-post .post-thumbnail img{ border-radius:12px !important; }
}


/* ============ v5.27 dynamic cards: text clamp — lambe text se design na bigde ============ */
.oc-dyn .oc-card-body h3{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/* v5.29: excerpt/event-text clamp hata diya — lambai ab sirf PHP limit se control hoti hai (clamp se 'Continue reading' ka tukda aur dohra … aa raha tha) */


/* ============ v5.28 phone article photo: theme ka native full-bleed hero hi rakha (v5.25/v5.26 ke geometry resets se photo gayab ho rahi thi — revert) ============ */


/* ============ v5.30 blog list page (/blog/) — home/article wala design ============ */
body.blog, body.blog #page, body.blog .site-content, body.blog .site-wrapper, body.blog .site-main{ background:var(--oc-cream) !important; }
body.blog .site-sub-header{ background:var(--oc-cream) !important; }
body.blog .site-sub-header .container{ max-width:872px; }
body.blog .page-title{ font-family:'Shippori Mincho',serif; font-weight:700; color:#3B332A; }
body.blog .buddyx-article--default{ max-width:840px; margin-left:auto; margin-right:auto; }
body.blog .buddyx-article--default .buddyx-article{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:26px 30px; box-shadow:0 2px 10px rgba(90,80,50,.05); }
body.blog .post-meta-category{ margin:0 0 10px; }
body.blog .post-meta-category__link{ display:inline-block; background:#E6EFDD; color:#4C6B3C !important; font-size:12px; font-weight:600; padding:4px 12px; border-radius:999px; text-decoration:none; }
body.blog .entry-title{ font-family:'Shippori Mincho',serif; font-size:24px; line-height:1.5; margin:0 0 8px; }
body.blog .entry-title a{ color:#3B332A; text-decoration:none; }
body.blog .entry-meta{ color:#8A8172; font-size:13px; margin:0 0 6px; }
body.blog .entry-meta .posted-by img.avatar{ display:none; }
body.blog a.post-thumbnail{ display:block; margin:14px 0 0; border-radius:12px; overflow:hidden; }
body.blog a.post-thumbnail img{ width:100%; aspect-ratio:2/1; object-fit:cover; display:block; }
body.blog .entry-content{ color:#5A5348; font-size:15px; line-height:1.9; margin-top:14px; }
body.blog .entry-content p{ margin:0; }
body.blog a.more-link{ display:block; width:fit-content; margin-top:12px; background:#EAF0E0; color:#4C6B3C !important; padding:7px 18px; border-radius:999px; font-size:13.5px; font-weight:600; text-decoration:none !important; }
body.blog a.more-link:hover{ background:#DCE8CC; }
@media (max-width:600px){
  body.blog .buddyx-article--default .buddyx-article{ padding:20px 18px; border-radius:14px; }
  body.blog .entry-title{ font-size:20px; }
  body.blog a.post-thumbnail img{ aspect-ratio:16/10; }
}


/* ============ v5.31 blog more-link: screen-reader span ko layout se bahar (phone par label kat raha tha) ============ */
body.blog a.more-link{ white-space:nowrap; }
body.blog a.more-link .screen-reader-text{ position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; padding:0 !important; margin:-1px !important; }


/* ============ v5.32 blog list: BuddyX ka entry-content line-clamp hatao (wahi excerpt + button dono ko kaat raha tha) ============ */
body.blog .buddyx-article-col .entry-content{ display:block !important; max-height:none !important; -webkit-line-clamp:none !important; overflow:visible !important; text-overflow:clip !important; }


/* ============ v5.33 circles (groups) pages — directory + single ============ */
body.groups, body.groups #page, body.groups .site-content, body.groups .site-wrapper, body.groups .site-main{ background:var(--oc-cream) !important; }
body.groups .site-sub-header{ background:var(--oc-cream) !important; }
body.groups .page-title{ font-family:'Shippori Mincho',serif; font-weight:700; color:#3B332A; }
body.groups .bp-navs ul li a{ color:#5A5348; }
body.groups .bp-navs ul li.selected a, body.groups .bp-navs ul li.current a{ color:#4C6B3C !important; border-color:#63856D !important; }
body.groups .bp-navs a .count, body.groups .bp-navs .count{ background:#63856D !important; color:#fff !important; }
body.groups .dir-search input[type="text"], body.groups .bp-search input[type="text"]{ border-radius:999px !important; border:1px solid #D9E0CB !important; background:#FFFDF8 !important; }
body.groups .subnav-filters select, body.groups .filters select{ border-radius:10px !important; border:1px solid #D9E0CB !important; background:#FFFDF8 !important; }
body.groups ul#groups-list > li, body.groups .groups-list > li{ background:#FFFDF8; border:1px solid #E7DFCE !important; border-radius:16px !important; box-shadow:0 2px 10px rgba(90,80,50,.05); overflow:hidden; }
body.groups .groups-list .item-cover{ background:linear-gradient(135deg,#DCE5CF,#F3EBD7); }
body.groups .groups-list .item-title a, body.groups .groups-list .groups-title a, body.groups .groups-list h2 a, body.groups .groups-list h3 a{ font-family:'Shippori Mincho',serif; color:#3B332A !important; text-decoration:none; }
body.groups .groups-list .item-meta, body.groups .groups-list .group-details, body.groups .groups-list .item-desc{ color:#8A8172; }
body.groups .generic-button a, body.groups a.group-button{ background:#5F7A54 !important; color:#fff !important; border:none !important; border-radius:999px !important; padding:8px 20px !important; box-shadow:none !important; }
body.groups .generic-button a:hover, body.groups a.group-button:hover{ background:#4C6B3C !important; }
body.single-item.groups #header-cover-image{ background-color:#DCE5CF; }
body.single-item.groups .bp-group-title{ font-family:'Shippori Mincho',serif; color:#3B332A; }
body.single-item.groups .group-description{ color:#5A5348; line-height:1.9; }
body.single-item.groups .bp-screen-title, body.single-item.groups .item-body h2, body.single-item.groups .item-body h3{ font-family:'Shippori Mincho',serif; color:#3B332A; }
body.single-item.groups .groups-nav ul li.selected a, body.single-item.groups .groups-nav ul li.current a{ background:#EEF3E4 !important; color:#4C6B3C !important; }


/* ============ v5.34 circles list fix: asal selectors (cover wrapper, list-wrap card, search input type=search) ============ */
body.groups .bp-list > li .list-wrap{ background:#FFFDF8 !important; border-color:#E7DFCE !important; }
body.groups .buddyx-grp-cover-img{ background:linear-gradient(135deg,#DCE5CF,#F3EBD7) !important; }
body.groups .buddyx-grp-cover-img::before{ background:rgba(76,107,60,.07) !important; }
body.groups .buddyx-grp-cover-img:has(img)::before{ display:none !important; }
body.groups .dir-search input, body.groups .bp-search input{ border-radius:999px !important; border:1px solid #D9E0CB !important; background:#FFFDF8 !important; }
.site-sub-header .buddyx-breadcrumbs a{ color:#4C6B3C !important; }

/* ===== v5.35: Events (TEC) pages + header current item ===== */
.main-navigation ul li.current-menu-item > a{ color:#4C6B3C !important; }
body.post-type-archive-tribe_events, body.single-tribe_events,
body.post-type-archive-tribe_events .site-wrapper, body.single-tribe_events .site-wrapper,
body.post-type-archive-tribe_events .site-main, body.single-tribe_events .site-main,
body.post-type-archive-tribe_events #page, body.single-tribe_events #page{ background:#FAF5EC !important; }
body.post-type-archive-tribe_events #tribe-events-pg-template, body.single-tribe_events #tribe-events-pg-template,
body.post-type-archive-tribe_events .tribe-common, body.single-tribe_events .tribe-common{ background:transparent !important; }
.tribe-events-c-events-bar{ background:#FFFDF8 !important; border:1px solid #E7DFCE !important; border-radius:14px !important; }
.tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link{ color:#4C6B3C !important; }
.tribe-events-calendar-list__month-separator-text{ font-family:"Shippori Mincho",serif !important; font-size:19px !important; color:#33302A !important; }
.tribe-events-calendar-list__event-row{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:20px 18px !important; margin-bottom:18px !important; }
.tribe-events-calendar-list__event-date-tag{ background:#EEF3E4; border-radius:12px; padding:10px 2px; align-self:flex-start; }
.tribe-events-calendar-list__event-date-tag-weekday{ color:#4C6B3C !important; font-weight:600; }
.tribe-events-calendar-list__event-date-tag-daynum{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
.tribe-events-calendar-list__event-title-link{ font-family:"Shippori Mincho",serif !important; font-weight:700 !important; font-size:20px !important; color:#33302A !important; }
.tribe-events-calendar-list__event-datetime{ color:#8A8272 !important; }
.tribe-events-c-subscribe-dropdown__button{ border:1px solid #63856D !important; color:#4C6B3C !important; background:#FFFDF8 !important; border-radius:999px !important; }
.tribe-events-c-subscribe-dropdown__button .tribe-common-c-svgicon__svg-fill{ fill:#4C6B3C !important; }
.tribe-events-c-nav__today, .tribe-events-c-nav__prev, .tribe-events-c-nav__next{ color:#4C6B3C; }
body.single-tribe_events .tribe-events-single-event-title{ font-family:"Shippori Mincho",serif !important; font-weight:700; font-size:30px; color:#33302A; }
body.single-tribe_events .tribe-events-back a{ color:#4C6B3C !important; font-weight:600; }
body.single-tribe_events .tribe-events-schedule{ color:#8A8272; font-size:14px; }
body.single-tribe_events .tribe-events-single-event-description{ font-size:16px; line-height:1.9; color:#33302A; }
body.single-tribe_events .tribe-events-single-section{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:22px 24px; }
body.single-tribe_events .tribe-events-single-section-title{ font-family:"Shippori Mincho",serif !important; font-size:18px; color:#33302A; }
body.single-tribe_events .tribe-events-event-meta .tribe-events-meta-label{ color:#8A8272; }
body.single-tribe_events .tribe-events-event-image img{ border-radius:16px; }
.tribe-tickets__tickets-wrapper{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:22px 24px; }
.tribe-tickets__tickets-title{ font-family:"Shippori Mincho",serif !important; color:#33302A; }
.tribe-tickets__tickets-buy{ background:#5F7A54 !important; border-color:#5F7A54 !important; border-radius:999px !important; color:#fff !important; }
@media (max-width:600px){
  body.single-tribe_events .tribe-events-single-event-title{ font-size:24px; }
  .tribe-events-calendar-list__event-title-link{ font-size:18px !important; }
}

/* ===== v5.36: header active underline (bx tokens) + event meta box ===== */
:root{ --bx-color-menu-active:#63856D; --bx-color-menu-hover:#4C6B3C; --color-menu-active:#4C6B3C; --color-menu-hover:#4C6B3C; }
.main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a, .main-navigation ul li.current-menu-ancestor > a{ box-shadow:inset 0 -2px 0 0 #63856D !important; }
body.single-tribe_events .tribe-events-single-section{ background:transparent !important; border:0 !important; padding:0 !important; }
body.single-tribe_events .tribe-events-meta-group{ background:#FFFDF8 !important; border:1px solid #E7DFCE; border-radius:16px; padding:22px 24px; flex:1 1 auto; }

/* ===== v5.37: event meta card width = tickets card width ===== */
body.single-tribe_events .tribe-events-event-meta{ display:block !important; width:100% !important; }
body.single-tribe_events .tribe-events-meta-group{ width:100% !important; max-width:580px !important; float:none !important; }
body.single-tribe_events .tribe-tickets__tickets-wrapper{ max-width:580px; }

/* ===== v5.38: Community feed (activity directory) ===== */
body.activity, body.activity .site-wrapper, body.activity .site-main, body.activity #page{ background:#FAF5EC !important; }
body.activity .site-sub-header{ background:#FAF5EC !important; }
body.activity .site-sub-header .entry-title, body.activity .site-sub-header .entry-title a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.activity .bp-navs ul li.selected a, body.activity .bp-navs ul li.current a{ color:#4C6B3C !important; border-color:#63856D !important; }
body.activity .subnav-filters select{ border:1px solid #D9E0CB !important; border-radius:999px !important; background-color:#FFFDF8 !important; }
body.activity .activity-list > li{ background:#FFFDF8 !important; border:1px solid #E7DFCE !important; border-radius:16px !important; }
body.activity .activity-card-head{ border-color:#E7DFCE !important; }
body.activity .card-head-content-type{ color:#4C6B3C !important; font-family:"Shippori Mincho",serif; }
body.activity .activity-header .time-since{ color:#8A8272 !important; }
body.activity .activity-inner{ color:#33302A; line-height:1.9; }
body.activity .activity-list .wpulike .wp_ulike_btn{ background-color:#EEF3E4 !important; border:1px solid #D9E0CB !important; border-radius:999px !important; }
body.activity .activity-list .wpulike .count-box{ border:1px solid #D9E0CB !important; color:#4C6B3C !important; border-radius:8px !important; }
body.activity #whats-new-form textarea{ border:1px solid #D9E0CB !important; border-radius:12px !important; background:#FFFDF8 !important; }
body.activity #whats-new-submit input[type="submit"], body.activity .aw-whats-new-submit{ background:#5F7A54 !important; border-color:#5F7A54 !important; border-radius:999px !important; color:#fff !important; }

/* ===== v5.39: Registration page ===== */
body.register, body.register .site-wrapper, body.register .site-main, body.register #page{ background:#FAF5EC !important; }
body.register .site-sub-header{ background:#FAF5EC !important; }
body.register #register-page .bp-feedback{ background:#FFFDF8 !important; border:1px solid #E7DFCE !important; border-radius:12px !important; box-shadow:none !important; }
body.register #register-page .bp-feedback .bp-icon{ background:#63856D !important; }
body.register #register-page .bp-feedback p{ color:#33302A !important; }
body.register .signup-form input[type="text"], body.register .signup-form input[type="email"], body.register .signup-form input[type="password"]{ border:1px solid #D9E0CB !important; border-radius:10px !important; background:#FFFDF8 !important; }
body.register .signup-form input[type="submit"], body.register #signup_submit{ background:#5F7A54 !important; border-color:#5F7A54 !important; border-radius:999px !important; color:#fff !important; }

/* ===== v5.40: Member profile / My page ===== */
body.bp-user, body.bp-user .site-wrapper, body.bp-user .site-main, body.bp-user #page{ background:#FAF5EC !important; }
body.bp-user #header-cover-image{ background:#DCE5CF !important; }
body.bp-user #item-header-cover-image h2, body.bp-user #item-header-cover-image h2 a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
#buddypress .bp-navs ul li.selected a, #buddypress .bp-navs ul li.current a{ color:#4C6B3C !important; border-color:#63856D !important; }
#buddypress .bp-navs ul li a .count, #buddypress .bp-navs .count{ background:#63856D !important; }
#buddypress #object-nav ul li.selected a, #buddypress #object-nav ul li.current a{ background:#EEF3E4 !important; }
#buddypress .bp-subnavs ul li.selected a, #buddypress .bp-subnavs ul li.current a{ color:#4C6B3C !important; border-color:#63856D !important; }
body.bp-user .screen-heading{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.bp-user .bp-widget{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:22px 24px; }
body.bp-user .profile-fields td.label{ color:#8A8272 !important; font-weight:600; }
body.bp-user .profile-fields td.data{ color:#33302A; }
body.bp-user .bp-screen-title{ font-family:"Shippori Mincho",serif !important; }

/* ===== v5.41: Members directory ===== */
body.members, body.members .site-wrapper, body.members .site-main, body.members #page{ background:#FAF5EC !important; }
body.members .site-sub-header{ background:#FAF5EC !important; }
body.members .site-sub-header .page-title, body.members .site-sub-header .entry-title, body.members .site-sub-header .entry-title a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.members .bp-list > li .list-wrap{ background:#FFFDF8 !important; border-color:#E7DFCE !important; }
body.members .buddyx-mem-cover-img{ background:linear-gradient(135deg,#DCE5CF,#F3EBD7) !important; }
body.members .buddyx-mem-cover-img::before{ background:rgba(76,107,60,.07) !important; }
body.members .buddyx-mem-cover-img:has(img)::before{ display:none; }
body.members .list-title.member-name, body.members .list-title.member-name a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.members .subnav-filters select{ border:1px solid #D9E0CB !important; border-radius:999px !important; background-color:#FFFDF8 !important; }

/* ===== v5.42: Standard content pages + forms ===== */
body.page:not(.home):not(.buddypress), body.page:not(.home):not(.buddypress) .site-wrapper, body.page:not(.home):not(.buddypress) .site-main, body.page:not(.home):not(.buddypress) #page{ background:#FAF5EC !important; }
body.page:not(.home):not(.buddypress) .site-sub-header{ background:#FAF5EC !important; }
body.page:not(.home):not(.buddypress) .page-title, body.page:not(.home):not(.buddypress) .entry-title, body.page:not(.home):not(.buddypress) .entry-title a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.page:not(.home):not(.buddypress) .entry-content h1, body.page:not(.home):not(.buddypress) .entry-content h2, body.page:not(.home):not(.buddypress) .entry-content h3{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.page:not(.home):not(.buddypress) .entry-content{ color:#3A362E; }
body.page:not(.home):not(.buddypress) .entry-content a{ color:#4C6B3C; }
body.page-id-101 .entry-content .wp-block-columns > .wp-block-column, body.page-id-102 .entry-content .wp-block-columns > .wp-block-column{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:22px 20px; }
body.page-id-101 .entry-content .wp-block-image img{ border-radius:12px; }
body.page-id-102 .wp-block-list li{ margin-bottom:10px; }
body.page-id-3 .entry-content, body.page-id-123 .entry-content, body.page-id-158 .entry-content{ max-width:820px; }
body.page:not(.home):not(.buddypress) .wpcf7{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:26px 28px; max-width:760px; }
body.page:not(.home):not(.buddypress) .wpcf7 input[type="text"], body.page:not(.home):not(.buddypress) .wpcf7 input[type="email"], body.page:not(.home):not(.buddypress) .wpcf7 textarea, body.page:not(.home):not(.buddypress) .wpcf7 select{ width:100% !important; max-width:100%; border:1px solid #D9E0CB !important; border-radius:10px !important; background:#FFFFFF; padding:10px 12px; box-sizing:border-box; }
body.page:not(.home):not(.buddypress) .wpcf7 input[type="submit"]{ background:#5F7A54 !important; border:0 !important; border-radius:999px !important; color:#FFFFFF !important; padding:12px 38px !important; font-size:15px; cursor:pointer; }
body.page:not(.home):not(.buddypress) .wpcf7 input[type="submit"]:hover{ background:#4C6B3C !important; }

/* ===== v5.43: Search results ===== */
body.search, body.search .site-wrapper, body.search .site-main, body.search #page{ background:#FAF5EC !important; }
body.search .site-sub-header{ background:#FAF5EC !important; }
body.search .site-sub-header .page-title, body.search .site-sub-header .entry-title{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.search .page-title{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.search .buddyx-article{ background:#FFFDF8 !important; border:1px solid #E7DFCE !important; border-radius:16px !important; }
body.search .buddyx-article .entry-title, body.search .buddyx-article .entry-title a{ font-family:"Shippori Mincho",serif !important; color:#33302A !important; }
body.search .buddyx-article .post-thumbnail img{ aspect-ratio:21/9; object-fit:cover; width:100%; border-radius:12px; }
body.search .buddyx-article .posted-by a, body.search .buddyx-article .posted-on a{ color:#4C6B3C !important; text-decoration:none !important; }
body.search .buddyx-article .entry-content{ color:#3A362E; }
body.search .buddyx-article a.more-link{ display:inline-block; margin-top:10px; background:#5F7A54; color:#FFFFFF !important; border-radius:999px; padding:7px 18px; text-decoration:none !important; font-size:13.5px; }
body.search .cat-links a{ background:#E6EFDD; color:#4C6B3C !important; border-radius:999px; padding:2px 12px; text-decoration:none !important; font-size:12px; font-weight:600; }
body.search .oc-type-pill{ display:inline-block; background:#EEF3E4; color:#4C6B3C; border-radius:999px; padding:2px 12px; font-size:12px; font-weight:600; margin-bottom:8px; }
body.search .search-form input[type="search"]{ border:1px solid #D9E0CB; border-radius:999px; padding:10px 16px; }
body.search .search-form input[type="submit"], body.search .search-form button[type="submit"]{ background:#5F7A54 !important; border:0 !important; border-radius:999px !important; color:#FFFFFF !important; padding:10px 24px !important; }

/* ===== v5.44: Search fixes ===== */
body.search .buddyx-article .post-thumbnail{ display:block; max-width:720px; }
body.search .buddyx-article .post-thumbnail img{ aspect-ratio:2/1; }
body.search .post-meta-category__link{ display:inline-block; background:#E6EFDD !important; color:#4C6B3C !important; border-radius:999px; padding:2px 12px; text-decoration:none !important; font-size:12px; font-weight:600; }
body.search-no-results #primary .page-title, body.search-no-results .site-main .page-title{ display:none; }

/* ===== v5.45: Final sweep fixes ===== */
.oc-anshin .wp-block-column:nth-child(2) .oc-icon{ background:#E6EFDD; }
body.single-tribe_events .tribe-events-meta-group{ max-width:840px !important; }
body.single-tribe_events .tribe-tickets__tickets-wrapper{ max-width:840px; }
body.single-tribe_events .tribe-events-cost{ margin-left:12px; }
@media (min-width:992px) and (max-width:1180px){
  .site-header .custom-logo{ height:36px !important; }
  #masthead .main-navigation .menu a, #masthead .main-navigation a{ font-size:12.5px; padding-left:6px; padding-right:6px; }
  .main-navigation .oc-head-btn a{ padding:7px 12px !important; font-size:12.5px; }
  #masthead .bx-color-mode-toggle{ display:none !important; }
}
@media (max-width:600px){
  .site-header .custom-logo{ height:23px !important; }
  .oc-foot .wp-block-column:first-child img{ width:200px !important; max-width:88% !important; height:auto !important; }
}
@media (max-width:991px){
  .oc-foot a{ word-break:normal !important; line-break:strict !important; }
}

/* ===== v5.46: Band header = mobile layout, phone footer stack, tickets form ===== */
@media (min-width:992px) and (max-width:1180px){
  #masthead .main-navigation ul.menu, #masthead .main-navigation .menu > ul{ display:none !important; }
  #masthead .menu-icons-wrapper{ display:none !important; }
  #masthead .buddypress-icons-wrapper{ display:flex !important; align-items:center; gap:10px; margin-left:auto; }
  #masthead .menu-toggle{ display:block !important; }
  .site-header .custom-logo{ height:40px !important; }
}
@media (max-width:600px){
  .oc-foot .wp-block-column:first-child{ flex-basis:100% !important; flex-direction:column !important; align-items:center !important; }
  .oc-foot .wp-block-column:first-child .wp-block-image{ width:200px !important; flex:none; }
  .oc-foot .wp-block-column:first-child img{ width:200px !important; max-width:none !important; height:auto !important; }
}
body.single-tribe_events .tribe-tickets__tickets-form{ width:100% !important; max-width:100% !important; }

/* ===== v5.47: Band header v2 + tickets card ===== */
@media (min-width:992px) and (max-width:1180px){
  #masthead .main-navigation:not(.toggled) ul.menu, #masthead .main-navigation:not(.toggled) .primary-menu-container{ display:none !important; }
  #masthead .menu-icons-wrapper, #masthead .desktop-icons, #masthead .main-navigation > li.oc-head-btn{ display:none !important; }
}
body.single-tribe_events .tribe-tickets__tickets-wrapper{ padding:0 !important; background:transparent !important; border:0 !important; }
body.single-tribe_events .tribe-tickets__tickets-form{ background:#FFFDF8; border:1px solid #E7DFCE; border-radius:16px; padding:22px 24px; }

/* ===== v5.48: Band header — theme's own mobile mechanics ===== */
@media (min-width:992px) and (max-width:1180px){
  #masthead .primary-menu-container.buddyx-desktop-menu{ display:none !important; }
  #masthead .buddypress-icons-wrapper:not(.buddyx-mobile-icon){ display:none !important; }
  #masthead .main-navigation .primary-menu-container.buddyx-mobile-menu{ display:block !important; position:fixed; top:0; bottom:0; right:0; width:340px; overflow:auto; background-color:#FFFDF8; z-index:9999; transform:translate3d(340px,0,0); transition:all .2s ease; opacity:0; visibility:hidden; }
  body.mobile-menu-opened #masthead .primary-menu-container.buddyx-mobile-menu{ transform:none; opacity:1; visibility:visible; }
  #masthead .main-navigation .buddyx-mobile-menu ul.menu{ display:block !important; padding:0 20px 20px 20px; }
  #masthead .mobile-menu-heading{ background:#FFFDF8 !important; }
}
#masthead .menu-toggle{ color:#4C6B3C !important; }

/* ===== v5.49: Band drawer heading + overlay ===== */
@media (min-width:992px) and (max-width:1180px){
  #masthead .mobile-menu-heading{ display:flex !important; align-items:center; justify-content:space-between; height:72px; padding:0 20px !important; margin:0 !important; background:#FFFDF8 !important; border-bottom:1px solid #E7E1D3; }
  #masthead .mobile-menu-heading .menu-title{ display:block !important; color:#3C3830 !important; font-size:16px !important; margin:0 !important; }
  #masthead .mobile-menu-heading .menu-close{ display:block !important; font-size:0 !important; position:relative; width:24px; height:24px; flex:none; }
  #masthead .mobile-menu-heading .menu-close::before, #masthead .mobile-menu-heading .menu-close::after{ content:""; position:absolute; left:3px; top:11px; width:18px; height:2px; background:#3C3830; }
  #masthead .mobile-menu-heading .menu-close::before{ transform:rotate(45deg); }
  #masthead .mobile-menu-heading .menu-close::after{ transform:rotate(-45deg); }
  .mobile-menu-close{ position:fixed; top:0; left:0; width:100%; height:100%; z-index:998; background:rgba(0,0,0,.7); opacity:0; visibility:hidden; transition:all .3s ease; }
  body.mobile-menu-opened .mobile-menu-close{ opacity:1; visibility:visible; }
}

/* ===== v5.50: dynamic sections (blog/events) ke cards ka gap — shortcode wale columns me WP layout class nahi thi, isliye gap 0 tha aur cards sat rahe the; baaki sections jaisa 30px gap ===== */
.oc-dyn.wp-block-columns{ gap:30px; }
.oc-blog.oc-dyn figure a{ height:100%; }
.oc-blog.oc-dyn .wp-block-image img{ height:100%; object-fit:cover; }

/* ===== v5.51 (2026-11-16): inner-page cards poori tarah clickable (JS functions.php
   me hai) — yahan sirf pointer cursor hai; rang/layout/size me koi badlav NAHI.
   Home page isme shamil nahi hai. ===== */
body.blog article.entry, body.search article.entry, body.archive article.entry,
.tribe-events-calendar-list__event,
#groups-list .list-wrap, #members-list .list-wrap{ cursor:pointer; }
