﻿/**
 * Fbtheme ? Facebook-inspired surface styling for WoWonder.
 * Restyles existing WoWonder classes; does not remove them.
 */

:root {
  --card-bg: #ffffff;
  --background-alt: #f0f2f5;
  --fb-group-max-width: clamp(1020px, 82vw, 1080px);
  --text-primary: #050505;
  --text-secondary: #65676b;
  --fb-bg: #f0f2f5;
  --fb-surface: #ffffff;
  --fb-blue: #1877f2;
  --fb-blue-hover: #166fe5;
  --fb-blue-press: #1565d8;
  --fb-text: #050505;
  --fb-text-secondary: #65676b;
  --fb-border: #e4e6eb;
  --fb-radius: 8px;
  --fb-radius-sm: 6px;
  --fb-featured-card-bg: #f0f2f5;
  --fb-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --fb-shadow-nav: 0 1px 2px rgba(0, 0, 0, 0.1);
  --fb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fb-page-cover-height: 340px;
  --wo-hp-scrollbar-thumb: rgba(0, 0, 0, 0.16);
  --wo-hp-scrollbar-thumb-hover: rgba(0, 0, 0, 0.28);
  --fb-header-icon-hover-bg: rgba(0, 0, 0, 0.06);
  --fb-mobile-tabbar-height: 48px;
}

/* Night mode: vars on html + body so the canvas behind fixed header matches (html used var(--fb-bg) from :root otherwise). */
html.wo-night-mode,
body.wo-night-mode {
  --card-bg: #2a2a2a;
  --background-alt: #1a1a1a;
  --text-primary: #ececec;
  --text-secondary: #b3b3b3;
  --fb-bg: #181818;
  --fb-surface: #2a2a2a;
  --fb-featured-card-bg: #323334;
  --fb-text: #ececec;
  --fb-text-secondary: #b3b3b3;
  --fb-border: #3d3d3d;
  --fb-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.25);
  --fb-shadow-nav: 0 1px 2px rgba(0, 0, 0, 0.5);
  --wo-hp-scrollbar-thumb: rgba(255, 255, 255, 0.22);
  --wo-hp-scrollbar-thumb-hover: rgba(255, 255, 255, 0.38);
  --fb-header-icon-hover-bg: rgba(255, 255, 255, 0.1);
}

html.wo-night-mode,
body.wo-night-mode .content-container {
  background-color: var(--fb-bg) !important;
}

/* --- Global canvas & typography --- */
body,
html {
  background-color: var(--fb-bg) !important;
  font-family: var(--fb-font) !important;
  color: var(--fb-text);
  -webkit-font-smoothing: antialiased;
}

.post .post-description a,
.post .post-heading .meta a,
.comment-text a,
.reply-text a,
.wow_content a:not(.btn):not(.btn-main):not(.bg-main):not(.dropdown-toggle):not(.avatar),
.wow_sett_content a:not(.btn):not(.btn-main):not(.bg-main) {
  color: var(--fb-blue);
}

.post .post-description a:hover,
.wow_content a:not(.btn):not(.btn-main):hover {
  color: var(--fb-blue-hover);
}

/* Global header: icon hovers use soft circular highlights, not dark squares. */
#head_menu_rght .sixteen-font-size,
#head_menu_rght .wo-mobile-header-btn,
#head_menu_rght .user-menu-combination:not(.wo-mobile-header-btn) {
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

#head_menu_rght .sixteen-font-size:hover,
#head_menu_rght .sixteen-font-size:focus,
#head_menu_rght .wo-mobile-header-btn:hover,
#head_menu_rght .wo-mobile-header-btn:focus,
.navbar-default #head_menu_rght .navbar-nav > li > a:hover,
.navbar-default #head_menu_rght .navbar-nav > li > a:focus,
.navbar-default #head_menu_rght .navbar-nav > li.open > a {
  background: var(--fb-header-icon-hover-bg) !important;
}

/* Primary actions / WoWonder buttons */
.btn-main,
.btn.bg-main,
.bg-main,
button.bg-main,
a.bg-main {
  background-color: var(--fb-blue) !important;
  border-color: var(--fb-blue) !important;
  color: #fff !important;
  border-radius: var(--fb-radius-sm) !important;
  background-image: none !important;
}

.btn-main:hover,
.btn.bg-main:hover,
.bg-main:hover,
button.bg-main:hover,
a.bg-main:hover {
  background-color: var(--fb-blue-hover) !important;
  border-color: var(--fb-blue-hover) !important;
  background-image: none !important;
}

.btn-main:active,
.btn.bg-main:active {
  background-color: var(--fb-blue-press) !important;
  border-color: var(--fb-blue-press) !important;
}

/* Flatten common gradient hero bars ? FB blue */
.wow_main_float_head,
.wow_main_float_head.com_thing,
.wow_main_float_head.contactus,
.wow_main_float_head.fundus,
.wow_main_float_head.findfrnd,
.wow_main_float_head.gopro,
.wow_main_float_head.jobs,
.wow_main_float_head.moviez,
.wow_main_float_head.markets {
  background: var(--fb-blue) !important;
  background-image: none !important;
}

/* Onboarding / colored headers ? flat (keep hue families, no gradients) */
.sun_head_onboard {
  background-color: var(--fb-blue) !important;
  background-image: none !important;
}

.sun_head_onboard:after {
  display: none !important;
}

.sun_head_onboard.album {
  background-color: #42b72a !important;
}

.sun_head_onboard.blog,
.sun_head_onboard.event {
  background-color: #e41e3f !important;
}

.sun_head_onboard.group {
  background-color: var(--fb-blue) !important;
}

.sun_head_onboard.product {
  background-color: #606770 !important;
}

.sun_head_onboard.page {
  background-color: #f28c38 !important;
}

/* Cards & panels */
.wow_content,
.wow_sett_content,
.setting-well,
.post .panel,
.fake_ad_post,
.wo_settings_page,
.modal-content {
  background-color: var(--fb-surface) !important;
  border-radius: var(--fb-radius) !important;
  box-shadow: var(--fb-shadow) !important;
  border: 1px solid var(--fb-border) !important;
}

.wow_content.negg_padd {
  border: 1px solid var(--fb-border) !important;
}

.post .panel {
  overflow: visible;
}

/* Keep media clipped to card; post header dropdown must escape the panel */
.post .panel .post-file,
.post .panel .post-youtube,
.post .panel .post-map,
.post .panel .post-fetched-url,
.post .panel .embed-responsive,
.post .panel .post-file-media,
.post .panel .wo_imagecombo_lbox,
.post .panel .post-photo,
.post .panel .post-record {
  overflow: hidden;
}

.post {
  position: relative;
  z-index: 1;
}

.post.post-dropdown-open {
  z-index: 10050 !important;
}

.post.post-dropdown-open .post-container,
.post.post-dropdown-open .panel {
  overflow: visible !important;
}

#posts,
#posts .post-container,
.page-margin > .row > .middlecol {
  overflow: visible !important;
}

.post .post-heading {
  position: relative;
  z-index: 3;
}

.post .post-heading .dropdown {
  position: relative;
}

.post .post-heading .dropdown.open {
  z-index: 1060;
}

.post.post-dropdown-open .post-heading .dropdown.open .dropdown-menu.post-options,
.post.post-dropdown-open .post-heading .dropdown.open .dropdown-menu.post-privacy-menu {
  z-index: 1070;
}

.post .post-privacy-menu.post-options {
  position: absolute;
  z-index: 1061;
}

/* Feed dropdown: menu must paint above following posts */
.post .post-heading,
.post .post-heading .dropdown,
.post .post-heading .dropdown-menu.post-options,
.post .post-heading .dropdown-menu.post-privacy-menu {
  overflow: visible !important;
}

.post.post-dropdown-open .post-heading .dropdown.open .dropdown-menu.post-options,
.post.post-dropdown-open .post-heading .dropdown.open .dropdown-menu.post-privacy-menu {
  z-index: 10060 !important;
}

/* Post modals are moved to body via Wo_MountPostModalToBody (script.js) */
body > .modal.wo-post-action-modal,
body > .modal[id^="delete-post-"],
body > .modal.wo-confirm-modal,
body > .modal#edit-post {
  z-index: 10070 !important;
}

/* Keep general backdrops BELOW the lightbox (lightbox is 1055). */
body > .modal-backdrop {
  z-index: 1040 !important;
}

/* When post action modals are mounted to body, backdrop must sit above feed chrome. */
body > .modal.wo-post-action-modal.in + .modal-backdrop,
body > .modal.wo-post-action-modal.show + .modal-backdrop,
body > .modal[id^="delete-post-"].in + .modal-backdrop,
body > .modal.wo-confirm-modal.in + .modal-backdrop,
body > .modal.wo-confirm-modal.show + .modal-backdrop,
body > .modal#edit-post.in + .modal-backdrop {
  z-index: 10065 !important;
}

.post .post-description,
.post .post-file,
.post .post-footer,
.post .post-reactions {
  position: relative;
  z-index: 0;
}

/* Replace gradient dividers / accents with flat color */
hr.style-two {
  background: var(--fb-border) !important;
  background-image: none !important;
}

/* Form controls ? FB-like */
.sun_input > input:focus,
.sun_input > textarea:focus,
.sun_input > select:focus,
.sun_input_holder .sun_input input:focus {
  border-color: var(--fb-blue) !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2) !important;
}

.search-container .search-input {
  background: var(--fb-bg) !important;
  border-radius: 20px !important;
  border: 1px solid transparent !important;
}

.search-container .search-input:focus {
  background: var(--fb-surface) !important;
  border-color: var(--fb-blue) !important;
}

/* Loading bar accent */
.loading::before {
  background-color: var(--fb-blue) !important;
}

/* Misc blues ? FB blue */
.ads-navbar-wrapper ul li a.active,
.ads_switch.checked .switch__label:after,
.select_radio_btn label > input:checked ~ .sr_btn_lab_innr,
.select_radio_btn label > input:checked ~ .sr_btn_lab_innr > span {
  border-color: var(--fb-blue) !important;
  color: var(--fb-blue) !important;
}

.wo_load_more > span {
  background-color: var(--fb-blue) !important;
}

/* Left sidebar: CSS sticky only (no theiaStickySidebar on leftcol). */
@media (min-width: 992px) {
  .page-margin > .row > .leftcol {
    position: sticky;
    top: var(--wo-sidebar-sticky-top, 56px);
    z-index: 2;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - var(--wo-sidebar-sticky-top, 56px));
    overflow-x: hidden;
    overflow-y: auto;
  }
  .page-margin > .row > .leftcol .theiaStickySidebar {
    position: static !important;
    transform: none !important;
    left: auto !important;
    width: auto !important;
    min-height: 0 !important;
    top: auto !important;
  }
  .page-margin > .row > .leftcol .left-sidebar {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }

  /* Left nav pane: thin, subtle scrollbar */
  .page-margin > .row > .leftcol {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
  }

  .page-margin > .row > .leftcol::-webkit-scrollbar {
    width: 4px;
  }

  .page-margin > .row > .leftcol::-webkit-scrollbar-track {
    background: transparent;
  }

  .page-margin > .row > .leftcol::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 999px;
  }

  .page-margin > .row > .leftcol::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.18);
  }

  html.wo-night-mode .page-margin > .row > .leftcol,
  body.wo-night-mode .page-margin > .row > .leftcol {
    scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
  }

  html.wo-night-mode .page-margin > .row > .leftcol::-webkit-scrollbar-thumb,
  body.wo-night-mode .page-margin > .row > .leftcol::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.14);
  }

  html.wo-night-mode .page-margin > .row > .leftcol::-webkit-scrollbar-thumb:hover,
  body.wo-night-mode .page-margin > .row > .leftcol::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.24);
  }
}
.left-sidebar > ul > li > a {
  font-family: var(--wo-font-sidebar_menu, var(--fb-font));
}

body.wo-left-menu-bold .left-sidebar > ul > li > a {
  font-weight: 700 !important;
}

/* ===== Verified user avatar on feed posts ===== */
.post .post-heading .wow_post_usr_ava,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: -3px;
  border-radius: 50%;
  overflow: visible;
}

.post .post-heading .wow_post_usr_ava img,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-sizing: border-box;
}

.post .post-heading .wow_post_usr_ava_active,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava_active {
  box-shadow: none !important;
  padding: 2px;
  background: linear-gradient(145deg, #1877f2 0%, #4da3ff 52%, #1877f2 100%);
}

.post .post-heading .wow_post_usr_ava_active img,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava_active img {
  border: 2px solid var(--card-bg, #fff);
}

.post .post-heading .wow_post_usr_ava .verified-color,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava .verified-color {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #1877f2;
  border: 2px solid var(--card-bg, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  color: #fff;
  line-height: 0;
}

.post .post-heading .wow_post_usr_ava .verified-color::before,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava .verified-color::before {
  display: none;
}

.post .post-heading .wow_post_usr_ava .verified-color svg,
.wo_imagecombo_lbox .post-heading .wow_post_usr_ava .verified-color svg {
  position: static;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  fill: #fff !important;
  stroke: none;
}

html.wo-night-mode .post .post-heading .wow_post_usr_ava_active img,
body.wo-night-mode .post .post-heading .wow_post_usr_ava_active img,
html.wo-night-mode .wo_imagecombo_lbox .post-heading .wow_post_usr_ava_active img,
body.wo-night-mode .wo_imagecombo_lbox .post-heading .wow_post_usr_ava_active img {
  border-color: #242526;
}

html.wo-night-mode .post .post-heading .wow_post_usr_ava .verified-color,
body.wo-night-mode .post .post-heading .wow_post_usr_ava .verified-color,
html.wo-night-mode .wo_imagecombo_lbox .post-heading .wow_post_usr_ava .verified-color,
body.wo-night-mode .wo_imagecombo_lbox .post-heading .wow_post_usr_ava .verified-color {
  border-color: #242526;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* Post image lightbox ? mount on body, stack above page chrome */
.lightbox-container {
  position: fixed;
  inset: 0;
  z-index: 1055;
  pointer-events: none;
}

/* Only capture clicks when real lightbox markup is present (not preload shells). */
.lightbox-container:has(.lightbox-content),
.lightbox-container:has(.wo_imagecombo_lbox) {
  pointer-events: auto;
}

.lightbox-container .lightbox-backgrond {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

.lightbox-container .lb-preloader {
  /* If it stays visible, don't block closing the lightbox. */
  pointer-events: none !important;
  z-index: 1 !important;
}

.lightbox-container .lightbox-content,
.lightbox-container .lightbox-content.wo_imagecombo_lbox {
  position: relative !important;
  z-index: 2 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
}

.lightbox-container .lightbox-content.multi {
  align-items: center;
  justify-content: center;
}

.lightbox-container .lightbox-content.multi .story-img {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40vh;
  margin: 0 !important;
}

.lightbox-container .lightbox-content.multi .story-img img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.wo_imagecombo_lbox .story-img {
  flex: 1 1 auto;
  min-height: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.wo_imagecombo_lbox .story-img .sun_img_innr,
.wo_imagecombo_lbox .story-img #draggableHelper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-container .wo_imagecombo_lbox .story-img img {
  pointer-events: auto !important;
  object-fit: contain;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: calc(100vh - 80px);
}

/* Flatten heavy image overlays where safe (keep readability) */
.wo_imagecombo_lbox .story-img .wo_lbox_topbar {
  background: rgba(0, 0, 0, 0.55) !important;
  background-image: none !important;
}

.wo_imagecombo_lbox .story-img .changer {
  background: rgba(0, 0, 0, 0.35) !important;
  background-image: none !important;
}

/* Remove glossy / gradient buttons in sidebars where theme used flat color fills */
.btn-glossy .btn-main {
  background-image: none !important;
}

/* Story / status ring ? flat accent */
.not_seen_story .avatar:before,
.user-status-home ul.status-list li.create_new .avatar:before {
  background: var(--fb-blue) !important;
  background-image: none !important;
}

/* Facebook-style "Create story" card */
.user-status-home ul.status-list li.wo-fb-create-story a {
  display: block;
  position: relative;
  padding-bottom: 145% !important;
  background: var(--card-bg, #fff);
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.user-status-home ul.status-list li.wo-fb-create-story a::after {
  display: none;
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 66%;
  overflow: hidden;
  background: var(--fb-surface, #f0f2f5);
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 19px 8px 8px;
  background: var(--card-bg, #fff);
  text-align: center;
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__plus {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fb-blue, #1877f2) !important;
  color: #fff !important;
  border: 3px solid var(--card-bg, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__plus svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  stroke: #fff !important;
}

.user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__label {
  position: static;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--text-primary, #050505);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story a,
body.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story a {
  background: #242526;
  border-color: #3a3b3c;
}

html.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__footer,
body.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__footer {
  background: #242526;
}

html.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__plus,
body.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__plus {
  border-color: #242526;
}

html.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__label,
body.wo-night-mode .user-status-home ul.status-list li.wo-fb-create-story .wo-fb-create-story__label {
  color: #e4e6eb;
}

.wow_home_stories ul.status-list li.wo-fb-create-story a {
  padding-bottom: 145% !important;
}

/* Profile header actions ? keep clickable above cover content */
.wo_user_profile .problackback {
  pointer-events: none;
}

.wo_user_profile .pic-info-cont {
  z-index: 5;
  position: relative;
}

.wo_user_profile .pic-info-cont .options-buttons {
  position: relative;
  z-index: 6;
}

/* --- User profile cover block: image + overlay info + attached tab bar --- */
.wo_user_profile .profile-container .card.hovercard.wo-fb-user-profile-card {
  overflow: hidden;
  border-radius: var(--fb-radius) !important;
  margin-bottom: 16px !important;
  background: var(--card-bg, #fff);
  box-shadow: var(--fb-shadow);
}

.wo_user_profile .wo-fb-user-cover-block {
  position: relative;
  display: flex;
  flex-direction: column;
  --fb-profile-inset: 20px;
  --fb-user-nav-height: 58px;
  --fb-profile-nav-bg: rgba(255, 255, 255, 0.94);
  --fb-profile-nav-border: rgba(0, 0, 0, 0.06);
  --fb-profile-nav-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --fb-profile-nav-inactive: var(--text-secondary, #65676b);
  --fb-profile-nav-active: var(--fb-blue, #1877f2);
  --fb-profile-nav-hover-bg: color-mix(in srgb, var(--fb-profile-nav-active) 6%, transparent);
  --fb-profile-nav-active-bg: color-mix(in srgb, var(--fb-profile-nav-active) 8%, transparent);
  --fb-profile-nav-night-bg: rgba(36, 37, 38, 0.92);
  --fb-profile-nav-night-border: rgba(255, 255, 255, 0.08);
  --fb-profile-nav-night-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  --fb-profile-nav-night-inactive: var(--text-secondary, #b0b3b8);
  --fb-profile-nav-night-active: #2d88ff;
}

.wo_user_profile .profile-container .card.hovercard .cardheader.user-cover {
  position: relative;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

/* Profile intro MP3 player â€” bottom-right on cover (desktop) */
.wo_user_profile .wo-profile-intro-player {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  line-height: 1;
  pointer-events: auto;
}
.wo_user_profile .wo-profile-intro-player__btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.wo_user_profile .wo-profile-intro-player__btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.wo_user_profile .wo-profile-intro-player__eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin: 0 4px 0 2px;
  opacity: 0.35;
}
.wo_user_profile .wo-profile-intro-player.is-playing .wo-profile-intro-player__eq {
  opacity: 1;
}
.wo_user_profile .wo-profile-intro-player__eq i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #fff;
  transform-origin: bottom;
}
.wo_user_profile .wo-profile-intro-player.is-playing .wo-profile-intro-player__eq i:nth-child(1) {
  animation: wo-intro-eq 0.7s ease-in-out infinite;
}
.wo_user_profile .wo-profile-intro-player.is-playing .wo-profile-intro-player__eq i:nth-child(2) {
  animation: wo-intro-eq 0.7s ease-in-out 0.15s infinite;
}
.wo_user_profile .wo-profile-intro-player.is-playing .wo-profile-intro-player__eq i:nth-child(3) {
  animation: wo-intro-eq 0.7s ease-in-out 0.3s infinite;
}
@keyframes wo-intro-eq {
  0%, 100% { height: 5px; }
  50% { height: 14px; }
}
html.wo-night-mode .wo_user_profile .wo-profile-intro-player,
body.wo-night-mode .wo_user_profile .wo-profile-intro-player {
  background: rgba(20, 20, 20, 0.72);
}
@media (max-width: 767px) {
  .wo_user_profile .wo-profile-intro-player {
    right: 10px;
    bottom: 10px;
    padding: 4px 6px;
    transform: scale(0.92);
    transform-origin: bottom right;
  }
}

.wo_user_profile .user-cover-reposition-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.wo_user_profile .user-cover-reposition-container:not(.is-cover-repositioning) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.wo_user_profile .user-cover-reposition-w {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.wo_user_profile .user-cover-reposition-w img#cover-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 366px;
  object-fit: cover;
  object-position: center top;
}

.wo_user_profile .user-cover-reposition-container.is-cover-repositioning .user-reposition-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.wo_user_profile .wo-fb-user-cover-block:not(:has(.wo-fb-user-profile-nav)) {
  --fb-user-nav-height: 0px;
}

.wo_user_profile .wo-fb-user-cover-block:not(:has(.wo-fb-user-profile-nav)) .problackback,
.wo_user_profile .wo-fb-user-cover-block:not(:has(.wo-fb-user-profile-nav)) .pic-info-cont {
  bottom: 0;
}

.wo_user_profile .problackback {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--fb-user-nav-height, 58px);
  height: 0;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  pointer-events: none;
  z-index: 2;
}

.wo_user_profile .pic-info-cont {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--fb-user-nav-height, 58px);
  height: auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 var(--fb-profile-inset, 20px) var(--fb-profile-inset, 20px);
  box-sizing: border-box;
  z-index: 4;
  transform: translateY(0);
}

.container .wo_user_profile .pic-info-cont .user-avatar {
  margin: 0 16px 0 0 !important;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.wo_user_profile .pic-info-cont .info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: calc((140px - 30px) / 2) 0 0;
  min-width: 0;
}

.wo_user_profile .pic-info-cont .info .title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15;
  font-size: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.wo_user_profile .pic-info-cont .info .title a {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.wo_user_profile .pic-info-cont .info .options-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding-left: 0 !important;
  justify-content: flex-start !important;
  align-self: flex-start;
  position: relative;
  z-index: 6;
}

.container .wo_user_profile .card.hovercard .info .options-buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wo_user_profile .pic-info-cont .info .options-buttons .wo-fb-profile-owner-btn {
  display: inline-flex;
  margin: 0 !important;
  float: none !important;
}

.wo_user_profile .pic-info-cont .info .options-buttons .wo-fb-profile-owner-btn > a,
.wo_user_profile .pic-info-cont .info .options-buttons .wo-fb-profile-owner-btn > button {
  margin-left: 0 !important;
  float: none !important;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-owner-btn > a.wo-fb-profile-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-action-btn svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0;
  stroke-width: 2.25;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-action-btn--primary {
  color: #050505 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-action-btn--primary:hover {
  color: #050505 !important;
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-action-btn--secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
}

.wo_user_profile .pic-info-cont .wo-fb-profile-action-btn--secondary:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav {
  --fb-user-nav-height: 58px;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  height: var(--fb-user-nav-height);
  min-height: var(--fb-user-nav-height);
  background: var(--fb-profile-nav-bg) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--fb-profile-nav-border);
  border-radius: 0 0 var(--fb-radius) var(--fb-radius);
  box-shadow: var(--fb-profile-nav-shadow) !important;
  z-index: 5;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav ul {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  white-space: normal;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav ul li {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  display: flex;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  padding: 0 8px 2px;
  text-align: center;
  text-decoration: none !important;
  color: var(--fb-profile-nav-inactive);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-bottom: none !important;
  box-sizing: border-box;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background-color 0.18s ease, transform 0.18s ease;
  transform: scaleX(0.6);
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a .split-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.88;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a .split-link svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  flex-shrink: 0;
  stroke-width: 2;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a > span:not(.split-link) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a:hover {
  color: var(--fb-profile-nav-active);
  background: var(--fb-profile-nav-hover-bg);
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a:hover .split-link {
  opacity: 1;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive {
  color: var(--fb-profile-nav-active) !important;
  background: var(--fb-profile-nav-active-bg);
  border-bottom: none !important;
  font-weight: 700;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive .split-link {
  opacity: 1;
}

.wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive::after {
  background: var(--fb-profile-nav-active);
  transform: scaleX(1);
}

html.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav,
body.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav {
  background: var(--fb-profile-nav-night-bg) !important;
  border-top-color: var(--fb-profile-nav-night-border);
  box-shadow: var(--fb-profile-nav-night-shadow) !important;
}

html.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a,
body.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a {
  color: var(--fb-profile-nav-night-inactive);
}

html.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a:hover,
body.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a:hover {
  color: var(--fb-profile-nav-night-active);
  background: color-mix(in srgb, var(--fb-profile-nav-night-active) 10%, transparent);
}

html.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive,
body.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive {
  color: var(--fb-profile-nav-night-active) !important;
  background: color-mix(in srgb, var(--fb-profile-nav-night-active) 14%, transparent);
}

html.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive::after,
body.wo-night-mode .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a.menuactive::after {
  background: var(--fb-profile-nav-night-active);
}

@media (max-width: 767px) {
  .wo_user_profile .wo-fb-user-cover-block {
    --fb-profile-inset: 14px;
    --fb-user-nav-height: 52px;
  }

  .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav {
    overflow-x: auto;
  }

  .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav ul {
    min-width: 100%;
  }

  .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a {
    font-size: 12px;
    gap: 5px;
    padding: 0 4px 2px;
  }

  .wo_user_profile .wo-fb-user-profile-nav.user-bottom-nav li a .split-link svg {
    width: 16px;
    height: 16px;
  }

  .wo_user_profile .pic-info-cont {
    padding: 0 var(--fb-profile-inset, 14px) var(--fb-profile-inset, 14px);
    transform: translateY(0);
  }

  .wo_user_profile .pic-info-cont .info {
    padding-top: calc((96px - 26px) / 2);
  }

  .container .wo_user_profile .pic-info-cont .user-avatar {
    width: 96px;
    height: 96px;
    margin-right: 12px !important;
  }
}

/* User profile sidebar: info card (trending-style) + search */
.wo_user_profile .wo-fb-profile-info-list.right_user_info > li {
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
}

.wo_user_profile .wo-fb-profile-info-list.right_user_info > li > svg {
  margin: 0 !important;
}

.wo_user_profile .wo-fb-profile-info-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.wo_user_profile .wo-fb-profile-info-badge {
  background: linear-gradient(135deg, #1877f2 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.wo_user_profile .wo-fb-profile-info-badge svg {
  stroke: #fff;
}

.wo_user_profile .wo-fb-profile-info-list.wo-trending-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 14px !important;
}

.wo_user_profile .wo-fb-profile-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  margin: 0;
  min-height: 36px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.wo_user_profile .wo-fb-profile-info-row--stacked {
  align-items: flex-start;
  padding-top: 6px;
  padding-bottom: 6px;
}

.wo_user_profile .wo-fb-profile-info-row--stacked .wo-fb-profile-info-row__icon {
  margin-top: 1px;
}

.wo_user_profile .wo-fb-profile-info-row:hover {
  background: rgba(24, 119, 242, 0.06);
}

.wo_user_profile .wo-fb-profile-info-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--fb-bg, #f0f2f5);
  color: var(--fb-text-secondary, #65676b);
  flex-shrink: 0;
}

.wo_user_profile .wo-fb-profile-info-row__icon svg {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  color: inherit !important;
}

.wo_user_profile .wo-fb-profile-info-row__body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fb-text-secondary, #65676b);
  word-break: break-word;
  padding: 1px 0;
}

.wo_user_profile .wo-fb-profile-info-row__body a {
  color: var(--fb-blue, #1877f2) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.wo_user_profile .wo-fb-profile-info-row__body a:hover {
  text-decoration: underline !important;
}

.wo_user_profile .wo-fb-profile-info-row__body #user_post_count {
  font-weight: 700;
  color: var(--fb-text, #050505);
}

.wo_user_profile .wo-fb-profile-info-row--stacked .wo-fb-profile-info-row__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wo_user_profile .wo-fb-profile-info-row__text {
  display: block;
}

.wo_user_profile .wo-fb-profile-info-divider {
  list-style: none;
  padding: 0 6px !important;
  margin: 2px 0;
}

.wo_user_profile .wo-fb-profile-info-divider hr {
  margin: 0;
  border: none;
  border-top: 1px solid var(--fb-border, #e4e6eb);
}

.wo_user_profile .wo-fb-profile-info-section-label {
  padding: 6px 6px 2px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fb-text-secondary, #65676b);
  list-style: none;
}

.wo_user_profile .wo-fb-profile-info-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 6px 4px !important;
  margin: 0;
  list-style: none;
}

.wo_user_profile .wo-fb-profile-info-social a.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px;
  background: var(--fb-bg, #f0f2f5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wo_user_profile .wo-fb-profile-info-social a.social-btn:hover {
  transform: translateY(-1px);
  background: rgba(24, 119, 242, 0.1);
}

.wo_user_profile .wo-fb-profile-info-social a.social-btn svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.wo_user_profile .wo-fb-profile-info-row .user-location-frame,
.wo_user_profile .wo-fb-profile-info-row [id^="place_"] {
  width: 100%;
  border-radius: var(--fb-radius-sm);
  overflow: hidden;
}

.page-margin > .row > .rightcol > .wow_content.wo_prof_side_info_padd.wo-fb-profile-info-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-profile-info-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-group-sidebar-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-group-suggested-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-group-recent-media-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-profile-search-card,
.page-margin > .row > .rightcol > .wow_content.wo-fb-page-rating-card,
.wo_group_profile > .col-md-4 > .wow_content.wo-fb-group-recent-media-card,
.wo_page_profile > .col-md-4 > .wow_content.wo-fb-profile-info-card,
.wo_page_profile > .col-md-4 > .wow_content.wo-fb-group-sidebar-card,
.wo_page_profile > .col-md-4 > .wow_content.wo-fb-page-rating-card,
.wo_page_profile > .col-md-4 > .wow_content.wo-fb-profile-search-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid var(--fb-border, #e4e6eb) !important;
}

.wo_user_profile .wo-fb-profile-search-card {
  margin-bottom: 12px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: var(--fb-surface, #fff) !important;
}

.wo_user_profile .wo-fb-profile-search-card .group-post-search-bar {
  margin-bottom: 0;
}

html.wo-night-mode .wo_user_profile .wo-fb-profile-info-row:hover,
body.wo-night-mode .wo_user_profile .wo-fb-profile-info-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Group sidebar info card ? same trending-card pattern as profile */
.wo_group_profile .wo-fb-profile-info-list.right_user_info > li {
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
}

.wo_group_profile .wo-fb-profile-info-list.right_user_info > li > svg {
  margin: 0 !important;
}

.wo_group_profile .wo-fb-profile-info-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.wo_group_profile .wo-fb-profile-info-badge {
  background: linear-gradient(135deg, #1877f2 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.wo_group_profile .wo-fb-profile-info-badge svg {
  stroke: #fff;
}

.wo_group_profile .wo-fb-profile-info-list.wo-trending-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 14px !important;
}

.wo_group_profile .wo-fb-profile-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  margin: 0;
  min-height: 36px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.wo_group_profile .wo-fb-profile-info-row:hover {
  background: rgba(24, 119, 242, 0.06);
}

.wo_group_profile .wo-fb-profile-info-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--fb-bg, #f0f2f5);
  color: var(--fb-text-secondary, #65676b);
  flex-shrink: 0;
}

.wo_group_profile .wo-fb-profile-info-row__icon svg {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  color: inherit !important;
}

.wo_group_profile .wo-fb-profile-info-row__body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fb-text-secondary, #65676b);
  word-break: break-word;
  padding: 1px 0;
}

.wo_group_profile .wo-fb-profile-info-row__body a {
  color: var(--fb-blue, #1877f2) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.wo_group_profile .wo-fb-profile-info-row__body a:hover {
  text-decoration: underline !important;
}

.wo_group_profile .wo-fb-profile-info-row__body .green {
  color: #31a24c;
  font-weight: 600;
}

html.wo-night-mode .wo_group_profile .wo-fb-profile-info-row:hover,
body.wo-night-mode .wo_group_profile .wo-fb-profile-info-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.wo-night-mode .wo_group_profile .wo-fb-profile-info-row__icon,
body.wo-night-mode .wo_group_profile .wo-fb-profile-info-row__icon {
  background: #3a3b3c;
  color: #b0b3b8;
}

/* Page sidebar info / about / rating ? same trending-card pattern as groups */
.wo_page_profile .wo-fb-profile-info-list.right_user_info > li {
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
}

.wo_page_profile .wo-fb-profile-info-list.right_user_info > li > svg {
  margin: 0 !important;
}

.wo_page_profile .wo-fb-profile-info-card.wo-trending-card,
.wo_page_profile .wo-fb-page-rating-card.wo-trending-card,
.wo_page_profile .wo-fb-profile-search-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* Page sidebar ? search bubble only (no card title/header) */
.wo_page_profile .wo-fb-page-search-bubble {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.wo_page_profile .wo-fb-page-search-bubble .wo-fb-page-search-card__bar,
.wo_page_profile .wo-fb-page-search-bubble .group-post-search-bar {
  margin-bottom: 0;
}

.wo_page_profile .wo-fb-page-search-bubble .group-post-search__input.search-for-posts {
  height: 42px;
  font-size: 14px;
}

html.wo-night-mode .wo_page_profile .wo-fb-page-search-bubble .group-post-search__input.search-for-posts,
body.wo-night-mode .wo_page_profile .wo-fb-page-search-bubble .group-post-search__input.search-for-posts {
  background: #3a3b3c;
  color: #e4e6eb;
}

html.wo-night-mode .wo_page_profile .wo-fb-page-search-bubble .group-post-search__input.search-for-posts:focus,
body.wo-night-mode .wo_page_profile .wo-fb-page-search-bubble .group-post-search__input.search-for-posts:focus {
  background: #242526;
  box-shadow: 0 0 0 2px var(--fb-blue, #1877f2) !important;
}

/* Chat sidebar ? offline overlay must not block the contact list when hidden */
.chat-all-container:not(.wo-group-chat-rail) > .chat-container {
  padding-top: calc(var(--fb-navbar-height, 48px) + 18px) !important;
}

.chat-container .online-content-toggler {
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.18) transparent;
}

.chat-container .online-content-toggler::-webkit-scrollbar {
  width: 4px;
}

.chat-container .online-content-toggler::-webkit-scrollbar-track {
  background: transparent;
}

.chat-container .online-content-toggler::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.16);
  border-radius: 999px;
}

.chat-container .online-content-toggler::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.28);
}

.chat-container .chat-opacity {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: 100% !important;
  z-index: 5;
}

.chat-container .chat-opacity:not(.active) {
  display: none !important;
  pointer-events: none !important;
}

html.wo-night-mode body .chat-container,
body.wo-night-mode .chat-container {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
  border-left-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}

html.wo-night-mode body .chat-container .online-toggle h3,
body.wo-night-mode .chat-container .online-toggle h3 {
  color: #f8fafc;
}

html.wo-night-mode body .chat-container .chat-pane-heading-icon,
body.wo-night-mode .chat-container .chat-pane-heading-icon {
  color: #a5b4fc;
}

html.wo-night-mode body .chat-container .recipient-chat-user .chat-user-meta,
body.wo-night-mode .chat-container .recipient-chat-user .chat-user-meta {
  color: #94a3b8;
}

html.wo-night-mode body .chat-container .wo_chat_tabs,
body.wo-night-mode .chat-container .wo_chat_tabs {
  background: rgba(51, 65, 85, 0.55);
}

html.wo-night-mode body .chat-container .wo_chat_tabs li a,
body.wo-night-mode .chat-container .wo_chat_tabs li a {
  color: #cbd5e1;
}

html.wo-night-mode body .chat-container .wo_chat_tabs li.active a,
body.wo-night-mode .chat-container .wo_chat_tabs li.active a {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.28) 0%, rgba(14, 165, 233, 0.24) 100%) !important;
  color: #fff;
}

html.wo-night-mode body .chat-container .wow_chat_search input,
body.wo-night-mode .chat-container .wow_chat_search input {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 12px 26px rgba(0, 0, 0, 0.2);
}

html.wo-night-mode body .chat-container .wow_chat_search_icon,
body.wo-night-mode .chat-container .wow_chat_search_icon {
  color: #94a3b8;
}

html.wo-night-mode body .chat-container .recipient-chat-user .user-info,
body.wo-night-mode .chat-container .recipient-chat-user .user-info {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.96) 100%);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

html.wo-night-mode body .chat-container .recipient-chat-user:hover .user-info,
body.wo-night-mode .chat-container .recipient-chat-user:hover .user-info {
  background: linear-gradient(180deg, rgba(37, 51, 71, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
  border-color: rgba(99, 102, 241, 0.24);
}

html.wo-night-mode body .chat-container .recipient-chat-user .chat-user-text,
body.wo-night-mode .chat-container .recipient-chat-user .chat-user-text {
  color: #f8fafc;
}

html.wo-night-mode body .chat-container .online-toggle .chat-status .btn,
body.wo-night-mode .chat-container .online-toggle .chat-status .btn {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

html.wo-night-mode body .chat-container .chat-opacity,
body.wo-night-mode .chat-container .chat-opacity {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.58) 0%, rgba(15, 23, 42, 0.72) 100%);
}

html.wo-night-mode body .chat-container .chat-opacity .empty_state,
body.wo-night-mode .chat-container .chat-opacity .empty_state,
html.wo-night-mode body .chat-container .online-content-toggler .empty_state,
body.wo-night-mode .chat-container .online-content-toggler .empty_state {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

html.wo-night-mode body .chat-container .online-content-toggler,
body.wo-night-mode .chat-container .online-content-toggler {
  scrollbar-color: rgba(148, 163, 184, 0.22) transparent;
}

html.wo-night-mode body .chat-container .online-content-toggler::-webkit-scrollbar-thumb,
body.wo-night-mode .chat-container .online-content-toggler::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
}

html.wo-night-mode body .chat-container .online-content-toggler::-webkit-scrollbar-thumb:hover,
body.wo-night-mode .chat-container .online-content-toggler::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.34);
}

.wo_page_profile .wo-fb-page-search-card__badge {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.wo_page_profile .wo-fb-page-search-card__badge svg {
  stroke: #fff;
}

.wo_page_profile .wo-fb-page-search-card__body {
  padding: 10px 12px 12px;
}

.wo_page_profile .wo-fb-page-search-card__bar {
  margin-bottom: 0;
}

.wo_page_profile .wo-fb-page-search-card__bar .group-post-search__input.search-for-posts {
  height: 40px;
  font-size: 14px;
}

.wo_page_profile .wo-fb-profile-info-badge {
  background: linear-gradient(135deg, #1877f2 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.wo_page_profile .wo-fb-profile-info-badge svg {
  stroke: #fff;
}

.wo_page_profile .wo-fb-page-rating-card__badge {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.wo_page_profile .wo-fb-page-rating-card__badge svg {
  stroke: none;
  fill: #fff;
}

.wo_page_profile .wo-fb-profile-info-list.wo-trending-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 14px !important;
}

.wo_page_profile .wo-fb-profile-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  margin: 0;
  min-height: 36px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.wo_page_profile .wo-fb-profile-info-row--stacked {
  align-items: flex-start;
  padding-top: 6px;
  padding-bottom: 6px;
}

.wo_page_profile .wo-fb-profile-info-row--stacked .wo-fb-profile-info-row__icon {
  margin-top: 1px;
}

.wo_page_profile .wo-fb-profile-info-row:hover {
  background: rgba(24, 119, 242, 0.06);
}

.wo_page_profile .wo-fb-profile-info-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--fb-bg, #f0f2f5);
  color: var(--fb-text-secondary, #65676b);
  flex-shrink: 0;
}

.wo_page_profile .wo-fb-profile-info-row__icon svg {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  color: inherit !important;
}

.wo_page_profile .wo-fb-profile-info-row__body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fb-text-secondary, #65676b);
  word-break: break-word;
  padding: 1px 0;
}

.wo_page_profile .wo-fb-profile-info-row__body a {
  color: var(--fb-blue, #1877f2) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.wo_page_profile .wo-fb-profile-info-row__body a:hover {
  text-decoration: underline !important;
}

.wo_page_profile .wo-fb-profile-info-row__body .green {
  color: #31a24c;
  font-weight: 600;
}

.wo_page_profile .wo-fb-profile-info-divider {
  list-style: none;
  padding: 0 6px !important;
  margin: 0;
}

.wo_page_profile .wo-fb-profile-info-divider hr {
  margin: 2px 0;
  border: 0;
  border-top: 1px solid var(--fb-border, #e4e6eb);
}

.wo_page_profile .wo-fb-profile-info-section-label {
  padding: 6px 6px 2px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fb-text-secondary, #65676b);
  list-style: none;
}

.wo_page_profile .wo-fb-profile-info-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 6px 4px !important;
  margin: 0;
  list-style: none;
}

.wo_page_profile .wo-fb-profile-info-social a.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px;
  background: var(--fb-bg, #f0f2f5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wo_page_profile .wo-fb-profile-info-social a.social-btn:hover {
  transform: translateY(-1px);
  background: rgba(24, 119, 242, 0.1);
}

.wo_page_profile .wo-fb-profile-info-social a.social-btn svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.wo_page_profile .wo-fb-profile-info-row .user-location-frame,
.wo_page_profile .wo-fb-profile-info-row [id^="place_"] {
  width: 100%;
  border-radius: var(--fb-radius-sm);
  overflow: hidden;
  margin-top: 10px;
}

.wo_page_profile .wo-fb-group-sidebar-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.wo_page_profile .wo-fb-group-sidebar-card__body {
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fb-text-secondary, #65676b);
  word-break: break-word;
}

.wo_page_profile .wo-fb-page-rating-card__body {
  padding: 10px 12px 12px;
}

.wo_page_profile .wo-fb-page-rating-card__summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wo_page_profile .wo-fb-page-rating-card__score {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
  color: var(--fb-text, #050505);
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wo_page_profile .wo-fb-page-rating-card__stars {
  position: relative;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset {
  border: none;
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 1px;
  margin: 0;
  padding: 0;
  height: auto;
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > input {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label {
  float: none;
  margin: 0 !important;
  cursor: pointer;
  color: #f59e0b;
  transition: transform 0.12s ease;
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label:hover,
.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label:hover ~ label {
  transform: scale(1.08);
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label svg.feather {
  width: 18px;
  height: 18px;
  margin: 0;
  stroke: #fbbf24;
  fill: transparent;
  transition: fill 0.12s ease, stroke 0.12s ease;
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label:hover svg.feather,
.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label:hover ~ label svg.feather,
.wo_page_profile .wo-fb-page-rating-card__stars > fieldset:not(:checked) > label svg.feather.active {
  fill: #f59e0b;
  stroke: #f59e0b;
}

.wo_page_profile .wo-fb-page-rating-card__stars > fieldset > label:active {
  top: auto;
}

.wo_page_profile .wo-fb-page-rating-card__reviews-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.wo_page_profile .wo-fb-page-rating-card__reviews-link:hover {
  background: rgba(245, 158, 11, 0.2);
  text-decoration: none !important;
}

html.wo-night-mode .wo_page_profile .wo-fb-profile-info-row:hover,
body.wo-night-mode .wo_page_profile .wo-fb-profile-info-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.wo-night-mode .wo_page_profile .wo-fb-profile-info-row__icon,
body.wo-night-mode .wo_page_profile .wo-fb-profile-info-row__icon {
  background: #3a3b3c;
  color: #b0b3b8;
}

html.wo-night-mode .wo_page_profile .wo-fb-page-rating-card__score,
body.wo-night-mode .wo_page_profile .wo-fb-page-rating-card__score {
  background: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.wo-night-mode .wo_page_profile .wo-fb-page-rating-card__reviews-link,
body.wo-night-mode .wo_page_profile .wo-fb-page-rating-card__reviews-link {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24 !important;
}

html.wo-night-mode .wo_page_profile .wo-fb-group-sidebar-card__body,
body.wo-night-mode .wo_page_profile .wo-fb-group-sidebar-card__body {
  color: var(--fb-text-secondary, #b0b3b8);
}

.wo_group_profile .wo-fb-group-sidebar-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.wo_group_profile .wo-fb-group-sidebar-card__body {
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fb-text-secondary, #65676b);
  word-break: break-word;
}

.wo_group_profile .wo-fb-group-rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 10px 10px 14px !important;
  counter-reset: wo-group-rule;
}

.wo_group_profile .wo-fb-group-rules-list__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 10px;
  background: var(--fb-bg, #f0f2f5);
  transition: background 0.15s ease;
  counter-increment: wo-group-rule;
}

.wo_group_profile .wo-fb-group-rules-list__item:hover {
  background: rgba(24, 119, 242, 0.06);
}

.wo_group_profile .wo-fb-group-rules-list__title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fb-text, #050505);
}

.wo_group_profile .wo-fb-group-rules-list__title::before {
  content: counter(wo-group-rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1877f2 0%, #6366f1 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.3);
}

.wo_group_profile .wo-fb-group-rules-list__desc {
  padding-left: 30px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fb-text-secondary, #65676b);
}

html.wo-night-mode .wo_group_profile .wo-fb-group-sidebar-card__body,
body.wo-night-mode .wo_group_profile .wo-fb-group-sidebar-card__body {
  color: #b0b3b8;
}

html.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__item,
body.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__item {
  background: #3a3b3c;
}

html.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__item:hover,
body.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__item:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__title,
body.wo-night-mode .wo_group_profile .wo-fb-group-rules-list__title {
  color: var(--fb-text, #ececec);
}

html.wo-night-mode .wo_user_profile .wo-fb-profile-info-row__icon,
body.wo-night-mode .wo_user_profile .wo-fb-profile-info-row__icon {
  background: #3a3b3c;
  color: #b0b3b8;
}

html.wo-night-mode .wo_user_profile .wo-fb-profile-info-row__body #user_post_count,
body.wo-night-mode .wo_user_profile .wo-fb-profile-info-row__body #user_post_count {
  color: var(--fb-text, #ececec);
}

html.wo-night-mode .wo_user_profile .wo-fb-profile-info-social a.social-btn,
body.wo-night-mode .wo_user_profile .wo-fb-profile-info-social a.social-btn {
  background: #3a3b3c;
}

/* Profile & media overlays ? flat (no linear gradients) */
.profile-container .text-shadow,
.sidebar-page-data .text-shadow {
  background: rgba(0, 0, 0, 0.55) !important;
  background-image: none !important;
}

.event-info-cont-small {
  background: rgba(0, 0, 0, 0.65) !important;
  background-image: none !important;
}

.wow_read_blog_hdr_img_innr {
  background: rgba(0, 0, 0, 0.55) !important;
  background-image: none !important;
}

/* --- Group profile: centered banner column + info (banner = image + cover control only) --- */
.wo_group_profile .profile-container {
  width: 100%;
  max-width: calc(var(--fb-group-max-width) + 20px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.row.page-margin.wo_group_profile {
  max-width: calc(var(--fb-group-max-width) + 20px);
  margin-left: auto;
  margin-right: auto;
}

.row.page-margin.wo_group_profile > .col-md-8,
.row.page-margin.wo_group_profile > .col-md-4 {
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 992px) {
  .row.page-margin.wo_group_profile {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .row.page-margin.wo_group_profile > .profile-container {
    flex: 0 0 100%;
    width: 100%;
  }
  .row.page-margin.wo_group_profile > .col-md-8,
  .row.page-margin.wo_group_profile > .col-md-4.wo-group-sidebar-col {
    float: none !important;
  }
  .wo_group_profile > .col-md-4.wo-group-sidebar-col .wo-group-sidebar-sticky-tail {
    position: sticky;
    top: var(--wo-sidebar-sticky-top, 56px);
    z-index: 3;
  }
}

.wo_group_profile .profile-container .wo-fb-group-card.card.hovercard {
  max-width: var(--fb-group-max-width);
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  /* visible so header ? menu can overlap the composer below */
  overflow: visible !important;
  border-radius: var(--fb-radius) !important;
  border: 1px solid var(--fb-border) !important;
  box-shadow: var(--fb-shadow) !important;
  background: var(--card-bg) !important;
}

.wo_group_profile > .profile-container {
  position: relative;
  z-index: 40;
}

.wo_group_profile > .col-md-8,
.wo_group_profile > .col-md-4 {
  position: relative;
  z-index: 1;
}

.wo_group_profile .group-banner-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0;
}

.wo_group_profile .wo-fb-group-cover-wrap {
  position: relative !important;
  display: block;
  flex: 0 1 var(--fb-group-max-width);
  width: 100%;
  max-width: var(--fb-group-max-width) !important;
  overflow: hidden;
  background: #000;
  margin-left: auto;
  margin-right: auto;
}

/* Override Sunshine: .group-cover / full-bleed img rules ? cap width on containers only (not img % here) */
.wo_group_profile .group-cover {
  width: 100% !important;
  max-width: var(--fb-group-max-width) !important;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.wo_group_profile .group-banner {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  width: 100% !important;
  max-width: var(--fb-group-max-width) !important;
  box-sizing: border-box;
}

.wo_group_profile .group-banner .user-cover-reposition-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--fb-bg, #f0f2f5);
  aspect-ratio: 800 / 312;
}

.wo_group_profile .group-banner .user-cover-reposition-w {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.wo_group_profile .group-banner .user-cover-reposition-w img#cover-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  min-height: 0 !important;
  max-height: none !important;
  object-position: center top;
  vertical-align: top;
}

.wo_group_profile .group-banner .user-reposition-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
  display: none;
}

.wo_group_profile .group-banner .user-cover-reposition-container.is-cover-repositioning {
  overflow: hidden;
}

.wo_group_profile .group-banner .user-cover-reposition-container.is-cover-repositioning .user-reposition-container {
  display: block;
  height: 100%;
  max-height: 100%;
}

.wo_group_profile .group-banner .user-reposition-container img#full-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: unset !important;
}

.wo_group_profile .wo-fb-group-cover-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 11;
}

.wo_group_profile .wo-fb-group-cover-wrap .profile-cover-changer {
  position: static !important;
  display: none;
  width: auto !important;
  right: auto !important;
  top: auto !important;
}

body.wo-lang-rtl .wo_group_profile .wo-fb-group-cover-tools {
  right: auto;
  left: 12px;
}

/* Beat @media rules targeting .wo_group_profile .cardheader img and similar */
.wo_group_profile .profile-container .card.hovercard .group-banner img#cover-image,
.wo_group_profile .profile-container .card.hovercard .group-banner img {
  height: 100% !important;
  max-height: none !important;
}

.wo_group_profile .group-info-block {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  --fb-group-header-inset: 20px;
  padding: 18px var(--fb-group-header-inset);
  background: var(--card-bg) !important;
  border-top: 1px solid var(--fb-border);
  border-radius: 0 0 var(--fb-radius) var(--fb-radius);
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  text-align: start;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.wo_group_profile .group-info-block__main {
  display: block;
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  text-align: start;
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding-inline-end: 0;
}

@media (min-width: 769px) {
  .wo_group_profile .group-info-block__main {
    padding-inline-end: 0;
  }
}

.wo_group_profile .group-info-block__main a,
.wo_group_profile .group-info-block__main button {
  pointer-events: auto;
}

/* Title/meta only ? do not use .group-info-block * (it breaks member avatar circles via overflow:visible) */
.wo_group_profile .group-info-block__main .group-info-block__title,
.wo_group_profile .group-info-block__main .group-info-block__title *,
.wo_group_profile .group-info-block__main .group-info-block__meta,
.wo_group_profile .group-info-block__main .group-info-block__meta * {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  flex-wrap: wrap !important;
}

.wo_group_profile .group-info-block__title {
  margin: 0 0 11px;
  padding: 0;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.25;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wo_group_profile .group-title {
  display: inline;
  font-size: 26px;
  font-weight: 700 !important;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  line-height: 1.25;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  word-break: normal;
  overflow-wrap: break-word;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* Never clamp/truncate group title */
.wo_group_profile .group-info-block__title,
.wo_group_profile .group-info-block__title a,
.wo_group_profile .group-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-height: none !important;
  font-weight: 700 !important;
}

.wo_group_profile .group-title:hover {
  text-decoration: none !important;
  color: var(--text-primary) !important;
}

.wo_group_profile .group-info-block__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.wo_group_profile .group-info-block__privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: calc(1.125rem + 1px);
}

.wo_group_profile .group-info-block__members {
  font-weight: 500;
  font-size: calc(1.125rem + 1px);
}

.wo_group_profile .group-members-strip {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  margin-top: 10px;
  overflow: visible;
  line-height: 0;
}

.wo_group_profile .group-members-strip__item {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid var(--card-bg) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  position: relative;
  z-index: 1;
  line-height: 0;
  padding: 0 !important;
  flex-shrink: 0;
  box-sizing: border-box;
}

.wo_group_profile .group-members-strip__item:hover {
  z-index: 2;
}

.wo_group_profile .group-members-strip__item + .group-members-strip__item {
  margin-inline-start: -8px;
}

.wo_group_profile .group-members-strip__item img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
  display: block !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top;
  clip-path: circle(50% at 50% 50%);
  aspect-ratio: 1 / 1;
}

.wo_group_profile .group-info-block__privacy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.9;
}

.wo_group_profile .group-info-block__dot {
  color: var(--text-secondary);
  opacity: 0.8;
  user-select: none;
}

/* Page cover ? slightly taller than legacy 313px, not full FB ratio */
.wo_page_profile .profile-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wo_page_profile .profile-container .card,
.wo_page_profile .profile-container .card.hovercard {
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  background: transparent !important;
  padding-bottom: 0 !important;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0 !important;
}

.wo_page_profile .profile-container .card.hovercard .cardheader.user-cover {
  max-height: var(--fb-page-cover-height) !important;
  min-height: var(--fb-page-cover-height) !important;
  height: var(--fb-page-cover-height) !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 0;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0 !important;
}

.wo_page_profile .cardheader.user-cover .profile-cover-changer {
  top: 14px;
  right: 10px;
  z-index: 20;
}

.wo_page_profile .user-cover-reposition-container {
  position: relative;
  width: 100%;
  height: var(--fb-page-cover-height);
  max-height: var(--fb-page-cover-height) !important;
  min-height: var(--fb-page-cover-height) !important;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0 !important;
}

.wo_page_profile .user-cover-reposition-w,
.wo_page_profile .user-reposition-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--fb-page-cover-height) !important;
  max-height: var(--fb-page-cover-height) !important;
  min-height: var(--fb-page-cover-height) !important;
  overflow: hidden;
}

.wo_page_profile .user-cover-reposition-w {
  z-index: 1;
}

.wo_page_profile .user-reposition-container {
  z-index: 2;
  display: none;
}

.wo_page_profile .user-cover-reposition-w img#cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo_page_profile .user-reposition-container img#full-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: unset !important;
}

/* Page header ? seamless cover-to-info join (no black body/navbar seam) */
.wo_page_profile .profile-container {
  overflow: visible;
  --fb-page-seam-fill: var(--card-bg, #fff);
}

.wo_page_profile .profile-container .card.hovercard {
  position: relative;
  z-index: 1;
}

/* Paint the gap between cover bottom and info block with card surface colour */
.wo_page_profile .profile-container .card.hovercard::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  transform: translateY(100%);
  background: var(--fb-page-seam-fill);
  pointer-events: none;
  z-index: 2;
}

.wo_page_profile .profile-container .page-info-cont {
  margin-top: -48px !important;
}

.wo_page_profile .page-info-cont {
  --fb-page-avatar-size: 148px;
  --fb-page-avatar-radius: 10px;
  --fb-page-head-offset: 34px;
  margin: 0 0 20px !important;
  padding: 0 20px 32px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  position: relative;
  z-index: 3;
  background-color: var(--card-bg, #fff) !important;
  background-image: none !important;
  overflow: visible;
  border-radius: 0 0 var(--fb-radius) var(--fb-radius) !important;
}

html.wo-night-mode .wo_page_profile .page-info-cont,
body.wo-night-mode .wo_page_profile .page-info-cont {
  background-color: var(--card-bg, #2a2a2a) !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;
}

/* Legacy page_navbar dark gradient (old templates) ? hide or match surface */
.wo_page_profile .page_navbar,
.wo_page_profile .page-info-cont .page_navbar,
.wo_page_profile .wo-page-navbar-col,
html.wo-night-mode .wo_page_profile .page-info-cont .page_navbar,
html.wo-night-mode .wo_page_profile .page_navbar,
body.wo-night-mode .wo_page_profile .page-info-cont .page_navbar,
body.wo-night-mode .wo_page_profile .page_navbar {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: var(--card-bg, #fff) !important;
  background-image: none !important;
}

@media (min-width: 768px) {
  .wo_page_profile .page_navbar {
    display: none !important;
    background: var(--card-bg, #fff) !important;
    background-image: none !important;
  }
}

.wo_page_profile .page-info-cont.row {
  display: block;
}

.wo_page_profile .page-info-cont .wo-page-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 28px;
  /* Only reserve space for content below the cover join ? avatar hangs above/over. */
  min-height: 0;
  padding-top: var(--fb-page-head-offset);
  padding-bottom: 0;
  float: none !important;
  width: 100%;
}

.wo_page_profile .page-info-cont .wo-page-identity__main {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
  padding-left: calc(var(--fb-page-avatar-size) + 16px);
  min-height: calc(var(--fb-page-avatar-size) / 2);
}

.wo_page_profile .page-info-cont .user-avatar {
  position: absolute;
  top: calc(var(--fb-page-avatar-size) / -2);
  left: 0;
  width: var(--fb-page-avatar-size);
  height: var(--fb-page-avatar-size);
  margin: 0 !important;
  flex: none;
  z-index: 3;
  border-radius: var(--fb-page-avatar-radius) !important;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  border: 3px solid var(--card-bg, #fff);
}

.wo_page_profile .page-info-cont .user-avatar img {
  width: var(--fb-page-avatar-size) !important;
  height: var(--fb-page-avatar-size) !important;
  border-radius: calc(var(--fb-page-avatar-radius) - 2px) !important;
  border: 0 !important;
  object-fit: cover;
  display: block;
}

.wo_page_profile .page-info-cont .user-avatar-uploading-container {
  border-radius: var(--fb-page-avatar-radius) !important;
}

.wo_page_profile .page-info-cont .wo-page-identity__meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  gap: 4px;
  /* Nudge title / buttons up a touch so the name sits on the avatar mid-line. */
  margin-top: -0.95em;
  padding-top: 0;
}

.wo_page_profile .page-info-cont .wo-page-identity__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}

.wo_page_profile .page-info-cont .wo-page-identity__title-row .title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wo_page_profile .page-info-cont .wo-page-identity__title-row .title a {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color, #050505);
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.wo_page_profile .page-info-cont .wo-page-identity__title-row .title .verified-color,
.wo_page_profile .page-info-cont .wo-page-identity__title-row .title svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.wo_page_profile .page-info-cont .page_username {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-muted, #65676b);
  font-weight: 500;
}

.wo_page_profile .page-info-cont .wo-page-identity__likes,
.wo_page_profile .page-info-cont .wo-page-identity__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--text-muted, #65676b);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.wo_page_profile .page-info-cont .wo-page-identity__likes svg,
.wo_page_profile .page-info-cont .wo-page-identity__phone svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  flex: 0 0 auto;
}

.wo_page_profile .page-info-cont .wo-page-identity__owner-actions,
.wo_page_profile .page-info-cont .wo-page-identity__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.wo_page_profile .page-info-cont .wo-page-identity__actions {
  justify-content: flex-end;
  margin-left: auto;
  /* Keep Like / Invite level with the raised title block. */
  margin-top: -0.95em;
}

.wo_page_profile .page-info-cont .wo-page-action-btn,
.wo_page_profile .page-info-cont .page-like-btn .btn,
.wo_page_profile .page-info-cont .page-message-btn .btn,
.wo_page_profile .page-info-cont .page_info_cta .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  float: none !important;
  margin: 0 !important;
}

.wo_page_profile .page-info-cont .wo-page-action-btn svg,
.wo_page_profile .page-info-cont .page-like-btn .btn svg,
.wo_page_profile .page-info-cont .page-message-btn .btn svg,
.wo_page_profile .page-info-cont .page_info_cta .btn svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

.wo_page_profile .page-info-cont .wo-page-action-btn:hover,
.wo_page_profile .page-info-cont .page-like-btn .btn:hover,
.wo_page_profile .page-info-cont .page-message-btn .btn:hover,
.wo_page_profile .page-info-cont .page_info_cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.wo_page_profile .page-info-cont .wo-page-action-btn--edit,
.wo_page_profile .page-info-cont .wo-page-action-btn--soft,
.wo_page_profile .page-info-cont .page-message-btn .btn {
  background: #f0f2f5 !important;
  color: #050505 !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
}

.wo_page_profile .page-info-cont .wo-page-action-btn--edit:hover,
.wo_page_profile .page-info-cont .wo-page-action-btn--soft:hover,
.wo_page_profile .page-info-cont .page-message-btn .btn:hover {
  background: #e4e6eb !important;
  color: #050505 !important;
}

.wo_page_profile .page-info-cont .page-like-btn .btn,
.wo_page_profile .page-info-cont .wo-page-action-btn--invite {
  background: linear-gradient(180deg, #ff4b52 0%, #e41e26 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(228, 30, 38, 0.24);
}

.wo_page_profile .page-info-cont .page-like-btn .btn:hover,
.wo_page_profile .page-info-cont .wo-page-action-btn--invite:hover {
  background: linear-gradient(180deg, #ff5c62 0%, #d01920 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(228, 30, 38, 0.3);
}

.wo_page_profile .page-info-cont .page-like-btn .btn-active,
.wo_page_profile .page-info-cont .page-like-btn .wo_following_btn {
  background: #f0f2f5 !important;
  color: #050505 !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.wo_page_profile .page-info-cont .page-like-btn .btn-active:hover,
.wo_page_profile .page-info-cont .page-like-btn .wo_following_btn:hover {
  background: #e4e6eb !important;
  color: #050505 !important;
}

.wo_page_profile .page-info-cont .page_info_cta .btn {
  background: #e7f3ff !important;
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.12) !important;
}

html.wo-night-mode .wo_page_profile .page-info-cont .user-avatar,
body.wo-night-mode .wo_page_profile .page-info-cont .user-avatar {
  border-color: var(--card-bg, #2a2a2a);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__title-row .title a,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__title-row .title a {
  color: #f5f6f7;
}

html.wo-night-mode .wo_page_profile .page-info-cont .page_username,
html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__likes,
html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__phone,
body.wo-night-mode .wo_page_profile .page-info-cont .page_username,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__likes,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-identity__phone {
  color: #b0b3b8;
}

html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--edit,
html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--soft,
html.wo-night-mode .wo_page_profile .page-info-cont .page-message-btn .btn,
html.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .btn-active,
html.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .wo_following_btn,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--edit,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--soft,
body.wo-night-mode .wo_page_profile .page-info-cont .page-message-btn .btn,
body.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .btn-active,
body.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .wo_following_btn {
  background: #3a3b3c !important;
  color: #e4e6eb !important;
  border-color: transparent !important;
}

html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--edit:hover,
html.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--soft:hover,
html.wo-night-mode .wo_page_profile .page-info-cont .page-message-btn .btn:hover,
html.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .btn-active:hover,
html.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .wo_following_btn:hover,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--edit:hover,
body.wo-night-mode .wo_page_profile .page-info-cont .wo-page-action-btn--soft:hover,
body.wo-night-mode .wo_page_profile .page-info-cont .page-message-btn .btn:hover,
body.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .btn-active:hover,
body.wo-night-mode .wo_page_profile .page-info-cont .page-like-btn .wo_following_btn:hover {
  background: #4e4f50 !important;
  color: #f5f6f7 !important;
}

@media (max-width: 992px) {
  .wo_page_profile .page-info-cont .wo-page-identity {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: calc(var(--fb-page-avatar-size) + 16px);
  }
}

@media (max-width: 768px) {
  .wo_page_profile .page-info-cont {
    --fb-page-avatar-size: 112px;
    --fb-page-avatar-radius: 9px;
    --fb-page-head-offset: 0px;
    padding: 0 16px 24px !important;
  }

  .wo_page_profile .profile-container .page-info-cont {
    margin-top: -12px !important;
  }

  .wo_page_profile .profile-container .card.hovercard::after {
    height: 12px;
  }

  .wo_page_profile .page-info-cont .wo-page-identity {
    min-height: 0;
    padding-top: 0;
    gap: 14px;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__main {
    padding-left: 0;
    min-height: 0;
    align-items: flex-start;
  }

  .wo_page_profile .page-info-cont .user-avatar {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 var(--fb-page-avatar-size);
  }

  .wo_page_profile .page-info-cont .wo-page-identity__meta,
  .wo_page_profile .page-info-cont .wo-page-identity__actions {
    margin-top: 0;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__title-row .title a {
    font-size: 22px;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__actions {
    padding-left: 0;
  }
}

@media (max-width: 570px) {
  .wo_page_profile .page-info-cont {
    --fb-page-avatar-size: 92px;
    --fb-page-avatar-radius: 8px;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__main {
    align-items: flex-start;
  }

  .wo_page_profile .page-info-cont .wo-page-identity__title-row .title a {
    font-size: 20px;
  }

  .wo_page_profile .page-info-cont .wo-page-action-btn--invite {
    width: 100%;
  }
}

/* Keep affiliation strip above .group-info-block (z-index:2 pulls up via negative margin) */
.wo_group_profile .group-banner-wrapper:has(.group-affiliation-banner) {
  position: relative;
  z-index: 3;
}

/* Fill corner wedges where affiliation banner bottom corners round */
.wo_group_profile .group-banner-wrapper:has(.group-affiliation-banner) + .group-info-block {
  margin-top: calc(-1 * var(--fb-radius));
  padding-top: calc(18px + var(--fb-radius));
  border-top-color: transparent;
  z-index: 2;
}

@media (max-width: 768px) {
  .wo_group_profile .group-banner-wrapper:has(.group-affiliation-banner) + .group-info-block {
    margin-top: calc(-1 * var(--fb-radius));
    padding-top: calc(8px + var(--fb-radius)) !important;
    padding-bottom: 10px !important;
  }
}

.wo_group_profile .group-affiliation-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 37px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  z-index: 4;
  pointer-events: auto;
  border-radius: 0 0 var(--fb-radius) var(--fb-radius);
}

.wo_group_profile .group-affiliation-banner a {
  margin-inline-start: 4px;
  text-decoration: none;
  font-weight: 700;
}

.wo_group_profile .group-affiliation-banner a:hover {
  text-decoration: underline;
}

.wo_group_profile .wo-group-header-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 0;
}

.wo_group_profile .wo-group-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wo_group_profile .wo-group-header-badge__img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Members strip + mobile overflow (Manage/Edit) */
.wo_group_profile .group-members-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.wo_group_profile .group-members-toolbar .group-members-strip {
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.wo_group_profile .group-members-strip--empty {
  flex: 1 1 auto;
  min-height: 0;
}

.wo_group_profile .wo-group-header-more {
  display: none;
  flex: 0 0 auto;
  position: relative;
  z-index: 5;
}

.wo_group_profile .wo-group-header-more.open {
  z-index: 60;
}

.wo_group_profile .wo-group-header-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #e4e6eb;
  color: #050505;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
}

.wo_group_profile .wo-group-header-more__btn:hover,
.wo_group_profile .wo-group-header-more.open .wo-group-header-more__btn,
.wo_group_profile .wo-group-header-more__btn:focus {
  background: #d8dadf;
  outline: none;
}

.wo_group_profile .wo-group-header-more__menu {
  min-width: 160px;
  padding: 6px 0;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid var(--fb-border, #e4e6eb);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  z-index: 70 !important;
}

.wo_group_profile .wo-group-header-more__menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-primary, #050505);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.wo_group_profile .wo-group-header-more__menu > li > a:hover,
.wo_group_profile .wo-group-header-more__menu > li > a:focus {
  background: #f0f2f5;
  text-decoration: none;
}

.wo_group_profile .wo-group-header-more__menu > li > a svg {
  flex: 0 0 auto;
  color: #65676b;
}

html.wo-night-mode .wo_group_profile .wo-group-header-more__btn,
body.wo-night-mode .wo_group_profile .wo-group-header-more__btn,
.night-mode .wo_group_profile .wo-group-header-more__btn {
  background: #3a3b3c;
  color: #e4e6eb;
}

html.wo-night-mode .wo_group_profile .wo-group-header-more__btn:hover,
html.wo-night-mode .wo_group_profile .wo-group-header-more.open .wo-group-header-more__btn,
body.wo-night-mode .wo_group_profile .wo-group-header-more__btn:hover,
body.wo-night-mode .wo_group_profile .wo-group-header-more.open .wo-group-header-more__btn,
.night-mode .wo_group_profile .wo-group-header-more__btn:hover,
.night-mode .wo_group_profile .wo-group-header-more.open .wo-group-header-more__btn {
  background: #4e4f50;
}

html.wo-night-mode .wo_group_profile .wo-group-header-more__menu,
body.wo-night-mode .wo_group_profile .wo-group-header-more__menu,
.night-mode .wo_group_profile .wo-group-header-more__menu {
  background: #242526;
  border-color: #3e4042;
}

html.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a,
body.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a,
.night-mode .wo_group_profile .wo-group-header-more__menu > li > a {
  color: #e4e6eb;
}

html.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a:hover,
html.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a:focus,
body.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a:hover,
body.wo-night-mode .wo_group_profile .wo-group-header-more__menu > li > a:focus,
.night-mode .wo_group_profile .wo-group-header-more__menu > li > a:hover,
.night-mode .wo_group_profile .wo-group-header-more__menu > li > a:focus {
  background: #3a3b3c;
}

.group-header-badges-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.group-header-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--fb-border, #ddd);
  border-radius: var(--fb-radius-sm, 6px);
  background: var(--card-bg, #fff);
}

.group-header-badge-item__preview {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-header-badge-item__preview img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.group-header-badge-item__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.group-header-badge-item__tooltip {
  font-weight: 600;
  word-break: break-word;
}

.group-header-badge-item__hint {
  font-size: 12px;
  color: var(--text-secondary, #65676b);
}

.group-header-badge-item__actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.wo_group_profile .group-info-block__byline {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.wo_group_profile .group-info-block__byline a {
  color: var(--text-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.wo_group_profile .group-info-block__byline a:hover {
  text-decoration: underline !important;
}

/* Group header actions ? sibling of title block: right edge on desktop, under title on mobile */
.wo_group_profile .group-info-block__actions.options-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  margin-inline-start: auto !important;
  padding: 0 !important;
  position: relative !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  inset: auto !important;
  z-index: 4 !important;
  text-align: end;
  justify-content: flex-end;
  width: auto !important;
  max-width: none;
  flex: 0 0 auto;
  align-self: flex-start;
  pointer-events: auto !important;
}

@media (min-width: 769px) {
  .wo_group_profile .group-info-block__actions.options-buttons {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
    margin: 0 !important;
    margin-inline-start: auto !important;
    width: auto !important;
    max-width: none;
    justify-content: flex-end;
    text-align: end;
  }
}

.wo_group_profile .group-info-block__actions.options-buttons a,
.wo_group_profile .group-info-block__actions.options-buttons button {
  float: none !important;
  margin-left: 0 !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
  white-space: nowrap;
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn:hover {
  transform: none !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-width: 1px !important;
  border-style: solid !important;
  box-sizing: border-box !important;
}

.wo_group_profile .group-info-block__actions.options-buttons .wo-fb-group-owner-btn:last-child > a.wo-fb-group-action-btn {
  margin-inline-end: 0 !important;
}

@media (max-width: 768px) {
  .wo_group_profile .group-info-block,
  html.wo-night-mode .wo_group_profile .group-info-block,
  body.wo-night-mode .wo_group_profile .group-info-block,
  .night-mode .wo_group_profile .group-info-block {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .wo_group_profile .group-info-block__main {
    padding-inline-end: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .wo_group_profile .group-info-block__title {
    margin-bottom: 6px !important;
    display: block !important;
    max-width: 100% !important;
  }

  .wo_group_profile .group-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    display: inline !important;
  }

  .wo_group_profile .group-info-block__meta {
    font-size: 0.95rem !important;
  }

  .wo_group_profile .group-info-block__privacy,
  .wo_group_profile .group-info-block__members {
    font-size: 0.95rem !important;
  }

  .wo_group_profile .group-info-block__actions.options-buttons,
  html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  .night-mode .wo_group_profile .group-info-block__actions.options-buttons {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
    margin: 8px 0 0 !important;
    margin-inline-start: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    float: none !important;
    gap: 6px !important;
    align-self: stretch !important;
  }

  /* Compact Manage / Edit / Join on mobile */
  .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn,
  .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn:hover {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 11px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
    border-radius: 8px !important;
  }

  .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn svg,
  .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  .wo_group_profile .group-info-block__actions .group-join-btn .btn,
  .wo_group_profile .group-info-block__actions .group-join-btn button {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    gap: 4px !important;
  }

  .wo_group_profile .group-info-block__actions .group-join-btn .btn svg,
  .wo_group_profile .group-info-block__actions .group-join-btn button svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Smaller member avatars; hide extras so strip stays on-screen */
  .wo_group_profile .group-members-strip {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .wo_group_profile .group-members-toolbar {
    margin-top: 6px !important;
    overflow: visible !important;
  }

  .wo_group_profile .group-members-toolbar .group-members-strip {
    margin-top: 0 !important;
  }

  .wo_group_profile .group-info-block,
  .wo_group_profile .group-info-block__main {
    overflow: visible !important;
  }

  /* Mobile: hide Manage/Edit buttons; use ? menu after members */
  .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn {
    display: none !important;
  }

  .wo_group_profile .wo-group-header-more {
    display: inline-flex !important;
  }

  .wo_group_profile .wo-group-header-more.open,
  .wo_group_profile .wo-group-header-more.open .wo-group-header-more__menu {
    z-index: 80 !important;
  }

  .wo_group_profile .wo-group-header-more__btn {
    width: 32px !important;
    height: 32px !important;
  }

  /* Badges scale with smaller mobile title (~18/26 of desktop) */
  .wo_group_profile .wo-group-header-badges {
    gap: 4px !important;
  }

  .wo_group_profile .wo-group-header-badge__img {
    width: 15px !important;
    height: 15px !important;
  }

  .wo_group_profile .group-members-strip__item {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-width: 1.5px !important;
  }

  .wo_group_profile .group-members-strip__item + .group-members-strip__item {
    margin-inline-start: -7px !important;
  }

  .wo_group_profile .group-members-strip__item:nth-child(n+9) {
    display: none !important;
  }
}

.wo_group_profile .group-info-block__actions .btn,
.wo_group_profile .group-info-block__actions .btn-default {
  border-radius: var(--fb-radius-sm) !important;
}

.wo_group_profile .group-info-block__actions .group-join-btn .btn,
.wo_group_profile .group-info-block__actions .group-join-btn button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  height: 42px !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  border-radius: 2em !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.wo_group_profile .group-info-block__actions .group-join-btn .btn svg,
.wo_group_profile .group-info-block__actions .group-join-btn button svg {
  width: 17px;
  height: 17px;
  margin: 0;
  flex-shrink: 0;
}

.wo_group_profile .group-info-block__actions .group-join-btn .btn-default:not(.btn-main),
.wo_group_profile .group-info-block__actions .group-join-btn .wo_follow_btn,
.wo_group_profile .group-info-block__actions .group-join-btn .wo_request_btn {
  background: #fff !important;
  color: #050505 !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn__text {
  display: inline;
  white-space: nowrap;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn svg,
.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0;
  stroke-width: 2.25;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--primary {
  color: #fff !important;
  background: var(--fb-blue, #1877f2) !important;
  border-color: var(--fb-blue, #1877f2) !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--primary:hover {
  color: #fff !important;
  background: var(--fb-blue-hover, #166fe5) !important;
  border-color: var(--fb-blue-hover, #166fe5) !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35) !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin {
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin::before {
  pointer-events: none !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin svg,
.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin .wo-fb-group-action-btn__text {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary {
  color: var(--fb-text, #050505) !important;
  background: var(--fb-bg, #f0f2f5) !important;
  border-color: var(--fb-border, #e4e6eb) !important;
}

.wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary:hover {
  color: var(--fb-text, #050505) !important;
  background: #e4e6eb !important;
  border-color: #ccd0d5 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary {
  color: #e4e6eb !important;
  background: #3a3b3c !important;
  border-color: #4e4f50 !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary:hover,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--secondary:hover {
  background: #4e4f50 !important;
  border-color: #5a5b5c !important;
}

/* Night mode ? keep same flex edge layout as light mode */
html.wo-night-mode .wo_group_profile .group-info-block,
body.wo-night-mode .wo_group_profile .group-info-block,
.night-mode .wo_group_profile .group-info-block {
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  position: relative !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
.night-mode .wo_group_profile .group-info-block__actions.options-buttons {
  position: relative !important;
  float: none !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  margin-inline-start: auto !important;
  right: auto !important;
  top: auto !important;
  left: auto !important;
  inset: auto !important;
  z-index: 4 !important;
  align-self: flex-start !important;
  pointer-events: auto !important;
}

@media (min-width: 769px) {
  html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  .night-mode .wo_group_profile .group-info-block__actions.options-buttons {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
    margin: 0 !important;
    margin-inline-start: auto !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-end !important;
  }
}

html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons a,
html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons button,
body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons a,
body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons button,
.night-mode .wo_group_profile .group-info-block__actions.options-buttons a,
.night-mode .wo_group_profile .group-info-block__actions.options-buttons button {
  float: none !important;
  margin-left: 0 !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn,
html.wo-night-mode .wo_group_profile .group-info-block__actions .group-join-btn,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn,
body.wo-night-mode .wo_group_profile .group-info-block__actions .group-join-btn,
.night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn,
.night-mode .wo_group_profile .group-info-block__actions .group-join-btn {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn,
html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin,
.night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a.wo-fb-group-action-btn,
.night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  float: none !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin::before,
body.wo-night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin::before,
.night-mode .wo_group_profile .group-info-block__actions .wo-fb-group-action-btn--admin::before {
  pointer-events: none !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__main,
body.wo-night-mode .wo_group_profile .group-info-block__main,
.night-mode .wo_group_profile .group-info-block__main {
  pointer-events: none !important;
}

html.wo-night-mode .wo_group_profile .group-info-block__main a,
html.wo-night-mode .wo_group_profile .group-info-block__main button,
body.wo-night-mode .wo_group_profile .group-info-block__main a,
body.wo-night-mode .wo_group_profile .group-info-block__main button,
.night-mode .wo_group_profile .group-info-block__main a,
.night-mode .wo_group_profile .group-info-block__main button {
  pointer-events: auto !important;
}

/* Mobile stack must win over desktop/night-mode row !important locks above */
@media (max-width: 768px) {
  .wo_group_profile .group-info-block,
  html.wo-night-mode .wo_group_profile .group-info-block,
  body.wo-night-mode .wo_group_profile .group-info-block,
  .night-mode .wo_group_profile .group-info-block {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .wo_group_profile .group-info-block__main {
    padding-inline-end: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .wo_group_profile .group-info-block__actions.options-buttons,
  html.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  body.wo-night-mode .wo_group_profile .group-info-block__actions.options-buttons,
  .night-mode .wo_group_profile .group-info-block__actions.options-buttons {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    margin-inline-start: 0 !important;
    justify-content: flex-start !important;
    float: none !important;
    align-self: stretch !important;
  }

  .wo_group_profile .group-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

.wo_group_profile .wo-fb-group-suggested-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 8px 10px 12px !important;
}

.wo_group_profile .wo-fb-group-suggested-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  margin: 0;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.wo_group_profile .wo-fb-group-suggested-row:hover {
  background: rgba(24, 119, 242, 0.06);
}

.wo_group_profile .wo-fb-group-suggested-row__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.wo_group_profile .wo-fb-group-suggested-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo_group_profile .wo-fb-group-suggested-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wo_group_profile .wo-fb-group-suggested-row__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fb-text, #050505) !important;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo_group_profile .wo-fb-group-suggested-row__name:hover {
  text-decoration: underline !important;
}

.wo_group_profile .wo-fb-group-suggested-row__meta {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fb-text-secondary, #65676b);
}

.wo_group_profile .wo-fb-group-suggested-row__action {
  flex-shrink: 0;
}

.wo_group_profile .wo-fb-group-suggested-row__action .btn,
.wo_group_profile .wo-fb-group-suggested-row__action button {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

html.wo-night-mode .wo_group_profile .wo-fb-group-suggested-row:hover,
body.wo-night-mode .wo_group_profile .wo-fb-group-suggested-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.wo-night-mode .wo_group_profile .wo-fb-group-suggested-row__name,
body.wo-night-mode .wo_group_profile .wo-fb-group-suggested-row__name {
  color: var(--fb-text, #ececec) !important;
}

body.wo-night-mode .wo_group_profile .group-info-block__actions .group-join-btn .btn-default:not(.btn-main),
body.wo-night-mode .wo_group_profile .group-info-block__actions .group-join-btn .wo_follow_btn,
body.wo-night-mode .wo_group_profile .group-info-block__actions .group-join-btn .wo_request_btn,
.night-mode .wo_group_profile .group-info-block__actions .group-join-btn .btn-default:not(.btn-main),
.night-mode .wo_group_profile .group-info-block__actions .group-join-btn .wo_follow_btn,
.night-mode .wo_group_profile .group-info-block__actions .group-join-btn .wo_request_btn {
  background: #24313d !important;
  color: #fff !important;
}

/* Group page: card-like columns follow theme surfaces (day / night via tokens) */
.wo_group_profile .wow_content,
.wo_group_profile ul.wow_content {
  background-color: var(--card-bg) !important;
  color: var(--text-primary);
}

.wo_group_profile .wo_prof_side_info_padd > li,
.wo_group_profile .event-options-list > li {
  color: var(--text-primary);
}

.wo_group_profile .wo_prof_side_info_padd > li a:not(.btn):not(.btn-main) {
  color: var(--text-primary) !important;
}

/* Manage headers: increase title/subtitle gap without growing block */
.group-manage-header.popular_posts_hdr > h2 {
  margin-top: -10px !important;
  margin-bottom: 0 !important;
}

.group-manage-header.popular_posts_hdr > p {
  margin: 16px 0 -10px !important;
}

html.wo-night-mode .group-manage-header.popular_posts_hdr > h2,
body.wo-night-mode .group-manage-header.popular_posts_hdr > h2 {
  color: var(--text-primary, #e8e8e8);
}

html.wo-night-mode .popular_posts_hdr > h2 svg,
body.wo-night-mode .popular_posts_hdr > h2 svg {
  background: rgba(255, 255, 255, 0.08);
}

/* Sidebar mini group header for manage/edit pages */
.group-mini-header-card {
  margin: 0;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-sm);
  overflow: hidden;
  background: var(--card-bg);
}

.group-mini-header-shell {
  margin-bottom: 14px !important;
}

.group-setting-menu-list {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

.group-setting-switch-shell {
  margin-top: 14px !important;
}

.group-setting-switch-menu {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}

.group-pending-posts-toolbar {
  margin-bottom: 14px;
}

.group-pending-posts-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.group-pending-select-all-label {
  margin: 0 8px 0 0;
  font-weight: 600;
}

.group-pending-post-item__check {
  margin: 8px 0 0;
  flex-shrink: 0;
}

.group-pending-post-item__author {
  flex: 1;
  min-width: 0;
}

.group-pending-posts-pagination {
  margin-top: 16px;
}

.group-mini-header-card__cover-link {
  display: block;
}

.group-mini-header-card__cover {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.group-mini-header-card__body {
  padding: 10px 12px 12px;
}

.group-mini-header-card__title {
  display: block;
  color: var(--text-primary) !important;
  font-family: "Segoe UI Historic", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
}

.group-mini-header-card__title:hover {
  text-decoration: underline !important;
}

.group-mini-header-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.3;
}

.group-mini-header-card__privacy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.group-mini-header-card__privacy svg {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}

/*
 * Base themes/fbtheme/stylesheet/style.css has corrupted mojibake in
 * .w-check-handler:before / :checked...::before `content:` (UTF-8 mis-saved as Latin-1).
 * That string renders as a huge white glyph overlay; toggling moves the handler so it "shifts".
 * Remove the broken pseudo-element text site-wide in fbtheme.
 */
.w-check-handler::before,
.w-check-handler:before,
input[type=checkbox]:checked + .w-check-trail .w-check-handler::before,
input[type=checkbox]:checked + .w-check-trail .w-check-handler:before {
  content: none !important;
  display: none !important;
}

/* Admin Assist (Manage): hero + criteria card layout (uses theme tokens, not forced dark) */
.aa-manage {
  --aa-card-radius: 12px;
}

.aa-hero {
  text-align: center;
  padding: 28px 24px 32px;
  border-radius: var(--aa-card-radius);
  background-color: var(--card-bg) !important;
  border: 1px solid var(--fb-border) !important;
  box-shadow: var(--fb-shadow) !important;
  margin-bottom: 0;
}

.aa-hero__icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--background-alt, #f0f2f5);
  color: var(--fb-blue, #1877f2);
}

body.wo-night-mode .aa-hero__icon-wrap {
  background: rgba(24, 119, 242, 0.12);
}

.aa-hero__icon {
  width: 30px;
  height: 30px;
}

.aa-hero__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
  font-family: "Segoe UI Historic", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary, #050505);
}

.aa-hero__subtitle {
  max-width: 36rem;
  margin: 12px auto 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary, #65676b) !important;
}

.aa-criteria-stack {
  margin-top: 22px;
}

.aa-criteria-eyebrow {
  margin: 0 0 12px 2px;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary, #050505);
}

.aa-criteria-stack .wo_settings_page {
  margin-top: 0;
}

.group-admin-assist-card {
  border: 1px solid var(--fb-border, #e4e6eb);
  border-radius: var(--aa-card-radius);
  padding: 20px 24px 22px;
  margin: 0 0 4px 0;
  background: var(--card-bg, #fff);
  box-shadow: var(--fb-shadow);
}

.group-admin-assist-card__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.group-admin-assist-card__text {
  flex: 1 1 auto;
  min-width: 0;
}

.group-admin-assist-card__title {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--text-primary, #050505);
  margin: 0 0 6px 0;
}

.group-admin-assist-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary) !important;
}

/* Toggle: in-flow, padded away from the card edge and from the text (no absolute corner hugging) */
.group-admin-assist-switch {
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 6px 4px 6px 12px;
  position: relative;
  top: 0;
  align-self: center;
}

.group-admin-assist-switch .w-check-trail {
  margin-top: 0 !important;
}

.group-admin-assist-days {
  margin-top: 18px;
  max-width: 240px;
}

.group-admin-assist-warning {
  margin-top: 18px;
  margin-bottom: 0;
  text-align: left;
  border-radius: var(--fb-radius-sm);
}

.group-admin-assist-form__actions {
  margin-top: 20px;
  padding-top: 4px;
}

.group-admin-assist-keywords-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--fb-border, #e4e6eb);
}

.group-admin-assist-keywords-block__label {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  display: block;
}

.group-admin-assist-keywords-block textarea.form-control {
  min-height: 100px;
  font-size: 0.875rem;
  resize: vertical;
}

.group-admin-assist-keywords-block .form-hint {
  font-size: 0.8125rem;
  margin-top: 6px;
  color: var(--text-secondary) !important;
}

.group-admin-assist-csv-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Group manage dashboard digest + widgets */
.group-manage-digest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.group-manage-digest-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.group-manage-digest-card--link:hover,
.group-manage-digest-card--link:focus {
  color: inherit;
  text-decoration: none;
  border-color: rgba(24, 119, 242, 0.35);
  background: rgba(24, 119, 242, 0.06);
}

.group-manage-digest-card {
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid rgba(125, 125, 125, 0.14);
  border-radius: 10px;
  padding: 16px;
}

.group-manage-digest-number {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 8px;
}

.group-manage-digest-label {
  font-size: 14px;
  opacity: 0.9;
}

.group-manage-digest-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.group-manage-total-members {
  font-size: 14px;
}

.group-manage-member-avatars {
  display: flex;
  align-items: center;
}

.group-manage-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--card-bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
  display: inline-flex;
}

.group-manage-member-avatar + .group-manage-member-avatar {
  margin-inline-start: -7px;
}

.group-manage-member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.group-dashboard-widgets {
  margin-top: 24px;
  padding-top: 8px;
  font-family: 'Poppins', var(--fb-font);
  font-size: 14px;
  font-weight: 500;
}

.group-dashboard-widgets__heading {
  margin: 0 0 14px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #050505);
  letter-spacing: -0.02em;
}

.group-dashboard-widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.group-dashboard-charts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.group-dashboard-widget {
  background: rgba(125, 125, 125, 0.06);
  border: 1px solid rgba(125, 125, 125, 0.14);
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 120px;
}

.group-dashboard-widget__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text-primary, #050505);
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fb-border, rgba(125, 125, 125, 0.22));
  letter-spacing: -0.01em;
}

.group-dashboard-widget--keywords {
  margin-top: 14px;
}

.group-dashboard-widget__hint {
  font-size: 14px;
  font-weight: 400;
  margin: -2px 0 12px 0;
}

.group-dashboard-widget__post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.group-dashboard-widget__post-link:hover {
  color: inherit;
  text-decoration: none;
}

.group-dashboard-widget__post-meta {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.group-dashboard-widget__excerpt {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.group-dashboard-widget__empty {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
}

.group-dashboard-user-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-dashboard-user-list li + li {
  margin-top: 8px;
}

.group-dashboard-user-list__row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.group-dashboard-user-list__row:hover {
  color: inherit;
  text-decoration: none;
}

.group-dashboard-user-list__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.group-dashboard-user-list__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.group-dashboard-user-list__meta {
  font-size: 13px;
  font-weight: 400;
  flex-shrink: 0;
}

.group-dashboard-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 120px;
  padding-top: 8px;
}

.group-dashboard-bar-chart__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.group-dashboard-bar-chart__bar {
  width: 100%;
  max-width: 28px;
  margin-top: auto;
  background: var(--fb-blue, #1877f2);
  border-radius: 4px 4px 0 0;
  min-height: 0;
  transition: height 0.2s ease;
}

.group-dashboard-bar-chart--members .group-dashboard-bar-chart__bar {
  background: #42b72a;
}

.group-dashboard-bar-chart__label {
  font-size: 13px;
  margin-top: 6px;
  color: var(--text-secondary);
}

.group-dashboard-bar-chart__value {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.group-dashboard-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.group-dashboard-keywords__tag {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.1);
  color: var(--fb-blue, #1877f2);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.25;
}

body.wo-night-mode .group-dashboard-keywords__tag {
  background: rgba(24, 119, 242, 0.18);
}

.group-affiliation-preview {
  min-height: 39px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 14px;
}

.group-affiliation-enable-field {
  margin-bottom: 16px;
}

.group-affiliation-enable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.group-affiliation-enable-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.group-affiliation-enable-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary, #050505);
  margin-bottom: 4px;
}

.group-affiliation-enable-switch {
  flex: 0 0 auto;
  margin: 0 !important;
}

.group-affiliation-enable-switch .w-check-trail {
  margin-top: 0 !important;
}

.group-affiliation-enable-switch input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  transform: none !important;
  margin: 0 !important;
}

.group-affiliation-preview a {
  margin-inline-start: 4px;
  text-decoration: none;
  font-weight: 700;
}

.group-dashboard-widgets__footer {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .group-manage-digest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .group-dashboard-widgets-grid,
  .group-dashboard-charts-row {
    grid-template-columns: 1fr;
  }
}

.group-pending-post-item {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-color, rgba(125, 125, 125, 0.2));
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: visible;
  background: var(--card-bg, #fff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.group-pending-post-item:hover,
.group-pending-post-item:focus-within,
.group-pending-post-item.has-open-menu,
.group-pending-post-item:has(.dropdown.open),
.group-pending-post-item:has(.post-dropdown-open) {
  z-index: 80;
}

.group-pending-post-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color, rgba(125, 125, 125, 0.14));
  border-radius: 14px 14px 0 0;
  background: rgba(0, 0, 0, 0.015);
}

.group-pending-post-item__author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.group-pending-post-item__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.group-pending-post-item__author span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.group-pending-post-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  justify-content: flex-end;
}

.group-pending-post-item__preview {
  position: relative;
  overflow: visible;
  border-radius: 0 0 14px 14px;
}

.group-pending-posts-wrap,
.group-reported-posts-wrap,
.group-pending-posts-list,
.group-reported-posts-list {
  overflow: visible !important;
}

.group-pending-post-item__preview .post-container,
.group-pending-post-item__preview .post,
.group-pending-post-item__preview .panel,
.group-pending-post-item__preview .panel-white,
.group-pending-post-item__preview .post-heading,
.group-pending-post-item__preview .comment,
.group-pending-post-item__preview .comments-list {
  position: relative;
  overflow: visible !important;
}

.group-pending-post-item__preview .post-container {
  margin: 0;
  box-shadow: none;
}

.group-pending-post-item__preview .panel-shadow {
  box-shadow: none;
}

/* Keep post/comment menus above following queue cards */
.group-pending-post-item__preview .dropdown.open,
.group-pending-post-item__preview .post.post-dropdown-open,
.group-pending-post-item__preview .comment .dropdown.open {
  z-index: 90;
}

.group-pending-post-item__preview .dropdown-menu,
.group-pending-post-item__preview .dropdown-menu.post-options,
.group-pending-post-item__preview .dropdown-menu.post-privacy-menu,
.group-pending-post-item__preview .dropdown-menu.post-recipient {
  z-index: 10060 !important;
}

.group-post-pending-badge {
  margin: 10px 12px 0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #9a6700;
  background: #fff8e6;
  border: 1px solid #f5d565;
  border-radius: 6px;
}

/* Group page (members tab): search + card grid with stable circular avatars */
.wo_group_profile .group-page-members {
  margin-top: 0;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--fb-radius);
  border: 1px solid var(--fb-border);
}

.wo_group_profile .group-page-members__search {
  margin-bottom: 16px;
}

.wo_group_profile .group-page-members__search input.form-control {
  max-width: 420px;
}

.wo_group_profile .group-page-members__leadership {
  margin-bottom: 20px;
  padding: 14px 14px 4px;
  border-radius: var(--fb-radius-sm);
  border: 1px solid var(--fb-border);
  background: var(--card-bg);
}

.wo_group_profile .group-page-members__leadership-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fb-text);
}

.group-page-members__pagination,
.group-setting-members-wrap .group-page-members__pagination {
  margin: 16px 0 4px;
}

.group-page-members__pagination-meta {
  margin: 0 0 8px;
  color: var(--fb-text-muted, #65676b);
  font-size: 13px;
}

.group-info-block__actions .btn-glossy .btn svg.feather {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  stroke: currentColor;
  fill: none;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.group-info-block__actions .btn-glossy .btn svg.feather .icon_main {
  stroke: var(--fb-blue, #1877f2);
  fill: none;
}

.wo_group_profile .group-info-block__actions .btn-glossy > a,
.wo_group_profile .group-info-block__actions .btn-glossy > button,
.wo_group_profile .group-info-block__actions .btn-glossy > span > a,
.wo_group_profile .group-info-block__actions .wo-fb-group-owner-btn > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

/* Group settings / manage sidebar ? dual-tone SVG menu icons */
.wow_sett_sidebar > ul > li > a span svg,
.wow_sett_sidebar > ul > li > a > svg {
  color: rgba(0, 0, 0, 0.65);
}

.wow_sett_sidebar > ul > li > a span svg .icon_main,
.wow_sett_sidebar > ul > li > a svg .icon_main,
.wo_group_setting_layout .group-setting-switch-menu > li > a span svg .icon_main {
  stroke: var(--fb-blue, #1877f2);
  fill: none;
}

.wow_sett_sidebar > ul > li > a span svg .icon_main_fill,
.wo_group_setting_layout .group-setting-switch-menu > li > a span svg .icon_main_fill {
  fill: var(--fb-blue, #1877f2);
  stroke: none;
}

.group-post-search-wrap {
  margin-bottom: 12px;
  padding: 12px !important;
  border-radius: 12px;
  background: var(--card-bg, #fff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.group-post-search-bar {
  position: relative;
  margin-bottom: 10px;
}

.group-post-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fb-text-muted, #65676b);
  z-index: 2;
}

.group-post-search__input.search-for-posts {
  width: 100%;
  height: 44px;
  margin: 0 !important;
  padding: 0 16px 0 42px !important;
  border: none !important;
  border-radius: 22px !important;
  background: var(--fb-surface-muted, #f0f2f5);
  color: var(--fb-text, #050505);
  font-size: 15px;
  box-shadow: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.group-post-search__input.search-for-posts:focus {
  outline: none;
  background: var(--card-bg, #fff);
  box-shadow: 0 0 0 2px var(--fb-blue, #1877f2) !important;
}

.group-post-search-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  position: relative;
}

.group-post-search-filter-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.group-post-search-filter {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--fb-text-muted, #65676b);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, color 0.15s ease;
}

.group-post-search-filter:hover {
  background: var(--fb-surface-muted, #f0f2f5);
  color: var(--fb-text, #050505);
}

.group-post-search-filter.is-active {
  background: var(--fb-blue-soft, rgba(24, 119, 242, 0.12));
  color: var(--fb-blue, #1877f2);
}

html.wo-night-mode .group-post-search-filter.is-active,
body.wo-night-mode .group-post-search-filter.is-active {
  background: rgba(45, 136, 255, 0.18);
  color: #2d88ff;
}

.wo_group_suggested_sidebar .wo_page_hdng.profile_hdng_side {
  margin: 0;
  padding: 14px 15px 10px;
  border-bottom: 1px solid var(--fb-border, #e4e6eb);
}

.wo_group_suggested_sidebar .wo_page_hdng_innr {
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.wo_group_profile .rightcol .wow_content.negg_padd {
  overflow: visible;
}

.wo_group_profile .wo_prof_side_info_padd.padd_top {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  overflow: visible;
}

.wo_group_profile .wo_prof_side_info_padd > li:first-child {
  padding-top: 4px;
}

.wo_group_profile .wo_prof_side_info_padd .wo_page_hdng.pag_neg_padd {
  margin: 0 0 8px;
  padding: 12px 15px;
}

.wo_group_suggested_sidebar.page-margin.wow_content.negg_padd {
  padding-top: 4px !important;
  overflow: visible;
}

.wo_group_suggested_sidebar .event-options-list {
  padding: 4px 0 8px;
}

.share-post-message-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fb-border, #e4e6eb);
}

.share-post-message-panel h5 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.share-post-message-list {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.share-post-message-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--fb-border, #e4e6eb);
  border-radius: 8px;
  background: var(--card-bg, #fff);
  margin-bottom: 6px;
  text-align: left;
  cursor: pointer;
}

.share-post-message-item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.share-post-message-item.is-active {
  border-color: var(--fb-blue, #1877f2);
  box-shadow: 0 0 0 1px var(--fb-blue, #1877f2);
}

.wo_global_search_filter {
  min-width: 160px;
}

.wo_global_search_filter select.form-control {
  height: 38px;
  border-radius: 8px;
}

.wo_group_profile .group-page-members__grid {
  margin-left: -8px;
  margin-right: -8px;
  display: flex;
  flex-wrap: wrap;
}

.wo_group_profile .group-page-members__grid::after {
  content: "";
  display: table;
  clear: both;
}

.wo_group_profile .group-page-members__grid > .cool-style-album {
  float: none !important;
  padding-left: 8px;
  padding-right: 8px;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent {
  min-height: 172px;
  max-height: 210px;
  height: auto;
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--fb-radius-sm);
  border: 1px solid var(--fb-border);
  background: var(--card-bg);
  box-shadow: none;
  margin-bottom: 0;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent .avatar {
  width: 100%;
  max-width: 132px;
  margin: 0 auto;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent .avatar {
  width: 88px !important;
  max-width: 88px !important;
  flex-shrink: 0;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent .avatar a {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  min-width: 88px !important;
  min-height: 88px !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
  position: relative;
  display: block;
  border-radius: 50%;
  overflow: hidden !important;
  box-sizing: border-box;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent .avatar a img {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  border-radius: 50% !important;
  box-shadow: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wo_group_profile .group-page-members .cool-style-album.profi_groups.user_list .album_parent {
  overflow: hidden;
}

.wo_group_profile .group-page-members .cool-style-album .album-name {
  width: 100%;
  min-width: 0;
}

.wo_group_profile .group-page-members .cool-style-album .album-name .wo-group-admin-badge {
  display: inline-flex;
  margin-top: 6px;
  max-width: 100%;
}

.wo_group_profile .group-page-members .cool-style-album .album-name h4 {
  margin-top: 0;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  line-height: 1.35;
}

.wo_group_profile .group-page-members .cool-style-album .album-name {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.75em;
}

.wo_group_profile .group-page-members .cool-style-album .album-name a {
  color: var(--text-primary) !important;
}

/* Group settings: members list */
.group-setting-members-wrap .group-setting-members-search {
  margin-bottom: 14px;
}

.group-setting-members-wrap .group-setting-members-search input.form-control {
  max-width: 420px;
}

.group-setting-member-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius-sm);
  background: var(--card-bg);
}

.group-setting-member-row__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.group-setting-member-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.group-setting-member-row__body {
  flex: 1 1 160px;
  min-width: 0;
}

.group-setting-member-row__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-weight: 600;
}

.group-setting-member-row__name a {
  color: var(--text-primary) !important;
}

.group-setting-member-row__actions {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .group-setting-member-row__actions {
    justify-content: flex-start;
    width: 100%;
  }
}

.group-banned-members-search {
  margin-bottom: 16px;
}

.group-banned-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color, #e4e6eb);
  border-radius: 8px;
  background: var(--body-bg, #fff);
}

.group-banned-member-item__author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.group-banned-member-item__author a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
}

.group-banned-member-item__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.group-banned-member-item__author span {
  font-weight: 600;
}

.group-banned-member-item__actions {
  flex-shrink: 0;
}

.group-banned-viewer-msg {
  max-width: 480px;
  margin: 24px auto;
}

.group-banned-notice {
  pointer-events: none;
  opacity: 0.85;
}

.post .post-heading .meta .title {
  gap: 2px !important;
}

.post .post-heading .meta .title .wo-user-profile-badges,
.comment .comment-heading .wo-user-profile-badges {
  margin-left: 4px;
}

.post .post-heading .meta .title .wo-group-admin-badge,
.comment .comment-heading .wo-group-admin-badge {
  margin-left: 4px;
}

/* Admin badge directly after name (no custom badges) ? same offset as profile badges */
.post .post-heading .meta .title .user-popover + .wo-group-admin-badge,
.comment .comment-heading .user-popover + .wo-group-admin-badge {
  margin-left: 4px;
}

.wo-group-admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-left: 2px;
  padding: 0 6px;
  height: 18px;
  min-height: 18px;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #1a5fb4;
  background: rgba(26, 95, 180, 0.1);
  border-radius: 9px;
  border: 1px solid rgba(26, 95, 180, 0.22);
}

.wo-group-admin-badge--comment {
  margin-left: 4px;
  position: relative;
  top: 0;
}

.wo-group-admin-badge__icon {
  flex-shrink: 0;
  display: block;
  opacity: 0.95;
}

.wo-group-admin-badge__text {
  letter-spacing: 0.02em;
}

body[data-mode="night"] .wo-group-admin-badge:not(.wo-group-role-badge--custom),
body.wo-night-mode .wo-group-admin-badge:not(.wo-group-role-badge--custom),
.night-mode .wo-group-admin-badge:not(.wo-group-role-badge--custom) {
  color: #7eb6ff;
  background: rgba(126, 182, 255, 0.12);
  border-color: rgba(126, 182, 255, 0.28);
}

body[data-mode="night"] .wo-group-admin-badge.wo-group-role-badge--custom,
body.wo-night-mode .wo-group-admin-badge.wo-group-role-badge--custom,
.night-mode .wo-group-admin-badge.wo-group-role-badge--custom {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

body[data-mode="night"] .wo-group-admin-badge,
body.wo-night-mode .wo-group-admin-badge,
.night-mode .wo-group-admin-badge {
  height: 18px;
  min-height: 18px;
  line-height: 1;
  vertical-align: middle;
}

body[data-mode="night"] .wo-group-admin-badge__icon,
body.wo-night-mode .wo-group-admin-badge__icon,
.night-mode .wo-group-admin-badge__icon {
  width: 12px;
  height: 12px;
}

.wo-group-role-badge--custom .wo-group-role-badge__icon-img {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  object-fit: contain;
  border-radius: 2px;
}

.group-role-members-modal-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color, rgba(125, 125, 125, 0.2));
}

.group-role-members-modal-list__item:last-child {
  border-bottom: none;
}

.group-role-members-modal-list__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.group-role-members-modal-list__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.group-roles-page .group-role-editor {
  padding: 16px;
  margin-bottom: 16px;
}

.group-roles-page .group-role-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--fb-border, #e5e7eb);
}

.group-roles-page .group-role-section__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.group-roles-page .group-role-section__hint {
  margin: 0 0 12px;
}

.group-roles-page .group-role-perms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  padding: 4px 0;
}

@media (max-width: 575px) {
  .group-roles-page .group-role-perms-grid {
    grid-template-columns: 1fr;
  }
}

.group-roles-page .group-role-perm-item.round-check,
.group-roles-page .group-role-badge-toggle.round-check {
  margin: 0;
  padding: 4px 0 4px 2px;
}

.group-roles-page .group-role-perm-item.round-check label,
.group-roles-page .group-role-badge-toggle.round-check label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  padding-left: 28px;
  cursor: pointer;
}

.group-roles-page .group-role-badge-section {
  border-top-width: 2px;
}

.group-roles-page .group-role-badge-fields {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--fb-radius-sm, 8px);
  border: 1px solid var(--fb-border, #e5e7eb);
  background: var(--card-bg, #fafafa);
}

.group-roles-page .group-role-badge-fields.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}

.group-roles-page .group-role-color-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 4px;
}

.group-roles-page .group-role-rgba-picker {
  padding: 10px 12px;
  border-radius: var(--fb-radius-sm, 8px);
  border: 1px solid var(--fb-border, #e5e7eb);
  background: #fff;
}

.group-roles-page .group-role-rgba-picker__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary, #1c1e21);
}

.group-roles-page .group-role-rgba-picker__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.group-roles-page .group-role-rgba-picker input[type="color"].group-role-rgba-hex {
  width: 48px;
  height: 40px !important;
  min-height: 40px !important;
  padding: 2px !important;
  border: 1px solid var(--fb-border, #ddd);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  background: #fff !important;
}

.group-roles-page .group-role-rgba-alpha-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 140px;
  min-width: 120px;
}

.group-roles-page .group-role-rgba-picker input[type="range"].group-role-rgba-alpha {
  flex: 1;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.group-roles-page .group-role-rgba-alpha-val {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary, #65676b);
  min-width: 36px;
  text-align: right;
}

.group-roles-page .group-role-field.wow_form_fields {
  margin: 10px 0;
}

.group-roles-page .group-role-file-input {
  height: auto !important;
  min-height: 0 !important;
  padding: 6px 8px !important;
  width: 100% !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.group-roles-page .group-role-badge-preview-wrap {
  margin-top: 14px;
  margin-bottom: 28px;
  padding-bottom: 4px;
}

.group-roles-page .group-role-preview-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.group-roles-page .group-role-badge-preview {
  min-height: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.group-roles-page .group-role-form-actions {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--fb-border, #e5e7eb);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-roles-page .group-role-list-panel {
  padding: 16px;
}

.group-roles-page .group-role-list-panel__hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.group-roles-page .group-role-list-panel__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.group-roles-page .group-role-form-back {
  margin: 0 0 12px;
}

.group-roles-page .group-role-form-back a {
  font-size: 14px;
}

.group-member-roles-menu {
  min-width: 180px;
}

.wo-user-profile-badges {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  vertical-align: middle;
  line-height: 0;
}

.wo_user_profile .info .title .wo-user-profile-badges {
  margin-left: 4px;
}

.wo-user-profile-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.wo-user-profile-badge__img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.wo-user-profile-badge__img--dark {
  display: none;
}

body.wo-night-mode .wo-user-profile-badge__img--light {
  display: none;
}

body.wo-night-mode .wo-user-profile-badge__img--dark {
  display: inline-block;
}

/* Home feed: flat surfaces without grey outlines on posts and sidebar user card */
.page-margin > .row > .middlecol .post .panel,
.page-margin > .row > .middlecol > .wow_content:not(.modal-content),
.page-margin > .row > .middlecol .user-status-home,
.page-margin > .row > .middlecol .home-announcement .wow_content,
.page-margin > .row > .rightcol .wow_side_loggd_usr.wow_content,
.page-margin > .row > .rightcol > .wow_content.wo_prof_side_info_padd {
  border: none !important;
  box-shadow: none !important;
}

.page-margin > .row > .middlecol .post .panel {
  border-radius: var(--fb-radius) !important;
}

.page-margin > .row > .rightcol .wow_side_loggd_usr.wow_content {
  border-radius: var(--fb-radius) !important;
}

/* Facebook-style comment bubbles */
:root {
  --fb-comment-bubble-bg: #f0f2f5;
}

html.wo-night-mode,
body.wo-night-mode,
.night-mode {
  --fb-comment-bubble-bg: #3a3b3c;
}

/* Neutralize blue-tinted surfaces from dark.css when fbtheme night mode is active */
html.wo-night-mode .wow_content,
body.wo-night-mode .wow_content,
html.wo-night-mode .wo_settings_page,
body.wo-night-mode .wo_settings_page,
html.wo-night-mode .navbar-default,
body.wo-night-mode .navbar-default,
html.wo-night-mode .header-container,
body.wo-night-mode .header-container {
  background-color: var(--card-bg) !important;
}

.post .post-footer .comments-list .comment .comment-body,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100% !important;
}

/* Let comment bubbles use the full comment column width */
.post .post-footer .comments-list .comment .comment-text,
.post .post-footer .comments-list .reply .reply-text,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .comment-text,
.comment-text,
.reply-text {
  width: auto !important;
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Collapsed "Read more" comments must clip ? overflow:visible above would show full text past the bubble */
.comment-text.ReadMoreCollapsed,
.reply-text.ReadMoreCollapsed,
.post .post-footer .comments-list .comment .comment-text.ReadMoreCollapsed,
.post .post-footer .comments-list .reply .reply-text.ReadMoreCollapsed,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .comment-text.ReadMoreCollapsed {
  overflow: hidden !important;
}

.post .post-footer .comments-list .comment .comment-heading,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading,
.post .post-footer .comments-list .reply .reply-heading,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .reply .reply-heading {
  background: var(--fb-comment-bubble-bg);
  border-radius: 18px;
  padding: 8px 12px 10px;
  max-width: 100%;
  width: fit-content;
  margin-bottom: 4px;
  position: relative;
  box-sizing: border-box;
}

.post .post-footer .comments-list .comment .comment-heading .user,
.post .post-footer .comments-list .reply .reply-heading .user,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .user {
  display: inline;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.post .post-footer .comments-list .comment .comment-heading .comment-text,
.post .post-footer .comments-list .reply .reply-heading .comment-text,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .comment-text {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

/* Comment / reply photo attachments ? inside bubble, FB-style responsive sizing */
.post .post-footer .comments-list .comment .comment-heading .wo-comment-media,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media {
  width: auto !important;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 0;
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media__link,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media__link,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media__link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
  background: rgba(0, 0, 0, 0.04);
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media img,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media img,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 !important;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--landscape,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--landscape,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media--landscape {
  max-width: min(100%, 420px);
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--landscape img,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--landscape img {
  max-height: 280px;
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--portrait,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--portrait,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media--portrait {
  max-width: min(100%, 240px);
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--portrait img,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--portrait img {
  max-height: 360px;
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--square,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--square,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .wo-comment-media--square {
  max-width: min(100%, 260px);
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media--square img,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media--square img {
  aspect-ratio: 1 / 1;
  max-height: 260px;
}

.post .post-footer .comments-list .comment .comment-heading .wo-comment-media__link:hover img,
.post .post-footer .comments-list .reply .reply-heading .wo-comment-media__link:hover img {
  opacity: 0.95;
}

.comment-image-con.wo-comment-media-preview {
  width: auto !important;
  max-width: min(100%, 260px);
  margin-top: 8px;
}

.comment-image-con.wo-comment-media-preview img {
  border-radius: 12px;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

@media (max-width: 480px) {
  .post .post-footer .comments-list .comment .comment-heading .wo-comment-media--landscape,
  .post .post-footer .comments-list .reply .reply-heading .wo-comment-media--landscape {
    max-width: 100%;
  }

  .post .post-footer .comments-list .comment .comment-heading .wo-comment-media--portrait,
  .post .post-footer .comments-list .reply .reply-heading .wo-comment-media--portrait {
    max-width: min(100%, 200px);
  }
}

.post .post-footer .comments-list .comment .comment-heading .time,
.post .post-footer .comments-list .reply .reply-heading .time,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-heading .time {
  display: inline;
  margin: 0 0 0 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted, #65676b);
  position: static;
  float: none;
  vertical-align: middle;
  white-space: nowrap;
}

.post .post-footer .comments-list .comment .comment-meta-row,
.post .post-footer .comments-list .reply .reply-heading .comment-meta-row,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.post .post-footer .comments-list .comment .comment-meta-inline,
.post .post-footer .comments-list .reply .reply-heading .comment-meta-inline,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-meta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.post .post-footer .comments-list .comment .comment-meta-row .comment_edele_options,
.post .post-footer .comments-list .reply .reply-heading .comment-meta-row .comment_edele_options,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-meta-row .comment_edele_options {
  position: static;
  float: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

#wo_comment_combo .comment_combo_footer .wo_feed_post_comments > div:last-child,
.wo_commreply_combo .image-comment,
.wo_commreply_combo__tools {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
}

/* Feed post ? comment composer flush under action bar (no divider gap) */
.post .post-footer.post-comments #wo_comment_combo {
  margin-top: 0 !important;
  padding-top: 4px !important;
}

.wo_commreply_combo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  position: relative;
}

.wo_commreply_combo .avatar {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0;
}

/* Comment identity picker ? keep composer pill-shaped; menu above feed posts only */
#wo_comment_combo > div:first-child,
.wo-lightbox-comment-combo__main {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px;
  width: 100%;
}

#wo_comment_combo .comment-textarea,
#wo_comment_combo .textarea,
.wo-lightbox-comment-combo .comment-textarea {
  float: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  max-height: 120px !important;
  height: 36px;
}

#wo_comment_combo.comment-toggle .comment-textarea,
#wo_comment_combo.comment-toggle .textarea {
  max-height: 120px !important;
}

/* Expanded composer must grow the post card, not hang past its bottom edge */
.post .post-footer.post-comments #wo_comment_combo,
#wo_comment_combo {
  margin-bottom: 0 !important;
  overflow: visible;
}

#wo_comment_combo.comment-toggle {
  margin-bottom: 0 !important;
  padding-bottom: 8px !important;
  box-sizing: border-box;
  border-radius: 16px !important;
  overflow: hidden;
}

#wo_comment_combo.comment-toggle .comment_combo_footer {
  border-radius: 0 0 16px 16px;
}

#wo_comment_combo .comment_combo_footer {
  margin-bottom: 0 !important;
  padding-bottom: 4px !important;
}

.post .post-footer.post-comments:has(#wo_comment_combo.comment-toggle) {
  padding-bottom: 10px !important;
  overflow: visible !important;
}

.wo-comment-identity {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
  width: 36px;
  height: 36px;
  z-index: 2;
  overflow: visible;
}

.wo_commreply_combo .wo-comment-identity {
  width: 32px;
  height: 32px;
}

.wo-comment-identity__toggle {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
}

.wo-comment-identity__avatar,
.wo-comment-identity .avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.wo_commreply_combo .wo-comment-identity__avatar,
.wo_commreply_combo .wo-comment-identity .avatar {
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
}

#wo_comment_combo .wo-comment-identity__avatar,
#wo_comment_combo .wo-comment-identity .avatar,
.wo-lightbox-comment-combo .wo-comment-identity__avatar {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
}

.wo-comment-identity--switchable .wo-comment-identity__toggle:hover .wo-comment-identity__avatar,
.wo-comment-identity--switchable .wo-comment-identity__toggle:focus .wo-comment-identity__avatar {
  box-shadow: 0 0 0 2px var(--main-color, var(--fb-blue, #1877f2));
}

.wo-comment-identity__caret {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--fb-border, rgba(0,0,0,.12));
  background-color: var(--fb-surface, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2365676b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.wo-comment-identity__menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  bottom: auto;
  min-width: 240px;
  max-width: min(320px, 80vw);
  max-height: 280px;
  overflow: auto;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--fb-surface, #fff);
  border: 1px solid var(--fb-border, #e4e6eb);
  box-shadow: var(--fb-shadow, 0 8px 24px rgba(0,0,0,.12));
  color: var(--fb-text, #050505);
  z-index: 5;
}

.wo-comment-identity.open {
  z-index: 5;
}

.wo-comment-identity.open .wo-comment-identity__menu {
  display: block;
}

/* Raise this post only above sibling posts ? never above the site navbar (~1030) */
.post.post-comment-identity-open {
  z-index: 5 !important;
}

.post.post-comment-identity-open .post-footer,
.post.post-comment-identity-open .post-footer.post-comments,
.post.post-comment-identity-open #wo_comment_combo,
.post.post-comment-identity-open .wo_commreply_combo {
  z-index: 2;
  overflow: visible !important;
}

.lightbox-content.post-comment-identity-open,
.wo_imagecombo_lbox.post-comment-identity-open {
  z-index: 1032 !important;
}

.wo-comment-identity__heading {
  padding: 4px 12px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fb-text-secondary, #65676b);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.wo-comment-identity__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--fb-text, #050505);
}

.wo-comment-identity__option:hover,
.wo-comment-identity__option.active {
  background: var(--background-alt, #f0f2f5);
}

.wo-comment-identity__option img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wo-comment-identity__option-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wo-comment-identity__option-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fb-text, #050505);
}

.wo-comment-identity__option-meta {
  font-size: 12px;
  color: var(--fb-text-secondary, #65676b);
}

html.wo-night-mode .wo-comment-identity__menu,
body.wo-night-mode .wo-comment-identity__menu {
  background: var(--fb-surface, #2a2a2a);
  border-color: var(--fb-border, #3d3d3d);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: var(--fb-text, #ececec);
}

html.wo-night-mode .wo-comment-identity__heading,
body.wo-night-mode .wo-comment-identity__heading,
html.wo-night-mode .wo-comment-identity__option-meta,
body.wo-night-mode .wo-comment-identity__option-meta {
  color: var(--fb-text-secondary, #b3b3b3);
}

html.wo-night-mode .wo-comment-identity__option,
body.wo-night-mode .wo-comment-identity__option {
  color: var(--fb-text, #ececec);
}

html.wo-night-mode .wo-comment-identity__option:hover,
body.wo-night-mode .wo-comment-identity__option:hover,
html.wo-night-mode .wo-comment-identity__option.active,
body.wo-night-mode .wo-comment-identity__option.active {
  background: var(--fb-featured-card-bg, #323334);
}

html.wo-night-mode .wo-comment-identity__caret,
body.wo-night-mode .wo-comment-identity__caret {
  background-color: var(--fb-surface, #2a2a2a);
  box-shadow: 0 0 0 1px var(--fb-border, #3d3d3d);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b3b3b3'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.wo_commreply_combo__main {
  flex: 1;
  min-width: 0;
}

.wo_commreply_combo .comment-reply-textarea {
  width: 100% !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  padding-right: 12px !important;
  border-radius: 18px !important;
  min-height: 36px;
}

.wo_commreply_combo__tools {
  justify-content: flex-end;
  margin-top: 6px;
  position: static !important;
  right: auto !important;
  float: none !important;
}

.wo-comment-compose-action {
  display: inline-flex;
  vertical-align: middle;
  flex-shrink: 0;
}

.wo-comment-compose-btn,
.wo-comment-compose-send {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  color: var(--fb-text-muted, #65676b);
  transition: background 0.15s ease, color 0.15s ease;
  box-shadow: none !important;
  line-height: 1 !important;
  margin: 0 !important;
  float: none !important;
}

.wo-comment-compose-btn--gif,
.wo-comment-compose-btn.btngif {
  width: auto !important;
  min-width: 34px !important;
  height: 28px !important;
  border-radius: 6px !important;
  padding: 0 4px !important;
  overflow: visible !important;
}

.wo-comment-compose-btn:hover,
.wo-comment-compose-send:hover {
  background: var(--fb-surface-muted, #f0f2f5) !important;
  color: var(--fb-text, #050505);
}

.wo-comment-compose-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  opacity: 1 !important;
}

.wo-comment-compose-icon circle,
.wo-comment-compose-icon rect,
.wo-comment-compose-icon path,
.wo-comment-compose-icon line,
.wo-comment-compose-icon polygon {
  vector-effect: non-scaling-stroke;
}

#wo_comment_combo .comment_combo_footer .wo_feed_post_comments .btn:not(.btn-main) svg.wo-comment-compose-icon,
.wo_commreply_combo .wo-comment-compose-btn svg.wo-comment-compose-icon {
  fill: none !important;
  stroke: currentColor !important;
  opacity: 1 !important;
}

.wo-comment-compose-icon--send {
  fill: currentColor !important;
  stroke: none !important;
  width: 18px;
  height: 18px;
}

.wo-comment-icon-gif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 16px;
  padding: 0 4px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.wo-comment-compose-send {
  background: var(--fb-blue, #1877f2) !important;
  color: #fff !important;
  flex-shrink: 0;
}

.wo-comment-compose-send:hover {
  background: #166fe5 !important;
  color: #fff !important;
}

.wo-comment-compose-send .wo-comment-compose-icon--send {
  fill: #fff !important;
  stroke: none !important;
}

#wo_comment_combo .comment_combo_footer .wo_feed_post_comments .btn.sendbtn.wo-comment-compose-send,
#wo_comment_combo .comment_combo_footer .wo_feed_post_comments .btn.wo-comment-compose-send {
  background: var(--fb-blue, #1877f2) !important;
  color: #fff !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

#wo_comment_combo .comment_combo_footer .wo_feed_post_comments .btn.sendbtn.wo-comment-compose-send svg,
#wo_comment_combo .comment_combo_footer .wo_feed_post_comments .btn.wo-comment-compose-send svg {
  fill: #fff !important;
  opacity: 1 !important;
}

.post .post-footer .comments-list .comment .comment-bubble-row,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-bubble-row,
.post .post-footer .comments-list .reply .comment-bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  width: 100%;
}

.post .post-footer .comments-list .comment .comment-bubble-row .comment-heading,
.post .post-footer .comments-list .reply .comment-bubble-row .reply-heading,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-bubble-row .comment-heading {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 36px);
}

.post .post-footer .comments-list .comment .comment-bubble-row .comment_edele_options,
.post .post-footer .comments-list .reply .comment-bubble-row .comment_edele_options,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-bubble-row .comment_edele_options {
  position: static;
  flex-shrink: 0;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.post .post-footer .comments-list .comment .comment-body > .comment-options,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body > .comment-options {
  margin-left: 12px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #65676b);
}

.post .post-footer .comments-list .comment .comment-body > .comment-options .pointer,
.post .post-footer .comments-list .comment .comment-body > .comment-options span {
  color: inherit;
}

/* Comment reactions: counts slightly overlap bubble bottom; horizontal picker like posts */
.post .post-footer .comments-list .comment .comment-body,
.post .post-footer .comments-list .reply .comment-body,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body {
  position: relative;
}

.post .post-footer .comments-list .comment .comment-body > .comment-heading,
.post .post-footer .comments-list .reply .comment-body > .reply-heading,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body > .comment-heading {
  margin-bottom: 0 !important;
}

.post .post-footer .comments-list .comment .comment-body #comment_reacted,
.post .post-footer .comments-list .reply .comment-body #comment_reacted,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body #comment_reacted {
  position: relative !important;
  float: none !important;
  margin: -5px 0 4px 12px !important;
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
  z-index: 3;
  pointer-events: none;
}

.post .post-footer .comments-list .comment .comment-body #comment_reacted .like-emo,
.post .post-footer .comments-list .reply .comment-body #comment_reacted .like-emo,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body #comment_reacted .like-emo {
  pointer-events: auto;
}

.post .post-footer .comments-list .comment .comment-body #comment_reacted:not(:has(.how_reacted)),
.post .post-footer .comments-list .reply .comment-body #comment_reacted:not(:has(.how_reacted)),
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body #comment_reacted:not(:has(.how_reacted)) {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
}

.post .post-footer .comments-list .comment .comment-body #comment_reacted .like-emo > .how_reacted,
.post .post-footer .comments-list .reply .comment-body #comment_reacted .like-emo > .how_reacted,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body #comment_reacted .like-emo > .how_reacted {
  background: var(--card-bg, #fff) !important;
  box-shadow: 0 0 0 1px var(--fb-border, #e4e6eb);
}

.post .post-footer .comments-list .comment .comment-body > .comment-options,
.post .post-footer .comments-list .reply .comment-body > .comment-options,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body > .comment-options {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  max-width: 100%;
  margin-top: 0 !important;
  margin-left: 12px !important;
  position: relative;
  z-index: 2;
}

.post .post-footer .comments-list .comment .comment-body .wo-fb-comment-like-host,
.post .post-footer .comments-list .reply .comment-body .wo-reaction-replay.wo-fb-comment-like-host {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  max-width: none !important;
  padding: 0 !important;
  margin: 0;
  vertical-align: middle;
  pointer-events: auto;
  z-index: 4;
}

.post .post-footer .comments-list .wo-fb-comment-like-host .wo-fb-like-btn,
.post .post-footer .comments-list .wo-reaction-replay .wo-fb-like-btn {
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}

.post .post-footer .comments-list .wo-fb-comment-like-host .wo-fb-action-icon,
.post .post-footer .comments-list .wo-reaction-replay .wo-fb-action-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.post .post-footer .comments-list .wo-fb-comment-like-host .comment-status-reaction.active-like .wo-fb-action-icon--filled,
.post .post-footer .comments-list .wo-reaction-replay .replay-status-reaction.active-like .wo-fb-action-icon--filled {
  color: var(--fb-blue, #1877f2);
}

.post .post-footer .comments-list .comment .comment-body .wo-reaction-comment,
.post .post-footer .comments-list .reply .comment-body .wo-reaction-replay,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .wo-reaction-lightbox-comment {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  max-width: none !important;
  padding: 0 !important;
  margin: 0;
  vertical-align: middle;
}

.post .post-footer .comments-list .comment .comment-body .reactions-box,
.post .post-footer .comments-list .reply .comment-body .reactions-box,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .reactions-box {
  display: none;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: max-content !important;
  max-width: min(320px, calc(100vw - 24px)) !important;
  height: auto !important;
  top: auto !important;
  bottom: calc(100% + 4px) !important;
  left: 0 !important;
  right: auto !important;
  margin: 0;
  padding: 2px 4px !important;
  border-radius: 2em !important;
  box-sizing: border-box;
  list-style: none;
  z-index: 20;
}

/* jQuery fadeIn sets display:block ? keep reactions in a horizontal row */
.post .post-footer .comments-list .comment .comment-body .reactions-box[style*="display: block"],
.post .post-footer .comments-list .reply .comment-body .reactions-box[style*="display: block"],
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .reactions-box[style*="display: block"] {
  display: flex !important;
}

.post .post-footer .comments-list .comment .comment-body .reactions-box .reaction,
.post .post-footer .comments-list .reply .comment-body .reactions-box .reaction,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .reactions-box .reaction {
  float: none !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
}

@media (max-width: 345px) {
  .post .post-footer .comments-list .comment .comment-body .reactions-box,
  .post .post-footer .comments-list .reply .comment-body .reactions-box {
    width: max-content !important;
    top: auto !important;
    bottom: calc(100% + 4px) !important;
    left: 0 !important;
  }
}

html.wo-night-mode .post .post-footer .comments-list .comment .comment-body .reactions-box,
body.wo-night-mode .post .post-footer .comments-list .comment .comment-body .reactions-box,
html.wo-night-mode .post .post-footer .comments-list .reply .comment-body .reactions-box,
body.wo-night-mode .post .post-footer .comments-list .reply .comment-body .reactions-box {
  background-color: var(--card-bg, #2a2a2a) !important;
  border: 1px solid var(--fb-border, #3d3d3d);
  box-shadow: var(--fb-shadow, 0 1px 5px rgba(0, 0, 0, 0.35)) !important;
}

/* Link preview cards inside comment bubbles */
.post .post-footer .comments-list .comment .comment-link-preview,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-link-preview,
.post .post-footer .comments-list .reply .comment-link-preview {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
}

.post .post-footer .comments-list .comment .comment-link-preview.wo_post_fetch_link,
.post .post-footer .comments-list .reply .comment-link-preview.wo_post_fetch_link {
  border: 1px solid var(--divider, rgba(0, 0, 0, 0.08));
  background: var(--card-bg, #fff);
}

.post .post-footer .comments-list .comment .comment-link-preview .post-fetched-url-con,
.post .post-footer .comments-list .reply .comment-link-preview .post-fetched-url-con {
  padding-top: 52%;
}

.post .post-footer .comments-list .comment .comment-link-preview .fetched-url-text,
.post .post-footer .comments-list .reply .comment-link-preview .fetched-url-text {
  padding: 8px 10px 10px;
}

.post .post-footer .comments-list .comment .comment-link-preview .fetched-url-text h4,
.post .post-footer .comments-list .reply .comment-link-preview .fetched-url-text h4 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 4px;
  font-weight: 600;
}

.post .post-footer .comments-list .comment .comment-link-preview .fetched-url-text .description,
.post .post-footer .comments-list .reply .comment-link-preview .fetched-url-text .description {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted, #65676b);
}

.post .post-footer .comments-list .comment .comment-link-preview--embed,
.post .post-footer .comments-list .reply .comment-link-preview--embed {
  margin-top: 8px;
  overflow: hidden;
  border-radius: 12px;
}

/* Facebook-style comment thread polish */
.post .post-footer .comments-list .comment,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment,
.post .post-footer .comments-list .reply,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .reply {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  width: 100% !important;
  margin: 8px 0 !important;
  float: none !important;
}

.post .post-footer .comments-list .comment > a,
.post .post-footer .comments-list .reply > a,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment > a {
  float: none !important;
  flex: 0 0 auto;
  line-height: 0;
  margin: 0 !important;
}

.post .post-footer .comments-list .comment > .avatar,
.post .post-footer .comments-list .reply > .avatar,
.post .post-footer .comments-list .comment > a .avatar,
.post .post-footer .comments-list .reply > a .avatar,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment > .avatar,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment > a .avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin: 2px 0 0 !important;
  float: none !important;
}

.post .post-footer .comments-list .reply > .avatar,
.post .post-footer .comments-list .reply > a .avatar {
  width: 28px !important;
  height: 28px !important;
}

.post .post-footer .comments-list .comment .comment-body,
.post .post-footer .comments-list .reply .comment-body,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .reply .comment-body {
  margin-left: 0 !important;
  margin-top: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100% !important;
  float: none !important;
}

.post .post-footer .comments-list .comment .comment-heading .comment-meta-inline .time,
.post .post-footer .comments-list .reply .reply-heading .comment-meta-inline .time {
  display: none !important;
}

.post .post-footer .comments-list .comment .comment-body > .comment-options .wo-fb-comment-time,
.post .post-footer .comments-list .reply .comment-body > .comment-options .wo-fb-comment-time,
.wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body > .comment-options .wo-fb-comment-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #65676b);
  margin-right: 2px;
}

.post .post-footer .comments-list .comment .comment-replies,
.post .post-footer .comments-list .comment .comment-body > .comment-replies {
  margin-left: 0 !important;
  padding-left: 0;
  border-left: none;
}

.post .post-footer .comments-list .comment-replies .comment-replies-text {
  position: relative;
  margin-left: 12px;
  padding-left: 18px;
}

/* Only draw vine when real replies exist (empty .reply-container placeholder is always present) */
.post .post-footer .comments-list .comment-replies .comment-replies-text:has(.reply)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 16px;
  width: 2px;
  background: var(--fb-border, #ccd0d5);
  border-radius: 1px;
}

.post .post-footer .comments-list .comment-replies .reply-container {
  position: relative;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.post .post-footer .comments-list .comment-replies .reply.reply-container::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 14px;
  width: 13px;
  height: 10px;
  border-left: 2px solid var(--fb-border, #ccd0d5);
  border-bottom: 2px solid var(--fb-border, #ccd0d5);
  border-bottom-left-radius: 8px;
  box-sizing: border-box;
  pointer-events: none;
}

html.wo-night-mode .post .post-footer .comments-list .comment-replies .comment-replies-text:has(.reply)::before,
body.wo-night-mode .post .post-footer .comments-list .comment-replies .comment-replies-text:has(.reply)::before,
html.wo-night-mode .post .post-footer .comments-list .comment-replies .reply.reply-container::before,
body.wo-night-mode .post .post-footer .comments-list .comment-replies .reply.reply-container::before {
  border-color: #3a3b3c;
  background: transparent;
}

.post .post-footer .comments-list .comment-replies .comment-replies-text:has(.reply)::before {
  background: var(--fb-border, #ccd0d5);
}

.post .post-footer .comments-list .view-more-replies {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #65676b);
  margin: 4px 0 6px;
  padding-left: 40px;
  cursor: pointer;
}

.post .post-footer .comments-list .view-more-replies svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.post .post-footer .comments-list .comment .comment-heading .comment_edele_options .comment-icons svg,
.post .post-footer .comments-list .reply .reply-heading .comment_edele_options svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.wo_commreply_combo {
  gap: 8px;
}

.wo_commreply_combo > a,
.wo_commreply_combo > img.avatar {
  float: none !important;
  flex-shrink: 0;
}

.wo_commreply_combo .wo-comment-compose-send {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
}

.wo_commreply_combo .wo-comment-compose-send .wo-comment-compose-icon--send {
  width: 14px !important;
  height: 14px !important;
}

.wo_commreply_combo .wo-comment-compose-btn:not(.wo-comment-compose-send) {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
}

.wo_commreply_combo .wo-comment-compose-icon:not(.wo-comment-compose-icon--send) {
  width: 18px;
  height: 18px;
}

/* Group activity log */
.group-activity-log-page .group-activity-log-filters {
  margin-bottom: 16px;
  padding: 16px;
}

.group-activity-log-page .group-activity-log-filters label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.group-activity-log-page .group-activity-hide-aa.round-check {
  margin-top: 28px;
}

.group-activity-log-list {
  padding: 0;
}

.group-activity-log-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fb-border, #e4e6eb);
}

.group-activity-log-item:last-child {
  border-bottom: none;
}

.group-activity-log-item__actor {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 140px;
}

.group-activity-log-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.group-activity-log-item__aa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 95, 180, 0.12);
  color: #1a5fb4;
}

body.wo-night-mode .group-activity-log-item__aa-icon,
.night-mode .group-activity-log-item__aa-icon {
  background: rgba(126, 182, 255, 0.15);
  color: #7eb6ff;
}

.group-activity-log-item__name {
  font-weight: 600;
  font-size: 14px;
}

.group-activity-log-item__body {
  flex: 1;
  min-width: 0;
}

.group-activity-log-item__action {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.group-activity-log-more-wrap {
  margin-top: 12px;
  text-align: center;
}

/* Group settings sidebar + dashboard ? night mode (override dark.css blue tints & accent icon_main) */
html.wo-night-mode .wow_sett_sidebar > ul > li > a,
body.wo-night-mode .wow_sett_sidebar > ul > li > a {
  color: var(--text-secondary, #b3b3b3);
}

html.wo-night-mode .wow_sett_sidebar > ul > li > a:hover,
html.wo-night-mode .wow_sett_sidebar .wow_sett_submenu > ul li a:hover,
body.wo-night-mode .wow_sett_sidebar > ul > li > a:hover,
body.wo-night-mode .wow_sett_sidebar .wow_sett_submenu > ul li a:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-primary, #ececec) !important;
}

html.wo-night-mode .wow_sett_sidebar > ul > li.active > a,
body.wo-night-mode .wow_sett_sidebar > ul > li.active > a {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

html.wo-night-mode .wow_sett_sidebar > ul > li > a span:before,
body.wo-night-mode .wow_sett_sidebar > ul > li > a span:before {
  background: rgba(255, 255, 255, 0.08) !important;
}

html.wo-night-mode .wow_sett_sidebar > ul > li.active > a span:before,
body.wo-night-mode .wow_sett_sidebar > ul > li.active > a span:before {
  background: rgba(255, 255, 255, 0.14) !important;
}

html.wo-night-mode .wow_sett_sidebar > ul > li > a svg .icon_main,
html.wo-night-mode .wow_sett_sidebar > ul > li > a span svg .icon_main,
body.wo-night-mode .wow_sett_sidebar > ul > li > a svg .icon_main,
body.wo-night-mode .wow_sett_sidebar > ul > li > a span svg .icon_main {
  stroke: currentColor !important;
}

html.wo-night-mode .wow_sett_sidebar > ul > li > a span svg,
body.wo-night-mode .wow_sett_sidebar > ul > li > a span svg {
  color: inherit;
}

html.wo-night-mode #wo_main_sett_mid .wo_settings_page .group-dashboard-widgets__heading,
html.wo-night-mode .wo_settings_page .group-dashboard-widgets__heading,
body.wo-night-mode #wo_main_sett_mid .wo_settings_page .group-dashboard-widgets__heading,
body.wo-night-mode .wo_settings_page .group-dashboard-widgets__heading {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: none !important;
  color: var(--text-primary, #ececec) !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

/* Header profile menu dropdown ? neutral night mode (override dark.css #262D34 / #2b3843) */
html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu {
  background-color: var(--card-bg, #2a2a2a) !important;
  border-color: var(--fb-border, #3d3d3d) !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a {
  color: var(--text-primary, #ececec) !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a:hover,
html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a:focus,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a:hover,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > a:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .wo_user_name,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .wo_user_name {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .divider,
html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > hr,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .divider,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu > li > hr {
  background-color: var(--fb-border, #3d3d3d) !important;
  border-color: var(--fb-border, #3d3d3d) !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .icon_main,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .icon_main {
  stroke: currentColor !important;
}

html.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .icon_main_fill,
body.wo-night-mode .navbar-default .dropdown-menu.ani-acc-menu .icon_main_fill {
  fill: currentColor !important;
}

/* Group featured posts strip (Facebook-style) */
.wo-group-featured-box {
  margin-bottom: 12px;
  padding: 0;
  border-radius: 8px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--fb-border, #e4e6eb);
  overflow: hidden;
}
.wo-group-featured-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid transparent;
}
.wo-group-featured-box:not(.is-collapsed) .wo-group-featured-box__head {
  border-bottom-color: var(--fb-border, #e4e6eb);
}
.wo-group-featured-box__head-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.wo-group-featured-box__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--fb-text, #050505);
}
.wo-group-featured-box__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-text-muted, #65676b);
  flex-shrink: 0;
}
.wo-group-featured-box__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--fb-text-muted, #65676b);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.wo-group-featured-box__toggle:hover {
  background: var(--fb-surface-muted, #f0f2f5);
}
.wo-group-featured-box__chevron {
  transition: transform 0.2s ease;
}
.wo-group-featured-box.is-collapsed .wo-group-featured-box__chevron {
  transform: rotate(180deg);
}
.wo-group-featured-box__body {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.32s ease;
}
.wo-group-featured-box.is-collapsed .wo-group-featured-box__body {
  grid-template-rows: 0fr;
}
.wo-group-featured-box__body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 0 14px;
  transition: opacity 0.24s ease;
}
.wo-group-featured-box.is-collapsed .wo-group-featured-box__body-inner {
  opacity: 0;
}
.wo-group-featured-box:not(.is-collapsed) .wo-group-featured-box__body-inner {
  opacity: 1;
}
.wo-group-featured-box__track {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 14px 4px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.wo-group-featured-box__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #050505;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.wo-group-featured-box__nav--prev {
  left: 6px;
}
.wo-group-featured-box__nav--next {
  right: 6px;
}
html.wo-night-mode .wo-group-featured-box__nav,
body.wo-night-mode .wo-group-featured-box__nav {
  background: rgba(58, 59, 60, 0.95);
  color: #e4e6eb;
}
.wo-group-featured-card {
  position: relative;
  flex: 0 0 260px;
  max-width: 260px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fb-featured-card-bg, #f0f2f5);
  border: 1px solid var(--fb-border, #e4e6eb);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.wo-group-featured-card--text-only {
  min-height: 220px;
}
.wo-group-featured-card__link--text-only {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.wo-group-featured-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  flex: 1 1 auto;
}
.wo-group-featured-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 0;
}
.wo-group-featured-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fb-surface-muted, #e4e6eb);
}
.wo-group-featured-card__avatar--placeholder {
  display: inline-block;
}
.wo-group-featured-card__head-text {
  min-width: 0;
  flex: 1;
}
.wo-group-featured-card__author {
  font-size: 13px;
  font-weight: 700;
  color: var(--fb-text, #050505);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.wo-group-featured-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  font-size: 12px;
  color: var(--fb-text-muted, #65676b);
  line-height: 1.2;
}
.wo-group-featured-card__privacy {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
}
.wo-group-featured-card__excerpt {
  margin: 8px 10px 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--fb-text, #050505);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wo-group-featured-card__excerpt--fill {
  flex: 1 1 auto;
  margin: 8px 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: hidden;
}
.wo-group-featured-card__media {
  height: 140px;
  margin-top: 8px;
  background-size: cover;
  background-position: center;
  background-color: #dce1e8;
}
.wo-group-featured-card__media--text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(135deg, #e7f3ff 0%, #f0f2f5 100%);
}
.wo-group-featured-card__text-preview {
  font-size: 13px;
  line-height: 1.35;
  color: #65676b;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wo-group-featured-card__engagement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--fb-border, #e4e6eb);
  font-size: 12px;
  color: var(--fb-text-muted, #65676b);
}
.wo-group-featured-card__reactions {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}
.wo-group-featured-card__reaction-icons.like-emo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.wo-group-featured-card__reaction-icons .how_reacted {
  width: 18px;
  height: 18px;
  margin-left: 0 !important;
}
.wo-group-featured-card__reaction-icons .how_reacted .inline_post_count_emoji,
.wo-group-featured-card__reaction-icons .how_reacted img {
  width: 18px !important;
  height: 18px !important;
}
.wo-group-featured-card__reaction-icons .how_many_reacts {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--fb-text-muted, #65676b);
}
.wo-group-featured-card__reaction-count {
  font-size: 12px;
}
.wo-group-featured-card__comments {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12px;
}
.wo-group-featured-card__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}
.wo-group-featured-card__remove:hover {
  background: rgba(0, 0, 0, 0.75);
}
html.wo-night-mode .wo-group-featured-card,
body.wo-night-mode .wo-group-featured-card {
  background: var(--fb-featured-card-bg, #323334);
  border-color: var(--fb-border, #3a3b3c);
}
html.wo-night-mode .wo-group-featured-card__media--text,
body.wo-night-mode .wo-group-featured-card__media--text {
  background: linear-gradient(135deg, #263951 0%, #3a3b3c 100%);
}

/* Group settings / manage ? fbtheme-style sidebar + main (not 75px icon strip) */
.wo_group_setting_layout .setting-panel {
  margin-left: 0;
  margin-right: 0;
}

.wo_group_setting_layout .wo_new_sett_sidee {
  padding-left: 15px;
  padding-right: 15px;
}

.wo_group_setting_layout .wo_new_sett_sidee .wow_sett_sidebar {
  width: 100%;
  position: static;
  right: auto;
  left: auto;
  top: auto;
  text-align: left;
  box-shadow: none;
}

.wo_group_setting_layout .wo_new_sett_sidee .wow_sett_sidebar > ul {
  white-space: normal;
  overflow: visible;
}

.wo_group_setting_layout .wo_new_sett_sidee .wow_sett_sidebar > ul > li {
  display: block;
  margin-right: 0;
}

.wo_group_setting_layout .wo_new_sett_sidee .wow_sett_sidebar > ul > li > a {
  padding: 8px 14px;
  min-width: 0;
  white-space: normal;
}

.wo_group_setting_layout #wo_main_sett_mid .wo_settings_page,
.wo_group_setting_layout .wow_sett_content {
  padding: 15px !important;
}

.wo_group_setting_layout .group-setting-menu-list > li > a .report-not-seen {
  position: static;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .wo_group_setting_layout .wo_new_sett_sidee {
    width: 33.333333%;
  }

  .wo_group_setting_layout .wo_new_sett_pagee {
    width: 66.666667%;
  }
}

/* Group settings ? night mode surfaces (tokens + dark.css together) */
html.wo-night-mode .wo_group_setting_layout .wow_content,
body.wo-night-mode .wo_group_setting_layout .wow_content,
html.wo-night-mode .wo_group_setting_layout .wo_settings_page,
body.wo-night-mode .wo_group_setting_layout .wo_settings_page,
html.wo-night-mode .wo_group_setting_layout .popular_posts_hdr,
body.wo-night-mode .wo_group_setting_layout .popular_posts_hdr,
html.wo-night-mode .wo_group_setting_layout .group-admin-assist-card,
body.wo-night-mode .wo_group_setting_layout .group-admin-assist-card,
html.wo-night-mode .wo_group_setting_layout .group-manage-digest-card,
body.wo-night-mode .wo_group_setting_layout .group-manage-digest-card {
  background-color: var(--card-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--fb-border) !important;
}

html.wo-night-mode .wo_group_setting_layout .popular_posts_hdr > p,
body.wo-night-mode .wo_group_setting_layout .popular_posts_hdr > p,
html.wo-night-mode .wo_group_setting_layout .group-manage-digest-label,
body.wo-night-mode .wo_group_setting_layout .group-manage-digest-label {
  color: var(--text-secondary) !important;
}

html.wo-night-mode .group-roles-page .group-role-rgba-picker,
body.wo-night-mode .group-roles-page .group-role-rgba-picker,
html.wo-night-mode .group-roles-page .group-role-rgba-picker input[type="color"].group-role-rgba-hex,
body.wo-night-mode .group-roles-page .group-role-rgba-picker input[type="color"].group-role-rgba-hex,
html.wo-night-mode .group-roles-page .group-role-file-input,
body.wo-night-mode .group-roles-page .group-role-file-input {
  background: var(--card-bg) !important;
  border-color: var(--fb-border) !important;
  color: var(--text-primary) !important;
}

/* Groups hub (desktop) */
/* Groups hub header ? title + actions + tabs in one card */
.wo_groups_hub_header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title title"
    "tabs actions";
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  padding: 14px 16px !important;
}

.wo_groups_hub_title {
  grid-area: title;
}

.wo_groups_hub_title .wo_page_hdng_innr.big_size {
  margin: 0;
}

.wo_groups_hub_tabs {
  grid-area: tabs;
  min-width: 0;
}

.wo_groups_hub_tabs > ul.list-unstyled {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wo_groups_hub_header .wo_groups_page_actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* Desktop tabs keep underline style */
@media (min-width: 769px) {
  .wo_groups_hub_tabs > ul.list-unstyled > li > a {
    padding: 12px 8px;
    display: block;
    text-decoration: none;
    margin: 0 2px;
    color: inherit;
  }

  .wo_groups_hub_tabs > ul.list-unstyled > li.active > a,
  .wo_groups_hub_tabs > ul.list-unstyled > li.active > span {
    box-shadow: inset 0 -2.5px currentColor;
    font-weight: 700;
  }

  .wo_groups_hub_header .wo_groups_page_actions .btn {
    line-height: 28px;
    padding: 0 10px;
    min-width: 90px;
  }
}

.wo_groups_hub_menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wo_groups_page_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wo_groups_page_actions .btn svg {
  width: 18px;
  height: 18px;
  margin: -2px 4px 0 0;
  vertical-align: middle;
}

.wo_groups_hub_section {
  margin-top: 12px;
}

.wo_groups_hub_section_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wo_groups_hub_section_title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--fb-text, #050505);
}

.wo_groups_hub_section_link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-blue, #1877f2);
  text-decoration: none;
  white-space: nowrap;
}

.wo_groups_hub_section_link:hover {
  text-decoration: underline;
  color: var(--fb-blue-hover, #166fe5);
}

/* Groups & Pages directory lists ? individual card outlines */
.profile-lists .wow_my_groups.wow_content,
.wo_groups_hub_page .wow_my_groups.wow_content {
  background-color: var(--fb-surface) !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: var(--fb-radius) !important;
  box-shadow: var(--fb-shadow) !important;
  overflow: hidden;
}

.wo_my_pages .page_list {
  background-color: var(--fb-surface) !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: var(--fb-radius) !important;
  box-shadow: var(--fb-shadow) !important;
}

html.wo-night-mode .profile-lists .wow_my_groups.wow_content,
body.wo-night-mode .profile-lists .wow_my_groups.wow_content,
html.wo-night-mode .wo_groups_hub_page .wow_my_groups.wow_content,
body.wo-night-mode .wo_groups_hub_page .wow_my_groups.wow_content,
html.wo-night-mode .wo_my_pages .page_list,
body.wo-night-mode .wo_my_pages .page_list {
  border: 1px solid var(--fb-border) !important;
  box-shadow: var(--fb-shadow) !important;
  background-color: var(--card-bg, var(--fb-surface)) !important;
}

.wo_groups_hub_menu ul li.active span {
  color: var(--fb-text, #050505);
  font-weight: 600;
}

/* Mobile Groups hub: individual cards + redesigned top nav (desktop unchanged) */
@media (max-width: 768px) {
  .wo_groups_hub_page .profile-lists.singlecol,
  .wo_groups_hub_page .col-md-7.profile-lists {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* Compact merged header: title + icon actions, pills underneath */
  .wo_groups_hub_page .wo_groups_hub_header {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "title actions"
      "tabs tabs" !important;
    row-gap: 12px !important;
    column-gap: 10px !important;
    margin-bottom: 10px !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .wo_groups_hub_page .wo_groups_hub_title .wo_page_hdng_innr.big_size {
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: auto !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
    gap: 0 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn .wo-groups-action-label {
    display: none !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn-default {
    background: #e4e6eb !important;
    border: 0 !important;
    color: #050505 !important;
    box-shadow: none !important;
  }

  .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn-main {
    border: 0 !important;
    border-radius: 50% !important;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs {
    width: 100% !important;
    min-width: 0 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs > ul.list-unstyled {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 2px 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap !important;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs > ul::-webkit-scrollbar {
    display: none;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs > ul > li {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > a,
  .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #e4e6eb !important;
    color: #050505 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > a,
  .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > span {
    background: #e7f3ff !important;
    color: #1877f2 !important;
    box-shadow: none !important;
  }

  /* Section headers sit above free-standing cards */
  .wo_groups_hub_page .wo_groups_hub_section {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .wo_groups_hub_page .wo_groups_hub_section_head {
    padding: 4px 4px 8px !important;
    margin-bottom: 0 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_section_title {
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .wo_groups_hub_page .wo_groups_hub_section > .row,
  .wo_groups_hub_page .profile-lists > .row,
  .wo_groups_hub_page .col-md-7 > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .wo_groups_hub_page .col-md-3,
  .wo_groups_hub_page .col-sm-6,
  .wo_groups_hub_page .profile-lists .col-md-3,
  .wo_groups_hub_page .profile-lists .col-sm-6 {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0 8px !important;
  }

  /* Each group = its own card */
  .wo_groups_hub_page .wow_my_groups.wow_content,
  .wo_groups_hub_page .profile-lists .wow_my_groups.wow_content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--fb-border, #e4e6eb) !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    background: var(--fb-surface, #fff) !important;
    overflow: hidden !important;
  }

  .wo_groups_hub_page .wow_my_groups .avatar {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    padding-top: 0 !important;
    flex: 0 0 60px !important;
    position: relative !important;
    align-self: center;
  }

  .wo_groups_hub_page .wow_my_groups .avatar a {
    display: block;
    width: 60px;
    height: 60px;
  }

  .wo_groups_hub_page .wow_my_groups .avatar img {
    position: static !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  .wo_groups_hub_page .wow_my_groups_info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .wo_groups_hub_page .wow_my_groups_info h3,
  .wo_groups_hub_page .wow_my_groups_info .page_title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
  }

  .wo_groups_hub_page .wow_my_groups_info h3 a,
  .wo_groups_hub_page .wow_my_groups_info .page_title a {
    color: var(--text-primary, #050505) !important;
  }

  .wo_groups_hub_page .wow_my_groups_info p {
    margin: 0 !important;
    font-size: 13px !important;
    color: var(--text-secondary, #65676b) !important;
    line-height: 1.2 !important;
  }

  /* Hide View on mobile ? whole card is tappable via title/avatar */
  .wo_groups_hub_page .wo-group-card-view-btn {
    display: none !important;
  }

  /* Keep Join / Edit compact when present */
  .wo_groups_hub_page .wow_my_groups_info .btn:not(.wo-group-card-view-btn),
  .wo_groups_hub_page .wow_my_groups_info .btn-mat:not(.wo-group-card-view-btn),
  .wo_groups_hub_page .wow_my_groups_info .user-follow-button,
  .wo_groups_hub_page .wow_my_groups_info .user-follow-button .btn {
    width: auto !important;
    min-width: 0 !important;
    margin-top: 6px !important;
    padding: 0 12px !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    align-self: flex-start;
  }

  html.wo-night-mode .wo_groups_hub_page .wow_my_groups.wow_content,
  body.wo-night-mode .wo_groups_hub_page .wow_my_groups.wow_content,
  .night-mode .wo_groups_hub_page .wow_my_groups.wow_content {
    background: var(--card-bg, #242526) !important;
    border-color: var(--fb-border) !important;
    box-shadow: none !important;
  }

  html.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > a,
  html.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > span,
  body.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > a,
  body.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > span,
  .night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > a,
  .night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li > span {
    background: #3a3b3c !important;
    color: #e4e6eb !important;
  }

  html.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > a,
  html.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > span,
  body.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > a,
  body.wo-night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > span,
  .night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > a,
  .night-mode .wo_groups_hub_page .wo_groups_hub_tabs > ul > li.active > span {
    background: rgba(45, 136, 255, 0.2) !important;
    color: #6cb6ff !important;
  }

  html.wo-night-mode .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn-default,
  body.wo-night-mode .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn-default,
  .night-mode .wo_groups_hub_page .wo_groups_hub_header .wo_groups_page_actions .btn-default {
    background: #3a3b3c !important;
    color: #e4e6eb !important;
  }
}

/* Homepage customization blocks */
.wo-hp-custom-block {
  margin-bottom: 12px;
}

.wo-hp-custom-block.wo-hp-block-styled {
  border-radius: var(--fb-radius, 8px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.wo-hp-custom-block.wo-hp-block-outlined,
.wo-hp-feed-block.wo-hp-block-outlined,
.wo-hp-image-flat-wrap.wo-hp-block-outlined {
  box-sizing: border-box;
}

.wo-hp-custom-block.wo-hp-block-outlined.wo-hp-block-styled,
.wo-hp-feed-block.wo-hp-block-outlined.wo-hp-block-styled,
.wo-hp-image-flat-wrap.wo-hp-block-outlined {
  overflow: visible;
}

.wo-hp-block-shadow {
  box-shadow: var(--wo-hp-block-shadow, 0 2px 12px rgba(0, 0, 0, 0.12));
}

.wo-hp-custom-block.wo-hp-block-styled .list-group-item,
.wo-hp-custom-block.wo-hp-block-styled .sidebar-title-back {
  background: transparent !important;
  border-color: rgba(0, 0, 0, 0.06);
}

.wo-hp-custom-block-body {
  padding: 10px 12px 14px !important;
}

.wo-hp-feed-block {
  margin-bottom: 4px !important;
  padding: 8px 12px 4px;
  border-radius: var(--fb-radius, 8px);
  border: 1px solid var(--fb-border, #e4e6eb);
  background: var(--card-bg, #fff);
  box-shadow: var(--fb-shadow, 0 1px 2px rgba(0, 0, 0, 0.08));
}

.wo-hp-feed-block.wow_content {
  padding: 8px 12px 4px;
}

.wo-hp-feed-block.wo-hp-block-styled:not(.wo-hp-block-outlined) {
  border-color: rgba(0, 0, 0, 0.08);
}

.wo-hp-feed-block.wo-hp-block-shadow {
  box-shadow: var(--wo-hp-block-shadow, 0 2px 12px rgba(0, 0, 0, 0.12));
}

.wo-hp-feed-block-hdr {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary, #050505);
  margin-bottom: 6px;
  font-family: var(--fb-font);
}

.wo-hp-block-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wo-hp-block-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
}

.wo-hp-block-title-icon--image img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

.wo-hp-block-title-icon--dark {
  display: none;
}

html.wo-night-mode .wo-hp-block-title-icon--light,
body.wo-night-mode .wo-hp-block-title-icon--light {
  display: none;
}

html.wo-night-mode .wo-hp-block-title-icon--dark,
body.wo-night-mode .wo-hp-block-title-icon--dark {
  display: inline-flex;
}

.wo-hp-block-title-row[style*="--wo-hp-title-color"] {
  color: var(--wo-hp-title-color) !important;
}

html.wo-night-mode .wo-hp-block-title-row[style*="--wo-hp-title-color"],
body.wo-night-mode .wo-hp-block-title-row[style*="--wo-hp-title-color"] {
  color: var(--wo-hp-title-color-dark, var(--wo-hp-title-color)) !important;
}

.wo-hp-block-title-text {
  min-width: 0;
}

.wo-hp-custom-block.wo-hp-gradient-animate:not(.wo-hp-block-outlined),
.wo-hp-feed-block.wo-hp-gradient-animate:not(.wo-hp-block-outlined) {
  background-size: 200% 200% !important;
  animation: wo-hp-gradient-shift var(--wo-hp-gradient-speed, 8s) ease infinite;
}

.wo-hp-custom-block.wo-hp-block-outlined.wo-hp-gradient-animate:not(.wo-hp-outline-gradient-animate),
.wo-hp-feed-block.wo-hp-block-outlined.wo-hp-gradient-animate:not(.wo-hp-outline-gradient-animate) {
  background-size: 200% 200%, 100% 100% !important;
  animation: wo-hp-gradient-shift var(--wo-hp-gradient-speed, 8s) ease infinite;
}

.wo-hp-custom-block.wo-hp-block-outlined.wo-hp-gradient-animate.wo-hp-outline-gradient-animate,
.wo-hp-feed-block.wo-hp-block-outlined.wo-hp-gradient-animate.wo-hp-outline-gradient-animate {
  background-size: 200% 200%, 200% 200% !important;
  animation: wo-hp-gradient-shift var(--wo-hp-gradient-speed, 8s) ease infinite, wo-hp-outline-gradient-shift var(--wo-hp-outline-gradient-speed, 8s) ease infinite;
}

.wo-hp-custom-block.wo-hp-gradient-animate.wo-hp-gradient-radial:not(.wo-hp-block-outlined),
.wo-hp-feed-block.wo-hp-gradient-animate.wo-hp-gradient-radial:not(.wo-hp-block-outlined) {
  animation: wo-hp-gradient-radial-pulse var(--wo-hp-gradient-speed, 8s) ease-in-out infinite;
}

@keyframes wo-hp-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wo-hp-gradient-radial-pulse {
  0%, 100% { background-size: 100% 100% !important; }
  50% { background-size: 140% 140% !important; }
}

.wo-hp-custom-block.wo-hp-block-outlined.wo-hp-outline-gradient-animate:not(.wo-hp-gradient-animate),
.wo-hp-feed-block.wo-hp-block-outlined.wo-hp-outline-gradient-animate:not(.wo-hp-gradient-animate) {
  background-size: 100% 100%, 200% 200% !important;
  animation: wo-hp-outline-gradient-shift var(--wo-hp-outline-gradient-speed, 8s) ease infinite;
}

.wo-hp-custom-block.wo-hp-outline-gradient-animate.wo-hp-outline-gradient-radial,
.wo-hp-feed-block.wo-hp-outline-gradient-animate.wo-hp-outline-gradient-radial {
  animation: wo-hp-outline-gradient-radial var(--wo-hp-outline-gradient-speed, 8s) ease-in-out infinite;
}

@keyframes wo-hp-outline-gradient-shift {
  0% { background-position: 0% 50%, 0% 50%; }
  50% { background-position: 0% 50%, 100% 50%; }
  100% { background-position: 0% 50%, 0% 50%; }
}

@keyframes wo-hp-outline-gradient-radial {
  0%, 100% { background-size: 100% 100%, 200% 200%; }
  50% { background-size: 100% 100%, 140% 140%; }
}

.wo-hp-custom-block.wo-hp-cards-shadow .wo-hp-feed-card,
.wo-hp-feed-block.wo-hp-cards-shadow .wo-hp-feed-card {
  box-shadow: var(--wo-hp-card-shadow, 0 2px 12px rgba(0, 0, 0, 0.12));
}

.wo-hp-feed-card--see-more.wo-hp-feed-card--reel .wo-hp-feed-card-media--see-more {
  aspect-ratio: 9 / 16;
  max-height: 198px;
  width: 100%;
  height: auto;
}

.wo-hp-reels-widget {
  --wo-hp-see-more-color: var(--fb-blue, #1877f2);
}

.wo-hp-feed-card--see-more .wo-hp-feed-card-media--see-more {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--background-alt, #f0f2f5);
  color: var(--wo-hp-see-more-color, var(--fb-blue, #1877f2));
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.wo-hp-see-more-preview-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(10px) brightness(0.5);
  pointer-events: none;
}

.wo-hp-see-more-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.wo-hp-see-more-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--wo-hp-see-more-color, #ffffff);
}

.wo-hp-feed-card--see-more-has-preview .wo-hp-see-more-card-content {
  color: var(--wo-hp-see-more-color, #ffffff);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.wo-hp-see-more-card-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.wo-hp-see-more-card-icon {
  display: inline-flex;
  opacity: 0.92;
}

.wo-hp-feed-card-link--see-more:hover .wo-hp-see-more-preview-overlay {
  background: rgba(0, 0, 0, 0.48);
}

.wo-hp-feed-card--see-more:not(.wo-hp-feed-card--see-more-has-preview) .wo-hp-feed-card-link--see-more:hover .wo-hp-feed-card-media--see-more {
  filter: brightness(0.97);
}

html.wo-night-mode .wo-hp-feed-card--see-more:not(.wo-hp-feed-card--see-more-has-preview) .wo-hp-feed-card-media--see-more,
body.wo-night-mode .wo-hp-feed-card--see-more:not(.wo-hp-feed-card--see-more-has-preview) .wo-hp-feed-card-media--see-more {
  background: rgba(255, 255, 255, 0.06);
}

.wo-hp-feed-block-body {
  color: var(--text-primary, #050505);
  overflow: hidden;
}

.wo-hp-feed-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--wo-hp-scrollbar-thumb) transparent;
}

.wo-hp-feed-strip::-webkit-scrollbar {
  height: 5px;
}

.wo-hp-feed-strip::-webkit-scrollbar-track {
  background: transparent;
}

.wo-hp-feed-strip::-webkit-scrollbar-thumb {
  background-color: var(--wo-hp-scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.wo-hp-feed-strip:hover::-webkit-scrollbar-thumb {
  background-color: var(--wo-hp-scrollbar-thumb-hover);
}

.wo-hp-feed-strip:hover {
  scrollbar-color: var(--wo-hp-scrollbar-thumb-hover) transparent;
}

.wo-hp-feed-card {
  flex: 0 0 148px;
  width: 148px;
  max-width: 148px;
  border: 1px solid var(--fb-border, #e4e6eb);
  border-radius: var(--fb-radius, 8px);
  background: var(--card-bg, #fff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wo-hp-feed-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  flex: 1 1 auto;
}

.wo-hp-feed-card-media {
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: #e4e6eb;
}

.wo-hp-feed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo-hp-feed-card-media--round {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
  background: var(--card-bg, #fff);
}

.wo-hp-feed-card-media--round img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--fb-border, #e4e6eb);
}

.wo-hp-feed-card-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 10px 8px;
  min-height: 56px;
}

.wo-hp-feed-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary, #050505);
  word-break: break-word;
}

.wo-hp-feed-card-sub {
  font-size: 12px;
  color: var(--text-secondary, #65676b);
  line-height: 1.3;
}

.wo-hp-feed-card-action {
  padding: 0 10px 12px;
  text-align: center;
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

.wo-hp-feed-card-action .btn,
.wo-hp-feed-card-action button {
  width: 100%;
  max-width: 100%;
  font-size: 13px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

.user-follow-button,
.user-follow-button .btn,
.user-follow-button button,
.page-like-btn,
.page-like-btn .btn,
.page-like-btn button {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

.wo-hp-feed-card--user .wo-hp-feed-card-meta {
  min-height: 44px;
  padding-top: 0;
}

.wo-hp-image-flat-wrap {
  margin-bottom: 12px;
  border-radius: var(--fb-radius, 8px);
  overflow: hidden;
  padding: 0 !important;
}

.wo-hp-image-flat-wrap--feed {
  margin-bottom: 4px !important;
  padding: 0 !important;
  border: none;
  background: transparent;
  box-shadow: none;
}

.wo-hp-image-flat-wrap--feed.wo-hp-block-styled,
.wo-hp-image-flat-wrap.wo-hp-block-styled {
  background-clip: border-box;
}

.wo-hp-image-flat-wrap .wo-hp-image-block--flat {
  margin: 0;
}

.wo-hp-image-flat-wrap .wo-hp-image-block--flat .wo-hp-image-block-img {
  width: 100%;
  display: block;
  border-radius: 0;
  vertical-align: top;
}

.wo-hp-image-flat-wrap--feed .wo-hp-image-block--flat .wo-hp-image-block-img {
  max-height: none;
  object-fit: cover;
}

.wo-hp-image-block-img {
  width: 100%;
  border-radius: var(--fb-radius-sm, 6px);
  display: block;
}

.wo-hp-image-block--feed .wo-hp-image-block-img {
  max-height: 280px;
  object-fit: cover;
}

.wo-hp-image-block-caption {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text-secondary, #65676b);
}

.wo-hp-text-block {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-primary, #050505);
}

.wo-hp-html-block iframe {
  max-width: 100%;
  border: 0;
}

.wo-hp-rss-list {
  margin: 0;
  padding: 0;
}

.wo-hp-rss-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--fb-border, #e4e6eb);
  font-size: 14px;
}

.wo-hp-rss-item:last-child {
  border-bottom: 0;
}

.wo-hp-rss-item a {
  color: var(--fb-blue, #1877f2);
  text-decoration: none;
}

.wo-hp-rss-item a:hover {
  text-decoration: underline;
}

.wo-hp-rss-item--compact {
  padding: 0;
  border-bottom: 0;
}

.wo-hp-rss-item-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fb-border, #e4e6eb);
  text-decoration: none !important;
  color: var(--text-primary, #050505);
}

.wo-hp-rss-item:last-child .wo-hp-rss-item-link {
  border-bottom: 0;
  padding-bottom: 0;
}

.wo-hp-rss-item-link:hover .wo-hp-rss-item-title {
  color: var(--fb-blue, #1877f2);
}

.wo-hp-rss-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fb-bg-secondary, #f0f2f5);
}

.wo-hp-rss-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo-hp-rss-item-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-hp-feed-strip--rss .wo-hp-feed-card {
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
}

.wo-hp-reels-widget {
  width: 100%;
}

.wo-hp-feed-strip--reels {
  gap: 6px;
  padding-bottom: 2px;
}

.wo-hp-feed-card--reel {
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
  border-radius: 14px;
}

.wo-hp-feed-card--reel .wo-hp-feed-card-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 297px;
  background: #111;
}

.wo-hp-feed-card--reel .wo-hp-feed-card-media img,
.wo-hp-feed-card--reel .wo-hp-feed-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo-hp-feed-card--reel .wo-hp-reel-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.wo-hp-feed-card--reel .wo-hp-reel-mute-icon { display: none; }
.wo-hp-feed-card--reel.is-playing .wo-hp-reel-play-icon { display: none; }
.wo-hp-feed-card--reel.is-playing .wo-hp-reel-mute-icon { display: block; }

.wo-hp-feed-card--reel .wo-hp-feed-card-meta {
  min-height: 0;
  padding: 8px 10px 10px;
}

.wo-hp-feed-card--reel .wo-hp-feed-card-title {
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-hp-reels-see-all {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wo-hp-see-more-color, var(--fb-blue, #1877f2));
  text-decoration: none !important;
}

.wo-hp-reels-see-all:hover {
  text-decoration: underline !important;
}

.wo-hp-feed-block .wo-hp-feed-strip--reels .wo-hp-feed-card--reel {
  flex: 0 0 180px;
  width: 180px;
  max-width: 180px;
}

.wo-hp-feed-block .wo-hp-feed-card--reel .wo-hp-feed-card-media {
  max-height: 321px;
}

/* Feed-only backgroundless Reels carousel */
.wo-hp-feed-block--reels-edge,
.wo-hp-feed-block--reels-edge.wo-hp-block-styled,
.wo-hp-feed-block--reels-edge.wo-hp-block-outlined,
.wo-hp-feed-block--reels-edge.wo-hp-block-shadow {
  margin-top: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  animation: none !important;
  overflow: visible;
}

.wo-hp-feed-block--reels-edge .wo-hp-feed-block-hdr {
  margin: 0 0 6px;
  padding: 0 2px;
}

.wo-hp-feed-block--reels-edge .wo-hp-feed-block-body {
  overflow: visible;
}

.wo-hp-reels-widget--edge {
  position: relative;
  width: 100%;
}

.wo-hp-reels-widget--edge .wo-hp-feed-strip--reels {
  width: 100%;
  gap: 3px;
  padding: 0 0 2px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.wo-hp-reels-widget--edge .wo-hp-feed-strip--reels::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.wo-hp-reels-widget--edge .wo-hp-feed-strip--reels:focus-visible {
  outline: 2px solid var(--fb-blue, #1877f2);
  outline-offset: 3px;
  border-radius: var(--fb-radius, 8px);
}

.wo-hp-feed-block--reels-edge .wo-hp-feed-strip--reels .wo-hp-feed-card--reel {
  flex: 0 0 clamp(148px, 30vw, 190px);
  width: clamp(148px, 30vw, 190px);
  max-width: 190px;
  scroll-snap-align: start;
}

.wo-hp-feed-block--reels-edge .wo-hp-feed-card--reel .wo-hp-feed-card-media {
  max-height: none;
}

.wo-hp-reels-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.wo-hp-reels-nav[hidden] {
  display: none !important;
}

.wo-hp-reels-nav--prev {
  left: 8px;
}

.wo-hp-reels-nav--next {
  right: 8px;
}

.wo-hp-reels-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wo-hp-reels-nav:hover {
  background: rgba(0, 0, 0, 0.82);
  transform: scale(1.04);
}

.wo-hp-reels-nav:focus-visible {
  outline: 3px solid rgba(24, 119, 242, 0.45);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .wo-hp-feed-block--reels-edge .wo-hp-feed-strip--reels .wo-hp-feed-card--reel {
    flex-basis: clamp(146px, 42vw, 176px);
    width: clamp(146px, 42vw, 176px);
  }

  .wo-hp-reels-nav {
    width: 38px;
    height: 38px;
  }
}

.wo-hp-feed-card--rss .wo-hp-feed-card-media {
  height: 112px;
}

.wo-hp-feed-card-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e4e6eb 0%, #f0f2f5 100%);
  color: #65676b;
}

.wo-hp-feed-card-media--fallback {
  background: linear-gradient(135deg, #e4e6eb 0%, #f0f2f5 100%);
}

.wo-hp-feed-card-media--fallback::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin: auto;
  position: absolute;
  inset: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2365676b' stroke-width='1.5'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M4 15l4-4 3 3 5-6 4 5'/%3E%3C/svg%3E");
}

.wo-hp-feed-card--rss .wo-hp-feed-card-meta {
  min-height: 52px;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px 12px;
}

.wo-hp-feed-card--rss .wo-hp-feed-card-title {
  -webkit-line-clamp: 3;
  text-align: left;
  font-size: 13px;
}

.wo-hp-invite-block .wo-hp-share-link {
  margin-top: 12px;
}

.wo-hp-invite-block--feed {
  max-width: 420px;
}

.wo-hp-custom-block .sidebar-group-may-know-container,
.wo-hp-custom-block .sidebar-pages-may-know-container,
.wo-hp-custom-block .sidebar-users-may-know-container {
  margin: 0;
  padding: 0 4px;
}

.wo-hp-custom-block .wow_my_groups,
.wo-hp-custom-block .home.profile-style {
  margin-bottom: 8px;
}

/* Mobile web header: logo + search icon + menu icon (compact top bar) */
.wo-mobile-menu-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

/* Secondary icon tab bar: hidden on desktop; shown in mobile media query below */
.wo-mobile-tabbar,
.wo-mobile-notif-sheet {
  display: none !important;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  /* Bar spans the viewport; inner track matches .content-container width */
  .navbar.navbar-default.navbar-fixed-top {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    /* Above .wo-mobile-tabbar (1030) so the hamburger account menu is usable */
    z-index: 1045 !important;
  }

  .content-container.container,
  .navbar-default .header-fixed1000,
  .navbar-default .header-fixed1200 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  /* Side gutters ~1/3 of previous ? kill stacked column/profile padding */
  .content-container.container #contnet,
  .page-margin,
  .page-margin > .row,
  .row.page-margin.wo_group_profile {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hide desktop sidebar blocks on mobile (home suggestions + group sidebar) */
  .page-margin > .row > .leftcol,
  .page-margin > .row > .rightcol,
  .page-margin > .row > .sidebar.rightcol,
  .sidebar-conatnier,
  .sidebar-conatnier > .rightcol,
  .row.page-margin.wo_group_profile > .col-md-4,
  .row.page-margin.wo_group_profile > .col-md-4.wo-group-sidebar-col,
  .wo_group_profile > .col-md-4,
  .wo_group_profile > .col-md-4.wo-group-sidebar-col {
    display: none !important;
  }

  .page-margin > .row > .middlecol,
  .page-margin > .row > .leftcol,
  .page-margin > .row > .rightcol,
  .page-margin > .row > [class*="col-"],
  .row.page-margin.wo_group_profile > .col-md-8,
  .row.page-margin.wo_group_profile > .col-md-4,
  .wo_group_profile > .col-md-8,
  .wo_group_profile > .col-md-4,
  .wo_group_profile .profile-container,
  body.wo-page-group .wo_group_profile .profile-container,
  .wo_user_profile .profile-container,
  .wo_page_profile .profile-container,
  .col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,
  .col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,
  .col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wo_group_profile .group-info-block {
    --fb-group-header-inset: 12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .wo_group_profile .group-banner-wrapper:has(.group-affiliation-banner) + .group-info-block {
    padding-top: calc(8px + var(--fb-radius)) !important;
    padding-bottom: 10px !important;
  }

  .wo_group_profile .group-info-block__actions.options-buttons {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }

  /* Keep a tiny outer inset so cards aren't flush against the screen edge */
  .wo_group_profile .profile-container,
  .wo_group_profile > .col-md-8,
  .wo_group_profile > .col-md-4,
  .page-margin > .row > .middlecol {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* Search overlay ? never participates in header row layout */
  .navbar-default #wo_home_search {
    display: none !important;
    flex: none !important;
    position: fixed !important;
    top: var(--fb-navbar-height, 48px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    z-index: 1031 !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    background-color: inherit;
    box-sizing: border-box !important;
    float: none !important;
  }

  .navbar-default #wo_home_search.wo-mobile-search-open {
    display: flex !important;
  }

  .navbar-default .header-fixed1000 > .container-fluid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    align-items: center !important;
    column-gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 8px 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    float: none !important;
  }

  .navbar-default .header-fixed1000 > .container-fluid::before,
  .navbar-default .header-fixed1000 > .container-fluid::after {
    display: none !important;
    content: none !important;
  }

  .navbar-default .wow_hdr_innr_left {
    grid-area: brand;
    flex: none !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  .navbar-default .wow_hdr_innr_left > .nav.navbar-nav {
    display: none !important;
  }

  .navbar-default .header-brand {
    display: flex !important;
    align-items: center;
    flex: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  .navbar-default .header-brand img {
    display: block !important;
    max-height: 38px !important;
    max-width: 130px !important;
    width: auto !important;
    height: auto !important;
  }

  .navbar-default #head_menu_rght {
    grid-area: actions;
    flex: none !important;
    margin: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    height: var(--fb-navbar-height, 48px) !important;
  }

  .navbar-default #head_menu_rght > li {
    flex: 0 0 auto !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar-default #head_menu_rght > li.wow_new_search_bbtn,
  .navbar-default #head_menu_rght > li.wo-mobile-menu-li {
    height: var(--fb-navbar-height, 48px) !important;
  }

  .navbar-default #head_menu_rght.navbar-nav {
    float: none !important;
    margin: 0 !important;
  }

  .navbar-default #head_menu_rght .requests-container,
  .navbar-default #head_menu_rght .messages-notification-container,
  .navbar-default #head_menu_rght .notification-container {
    display: none !important;
  }

  .navbar-default #head_menu_rght .dropdown-switch-account {
    position: fixed !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .wow_new_search_bbtn {
    display: flex !important;
  }

  #head_menu_rght .wo-mobile-header-btn,
  #head_menu_rght .wo-mobile-header-btn.user-menu-combination,
  #head_menu_rght .wow_new_search_bbtn .wo-mobile-header-btn,
  #head_menu_rght .wo-mobile-menu-li > a.wo-mobile-header-btn,
  #head_menu_rght .sixteen-font-size.wo-mobile-header-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    border: 0 !important;
  }

  #head_menu_rght .wo-mobile-header-btn svg,
  #head_menu_rght .wo-mobile-menu-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .wo-mobile-menu-li .wo-desktop-user-avatar {
    display: none !important;
  }

  .wo-mobile-menu-li .wo-mobile-menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Facebook-style secondary icon tabs under logo (logged-in mobile only).
     Fixed below the 48px header so navbar height/overflow cannot clip it. */
  .wo-mobile-tabbar {
    display: flex !important;
    position: fixed !important;
    top: var(--fb-navbar-height, 48px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    align-items: stretch;
    justify-content: space-around;
    width: 100% !important;
    max-width: 100vw !important;
    height: var(--fb-mobile-tabbar-height, 48px) !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--fb-surface, #ffffff) !important;
    border-top: 1px solid var(--fb-border, rgba(0, 0, 0, 0.08));
    box-shadow: var(--fb-shadow-nav, 0 1px 2px rgba(0, 0, 0, 0.1));
    box-sizing: border-box !important;
  }

  html.wo-night-mode .wo-mobile-tabbar,
  body.wo-night-mode .wo-mobile-tabbar {
    background-color: var(--fb-surface, #2a2a2a) !important;
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  /* Account menu must sit above the fixed tabbar (z-index 1030) and escape
     navbar overflow:hidden so it is usable on mobile. */
  .navbar.navbar-default.navbar-fixed-top:has(.wo-mobile-menu-li.open),
  .navbar.navbar-default.navbar-fixed-top.wo-mobile-menu-open {
    overflow: visible !important;
    z-index: 1060 !important;
  }

  .navbar-default .wo-mobile-menu-li.open > .dropdown-menu.ani-acc-menu,
  .navbar-default .wo-mobile-menu-li > .dropdown-menu.ani-acc-menu {
    position: fixed !important;
    top: calc(var(--fb-navbar-height, 48px) + 6px) !important;
    right: 8px !important;
    left: auto !important;
    z-index: 1061 !important;
    max-height: calc(100vh - var(--fb-navbar-height, 48px) - 16px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .wo-mtab {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--fb-text-secondary, #65676b);
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .wo-mtab:hover,
  .wo-mtab:focus {
    color: var(--fb-text-secondary, #65676b);
    text-decoration: none !important;
    background: transparent;
  }

  .wo-mtab.active {
    color: var(--fb-blue, #1877f2);
    border-bottom-color: var(--fb-blue, #1877f2);
  }

  .wo-mtab svg {
    display: block;
    width: 26px;
    height: 26px;
  }

  .wo-mtab-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e41e3f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    z-index: 1;
  }

  html.wo-has-mobile-tabbar .content-container,
  body.wo-has-mobile-tabbar .content-container {
    margin-top: calc(var(--fb-navbar-height, 48px) + var(--fb-mobile-tabbar-height, 48px)) !important;
  }

  html.wo-has-mobile-tabbar .navbar-default #wo_home_search,
  body.wo-has-mobile-tabbar .navbar-default #wo_home_search {
    top: calc(var(--fb-navbar-height, 48px) + var(--fb-mobile-tabbar-height, 48px)) !important;
  }

  .wo-mobile-notif-sheet {
    display: block !important;
    position: fixed;
    top: calc(var(--fb-navbar-height, 48px) + var(--fb-mobile-tabbar-height, 48px));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    background: var(--fb-surface, #fff);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .wo-mobile-notif-sheet[hidden] {
    display: none !important;
  }

  .wo-mobile-notif-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--fb-border, #e4e6eb);
    color: var(--fb-text, #050505);
  }

  .wo-mobile-notif-close {
    border: 0;
    background: var(--fb-header-icon-hover-bg, rgba(0, 0, 0, 0.06));
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--fb-text, #050505);
    cursor: pointer;
  }

  .wo-mobile-notif-sheet-body {
    height: calc(100% - 61px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.wo-mobile-notif-open {
    overflow: hidden;
  }

  /* Tighter feed spacing: home + group/profile */
  .page-margin,
  .row.page-margin,
  .wo_group_profile.page-margin {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  .page-margin > .row > .middlecol > .wow_content,
  .page-margin > .row > .middlecol > .user-status-home,
  .page-margin > .row > .middlecol > .publisher-box,
  .page-margin > .row > .middlecol > form.publisher-box,
  .user-status-home,
  .wow_home_stories,
  .user-status-home.wow_content {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
  }

  .page-margin > .row > .middlecol > .greetalert,
  .greetalert {
    margin-bottom: 2px !important;
  }

  /* Group header card still used profile .card { margin-bottom: 20px } */
  .profile-container,
  .wo_group_profile .profile-container,
  .wo_page_profile .profile-container,
  .wo_user_profile .profile-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .profile-container .card,
  .profile-container .card.hovercard,
  .wo_group_profile .profile-container .card,
  .wo_group_profile .profile-container .card.hovercard,
  .wo_group_profile .wo-fb-group-card {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
  }

  .wo_group_profile > .col-md-8,
  .wo_group_profile > .col-md-4,
  .wo_page_profile > .col-md-8,
  .wo_user_profile > .col-md-8 {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .publisher-box,
  .publisher-box .panel,
  .publisher-box .sun_pub_box,
  form.publisher-box,
  form.post.publisher-box,
  .wo_group_profile .col-md-8 > .publisher-box,
  .wo_group_profile .col-md-8 > form.publisher-box,
  .wo_group_profile .col-md-8 > form.post.publisher-box,
  .profile-container + .col-md-8 > .publisher-box,
  .profile-container + .col-md-8 > form.publisher-box {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  form.post.publisher-box + .greetalert:not(.hidden),
  .publisher-box + .greetalert:not(.hidden),
  .wow_content.order-by + .greetalert:not(.hidden),
  .order-by + .greetalert:not(.hidden),
  .greetalert.wo-greeting-card:not(.hidden) {
    margin-top: 4px !important;
  }

  .publisher-box + .order-by,
  form.publisher-box + .wow_content.order-by {
    margin-top: 8px !important;
  }

  #posts,
  #posts-loaded,
  #posts-laoded,
  .wo_group_profile #posts,
  .profile-container + .col-md-8 #posts {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .posts-container,
  .post-container,
  #posts > .post,
  #posts > .posts-container,
  #posts > .post-container,
  #posts .posts-container,
  #posts .post-container,
  #posts .post,
  #posts .post .panel,
  #posts .panel.panel-white,
  #posts .panel.panel-shadow,
  .wo_loading_post,
  .page-margin > .row > .middlecol .post,
  .page-margin > .row > .middlecol .post-container,
  .page-margin > .row > .middlecol .post .panel,
  .wo_group_profile .posts-container,
  .wo_group_profile .post-container,
  .wo_group_profile #posts .posts-container,
  .wo_group_profile #posts .post-container,
  .wo_group_profile #posts > .post,
  .wo_group_profile #posts .post,
  .wo_group_profile #posts .post .panel,
  .profile-container + .col-md-8 .posts-container,
  .profile-container + .col-md-8 .post-container,
  .profile-container + .col-md-8 #posts .post,
  .profile-container + .col-md-8 #posts .post .panel,
  .user-ad-container,
  #posts .user-ad-container {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
  }

  /* Gap lives on the outer post wrapper only */
  #posts .post-container > .post,
  #posts .post-container .panel {
    margin-bottom: 0 !important;
  }

  /* Hide post-type filter bar on mobile only (collapse leftover space) */
  #filterby-post,
  ul.filterby#filterby-post,
  #scroll_filter_click {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  /* Mobile-only Photo in bubble; hide Upload/Poll/More until expanded */
  body:not(.pub-focus) .publisher-box .sun_pub_mid_foot,
  body:not(.pub-focus) .sun_pub_mid_foot {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  body:not(.pub-focus) .publisher-box .wo-pub-composer-photo {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 48px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(.pub-focus) .publisher-box .wo-pub-composer-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 52px !important;
    padding: 8px 8px 8px 10px !important;
  }

  body:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText,
  body:not(.pub-focus) .publisher-box textarea.postText {
    flex: 1 1 0% !important;
    width: 0 !important; /* force flex shrink so photo fits after bubble */
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 20px !important;
    padding: 9px 14px !important;
    margin: 0 !important;
  }

  body:not(.pub-focus) .publisher-box .wo-pub-composer-row #loading_indicator,
  body:not(.pub-focus) .publisher-box #loading_indicator {
    display: none !important;
  }

  body:not(.pub-focus) .publisher-box .panel.post.panel-shadow.sun_pub_box {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Infinite scroll: hide manual load-more until "no more" message */
  #load-more-posts:not(:has(.no-more-posts-to-show)) {
    display: none !important;
  }

  #load-more-posts {
    margin-bottom: 8px !important;
  }
}

/* Single feed photos: show full image with letterboxing (no aggressive crop). */
.post-file.wo-single-photo-fit#fullsizeimg,
.post-file.wo-single-photo-fit #fullsizeimg {
  max-height: 520px;
  min-height: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-file.wo-single-photo-fit#fullsizeimg img.image-file-contain,
.post-file.wo-single-photo-fit #fullsizeimg img.image-file-contain {
  width: 100%;
  height: auto;
  max-height: 520px;
  min-height: 0 !important;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.post-file.wo-single-photo-fit#fullsizeimg:has(.wo-feed-video-fit),
.post-file.wo-single-photo-fit #fullsizeimg:has(.wo-feed-video-fit) {
  max-height: min(70vh, 600px);
  min-height: 0;
  overflow: visible;
}

/* Feed native video: full frame with side letterboxing for portrait clips. */
.wo-feed-video-fit {
  width: 100%;
  max-height: min(70vh, 600px);
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wo-feed-video-fit .plyr {
  width: 100%;
  max-height: min(70vh, 600px);
}
.wo-feed-video-fit .plyr__video-wrapper {
  width: 100%;
  max-height: min(70vh, 600px);
  height: auto !important;
  aspect-ratio: auto !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b;
}
.wo-feed-video-fit .plyr__video-wrapper--fixed-ratio {
  aspect-ratio: auto !important;
  height: auto !important;
  padding-bottom: 0 !important;
}
.wo-feed-video-fit .plyr__video-wrapper video,
.wo-feed-video-fit .plyr video {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(70vh, 600px) !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  background: #0b0b0b;
}
.wo-feed-video-fit .plyr__controls {
  z-index: 3;
}

/* Collage layouts */
#fullsizeimg:has(.wo_collage_grid),
#fullsizeimg:has(.wo_collage_hero_left),
#fullsizeimg:has(.wo_collage_hero_top),
#fullsizeimg:has(.wo_collage_row),
#fullsizeimg:has(.wo_collage_five) {
  max-height: none;
  overflow: hidden;
}

#fullsizeimg .album-image { float: none !important; position: relative; overflow: hidden; }
#fullsizeimg .album-image img.image-file {
  min-height: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 0;
  max-height: none !important;
}

.wo_collage_grid {
  display: grid;
  gap: 2px;
  width: 100%;
  overflow: hidden;
}
.wo_collage_grid.wo_collage-count-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 2 / 1;
  max-height: 612px;
}
.wo_collage_grid.wo_collage-count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1;
  max-height: 714px;
}
.wo_collage_grid.wo_collage-count-3 .album-image:first-child { grid-row: span 2; }
.wo_collage_grid.wo_collage-count-4,
.wo_collage_grid.wo_collage-count-5,
.wo_collage_grid.wo_collage-count-6,
.wo_collage_grid.wo_collage-count-7,
.wo_collage_grid.wo_collage-count-8,
.wo_collage_grid.wo_collage-count-9,
.wo_collage_grid.wo_collage-count-10 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1;
  max-height: 714px;
}
.wo_collage_grid .album-image { width: 100% !important; height: 100% !important; min-height: 0; }

.wo_collage_row { display: flex; gap: 2px; width: 100%; height: 340px; overflow: hidden; }
.wo_collage_row .album-image { flex: 1; min-width: 0; height: 100%; }

.wo_collage_hero_top { width: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 2px; max-height: 714px; }
.wo_collage_hero_top .album-image:first-child { width: 100%; flex: 1.4; min-height: 0; }
.wo_collage_hero_top .wo_collage_hero_top_row { display: flex; gap: 2px; flex: 1; min-height: 0; }
.wo_collage_hero_top .wo_collage_hero_top_row .album-image { flex: 1; min-width: 0; height: 100%; }

.wo_collage_hero_left { display: flex; gap: 2px; width: 100%; height: 476px; max-height: 612px; overflow: hidden; }
.wo_collage_hero_left .album-image:first-child { flex: 1.45; height: 100%; min-width: 0; }
.wo_collage_hero_left .wo_collage_hero_left_col { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; height: 100%; }
.wo_collage_hero_left .wo_collage_hero_left_col .album-image { flex: 1; height: auto; min-height: 0; }
.wo_collage_hero_left.wo_collage-count-2 { height: 408px; max-height: 476px; }
.wo_collage_hero_left.wo_collage-count-2 .album-image { flex: 1; height: 100%; min-width: 0; }

.wo_collage_five {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  aspect-ratio: 1;
  max-height: 714px;
  overflow: hidden;
}
.wo_collage_five_top {
  display: flex;
  gap: 2px;
  flex: 1.2;
  min-height: 0;
}
.wo_collage_five_top .album-image { flex: 1; min-width: 0; height: 100%; }
.wo_collage_five_bottom {
  display: flex;
  gap: 2px;
  flex: 1;
  min-height: 0;
}
.wo_collage_five_bottom .album-image { flex: 1; min-width: 0; height: 100%; }
.wo_collage_five .album-image { position: relative; overflow: hidden; }

#collage-preview {
  display: none;
  margin: 8px 12px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f2f5;
}
#collage-preview.is-visible { display: block; }
#collage-preview .album-image { position: relative; overflow: hidden; }
#collage-preview .album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#collage-preview .collage-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  pointer-events: none;
}

.collage-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  pointer-events: none;
  z-index: 2;
}
#collage-layout-picker { display: none; padding: 8px 12px 4px; gap: 8px; flex-wrap: wrap; }
#collage-layout-picker.is-visible { display: flex; }
.collage-layout-btn { border: 1px solid #ccd0d5; background: #f0f2f5; color: #050505; border-radius: 18px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.collage-layout-btn.is-active { background: #e7f3ff; border-color: #1877f2; color: #1877f2; }
#image-holder.ui-sortable .thumb-image-delete { cursor: grab; }
#productimage-holder.ui-sortable .thumb-image-old { cursor: grab; }
.wo-photo-order-hint { font-size: 12px; color: #65676b; padding: 4px 12px 8px; }
#edit-post .wo-photo-order-hint { padding: 0 10px 8px; }

/* Post action bar: reactions left, icon-only actions right */
.wo-fb-post-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 4;
  overflow: visible;
  padding: 0 4px;
}
.wo-fb-post-action-bar .pull-left,
.wo-fb-post-action-bar .pull-right {
  float: none !important;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 132px);
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding-left: 2px;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-stat {
  display: inline-flex !important;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1;
  overflow: visible;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo {
  display: inline-flex;
  align-items: center;
  overflow: visible;
  padding-left: 2px;
  background: transparent !important;
  line-height: 1;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo > .how_reacted {
  background: transparent !important;
}
.post .post-description .post-actions .like-stat.stat-item,
.post .post-description .wo-fb-post-action-bar__stats .like-stat.stat-item,
html.wo-night-mode .post .post-description .post-actions .like-stat.stat-item,
body.wo-night-mode .post .post-description .post-actions .like-stat.stat-item {
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate,
.post-reactions-icons.wo-fb-reactions-summary--animate,
span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate {
  animation: woFbReactionSummaryPop 0.34s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate .how_reacted,
span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate .how_reacted {
  animation: woFbReactionIconPop 0.3s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate .how_reacted:nth-child(1),
span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate .how_reacted:nth-child(1) { animation-delay: 0ms; }
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate .how_reacted:nth-child(2),
span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate .how_reacted:nth-child(2) { animation-delay: 30ms; }
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate .how_reacted:nth-child(3),
span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate .how_reacted:nth-child(3) { animation-delay: 55ms; }
.wo-fb-react-count--bump {
  animation: woFbReactCountBump 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: inline-block;
  transform-origin: center bottom;
}
@keyframes woFbReactionSummaryPop {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes woFbReactionIconPop {
  0% { transform: scale(0.45); opacity: 0; }
  70% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes woFbReactCountBump {
  0% { transform: translateY(3px) scale(0.85); opacity: 0.5; }
  60% { transform: translateY(-1px) scale(1.12); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate,
  span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate,
  .wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo.wo-fb-reactions-summary--animate .how_reacted,
  span[class*="post-reactions-icons-"].wo-fb-reactions-summary--animate .how_reacted,
  .wo-fb-react-count--bump {
    animation: none !important;
  }
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo > .how_reacted:nth-child(1) {
  margin-left: 0 !important;
}
.wo-fb-post-action-bar .wo-fb-post-comment-stat {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #65676b;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  min-height: 0 !important;
  min-width: 0 !important;
}
/* Beat dark.css / style.css tile background on comment count in post stats row */
.post .post-description .post-actions .wo-fb-post-comment-stat.stat-item,
.post .post-description .wo-fb-post-action-bar__stats .wo-fb-post-comment-stat {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
}
html.wo-night-mode .post .post-description .post-actions .wo-fb-post-comment-stat.stat-item,
body.wo-night-mode .post .post-description .post-actions .wo-fb-post-comment-stat.stat-item {
  background: transparent !important;
  box-shadow: none !important;
}
.wo-fb-post-action-bar .wo-fb-post-comment-stat.wo-fb-post-comment-stat--hidden {
  display: none !important;
}
.wo-fb-post-action-bar .wo-fb-post-comment-stat svg.wo-fb-action-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #65676b;
}
.wo-fb-post-action-bar .wo-fb-post-comment-count {
  font-size: 13px;
  font-weight: 400;
  color: #65676b;
  line-height: 1;
}
html.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-stat,
body.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-stat,
html.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-count,
body.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-count {
  color: #b0b3b8;
}
html.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-stat svg.wo-fb-action-icon,
body.wo-night-mode .wo-fb-post-action-bar .wo-fb-post-comment-stat svg.wo-fb-action-icon {
  color: #b0b3b8;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .like-emo,
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats .how_reacted,
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats a {
  pointer-events: auto;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__buttons,
.wo-fb-post-action-bar #wo_post_stat_button {
  position: relative;
  z-index: 12;
  flex: 0 0 auto;
  float: none !important;
  pointer-events: auto;
}
.wo-fb-post-action-bar .wo-fb-post-action-bar__stats.post-actions {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.wo-fb-post-action-bar #wo_post_stat_button {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  justify-content: flex-end;
  text-align: right;
  gap: 4px;
}
.wo-fb-post-action-bar #wo_post_stat_button .stat-item {
  flex: 0 0 auto;
  width: auto;
  min-width: 36px;
  min-height: 32px;
  padding: 4px 7px;
  line-height: 1 !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.wo-fb-post-action-bar #wo_post_stat_button .like-btn-mobile,
.wo-fb-post-action-bar #wo_post_stat_button .stat-item .like-btn-mobile {
  display: none !important;
}
.wo-fb-post-action-bar #wo_post_stat_button [class^="status-reaction-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wo-fb-post-action-bar #wo_post_stat_button svg,
.wo-fb-post-action-bar #wo_post_stat_button img,
.wo-fb-post-action-bar #wo_post_stat_button .inline_post_emoji,
.wo-fb-post-action-bar #wo_post_stat_button .inline_post_count_emoji {
  pointer-events: none;
}
.wo-fb-post-action-bar #wo_post_stat_button .stat-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  overflow: visible;
}
.wo-fb-post-action-bar .wo-reaction-post .like-btn-post svg,
.wo-fb-post-action-bar .wo-fb-action-icon {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

/* Flat icon buttons ? no tile backgrounds */
.wo-fb-post-action-bar #wo_post_stat_button .stat-item,
.wo-fb-post-action-bar #wo_post_stat_button .wo-reaction-post,
.wo-fb-post-action-bar #wo_post_stat_button .wo-fb-like-host,
.wo-fb-post-action-bar #wo_post_stat_button .btn.btn-default.stat-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 7px !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  width: auto !important;
}
.wo-fb-post-action-bar #wo_post_stat_button .stat-item:hover,
.wo-fb-post-action-bar #wo_post_stat_button .stat-item:active,
.wo-fb-post-action-bar #wo_post_stat_button .stat-item:focus,
.wo-fb-post-action-bar #wo_post_stat_button .dropdown.open .stat-item {
  background: transparent !important;
  box-shadow: none !important;
}
.wo-fb-post-action-bar #wo_post_stat_button .stat-item:active,
.wo-fb-post-action-bar #wo_post_stat_button .wo-fb-like-btn:active {
  background: rgba(0, 0, 0, 0.05) !important;
  border-radius: 50%;
}
html.wo-night-mode .wo-fb-post-action-bar #wo_post_stat_button .stat-item:active,
body.wo-night-mode .wo-fb-post-action-bar #wo_post_stat_button .stat-item:active,
html.wo-night-mode .wo-fb-post-action-bar #wo_post_stat_button .wo-fb-like-btn:active,
body.wo-night-mode .wo-fb-post-action-bar #wo_post_stat_button .wo-fb-like-btn:active {
  background: rgba(255, 255, 255, 0.08) !important;
}
.wo-fb-post-action-bar .wo-reaction {
  padding: 0 !important;
  max-width: none;
}
.wo-fb-post-action-bar .wo-fb-like-host {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 !important;
  max-width: none;
  overflow: visible;
  z-index: 10040;
  pointer-events: auto;
}
.wo-fb-post-action-bar .wo-fb-like-host .wo-fb-like-btn {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 2;
}
.wo-fb-post-action-bar .wo-reaction.wo-reaction-post {
  padding: 0 !important;
  max-width: none;
  position: relative;
  z-index: 6;
  overflow: visible;
  pointer-events: auto !important;
  isolation: isolate;
}
.wo-fb-post-action-bar .wo-reaction-post {
  max-width: none;
  padding: 0 !important;
  position: relative;
  z-index: 5;
}
.wo-fb-post-action-bar .like-btn-post {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  line-height: 1 !important;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 6px 8px;
  appearance: none;
  -webkit-appearance: none;
}
.wo-fb-post-action-bar button.wo-fb-like-btn:focus {
  outline: none;
  box-shadow: none;
}
.wo-fb-post-action-bar .like-btn-post .t_likes {
  display: none !important;
}

/* Filled like icon when active */
.wo-fb-post-action-bar .wo-fb-like-btn--active .wo-fb-action-icon--filled,
.wo-fb-post-action-bar .active-like-1 .wo-fb-action-icon--filled {
  color: #1877f2;
}
.wo-fb-post-action-bar [class*="status-reaction-"].active-like {
  font-size: 0;
  line-height: 0;
}
.wo-fb-post-action-bar [class*="status-reaction-"].active-like .inline_post_emoji,
.wo-fb-post-action-bar [class*="status-reaction-"].active-like svg,
.wo-fb-post-action-bar [class*="status-reaction-"].active-like img {
  font-size: initial;
  line-height: initial;
}

/* Instant like / reaction pop on the action button */
.wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"],
.wo-fb-post-action-bar .wo-fb-like-btn .wo-fb-like-react-pop,
.wo_reels_cont .wo-reels-like-host .wo-fb-like-btn.wo-fb-like-react-anim > span,
.wo_reels_cont .wo-reels-like-host .wo-fb-like-react-pop {
  animation: woFbLikeReactPop 0.45s cubic-bezier(0.34, 1.55, 0.64, 1);
  transform-origin: center center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] .inline_post_emoji,
.wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] img,
.wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] svg {
  animation: woFbLikeReactEmoji 0.45s cubic-bezier(0.34, 1.55, 0.64, 1);
  transform-origin: center center;
}
@keyframes woFbLikeReactPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.38); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
@keyframes woFbLikeReactEmoji {
  0% { transform: scale(0.55) rotate(-12deg); opacity: 0.65; }
  45% { transform: scale(1.22) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"],
  .wo-fb-post-action-bar .wo-fb-like-btn .wo-fb-like-react-pop,
  .wo_reels_cont .wo-reels-like-host .wo-fb-like-btn.wo-fb-like-react-anim > span,
  .wo_reels_cont .wo-reels-like-host .wo-fb-like-react-pop,
  .wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] .inline_post_emoji,
  .wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] img,
  .wo-fb-post-action-bar .wo-fb-like-btn.wo-fb-like-react-anim [class*="status-reaction-"] svg {
    animation: none !important;
  }
}

/* Classic horizontal reaction picker above the like button */
.wo-fb-post-action-bar .wo-reaction-post .reactions-box,
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box {
  position: absolute !important;
  pointer-events: auto;
  top: -54px !important;
  bottom: auto !important;
  right: 0 !important;
  left: auto !important;
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  white-space: nowrap !important;
  display: none;
  list-style: none;
  margin: 0;
  padding: 2px 4px !important;
  border-radius: 2em !important;
  background: #fff !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
  z-index: 10050;
  overflow: visible !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box;
}

/* Prevent the opening click from landing on a reaction as it animates in. */
.reactions-box.wo-reactions-arming {
  pointer-events: auto !important;
}
.reactions-box.wo-reactions-arming .reaction {
  pointer-events: none !important;
}
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-visible {
  display: flex !important;
}
.wo-fb-post-action-bar .wo-reaction-post .reactions-box[style*="display: block"] {
  display: flex !important;
}
.wo-fb-post-action-bar .wo-reaction-post .reactions-box .reaction,
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box .reaction {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  cursor: pointer;
}
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in {
  animation: woFbReactionsPopIn 0.22s cubic-bezier(0.49, 0, 0.46, 1) both;
}
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction {
  animation: slideUp 0.28s cubic-bezier(0.49, 0, 0.46, 1) both;
}
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(1) { animation-delay: 0ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(2) { animation-delay: 25ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(3) { animation-delay: 50ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(4) { animation-delay: 75ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(5) { animation-delay: 100ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(6) { animation-delay: 125ms; }
.wo-fb-post-action-bar .wo-fb-like-host .reactions-box.wo-reactions-animate-in .reaction:nth-child(7) { animation-delay: 150ms; }
@keyframes woFbReactionsPopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.wo-fb-post-action-bar .wo-fb-like-btn,
.post .post-footer .comments-list .like-btn-comment,
.post .post-footer .comments-list .like-btn-replay {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
@media (max-width: 767px) {
  .wo-fb-post-action-bar .wo-reaction-post .reactions-box,
  .wo-fb-post-action-bar .wo-fb-like-host .reactions-box {
    top: -40px !important;
    bottom: auto !important;
    left: auto !important;
    right: 0 !important;
    width: max-content !important;
    padding: 1px 2px !important;
    border-radius: 1.5em !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  }
  .wo-fb-post-action-bar .wo-reaction-post .reactions-box .reaction,
  .wo-fb-post-action-bar .wo-fb-like-host .reactions-box .reaction {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .wo-fb-post-action-bar .wo-fb-like-host .reactions-box .reaction img {
    padding: 2px !important;
  }
  .post .post-footer .comments-list .comment .comment-body .reactions-box,
  .post .post-footer .comments-list .reply .comment-body .reactions-box,
  .wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .reactions-box {
    padding: 1px 2px !important;
    max-width: min(280px, calc(100vw - 20px)) !important;
  }
  .post .post-footer .comments-list .comment .comment-body .reactions-box .reaction,
  .post .post-footer .comments-list .reply .comment-body .reactions-box .reaction,
  .wo_imagecombo_lbox .lightbox-post-footer .comments-list .comment .comment-body .reactions-box .reaction {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}
@media (max-width: 345px) {
  .wo-fb-post-action-bar .wo-reaction-post .reactions-box,
  .wo-fb-post-action-bar .wo-fb-like-host .reactions-box {
    width: max-content !important;
    top: -38px !important;
    bottom: auto !important;
    left: auto !important;
    right: 0 !important;
  }
  .wo-fb-post-action-bar .wo-reaction-post .reactions-box .reaction,
  .wo-fb-post-action-bar .wo-fb-like-host .reactions-box .reaction {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
}
html.wo-night-mode .wo-fb-post-action-bar .wo-reaction-post .reactions-box,
html.wo-night-mode .wo-fb-post-action-bar .wo-fb-like-host .reactions-box,
body.wo-night-mode .wo-fb-post-action-bar .wo-reaction-post .reactions-box,
body.wo-night-mode .wo-fb-post-action-bar .wo-fb-like-host .reactions-box {
  background: #424242 !important;
}
.wo-fb-post-action-bar {
  overflow: visible;
  margin: 0 !important;
  padding: 0 8px !important;
}
.wo-fb-post-action-bar #wo_post_stat_button {
  overflow: visible;
}
.post .post-footer:has(.wo-fb-post-action-bar) {
  overflow: visible;
}

/* Remove hr lines + gaps around reaction/share bar ? comment composer */
.post .post-description > hr,
.post-description hr {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.post .post-description {
  padding-bottom: 0 !important;
}
.post .post-footer.post-comments,
.post .post-footer.post-likes,
.post .post-footer.post-wonders,
.post .post-footer.post-shared,
.post .post-footer.post-reacted {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 10px !important;
  background: transparent !important;
  overflow: visible !important;
}
.post .post-footer.post-comments #wo_comment_combo,
#wo_comment_combo {
  border-top: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 4px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

@media (max-width: 420px) {
  .wo-fb-post-action-bar #wo_post_stat_button {
    width: auto !important;
    margin: 0 !important;
  }
}

/* Privacy badge before post timestamp */
.post-heading h6 .wo-post-privacy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #9197a3;
  line-height: 1;
  margin-right: 1px;
}
.post-heading h6 .wo-post-privacy-badge svg {
  display: block;
  width: 14px;
  height: 14px;
}
.post-heading h6 .wo-post-meta-sep {
  margin: 0 1px;
}
.post-heading h6 .wo-post-time-link {
  color: #9197a3;
  text-decoration: none;
}
.post-heading h6 .wo-post-time-link:hover,
.post-heading h6 .wo-post-time-link:focus {
  color: #9197a3;
  text-decoration: underline;
}
.post-heading h6 .wo-post-time {
  cursor: default;
}

/* Sidebar suggested friends / pages ? show action button icons */
.sidebar #wo_sidebar_users .btn-default svg,
.sidebar .wo_sidebar_pages .user-follow-button button svg,
.wo-hp-custom-block #wo_sidebar_users .btn-default svg,
.wo-hp-custom-block .wo_sidebar_pages .user-follow-button button svg {
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  margin: -2px 4px 0 0 !important;
  vertical-align: middle;
  fill: currentColor;
  stroke: currentColor;
}
.sidebar #wo_sidebar_users .btn-default .button-text,
.sidebar .wo_sidebar_pages .user-follow-button button .button-text,
.wo-hp-custom-block #wo_sidebar_users .btn-default .button-text,
.wo-hp-custom-block .wo_sidebar_pages .user-follow-button button .button-text {
  vertical-align: middle;
  font-size: 11px !important;
  letter-spacing: 0;
  line-height: 1.15;
}
.sidebar #wo_sidebar_users .btn-default,
.sidebar .wo_sidebar_pages .user-follow-button button,
.wo-hp-custom-block #wo_sidebar_users .btn-default,
.wo-hp-custom-block .wo_sidebar_pages .user-follow-button button {
  font-size: 11px !important;
  padding: 2px 6px !important;
}

/* Publisher box ? collapsed comment-style bubble next to avatar */
body:not(.pub-focus) .publisher-box .wo-pub-composer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 10px 10px 10px;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .wo-pub-composer-avatar-link {
  flex: 0 0 41px;
  display: block;
  line-height: 0;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .post-avatar {
  position: static;
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  margin: 0;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  height: 41px !important;
  min-height: 41px !important;
  max-height: 41px !important;
  padding: 10px 12px !important;
  margin: 0;
  line-height: 21px;
  resize: none;
  overflow: hidden;
  background-color: #f0f2f5 !important;
  border: 1px solid #e4e6eb !important;
  border-radius: 21px !important;
  box-shadow: none !important;
  color: #65676b !important;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText::placeholder {
  color: #65676b;
  opacity: 1;
}

/* Desktop: never show composer Photo shortcut; mid-foot actions stay as before */
@media (min-width: 769px) {
  .wo-pub-composer-photo,
  body:not(.pub-focus) .publisher-box .wo-pub-composer-photo,
  body.pub-focus .publisher-box .wo-pub-composer-photo {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  body:not(.pub-focus) .publisher-box .sun_pub_mid_foot:not(.wo-pub-actions),
  body:not(.pub-focus) .sun_pub_mid_foot:not(.wo-pub-actions) {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }
}

/* Compact FB photo shortcut ? mobile-only in collapsed bubble; desktop keeps mid-foot */
.wo-pub-composer-photo {
  display: none !important;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 0 4px;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: var(--fb-text-secondary, #65676b);
  line-height: 1;
}
.wo-pub-composer-photo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}
.wo-pub-composer-photo-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.wo-pub-composer-photo-label {
  font-size: 12px;
  font-weight: 500;
  color: inherit;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .add-emoticons {
  position: static;
  flex: 0 0 auto;
  top: auto;
  right: auto;
  margin: 0;
  display: none;
}
body.pub-focus .publisher-box .wo-pub-composer-row .add-emoticons {
  display: block;
}
body.pub-focus .publisher-box .wo-pub-composer-photo {
  display: none !important;
}
body:not(.pub-focus) .publisher-box .wo-pub-composer-row .add-emoticons .dropdown-toggle {
  width: 32px;
  height: 32px;
  line-height: 32px;
  background: transparent;
  box-shadow: none;
}
body:not(.pub-focus) .publisher-box .sun_pub_name {
  display: none !important;
}
body.pub-focus .publisher-box .wo-pub-composer-row {
  display: block;
  min-height: 0;
  padding: 0;
}
html.wo-night-mode body:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText,
body.wo-night-mode:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText {
  background-color: #3a3b3c !important;
  border-color: #3a3b3c !important;
  color: #b0b3b8 !important;
}
html.wo-night-mode body:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText::placeholder,
body.wo-night-mode:not(.pub-focus) .publisher-box .wo-pub-composer-row .postText::placeholder {
  color: #b0b3b8;
}

/* ?? Sidebar trending card ?? */
.wo-trending-card {
  margin-top: 16px;
  margin-bottom: 12px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--fb-border);
  background: var(--fb-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wo-trending-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.1) 0%, rgba(232, 62, 140, 0.08) 55%, rgba(247, 119, 6, 0.1) 100%);
  border-bottom: 1px solid var(--fb-border);
}

.wo-trending-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1877f2 0%, #e83e8c 100%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.35);
}

.wo-trending-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
  line-height: 1.2;
}

.wo-trending-card__list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 10px;
  counter-reset: none;
}

.wo-trending-card__item {
  margin: 0;
  padding: 0;
}

.wo-trending-card__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wo-trending-card__link:hover {
  background: rgba(24, 119, 242, 0.08);
  transform: translateX(2px);
}

.wo-trending-card__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--fb-text-secondary);
  background: var(--fb-bg);
  flex-shrink: 0;
}

.wo-trending-card__rank--top1 {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.wo-trending-card__rank--top2 {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.wo-trending-card__rank--top3 {
  color: #fff;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.wo-trending-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wo-trending-card__tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-trending-card__meta {
  font-size: 12px;
  color: var(--fb-text-secondary);
  line-height: 1.2;
}

.wo-trending-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--fb-text-secondary);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.wo-trending-card__link:hover .wo-trending-card__arrow {
  opacity: 1;
  transform: translateY(0);
  background: rgba(24, 119, 242, 0.12);
  color: var(--fb-blue);
}

html.wo-night-mode .wo-trending-card__header,
body.wo-night-mode .wo-trending-card__header {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.18) 0%, rgba(232, 62, 140, 0.12) 55%, rgba(247, 119, 6, 0.14) 100%);
}

html.wo-night-mode .wo-trending-card__link:hover,
body.wo-night-mode .wo-trending-card__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.wo-night-mode .wo-trending-card__rank:not([class*="--top"]),
body.wo-night-mode .wo-trending-card__rank:not([class*="--top"]) {
  background: #3a3b3c;
  color: #b0b3b8;
}

.left-sidebar .wo-trending-card {
  box-shadow: none;
}

.rightcol > .wo-trending-card,
.rightcol > .wo-pymk-card,
.rightcol > .wo-pages-card,
.rightcol > .wo-hp-sidebar-card {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.sidebar.rightcol > .wow_content,
.sidebar.rightcol > .list-group,
.sidebar.rightcol > .featured-users,
.sidebar.rightcol > div > .list-group,
.wo-group-sidebar-col > .wow_content,
.wo-group-sidebar-col > .list-group,
.wo-group-sidebar-col > div > .wow_content,
.wo-group-sidebar-col > div > .list-group {
  margin-bottom: 6px !important;
}

/* ?? Sidebar people you may know card ?? */
.wo-pymk-card {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--fb-border);
  background: var(--fb-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wo-pymk-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  background: linear-gradient(135deg, rgba(66, 183, 42, 0.1) 0%, rgba(24, 119, 242, 0.08) 55%, rgba(139, 92, 246, 0.1) 100%);
  border-bottom: 1px solid var(--fb-border);
}

.wo-pymk-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #42b72a 0%, #1877f2 100%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(66, 183, 42, 0.3);
}

.wo-pymk-card__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
  line-height: 1.2;
}

.wo-pymk-card__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: var(--fb-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wo-pymk-card__refresh:hover {
  background: rgba(24, 119, 242, 0.12);
  color: var(--fb-blue);
}

.wo-pymk-card__body {
  margin: 0 !important;
  padding: 6px 8px 10px;
}

.wo-pymk-card .wow_side_usrs {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
}

.wo-pymk-card #wo_sidebar_users {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin: 0;
  border: none;
  border-radius: 10px;
  text-align: left;
  background: transparent;
  transition: background 0.15s ease;
}

.wo-pymk-card #wo_sidebar_users:hover {
  background: rgba(24, 119, 242, 0.08);
  box-shadow: none;
}

.wo-pymk-card #wo_sidebar_users .avatar {
  flex-shrink: 0;
  margin: 0;
}

.wo-pymk-card #wo_sidebar_users .avatar img {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.wo-pymk-card #wo_sidebar_users .user-popover {
  flex: 1;
  min-width: 0;
}

.wo-pymk-card #wo_sidebar_users .wo_user_link_name {
  margin: 0;
  text-decoration: none !important;
}

.wo-pymk-card #wo_sidebar_users .wo_user_link_name .user-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-pymk-card #wo_sidebar_users .user-follow-button {
  flex-shrink: 0;
  margin-left: auto;
}

.wo-pymk-card #wo_sidebar_users .user-follow-button .button-text {
  display: none !important;
}

.wo-pymk-card #wo_sidebar_users .user-follow-button .btn,
.wo-pymk-card #wo_sidebar_users .user-follow-button button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.wo-pymk-card #wo_sidebar_users .user-follow-button .btn svg,
.wo-pymk-card #wo_sidebar_users .user-follow-button button svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex-shrink: 0;
}

html.wo-night-mode .wo-pymk-card__header,
body.wo-night-mode .wo-pymk-card__header {
  background: linear-gradient(135deg, rgba(66, 183, 42, 0.16) 0%, rgba(24, 119, 242, 0.14) 55%, rgba(139, 92, 246, 0.14) 100%);
}

html.wo-night-mode .wo-pymk-card__refresh,
body.wo-night-mode .wo-pymk-card__refresh {
  background: rgba(255, 255, 255, 0.08);
  color: #b0b3b8;
}

html.wo-night-mode .wo-pymk-card #wo_sidebar_users:hover,
body.wo-night-mode .wo-pymk-card #wo_sidebar_users:hover {
  background: rgba(255, 255, 255, 0.06);
}

.left-sidebar .wo-pymk-card {
  box-shadow: none;
}

/* ?? Sidebar pages you may like card ?? */
.wo-pages-card {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--fb-border);
  background: var(--fb-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wo-pages-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(24, 119, 242, 0.08) 55%, rgba(245, 158, 11, 0.1) 100%);
  border-bottom: 1px solid var(--fb-border);
}

.wo-pages-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6 0%, #1877f2 100%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
}

.wo-pages-card__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
  line-height: 1.2;
}

.wo-pages-card__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--fb-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.wo-pages-card__refresh:hover {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.wo-pages-card__body {
  padding: 8px 10px 10px;
}

.wo-pages-card .sidebar-pages-may-know-container .wo_sidebar_pages {
  margin-bottom: 8px;
}

.wo-pages-card .sidebar-pages-may-know-container .wo_sidebar_pages:last-child {
  margin-bottom: 0;
}

.wo-hp-sidebar-card.wo-hp-custom-block {
  list-style: none;
  padding: 0 !important;
}

.wo-hp-sidebar-card .wo-hp-custom-block-body {
  padding: 8px 10px 10px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wo-hp-sidebar-card .wo-hp-block-title-row .wo-hp-block-title-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
}

html.wo-night-mode .wo-pages-card__header,
body.wo-night-mode .wo-pages-card__header {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(24, 119, 242, 0.12) 55%, rgba(245, 158, 11, 0.14) 100%);
}

html.wo-night-mode .wo-pages-card__refresh,
body.wo-night-mode .wo-pages-card__refresh {
  background: rgba(255, 255, 255, 0.08);
  color: #b0b3b8;
}

.left-sidebar .wo-pages-card {
  box-shadow: none;
}

/* ?? Sidebar suggested groups card (homepage block) ?? */
.wo-groups-card {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--fb-border);
  background: var(--fb-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wo-groups-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(24, 119, 242, 0.08) 55%, rgba(66, 183, 42, 0.1) 100%);
  border-bottom: 1px solid var(--fb-border);
}

.wo-groups-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #1877f2 100%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.wo-groups-card__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
  line-height: 1.2;
}

.wo-groups-card__body {
  padding: 8px 10px 10px;
}

.rightcol > .wo-groups-card {
  margin-bottom: 6px !important;
}

/* Group sidebar ? recent media grid (green header accent) */
.wo-trending-card--green .wo-trending-card__header {
  background: linear-gradient(135deg, rgba(66, 183, 42, 0.14) 0%, rgba(16, 185, 129, 0.1) 55%, rgba(34, 197, 94, 0.08) 100%);
}

.wo-trending-card--green .wo-trending-card__badge {
  background: linear-gradient(135deg, #42b72a 0%, #10b981 100%);
  box-shadow: 0 2px 8px rgba(66, 183, 42, 0.35);
}

.wo_group_profile .wo-fb-group-recent-media-card.wo-trending-card {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.wo-fb-group-recent-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 8px 10px 10px;
}

.wo-fb-group-recent-media-item {
  display: block;
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fb-surface-muted, #f0f2f5);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wo-fb-group-recent-media-item:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wo-fb-group-recent-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.wo-fb-group-recent-media-item--blur img {
  filter: blur(12px);
}

html.wo-night-mode .wo-trending-card--green .wo-trending-card__header,
body.wo-night-mode .wo-trending-card--green .wo-trending-card__header {
  background: linear-gradient(135deg, rgba(66, 183, 42, 0.2) 0%, rgba(16, 185, 129, 0.14) 55%, rgba(34, 197, 94, 0.1) 100%);
}

html.wo-night-mode .wo-fb-group-recent-media-item,
body.wo-night-mode .wo-fb-group-recent-media-item {
  background: #3a3b3c;
}

/* Lightbox sidebar ? modern post actions + comment composer */
.wo_imagecombo_lbox .wow_lightbox_right {
  overflow-x: hidden;
  max-width: 100%;
}

.wo_imagecombo_lbox .comment-section-inner {
  overflow: visible;
  max-width: 100%;
}

.wo_imagecombo_lbox .comment-inner-middle {
  overflow: visible;
  max-width: 100%;
  position: relative;
  z-index: 6;
}

.wo_imagecombo_lbox .comment-section .stats,
.wo_imagecombo_lbox .comment-section .wo-fb-lightbox-action-bar .stats,
.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .stats,
.lightbox-container .comment-section #wo_post_stat_button.stats,
.wo_imagecombo_lbox .comment-section #wo_post_stat_button.stats {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar {
  border-bottom: none !important;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px 8px;
  border: none;
  background: transparent;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  overflow: visible;
  position: relative;
  z-index: 8;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-post-action-bar__stats {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 48px);
  overflow: hidden;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-post-action-bar__buttons,
.wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button {
  width: auto;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .stat-item,
.wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .wo-fb-like-host,
.wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .wo-fb-like-btn {
  width: auto !important;
  min-width: 0;
  padding: 6px 10px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 600;
  text-decoration: none !important;
  pointer-events: auto !important;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-like-host {
  position: relative;
  overflow: visible;
  z-index: 9;
}

.wo_imagecombo_lbox .comment-section .stats .stat-item {
  width: auto !important;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-like-host .reactions-box {
  top: auto !important;
  left: auto !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  transform: none;
  z-index: 10060 !important;
  pointer-events: auto !important;
}

.wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-like-host .reactions-box .reaction {
  pointer-events: auto !important;
  cursor: pointer;
}

.wo-lightbox-comment-compose.post-comments {
  border-top: 1px solid var(--fb-border, #e4e6eb);
  padding: 10px 12px 12px;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  background: var(--fb-surface, #fff);
  position: relative;
  z-index: 5;
}

.wo-lightbox-comment-combo {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  transition: background 0.2s ease;
}

.wo-lightbox-comment-combo.comment-toggle {
  background: transparent;
}

.wo-lightbox-comment-combo__main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wo-lightbox-comment-combo .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  align-self: center;
}

.wo-lightbox-comment-combo .comment-textarea {
  flex: 1;
  min-width: 0;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 120px;
  margin: 0 !important;
  padding: 4px 12px !important;
  border: none !important;
  border-radius: 18px !important;
  background: var(--fb-surface-muted, #f0f2f5) !important;
  color: var(--fb-text, #050505);
  resize: none;
  line-height: 20px;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow-y: auto;
}

.wo-lightbox-comment-combo.comment-toggle .comment-textarea {
  background: var(--fb-surface-muted, #f0f2f5) !important;
}

.wo-lightbox-comment-combo .comment_combo_footer {
  display: block;
  padding: 8px 0 0 40px;
  margin: 0;
  background: transparent;
}

.wo-lightbox-comment-combo.comment-toggle .comment_combo_footer {
  display: block;
}

.wo-lightbox-comment-combo__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.wo-lightbox-comment-combo__tools > div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
}

.wo-lightbox-comment-combo .emo-lightbox-comment-container-,
.wo-lightbox-comment-combo [class*="emo-lightbox-comment-container-"] {
  max-height: 220px;
  overflow-y: auto;
}

html.wo-night-mode .wo-lightbox-comment-compose.post-comments,
body.wo-night-mode .wo-lightbox-comment-compose.post-comments {
  background: var(--fb-surface, #242526);
  border-top-color: var(--fb-border, #3a3b3c);
}

html.wo-night-mode .wo-lightbox-comment-combo .comment-textarea,
body.wo-night-mode .wo-lightbox-comment-combo .comment-textarea {
  background: var(--fb-surface-muted, #3a3b3c) !important;
  color: var(--fb-text, #e4e6eb);
}

html.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .stat-item,
html.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .wo-fb-like-btn,
body.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .stat-item,
body.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar #wo_post_stat_button .wo-fb-like-btn {
  background: transparent !important;
  color: var(--fb-text-muted, #b0b3b8);
}

html.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-like-host .reactions-box,
body.wo-night-mode .wo_imagecombo_lbox .wo-fb-lightbox-action-bar .wo-fb-like-host .reactions-box {
  background: var(--fb-surface-elevated, #3a3b3c);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.wo_imagecombo_lbox .wo-lightbox-comment-combo .comment-textarea.lighbox,
.wo_imagecombo_lbox .lightbox-post-footer.wo-lightbox-comment-compose .comment-textarea,
.wo_imagecombo_lbox .lightbox-post-footer.post-comments .lighbox.comment-textarea,
.wo_imagecombo_lbox .wo-lightbox-comment-combo .comment-textarea.form-control {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px;
}

.wo-lightbox-comment-combo:not(.comment-toggle) .comment-textarea {
  max-height: 32px !important;
  overflow: hidden;
}

/* Dark mode ? flat surfaces without block outlines (revert via _backups/20260603-sticky-featured-dark-borders) */
html.wo-night-mode .post .panel,
body.wo-night-mode .post .panel,
html.wo-night-mode .wow_content,
body.wo-night-mode .wow_content,
html.wo-night-mode .wow_content.negg_padd,
body.wo-night-mode .wow_content.negg_padd,
html.wo-night-mode .wo-trending-card,
body.wo-night-mode .wo-trending-card,
html.wo-night-mode .wo-fb-profile-info-card,
body.wo-night-mode .wo-fb-profile-info-card,
html.wo-night-mode .wo-fb-group-sidebar-card,
body.wo-night-mode .wo-fb-group-sidebar-card,
html.wo-night-mode .wo-group-featured-box,
body.wo-night-mode .wo-group-featured-box,
html.wo-night-mode .wo-group-featured-card,
body.wo-night-mode .wo-group-featured-card,
html.wo-night-mode .wo-groups-card,
body.wo-night-mode .wo-groups-card,
html.wo-night-mode .wo-pages-card,
body.wo-night-mode .wo-pages-card,
html.wo-night-mode .wo-pymk-card,
body.wo-night-mode .wo-pymk-card,
html.wo-night-mode .wo-hp-sidebar-card,
body.wo-night-mode .wo-hp-sidebar-card,
html.wo-night-mode .group-post-search-wrap,
body.wo-night-mode .group-post-search-wrap,
html.wo-night-mode .wo_group_profile .wo-fb-group-card.card.hovercard,
body.wo-night-mode .wo_group_profile .wo-fb-group-card.card.hovercard,
html.wo-night-mode .fake_ad_post,
body.wo-night-mode .fake_ad_post,
html.wo-night-mode .publisher-box,
body.wo-night-mode .publisher-box {
  border: none !important;
  box-shadow: none !important;
}

html.wo-night-mode .wo-group-featured-box__head,
body.wo-night-mode .wo-group-featured-box__head,
html.wo-night-mode .wo-group-featured-box:not(.is-collapsed) .wo-group-featured-box__head,
body.wo-night-mode .wo-group-featured-box:not(.is-collapsed) .wo-group-featured-box__head,
html.wo-night-mode .wo-group-featured-card__engagement,
body.wo-night-mode .wo-group-featured-card__engagement,
html.wo-night-mode .wo-trending-card__header,
body.wo-night-mode .wo-trending-card__header,
html.wo-night-mode .wo-groups-card__header,
body.wo-night-mode .wo-groups-card__header,
html.wo-night-mode .wo-pages-card__header,
body.wo-night-mode .wo-pages-card__header {
  border-bottom: none !important;
}

/* Group page ? center the full group layout in the viewport (compact chat rail on the right) */
@media (min-width: 992px) {
  /* Hide the standard full chat pane on group pages until rail mode is applied (AJAX nav) */
  body.wo-page-group .chat-all-container:not(.wo-group-chat-rail) .chat-container {
    visibility: hidden;
    pointer-events: none;
  }

  body.wo-page-group {
    --wo-group-chat-rail-width: 60px;
    --wo-group-page-rail-space: calc(var(--wo-group-chat-rail-width) + 16px);
    --wo-group-page-block-width: calc(var(--fb-group-max-width) + 20px);
  }

  body.wo-page-group .content-container.container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  body.wo-page-group .content-container.container #contnet {
    width: 100%;
    max-width: var(--wo-group-page-block-width);
    margin-left: max(12px, calc((100vw - var(--wo-group-page-block-width) - var(--wo-group-page-rail-space)) / 2));
    margin-right: auto;
    box-sizing: border-box;
  }

  body.wo-page-group .row.page-margin.wo_group_profile {
    width: 100%;
    max-width: var(--wo-group-page-block-width);
    margin-left: 0;
    margin-right: 0;
  }

  body.wo-page-group .wo_group_profile .profile-container {
    max-width: var(--wo-group-page-block-width);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.wo-lang-rtl.wo-page-group .content-container.container #contnet {
    margin-left: auto;
    margin-right: max(12px, calc((100vw - var(--wo-group-page-block-width) - var(--wo-group-page-rail-space)) / 2));
  }
}

/* Wide desktop group-management rail. It is never rendered for ordinary members. */
.wo-group-management-rail {
  display: none;
}

@media (min-width: 1500px) {
  body.wo-page-group-management {
    --wo-group-management-rail-width: 272px;
    --wo-group-management-rail-gap: 16px;
    --wo-group-management-left-space: calc(var(--wo-group-management-rail-width) + var(--wo-group-management-rail-gap));
    --wo-group-management-right-space: 0px;
    --wo-group-page-block-width: calc(var(--fb-group-max-width, 1080px) + 20px);
  }

  body.wo-page-group-management .wo-group-management-rail {
    position: fixed;
    top: var(--fb-navbar-height, 56px);
    bottom: 0;
    left: 0;
    z-index: 67;
    display: block;
    width: var(--wo-group-management-rail-width);
    border-right: 1px solid var(--fb-border, #d8dadf);
    background: var(--card-bg, #fff);
    color: var(--text-primary, #050505);
  }

  body.wo-lang-rtl.wo-page-group-management .wo-group-management-rail {
    right: 0;
    left: auto;
    border-right: 0;
    border-left: 1px solid var(--fb-border, #d8dadf);
  }

  body.wo-page-group-management .wo-group-management-rail__scroll {
    height: 100%;
    padding: 14px 10px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
    color-scheme: light;
  }

  body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar {
    width: 10px;
  }

  body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.36);
  }

  html.wo-night-mode body.wo-page-group-management .wo-group-management-rail__scroll,
  body.wo-night-mode.wo-page-group-management .wo-group-management-rail__scroll,
  body.night-mode.wo-page-group-management .wo-group-management-rail__scroll {
    color-scheme: dark;
    scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
  }

  html.wo-night-mode body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb,
  body.wo-night-mode.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb,
  body.night-mode.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.28);
  }

  html.wo-night-mode body.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb:hover,
  body.wo-night-mode.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb:hover,
  body.night-mode.wo-page-group-management .wo-group-management-rail__scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.42);
  }

  body.wo-page-group-management .wo-group-management-rail__identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 4px 8px 14px;
    color: inherit;
    text-decoration: none;
  }

  body.wo-page-group-management .wo-group-management-rail__identity img {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
  }

  body.wo-page-group-management .wo-group-management-rail__identity span {
    display: block;
    min-width: 0;
  }

  body.wo-page-group-management .wo-group-management-rail__identity strong,
  body.wo-page-group-management .wo-group-management-rail__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.wo-page-group-management .wo-group-management-rail__identity strong {
    font-size: 15px;
    line-height: 1.3;
  }

  body.wo-page-group-management .wo-group-management-rail__identity small {
    margin-top: 2px;
    color: var(--text-secondary, #65676b);
    font-size: 12px;
  }

  body.wo-page-group-management .wo-group-management-rail__nav {
    display: block;
  }

  body.wo-page-group-management .wo-group-management-rail__section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--fb-border, #d8dadf);
  }

  body.wo-page-group-management .wo-group-management-rail__section h2 {
    margin: 0;
    padding: 5px 10px 7px;
    color: var(--text-secondary, #65676b);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .035em;
  }

  body.wo-page-group-management .wo-group-management-rail__link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    margin: 2px 0;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--text-primary, #050505);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
  }

  body.wo-page-group-management .wo-group-management-rail__link:hover,
  body.wo-page-group-management .wo-group-management-rail__link:focus,
  body.wo-page-group-management .wo-group-management-rail__link.is-active {
    background: var(--fb-hover, rgba(0, 0, 0, .06));
    color: var(--text-primary, #050505);
  }

  body.wo-page-group-management .wo-group-management-rail__link.is-active {
    color: var(--main, #1877f2);
  }

  body.wo-page-group-management .wo-group-management-rail__link.is-danger {
    color: #d93025;
  }

  body.wo-page-group-management .wo-group-management-rail__icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fb-control-bg, #e4e6eb);
  }

  body.wo-page-group-management .wo-group-management-rail__icon svg {
    width: 19px;
    height: 19px;
  }

  html.wo-night-mode body.wo-page-group-management .wo-group-management-rail__icon,
  body.wo-night-mode.wo-page-group-management .wo-group-management-rail__icon,
  body.night-mode.wo-page-group-management .wo-group-management-rail__icon {
    background: #3a3b3c;
    color: #e4e6eb;
  }

  body.wo-page-group-management .wo-group-management-rail__link.is-active .wo-group-management-rail__icon {
    background: color-mix(in srgb, var(--main, #1877f2) 14%, transparent);
  }

  body.wo-page-group-management .wo-group-management-rail__link > b {
    min-width: 22px;
    margin-inline-start: auto;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--main, #1877f2);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }

  body.wo-page-group-management .content-container.container #contnet {
    width: 100%;
    max-width: var(--wo-group-page-block-width);
    margin-left: calc(var(--wo-group-management-left-space) + max(12px, calc((100vw - var(--wo-group-management-left-space) - var(--wo-group-management-right-space) - var(--wo-group-page-block-width)) / 2)));
    margin-right: auto;
    box-sizing: border-box;
  }

  body.wo-lang-rtl.wo-page-group-management .content-container.container #contnet {
    margin-left: auto;
    margin-right: calc(var(--wo-group-management-left-space) + max(12px, calc((100vw - var(--wo-group-management-left-space) - var(--wo-group-management-right-space) - var(--wo-group-page-block-width)) / 2)));
  }

  body.wo-page-group-management:not(.wo-page-group) .content-container.container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  body.wo-page-group-management .wo_group_setting_layout {
    width: 100%;
    max-width: var(--wo-group-page-block-width);
    margin-left: 0;
    margin-right: 0;
  }

  body.wo-page-group-management .wo_group_setting_layout .setting-panel {
    margin-left: 0;
    margin-right: 0;
  }

  body.wo-page-group-management .wo_group_setting_layout--management-rail .wo_new_sett_sidee {
    display: none !important;
  }

  body.wo-page-group-management .wo_group_setting_layout--management-rail .wo_new_sett_pagee {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.wo-page-group-management:not(.wo-page-group) .chat-all-container .chat-container {
    display: none !important;
  }
}

@media (min-width: 1500px) and (max-width: 1659px) {
  body.wo-page-group-management .wo-group-chat-rail .chat-container,
  body.wo-page-group-management .wo-group-chat-rail .chat-container.wo-group-chat-rail-mode {
    display: none !important;
  }
}

@media (min-width: 1660px) {
  body.wo-page-group-management.wo-page-group {
    --wo-group-management-right-space: var(--wo-group-page-rail-space, 76px);
  }
}

/* Group page ? compact vertical chat rail (revert via _backups/20260603-group-chat-rail) */
@media (min-width: 768px) {
  body.wo-page-group .wo-group-chat-rail .chat-container,
  body.wo-page-group .wo-group-chat-rail .chat-container.wo-group-chat-rail-mode {
    --wo-group-chat-rail-width: 60px;
    --wo-group-chat-rail-avatar: 44px;
    width: var(--wo-group-chat-rail-width);
    min-width: var(--wo-group-chat-rail-width);
    max-width: var(--wo-group-chat-rail-width);
    height: auto;
    max-height: calc(100vh - var(--fb-navbar-height, 56px) - 12px);
    top: calc(var(--fb-navbar-height, 56px) + 6px);
    bottom: auto;
    right: 8px;
    padding: 8px 4px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
    z-index: 66;
  }

  body.wo-page-group .wo-group-chat-rail .chat-container .online-toggle,
  body.wo-page-group .wo-group-chat-rail .chat-container .wow_chat_search,
  body.wo-page-group .wo-group-chat-rail .chat-container .chat-opacity {
    display: none !important;
  }

  body.wo-page-group .wo-group-chat-rail .online-content-toggler {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: calc(100vh - var(--fb-navbar-height, 56px) - 120px);
    overflow-x: hidden;
    overflow-y: auto;
    flex: none;
    scrollbar-width: thin;
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li {
    float: none;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li a {
    width: var(--wo-group-chat-rail-avatar);
    height: var(--wo-group-chat-rail-avatar);
    min-width: var(--wo-group-chat-rail-avatar);
    padding: 0;
    margin: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fb-text-secondary, #65676b);
    background: var(--card-bg, #fff) !important;
    box-shadow: 0 0 0 1px var(--fb-border, #e4e6eb);
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li a:hover {
    background: var(--fb-surface-muted, #f0f2f5) !important;
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li.active a {
    background: var(--card-bg, #fff) !important;
    box-shadow: 0 0 0 2px var(--fb-blue, #1877f2);
    color: var(--fb-blue, #1877f2);
  }

  body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li a svg {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  body.wo-page-group .wo-group-chat-rail .tab-content {
    width: 100%;
  }

  body.wo-page-group .wo-group-chat-rail .online-users,
  body.wo-page-group .wo-group-chat-rail .offline-users,
  body.wo-page-group .wo-group-chat-rail .chat_groups {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user {
    position: relative;
    width: 100%;
    padding: 4px 0;
    margin: 0;
    background: transparent !important;
    border-radius: 0;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user:hover {
    background: transparent !important;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .user-info {
    position: relative;
    display: block;
    width: var(--wo-group-chat-rail-avatar);
    height: var(--wo-group-chat-rail-avatar);
    margin: 0 auto;
    padding: 0;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user img {
    width: var(--wo-group-chat-rail-avatar);
    min-width: var(--wo-group-chat-rail-avatar);
    height: var(--wo-group-chat-rail-avatar);
    margin: 0;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .chat-user-text {
    display: none !important;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right {
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
    display: block;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .new-message-alert {
    position: absolute;
    top: -3px;
    right: -3px;
    margin: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    z-index: 3;
    border: 2px solid var(--card-bg, #fff);
    border-radius: 50%;
    background: #e41e3f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .new-message-alert.hidden {
    display: none !important;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right > svg {
    display: none;
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 13px !important;
    height: 13px !important;
    margin: 0;
    z-index: 2;
    background: var(--card-bg, #fff);
    border-radius: 50%;
    box-sizing: content-box;
    padding: 1px;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right > svg:has(path[fill="#60d465"]) {
    display: block;
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .chat-loading-icon {
    position: absolute;
    inset: 0;
    width: var(--wo-group-chat-rail-avatar);
    height: var(--wo-group-chat-rail-avatar);
    right: auto;
    top: auto;
    transform: none;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
  }

  body.wo-page-group .wo-group-chat-rail .recipient-chat-user .chat-loading-icon:empty {
    width: 0;
    height: 0;
    display: none;
  }

  body.wo-page-group .wo-group-chat-rail .clear,
  body.wo-page-group .wo-group-chat-rail .empty_state {
    display: none !important;
  }

  body.wo-page-group .chat-tab .chat_main {
    right: calc(var(--wo-group-chat-rail-width, 60px) + 24px);
  }

  body.wo-page-group .chat-tab .chat_main:nth-child(2) {
    right: calc(var(--wo-group-chat-rail-width, 60px) + 24px + 315px);
  }

  body.wo-page-group .chat-tab .chat_main:nth-child(3) {
    right: calc(var(--wo-group-chat-rail-width, 60px) + 24px + 630px);
  }
}

body.wo-lang-rtl.wo-page-group .wo-group-chat-rail .chat-container,
body.wo-lang-rtl.wo-page-group .wo-group-chat-rail .chat-container.wo-group-chat-rail-mode {
  right: auto;
  left: 8px;
}

body.wo-lang-rtl.wo-page-group .wo-group-chat-rail .recipient-chat-user .new-message-alert {
  right: auto;
  left: -3px;
}

body.wo-lang-rtl.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right > svg {
  right: auto;
  left: -1px;
}

html.wo-night-mode body.wo-page-group .wo-group-chat-rail .wo_chat_tabs li a,
body.wo-night-mode.wo-page-group .wo-group-chat-rail .wo_chat_tabs li a {
  background: var(--card-bg, #2a2a2a) !important;
  box-shadow: 0 0 0 1px var(--fb-border, #3d3d3d);
}

html.wo-night-mode body.wo-page-group .wo-group-chat-rail .recipient-chat-user .new-message-alert,
body.wo-night-mode.wo-page-group .wo-group-chat-rail .recipient-chat-user .new-message-alert {
  background: #e41e3f !important;
  color: #fff !important;
  border-color: var(--card-bg, #2a2a2a);
}

html.wo-night-mode body.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right > svg,
body.wo-night-mode.wo-page-group .wo-group-chat-rail .recipient-chat-user .wow_chat_list-right > svg {
  background: var(--card-bg, #2a2a2a);
}

/* ?? Modern confirmation dialogs (delete post/comment, etc.) ?? */
.modal.wo-confirm-modal .modal-dialog.wo-confirm-modal__dialog {
  width: min(420px, calc(100vw - 32px));
  margin: 16px auto;
}

.modal.wo-confirm-modal .wo-confirm-modal__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fb-border, rgba(0, 0, 0, 0.08));
  border-radius: 20px;
  background: var(--card-bg, #fff);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.06);
  padding: 0;
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  transition:
    transform 0.24s cubic-bezier(0.34, 1.45, 0.64, 1),
    opacity 0.2s ease;
}

.modal.wo-confirm-modal.in .wo-confirm-modal__card,
.modal.wo-confirm-modal.show .wo-confirm-modal__card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal.wo-confirm-modal .wo-confirm-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted, #65676b);
  opacity: 1;
  float: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal.wo-confirm-modal .wo-confirm-modal__close:hover,
.modal.wo-confirm-modal .wo-confirm-modal__close:focus {
  background: var(--fb-hover, rgba(0, 0, 0, 0.06));
  color: var(--body-color, #050505);
  outline: none;
}

.modal.wo-confirm-modal .wo-confirm-modal__body {
  padding: 36px 28px 8px;
  text-align: center;
}

.modal.wo-confirm-modal .wo-confirm-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
}

.modal.wo-confirm-modal .wo-confirm-modal__icon--danger {
  background: linear-gradient(145deg, rgba(228, 30, 63, 0.14), rgba(228, 30, 63, 0.06));
  color: #e41e3f;
  box-shadow: 0 0 0 1px rgba(228, 30, 63, 0.12);
}

.modal.wo-confirm-modal .wo-confirm-modal__icon--warning {
  background: linear-gradient(145deg, rgba(247, 185, 40, 0.18), rgba(247, 185, 40, 0.06));
  color: #d4a017;
  box-shadow: 0 0 0 1px rgba(247, 185, 40, 0.2);
}

.modal.wo-confirm-modal .wo-confirm-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--body-color, #050505);
}

.modal.wo-confirm-modal .wo-confirm-modal__message {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted, #65676b);
}

.modal.wo-confirm-modal .wo-confirm-modal__actions {
  display: flex;
  gap: 10px;
  padding: 20px 24px 24px;
}

.modal.wo-confirm-modal .wo-confirm-modal__actions .btn {
  flex: 1 1 0;
  min-height: 44px;
  margin: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 16px;
  box-shadow: none;
}

.modal.wo-confirm-modal .wo-confirm-modal__cancel {
  border: 1px solid var(--fb-border, #ccd0d5) !important;
  background: var(--card-bg, #fff) !important;
  color: var(--body-color, #050505) !important;
}

.modal.wo-confirm-modal .wo-confirm-modal__cancel:hover,
.modal.wo-confirm-modal .wo-confirm-modal__cancel:focus {
  background: var(--fb-hover, #f0f2f5) !important;
}

.modal.wo-confirm-modal .wo-confirm-modal__confirm--danger {
  border: 0 !important;
  background: linear-gradient(180deg, #e41e3f 0%, #d4183a 100%) !important;
  color: #fff !important;
}

.modal.wo-confirm-modal .wo-confirm-modal__confirm--danger:hover,
.modal.wo-confirm-modal .wo-confirm-modal__confirm--danger:focus {
  background: linear-gradient(180deg, #d4183a 0%, #c01434 100%) !important;
  color: #fff !important;
}

.modal.wo-confirm-modal .wo-confirm-modal__confirm--primary {
  border: 0 !important;
  background: var(--main, #1877f2) !important;
  color: #fff !important;
}

.modal.wo-confirm-modal .wo-confirm-modal__loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  margin: 0;
  float: none;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.modal.wo-confirm-modal .wo-confirm-modal__loader.ball-pulse {
  line-height: 0;
}

.modal.wo-confirm-modal .wo-confirm-modal__loader.ball-pulse > div {
  background-color: #e41e3f;
}

body > .modal.wo-confirm-modal.in + .modal-backdrop,
body > .modal.wo-confirm-modal.show + .modal-backdrop,
.modal.wo-confirm-modal.in + .modal-backdrop,
.modal.wo-confirm-modal.show + .modal-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.42) !important;
  opacity: 1 !important;
}

html.wo-night-mode .modal.wo-confirm-modal .wo-confirm-modal__card,
body.wo-night-mode .modal.wo-confirm-modal .wo-confirm-modal__card {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--fb-border, #3d3d3d);
}

html.wo-night-mode .modal.wo-confirm-modal .wo-confirm-modal__loader,
body.wo-night-mode .modal.wo-confirm-modal .wo-confirm-modal__loader {
  background: rgba(36, 37, 38, 0.88);
}

.modal.wo-confirm-modal .wo-confirm-modal__loader.ball-pulse[style*="display: block"] {
  display: flex !important;
}

body.wo-lang-rtl .modal.wo-confirm-modal .wo-confirm-modal__close {
  right: auto;
  left: 14px;
}

/* AJAX page transition loading skeleton */
.wo-ajax-page-load {
  padding: 8px 0 24px;
}

.wo-ajax-page-load__inner {
  max-width: 680px;
  margin: 0 auto;
}

.wo-ajax-page-load .wo_loading_post {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg, #fff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Header logo ? size with real layout dimensions so siblings (search) sit beside it */
.navbar-default .header-brand,
.navbar .header-brand {
  position: relative;
  overflow: visible !important;
}

@media (min-width: 769px) {
  .navbar-default .header-brand img,
  .navbar .header-brand img {
    max-height: 33px !important;
    max-width: 220px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .navbar-default .header-brand img {
    max-height: 40px !important;
    /* max-width: 130px unchanged from mobile header rules above */
    transform: scale(1.18);
    transform-origin: left center;
  }
}

/* Icon-only Home; give logo room ? push Home/Create/search right, shorten search from the left */
.navbar-default #wo_home_btns.wo-nav-home > span {
  display: none !important;
}

/* Desktop mid nav ? Facebook-style center tabs (desktop only) */
.wo-desktop-mid-nav {
  display: none;
}

.wo-desktop-hdr-right {
  display: contents;
}

@media (min-width: 769px) {
  /* Full-bleed top bar so right icons can sit at the screen edge */
  .navbar.navbar-default.navbar-fixed-top {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  .navbar-default .header-fixed1000,
  .navbar-default .header-fixed1200 {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .navbar-default .header-fixed1000 > .container-fluid {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: var(--fb-navbar-height, 56px);
    height: var(--fb-navbar-height, 56px);
    width: 100% !important;
    max-width: none !important;
    padding: 0 8px 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .navbar-default .wow_hdr_innr_left {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 0;
    z-index: 4;
    max-width: none;
    height: 100%;
  }

  /* Old left Home/Create ? replaced by center tabs; keep search list visible */
  .navbar-default .wow_hdr_innr_left > .nav.navbar-nav:not(#wo_home_search) {
    display: none !important;
  }

  .navbar-default .header-brand {
    flex: 0 0 auto;
    width: auto;
    max-width: 240px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: visible;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.22s ease, transform 0.22s ease, max-width 0.28s ease, margin 0.28s ease;
  }

  .navbar-default .wo-desktop-search-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fb-header-icon-hover-bg, #e4e6eb);
    color: #050505;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease, width 0.28s ease, min-width 0.28s ease, margin 0.28s ease;
  }

  .navbar-default .wo-desktop-search-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  /* Collapsed search field (desktop default) */
  .navbar-default .wow_hdr_innr_left > #wo_home_search {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-8px) scale(0.96);
    transition: max-width 0.28s ease, opacity 0.22s ease, transform 0.28s ease, width 0.28s ease;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search > li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .navbar-form,
  .navbar-default .wow_hdr_innr_left > #wo_home_search .search-container,
  .navbar-default .wow_hdr_innr_left > #wo_home_search .form-group,
  .navbar-default .wow_hdr_innr_left > #wo_home_search .inner-addon {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .inner-addon {
    position: relative;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .inner-addon .glyphicon,
  .navbar-default .wow_hdr_innr_left > #wo_home_search .inner-addon .feather-search {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .search-container .search-input {
    width: 280px !important;
    max-width: 36vw;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 36px !important;
    margin: 0 !important;
  }

  /* Expanded: logo + toggle out, search field in */
  html.wo-desktop-search-open .navbar-default .header-brand,
  body.wo-desktop-search-open .navbar-default .header-brand,
  html.wo-desktop-search-open .navbar-default .wo-desktop-search-toggle,
  body.wo-desktop-search-open .navbar-default .wo-desktop-search-toggle {
    opacity: 0;
    transform: scale(0.86);
    max-width: 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    overflow: hidden;
  }

  html.wo-desktop-search-open .navbar-default .wow_hdr_innr_left > #wo_home_search,
  body.wo-desktop-search-open .navbar-default .wow_hdr_innr_left > #wo_home_search {
    max-width: 320px;
    width: auto;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  /* Profile/notif cluster flush to the right edge */
  .navbar-default .wo-desktop-hdr-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 0 !important;
    z-index: 4;
    position: relative;
    height: 100%;
    padding-right: 0 !important;
  }

  .navbar-default .wo-desktop-hdr-right > #head_menu_rght,
  .navbar-default .wo-desktop-hdr-right > .nav.navbar-right {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto;
    height: 100% !important;
    min-height: 0 !important;
  }

  .navbar-default .wo-desktop-hdr-right > #head_menu_rght > li {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    margin: 0 !important;
  }

  /* Mobile-only search toggle next to friends ? must override the flex rule above */
  .navbar-default .wo-desktop-hdr-right > #head_menu_rght > li.wow_new_search_bbtn {
    display: none !important;
  }

  /* Profile avatar menu stays visible on desktop */
  .navbar-default .wo-desktop-hdr-right > #head_menu_rght > li.wo-mobile-menu-li {
    display: flex !important;
  }

  .navbar-default .wo-desktop-hdr-right > #head_menu_rght > li.wo-mobile-menu-li .wo-desktop-user-avatar {
    display: block !important;
  }

  .navbar-default .wo-desktop-hdr-right > #head_menu_rght > li.wo-mobile-menu-li .wo-mobile-menu-icon {
    display: none !important;
  }

  /* Exact page center ? avoid 50vw scrollbar offset */
  .navbar-default .wo-desktop-mid-nav {
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 auto !important;
    transform: none !important;
    z-index: 1030;
    height: var(--fb-navbar-height, 56px) !important;
    pointer-events: none;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav,
  .navbar-default .wo-desktop-mid-nav .wo-dnav-link {
    pointer-events: auto;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    min-width: 72px;
    height: 100%;
    color: #65676b;
    text-decoration: none !important;
    border-radius: 8px;
    margin: 0;
    padding: 0 4px;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav-create {
    padding: 0;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
    border-radius: 8px;
    position: relative;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav:hover,
  .navbar-default .wo-desktop-mid-nav .wo-dnav-create:hover .wo-dnav-link {
    background: var(--fb-header-icon-hover-bg, rgba(0, 0, 0, 0.05));
    color: #050505;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav.active {
    color: var(--wo-dnav-accent, var(--main-color, #1877f2));
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav.active:hover {
    background: transparent;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav-bar {
    display: none;
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--wo-dnav-accent, var(--main-color, #1877f2));
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav.active .wo-dnav-bar {
    display: block;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav-create {
    width: 112px;
  }

  .navbar-default .wo-desktop-mid-nav .wo-dnav-create .btn-main,
  .navbar-default .wo-desktop-mid-nav .head_name_links .btn-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }

  .navbar-default .wo-desktop-mid-nav .create_head_menu {
    top: calc(100% - 4px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 320px;
  }

  .navbar-default .wo-desktop-mid-nav .create_head_menu:before {
    left: 50%;
    margin-left: -10px;
  }

  .navbar-default #head_menu_rght {
    position: relative;
    z-index: 3;
    margin-left: 0 !important;
    flex: 0 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .navbar-default .wo-desktop-mid-nav .wo-dnav,
  .navbar-default .wo-desktop-mid-nav .wo-dnav-create {
    width: 84px;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .search-container .search-input {
    width: 240px !important;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .navbar-default .wo-desktop-mid-nav .wo-dnav,
  .navbar-default .wo-desktop-mid-nav .wo-dnav-create {
    width: 64px;
  }

  .navbar-default .wow_hdr_innr_left > #wo_home_search .search-container .search-input {
    width: 200px !important;
  }
}

html.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav,
body.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav {
  color: #b0b3b8;
}

html.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav:hover,
body.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav:hover,
html.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav-create:hover .wo-dnav-link,
body.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav-create:hover .wo-dnav-link {
  background: rgba(255, 255, 255, 0.08);
  color: #e4e6eb;
}

html.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav.active,
body.wo-night-mode .navbar-default .wo-desktop-mid-nav .wo-dnav.active {
  color: var(--wo-dnav-accent, var(--main-color, #1877f2));
}

html.wo-night-mode .navbar-default .wo-desktop-search-toggle,
body.wo-night-mode .navbar-default .wo-desktop-search-toggle {
  background: #3a3b3c;
  color: #e4e6eb;
}

.wo-desktop-search-toggle {
  display: none;
}

@media (max-width: 768px) {
  .wo-desktop-mid-nav,
  .wo-desktop-search-toggle {
    display: none !important;
  }

  .navbar-default .wo-desktop-hdr-right {
    display: contents;
  }
}

/*
 * Composer expand (all viewports): #focus-overlay is fixed on <body>.
 * Group/profile columns use position:relative; z-index:1, which traps the
 * publisher under the dim. Release those contexts and lift the composer.
 */
body.pub-focus .wo_group_profile > .col-md-8,
body.pub-focus .wo_group_profile > .col-md-4,
body.pub-focus .row.page-margin.wo_group_profile > .col-md-8,
body.pub-focus .row.page-margin.wo_group_profile > .col-md-4,
body.pub-focus .wo_user_profile > .col-md-8,
body.pub-focus .wo_user_profile > .col-md-4,
body.pub-focus .wo_page_profile > .col-md-8,
body.pub-focus .wo_page_profile > .col-md-4,
body.pub-focus .page-margin > .row > .middlecol,
body.pub-focus .page-margin > .row > .leftcol,
body.pub-focus .page-margin > .row > .rightcol,
body.pub-focus .profile-container + .col-md-8 {
  z-index: auto !important;
}

body.pub-focus #focus-overlay,
.pub-focus #focus-overlay {
  z-index: 10080 !important;
}

body.pub-focus .publisher-box,
body.pub-focus form.publisher-box,
body.pub-focus .post.publisher-box,
.pub-focus .publisher-box,
.pub-focus form.publisher-box,
.pub-focus .post.publisher-box {
  position: relative !important;
  z-index: 10090 !important;
}

body.pub-focus .publisher-box .panel,
body.pub-focus .publisher-box .sun_pub_box,
.pub-focus .publisher-box .panel,
.pub-focus .publisher-box .sun_pub_box {
  position: relative !important;
  z-index: 1;
}

/* Keep action menus above the dim when open */
body.pub-focus .publisher-box .wo-pub-action-wrap.is-open {
  z-index: 10120 !important;
}
body.pub-focus .publisher-box .wo-pub-action-menu,
body.pub-focus .publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-menu {
  z-index: 10120 !important;
}
.publisher-box .wo-pub-action-menu[hidden] {
  display: none !important;
}
.publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-menu:not([hidden]) {
  display: block !important;
}

/* ===== Tighter home feed vertical rhythm ===== */
.page-margin > .row > .middlecol > .user-status-home,
.page-margin > .row > .middlecol > .wow_home_stories,
.page-margin > .row > .middlecol > .wow_content.user-status-home,
.page-margin > .row > .middlecol > .publisher-box,
.page-margin > .row > .middlecol > form.publisher-box,
.page-margin > .row > .middlecol > form.post.publisher-box,
.page-margin > .row > .middlecol > .home-announcement,
.page-margin > .row > .middlecol > .home-announcement .wow_content,
.page-margin > .row > .middlecol > #filterby-post,
.page-margin > .row > .middlecol > ul#filterby-post,
.page-margin > .row > .middlecol > ul.filterby,
.user-status-home,
.wow_home_stories,
.user-status-home.wow_content,
.home-announcement,
.home-announcement .wow_content {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.page-margin > .row > .middlecol > .greetalert,
.greetalert {
  margin-bottom: 4px !important;
}

.page-margin > .row > .middlecol > .publisher-box,
.page-margin > .row > .middlecol > form.publisher-box,
.page-margin > .row > .middlecol > form.post.publisher-box,
.publisher-box,
form.publisher-box,
form.post.publisher-box {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Inner Bootstrap .panel was leaving ~20px under the composer (gap looked ?unchanged?) */
.publisher-box > .panel,
.publisher-box .sun_pub_box,
form.publisher-box > .panel,
form.post.publisher-box > .panel {
  margin-bottom: 0 !important;
}

/* Composer → greeting: same rhythm as feed posts (4px) */
.page-margin > .row > .middlecol > form.post.publisher-box + .greetalert:not(.hidden),
.page-margin > .row > .middlecol > form.publisher-box + .greetalert:not(.hidden),
.page-margin > .row > .middlecol > .publisher-box + .greetalert:not(.hidden),
.page-margin > .row > .middlecol > .wow_content.order-by + .greetalert:not(.hidden),
form.post.publisher-box + .greetalert:not(.hidden),
form.publisher-box + .greetalert:not(.hidden),
.wow_content.order-by + .greetalert:not(.hidden),
.order-by + .greetalert:not(.hidden),
.greetalert.wo-greeting-card:not(.hidden) {
  margin-top: 4px !important;
}

/* Collapsed greeting must not reserve space */
.greetalert.hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Filter top gap only when greeting is hidden or absent */
.page-margin > .row > .middlecol > form.post.publisher-box:has(+ .greetalert.hidden) ~ ul#filterby-post,
.page-margin > .row > .middlecol > form.post.publisher-box:has(+ .greetalert.hidden) ~ #filterby-post,
.page-margin > .row > .middlecol > form.publisher-box:has(+ .greetalert.hidden) ~ ul#filterby-post,
.page-margin > .row > .middlecol > form.publisher-box:has(+ .greetalert.hidden) ~ #filterby-post,
.page-margin > .row > .middlecol > form.post.publisher-box:not(:has(+ .greetalert)) ~ ul#filterby-post,
.page-margin > .row > .middlecol > form.post.publisher-box:not(:has(+ .greetalert)) ~ #filterby-post,
.page-margin > .row > .middlecol > form.publisher-box:not(:has(+ .greetalert)) ~ ul#filterby-post,
.page-margin > .row > .middlecol > form.publisher-box:not(:has(+ .greetalert)) ~ #filterby-post {
  margin-top: 4px !important;
}

.page-margin > .row > .middlecol > .greetalert:not(.hidden) ~ ul#filterby-post,
.page-margin > .row > .middlecol > .greetalert:not(.hidden) ~ #filterby-post {
  margin-top: 0 !important;
}

.publisher-box + .order-by,
form.publisher-box + .wow_content.order-by {
  margin-top: 4px !important;
}

.greetalert {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 4px !important;
}

/* ===== Greeting card v2 (same footprint as legacy greetalert) ===== */
.greetalert.wo-greeting-card {
  padding: 15px 17px !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  border: none !important;
  border-left: 2.5px solid #ffc107 !important;
  border-radius: var(--fb-radius, 12px) !important;
  background: var(--card-bg, #fff) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.greetalert.wo-greeting-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(circle at 100% 50%, color-mix(in srgb, var(--wo-greet-accent, #ffc107) 14%, transparent), transparent 42%);
}

.greetalert.wo-greeting-card[data-period="morning"] {
  --wo-greet-accent: #7fc583;
  background: linear-gradient(135deg, color-mix(in srgb, #7fc583 10%, var(--card-bg, #fff)) 0%, var(--card-bg, #fff) 58%) !important;
}

.greetalert.wo-greeting-card[data-period="afternoon"] {
  --wo-greet-accent: #ffc107;
  background: linear-gradient(135deg, color-mix(in srgb, #ffc107 12%, var(--card-bg, #fff)) 0%, var(--card-bg, #fff) 58%) !important;
}

.greetalert.wo-greeting-card[data-period="evening"] {
  --wo-greet-accent: #ff4f70;
  background: linear-gradient(135deg, color-mix(in srgb, #ff4f70 10%, var(--card-bg, #fff)) 0%, var(--card-bg, #fff) 58%) !important;
}

.greetalert.wo-greeting-card .wo-greeting-card__content {
  position: relative;
  z-index: 1;
}

.greetalert.wo-greeting-card .wo-greeting-card__title,
.greetalert.wo-greeting-card .small-texts {
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  padding-right: 50px;
  display: block;
  margin: 0;
  color: var(--text-color, #050505);
}

.greetalert.wo-greeting-card .wo-greeting-card__quote,
.greetalert.wo-greeting-card p {
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.35;
  margin: 2px 0 0;
  padding-right: 50px;
  color: var(--text-secondary, #65676b);
}

.greetalert.wo-greeting-card .wo-greeting-card__icon,
.greetalert.wo-greeting-card img {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  border-radius: 12px;
  padding: 4px;
  background: color-mix(in srgb, var(--wo-greet-accent, #ffc107) 12%, var(--card-bg, #fff));
  box-sizing: border-box;
}

.greetalert.wo-greeting-card .wo-greeting-card__close,
.greetalert.wo-greeting-card .close {
  right: 6px;
  top: 4px;
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--text-color, #050505) 6%, transparent);
  color: var(--text-secondary, #65676b);
  opacity: 1;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.greetalert.wo-greeting-card .wo-greeting-card__close:hover,
.greetalert.wo-greeting-card .close:hover {
  background: color-mix(in srgb, var(--text-color, #050505) 10%, transparent);
  color: var(--text-color, #050505);
}

html.wo-night-mode .greetalert.wo-greeting-card,
body.wo-night-mode .greetalert.wo-greeting-card {
  background: #242526 !important;
  box-shadow: none !important;
}

html.wo-night-mode .greetalert.wo-greeting-card[data-period="morning"],
body.wo-night-mode .greetalert.wo-greeting-card[data-period="morning"] {
  background: linear-gradient(135deg, color-mix(in srgb, #7fc583 14%, #242526) 0%, #242526 58%) !important;
}

html.wo-night-mode .greetalert.wo-greeting-card[data-period="afternoon"],
body.wo-night-mode .greetalert.wo-greeting-card[data-period="afternoon"] {
  background: linear-gradient(135deg, color-mix(in srgb, #ffc107 14%, #242526) 0%, #242526 58%) !important;
}

html.wo-night-mode .greetalert.wo-greeting-card[data-period="evening"],
body.wo-night-mode .greetalert.wo-greeting-card[data-period="evening"] {
  background: linear-gradient(135deg, color-mix(in srgb, #ff4f70 14%, #242526) 0%, #242526 58%) !important;
}

html.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__title,
html.wo-night-mode .greetalert.wo-greeting-card .small-texts,
body.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__title,
body.wo-night-mode .greetalert.wo-greeting-card .small-texts {
  color: #e4e6eb;
}

html.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__quote,
html.wo-night-mode .greetalert.wo-greeting-card p,
body.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__quote,
body.wo-night-mode .greetalert.wo-greeting-card p {
  color: #b0b3b8;
}

html.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__close,
body.wo-night-mode .greetalert.wo-greeting-card .close {
  background: rgba(255, 255, 255, 0.08);
  color: #b0b3b8;
}

html.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__icon,
html.wo-night-mode .greetalert.wo-greeting-card img,
body.wo-night-mode .greetalert.wo-greeting-card .wo-greeting-card__icon,
body.wo-night-mode .greetalert.wo-greeting-card img {
  background: color-mix(in srgb, var(--wo-greet-accent, #ffc107) 18%, #242526);
}

#filterby-post,
ul#filterby-post,
ul.filterby#filterby-post {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

/* ===== Post type filter v2 (same footprint as legacy #filterby-post) ===== */
ul#filterby-post.wo-post-filter,
#filterby-post.wo-post-filter {
  position: sticky;
  top: 46px;
  z-index: 9;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  margin: 0 0 4px !important;
  padding: 2px 8px !important;
  border: none !important;
  border-radius: var(--fb-radius, 12px) !important;
  background: var(--card-bg, #fff) !important;
  box-shadow: none !important;
  overflow: visible;
}

ul#filterby-post.wo-post-filter > li.hidden,
#filterby-post.wo-post-filter > li.hidden {
  display: none !important;
}

ul#filterby-post.wo-post-filter > li.filter-by-li,
#filterby-post.wo-post-filter > li.filter-by-li {
  padding: 6px !important;
  height: auto;
  margin: 6px 2px !important;
  border: 0 !important;
  border-radius: 50% !important;
  line-height: 1;
  cursor: pointer;
  position: relative;
  background: transparent !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

ul#filterby-post.wo-post-filter > li.filter-by-li::before,
#filterby-post.wo-post-filter > li.filter-by-li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.11;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

ul#filterby-post.wo-post-filter > li.filter-by-li:hover::before,
#filterby-post.wo-post-filter > li.filter-by-li:hover::before {
  opacity: 0.17;
}

ul#filterby-post.wo-post-filter > li.filter-by-li svg,
#filterby-post.wo-post-filter > li.filter-by-li svg {
  position: relative;
  z-index: 1;
  width: 18px !important;
  height: 18px !important;
  display: block;
  margin: 0;
  transition: color 0.15s ease;
}

ul#filterby-post.wo-post-filter > li.filter-by-li.avtive,
#filterby-post.wo-post-filter > li.filter-by-li.avtive {
  background: currentColor !important;
  box-shadow: 0 3px 10px color-mix(in srgb, currentColor 32%, transparent);
  transform: translateY(-1px);
}

ul#filterby-post.wo-post-filter > li.filter-by-li.avtive::before,
#filterby-post.wo-post-filter > li.filter-by-li.avtive::before {
  display: none;
}

ul#filterby-post.wo-post-filter > li.filter-by-li.avtive svg,
#filterby-post.wo-post-filter > li.filter-by-li.avtive svg {
  color: #fff !important;
}

/* "All posts" — always use brand blue when active (fixes white-on-white in dark mode) */
ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr,
#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr {
  color: var(--text-secondary, #65676b) !important;
}

ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr svg,
#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr svg {
  color: var(--text-secondary, #65676b) !important;
}

ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive,
#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive {
  background: var(--fb-blue, #1877f2) !important;
  color: var(--fb-blue, #1877f2) !important;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--fb-blue, #1877f2) 38%, transparent);
}

ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive svg,
#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive svg {
  color: #fff !important;
}

html.wo-night-mode ul#filterby-post.wo-post-filter,
html.wo-night-mode #filterby-post.wo-post-filter,
body.wo-night-mode ul#filterby-post.wo-post-filter,
body.wo-night-mode #filterby-post.wo-post-filter {
  background: #242526 !important;
  border: none !important;
  box-shadow: none !important;
}

html.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr,
html.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr svg,
body.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr,
body.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr svg {
  color: #b0b3b8 !important;
}

html.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive,
body.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive {
  background: var(--fb-blue, #1877f2) !important;
  color: var(--fb-blue, #1877f2) !important;
}

html.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive svg,
body.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li.filter_negative_clr.avtive svg {
  color: #fff !important;
}

html.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li:not(.avtive)::before,
body.wo-night-mode ul#filterby-post.wo-post-filter > li.filter-by-li:not(.avtive)::before {
  opacity: 0.13;
}

.page-margin > .row > .middlecol > #posts,
.page-margin > .row > .middlecol #posts,
#posts {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#posts > .post:first-child,
#posts > .posts-container:first-child,
#posts > .post-container:first-child,
#posts > .user-ad-container:first-child {
  margin-top: 0 !important;
}

#posts .posts-container,
#posts .post-container,
#posts .post,
#posts .post .panel {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

@media (max-width: 768px) {
  /* Composer expand: box must sit above the dim overlay (mobile stacking extras) */
  body.pub-focus .publisher-box,
  body.pub-focus form.publisher-box,
  body.pub-focus .post.publisher-box,
  body.pub-focus .publisher-box .panel,
  body.pub-focus .publisher-box .sun_pub_box {
    position: relative !important;
    z-index: 10090 !important;
  }
}

/* ===== Modern expanded publisher actions ===== */
.publisher-box .sun_pub_more[aria-hidden="true"] {
  display: none !important;
}

/* Only show Upload media / Add more when composer is expanded */
body:not(.pub-focus) .publisher-box .sun_pub_mid_foot.wo-pub-actions,
body:not(.pub-focus) .sun_pub_mid_foot.wo-pub-actions {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.pub-focus .publisher-box .sun_pub_mid_foot.wo-pub-actions,
.pub-focus .publisher-box .sun_pub_mid_foot.wo-pub-actions {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 12px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  height: auto !important;
  max-height: none !important;
  visibility: visible !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.publisher-box .sun_pub_mid_foot.wo-pub-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 12px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.publisher-box .wo-pub-action-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.publisher-box .wo-pub-action-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.publisher-box .wo-pub-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #f0f2f5;
  color: #050505;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.publisher-box .wo-pub-action-btn:hover {
  background: #e4e6eb;
}

.publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-btn {
  background: #e7f3ff;
  color: var(--main-color, #1877f2);
  box-shadow: inset 0 0 0 1.5px rgba(24, 119, 242, 0.35);
}

.publisher-box .wo-pub-action-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #fff;
}

.publisher-box .wo-pub-action-ico--media {
  background: linear-gradient(135deg, #45bd62 0%, #2b8aed 100%);
}

.publisher-box .wo-pub-action-ico--extra {
  background: linear-gradient(135deg, #f7b928 0%, #f35369 55%, #9166cc 100%);
}

.publisher-box .wo-pub-action-label {
  flex: 1 1 auto;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publisher-box .wo-pub-action-chevron {
  display: inline-flex;
  opacity: 0.55;
  transition: transform 0.15s ease;
}

.publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

.publisher-box .wo-pub-action-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  padding: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  animation: woPubMenuIn 0.16s ease;
}

@keyframes woPubMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.publisher-box .wo-pub-action-menu-inner {
  display: flex;
  flex-direction: column;
  max-height: min(52vh, 360px);
  overflow-y: auto;
  padding: 6px;
}

.publisher-box .wo-pub-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #050505;
  text-align: left;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.12s ease;
}

.publisher-box .wo-pub-menu-item:hover,
.publisher-box .wo-pub-menu-item:focus {
  background: #f0f2f5;
  color: #050505;
}

.publisher-box .wo-pub-menu-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  color: var(--wo-pub-ico, #65676b);
  background: rgba(0, 0, 0, 0.06);
}

@supports (background: color-mix(in srgb, red 16%, transparent)) {
  .publisher-box .wo-pub-menu-ico {
    background: color-mix(in srgb, var(--wo-pub-ico, #65676b) 16%, transparent);
  }
}

.publisher-box .wo-pub-menu-text {
  flex: 1 1 auto;
  min-width: 0;
}

.publisher-box .wo-pub-menu-item input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 0;
}

.publisher-box .wo-pub-menu-item--record #postRecordingTime {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #e41e3f;
}

/* Override legacy mid-foot equal-width pills when using modern actions */
.pub-focus .sun_pub_mid_foot.wo-pub-actions .poster-left-buttons,
.pub-focus .sun_pub_mid_foot.wo-pub-actions .wo-pub-action-wrap {
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: 1 1 0 !important;
}

body.pub-focus .publisher-box .sun_pub_box {
  border-radius: 16px !important;
  overflow: visible;
}

body.pub-focus .publisher-box .pub-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.pub-focus .publisher-box #publisher-button {
  border-radius: 10px !important;
  min-width: 96px;
  font-weight: 700;
}

html.wo-night-mode .publisher-box .sun_pub_mid_foot.wo-pub-actions,
body.wo-night-mode .publisher-box .sun_pub_mid_foot.wo-pub-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.wo-night-mode .publisher-box .wo-pub-action-btn,
body.wo-night-mode .publisher-box .wo-pub-action-btn {
  background: #3a3b3c;
  color: #e4e6eb;
}

html.wo-night-mode .publisher-box .wo-pub-action-btn:hover,
body.wo-night-mode .publisher-box .wo-pub-action-btn:hover {
  background: #4e4f50;
}

html.wo-night-mode .publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-btn,
body.wo-night-mode .publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-btn {
  background: rgba(45, 136, 255, 0.18);
  color: #4599ff;
  box-shadow: inset 0 0 0 1.5px rgba(69, 153, 255, 0.4);
}

html.wo-night-mode .publisher-box .wo-pub-action-menu,
body.wo-night-mode .publisher-box .wo-pub-action-menu {
  background: #242526;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html.wo-night-mode .publisher-box .wo-pub-menu-item,
body.wo-night-mode .publisher-box .wo-pub-menu-item {
  color: #e4e6eb;
}

html.wo-night-mode .publisher-box .wo-pub-menu-item:hover,
body.wo-night-mode .publisher-box .wo-pub-menu-item:hover {
  background: #3a3b3c;
  color: #e4e6eb;
}

@media (max-width: 768px) {
  .publisher-box .sun_pub_mid_foot.wo-pub-actions {
    margin: 0 8px;
    padding-top: 8px;
  }

  .publisher-box .wo-pub-action-bar {
    gap: 8px;
  }

  .publisher-box .wo-pub-action-btn {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .publisher-box .wo-pub-action-ico {
    width: 30px;
    height: 30px;
  }

  .publisher-box .wo-pub-action-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 10120 !important;
    border-radius: 18px;
    max-height: none;
  }

  body.pub-focus .publisher-box .wo-pub-action-menu,
  body.pub-focus .publisher-box .wo-pub-action-wrap.is-open .wo-pub-action-menu {
    z-index: 10120 !important;
  }

  .publisher-box .wo-pub-action-menu-inner {
    max-height: min(58vh, 420px);
    padding: 8px;
  }

  .publisher-box .wo-pub-menu-item {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
  }
}

@media (min-width: 769px) {
  .publisher-box .wo-pub-action-btn {
    justify-content: flex-start;
  }
}

/* Desktop reels viewer controls */
.wo-reels-close-btn {
  display: none;
}

@media (min-width: 769px) {
  .wo-reels-close-btn {
    position: fixed;
    top: calc(var(--fb-navbar-height, 48px) + 12px);
    left: 16px;
    z-index: 104;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.16s ease, transform 0.16s ease;
  }

  .wo-reels-close-btn:hover,
  .wo-reels-close-btn:focus {
    background: rgba(0, 0, 0, 0.82);
    color: #fff !important;
    transform: scale(1.05);
  }

  .wo-reels-close-btn svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}

/* Reels comments panel ? match expanded-image lightbox sidebar */
.wo_reels_cont .comment-section:not(.reels-section) {
  background: var(--fb-surface, #fff) !important;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.18);
  z-index: 40 !important;
}

.wo_reels_cont .comment-section:not(.reels-section) .comment-inner-footer.lightbox-post-footer,
.wo_reels_cont .comment-section:not(.reels-section) .lightbox-post-footer.wo-lightbox-comment-compose {
  background: var(--fb-surface, #fff) !important;
}

.wo_reels_cont .lightbox-post-footer .comments-list .comment {
  margin-top: 12px !important;
}

.wo_reels_cont .lightbox-post-footer .comments-list .comment .comment-heading,
.wo_reels_cont .lightbox-post-footer .comments-list .reply .reply-heading {
  background: var(--fb-comment-bubble-bg, #f0f2f5);
  border-radius: 18px;
  padding: 8px 12px 10px;
  max-width: 100%;
  width: fit-content;
}

html.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section),
body.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section),
html.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section) .comment-inner-footer.lightbox-post-footer,
body.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section) .comment-inner-footer.lightbox-post-footer,
html.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section) .lightbox-post-footer.wo-lightbox-comment-compose,
body.wo-night-mode .wo_reels_cont .comment-section:not(.reels-section) .lightbox-post-footer.wo-lightbox-comment-compose {
  background: var(--fb-surface, #242526) !important;
}

@media (max-width: 800px) {
  .reels_list .wo_reels_cont .comment-section:not(.reels-section) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100% !important;
    max-height: min(72vh, 640px);
    height: auto !important;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    z-index: 50 !important;
  }

  .reels_list .wo_reels_cont .comment-section:not(.reels-section) .wow_lightbox_right,
  .reels_list .wo_reels_cont .comment-section:not(.reels-section) .comment-section-inner {
    display: flex;
    flex-direction: column;
    max-height: inherit;
    height: 100%;
    min-height: 0;
  }

  .reels_list .wo_reels_cont .comment-section:not(.reels-section) .comment-inner-footer {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    height: auto !important;
  }
}

/* ========== Modern Marketplace (wo-mkt) ========== */
.wo-mkt {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 12px 40px;
  font-family: var(--fb-font);
  color: var(--fb-text);
}

.wo-mkt__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.wo-mkt__rail {
  position: sticky;
  top: calc(var(--fb-navbar-height, 48px) + 12px);
  max-height: calc(100dvh - var(--fb-navbar-height, 48px) - 24px);
  overflow: auto;
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  box-shadow: var(--fb-shadow);
  color-scheme: light;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}

.wo-mkt__rail::-webkit-scrollbar,
.wo-mkt__cats::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.wo-mkt__rail::-webkit-scrollbar-track,
.wo-mkt__cats::-webkit-scrollbar-track {
  background: transparent;
}

.wo-mkt__rail::-webkit-scrollbar-thumb,
.wo-mkt__cats::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.wo-mkt__rail::-webkit-scrollbar-thumb:hover,
.wo-mkt__cats::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.36);
}

html.wo-night-mode .wo-mkt__rail,
body.wo-night-mode .wo-mkt__rail,
html.wo-night-mode .wo-mkt__cats,
body.wo-night-mode .wo-mkt__cats {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #6b6b6b #242526;
}

html.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-track,
body.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-track,
html.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-track,
body.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-track {
  background: #242526;
}

html.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-thumb,
body.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-thumb,
html.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-thumb,
body.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-thumb {
  background-color: #6b6b6b;
  border-color: #242526;
}

html.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-thumb:hover,
body.wo-night-mode .wo-mkt__rail::-webkit-scrollbar-thumb:hover,
html.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-thumb:hover,
body.wo-night-mode .wo-mkt__cats::-webkit-scrollbar-thumb:hover {
  background-color: #8a8a8a;
}

.wo-mkt__rail-inner {
  padding: 16px 14px 20px;
}

.wo-mkt__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.wo-mkt__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fb-text) !important;
  text-decoration: none !important;
}

.wo-mkt__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-text);
  background: var(--fb-featured-card-bg, #f0f2f5);
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wo-mkt__icon-btn:hover {
  background: var(--fb-header-icon-hover-bg);
  transform: scale(1.04);
}

.wo-mkt__search {
  position: relative;
  margin-bottom: 12px;
}

.wo-mkt__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fb-text-secondary);
  pointer-events: none;
}

.wo-mkt__search-input,
.wo-mkt #product-text {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px 0 38px !important;
  border: none !important;
  border-radius: 20px !important;
  background: var(--fb-featured-card-bg, #f0f2f5) !important;
  color: var(--fb-text) !important;
  font-size: 15px;
  box-shadow: none !important;
}

.wo-mkt__search-input::placeholder {
  color: var(--fb-text-secondary);
}

.wo-mkt__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.wo-mkt__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--fb-text) !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.wo-mkt__nav-item:hover {
  background: var(--fb-featured-card-bg, #f0f2f5);
}

.wo-mkt__nav-item.is-active {
  background: var(--fb-featured-card-bg, #f0f2f5);
}

.wo-mkt__nav-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  flex: 0 0 36px;
}

.wo-mkt__nav-item.is-active .wo-mkt__nav-ico {
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  color: #fff;
}

.wo-mkt__create {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin: 0 0 18px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: rgba(24, 119, 242, 0.14);
  color: var(--fb-blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wo-mkt__create:hover {
  background: rgba(24, 119, 242, 0.22);
  transform: translateY(-1px);
}

html.wo-night-mode .wo-mkt__create,
body.wo-night-mode .wo-mkt__create {
  background: rgba(24, 119, 242, 0.22);
  color: #8ab4f8;
}

.wo-mkt__section {
  margin-bottom: 18px;
}

.wo-mkt__section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fb-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.wo-mkt__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wo-mkt__chips li {
  margin: 0;
}

.wo-mkt__chip {
  appearance: none;
  border: 1px solid var(--fb-border);
  background: transparent;
  color: var(--fb-text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.wo-mkt__chips li.active .wo-mkt__chip,
.wo-mkt__chip:hover {
  background: var(--fb-featured-card-bg, #f0f2f5);
  border-color: transparent;
}

.wo-mkt__chips li.active .wo-mkt__chip {
  background: var(--fb-blue);
  color: #fff;
  border-color: var(--fb-blue);
}

.wo-mkt__distance {
  padding: 4px 2px 0;
}

.wo-mkt__distance-readout {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fb-text-secondary);
}

.wo-mkt__distance-readout input {
  width: 48px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--fb-blue) !important;
  font-weight: 700;
  padding: 0 !important;
}

.wo-mkt__range {
  width: 100%;
}

.wo-mkt__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
  color-scheme: light;
}

.wo-mkt__cats--sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--fb-border);
  max-height: 160px;
}

.wo-mkt__cat {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--fb-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
}

.wo-mkt__cats li.active .wo-mkt__cat,
.wo-mkt__cat:hover {
  background: var(--fb-featured-card-bg, #f0f2f5);
}

.wo-mkt__cats li.active .wo-mkt__cat {
  font-weight: 700;
  color: var(--fb-blue) !important;
}

.wo-mkt .market_categories ul li a:before,
.wo-mkt .market_categories ul li a:after {
  display: none !important;
}

.wo-mkt .market_categories ul li a {
  padding-left: 10px !important;
}

.wo-mkt__main {
  min-width: 0;
}

.wo-mkt__main-head {
  margin: 4px 0 16px;
}

.wo-mkt__filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--fb-border);
  border-radius: 10px;
  background: var(--fb-surface);
  color: var(--fb-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.wo-mkt__heading {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
}

.wo-mkt__subhead {
  margin: 0;
  font-size: 14px;
  color: var(--fb-text-secondary);
}

.wo-mkt__grid.row,
.wo-mkt .market_bottom #products.row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
}

/* Bootstrap .row clearfix pseudos become empty grid cells ? hide them */
.wo-mkt__grid.row::before,
.wo-mkt__grid.row::after,
.wo-mkt .market_bottom #products.row::before,
.wo-mkt .market_bottom #products.row::after {
  display: none !important;
  content: none !important;
}

.wo-mkt .market_bottom .product,
.wo-mkt__grid > .product {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  flex: none !important;
}

.wo-mkt-card,
.wo-mkt .product_info.wow_main_mkt_prod {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease;
}

.wo-mkt-card:hover {
  transform: translateY(-2px);
}

.wo-mkt-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--fb-featured-card-bg, #f0f2f5);
}

.wo-mkt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.wo-mkt-card:hover .wo-mkt-card__media img {
  transform: scale(1.03);
}

.wo-mkt-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(6px);
}

.wo-mkt-card__body {
  padding: 10px 2px 0 !important;
  text-align: left !important;
}

.wo-mkt-card__price,
.wo-mkt .product-price {
  margin: 0 0 2px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--fb-text) !important;
  letter-spacing: -0.01em;
  text-align: left !important;
}

.wo-mkt-card__title,
.wo-mkt .product-title {
  margin: 0 0 2px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  text-align: left !important;
}

.wo-mkt-card__title a,
.wo-mkt .product-title a {
  color: var(--fb-text) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-mkt-card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--fb-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-mkt-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  text-align: left !important;
  position: static !important;
}

.wo-mkt-card__action {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--fb-border);
  background: var(--fb-surface);
  color: var(--fb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.wo-mkt-card__action:hover {
  background: var(--fb-featured-card-bg, #f0f2f5);
  transform: scale(1.05);
}

.wo-mkt-card__action--primary {
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  color: #fff;
}

.wo-mkt-card__action--primary:hover {
  background: var(--fb-blue-hover);
  border-color: var(--fb-blue-hover);
  color: #fff;
}

.wo-mkt .product-by,
.wo-mkt .product-links {
  display: none !important;
}

.wo-mkt__empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: var(--fb-text-secondary);
}

.wo-mkt__empty svg {
  margin-bottom: 12px;
  opacity: 0.55;
}

.wo-mkt__load-more {
  margin-top: 20px;
  border-radius: 10px !important;
  font-weight: 600;
  min-width: 180px;
}

.wo-mkt__rail-backdrop {
  display: none;
}

/* Hide legacy hero remnants if any leak in */
.wo-mkt .wow_main_float_head,
.wo-mkt .wow_main_blogs_bg {
  display: none !important;
}

@media (max-width: 1100px) {
  .wo-mkt__grid.row,
  .wo-mkt .market_bottom #products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wo-mkt__layout {
    grid-template-columns: 1fr;
  }

  .wo-mkt__filters-toggle {
    display: inline-flex;
  }

  .wo-mkt__rail {
    position: fixed;
    top: var(--fb-navbar-height, 48px);
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    max-height: none;
    z-index: 1060;
    border-radius: 0 12px 12px 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  .wo-mkt--rail-open .wo-mkt__rail {
    transform: translateX(0);
  }

  .wo-mkt__rail-backdrop {
    display: block;
    position: fixed;
    inset: var(--fb-navbar-height, 48px) 0 0 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1055;
  }

  .wo-mkt__rail-backdrop[hidden] {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .wo-mkt {
    padding: 8px 8px 28px;
  }

  .wo-mkt__grid.row,
  .wo-mkt .market_bottom #products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wo-mkt-card__price,
  .wo-mkt .product-price {
    font-size: 15px !important;
  }

  .wo-mkt-card__title,
  .wo-mkt .product-title {
    font-size: 13px !important;
  }
}

.wo-mkt-card__action--danger {
  color: #e41e3f;
  border-color: rgba(228, 30, 63, 0.35);
}

.wo-mkt-card__action--danger:hover {
  background: rgba(228, 30, 63, 0.12);
  color: #e41e3f;
}

.wo-mkt .my_products.wo-mkt__grid.row,
.wo-mkt .wo-mkt__grid.row.my_products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
}

.wo-mkt .my_products.wo-mkt__grid.row::before,
.wo-mkt .my_products.wo-mkt__grid.row::after,
.wo-mkt .wo-mkt__grid.row.my_products::before,
.wo-mkt .wo-mkt__grid.row.my_products::after {
  display: none !important;
  content: none !important;
}

.wo-mkt .wo_my_products,
.wo-mkt .my_products > .product {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wo-mkt-panel {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  box-shadow: var(--fb-shadow);
  padding: 16px;
}

.wo-mkt-panel__list.row {
  margin: 0 !important;
}

.wo-mkt-panel__list.row::before,
.wo-mkt-panel__list.row::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 1100px) {
  .wo-mkt .my_products.wo-mkt__grid.row,
  .wo-mkt .wo-mkt__grid.row.my_products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== Modern Groups / Pages hubs (wo-hub) ========== */
.wo-hub {
  font-family: var(--fb-font);
  color: var(--fb-text);
}

.wo-hub__main {
  min-width: 0;
}

.wo-hub__header {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  box-shadow: var(--fb-shadow);
  padding: 16px 18px 0;
  margin-bottom: 16px;
}

.wo-hub__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wo-hub__search {
  position: relative;
  margin: 0 0 12px;
}

.wo-hub__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fb-text-secondary);
  pointer-events: none;
}

.wo-hub__search-input {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px 0 38px !important;
  border: none !important;
  border-radius: 20px !important;
  background: var(--fb-featured-card-bg, #f0f2f5) !important;
  color: var(--fb-text) !important;
  font-size: 15px;
  box-shadow: none !important;
}

.wo-hub__search-input::placeholder {
  color: var(--fb-text-secondary);
}

.wo-hub__search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.25) !important;
}

.wo-hub__search-panel[hidden] {
  display: none !important;
}

.wo-hub__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wo-hub__brand-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 119, 242, 0.12);
  color: var(--fb-blue);
  flex: 0 0 44px;
}

.wo-hub__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fb-text);
}

.wo-hub__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wo-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wo-hub__btn--ghost {
  background: var(--fb-featured-card-bg, #f0f2f5);
  color: var(--fb-text) !important;
}

.wo-hub__btn--ghost:hover {
  background: var(--fb-header-icon-hover-bg);
}

.wo-hub__btn--primary {
  background: var(--fb-blue);
  color: #fff !important;
}

.wo-hub__btn--primary:hover {
  background: var(--fb-blue-hover);
  transform: translateY(-1px);
}

.wo-hub__tabs {
  margin: 0 -18px;
  padding: 0 10px;
  border-top: 1px solid var(--fb-border);
  overflow-x: auto;
  scrollbar-width: thin;
  color-scheme: light;
}

html.wo-night-mode .wo-hub__tabs,
body.wo-night-mode .wo-hub__tabs {
  color-scheme: dark;
  scrollbar-color: #6b6b6b transparent;
}

.wo-hub__tab-list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  min-width: max-content;
}

.wo-hub__tab {
  margin: 0;
}

.wo-hub__tab > a,
.wo-hub__tab > span {
  display: block;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fb-text-secondary) !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.wo-hub__tab.is-active > a,
.wo-hub__tab.is-active > span,
.wo-hub__tab.active > a {
  color: var(--fb-blue) !important;
  border-bottom-color: var(--fb-blue);
  font-weight: 700;
}

.wo-hub__tab > a:hover {
  color: var(--fb-text) !important;
}

.wo-hub__section {
  background: transparent;
  margin-bottom: 20px;
}

.wo-hub__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 2px 12px;
}

.wo-hub__section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fb-text);
}

.wo-hub__section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-blue) !important;
  text-decoration: none !important;
}

.wo-hub__section-link:hover {
  text-decoration: underline !important;
}

.wo-hub__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.wo-hub__grid.row,
.wo-hub__grid.row::before,
.wo-hub__grid.row::after {
  content: none !important;
  display: contents;
}

.wo-hub-card {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--fb-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wo-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html.wo-night-mode .wo-hub-card:hover,
body.wo-night-mode .wo-hub-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wo-hub-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--fb-featured-card-bg, #f0f2f5);
  overflow: hidden;
}

.wo-hub-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.wo-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.wo-hub-card:hover .wo-hub-card__media img {
  transform: scale(1.04);
}

.wo-hub-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(6px);
}

.wo-hub-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.wo-hub-card__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.wo-hub-card__title a {
  color: var(--fb-text) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-hub-card__meta {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--fb-text-secondary);
}

.wo-hub-card__meta--sub {
  margin-bottom: 8px;
}

.wo-hub-card__actions {
  margin-top: auto;
  padding-top: 10px;
}

.wo-hub-card__cta,
.wo-hub-card__actions .btn,
.wo-hub-card__actions a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border-radius: 10px !important;
  border: none !important;
  background: var(--fb-featured-card-bg, #f0f2f5) !important;
  color: var(--fb-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  padding: 0 12px !important;
}

.wo-hub-card__cta:hover,
.wo-hub-card__actions .btn:hover,
.wo-hub-card__actions a.btn:hover {
  background: var(--fb-header-icon-hover-bg) !important;
}

.wo-hub-card__actions .btn-main,
.wo-hub-card__actions .btn-info {
  background: rgba(24, 119, 242, 0.14) !important;
  color: var(--fb-blue) !important;
}

.wo-hub__empty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: var(--fb-text-secondary);
}

.wo-hub__empty svg {
  margin-bottom: 10px;
  opacity: 0.55;
}

/* Override legacy hub styles inside modern shell */
.wo-hub .wo_groups_hub_header,
.wo-hub .wow_my_groups,
.wo-hub .page_list {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.wo-hub .wow_my_groups,
.wo-hub .col-md-3,
.wo-hub .col-sm-6 {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1400px) {
  .wo-hub__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .wo-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wo-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: keep the previous list-card layout (not a dense multi-column grid) */
@media (max-width: 768px) {
  .wo-hub__header {
    padding: 14px 12px 0;
  }

  .wo-hub__title {
    font-size: 22px;
  }

  .wo-hub__btn span {
    display: none;
  }

  .wo-hub__btn {
    width: 36px;
    padding: 0;
  }

  .wo-hub__tabs {
    margin: 0 -12px;
    padding: 8px 10px 10px;
    border-top: 1px solid var(--fb-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wo-hub__tab-list {
    gap: 8px;
  }

  .wo-hub__tab > a,
  .wo-hub__tab > span {
    padding: 8px 14px !important;
    border-bottom: none !important;
    border-radius: 999px !important;
    background: #e4e6eb !important;
    color: #050505 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
  }

  .wo-hub__tab.is-active > a,
  .wo-hub__tab.is-active > span,
  .wo-hub__tab.active > a {
    background: #e7f3ff !important;
    color: #1877f2 !important;
    border-bottom: none !important;
  }

  html.wo-night-mode .wo-hub__tab > a,
  html.wo-night-mode .wo-hub__tab > span,
  body.wo-night-mode .wo-hub__tab > a,
  body.wo-night-mode .wo-hub__tab > span {
    background: #3a3b3c !important;
    color: #e4e6eb !important;
  }

  html.wo-night-mode .wo-hub__tab.is-active > a,
  html.wo-night-mode .wo-hub__tab.is-active > span,
  body.wo-night-mode .wo-hub__tab.is-active > a,
  body.wo-night-mode .wo-hub__tab.is-active > span {
    background: rgba(24, 119, 242, 0.22) !important;
    color: #8ab4f8 !important;
  }

  .wo-hub__grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .wo-hub-card {
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transform: none !important;
  }

  .wo-hub-card:hover {
    transform: none !important;
  }

  .wo-hub-card__media {
    width: 60px;
    height: 60px;
    min-width: 60px;
    flex: 0 0 60px;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .wo-hub-card__media img {
    border-radius: 12px;
  }

  .wo-hub-card:hover .wo-hub-card__media img {
    transform: none;
  }

  .wo-hub-card__badge {
    display: none;
  }

  .wo-hub-card__body {
    padding: 0;
    min-width: 0;
    flex: 1 1 auto;
  }

  .wo-hub-card__title {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .wo-hub-card__title a {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    display: block;
  }

  .wo-hub-card__meta {
    font-size: 13px;
  }

  .wo-hub-card__meta--sub {
    display: none;
  }

  .wo-hub-card__actions {
    padding-top: 6px;
  }

  /* Hide View on mobile ? card title/avatar open the group/page */
  .wo-hub-card__cta {
    display: none !important;
  }

  .wo-hub-card__actions .btn,
  .wo-hub-card__actions a.btn,
  .wo-hub-card__actions .user-follow-button,
  .wo-hub-card__actions .user-follow-button .btn {
    width: auto !important;
    min-width: 0 !important;
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    align-self: flex-start;
  }
}

/* ==========================================================================
   Legal pages ? About / Terms (modern document shell)
   ========================================================================== */

.wo-legal {
  --wo-legal-max: 820px;
  --wo-legal-hero-h: min(72vh, 520px);
  margin: 0;
  padding: 0;
  color: var(--fb-text);
}

/* Break out of .content-container so the hero is edge-to-edge */
.wo-legal__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: var(--wo-legal-hero-h);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.wo-legal__hero--doc {
  --wo-legal-hero-h: min(48vh, 340px);
  background: linear-gradient(145deg, #14181f 0%, #1e2a38 48%, #243447 100%);
}

.wo-legal__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: wo-legal- ken 18s ease-out both;
}

.wo-legal__hero-media--abstract {
  background-image:
    radial-gradient(ellipse 80% 60% at 12% 88%, rgba(24, 119, 242, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 12%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(160deg, #0f141a 0%, #1a2736 55%, #243447 100%);
  transform: none;
  animation: wo-legal-shift 14s ease-in-out infinite alternate;
}

.wo-legal__hero-media--privacy {
  background-image:
    radial-gradient(ellipse 75% 55% at 88% 78%, rgba(24, 119, 242, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 8% 18%, rgba(255, 255, 255, 0.07), transparent 50%),
    linear-gradient(200deg, #10151c 0%, #1a2430 50%, #1f2d3d 100%);
}

.wo-legal__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0.15) 0%, rgba(10, 12, 14, 0.55) 48%, rgba(10, 12, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 12, 14, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.wo-legal__hero-veil--doc {
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0.2) 0%, rgba(10, 12, 14, 0.65) 100%),
    linear-gradient(105deg, rgba(10, 14, 20, 0.55) 0%, transparent 60%);
}

.wo-legal__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  box-sizing: border-box;
}

.wo-legal__brand {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: wo-legal-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wo-legal__title {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  animation: wo-legal-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.wo-legal__lede {
  margin: 0;
  max-width: 36em;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  animation: wo-legal-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.wo-legal__shell {
  max-width: 1080px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: -28px !important;
  margin-bottom: 48px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  position: relative;
  z-index: 3;
}

.wo-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}

.wo-legal__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  color: var(--fb-text-secondary) !important;
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  box-shadow: var(--fb-shadow);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.wo-legal__link:hover {
  color: var(--fb-text) !important;
  border-color: var(--fb-text-secondary);
}

.wo-legal__link.is-active {
  color: #fff !important;
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  box-shadow: none;
}

.wo-legal__panel {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 16px;
  box-shadow: var(--fb-shadow);
  padding: clamp(22px, 4vw, 40px);
  animation: wo-legal-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.wo-legal__prose {
  max-width: var(--wo-legal-max);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fb-text);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.wo-legal__prose--doc {
  font-size: 15.5px;
  line-height: 1.75;
}

.wo-legal__prose > *:first-child {
  margin-top: 0;
}

.wo-legal__prose > *:last-child {
  margin-bottom: 0;
}

.wo-legal__prose h1,
.wo-legal__prose h2,
.wo-legal__prose h3,
.wo-legal__prose h4 {
  margin: 1.6em 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fb-text);
}

.wo-legal__prose h1 { font-size: 1.55em; }
.wo-legal__prose h2 { font-size: 1.3em; }
.wo-legal__prose h3 { font-size: 1.15em; }

.wo-legal__prose p {
  margin: 0 0 1em;
}

.wo-legal__prose a {
  color: var(--fb-blue);
  text-decoration: none;
  font-weight: 600;
}

.wo-legal__prose a:hover {
  text-decoration: underline;
}

.wo-legal__prose ul,
.wo-legal__prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.wo-legal__prose li {
  margin: 0.35em 0;
}

.wo-legal__prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.wo-legal__prose hr {
  border: 0;
  border-top: 1px solid var(--fb-border);
  margin: 1.75em 0;
}

.wo-legal__prose blockquote {
  margin: 1.25em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--fb-blue);
  background: var(--fb-featured-card-bg, #f0f2f5);
  border-radius: 0 10px 10px 0;
  color: var(--fb-text-secondary);
}

@keyframes wo-legal-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wo-legal-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@keyframes wo-legal-shift {
  from {
    background-position: 0% 40%, 100% 0%, 0 0;
  }
  to {
    background-position: 20% 60%, 80% 20%, 0 0;
  }
}

html.wo-night-mode .wo-legal__panel,
body.wo-night-mode .wo-legal__panel {
  background: var(--fb-surface);
  border-color: var(--fb-border);
}

html.wo-night-mode .wo-legal__link:not(.is-active),
body.wo-night-mode .wo-legal__link:not(.is-active) {
  background: var(--fb-surface);
  border-color: var(--fb-border);
  color: var(--fb-text-secondary) !important;
}

@media (max-width: 768px) {
  .wo-legal {
    --wo-legal-hero-h: min(58vh, 420px);
  }

  .wo-legal__hero--doc {
    --wo-legal-hero-h: min(40vh, 280px);
  }

  .wo-legal__hero-inner {
    padding: 36px 16px 28px;
  }

  .wo-legal__shell {
    margin-top: -20px !important;
    margin-bottom: 28px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .wo-legal__panel {
    border-radius: 14px;
    padding: 18px 16px 22px;
  }

  .wo-legal__links {
    gap: 6px;
    margin-bottom: 12px;
  }

  .wo-legal__link {
    padding: 7px 12px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wo-legal__brand,
  .wo-legal__title,
  .wo-legal__lede,
  .wo-legal__panel,
  .wo-legal__hero-media,
  .wo-legal__hero-media--abstract {
    animation: none !important;
  }
}

/* ===== Blogs mosaic page ===== */
body.wo-page-blogs .content-container.container,
.content-container.container:has(.wo-blogs-page) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.wo-page-blogs .content-container.container #contnet,
.content-container.container:has(.wo-blogs-page) #contnet {
  max-width: none;
  width: 100%;
}

.wo-blogs-page {
  --wo-blogs-red: #e41e26;
  --wo-blogs-ink: #12141a;
  --wo-blogs-muted: #5c6470;
  --wo-blogs-paper: #f6f6f7;
  --wo-blogs-line: rgba(18, 20, 26, 0.08);
  --wo-blogs-max: 1080px;
  color: var(--wo-blogs-ink);
  background: var(--wo-blogs-paper);
  margin: -12px 0 0;
  padding: 0 0 56px;
  min-height: 70vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.wo-blogs-top {
  padding: 24px 20px 12px;
}

.wo-blogs-top__inner {
  max-width: var(--wo-blogs-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wo-blogs-top__brand {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wo-blogs-red);
}

.wo-blogs-top__title {
  margin: 0;
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--wo-blogs-ink);
}

.wo-blogs-top__lede {
  display: none;
}

.wo-blogs-top__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.wo-blogs-search {
  position: relative;
  min-width: 220px;
  width: min(280px, 36vw);
  flex: 0 1 auto;
}

.wo-blogs-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--wo-blogs-line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  color: var(--wo-blogs-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wo-blogs-search input:focus {
  border-color: rgba(228, 30, 38, 0.45);
  box-shadow: 0 0 0 3px rgba(228, 30, 38, 0.12);
}

.wo-blogs-search__suggs {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--wo-blogs-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(18, 20, 26, 0.12);
  max-height: 320px;
  overflow: auto;
}

.wo-blogs-mybtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--wo-blogs-ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wo-blogs-mybtn svg {
  flex: 0 0 auto;
}

.wo-blogs-mybtn:hover {
  background: var(--wo-blogs-red);
  transform: translateY(-1px);
}

.wo-blogs-cats {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 246, 247, 0.94);
  border-bottom: 1px solid var(--wo-blogs-line);
}

.wo-blogs-cats__shell {
  position: relative;
  max-width: var(--wo-blogs-max);
  margin: 0 auto;
  padding: 0 8px;
}

.wo-blogs-cats__track {
  padding: 10px 44px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wo-blogs-cats__track::-webkit-scrollbar {
  display: none;
}

.wo-blogs-cats__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: 1px solid rgba(18, 20, 26, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wo-blogs-ink);
  box-shadow: 0 4px 14px rgba(18, 20, 26, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.wo-blogs-cats__nav[hidden] {
  display: none !important;
}

.wo-blogs-cats__nav--prev {
  left: 10px;
}

.wo-blogs-cats__nav--next {
  right: 10px;
}

.wo-blogs-cats__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wo-blogs-cats__nav:hover {
  background: #fff;
  transform: scale(1.04);
}

.wo-blogs-cats__nav:focus-visible {
  outline: 3px solid rgba(228, 30, 38, 0.35);
  outline-offset: 2px;
}

.wo-blogs-cats__item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wo-blogs-muted) !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wo-blogs-cats__item:hover {
  color: var(--wo-blogs-ink) !important;
  background: rgba(18, 20, 26, 0.05);
}

.wo-blogs-cats__item.is-active {
  color: #fff !important;
  background: var(--wo-blogs-red);
  border-color: var(--wo-blogs-red);
}

.wo-blogs-mosaic {
  max-width: var(--wo-blogs-max);
  margin: 20px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
  align-items: stretch;
}

.wo-blogs-tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #1a1d24;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(18, 20, 26, 0.06);
  transform: translateZ(0);
  min-height: 0;
}

.wo-blogs-tile--hero,
.wo-blogs-tile--tall,
.wo-blogs-tile--wide,
.wo-blogs-tile--md,
.wo-blogs-tile--sm,
.wo-blogs-tile--list,
.wo-blogs-tile--card {
  grid-column: auto;
  grid-row: auto;
}

.wo-blogs-tile--list {
  background: #1a1d24;
  box-shadow: 0 6px 18px rgba(18, 20, 26, 0.06);
}

.wo-blogs-tile__stage {
  position: absolute;
  inset: 0;
  perspective: 1200px;
}

.wo-blogs-tile__stage--list {
  perspective: none;
  padding: 6px 8px;
}

.wo-blogs-face {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18%);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.wo-blogs-face.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.wo-blogs-face.is-out {
  opacity: 0;
  z-index: 1;
}

.wo-blogs-tile[data-anim="slide"] .wo-blogs-face.is-out {
  transform: translateX(-16%);
}

.wo-blogs-tile[data-anim="slide"] .wo-blogs-face.is-in {
  transform: translateX(0);
}

.wo-blogs-tile[data-anim="fade"] .wo-blogs-face {
  transform: scale(1.04);
}

.wo-blogs-tile[data-anim="fade"] .wo-blogs-face.is-active,
.wo-blogs-tile[data-anim="fade"] .wo-blogs-face.is-in {
  transform: scale(1);
}

.wo-blogs-tile[data-anim="cube"] .wo-blogs-face {
  transform: rotateY(78deg);
  transform-origin: left center;
  backface-visibility: hidden;
}

.wo-blogs-tile[data-anim="cube"] .wo-blogs-face.is-active,
.wo-blogs-tile[data-anim="cube"] .wo-blogs-face.is-in {
  transform: rotateY(0deg);
}

.wo-blogs-tile[data-anim="cube"] .wo-blogs-face.is-out {
  transform: rotateY(-78deg);
  transform-origin: right center;
}

.wo-blogs-face__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 4.5s ease;
}

.wo-blogs-face.is-active .wo-blogs-face__media {
  transform: scale(1);
}

.wo-blogs-face__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.05) 0%, rgba(10, 12, 16, 0.15) 35%, rgba(10, 12, 16, 0.88) 100%);
}

.wo-blogs-face__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.wo-blogs-face__cat {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--wo-blogs-red);
  padding: 6px 10px;
  border-radius: 6px;
}

.wo-blogs-face__title {
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-blogs-list-face {
  position: absolute;
  inset: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.wo-blogs-list-face.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.wo-blogs-list-face.is-out {
  opacity: 0;
  z-index: 1;
  transform: translateY(-8px);
}

.wo-blogs-tile[data-anim="fade"] .wo-blogs-list-face {
  transform: scale(0.98);
}

.wo-blogs-tile[data-anim="fade"] .wo-blogs-list-face.is-active,
.wo-blogs-tile[data-anim="fade"] .wo-blogs-list-face.is-in {
  transform: scale(1);
}

.wo-blogs-list__row {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.18s ease;
}

.wo-blogs-list__row:hover {
  background: rgba(18, 20, 26, 0.04);
}

.wo-blogs-list__thumb {
  display: block;
  width: 64px;
  height: 52px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #d9d5ce;
}

.wo-blogs-list__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wo-blogs-list__cat {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wo-blogs-red);
  line-height: 1.2;
}

.wo-blogs-list__title {
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--wo-blogs-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-blogs-list__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--wo-blogs-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-blogs-tile--list .wo-blogs-tile__dots {
  top: auto;
  bottom: 8px;
  right: 10px;
}

.wo-blogs-tile--list .wo-blogs-tile__dot {
  background: rgba(18, 20, 26, 0.2);
}

.wo-blogs-tile--list .wo-blogs-tile__dot.is-on {
  background: var(--wo-blogs-red);
  box-shadow: 0 0 0 3px rgba(228, 30, 38, 0.14);
}

.wo-blogs-tile--hero .wo-blogs-face__title {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  -webkit-line-clamp: 4;
}

.wo-blogs-tile--tall .wo-blogs-face__title,
.wo-blogs-tile--wide .wo-blogs-face__title {
  font-size: 1.35rem;
}

.wo-blogs-face__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.wo-blogs-face__dot {
  opacity: 0.6;
}

.wo-blogs-tile__dots {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  display: flex;
  gap: 5px;
}

.wo-blogs-tile__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.wo-blogs-tile__dot.is-on {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.wo-blogs-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: var(--wo-blogs-muted);
}

.wo-blogs-more {
  max-width: var(--wo-blogs-max);
  margin: 28px auto 0;
  padding: 0 16px;
  text-align: center;
}

.wo-blogs-more__btn {
  min-width: 180px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--wo-blogs-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.wo-blogs-more__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

@keyframes wo-blogs-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.wo-night-mode .wo-blogs-page,
body.wo-night-mode .wo-blogs-page {
  --wo-blogs-ink: #f2f2f4;
  --wo-blogs-muted: #a7adb8;
  --wo-blogs-paper: #15171c;
  --wo-blogs-line: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(1000px 420px at 10% -8%, rgba(228, 30, 38, 0.18), transparent 55%),
    linear-gradient(180deg, #101218 0%, #0b0d12 100%);
}

html.wo-night-mode .wo-blogs-cats,
body.wo-night-mode .wo-blogs-cats {
  background: rgba(16, 18, 24, 0.84);
}

html.wo-night-mode .wo-blogs-cats__nav,
body.wo-night-mode .wo-blogs-cats__nav {
  background: rgba(30, 33, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f2f2f4;
}

html.wo-night-mode .wo-blogs-search input,
body.wo-night-mode .wo-blogs-search input {
  background: rgba(255, 255, 255, 0.06);
  color: #f2f2f4;
}

html.wo-night-mode .wo-blogs-tile--list,
body.wo-night-mode .wo-blogs-tile--list {
  background: rgba(28, 31, 38, 0.92);
}

html.wo-night-mode .wo-blogs-list__row:hover,
body.wo-night-mode .wo-blogs-list__row:hover {
  background: rgba(255, 255, 255, 0.05);
}

html.wo-night-mode .wo-blogs-list__title,
body.wo-night-mode .wo-blogs-list__title {
  color: #f2f2f4;
}

@media (max-width: 991px) {
  .wo-blogs-cats__nav {
    display: none !important;
  }
  .wo-blogs-cats__track {
    padding-left: 16px;
    padding-right: 16px;
  }
  .wo-blogs-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .wo-blogs-tile--hero,
  .wo-blogs-tile--tall,
  .wo-blogs-tile--list,
  .wo-blogs-tile--wide,
  .wo-blogs-tile--md,
  .wo-blogs-tile--sm,
  .wo-blogs-tile--card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .wo-blogs-top {
    padding-top: 18px;
  }
  .wo-blogs-top__inner {
    align-items: stretch;
  }
  .wo-blogs-top__tools {
    width: 100%;
  }
  .wo-blogs-search {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
  .wo-blogs-mybtn span {
    display: none;
  }
  .wo-blogs-mybtn {
    padding: 0 12px;
  }
  .wo-blogs-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .wo-blogs-tile--hero,
  .wo-blogs-tile--tall,
  .wo-blogs-tile--list,
  .wo-blogs-tile--wide,
  .wo-blogs-tile--md,
  .wo-blogs-tile--sm,
  .wo-blogs-tile--card {
    grid-column: auto;
    grid-row: auto;
  }
  .wo-blogs-face__title {
    font-size: 1.2rem;
  }
  .wo-blogs-list__thumb {
    width: 58px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wo-blogs-tile,
  .wo-blogs-face,
  .wo-blogs-face__media {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Individual blog article ===== */
body.wo-page-blogs .content-container.container:has(.wo-blog-read),
.content-container.container:has(.wo-blog-read) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.wo-blog-read {
  --wo-blog-red: #e41e26;
  --wo-blog-ink: #12141a;
  --wo-blog-muted: #5c6470;
  --wo-blog-line: rgba(18, 20, 26, 0.08);
  --wo-blog-max: 1120px;
  color: var(--wo-blog-ink);
  background:
    radial-gradient(1000px 420px at 12% -12%, rgba(228, 30, 38, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f5f1 0%, #ebe8e1 48%, #f3f1ec 100%);
  margin: -12px 0 0;
  padding-bottom: 56px;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.wo-blog-read__hero {
  position: relative;
  min-height: min(58vh, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.wo-blog-read__hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: wo-blog-ken 16s ease-out both;
}

.wo-blog-read__hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.15) 0%, rgba(10, 12, 16, 0.35) 40%, rgba(10, 12, 16, 0.92) 100%);
}

.wo-blog-read__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wo-blog-max);
  margin: 0 auto;
  padding: 36px 20px 34px;
}

.wo-blog-read__brand {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.wo-blog-read__catpill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--wo-blog-red);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wo-blog-read__title {
  margin: 0 0 16px;
  max-width: 18ch;
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.wo-blog-read__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.wo-blog-read__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}

.wo-blog-read__author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.wo-blog-read__follow {
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.wo-blog-read__follow:hover,
.wo-blog-read__follow:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.wo-blog-read__follow.is-busy {
  opacity: 0.55;
  cursor: wait;
}

.wo-blog-read__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.wo-blog-read__like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.wo-blog-read__like:hover,
.wo-blog-read__like:focus {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.wo-blog-read__like.is-liked {
  background: rgba(24, 119, 242, 0.92);
}

.wo-blog-read__like svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.wo-blog-read__like-count {
  min-width: 1.1em;
  opacity: 0.92;
  font-variant-numeric: tabular-nums;
}

.wo-blog-read__dot {
  opacity: 0.55;
}

.wo-blog-read__jump {
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.wo-blog-read__share {
  display: flex;
  gap: 8px;
}

.wo-blog-read__share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.wo-blog-read__share a:hover {
  background: var(--wo-blog-red);
  transform: translateY(-1px);
}

.wo-blog-read__share svg {
  width: 18px;
  height: 18px;
}

.wo-blog-read__layout {
  max-width: var(--wo-blog-max);
  margin: -28px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  position: relative;
  z-index: 3;
}

.wo-blog-read__main,
.wo-blog-read__side,
.wo-blog-read__rail,
.wo-blog-read__comments,
.wo-blog-read__related {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--wo-blog-line);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(18, 20, 26, 0.06);
}

.wo-blog-read__main {
  padding: 28px 28px 20px;
}

.wo-blog-read__lede {
  margin: 0 0 22px;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--wo-blog-muted);
  font-weight: 500;
}

.wo-blog-read__content {
  font-size: 1.45rem;
  line-height: 1.85;
  color: var(--wo-blog-ink);
}

.wo-blog-read__content p,
.wo-blog-read__content li,
.wo-blog-read__content span,
.wo-blog-read__content td {
  font-size: inherit;
  line-height: inherit;
}

.wo-blog-read__content > *:first-child {
  margin-top: 0;
}

.wo-blog-read__content img,
.wo-blog-read__content video,
.wo-blog-read__content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.wo-blog-read__content h1,
.wo-blog-read__content h2,
.wo-blog-read__content h3 {
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.4em 0 0.55em;
}

.wo-blog-read__content a {
  color: var(--wo-blog-red);
}

.wo-blog-read__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--wo-blog-line);
}

.wo-blog-read__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.05);
  color: var(--wo-blog-ink) !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 600;
}

.wo-blog-read__tag:hover {
  background: rgba(228, 30, 38, 0.1);
  color: var(--wo-blog-red) !important;
}

.wo-blog-read__related-slot,
.wo-blog-read__comments-slot {
  margin-top: 18px;
}

.wo-blog-read__related,
.wo-blog-read__comments {
  padding: 20px;
}

.wo-blog-read__section-title {
  margin: 0 0 14px;
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wo-blog-read__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wo-blog-read__related-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.18s ease;
}

.wo-blog-read__related-card:hover {
  background: rgba(18, 20, 26, 0.04);
}

.wo-blog-read__related-thumb {
  width: 84px;
  height: 68px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #d9d5ce;
}

.wo-blog-read__related-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.wo-blog-read__related-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--wo-blog-muted);
}

.wo-blog-read__side {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: sticky;
  top: 72px;
}

.wo-blog-read__rail {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wo-blog-read__widget-title {
  margin: 0 0 10px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.wo-blog-read__search {
  position: relative;
}

.wo-blog-read__search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--wo-blog-line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.8);
  outline: none;
}

.wo-blog-read__suggs {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--wo-blog-line);
  border-radius: 12px;
  max-height: 280px;
  overflow: auto;
  box-shadow: 0 14px 30px rgba(18, 20, 26, 0.12);
}

.wo-blog-read__popular {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wo-blog-read__popular-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-decoration: none !important;
  color: inherit !important;
}

.wo-blog-read__popular-thumb {
  width: 58px;
  height: 48px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.wo-blog-read__popular-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.wo-blog-read__popular-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--wo-blog-muted);
}

.wo-blog-read__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wo-blog-read__cat {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.05);
  color: var(--wo-blog-ink) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.wo-blog-read__cat:hover {
  background: var(--wo-blog-red);
  color: #fff !important;
}

.wo-blog-read__composer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wo-blog-read__composer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.wo-blog-read__composer textarea {
  flex: 1;
  min-height: 44px;
  border-radius: 14px !important;
  resize: vertical;
}

.wo-blog-read__composer-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.wo-blog-read__more-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--wo-blog-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wo-blog-read__skeleton {
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(18,20,26,0.04), rgba(18,20,26,0.08), rgba(18,20,26,0.04));
  background-size: 200% 100%;
  animation: wo-blog-shimmer 1.2s linear infinite;
}

.wo-blog-read__skeleton--tall {
  height: 220px;
}

.wo-blog-read__skeleton--side {
  height: 420px;
}

@keyframes wo-blog-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes wo-blog-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

html.wo-night-mode .wo-blog-read,
body.wo-night-mode .wo-blog-read {
  --wo-blog-ink: #f2f2f4;
  --wo-blog-muted: #a7adb8;
  --wo-blog-line: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 380px at 10% -10%, rgba(228, 30, 38, 0.16), transparent 55%),
    linear-gradient(180deg, #101218 0%, #0b0d12 100%);
}

html.wo-night-mode .wo-blog-read__main,
html.wo-night-mode .wo-blog-read__related,
html.wo-night-mode .wo-blog-read__comments,
html.wo-night-mode .wo-blog-read__rail,
body.wo-night-mode .wo-blog-read__main,
body.wo-night-mode .wo-blog-read__related,
body.wo-night-mode .wo-blog-read__comments,
body.wo-night-mode .wo-blog-read__rail {
  background: rgba(28, 31, 38, 0.92);
}

@media (max-width: 991px) {
  .wo-blog-read__layout {
    grid-template-columns: 1fr;
  }
  .wo-blog-read__side {
    position: static;
  }
  .wo-blog-read__title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .wo-blog-read__main {
    padding: 18px 16px;
  }
  .wo-blog-read__related-grid {
    grid-template-columns: 1fr;
  }
  .wo-blog-read__hero {
    min-height: min(52vh, 380px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wo-blog-read__hero-media,
  .wo-blog-read__skeleton {
    animation: none !important;
  }
}

/* ===== Directory (modern clean) ===== */
body.wo-page-directory .content-container.container,
body.wo-page-user .content-container.container:has(.wo-directory-page),
body.wo-page-blog .content-container.container:has(.wo-directory-page),
.content-container.container:has(.wo-directory-page),
.content-container.container:has(.wo_directory_head) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.wo-directory-page,
.page-margin:has(.wo_directory_head),
.page-padding:has(.wo_directory_head) {
  --wo-dir-red: #e41e26;
  --wo-dir-ink: #12141a;
  --wo-dir-muted: #5c6470;
  --wo-dir-paper: #f6f6f7;
  --wo-dir-line: rgba(18, 20, 26, 0.08);
  --wo-dir-max: 1080px;
  background: var(--wo-dir-paper);
  margin: -12px 0 0;
  padding: 0 0 48px;
  min-height: 70vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--wo-dir-ink);
}

.wo-directory-top,
.wo_directory_head {
  max-width: var(--wo-dir-max);
  margin: 0 auto;
  padding: 28px 20px 10px;
  background: transparent !important;
  border-radius: 0;
  color: var(--wo-dir-ink) !important;
  text-align: left;
  overflow: visible;
  position: relative;
}

.wo_directory_head > svg:first-of-type {
  display: none !important;
}

.wo-directory-top__brand,
.wo_directory_head .wo-directory-top__brand {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wo-dir-red);
}

.wo-directory-top__title,
.wo_directory_head > h2 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--wo-dir-ink) !important;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wo_directory_head > h2 svg {
  display: none;
}

.wo-directory-top__lede,
.wo_directory_head > p {
  margin: 8px 0 0;
  max-width: 46rem;
  color: var(--wo-dir-muted) !important;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
}

.wo-directory-layout,
.page-margin:has(.wo_directory_head) > .row,
.page-padding:has(.wo_directory_head) .page-margin > .row,
.wo-directory-layout-row {
  max-width: var(--wo-dir-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  float: none !important;
  width: 100% !important;
}

.wo-directory-navwrap,
.page-margin:has(.wo_directory_head) .leftcol,
.page-padding:has(.wo_directory_head) .leftcol {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 20;
}

.wo-directory-main,
.page-margin:has(.wo_directory_head) .singlecol,
.page-padding:has(.wo_directory_head) .singlecol {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
}

.wo-dir-nav,
.wow_content.wo_direct {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--wo-dir-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18, 20, 26, 0.04);
  padding: 10px !important;
  margin: 0 !important;
}

.wo-dir-nav__track,
.wo_direct {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 !important;
}

.wo-dir-nav__track::-webkit-scrollbar,
.wo_direct::-webkit-scrollbar {
  display: none;
}

.wo-dir-nav__item,
.wo_direct a {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: auto !important;
  min-height: 40px;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid transparent;
  background: transparent;
  color: var(--wo-dir-muted) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wo-dir-nav__item > span:not(.wo-dir-nav__label),
.wo_direct a > span:not(.wo-dir-nav__label) {
  display: none !important;
}

.wo-dir-nav__label,
.wo_direct a p,
.wo_direct a .wo-dir-nav__label {
  margin: 0 !important;
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.wo-dir-nav__item:hover,
.wo_direct a:hover {
  background: rgba(18, 20, 26, 0.05) !important;
  color: var(--wo-dir-ink) !important;
  transform: none !important;
}

.wo-dir-nav__item.is-active,
.wo_direct a.is-active {
  background: var(--wo-dir-red) !important;
  border-color: var(--wo-dir-red) !important;
  color: #fff !important;
}

.wo-directory-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--wo-dir-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(18, 20, 26, 0.05);
  padding: 16px;
}

.wo-directory-page .posts_load > .wow_content.empty_state,
.wo-directory-panel .empty_state {
  border-radius: 14px;
}

.wo-directory-page .wo-admincp-feturepager,
.page-margin:has(.wo_directory_head) .wo-admincp-feturepager {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wo-dir-line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wo-directory-page .pagination,
.page-margin:has(.wo_directory_head) .pagination {
  margin: 0;
}

.wo-directory-page .pagination > li > a,
.page-margin:has(.wo_directory_head) .pagination > li > a {
  border-radius: 10px;
  margin: 0 2px;
}

html.wo-night-mode .wo-directory-page,
html.wo-night-mode .page-margin:has(.wo_directory_head),
body.wo-night-mode .wo-directory-page,
body.wo-night-mode .page-margin:has(.wo_directory_head) {
  --wo-dir-ink: #f2f2f4;
  --wo-dir-muted: #a7adb8;
  --wo-dir-paper: #12141a;
  --wo-dir-line: rgba(255, 255, 255, 0.08);
  background: var(--wo-dir-paper);
}

html.wo-night-mode .wo-dir-nav,
html.wo-night-mode .wow_content.wo_direct,
html.wo-night-mode .wo-directory-panel,
body.wo-night-mode .wo-dir-nav,
body.wo-night-mode .wow_content.wo_direct,
body.wo-night-mode .wo-directory-panel {
  background: rgba(28, 31, 38, 0.92) !important;
}

@media (max-width: 640px) {
  .wo-directory-top,
  .wo_directory_head {
    padding-top: 18px;
  }
  .wo-dir-nav__item,
  .wo_direct a {
    font-size: 0.9rem;
    min-height: 36px;
    padding: 7px 13px !important;
  }
}

/* ---- Group moderation queues (pending + reported) ---- */
.group-mod-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.group-mod-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.group-mod-check__box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--fb-border, #cfd3da);
  background: var(--card-bg, #fff);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.03);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

.group-mod-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}

.group-mod-check input:checked + .group-mod-check__box {
  background: var(--fb-blue, #1877f2);
  border-color: var(--fb-blue, #1877f2);
  box-shadow: none;
}

.group-mod-check input:checked + .group-mod-check__box::after {
  transform: rotate(45deg) scale(1);
}

.group-mod-check input:focus-visible + .group-mod-check__box {
  outline: 2px solid rgba(24, 119, 242, 0.35);
  outline-offset: 2px;
}

.group-mod-check__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #050505);
}

.group-mod-check--inline {
  margin-right: 4px;
}

.group-mod-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.group-mod-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.group-mod-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.group-mod-btn--approve,
.group-mod-btn--keep {
  background: var(--fb-blue, #1877f2);
  color: #fff;
  border-color: var(--fb-blue, #1877f2);
}

.group-mod-btn--approve:hover,
.group-mod-btn--keep:hover,
.group-mod-btn--approve:focus,
.group-mod-btn--keep:focus {
  background: var(--fb-blue-hover, #166fe5);
  border-color: var(--fb-blue-hover, #166fe5);
  color: #fff;
}

.group-mod-btn--decline,
.group-mod-btn--remove {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary, #050505);
  border-color: var(--fb-border, #d8dadf);
}

.group-mod-btn--decline:hover,
.group-mod-btn--remove:hover,
.group-mod-btn--decline:focus,
.group-mod-btn--remove:focus {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary, #050505);
}

.group-mod-btn--ban {
  background: rgba(220, 53, 69, 0.1);
  color: #c62828;
  border-color: rgba(220, 53, 69, 0.28);
}

.group-mod-btn--ban:hover,
.group-mod-btn--ban:focus {
  background: rgba(220, 53, 69, 0.16);
  color: #b71c1c;
}

.group-mod-btn--ghost {
  background: transparent;
}

.group-mod-btn--ghost.group-mod-btn--approve {
  color: var(--fb-blue, #1877f2);
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.22);
}

.group-mod-btn--ghost.group-mod-btn--approve:hover,
.group-mod-btn--ghost.group-mod-btn--approve:focus {
  background: rgba(24, 119, 242, 0.14);
  color: var(--fb-blue, #1877f2);
}

.group-mod-btn--ghost.group-mod-btn--decline {
  background: transparent;
}

.group-pending-posts-toolbar {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--fb-border, #e4e6eb);
  background: var(--card-bg, #fff);
}

.group-pending-posts-toolbar__actions {
  margin-top: 18px;
}

.group-reported-post-reporters {
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--fb-border, rgba(0, 0, 0, 0.06));
  background: rgba(24, 119, 242, 0.03);
}

.group-reported-post-reporters__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-secondary, #65676b);
}

.group-reported-post-reporters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.group-reported-post-reporters__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--fb-border, #e4e6eb);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.group-reported-post-reporters__chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

html.wo-night-mode .group-pending-post-item__head,
body.wo-night-mode .group-pending-post-item__head {
  background: rgba(255, 255, 255, 0.03);
}

html.wo-night-mode .group-mod-check__box,
body.wo-night-mode .group-mod-check__box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

html.wo-night-mode .group-mod-btn--decline,
html.wo-night-mode .group-mod-btn--remove,
body.wo-night-mode .group-mod-btn--decline,
body.wo-night-mode .group-mod-btn--remove {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary, #ececec);
}

html.wo-night-mode .group-mod-btn--decline:hover,
html.wo-night-mode .group-mod-btn--remove:hover,
body.wo-night-mode .group-mod-btn--decline:hover,
body.wo-night-mode .group-mod-btn--remove:hover {
  background: rgba(255, 255, 255, 0.1);
}

html.wo-night-mode .group-reported-post-reporters,
body.wo-night-mode .group-reported-post-reporters {
  background: rgba(24, 119, 242, 0.08);
}

html.wo-night-mode .group-reported-post-reporters__chip,
body.wo-night-mode .group-reported-post-reporters__chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
  .group-pending-post-item__head,
  .group-mod-queue-item__head {
    flex-wrap: wrap;
  }

  .group-pending-post-item__actions,
  .group-mod-actions {
    width: 100%;
    justify-content: flex-start;
  }
}


/* ===== Forum (modern, friendly) =====
   Editorial red/ink variant backed up at:
   stylesheet/_backup_forum-editorial-2026-07-25/forum-editorial.css
*/
body.wo-page-forum .content-container.container,
.content-container.container:has(#forum-cont.wo-forum-page) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

#forum-cont.wo-forum-page {
  --wo-forum-accent: var(--fb-blue, #1877f2);
  --wo-forum-accent-soft: rgba(24, 119, 242, 0.1);
  --wo-forum-ink: #1c1e21;
  --wo-forum-muted: #65676b;
  --wo-forum-paper: #f0f2f5;
  --wo-forum-line: rgba(0, 0, 0, 0.08);
  --wo-forum-card: #ffffff;
  --wo-forum-max: 1040px;
  --wo-forum-radius: 18px;
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(24, 119, 242, 0.08), transparent 60%),
    radial-gradient(700px 280px at 90% 0%, rgba(45, 136, 255, 0.05), transparent 55%),
    var(--wo-forum-paper);
  margin: -12px 0 0;
  padding: 0 0 48px;
  min-height: 70vh;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  color: var(--wo-forum-ink);
  width: 100%;
  max-width: none;
  float: none;
}

#forum-cont.wo-forum-page #sidebar-sticky-forum {
  max-width: var(--wo-forum-max);
  margin: 0 auto;
  padding: 12px 20px 0;
}

#forum-cont.wo-forum-page .wo-forum-top {
  max-width: var(--wo-forum-max);
  margin: 0 auto;
  padding: 26px 20px 6px;
}

#forum-cont.wo-forum-page .wo-forum-top__brand {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--wo-forum-accent-soft);
  color: var(--wo-forum-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

#forum-cont.wo-forum-page .wo-forum-top__title {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wo-forum-ink);
}

#forum-cont.wo-forum-page .wo-forum-top__lede {
  margin: 10px 0 0;
  max-width: 36rem;
  color: var(--wo-forum-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-toolbar {
  max-width: var(--wo-forum-max);
  margin: 0 auto;
  padding: 14px 16px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: var(--fb-navbar-height, 56px);
  z-index: 30;
  background: linear-gradient(180deg, rgba(240, 242, 245, 0.96) 65%, rgba(240, 242, 245, 0));
}

#forum-cont.wo-forum-page .wo-forum-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  flex: 1 1 auto;
  min-width: 0;
}

#forum-cont.wo-forum-page .wo-forum-nav::-webkit-scrollbar {
  display: none;
}

#forum-cont.wo-forum-page .wo-forum-nav__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--wo-forum-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  color: var(--wo-forum-ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#forum-cont.wo-forum-page .wo-forum-nav__item:hover,
#forum-cont.wo-forum-page .wo-forum-nav__item:focus {
  background: var(--wo-forum-accent-soft);
  color: var(--wo-forum-accent);
  text-decoration: none;
}

#forum-cont.wo-forum-page .wo-forum-nav__item.is-active {
  background: var(--wo-forum-accent);
  border-color: var(--wo-forum-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

#forum-cont.wo-forum-page .wo-forum-jump {
  flex: 0 0 auto;
  margin-left: 0;
}

#forum-cont.wo-forum-page .wo-forum-jump__btn {
  appearance: none;
  border: 1px solid transparent;
  background: var(--wo-forum-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  color: var(--wo-forum-ink);
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 750;
}

#forum-cont.wo-forum-page .wo-forum-main {
  max-width: var(--wo-forum-max);
  margin: 0 auto;
  padding: 8px 16px 0;
}

#forum-cont.wo-forum-page .wo-forum-home,
#forum-cont.wo-forum-page .wo-forum-sections {
  margin: 0;
}

#forum-cont.wo-forum-page .wo-forum-section-wrap {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
}

#forum-cont.wo-forum-page .wow_forum_sections,
#forum-cont.wo-forum-page .wo-forum-section {
  margin: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--wo-forum-line);
  border-radius: var(--wo-forum-radius);
  background: var(--wo-forum-card);
  overflow: hidden;
}

#forum-cont.wo-forum-page .wow_forum_sections .f_category,
#forum-cont.wo-forum-page .wo-forum-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fafbfc, #fff) !important;
  color: var(--wo-forum-ink) !important;
  border-bottom: 1px solid var(--wo-forum-line);
  font-family: inherit !important;
  font-size: 1.08rem;
  font-weight: 800;
}

#forum-cont.wo-forum-page .wo-forum-section__title {
  flex: 1;
  min-width: 0;
}

#forum-cont.wo-forum-page .wo-forum-section__toggle {
  color: var(--wo-forum-muted);
  float: none !important;
}

#forum-cont.wo-forum-page .wo-forum-section__head b {
  display: none;
}

#forum-cont.wo-forum-page .wo-forum-board-list {
  display: flex;
  flex-direction: column;
}

#forum-cont.wo-forum-page .wo-forum-board {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto minmax(140px, 220px);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--wo-forum-line);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

#forum-cont.wo-forum-page .wo-forum-board:first-child {
  border-top: 0;
}

#forum-cont.wo-forum-page .wo-forum-board:hover,
#forum-cont.wo-forum-page .wo-forum-board:focus {
  background: rgba(24, 119, 242, 0.04);
  color: inherit;
  text-decoration: none;
}

#forum-cont.wo-forum-page .wo-forum-board__icon,
#forum-cont.wo-forum-page .topic_icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--wo-forum-accent-soft);
  color: var(--wo-forum-accent);
  margin: 0;
}

#forum-cont.wo-forum-page .wo-forum-board__icon svg,
#forum-cont.wo-forum-page .topic_icon svg {
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

#forum-cont.wo-forum-page .wo-forum-board__icon.is-hot,
#forum-cont.wo-forum-page .topic_icon.is-hot {
  background: var(--wo-forum-accent);
  color: #fff;
}

#forum-cont.wo-forum-page .wo-forum-board__name,
#forum-cont.wo-forum-page .ftitle,
#forum-cont.wo-forum-page .sun_ftitle {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wo-forum-ink) !important;
  line-height: 1.35;
}

#forum-cont.wo-forum-page .wo-forum-board__desc,
#forum-cont.wo-forum-page .fdesc {
  display: block;
  margin-top: 4px;
  color: var(--wo-forum-muted);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-board__stats {
  display: flex;
  gap: 10px;
}

#forum-cont.wo-forum-page .wo-forum-board__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f5f6f8;
}

#forum-cont.wo-forum-page .wo-forum-board__stat b {
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 800;
}

#forum-cont.wo-forum-page .wo-forum-board__stat small {
  color: var(--wo-forum-muted);
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

#forum-cont.wo-forum-page .wo-forum-board__latest {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
}

#forum-cont.wo-forum-page .wo-forum-board__latest .avatar,
#forum-cont.wo-forum-page .wo-forum-board__latest .avatar img {
  float: none;
  margin: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

#forum-cont.wo-forum-page .wo-forum-board__latest-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#forum-cont.wo-forum-page .wo-forum-board__latest .reply_title {
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 750;
  color: var(--wo-forum-ink);
}

#forum-cont.wo-forum-page .wo-forum-board__latest-meta,
#forum-cont.wo-forum-page .wo-forum-board__latest-empty,
#forum-cont.wo-forum-page .wo-forum-board__latest time,
#forum-cont.wo-forum-page .wo-forum-board__latest .reply_user {
  color: var(--wo-forum-muted);
  font-size: 0.95rem;
  max-width: none;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-pagehead,
#forum-cont.wo-forum-page .wow_thread_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 4px 6px;
  background: transparent !important;
  color: var(--wo-forum-ink) !important;
  border-radius: 0;
}

#forum-cont.wo-forum-page .wo-forum-pagehead__eyebrow {
  margin: 0 0 6px;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wo-forum-accent-soft);
  color: var(--wo-forum-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

#forum-cont.wo-forum-page .wo-forum-pagehead .forum_title,
#forum-cont.wo-forum-page .wow_thread_head .forum_title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wo-forum-ink) !important;
}

#forum-cont.wo-forum-page .wo-forum-pagehead__desc {
  margin: 8px 0 0;
  color: var(--wo-forum-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-pagehead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

#forum-cont.wo-forum-page .wo-forum-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#forum-cont.wo-forum-page .wo-forum-btn--primary {
  background: var(--wo-forum-accent);
  border-color: var(--wo-forum-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.22);
}

#forum-cont.wo-forum-page .wo-forum-btn--primary:hover,
#forum-cont.wo-forum-page .wo-forum-btn--primary:focus {
  background: var(--fb-blue-hover, #166fe5);
  border-color: var(--fb-blue-hover, #166fe5);
  color: #fff;
  text-decoration: none;
}

#forum-cont.wo-forum-page .wo-forum-btn--ghost {
  background: var(--wo-forum-card);
  border-color: var(--wo-forum-line);
  color: var(--wo-forum-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

#forum-cont.wo-forum-page .wo-forum-btn--ghost:hover,
#forum-cont.wo-forum-page .wo-forum-btn--ghost:focus {
  background: var(--wo-forum-accent-soft);
  border-color: transparent;
  color: var(--wo-forum-accent);
  text-decoration: none;
}

#forum-cont.wo-forum-page .wo-forum-thread-panel,
#forum-cont.wo-forum-page .wo-forum-thread-table-wrap {
  border: 1px solid var(--wo-forum-line);
  border-radius: var(--wo-forum-radius);
  background: var(--wo-forum-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

#forum-cont.wo-forum-page .wo-forum-thread-table,
#forum-cont.wo-forum-page .threads-table {
  margin: 0;
  width: 100%;
}

#forum-cont.wo-forum-page .wow_forum_dis_thead {
  background: transparent !important;
}

#forum-cont.wo-forum-page .wow_forum_dis_thead th {
  color: var(--wo-forum-muted) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  padding: 14px 18px !important;
  border: 0;
}

#forum-cont.wo-forum-page .wo-forum-topic > td {
  border-top: 1px solid var(--wo-forum-line) !important;
  padding: 0 !important;
}

#forum-cont.wo-forum-page .wo-forum-topic__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
}

#forum-cont.wo-forum-page .wo-forum-topic:hover {
  background: rgba(24, 119, 242, 0.035);
}

#forum-cont.wo-forum-page .wo-forum-topic__title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}

#forum-cont.wo-forum-page .wo-forum-topic__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  color: var(--wo-forum-muted);
  font-size: 0.98rem;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-topic__aside {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#forum-cont.wo-forum-page .wo-forum-topic__stat,
#forum-cont.wo-forum-page .wo-forum-topic__last {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f5f6f8;
  text-align: center;
}

#forum-cont.wo-forum-page .wo-forum-topic__stat b,
#forum-cont.wo-forum-page .wo-forum-topic__last span {
  font-size: 1rem;
  line-height: 1.15;
  color: var(--wo-forum-ink);
  font-weight: 800;
}

#forum-cont.wo-forum-page .wo-forum-topic__stat small,
#forum-cont.wo-forum-page .wo-forum-topic__last small {
  color: var(--wo-forum-muted);
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

#forum-cont.wo-forum-page .wo-forum-topic__last {
  min-width: 100px;
}

#forum-cont.wo-forum-page .wo-forum-discussion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#forum-cont.wo-forum-page .wow_thread_main_reply,
#forum-cont.wo-forum-page .wo-forum-post--op,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies,
#forum-cont.wo-forum-page .wo-forum-post {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--wo-forum-line);
  border-radius: var(--wo-forum-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  background: var(--wo-forum-card) !important;
  overflow: hidden;
}

#forum-cont.wo-forum-page .wow_thread_replies {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies {
  padding: 0;
}

#forum-cont.wo-forum-page .t-left_prt,
#forum-cont.wo-forum-page .wo-forum-post__author {
  float: none;
  width: 168px;
  min-width: 168px;
  margin: 0;
  padding: 18px 14px;
  background: #f7f8fa;
  border-right: 1px solid var(--wo-forum-line);
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt {
  width: 124px;
  min-width: 124px;
}

#forum-cont.wo-forum-page .t-left_prt .avatar,
#forum-cont.wo-forum-page .t-left_prt img.avatar,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(24, 119, 242, 0.18);
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  position: relative;
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar img {
  width: 58px;
  height: 58px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(24, 119, 242, 0.14);
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar .btn,
#forum-cont.wo-forum-page .wo-forum-post__permalink {
  left: -8px;
  top: -8px;
  transform: none;
  width: 30px;
  height: 30px;
  background: var(--wo-forum-card);
  border: 1px solid var(--wo-forum-line);
  box-shadow: none;
}

#forum-cont.wo-forum-page .user-title-thread {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
}

#forum-cont.wo-forum-page .t-right_prt,
#forum-cont.wo-forum-page .wo-forum-post__body {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 18px 18px 16px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-right_prt:before {
  display: none;
}

#forum-cont.wo-forum-page .t-right_prt h5.time,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-right_prt h5.time {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wo-forum-line);
  color: var(--wo-forum-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

#forum-cont.wo-forum-page .wo-forum-post__content,
#forum-cont.wo-forum-page .wo-forum-post__content.small,
#forum-cont.wo-forum-page .t-right_prt > .small,
#forum-cont.wo-forum-page .t-right_prt .wo-forum-post__content,
#forum-cont.wo-forum-page .wow_thread_main_reply .t-right_prt > .small,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-right_prt > .small {
  color: var(--wo-forum-ink) !important;
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-post__content p,
#forum-cont.wo-forum-page .t-right_prt > .small p,
#forum-cont.wo-forum-page .wo-forum-post__content.small p {
  font-size: inherit !important;
  line-height: inherit !important;
}

#forum-cont.wo-forum-page .user-title-thread .small,
#forum-cont.wo-forum-page .wo-forum-post__joined,
#forum-cont.wo-forum-page .t-left_prt p.small {
  font-size: 0.95rem !important;
  font-weight: 600;
}

#forum-cont.wo-forum-page .wo-forum-post__share {
  margin-top: 16px;
}

#forum-cont.wo-forum-page .sun_forum_opts .btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border-color: var(--wo-forum-line);
  background: #f5f6f8;
}

#forum-cont.wo-forum-page .wo-forum-load-more,
#forum-cont.wo-forum-page .load-more .btn {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--wo-forum-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: var(--wo-forum-ink);
  font-weight: 800;
  min-height: 44px;
  padding: 9px 20px;
}

#forum-cont.wo-forum-page .wow_content,
#forum-cont.wo-forum-page .wo_settings_page,
#forum-cont.wo-forum-page .empty_state {
  background: var(--wo-forum-card);
  border: 1px solid var(--wo-forum-line);
  border-radius: var(--wo-forum-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

#forum-cont.wo-forum-page .empty_state {
  padding: 40px 20px;
  text-align: center;
  color: var(--wo-forum-muted);
  font-weight: 650;
}

html.wo-night-mode #forum-cont.wo-forum-page,
body.wo-night-mode #forum-cont.wo-forum-page {
  --wo-forum-ink: #e4e6eb;
  --wo-forum-muted: #b0b3b8;
  --wo-forum-paper: #18191a;
  --wo-forum-line: rgba(255, 255, 255, 0.08);
  --wo-forum-card: #242526;
  --wo-forum-accent-soft: rgba(24, 119, 242, 0.18);
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(24, 119, 242, 0.12), transparent 60%),
    var(--wo-forum-paper);
}

html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-toolbar,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-toolbar {
  background: linear-gradient(180deg, rgba(24, 25, 26, 0.96) 65%, rgba(24, 25, 26, 0));
}

html.wo-night-mode #forum-cont.wo-forum-page .wow_forum_sections .f_category,
html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-section__head,
html.wo-night-mode #forum-cont.wo-forum-page .t-left_prt,
html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-post__author,
html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-board__stat,
html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-topic__stat,
html.wo-night-mode #forum-cont.wo-forum-page .wo-forum-topic__last,
html.wo-night-mode #forum-cont.wo-forum-page .sun_forum_opts .btn,
body.wo-night-mode #forum-cont.wo-forum-page .wow_forum_sections .f_category,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-section__head,
body.wo-night-mode #forum-cont.wo-forum-page .t-left_prt,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-post__author,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-board__stat,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-topic__stat,
body.wo-night-mode #forum-cont.wo-forum-page .wo-forum-topic__last,
body.wo-night-mode #forum-cont.wo-forum-page .sun_forum_opts .btn {
  background: rgba(255, 255, 255, 0.04) !important;
}

@media (max-width: 900px) {
  #forum-cont.wo-forum-page .wo-forum-board {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  #forum-cont.wo-forum-page .wo-forum-board__latest {
    display: none;
  }
}

@media (max-width: 720px) {
  #forum-cont.wo-forum-page {
    margin-top: 0;
    padding-bottom: 72px;
  }

  #forum-cont.wo-forum-page .wo-forum-top {
    padding: 18px 16px 4px;
  }

  #forum-cont.wo-forum-page .wo-forum-toolbar {
    top: calc(var(--fb-navbar-height, 56px) - 4px);
    padding-left: 12px;
    padding-right: 12px;
  }

  #forum-cont.wo-forum-page .wo-forum-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  #forum-cont.wo-forum-page .wo-forum-board {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  #forum-cont.wo-forum-page .wo-forum-board__stats {
    grid-column: 2;
  }

  #forum-cont.wo-forum-page .wo-forum-topic__row {
    flex-direction: column;
    align-items: flex-start;
  }

  #forum-cont.wo-forum-page .wo-forum-topic__aside {
    width: 100%;
    justify-content: flex-start;
  }

  #forum-cont.wo-forum-page .wo-forum-pagehead__actions {
    width: 100%;
    justify-content: flex-start;
  }

  #forum-cont.wo-forum-page .wow_thread_main_reply,
  #forum-cont.wo-forum-page .wo-forum-post,
  #forum-cont.wo-forum-page .wow_thread_replies .thread-replies {
    flex-direction: column;
  }

  #forum-cont.wo-forum-page .t-left_prt,
  #forum-cont.wo-forum-page .wo-forum-post__author,
  #forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--wo-forum-line);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
  }

  #forum-cont.wo-forum-page .t-left_prt .avatar,
  #forum-cont.wo-forum-page .t-left_prt img.avatar,
  #forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar,
  #forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar img {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  #forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-left_prt .avatar .btn {
    display: none;
  }

  #forum-cont.wo-forum-page .t-left_prt hr,
  #forum-cont.wo-forum-page .wo-forum-post__joined {
    display: none;
  }

  #forum-cont.wo-forum-page .user-title-thread {
    margin: 0;
  }
}

/* ===== Blogs + forum: readable type (match site ~16px body) ===== */
.wo-blogs-page,
.wo-blog-read,
#forum-cont.wo-forum-page {
  font-size: 16px;
}

.wo-blogs-page .wo-blogs-top__brand {
  font-size: 13px;
}

.wo-blogs-page .wo-blogs-mybtn,
.wo-blogs-page .wo-blogs-search input,
.wo-blogs-page .wo-blogs-cats__item,
.wo-blogs-page .wo-blogs-more__btn {
  font-size: 15px !important;
}

.wo-blogs-page .wo-blogs-face__cat,
.wo-blogs-page .wo-blogs-list__cat {
  font-size: 13px !important;
}

.wo-blogs-page .wo-blogs-face__title {
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

.wo-blogs-page .wo-blogs-tile--hero .wo-blogs-face__title {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem) !important;
}

.wo-blogs-page .wo-blogs-tile--tall .wo-blogs-face__title,
.wo-blogs-page .wo-blogs-tile--wide .wo-blogs-face__title {
  font-size: 1.45rem !important;
}

.wo-blogs-page .wo-blogs-face__meta,
.wo-blogs-page .wo-blogs-list__meta {
  font-size: 14px !important;
}

.wo-blogs-page .wo-blogs-list__title {
  font-size: 1.12rem !important;
  line-height: 1.35 !important;
}

.wo-blog-read .wo-blog-read__brand,
.wo-blog-read .wo-blog-read__catpill {
  font-size: 13px !important;
}

.wo-blog-read .wo-blog-read__byline {
  font-size: 15px !important;
}

.wo-blog-read .wo-blog-read__lede {
  font-size: 18px !important;
  line-height: 1.65 !important;
}

.wo-blog-read .wo-blog-read__content.read-content,
.wo-blog-read .wo-blog-read__content {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: var(--wo-blog-ink) !important;
}

.wo-blog-read .wo-blog-read__content p,
.wo-blog-read .wo-blog-read__content li,
.wo-blog-read .wo-blog-read__content td,
.wo-blog-read .wo-blog-read__content span,
.wo-blog-read .wo-blog-read__content div,
.wo-blog-read .wo-blog-read__content a,
.wo-blog-read .wo-blog-read__content strong,
.wo-blog-read .wo-blog-read__content em,
.wo-blog-read .wo-blog-read__content b,
.wo-blog-read .wo-blog-read__content i {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.wo-blog-read .wo-blog-read__content h1 { font-size: 1.75rem !important; line-height: 1.25 !important; }
.wo-blog-read .wo-blog-read__content h2 { font-size: 1.5rem !important; line-height: 1.25 !important; }
.wo-blog-read .wo-blog-read__content h3 { font-size: 1.3rem !important; line-height: 1.3 !important; }
.wo-blog-read .wo-blog-read__content h4,
.wo-blog-read .wo-blog-read__content h5,
.wo-blog-read .wo-blog-read__content h6 { font-size: 1.15rem !important; line-height: 1.35 !important; }

.wo-blog-read .wo-blog-read__content blockquote,
.wo-blog-read .wo-blog-read__content blockquote p {
  font-size: 17px !important;
}

.wo-blog-read .wo-blog-read__tag {
  font-size: 14px !important;
}

.wo-blog-read .wo-blog-read__section-title,
.wo-blog-read .wo-blog-read__widget-title {
  font-size: 1.2rem !important;
}

.wo-blog-read .wo-blog-read__related-title,
.wo-blog-read .wo-blog-read__popular-title {
  font-size: 1.05rem !important;
}

.wo-blog-read .wo-blog-read__related-meta,
.wo-blog-read .wo-blog-read__popular-meta {
  font-size: 14px !important;
}

.wo-blog-read .wo-blog-read__cat {
  font-size: 14px !important;
}

.wo-blog-read .blog-comment-item-body p,
.wo-blog-read .blog-comment-item-body > div,
.wo-blog-read .blog-comment-item-body h5 span,
.wo-blog-read .wo_blogcomm_combo textarea {
  font-size: 15px !important;
}

#forum-cont.wo-forum-page .wo-forum-top__brand,
#forum-cont.wo-forum-page .wo-forum-pagehead__eyebrow {
  font-size: 13px !important;
}

#forum-cont.wo-forum-page .wo-forum-top__lede,
#forum-cont.wo-forum-page .wo-forum-pagehead__desc {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

#forum-cont.wo-forum-page .wo-forum-nav__item,
#forum-cont.wo-forum-page .wo-forum-jump__btn,
#forum-cont.wo-forum-page .wo-forum-btn {
  font-size: 15px !important;
}

#forum-cont.wo-forum-page .wow_forum_sections .f_category,
#forum-cont.wo-forum-page .wo-forum-section__head {
  font-size: 1.15rem !important;
}

#forum-cont.wo-forum-page .wo-forum-board__name,
#forum-cont.wo-forum-page .ftitle,
#forum-cont.wo-forum-page .sun_ftitle {
  font-size: 1.2rem !important;
}

#forum-cont.wo-forum-page .wo-forum-board__desc,
#forum-cont.wo-forum-page .fdesc {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

#forum-cont.wo-forum-page .wo-forum-board__stat b {
  font-size: 1.05rem !important;
}

#forum-cont.wo-forum-page .wo-forum-board__stat small,
#forum-cont.wo-forum-page .wow_forum_dis_thead th {
  font-size: 13px !important;
}

#forum-cont.wo-forum-page .wo-forum-board__latest .reply_title,
#forum-cont.wo-forum-page .wo-forum-topic__title {
  font-size: 1.15rem !important;
}

#forum-cont.wo-forum-page .wo-forum-board__latest-meta,
#forum-cont.wo-forum-page .wo-forum-board__latest time,
#forum-cont.wo-forum-page .wo-forum-board__latest .reply_user,
#forum-cont.wo-forum-page .wo-forum-topic__meta {
  font-size: 14px !important;
}

#forum-cont.wo-forum-page .user-title-thread {
  font-size: 1.1rem !important;
}

#forum-cont.wo-forum-page .t-right_prt h5.time,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-right_prt h5.time,
#forum-cont.wo-forum-page .user-title-thread .small,
#forum-cont.wo-forum-page .wo-forum-post__joined,
#forum-cont.wo-forum-page .t-left_prt p.small {
  font-size: 14px !important;
}

#forum-cont.wo-forum-page .wo-forum-post__content,
#forum-cont.wo-forum-page .wo-forum-post__content.small,
#forum-cont.wo-forum-page .t-right_prt > .small,
#forum-cont.wo-forum-page .t-right_prt .wo-forum-post__content,
#forum-cont.wo-forum-page .wow_thread_main_reply .t-right_prt > .small,
#forum-cont.wo-forum-page .wow_thread_replies .thread-replies .t-right_prt > .small {
  font-size: 17px !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
  color: var(--wo-forum-ink) !important;
}

#forum-cont.wo-forum-page .wo-forum-post__content *,
#forum-cont.wo-forum-page .t-right_prt > .small *,
#forum-cont.wo-forum-page .wo-forum-post__content.small * {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

#forum-cont.wo-forum-page .wo-forum-post__content h1,
#forum-cont.wo-forum-page .t-right_prt > .small h1 { font-size: 1.45rem !important; }
#forum-cont.wo-forum-page .wo-forum-post__content h2,
#forum-cont.wo-forum-page .t-right_prt > .small h2 { font-size: 1.3rem !important; }
#forum-cont.wo-forum-page .wo-forum-post__content h3,
#forum-cont.wo-forum-page .t-right_prt > .small h3 { font-size: 1.15rem !important; }

@media (max-width: 640px) {
  .wo-blogs-page .wo-blogs-face__title {
    font-size: 1.2rem !important;
  }

  .wo-blog-read .wo-blog-read__content,
  .wo-blog-read .wo-blog-read__content p,
  .wo-blog-read .wo-blog-read__content li,
  .wo-blog-read .wo-blog-read__content span,
  .wo-blog-read .wo-blog-read__content div,
  .wo-blog-read .wo-blog-read__lede {
    font-size: 17px !important;
  }

  #forum-cont.wo-forum-page .wo-forum-post__content,
  #forum-cont.wo-forum-page .wo-forum-post__content *,
  #forum-cont.wo-forum-page .t-right_prt > .small,
  #forum-cont.wo-forum-page .t-right_prt > .small * {
    font-size: 16px !important;
  }
}

/* ---- Create Page (modern form) ---- */
.wo-create-page {
  --wo-cp-accent: var(--fb-blue, #1877f2);
  --wo-cp-accent-soft: rgba(24, 119, 242, 0.12);
  --wo-cp-hero-gradient: linear-gradient(135deg, rgba(24, 119, 242, 0.14) 0%, rgba(247, 159, 88, 0.1) 55%, rgba(24, 119, 242, 0.06) 100%);
  padding-bottom: 88px;
}

html.wo-night-mode .wo-create-page,
body.wo-night-mode .wo-create-page {
  --wo-cp-accent-soft: rgba(45, 136, 255, 0.18);
  --wo-cp-hero-gradient: linear-gradient(135deg, rgba(45, 136, 255, 0.16) 0%, rgba(247, 159, 88, 0.08) 55%, rgba(45, 136, 255, 0.06) 100%);
}

.wo-create-page__hero {
  background: var(--wo-cp-hero-gradient);
  border: 1px solid var(--fb-border);
  border-radius: 16px;
  box-shadow: var(--fb-shadow);
  margin: 0 0 12px;
  overflow: hidden;
}

.wo-create-page__hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 22px 20px;
}

.wo-create-page__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wo-cp-accent-soft);
  color: var(--wo-cp-accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.wo-create-page__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--fb-text);
  line-height: 1.25;
}

.wo-create-page__subtitle {
  margin: 0;
  max-width: 52ch;
  color: var(--fb-text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.wo-create-page__hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wo-create-page form.create-page-form {
  margin: 0;
}

.wo-create-page__alert,
.wo-create-page .setting-update-alert {
  margin: 0 0 12px;
}

.wo-create-page__alert:empty {
  display: none;
  margin: 0;
}

.wo-create-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 12px;
  align-items: start;
}

.wo-create-page__card {
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  box-shadow: var(--fb-shadow);
  padding: 18px 18px 6px;
  margin-bottom: 14px;
}

.wo-create-page__card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.wo-create-page__step {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wo-cp-accent-soft);
  color: var(--wo-cp-accent);
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 34px;
}

.wo-create-page__card-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fb-text);
}

.wo-create-page__card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--fb-text-secondary);
  line-height: 1.45;
}

.wo-create-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.wo-create-page__field {
  margin-bottom: 16px;
}

.wo-create-page__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-text);
}

.wo-create-page__field input[type="text"],
.wo-create-page__field textarea,
.wo-create-page__field select,
.wo-create-page .wow_form_fields input[type="text"],
.wo-create-page .wow_form_fields textarea,
.wo-create-page .wow_form_fields select {
  width: 100%;
  margin: 0;
  padding: 12px 14px !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 10px !important;
  background: var(--fb-featured-card-bg, #f0f2f5) !important;
  color: var(--fb-text) !important;
  font-size: 15px !important;
  line-height: 1.4;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wo-create-page__field input:focus,
.wo-create-page__field textarea:focus,
.wo-create-page__field select:focus,
.wo-create-page .wow_form_fields input:focus,
.wo-create-page .wow_form_fields textarea:focus,
.wo-create-page .wow_form_fields select:focus {
  outline: none;
  border-color: var(--wo-cp-accent) !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.18) !important;
}

.wo-create-page__field textarea {
  min-height: 112px;
  resize: vertical;
}

.wo-create-page__url {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--fb-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--fb-featured-card-bg, #f0f2f5);
}

.wo-create-page__url-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--fb-text-secondary);
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid var(--fb-border);
  background: rgba(0, 0, 0, 0.03);
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.wo-night-mode .wo-create-page__url-prefix,
body.wo-night-mode .wo-create-page__url-prefix {
  background: rgba(255, 255, 255, 0.04);
}

.wo-create-page__url input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: 0;
}

.wo-create-page__url input:focus {
  box-shadow: none !important;
}

.wo-create-page__field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.wo-create-page__hint,
.wo-create-page .help-block {
  margin: 0;
  font-size: 12px;
  color: var(--fb-text-secondary);
  line-height: 1.4;
}

.wo-create-page__counter {
  font-size: 12px;
  color: var(--fb-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.wo-create-page__counter.is-near-limit {
  color: #e41e3f;
  font-weight: 600;
}

.wo-create-page__field--subcat.is-hidden {
  display: none;
}

.wo-create-page__aside {
  position: sticky;
  top: 76px;
  z-index: 2;
  background: var(--fb-surface);
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  box-shadow: var(--fb-shadow);
  overflow: hidden;
}

.wo-create-page__preview {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.wo-create-page__preview-cover {
  height: 88px;
  background: linear-gradient(120deg, rgba(24, 119, 242, 0.35), rgba(247, 159, 88, 0.28));
}

.wo-create-page__preview-body {
  padding: 0 16px 16px;
  margin-top: -28px;
}

.wo-create-page__preview-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 3px solid var(--fb-surface);
  background: var(--fb-featured-card-bg);
  color: var(--wo-cp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.wo-create-page__preview-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fb-text);
  word-break: break-word;
}

.wo-create-page__preview-url {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--fb-text-secondary);
  word-break: break-all;
}

.wo-create-page__preview-desc {
  margin: 0;
  font-size: 14px;
  color: var(--fb-text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-create-page__tips {
  list-style: none;
  margin: 0;
  padding: 12px 16px 14px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--fb-border);
  border-radius: 0;
}

.wo-create-page__tips li:last-child {
  padding-bottom: 0;
}

.wo-create-page__tips li {
  position: relative;
  padding: 0 0 10px 18px;
  font-size: 13px;
  color: var(--fb-text-secondary);
  line-height: 1.45;
}

.wo-create-page__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wo-cp-accent);
}

.wo-create-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.wo-create-page__btn--ghost {
  background: var(--fb-featured-card-bg);
  color: var(--fb-text);
}

.wo-create-page__btn--ghost:hover {
  background: var(--fb-border);
  color: var(--fb-text);
}

.wo-create-page__btn--primary {
  background: var(--wo-cp-accent);
  color: #fff !important;
}

.wo-create-page__btn--primary:hover {
  background: var(--fb-blue-hover, #166fe5);
  color: #fff !important;
}

.wo-create-page__btn.btn-loading {
  opacity: 0.85;
  pointer-events: none;
}

.wo-create-page__bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--fb-surface);
  border-top: 1px solid var(--fb-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  gap: 10px;
}

.wo-create-page__bar .wo-create-page__btn {
  flex: 1 1 0;
}

.wo-create-page__alert .alert {
  border-radius: 10px;
  margin-bottom: 14px;
}

@media (max-width: 991px) {
  .wo-create-page__layout {
    grid-template-columns: 1fr;
  }

  .wo-create-page__aside {
    position: static;
    order: -1;
  }

  .wo-create-page__hero-actions--desktop {
    display: none;
  }

  .wo-create-page__bar {
    display: flex;
  }

  .wo-create-page {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .wo-create-page__hero-inner {
    padding: 16px;
  }

  .wo-create-page__card {
    padding: 14px 14px 4px;
    border-radius: 12px;
  }

  .wo-create-page__grid {
    grid-template-columns: 1fr;
  }

  .wo-create-page__url-prefix {
    max-width: 42%;
    font-size: 11px;
    padding: 0 8px;
  }

  .wo-create-page__field-meta {
    flex-direction: column;
    gap: 4px;
  }

  .wo-create-page__tips {
    display: none;
  }
}

@media (min-width: 992px) {
  .wo-create-page__bar {
    display: none !important;
  }
}

/* Create Group â€” accent overrides */
.wo-create-group {
  --wo-cp-accent: #42b72a;
  --wo-cp-accent-soft: rgba(66, 183, 42, 0.14);
  --wo-cp-hero-gradient: linear-gradient(135deg, rgba(66, 183, 42, 0.14) 0%, rgba(24, 119, 242, 0.1) 55%, rgba(66, 183, 42, 0.06) 100%);
}

html.wo-night-mode .wo-create-group,
body.wo-night-mode .wo-create-group {
  --wo-cp-accent: #4cd137;
  --wo-cp-accent-soft: rgba(76, 209, 55, 0.18);
  --wo-cp-hero-gradient: linear-gradient(135deg, rgba(76, 209, 55, 0.16) 0%, rgba(45, 136, 255, 0.08) 55%, rgba(76, 209, 55, 0.06) 100%);
}

.wo-create-group__preview-cover {
  background: linear-gradient(120deg, rgba(66, 183, 42, 0.35), rgba(24, 119, 242, 0.28));
}

.wo-create-group__preview-privacy {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wo-cp-accent);
  background: var(--wo-cp-accent-soft);
}

/* ===== Stories / status strip v2 (home feed) ===== */
.wo-stories-strip {
  margin-bottom: 4px !important;
}

.wo-stories-strip__list {
  display: flex !important;
  align-items: stretch;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wo-stories-strip__list::-webkit-scrollbar {
  display: none;
}

.wo-stories-strip__list > li {
  flex: 0 0 20%;
  width: 20% !important;
  max-width: 20%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
}

.wo-stories-strip .wo-story-tile__link {
  display: block;
  position: relative;
  height: 100%;
  padding-bottom: 145%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  background: #1c1e21;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wo-stories-strip .wo-story-tile__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.wo-stories-strip .wo-story-tile__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.wo-stories-strip .wo-story-tile__ring {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
}

.wo-stories-strip .wo-story-tile__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.wo-stories-strip .wo-story-tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.wo-stories-strip .wo-story-tile__link:hover .wo-story-tile__media img {
  transform: scale(1.05);
}

.wo-stories-strip .wo-story-tile__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 0 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Unseen: clean ring, no shrink */
.wo-stories-strip .wo-story-tile.is-unseen {
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1877f2 0%, #6b5cff 55%, #e41e3f 100%);
}

.wo-stories-strip .wo-story-tile.is-unseen::before {
  display: none !important;
}

.wo-stories-strip .wo-story-tile.is-unseen .wo-story-tile__link {
  border-radius: 12px;
  transform: none !important;
  box-shadow: none !important;
}

.wo-stories-strip .wo-story-tile.is-unseen .wo-story-tile__link:hover {
  transform: translateY(-2px);
}

.wo-stories-strip .wo-story-tile.is-seen .wo-story-tile__link {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Create story tile */
.wo-stories-strip .wo-story-tile--create .wo-story-tile__link {
  background: var(--fb-surface, #fff);
  border: none;
  box-shadow: none;
}

.wo-stories-strip .wo-story-tile--create .wo-story-tile__link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wo-stories-strip .wo-story-tile--create .wo-story-tile__link::after {
  display: none;
}

.wo-stories-strip .wo-story-tile--create .wo-fb-create-story__cover {
  height: 68% !important;
  background: var(--fb-bg, #f0f2f5);
}

.wo-stories-strip .wo-story-tile--create .wo-fb-create-story__footer {
  height: 32% !important;
  padding: 18px 6px 6px !important;
  background: var(--fb-surface, #fff) !important;
}

.wo-stories-strip .wo-story-tile--create .wo-fb-create-story__plus {
  width: 32px !important;
  height: 32px !important;
  border-width: 2px !important;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.35);
}

.wo-stories-strip .wo-story-tile--create .wo-fb-create-story__label {
  font-size: 11px !important;
  font-weight: 600;
}

/* See all tile */
.wo-stories-strip .wo-story-tile--more .wo-story-tile__link {
  background: linear-gradient(145deg, #3a3b3c 0%, #242526 100%);
}

.wo-stories-strip .wo-story-tile--more .wo-story-tile__link::after {
  display: none;
}

.wo-stories-strip .wo-story-tile--more .wo-story-tile__more-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.92;
}

.wo-stories-strip .wo-story-tile--more .wo-story-tile__name {
  text-align: center;
}

@media (max-width: 768px) {
  .wo-stories-strip__list {
    gap: 6px;
    padding: 0 0 2px !important;
  }

  .wo-stories-strip__list > li {
    flex: 0 0 108px;
    width: 108px !important;
    min-width: 108px;
    max-width: 108px;
  }

  .wo-stories-strip .wo-story-tile__link {
    padding-bottom: 145%;
    border-radius: 12px;
  }

  .wo-stories-strip .wo-story-tile__name {
    font-size: 11px;
    padding: 0 6px 6px;
  }
}

html.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-story-tile__link,
body.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-story-tile__link {
  background: #242526;
  border-color: #3e4042;
}

html.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-fb-create-story__footer,
body.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-fb-create-story__footer {
  background: #242526 !important;
}

html.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-fb-create-story__plus,
body.wo-night-mode .wo-stories-strip .wo-story-tile--create .wo-fb-create-story__plus {
  border-color: #242526 !important;
}

/* ===== Create status page v3 ===== */
.wo-create-status {
  --wo-cs-accent: var(--fb-blue, #1877f2);
  --wo-cs-surface: var(--card-bg, #fff);
  --wo-cs-border: var(--fb-border, #e4e6eb);
  --wo-cs-muted: var(--text-secondary, #65676b);
  --wo-cs-text: var(--text-color, #050505);
  --wo-cs-soft: color-mix(in srgb, var(--wo-cs-accent) 8%, transparent);
  margin-bottom: 28px;
}

.wo-create-status__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wo-create-status__hero {
  margin: 0 0 16px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(24, 119, 242, 0.14), transparent 55%),
    radial-gradient(90% 120% at 100% 0%, rgba(228, 30, 63, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid var(--wo-cs-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wo-create-status__hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wo-create-status__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wo-cs-accent);
  background: var(--wo-cs-soft);
}

.wo-create-status__title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wo-cs-text);
}

.wo-create-status__subtitle {
  margin: 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--wo-cs-muted);
}

.wo-create-status__hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.wo-create-status__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wo-create-status__btn--ghost {
  background: transparent;
  border-color: var(--wo-cs-border);
  color: var(--wo-cs-text);
}

.wo-create-status__btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.wo-create-status__btn--primary {
  background: var(--wo-cs-accent) !important;
  color: #fff !important;
  border-color: var(--wo-cs-accent) !important;
  min-width: 112px;
}

.wo-create-status__btn--primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.wo-create-status__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.wo-create-status__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wo-create-status__card {
  background: var(--wo-cs-surface);
  border: 1px solid var(--wo-cs-border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.wo-create-status__card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.wo-create-status__step {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--wo-cs-accent);
  background: var(--wo-cs-soft);
}

.wo-create-status__card-title {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wo-cs-text);
}

.wo-create-status__card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--wo-cs-muted);
}

.wo-create-status__composer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wo-create-status__composer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--wo-cs-border);
}

.wo-create-status__composer-body {
  flex: 1 1 auto;
  min-width: 0;
}

.wo-create-status__textarea,
.wo-create-status__form textarea.form-control {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border-radius: 12px !important;
  border: 1px solid var(--wo-cs-border) !important;
  background: var(--fb-bg, #f0f2f5) !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  line-height: 1.4;
  color: var(--wo-cs-text);
  box-shadow: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.wo-create-status__textarea:focus,
.wo-create-status__form textarea.form-control:focus {
  background: #fff !important;
  border-color: var(--wo-cs-accent) !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12) !important;
}

.wo-create-status__media-field,
.wo-create-status__thumb-field {
  margin: 0 !important;
}

.wo-create-status__thumb-field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wo-cs-muted);
}

.wo-create-status__dropzone.wow_stroy_media {
  position: relative;
  min-height: 220px !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 14px !important;
  border: 2px dashed #c9ced6 !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 119, 242, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(228, 30, 63, 0.06), transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wo-create-status__dropzone.wow_stroy_media:hover,
.wo-create-status__dropzone.wow_stroy_media.hover {
  border-color: var(--wo-cs-accent) !important;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.12);
  transform: translateY(-1px);
}

.wo-create-status__dropzone.is-filled {
  border-style: solid !important;
  border-color: color-mix(in srgb, var(--wo-cs-accent) 45%, #c9ced6) !important;
}

.wo-create-status__dropzone-bg,
.wo-create-status__dropzone #wow_fcov_img_holder,
.wo-create-status__dropzone #wow_fcov_img_holder img {
  display: none !important;
}

.wo-create-status__dropzone-overlay.upload_ad_image {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 14px !important;
  cursor: pointer;
}

.wo-create-status__dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: var(--wo-cs-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-shadow: none !important;
}

.wo-create-status__dropzone-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wo-cs-accent);
  background: #fff;
  border: 1px solid var(--wo-cs-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  margin-bottom: 4px;
  transition: transform 0.18s ease;
}

.wo-create-status__dropzone:hover .wo-create-status__dropzone-icon {
  transform: scale(1.05);
}

.wo-create-status__dropzone-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wo-cs-text);
}

.wo-create-status__dropzone-hint {
  font-size: 13px;
  color: var(--wo-cs-muted);
}

.wo-create-status__dropzone-hint strong {
  color: var(--wo-cs-accent);
  font-weight: 700;
}

.wo-create-status__file-badge.wow_stroy_media_count {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 3;
  width: auto !important;
  max-width: calc(100% - 24px);
}

.wo-create-status__file-badge input {
  width: auto !important;
  min-width: 0;
  height: 28px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(17, 24, 39, 0.82) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  text-align: center;
  box-shadow: none !important;
  cursor: default;
}

.wo-create-status__dropzone--thumb {
  min-height: 140px !important;
}

.wo-create-status__previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.wo-create-status__preview-tile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--wo-cs-border);
  animation: wo-cs-tile-in 0.22s ease both;
}

.wo-create-status__preview-tile img,
.wo-create-status__preview-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo-create-status__preview-tile-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@keyframes wo-cs-tile-in {
  from { opacity: 0; transform: scale(0.92) translateY(4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wo-create-status__progress {
  display: none;
  margin-bottom: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--wo-cs-surface);
  border: 1px solid var(--wo-cs-border);
}

.wo-create-status__progress #percent {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wo-cs-accent);
}

.wo-create-status__alert {
  margin: 0;
}

.wo-create-status__alert .alert {
  margin: 0;
  border-radius: 12px;
}

.wo-create-status__aside {
  position: sticky;
  top: 72px;
}

.wo-create-status__preview-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--wo-cs-surface);
  border: 1px solid var(--wo-cs-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.wo-create-status__preview-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wo-cs-muted);
}

.wo-create-status__preview-phone {
  display: flex;
  justify-content: center;
}

.wo-create-status__preview-frame {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1e21 0%, #3a3b3c 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.wo-create-status__preview-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.wo-create-status__preview-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.wo-create-status__preview-empty-icon {
  opacity: 0.7;
}

.wo-create-status__preview-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wo-create-status__preview-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.wo-create-status__preview-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.wo-create-status__preview-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-create-status__preview-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--wo-cs-muted);
  text-align: center;
}

.wo-create-status__mobile-bar {
  display: none;
}

@media (max-width: 991px) {
  .wo-create-status__layout {
    grid-template-columns: 1fr;
  }

  .wo-create-status__aside {
    position: static;
    order: -1;
  }

  .wo-create-status__preview-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .wo-create-status__preview-phone {
    justify-content: flex-start;
  }

  .wo-create-status__preview-frame {
    max-width: 160px;
  }

  .wo-create-status__preview-note {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .wo-create-status__hero {
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 12px;
  }

  .wo-create-status__hero-actions--desktop {
    display: none;
  }

  .wo-create-status__title {
    font-size: 22px;
  }

  .wo-create-status__subtitle {
    font-size: 13px;
  }

  .wo-create-status__card {
    padding: 14px;
    border-radius: 12px;
  }

  .wo-create-status__dropzone.wow_stroy_media {
    min-height: 180px !important;
  }

  .wo-create-status__aside {
    display: none;
  }

  .wo-create-status__mobile-bar {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 10px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--wo-cs-surface) 92%, transparent);
    border: 1px solid var(--wo-cs-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .wo-create-status__mobile-bar .wo-create-status__btn {
    flex: 1 1 0;
  }

  .wo-create-status__mobile-bar .wo-create-status__btn--primary {
    flex: 1.4 1 0;
  }
}

html.wo-night-mode .wo-create-status__hero,
body.wo-night-mode .wo-create-status__hero {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(24, 119, 242, 0.22), transparent 55%),
    linear-gradient(180deg, #242526 0%, #1c1e21 100%);
  border-color: #3e4042;
}

html.wo-night-mode .wo-create-status__card,
html.wo-night-mode .wo-create-status__preview-card,
body.wo-night-mode .wo-create-status__card,
body.wo-night-mode .wo-create-status__preview-card {
  background: #242526;
  border-color: #3e4042;
}

html.wo-night-mode .wo-create-status__dropzone.wow_stroy_media,
body.wo-night-mode .wo-create-status__dropzone.wow_stroy_media {
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 119, 242, 0.16), transparent 40%),
    linear-gradient(180deg, #2f3031 0%, #242526 100%) !important;
  border-color: #4e4f50 !important;
}

html.wo-night-mode .wo-create-status__dropzone-icon,
body.wo-night-mode .wo-create-status__dropzone-icon {
  background: #3a3b3c;
  border-color: #4e4f50;
  color: #8ab4f8;
}

html.wo-night-mode .wo-create-status__textarea,
html.wo-night-mode .wo-create-status__form textarea.form-control,
body.wo-night-mode .wo-create-status__textarea,
body.wo-night-mode .wo-create-status__form textarea.form-control {
  background: #3a3b3c !important;
  border-color: #4e4f50 !important;
  color: #e4e6eb !important;
}

html.wo-night-mode .wo-create-status__textarea:focus,
html.wo-night-mode .wo-create-status__form textarea.form-control:focus,
body.wo-night-mode .wo-create-status__textarea:focus,
body.wo-night-mode .wo-create-status__form textarea.form-control:focus {
  background: #3a3b3c !important;
}

html.wo-night-mode .wo-create-status__btn--ghost,
body.wo-night-mode .wo-create-status__btn--ghost {
  border-color: #4e4f50;
  color: #e4e6eb;
}

html.wo-night-mode .wo-create-status__mobile-bar,
body.wo-night-mode .wo-create-status__mobile-bar {
  background: rgba(36, 37, 38, 0.94);
  border-color: #3e4042;
}

/* ===== Sidebar profile card v2 ===== */
.wo-sidebar-profile.wow_side_loggd_usr {
  padding: 0 !important;
  margin-bottom: 6px !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-radius: 14px !important;
  border: 1px solid var(--fb-border, #e4e6eb);
  background: var(--card-bg, #fff);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.wo-sidebar-profile__cover {
  position: relative;
  z-index: 0;
  height: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #1877f2 0%, #42b72a 100%);
}

.wo-sidebar-profile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wo-sidebar-profile__cover-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.wo-sidebar-profile__body {
  position: relative;
  z-index: 2;
  padding: 0 14px 14px;
}

.wo-sidebar-profile__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.wo-sidebar-profile__avatar-link {
  position: relative;
  z-index: 3;
  display: inline-block;
  text-decoration: none !important;
  margin-bottom: 8px;
}

.wo-sidebar-profile__avatar-ring {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  background: var(--card-bg, #fff);
  box-sizing: border-box;
}

.wo-sidebar-profile__avatar-ring.unseen_story,
.wo-sidebar-profile__avatar-ring.not_seen_story {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
}

.wo-sidebar-profile__avatar-ring.seen_story {
  background: var(--fb-border, #ccd0d5);
}

.wo-sidebar-profile__avatar {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-bg, #fff);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  display: block;
  background: var(--card-bg, #fff);
}

.wo-sidebar-profile__identity {
  width: 100%;
  min-width: 0;
}

.wo-sidebar-profile__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
  text-decoration: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo-sidebar-profile__name:hover {
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
  opacity: 0.88;
}

.wo-sidebar-profile__username {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-secondary, #65676b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo-sidebar-profile__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin: 12px 0 10px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--fb-border, #e4e6eb);
  background: var(--fb-surface, #f0f2f5);
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.wo-sidebar-profile__view-btn:hover {
  background: color-mix(in srgb, var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2))) 8%, var(--fb-surface, #f0f2f5));
  border-color: color-mix(in srgb, var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2))) 24%, var(--fb-border, #e4e6eb));
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
}

.wo-sidebar-profile__stats.wo_user_side_info {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fb-border, #e4e6eb);
  padding-top: 10px;
}

.wo-sidebar-profile__stats.wo_user_side_info li {
  display: block !important;
  flex: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  border-right: 0 !important;
  text-align: center;
}

.wo-sidebar-profile__stats .menu_list {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px !important;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.wo-sidebar-profile__stats .menu_list:hover {
  background: color-mix(in srgb, var(--fb-blue, #1877f2) 7%, transparent);
}

.wo-sidebar-profile__stats .split-link {
  display: block !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-secondary, #65676b) !important;
}

.wo-sidebar-profile__stats .split-link b {
  font-weight: 600;
}

.wo-sidebar-profile__stats .menu_list > span:last-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color, #050505);
  line-height: 1.2;
}

.wo-sidebar-profile .wow_side_bdays {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fb-border, #e4e6eb);
}

html.wo-night-mode .wo-sidebar-profile.wow_side_loggd_usr,
body.wo-night-mode .wo-sidebar-profile.wow_side_loggd_usr {
  background: #242526;
  border-color: #3e4042;
}

html.wo-night-mode .wo-sidebar-profile__avatar,
body.wo-night-mode .wo-sidebar-profile__avatar {
  border-color: #242526;
  background: #242526;
}

html.wo-night-mode .wo-sidebar-profile__avatar-ring,
body.wo-night-mode .wo-sidebar-profile__avatar-ring {
  background: #242526;
}

html.wo-night-mode .wo-sidebar-profile__avatar-ring.seen_story,
body.wo-night-mode .wo-sidebar-profile__avatar-ring.seen_story {
  background: #4e4f50;
}

html.wo-night-mode .wo-sidebar-profile__name,
body.wo-night-mode .wo-sidebar-profile__name {
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
}

html.wo-night-mode .wo-sidebar-profile__username,
body.wo-night-mode .wo-sidebar-profile__username {
  color: #b0b3b8;
}

html.wo-night-mode .wo-sidebar-profile__view-btn,
body.wo-night-mode .wo-sidebar-profile__view-btn {
  background: #3a3b3c;
  border-color: #4e4f50;
  color: var(--wo-dnav-accent, var(--plyr-color-main, var(--main-color, #1877f2)));
}

html.wo-night-mode .wo-sidebar-profile__stats .menu_list > span:last-child,
body.wo-night-mode .wo-sidebar-profile__stats .menu_list > span:last-child {
  color: #e4e6eb;
}

/* Stories strip: align flush with composer/posts below */
.wow_home_stories.wo-stories-strip,
.user-status-home.wow_home_stories,
.page-margin > .row > .middlecol > .wow_home_stories {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 4px !important;
}

.page-margin > .row > .middlecol > .wow_home_stories + form.publisher-box,
.page-margin > .row > .middlecol > .wow_home_stories + form.post.publisher-box,
.page-margin > .row > .middlecol > .user-status-home + form.publisher-box,
.page-margin > .row > .middlecol > .user-status-home + form.post.publisher-box {
  margin-top: 0 !important;
}

.wow_home_stories .wo-stories-strip__list,
.wow_home_stories ul.status-list,
.user-status-home.wow_home_stories ul.status-list {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wow_home_stories ul.status-list li,
.wo-stories-strip__list > li {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Create status: column alignment + dark text */
.wo-create-status__progress-wrap {
  display: none;
  margin: 0;
}

.wo-create-status__layout {
  align-items: start;
}

.wo-create-status__main > .wo-create-status__card:first-of-type,
.wo-create-status__aside > .wo-create-status__preview-card {
  margin-top: 0;
}

html.wo-night-mode .wo-create-status,
body.wo-night-mode .wo-create-status {
  --wo-cs-text: #e4e6eb;
  --wo-cs-muted: #b0b3b8;
  --wo-cs-surface: #242526;
  --wo-cs-border: #3e4042;
}

html.wo-night-mode .wo-create-status__title,
html.wo-night-mode .wo-create-status__card-title,
html.wo-night-mode .wo-create-status__dropzone-title,
html.wo-night-mode .wo-create-status__dropzone-hint strong,
html.wo-night-mode .wo-create-status__file-badge input,
body.wo-night-mode .wo-create-status__title,
body.wo-night-mode .wo-create-status__card-title,
body.wo-night-mode .wo-create-status__dropzone-title,
body.wo-night-mode .wo-create-status__dropzone-hint strong,
body.wo-night-mode .wo-create-status__file-badge input {
  color: #e4e6eb !important;
}

html.wo-night-mode .wo-create-status__subtitle,
html.wo-night-mode .wo-create-status__card-desc,
html.wo-night-mode .wo-create-status__dropzone-hint,
html.wo-night-mode .wo-create-status__preview-label,
html.wo-night-mode .wo-create-status__preview-note,
html.wo-night-mode .wo-create-status__preview-empty p,
html.wo-night-mode .wo-create-status__thumb-field > label,
html.wo-night-mode .wo-create-status__hero-badge,
body.wo-night-mode .wo-create-status__subtitle,
body.wo-night-mode .wo-create-status__card-desc,
body.wo-night-mode .wo-create-status__dropzone-hint,
body.wo-night-mode .wo-create-status__preview-label,
body.wo-night-mode .wo-create-status__preview-note,
body.wo-night-mode .wo-create-status__preview-empty p,
body.wo-night-mode .wo-create-status__thumb-field > label,
body.wo-night-mode .wo-create-status__hero-badge {
  color: #b0b3b8 !important;
}

html.wo-night-mode .wo-create-status__file-badge input,
body.wo-night-mode .wo-create-status__file-badge input {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* ===== Android beta signup popup ===== */
.wo-android-beta-modal {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.24);
}

.wo-android-beta-modal__hero {
  position: relative;
  padding: 28px 20px 20px;
  text-align: center;
  background: linear-gradient(145deg, #3ddc84 0%, #1fa463 42%, #1877f2 100%);
  color: #fff;
}

.wo-android-beta-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 0.92;
  text-shadow: none;
  font-size: 24px;
  line-height: 1;
  z-index: 2;
}

.wo-android-beta-modal__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.wo-android-beta-modal__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.wo-android-beta-modal__icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #1fa463;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.wo-android-beta-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.wo-android-beta-modal__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.wo-android-beta-modal__body {
  padding: 18px 20px 20px !important;
  background: var(--fb-surface, #fff);
}

.wo-android-beta-modal__field {
  margin-bottom: 12px;
}

.wo-android-beta-modal__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fb-text-secondary, #65676b);
  margin-bottom: 6px;
}

.wo-android-beta-modal__field .form-control {
  border-radius: 10px;
  min-height: 42px;
  border-color: var(--fb-border, #e4e6eb);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wo-android-beta-modal__field .form-control:focus {
  border-color: #1fa463;
  box-shadow: 0 0 0 2px rgba(31, 164, 99, 0.18);
}

.wo-android-beta-modal__submit {
  min-height: 44px;
  border-radius: 999px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #3ddc84 0%, #1fa463 100%) !important;
  box-shadow: 0 4px 14px rgba(31, 164, 99, 0.35);
}

.wo-android-beta-modal__submit:hover,
.wo-android-beta-modal__submit:focus {
  filter: brightness(1.04);
}

.wo-android-beta-modal-alert .alert {
  border-radius: 10px;
  margin-bottom: 12px;
}

html.wo-night-mode .wo-android-beta-modal__body,
body.wo-night-mode .wo-android-beta-modal__body {
  background: #242526;
}

html.wo-night-mode .wo-android-beta-modal__field .form-control,
body.wo-night-mode .wo-android-beta-modal__field .form-control {
  background: #3a3b3c;
  border-color: #4e4f50;
  color: #e4e6eb;
}

/* Desktop page covers: slightly taller */
@media (min-width: 992px) {
  .wo_page_profile {
    --fb-page-cover-height: 400px;
  }
}
