/*
==================================================================

    TABLE OF CONTENTS

    1.0 General & Global Styles
    2.0 Landing Page Sections & Components
    3.0 bbPress / Forums
        3.1 Forum Banner
        3.2 Forum Archive Layout & Widgets
        3.3 Topic List Item (Card)
    4.0 Custom Signup Form
    5.0 Like Button
    6.0 Member List
    7.0 Dashboard
    8.0 Other Components (Slider, FAQ, Contact Form, etc.)

==================================================================
*/

/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/*
==================================================================
    1.0 General & Global Styles
==================================================================
*/
body {
  font-family: Arial, sans-serif;
  line-height: 1.75;
}



/* Breadcrumbs */
.bb-breadcrumbs {
  margin: 24px 0 16px;
  font-size: 14px;
  color: var(--bb-alternate-text-color, #555);
}

.bb-breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.bb-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bb-breadcrumbs__item::after {
  content: ">";
  color: var(--bb-alternate-text-color, #777);
}

.bb-breadcrumbs__item:last-child::after {
  content: "";
}

.bb-breadcrumbs__item a {
  color: var(--bb-link-color, #0073aa);
  text-decoration: none;
}

.bb-breadcrumbs__item a:hover,
.bb-breadcrumbs__item a:focus {
  text-decoration: underline;
}

.bb-breadcrumbs__item.is-current span {
  color: var(--bb-text-color, #222);

}

/* Hide header search for logged-out visitors (desktop + mobile) */
body:not(.logged-in) .header-search-link,
body:not(.logged-in) .search-separator {
  display: none !important;
}

/* -----------------------------------------------------------------
   Generic card utility
------------------------------------------------------------------ */
.bb-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--bb-content-border-color, #e5e5e5);
  display: flex;
  flex-direction: column;
}

.bb-card--padded {
  padding: 24px;
}

.bb-card--shadow {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
}

.bb-card__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* -----------------------------------------------------------------
   Login page layout (Figma aligned)
------------------------------------------------------------------ */
.bb-login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 64px;
}

.bb-login-page-heading {
  padding: 20px 0 16px;
  text-align: center;
}

.bb-login-page-title {
  font-family: var(--sds-typography-heading-font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text-black);
}

.bb-login-card {
  width: 100%;
  max-width: 320px;
  min-width: 320px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.bb-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bb-login-form .bb-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-login-form .bb-form__group label {
  font-family: var(--sds-typography-body-font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-black);
}

.bb-login-form input[type="text"],
.bb-login-form input[type="password"] {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border-default);
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--sds-typography-body-font-family);
  color: var(--color-text-black);
  background: #fff;
  box-sizing: border-box;
}

.bb-login-form input::placeholder {
  color: var(--color-text-tertiary);
}

.bb-login-form .bb-button--primary {
  width: 100%;
  height: 40px;
  background: var(--btn-gradient-teal);
  color: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--sds-typography-body-font-family);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-login-forgot-password {
  width: 100%;
  text-align: center;
}

.bb-login-forgot-password a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  line-height: 1.4;
}

.bb-login-divider {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0;
}

.bb-login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border-default);
  z-index: 0;
}

.bb-login-divider span {
  padding: 0 12px;
  background: #fff;
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--color-text-black);
  line-height: 1.7;
}

.bb-login-google {
  display: flex;
  width: 272px;
  height: 40px;
  padding: var(--sds-size-space-300);
  justify-content: center;
  align-items: center;
  gap: var(--sds-size-space-200);
  border-radius: var(--sds-size-radius-200);
  background: #F5F5F5;
  border: none;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.bb-login-google__icon {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
}

.bb-login-google__label {
  color: #1C1C1C;
  font-family: var(--sds-typography-body-font-family);
  font-size: var(--sds-typography-body-size-medium);
  font-style: normal;
  font-weight: var(--sds-typography-body-font-weight-strong);
  line-height: 140%;
}

.bb-login-registered {
  width: 100%;
  text-align: center;
}

.bb-login-registered a {
  font-size: 14px;
  color: var(--color-text-black);
  text-decoration: none;
}

.bb-login-logged-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 0;
}

.bb-login-logged-in__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.bb-notice {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

.bb-notice--error {
  background: #FFF0F0;
  border: 1px solid #FFCCCC;
  color: #C0392B;
}

.bb-notice--success {
  background: #F0FFF4;
  border: 1px solid #C3E6CB;
  color: #1A6E35;
}

.bb-login-back-link {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #F0F0F0;
  color: var(--color-text-black);
  font-size: 16px;
  font-family: var(--sds-typography-body-font-family);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.bb-login-back-link:hover {
  background: #E0E0E0;
  color: var(--color-text-black);
}

.inner-width {
  width: calc(100vw - 20px);
  max-width: 1000px;
  margin: 0 auto;
}

.spbr {
  display: none;
}



@media (max-width: 768px) {
  .spbr {
    display: block;
  }
}

/*
==================================================================
    2.0 Landing Page Sections & Components
==================================================================
*/
#page .entry-title{
  text-align: center;
}

#about, #feature, #reason, #scene, #cta, #news {
    padding-top: 40px;
    padding-bottom: 80px;
}

#about h2, 
#feature h2, 
#reason h2, 
#scene h2, 
#cta h2, 
#news h2 {
  margin-bottom: 60px;
}

#about, #feature, #reason, #scene {
  background-image: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

@media screen and (min-width: 992px) {
  #primary-navbar {
    justify-content: right !important;
  }
}

.favorite-toggle, .subscription-toggle {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.bbp-topic-login-link, .bbp-topic-reply-link {
  background: linear-gradient(180deg, rgb(22, 186, 209) 0%, rgb(0, 129, 146) 100%);
}


.feature-item {
    display: flex;
    width: 800px;
    max-width: 100%;
    min-width: 240px;
    padding: 32px;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 16px !important;
}

.feature-num {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 20px;
    background: #00A9C0;
    color: #FFF;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

.wp-block-column {
    border-radius: 20px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*
==================================================================
    8.0 Other Components
==================================================================
*/

/* ---- 8.1 Slider ----*/

.banner-slider .slick-slide img{
  width: 333px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- 8.2 Step Bar ----*/
.stepbar {
  margin: 0 auto;
  width: 80%;
}

.stepbar .stepbarwrap {
  margin: 1em 0;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: inline-flex;
  align-items: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 1em;
  height: 1em;
  content: "";
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ffffff;
}

.stepbar .stepbarwrap .steptitle .stepnum {
  padding-left: 1em;
  font-size: 1.5em;
  color: #ffffff;
}

.stepbar .stepbarwrap .steptxt {
  padding-top: 1em;
  padding-left: 2em;
}

.stepbar .stepbarwrap .steptxt .title {
  margin: 0.5em 0;
  font-weight: bold;
  font-size: 1.2em;
}

.stepbar .stepbarwrap .steptxt .txt {
  font-size: 0.9em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 1em);
  background-color: #ffffff;
  position: absolute;
  top: 1.2em;
  left: 0.5em;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}

 /* ---- 8.3 Latest Posts ---- */

.content-area :not(.widget_block)>.wp-block-latest-posts{
  background-color: transparent;
  border: none;
  padding: 0;
}

ul.wp-block-latest-posts__list {
    width: 100%;
    max-width: 800px;
}

ul.wp-block-latest-posts__list li:last-child {
    border-bottom: none;
}

/* ==================================================================
   News list cards
   ================================================================== */
.news-card {
  margin-bottom: 24px;
}

.news-card__inner {
  gap: 16px;
}

.news-card__thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6a6a6a;
}

.news-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f4f6;
  color: #0c7d8c;
  font-weight: 600;
  font-size: 12px;
}

.news-card__title {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

.news-card__title a {
  color: inherit;
}

.news-card__excerpt {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.7;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.news-card__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.news-card__author img {
  border-radius: 50%;
}

.news-card__link {
  padding: 10px 16px;
  min-width: 140px;
  text-align: center;
}

@media (min-width: 768px) {
  .news-card__inner {
    flex-direction: row;
    gap: 20px;
  }

  .news-card__thumb {
    flex: 0 0 260px;
  }

  .news-card__body {
    flex: 1 1 auto;
  }
}

.wp-block-latest-posts__list li{
    padding: 16px 0;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

.wp-block-latest-posts__post-info{
    display: flex;
    align-items: center;
    gap: 8px;
}

.wp-block-latest-posts__post-tag{
  font-size: .8em;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 0 8px;
}

.wp-block-latest-posts__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 16px;
  max-width: 800px;
}

.navigation.pagination {
  text-align: center;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation.pagination .page-numbers li {
  list-style: none;
}

.navigation.pagination .page-numbers a,
.navigation.pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--bb-content-border-color, #d7d7d7);
  color: #333;
  background: #fff;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navigation.pagination .page-numbers a:hover {
  background: #f5fcfd;
  color: #0c7d8c;
  border-color: #0c7d8c;
}

.navigation.pagination .page-numbers .current {
  background: var(--bb-primary, #00A9C0);
  color: #fff;
  border-color: var(--bb-primary, #00A9C0);
  box-shadow: none;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  background: transparent;
  border: none;
  min-width: auto;
  padding: 0 6px;
}

/* -----------------------------------------------------------------
   No sidebar layout helper
------------------------------------------------------------------ */
.content-area.no-page-sidebar {
  float: none;
  margin: 0 auto;
  max-width: 960px;
}

/* ==================================================================
   News tabs
   ================================================================== */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 24px;
  justify-content: center;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--bb-content-border-color, #d7d7d7);
  background: #fff;
  color: #333;
  font-size: 14px;
}

.news-tab:hover {
  background: #f5fcfd;
  border-color: #0c7d8c;
  color: #0c7d8c;
}

.news-tab.is-active {
  background: #00A9C0;
  color: #fff;
  border-color: #00A9C0;
}

.news-tab:focus-visible {
  outline: 2px solid #0c7d8c;
  outline-offset: 2px;
}

.news-single-meta {
  color: var(--bb-alternate-text-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 8px;
}

.news-single-meta__sep {
  color: var(--bb-alternate-text-color);
}

.button-arrow {
    display: inline-flex;
    align-items: center;
}

.button-arrow ::after{
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #0d0d0d;
    border-right: 2px solid #0d0d0d;
    transform: rotate(45deg);
    margin-left: 8px;
}

/*
==================================================================
    3.0 bbPress / Forums
==================================================================
*/

/* ---- 3.1 Forum Banner ---- */

/* Banner title - simple style */
.bs-bbpress-banner-wrapper .banner-text h1,
.bb-banner-title {
    display: inline-block;
    padding: 0;
    border: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bs-dir-search.bs-forums-search {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.bs-dir-search.bs-forums-search .bs-search-form {
    flex-grow: 1;
}

/* Override parent theme: remove rectangular border around search form */
.bs-forums-banner.has-banner-img .bs-search-form {
    background: transparent !important;
    border: none !important;
    border-radius: 50px !important;
}

/* Search input styling */
#bbp_search {
    background-color: #ffffff !important;
    border: 2px solid #fff !important;
    border-radius: 50px !important;
    padding: 10px 44px 10px 44px !important;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

#bbp_search::placeholder {
    color: #666 !important;
}

/* Search icon positioning */
.bs-forums-search .bs-search-form {
    position: relative;
}

.bs-forums-search .bs-search-form .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.bs-forums-search .bs-search-form button[type="submit"] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #078FA2;
}

.bs-forums-search .bs-search-form button.search-form_reset {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Tag filter dropdown (legacy - kept for compatibility) */
.bb-topic-tags-filter {
    width: 100%;
}

.bb-topic-tags-filter select {
    width: 100%;
    background-color: #ffffff !important;
    border: 2px solid #fff !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-size: 14px;
    color: #666;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    padding-left: 36px !important;
}

/* Banner popular tags row */
.bb-banner-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.bb-banner-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.bb-popular-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.bb-popular-tag-pill:hover {
    background-color: rgba(255, 255, 255, 0.45);
    color: #fff !important;
    text-decoration: none;
}

.bb-banner-tag-filter {
    flex-shrink: 0;
}

.bb-banner-tag-select {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50px !important;
    padding: 6px 32px 6px 14px !important;
    font-size: 13px;
    color: #444;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
    cursor: pointer;
}

.bb-banner-tag-select:focus {
    outline: none;
    border-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Tags */
.tags-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tags-wrap .item-tags,
.tags-wrap .item-tags-urgency  {
    width: fit-content;
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tags-wrap .item-tags ul li a, 
.tags-wrap .item-tags-urgency ul li a{
    display: flex;
    border-radius: 16px;
    margin: 0;
    padding: 2px 12px;
}
.tags-wrap .item-tags ul li a{
    color: #fff !important;
    background-color: #078FA2 !important;
} 
.tags-wrap .item-tags-urgency ul li a{
  color: #000000 !important;
  background-color: #fff !important;
  border: 1px solid #ccc;
  align-items: center;
  justify-content: center;
}

.tags-wrap .item-tags-urgency .emoji {
  width: 12px;
  height: 12px;
}


/* ---- 3.5 Custom Journal Club & Facility Info Widgets ---- */

/* Journal Club Widget */
.bbc-journal-club-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bbc-journal-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bbc-journal-item:hover {
    border-color: #078FA2;
    box-shadow: 0 2px 8px rgba(7, 143, 162, 0.1);
}

.bbc-journal-item__image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.bbc-journal-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbc-journal-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bbc-journal-item__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.bbc-journal-item__title a {
    color: #333;
    text-decoration: none;
}

.bbc-journal-item__title a:hover {
    color: #078FA2;
}

.bbc-journal-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.bbc-journal-item__date {
    color: #999;
}

.bbc-journal-item__author {
    color: #078FA2;
}

/* Facility Info Widget */
.bbc-facility-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bbc-facility-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bbc-facility-item:hover {
    border-color: #078FA2;
    box-shadow: 0 2px 8px rgba(7, 143, 162, 0.1);
}

.bbc-facility-item__image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.bbc-facility-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbc-facility-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bbc-facility-item__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.bbc-facility-item__title a {
    color: #333;
    text-decoration: none;
}

.bbc-facility-item__title a:hover {
    color: #078FA2;
}

.bbc-facility-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.bbc-facility-item__date {
    color: #999;
}

.bbc-facility-item__author {
    color: #078FA2;
}

/* ---- 8.4 Contact Form 7 ---- */

/* -- 8.4.1 Contact Page Layout -- */
.contact-page-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-page-primary .site-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 16px 80px;
}

/* -- 8.4.2 Page Title -- */
.contact-page-title {
    color: var(--sds-color-text-default-default);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 40px;
}

/* -- 8.4.3 Form Container -- */
.contact-form-container {
    display: flex;
    width: 600px;
    min-width: 320px;
    padding: var(--sds-size-space-600);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--sds-size-space-400);
    border-radius: var(--sds-size-radius-200);
    border: var(--sds-size-stroke-border) solid var(--sds-color-border-default-default);
    background: var(--sds-color-background-default-default);
    box-sizing: border-box;
}

/* CF7 wrapper div — ensure it stretches to fill the container */
.contact-form-container .wpcf7 {
    width: 100%;
}

.contact-form-container .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--sds-size-space-400);
    width: 100%;
}

/* -- 8.4.4 Form Group (each field wrapper) -- */
.contact-form-container .contact-form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

/* CF7 wraps inputs in a span — make it block so children can stretch */
.contact-form-container .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

/* -- 8.4.5 Labels -- */
.contact-form-container label {
    align-self: stretch;
    color: var(--sds-color-text-default-default);
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 140%;
}

/* -- 8.4.6 Text / Email Inputs -- */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"] {
    display: flex !important;
    min-width: 120px !important;
    padding: var(--sds-size-space-300) !important;
    align-items: center;
    align-self: stretch;
    border-radius: var(--sds-size-radius-200) !important;
    border: var(--sds-size-stroke-border) solid var(--sds-color-border-default-default) !important;
    background: var(--sds-color-background-default-default) !important;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 140%;
    color: var(--sds-color-text-default-default);
    outline: none;
    box-sizing: border-box !important;
    width: 100% !important;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus {
    border-color: var(--sds-color-border-brand-default);
}

/* -- 8.4.7 Textarea -- */
.contact-form-container textarea {
    display: flex !important;
    min-width: 120px !important;
    min-height: 80px !important;
    padding: var(--sds-size-space-300) !important;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--sds-size-radius-200) !important;
    border: var(--sds-size-stroke-border) solid var(--sds-color-border-default-default) !important;
    background: var(--sds-color-background-default-default) !important;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 140%;
    color: var(--sds-color-text-default-default);
    outline: none;
    resize: vertical;
    box-sizing: border-box !important;
    width: 100% !important;
}

.contact-form-container textarea:focus {
    border-color: var(--sds-color-border-brand-default);
}

/* -- 8.4.8 Radio Buttons -- */
.contact-form-container .wpcf7-radio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.contact-form-container .wpcf7-radio .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 0;
    cursor: pointer;
}

.contact-form-container .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Hide native radio button */
.contact-form-container .wpcf7-radio input[type="radio"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    border: 1px solid var(--sds-color-border-brand-tertiary);
    background: var(--sds-color-background-default-default);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

/* Selected radio button */
.contact-form-container .wpcf7-radio input[type="radio"]:checked {
    background: var(--sds-color-background-brand-secondary);
    border-color: var(--sds-color-border-brand-default);
}

/* Inner circle for selected radio */
.contact-form-container .wpcf7-radio input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1E1E1E;
}

/* Radio label text */
.contact-form-container .wpcf7-radio .wpcf7-list-item-label {
    flex: 1 0 0;
    color: var(--sds-color-text-default-default);
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 140%;
}

/* -- 8.4.9 Checkbox (Acceptance) -- */
.contact-form-container .contact-form-acceptance {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    align-self: stretch;
    width: 100%;
    text-align: center;
}

/* Override the generic full-width rule so flex centering works */
.contact-form-container .contact-form-acceptance .wpcf7-form-control-wrap {
    display: inline-block !important;
    width: auto !important;
}

.contact-form-container .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hide native checkbox */
.contact-form-container .wpcf7-acceptance input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 3px;
    border: 1px solid var(--sds-color-border-default-default);
    background: var(--sds-color-background-default-default);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

/* Checked checkbox */
.contact-form-container .wpcf7-acceptance input[type="checkbox"]:checked {
    background: #333333;
    border-color: #333333;
}

/* Checkmark SVG */
.contact-form-container .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.8135 5.91657L11.7713 19.2207C11.4758 19.7087 10.9799 20 10.4435 20C9.96894 20 9.51945 19.7715 9.21144 19.3728L4.26483 12.9893C3.86987 12.4794 3.92219 11.7303 4.38494 11.2839C4.83443 10.8489 5.58972 10.8406 6.04953 11.2665L10.2526 15.1585L17.7746 4.51005C18.1489 3.98042 18.9248 3.83743 19.4554 4.20362C20.0066 4.58419 20.1643 5.33701 19.8135 5.91657Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Acceptance label text */
.contact-form-container .wpcf7-acceptance .wpcf7-list-item-label {
    color: #333333;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* -- 8.4.10 Submit Button -- */
.contact-form-container input[type="submit"],
.contact-form-container .wpcf7-submit {
    display: flex !important;
    height: 40px !important;
    min-width: 120px !important;
    padding: var(--sds-size-space-300) var(--sds-size-space-400) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--sds-size-space-200);
    border-radius: 4px !important;
    background: var(--button1) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-weight: 500;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    align-self: center;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    width: auto !important;
}

.contact-form-container input[type="submit"]:hover,
.contact-form-container .wpcf7-submit:hover {
    opacity: 0.85;
}

/* -- 8.4.11 Validation Error Messages -- */
.contact-form-container .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-top: 4px;
}

.contact-form-container .wpcf7-response-output {
    border-radius: var(--sds-size-radius-200);
    padding: var(--sds-size-space-300) var(--sds-size-space-400);
    margin: 0;
    font-size: 14px;
}

/* -- 8.4.12 Responsive -- */
@media screen and (max-width: 768px) {
    .contact-form-container {
        width: 100%;
        min-width: 320px;
        padding: 24px 16px;
    }

    .contact-page-title {
        font-size: 24px;
    }

    .contact-page-primary .site-main {
        padding: 24px 16px 60px;
    }
}

/* ------------------------------------------------------------
   Forum modal fallback visibility (ReadyLaunch + classic)
------------------------------------------------------------ */
#bbpress-forums .bbp-topic-form.bb-modal.bb-modal-box.bb-modal-open,
#bbpress-forums .bbp-topic-form.bb-rl-forum-modal.bb-modal-open,
.bbpress-forums-global-modal .bbp-topic-form.bb-modal-open,
.bbp-topic-form.bb-rl-forum-modal.bb-rl-forum-modal-visible {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999992;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    box-shadow: 0 6px 24px 0 rgba(18, 43, 70, 0.08);
}

/* Modal overlay styling */
.bb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999991;
}

/* Hide internal overlay when using external overlay */
#bbpress-forums .bbp-topic-form.bb-modal-open .bb-rl-forum-modal-overlay,
.bbpress-forums-global-modal .bbp-topic-form.bb-modal-open .bb-rl-forum-modal-overlay,
.bbpress-forums-global-modal .bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-modal-overlay {
    display: none;
}

/* Global modal wrapper - keep hidden until modal is triggered */
.bbpress-forums-global-modal {
    display: none;
    position: static;
    width: 0;
    height: 0;
    overflow: visible;
}

/* Show global modal wrapper only when modal inside is opened */
.bbpress-forums-global-modal.bb-modal-active {
    display: block !important;
}

/* Modal form content styling */
.bbp-topic-form.bb-modal-open form,
.bbp-topic-form.bb-rl-forum-modal-visible form {
    display: block !important;
    padding: 20px;
}

.bbp-topic-form.bb-modal-open fieldset.bbp-form,
.bbp-topic-form.bb-rl-forum-modal-visible fieldset.bbp-form {
    margin: 0;
    padding: 0;
}

.bbpress-forums-global-modal .bbp-the-content-wrapper .bbc-topic-content-textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 0;
    padding: 12px 0;
    background: transparent;
    color: var(--bb-rl-text-color, var(--bb-body-text-color));
    line-height: 1.6;
    outline: none;
    box-shadow: none;
}

.bbpress-forums-global-modal .bbp-the-content-wrapper .bbc-topic-content-textarea::placeholder {
    color: var(--bb-rl-text-tertiary-color, #9aa0a6);
}

.bbpress-forums-global-modal .bb-rl-forum-form .bbp-form #bbp_topic_submit,
.bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-form.media-uploading.has-title .bbp-form #bbp_topic_submit {
    opacity: 0.4;
    pointer-events: none;
}

.bbpress-forums-global-modal .bb-rl-forum-form.has-title.has-content .bbp-form #bbp_topic_submit,
.bbpress-forums-global-modal .bb-rl-forum-form.has-title.has-gif .bbp-form #bbp_topic_submit,
.bbpress-forums-global-modal .bb-rl-forum-form.has-title.has-link-preview .bbp-form #bbp_topic_submit,
.bbpress-forums-global-modal .bb-rl-forum-form.has-title.has-media .bbp-form #bbp_topic_submit,
.bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-form.has-title.has-content .bbp-form #bbp_topic_submit,
.bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-form.has-title.has-gif .bbp-form #bbp_topic_submit,
.bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-form.has-title.has-link-preview .bbp-form #bbp_topic_submit,
.bbp-topic-form.bb-rl-forum-modal-visible .bb-rl-forum-form.has-title.has-media .bbp-form #bbp_topic_submit {
    opacity: 1;
    pointer-events: auto;
}

/* Close button styling */
.bbp-topic-form .bb-rl-forum-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    color: var(--bb-headings-color);
    text-decoration: none;
}

.bbp-topic-form .bb-rl-forum-modal-close .bb-icon-close:before {
    font-size: 24px;
}

/* フォーラム選択を非表示（ウィジェット配置時に管理者が設定） */
.bbp-topic-form .bbp_topic_form_forum_wrapper {
    display: none !important;
}

/* Legacy wpcf7 table styles removed — replaced by 8.4 above */

/* ---- 8.5 FAQ Page ---- */

/* -- 8.5.1 Page Layout -- */
.faq-page-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.faq-page-primary .site-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    padding: 40px 16px 80px;
    box-sizing: border-box;
}

/* -- 8.5.2 Page Title -- */
.faq-page-title {
    color: var(--sds-color-text-default-default);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 40px;
}

/* -- 8.5.3 Section -- */
.faq-section {
    width: 100%;
    margin-bottom: 40px;
}

.faq-section:last-child {
    margin-bottom: 0;
}

/* -- 8.5.4 Section Title -- */
.faq-section-title {
    color: #000;
    font-family: var(--sds-typography-heading-font-family);
    font-size: var(--sds-typography-heading-size-base);
    font-style: normal;
    font-weight: var(--sds-typography-heading-font-weight);
    line-height: 120%;
    letter-spacing: -0.48px;
    margin-bottom: 16px;
}

/* -- 8.5.5 FAQ List -- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--sds-size-space-200);
}

/* -- 8.5.6 FAQ Item (Accordion) -- */
.faq-item {
    border-radius: var(--sds-size-radius-200);
    border: var(--sds-size-stroke-border) solid var(--sds-color-border-default-default);
    background: var(--sds-color-background-default-default);
    overflow: hidden;
}

/* -- 8.5.7 Question Button -- */
.faq-question {
    display: flex;
    padding: var(--sds-size-padding-lg);
    align-items: center;
    gap: var(--sds-size-space-200);
    align-self: stretch;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    border-radius: var(--sds-size-radius-200);
    transition: background 0.2s ease;
}

.faq-question:focus {
    outline: none;
    background: none;
}

.faq-question:focus-visible {
    outline: 2px solid #00A9C0;
    outline-offset: -2px;
}

.faq-question:hover {
    background: #00A9C0;
}

.faq-question:hover .faq-question-text {
    color: #fff;
}

.faq-question:hover .faq-icon svg path {
    stroke: #fff;
}

.faq-question-text {
    flex: 1 0 0;
    color: var(--sds-color-text-default-default);
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-strong);
    line-height: 140%;
    transition: color 0.2s ease;
}

/* -- 8.5.8 Accordion Icon -- */
.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon--open {
    display: none;
}

.faq-icon--closed {
    display: flex;
}

.faq-item.is-open .faq-icon--open {
    display: flex;
}

.faq-item.is-open .faq-icon--closed {
    display: none;
}

/* -- 8.5.9 Answer -- */
.faq-answer {
    display: none;
    padding: 12px var(--sds-size-padding-lg) var(--sds-size-padding-lg);
}

.faq-answer p {
    flex: 1 0 0;
    color: var(--sds-color-text-default-default);
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 140%;
    margin: 0;
}

/* -- 8.5.10 Responsive -- */
@media screen and (max-width: 768px) {
    .faq-page-title {
        font-size: 24px;
    }

    .faq-page-primary .site-main {
        padding: 24px 16px 60px;
    }

    .faq-section-title {
        font-size: 20px;
    }
}


/* ---- 8.6 Privacy Policy Page ---- */

/* -- 8.6.1 Page Layout -- */
.privacy-page-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.privacy-page-primary .site-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    padding: 40px 16px 80px;
    box-sizing: border-box;
}

/* -- 8.6.2 Title Block -- */
.privacy-title-block {
    display: flex;
    width: 594px;
    max-width: 100%;
    padding: 20px 0 0 0;
    margin-bottom: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* -- 8.6.3 Page Title -- */
.privacy-page-title {
    color: var(--sds-color-text-default-default);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin: 0;
}

/* -- 8.6.4 Introduction Text -- */
.privacy-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    color: #000;
    font-family: Inter, sans-serif;
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    margin: 0 0 40px 0;
}

/* -- 8.6.5 Section -- */
.privacy-section {
    width: 100%;
    margin-bottom: 32px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

/* -- 8.6.6 Section Title -- */
.privacy-section-title {
    align-self: stretch;
    color: #000;
    font-family: var(--sds-typography-heading-font-family);
    font-size: var(--sds-typography-heading-size-base);
    font-style: normal;
    font-weight: var(--sds-typography-heading-font-weight);
    line-height: 120%;
    letter-spacing: -0.48px;
    margin: 0 0 12px 0;
}

/* -- 8.6.7 Section Text -- */
.privacy-section-text {
    align-self: stretch;
    color: #000;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 170%;
    margin: 0 0 12px 0;
}

/* -- 8.6.8 List -- */
.privacy-list {
    list-style-type: disc;
    padding-left: 24px;
    margin: 0;
}

.privacy-list li {
    color: #000;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 170%;
}

/* -- 8.6.8b Ordered List (Terms of Service) -- */
.privacy-ordered-list {
    list-style-type: decimal;
    padding-left: 24px;
    margin: 0;
}

.privacy-ordered-list > li {
    color: #000;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 170%;
    margin-bottom: 8px;
}

.privacy-ordered-list > li:last-child {
    margin-bottom: 0;
}

/* -- 8.6.8c Sub List (lower-alpha) -- */
.privacy-sub-list {
    list-style-type: lower-alpha;
    padding-left: 24px;
    margin: 8px 0 0 0;
}

.privacy-sub-list > li {
    color: #000;
    font-family: var(--sds-typography-body-font-family);
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: var(--sds-typography-body-font-weight-regular);
    line-height: 170%;
    margin-bottom: 4px;
}

.privacy-sub-list > li:last-child {
    margin-bottom: 0;
}

/* -- 8.6.9 Responsive -- */
@media screen and (max-width: 768px) {
    .privacy-page-title {
        font-size: 24px;
    }

    .privacy-title-block {
        width: 100%;
    }

    .privacy-page-primary .site-main {
        padding: 24px 16px 60px;
    }

    .privacy-section-title {
        font-size: 20px;
    }
}



.widget-section {
    margin-bottom: 20px;
}

input#members_search {
    width: 100%;
}

/*
==================================================================
    7.0 Dashboard (Figma aligned)
==================================================================
*/
.dash {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 16px;
    background: var(--color-bg-base, #f9fafa);
    padding: 16px 0;
}

/* --- Columns --- */
.dash__left,
.dash__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash__center {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* --- Card (shared) --- */
.dash-card {
    background: #fff;
    border: 1px solid var(--color-border-light, #f0f0f0);
    border-radius: 8px;
    overflow: hidden;
}

.dash-card__head {
    padding: 16px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.dash-card__title {
    font-family: var(--sds-typography-heading-font-family);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-black);
}

.dash-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dash-card__item {
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.dash-card__item:last-child {
    border-bottom: none;
}

.dash-card__item-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--color-text-black);
    font-size: 14px;
    line-height: 1.5;
    transition: background 0.15s;
}

.dash-card__item-link:hover {
    background: rgba(0, 169, 192, 0.04);
}

.dash-card__item-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-card__item-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.dash-card__empty {
    padding: 16px;
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.dash-card__foot {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px;
    border-top: 1px solid var(--color-border-light, #f0f0f0);
}

.dash-card__more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-black);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 4px;
    background: var(--btn-gradient-gray);
    border: 1px solid #e0e0e0;
    transition: opacity 0.15s;
}

.dash-card__more:hover {
    opacity: 0.85;
}

/* --- Activity items (center) --- */
.dash-activity {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.dash-activity:last-child {
    border-bottom: none;
}

.dash-activity__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.dash-activity__avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.dash-activity__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-activity__author a {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-black);
    text-decoration: none;
}

.dash-activity__time {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.dash-activity__body {
    font-size: 14px;
    line-height: 1.5;
}

.dash-activity__link {
    color: var(--color-text-black);
    text-decoration: none;
}

.dash-activity__link:hover {
    color: var(--color-teal);
}

/* --- Forum items (center) --- */
.dash-card--forum .discussion-item,
.dash-card--forum .discussion-item .discussion-item-footer {
    margin: 0;
}

.dash-card--forum .discussion-item {
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
    padding: 12px 16px;
    transition: background 0.15s;
}

.dash-card--forum .discussion-item:last-child {
    border-bottom: none;
}

.dash-card--forum .discussion-item:hover {
    background: rgba(0, 169, 192, 0.04);
}

/* --- Member items (right) --- */
.dash-card__list--members {
    display: flex;
    flex-direction: column;
}

.dash-member {
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.dash-member:last-child {
    border-bottom: none;
}

.dash-member__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--color-text-black);
    font-size: 14px;
    transition: background 0.15s;
}

.dash-member__link:hover {
    background: rgba(0, 169, 192, 0.04);
}

.dash-member__link img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.dash-member__name {
    font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .dash {
        grid-template-columns: 1fr 280px;
    }
    .dash__left {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .dash {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .dash__left {
        display: flex;
        flex-direction: column;
    }
    .dash__center { order: 1; }
    .dash__left   { order: 2; }
    .dash__right  { order: 3; }
}


/*
==================================================================
    4.0 Custom Signup Form (3-step wizard)
==================================================================
*/

/* ---- 4.1 Page Layout ---- */
.bb-signup-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 64px;
}

.bb-signup-page-heading {
    padding: 20px 0 16px;
    text-align: center;
}

.bb-signup-page-title {
    font-family: var(--sds-typography-heading-font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-text-black);
}

.bb-signup-card {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 40px;
    background: #fff;
    border: 1px solid var(--color-border-default);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ---- 4.2 Step Indicator ---- */
.bb-signup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.bb-signup-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 90px;
}

.bb-signup-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--sds-typography-body-font-family);
    transition: background 0.25s ease, color 0.25s ease;
}

.bb-signup-step-label {
    font-size: 12px;
    color: #aaa;
    font-family: var(--sds-typography-body-font-family);
    text-align: center;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.bb-signup-step-connector {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
    margin-bottom: 22px;
    transition: background 0.25s ease;
}

/* Active step */
.bb-signup-step-item.is-active .bb-signup-step-circle {
    background: var(--btn-gradient-teal);
    color: #fff;
}

.bb-signup-step-item.is-active .bb-signup-step-label {
    color: var(--color-teal);
    font-weight: 600;
}

/* Completed step */
.bb-signup-step-item.is-done .bb-signup-step-circle {
    background: var(--color-teal);
    color: #fff;
}

.bb-signup-step-item.is-done .bb-signup-step-circle::after {
    content: "✓";
}

.bb-signup-step-item.is-done .bb-signup-step-circle span {
    display: none;
}

.bb-signup-step-item.is-done .bb-signup-step-label {
    color: var(--color-teal);
}

.bb-signup-step-connector.is-done {
    background: var(--color-teal);
}

/* ---- 4.3 Form ---- */
.bb-signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Each step panel is a flex column so gap applies between its field groups */
.signup-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bb-signup-form .bb-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bb-signup-form .bb-form__group--half {
    flex: 1;
}

.bb-signup-form .bb-form__group label {
    font-family: var(--sds-typography-body-font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text-black);
}

.bb-required {
    color: #e53935;
    font-weight: 700;
}

.bb-signup-row {
    display: flex;
    gap: 16px;
}

.bb-signup-divider {
    border: none;
    border-top: 1px solid var(--color-border-default);
    margin: 4px 0;
}

/* Inputs */
.bb-signup-form input[type="text"],
.bb-signup-form input[type="email"],
.bb-signup-form input[type="password"],
.bb-signup-form input[type="date"],
.bb-signup-form select,
.bb-signup-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--sds-typography-body-font-family);
    border: 1px solid var(--color-border-default);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text-black);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bb-signup-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 34px;
}

.bb-signup-form input::placeholder {
    color: var(--color-text-tertiary);
}

.bb-signup-form input:focus,
.bb-signup-form select:focus,
.bb-signup-form textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 2px rgba(0, 169, 192, 0.15);
}

.bb-signup-form input.error,
.bb-signup-form select.error,
.bb-signup-form textarea.error {
    border-color: #e53935;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.12);
}

/* ---- 4.4 File Upload ---- */
.bb-form__description {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0;
}

.bb-signup-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px dashed #aaa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #5a5a5a;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bb-signup-file-btn:hover {
    border-color: var(--color-teal);
    background: #f0fbfc;
    color: var(--color-teal);
}

.bb-signup-file-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-teal);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.bb-signup-file-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
    word-break: break-all;
}

/* ---- 4.5 Agree Checkbox ---- */
.bb-signup-agree-group {
    margin-top: 4px;
}

.bb-signup-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.bb-signup-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--color-teal);
    cursor: pointer;
}

.bb-signup-agree a {
    color: var(--color-teal);
    text-decoration: underline;
}

/* ---- 4.6 Navigation Buttons ---- */
.bb-signup-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.bb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--sds-typography-body-font-family);
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.bb-button--primary {
    background: var(--btn-gradient-teal);
    color: #fff;
}

.bb-button--primary:hover {
    opacity: 0.88;
}

.bb-button--outline {
    background: transparent;
    color: var(--color-text-black);
    border: 1px solid var(--color-border-default);
}

.bb-button--outline:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

/* ---- 4.7 Error Message ---- */
.error-message {
    color: #e53935;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    padding: 10px 14px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* ---- 4.8 Responsive ---- */
@media (max-width: 768px) {
    .bb-signup-card {
        margin: 0 12px;
        padding: 24px 20px;
    }

    .bb-signup-row {
        flex-direction: column;
        gap: 0;
    }

    .bb-signup-step-label {
        font-size: 11px;
    }

    .bb-signup-step-item {
        min-width: 70px;
    }
}

/*
==================================================================
    6.0 Member List
==================================================================
*/

.members-list .item-avatar {
    position: relative;
}
.members-list .item-avatar .member-department {
    display: flex;
    font-size: 14px;
    background: #078FA2;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    color: #fff;
    border-radius: 16px;
}

.signup-success-container .entry-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.signup-success-container .entry-content p {
    margin-bottom: 15px;
}

.signup-success-container .button {
    margin-top: 20px;
    gap: 20px;
    margin-bottom: 20px;
}

.field-group-inline .field-group {
    flex: 1;
    margin-bottom: 0;
}

.field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="password"],
.field-group input[type="date"],
.field-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bb-social-logins-container {
    margin-bottom: 20px;
    text-align: center;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.signup-success-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.signup-success-container .entry-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.signup-success-container .entry-content p {
    margin-bottom: 15px;
}

.signup-success-container .button {
    margin-top: 20px;
    gap: 20px;
    margin-bottom: 20px;
}

.simple-signup-form-container {
    background-color: #fff;
    height: fit-content;
    padding: 24px;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.simple-signup-form-container .simple-signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.simple-signup-form-container .field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.simple-signup-form-container .field-group--name-row {
    flex-direction: row;
    gap: 12px;
}

.simple-signup-form-container .field-group__half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.simple-signup-form-container .field-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.simple-signup-form-container .field-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.simple-signup-form-container .field-group input:focus {
    outline: none;
    border-color: #078FA2;
}

.simple-signup-form-container .field-group input::placeholder {
    color: #aaa;
}

.simple-signup-form-container .form-submit {
    margin-top: 4px;
}

.simple-signup-form-container .form-submit .btn-primary {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgb(22, 186, 209) 0%, rgb(0, 129, 146) 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.simple-signup-form-container .form-submit .btn-primary:hover {
    opacity: 0.9;
}

.simple-signup-divider {
    position: relative;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.simple-signup-divider span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.simple-signup-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.simple-signup-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simple-signup-social .btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.simple-signup-social .btn-google:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

.simple-signup-social .btn-google__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e8f0fe;
    color: #4285f4;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
}

.simple-signup-login-link {
    text-align: center;
}

.simple-signup-login-link a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.simple-signup-login-link a:hover {
    color: #078FA2;
    text-decoration: underline;
}

/* ---- 3.2 Forum Archive Layout & Widgets ---- */
#bbpress-forums .bs-forums-items {
    margin-top: 30px;
}

form.bb-filter-form {
    margin: 0;
}

#bbpress-forums .bs-item-list.list-view:not(.bbp-lead-topic)>li:last-child>.bs-item-wrap, #bbpress-forums .bs-item-list.list-view:not(.bbp-lead-topic)>li:last-child>div.bs-reply-list-item {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}
.bs-item-list.list-view.bs-forums-items:not(.bs-single-forum-list) li:last-of-type .bs-item-wrap {
    border-bottom: unset;
}
/* ---- 3.3 Topic List Item (Card) ---- */

#bbpress-forums .bs-item-list:not(.bb-tag-items-list) .bs-item-wrap:not(.bs-header-item) {
    border: 1px solid var(--bb-content-border-color) !important;
    border-radius: var(--bb-block-radius) !important;
    margin-bottom: 8px;
    padding: 20px 24px !important;
}

.bs-item-wrap.bs-header-item.align-items-center.no-hover-effect {
    border: none;
    background: unset;
}

/* --- Topic Card (Figma-aligned) --- */

.bbc-topic-card {
    display: flex;
    gap: 16px;
    width: 100%;
}

.bbc-card-avatar {
    flex-shrink: 0;
}

.bbc-card-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.bbc-card-body {
    flex: 1;
    min-width: 0;
}

.bbc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

a.bbc-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    text-decoration: none;
    word-break: break-word;
}

a.bbc-card-title:hover {
    color: #078FA2;
}

.bbc-urgency-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    background: transparent;
    border: none;
    white-space: nowrap;
}

.bbc-urgency-icon {
    font-size: 9px;
    line-height: 1;
    opacity: 0.7;
}

.bbc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

a.bbc-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff !important;
    background-color: #078FA2;
    text-decoration: none;
    transition: opacity 0.2s;
}

a.bbc-tag-badge:hover {
    opacity: 0.85;
}

a.bbc-tag-badge i {
    font-size: 12px;
}

.bbc-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.bbc-card-author-avatar img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

.bbc-card-author-name {
    font-weight: 600;
}

.bbc-card-author-sep {
    color: #ccc;
}

.bbc-card-author-facility {
    color: #666;
}

.bbc-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}

.bbc-card-time {
    color: #888;
}

.bbc-card-time a {
    color: #888 !important;
    text-decoration: none;
}

.bbc-metric {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
}

.bbc-metric i {
    font-size: 15px;
    line-height: 1;
}

/* Facility-info: hide comments/likes/bookmarks */
.bs-item-wrap.is-facility-info .bbc-metric:has(.bb-icon-comment),
.bs-item-wrap.is-facility-info .bbc-metric:has(.bb-icon-heart),
.bs-item-wrap.is-facility-info .bbc-metric:has(.bb-icon-bookmark) {
    display: none !important;
}

/* --- Single Topic Sidebar --- */

.widget_bbc_new_discussion_widget {
    border: none !important;
    background: none;
    padding-top: 0 !important;
}

.widget_bbc_new_discussion_widget h3.widget-title {
    display: none;
}

.widget_bbc_new_discussion_widget .button {
    width: 100%;
}

#subscription-toggle span {
    display: unset;
}

.bbp-topic-reply-link,
.favorite-toggle,
.subscription-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.single-topic-sidebar-links a.bbp-topic-reply-link,
.single-topic-sidebar-links a.subscription-toggle,
.single-topic-sidebar-links a.favorite-toggle {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bbc-link-icon {
    display: inline-flex;
    margin-right: 4px;
}

.bbc-link-icon i {
    font-size: 16px;
    line-height: 1;
}

.single-topic-sidebar-links .subscription-toggle {
    color: #078FA2;
}

#subscription-toggle span.is-subscribed > a.subscription-toggle,
.single-topic-sidebar-links span.is-subscribed > a.subscription-toggle {
    background: unset;
    background-image: linear-gradient(180deg, rgb(22, 186, 209) 0%, rgb(0, 129, 146) 100%);
    color: #fff;
}

.single-topic-sidebar-links .favorite-toggle {
    color: #EA4335;
}

#favorite-toggle span.is-favorite > a.favorite-toggle,
.single-topic-sidebar-links span.is-favorite > a.favorite-toggle {
    background: unset;
    background-color: #EA4335;
    color: #ffffff;
}

/*
==================================================================
    5.1 Bookmark Button
==================================================================
*/

/* Highlight bookmarked state */
.bp-bookmark-button.is-bookmarked i {
    color: var(--bb-primary-color);
}
.bp-bookmark-button.is-bookmarked i:before {
    font-weight: 300; /* filled look */
}

/* Default (outline) look */
.bp-bookmark-button i:before {
    font-weight: 400; /* outline look */
}

/* Base (unbookmarked) color: gray */
.bp-bookmark-button,
.bp-bookmark-button:before,
.bp-bookmark-button i,
.bp-bookmark-button i:before {
    color: var(--bb-alternate-text-color);
}

/* Bookmarked: primary color */
.bp-bookmark-button.is-bookmarked,
.bp-bookmark-button.is-bookmarked:before,
.bp-bookmark-button.is-bookmarked i,
.bp-bookmark-button.is-bookmarked i:before {
    color: var(--bb-primary-color);
}

/*
==================================================================
    6. Bookmark Tabs (Sidebar style)
==================================================================
*/

.bookmark-page.has-tabs .bookmark-tabs {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: start;
    min-height: 60vh;
}

.bookmark-tabs__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius) 0 0 var(--bb-block-radius);
    height: 100%;
    border-right: none;
}

.bookmark-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: none;
    border-radius: var(--bb-block-radius-inner);
    background: transparent;
    color: var(--bb-body-text-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bookmark-tab:hover {
    background: rgba(7, 143, 162, 0.06);
}

.bookmark-tab.is-active,
.bookmark-tab:focus-visible {
    background: var(--bb-primary-color);
    color: #fff;
    outline: none;
}

.bookmark-tab__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bookmark-tab__inner i {
    font-size: 18px;
}

.bookmark-tab .bookmark-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.bookmark-tab.is-active .bookmark-count {
    background: rgba(255, 255, 255, 0.25);
}

.bookmark-tabs__panels {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: 0 var(--bb-block-radius) var(--bb-block-radius) 0;
    min-height: 100%;
    overflow: hidden;
}

.bookmark-section {
    margin: 0;
}

.bookmark-section[hidden] {
    display: none;
}

.bookmark-panel__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 24px;
    border-bottom: 1px solid var(--bb-content-border-color);
}

/* --- Horizontal bookmark cards --- */

.bookmark-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bookmark-card {
    border-bottom: 1px solid var(--bb-content-border-color);
}

.bookmark-card:last-child {
    border-bottom: none;
}

.bookmark-card__link {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    text-decoration: none;
    color: var(--bb-body-text-color);
    transition: background-color 0.15s ease;
}

.bookmark-card__link:hover {
    background: rgba(7, 143, 162, 0.03);
}

.bookmark-card__thumb {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.bookmark-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bookmark-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.bookmark-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bb-body-text-color);
}

.bookmark-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--bb-alternate-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bookmark-card__date {
    font-size: 12px;
    color: var(--bb-alternate-text-color);
}

.bookmark-page .bb-c-card-list-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--bb-alternate-text-color);
}

@media (max-width: 768px) {
    .bookmark-page.has-tabs .bookmark-tabs {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .bookmark-tabs__nav {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
        padding: 12px;
        border-radius: var(--bb-block-radius);
        border-right: 1px solid var(--bb-content-border-color);
        margin-bottom: 12px;
    }

    .bookmark-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px;
    }

    .bookmark-tab__inner {
        gap: 6px;
    }

    .bookmark-tab__inner i {
        font-size: 15px;
    }

    .bookmark-tab .bookmark-count {
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        font-size: 11px;
    }

    .bookmark-tabs__panels {
        border-radius: var(--bb-block-radius);
    }

    .bookmark-card__link {
        padding: 16px;
        gap: 14px;
    }

    .bookmark-card__thumb {
        width: 100px;
        height: 70px;
        border-radius: 6px;
    }

    .bookmark-card__title {
        font-size: 14px;
    }

    .bookmark-card__excerpt {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
}



.bbp-header-actions {
    display: flex;
    gap: 8px;
}

.bb-template-v2 .widget.widget_bbc_new_discussion_button_widget {
    padding: 0;
    border: none;
    background: none;
}

.widget_bbc_new_discussion_button_widget .widget-title {
    display: none;
}
.widget_bbc_new_discussion_button_widget a {
    margin-bottom: 0;
}

/* Discussion count heading */
.bbp-topics1 .bs-header-item .flex-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bbp-topics1 .bs-section-title {
    font-weight: 400;
    font-size: 15px;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

#bbpress-forums li.bs-item-wrap {
    background-color: unset;
}

/* Forum sort dropdown */
.bbp-forum-buttons-wrap .bbp-forum-sort {
    position: relative;
}

.bbp-forum-buttons-wrap .bbp-forum-sort::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 12px;
    top: 50%;
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231f1f1f' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center center;
    transform: translateY(-50%);
    opacity: 0.7;
}

.bbp-forum-buttons-wrap .bbp-forum-sort select {
    min-width: 160px;
    padding: 10px 12px;
    padding-right: 36px;
    border: 1px solid var(--bb-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
    background: #fff;
    color: var(--bb-body-text-color, #1f1f1f);
    font-size: 14px;
    line-height: 1.4;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.bbp-forum-buttons-wrap .bbp-forum-sort select:focus {
    outline: none;
    border-color: var(--bb-primary-color, #0073aa);
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.bbp_topic_tags_wrapper label {
    display: unset !important;
    width: 100px;
}

/* フォーラムバナー検索・フィルターアイコン */
#bbp-search-form {
    position: relative;
}

#bbp-search-form .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bb-alternate-text-color, #888);
    font-size: 18px;
    pointer-events: none;
}

#bbp-search-form #bbp_search {
    padding-left: 45px;
    color: var(--bb-headings-color, #333);
}

#bbp-search-form #bbp_search::placeholder {
    color: var(--bb-alternate-text-color, #888);
}

.bb-topic-tags-filter {
    position: relative;
    display: inline-block;
}

.bb-topic-tags-filter .filter-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bb-alternate-text-color, #888);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.bb-topic-tags-filter select {
    padding-left: 38px;
}

/* (施設情報フォーラムの非表示ルールは 3.3 Topic Card セクションに移動) */

/* 施設情報フォーラム詳細ページ */
body.is-facility-info-topic .bbp-topic-reply-count,
body.is-facility-info-topic .bb-topic-actions-wrap .bb-topic-action-like,
body.is-facility-info-topic .bb-topic-actions-wrap .bb-topic-action-subscription,
body.is-facility-info-topic #bbpress-forums .bbp-reply-form,
body.is-facility-info-topic #bbpress-forums .bb-grid-reply-count,
body.is-facility-info-topic #bbpress-forums .subscription-toggle {
    display: none !important;
}

/* ---------- Forum Archive Layout ---------- */

.bbc-forum-archive-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
    max-width: 100%;
}

.bbc-forum-main {
    min-width: 0;
}

.bbc-forum-sidebar {
    position: sticky;
    top: 100px;
}

.bbc-forum-sidebar .widget {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bb-content-background-color, #fff);
    border: 1px solid var(--bb-content-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
}

.bbc-forum-sidebar .widget_bbc_new_discussion_button_widget {
    padding: 0;
    border: none;
    background: none;
}

.bbc-forum-sidebar .widget_bbc_new_discussion_button_widget a.btn-new-topic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--bb-block-radius, 8px);
    background: linear-gradient(180deg, #16BAD1 0%, #008192 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bbc-forum-sidebar .widget_bbc_new_discussion_button_widget a.btn-new-topic:hover {
    opacity: 0.9;
}

.bbc-forum-sidebar .widget h3.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

/* --- Forum Users Widget --- */

.bbc-users-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--bb-content-border-color, #e6e6e6);
    margin-bottom: 12px;
}

.bbc-users-tab {
    flex: 1;
    padding: 8px 4px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    text-align: center;
    border-bottom: 2px solid transparent;
    border-radius: 6px 6px 0 0;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.bbc-users-tab:hover {
    color: #00A9C0;
    background-color: rgba(0, 169, 192, 0.1);
}

.bbc-users-tab.is-active {
    color: #fff;
    font-weight: 700;
    background-color: #00A9C0;
    border-bottom-color: transparent;
}

.bbc-users-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbc-user-item {
    padding: 6px 0;
}

.bbc-user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.bbc-user-link:hover {
    color: #078FA2;
}

.bbc-user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.bbc-user-name {
    font-size: 14px;
    font-weight: 500;
}

.bbc-users-more {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bb-content-border-color, #e6e6e6);
}

.bbc-users-more a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.bbc-users-more a:hover {
    color: #078FA2;
}

.bbc-users-empty {
    font-size: 13px;
    color: #888;
    text-align: center;
    padding: 12px 0;
}

@media (max-width: 1024px) {
    .bbc-forum-archive-wrap {
        grid-template-columns: 1fr;
    }

    .bbc-forum-sidebar {
        position: static;
    }
}

/* ---------- フォーラム検索・フィルターバー ---------- */

.bbc-forum-filter-bar {
    margin-bottom: 20px;
}

.bbc-forum-filter-form {
    display: block;
}

.bbc-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bbc-filter-search {
    position: relative;
    flex: 1 1 240px;
    min-width: 200px;
}

.bbc-filter-search .bbc-filter-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bb-alternate-text-color, #888);
    font-size: 16px;
    pointer-events: none;
}

.bbc-filter-search input[type="text"] {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--bb-content-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
    background: var(--bb-content-background-color, #fff);
    font-size: 14px;
    line-height: 1.4;
    color: var(--bb-body-text-color, #1f1f1f);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bbc-filter-search input[type="text"]:focus {
    outline: none;
    border-color: var(--bb-primary-color, #00a9c0);
    box-shadow: 0 0 0 2px rgba(0, 169, 192, 0.15);
}

.bbc-filter-search input[type="text"]::placeholder {
    color: var(--bb-alternate-text-color, #888);
}

.bbc-filter-tag {
    position: relative;
    flex: 0 1 200px;
    min-width: 160px;
}

.bbc-filter-tag .bbc-filter-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bb-alternate-text-color, #888);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.bbc-filter-tag select {
    width: 100%;
    padding: 10px 36px 10px 36px;
    border: 1px solid var(--bb-content-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
    background: var(--bb-content-background-color, #fff);
    font-size: 14px;
    line-height: 1.4;
    color: var(--bb-body-text-color, #1f1f1f);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bbc-filter-tag select:focus {
    outline: none;
    border-color: var(--bb-primary-color, #00a9c0);
    box-shadow: 0 0 0 2px rgba(0, 169, 192, 0.15);
}

.bbc-filter-my {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid var(--bb-content-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
    background: var(--bb-content-background-color, #fff);
    cursor: pointer;
    font-size: 14px;
    color: var(--bb-body-text-color, #1f1f1f);
    white-space: nowrap;
    transition: border-color 0.2s, background-color 0.2s;
    user-select: none;
}

.bbc-filter-my:hover {
    border-color: var(--bb-primary-color, #00a9c0);
}

.bbc-filter-my:has(input:checked) {
    background-color: rgba(0, 169, 192, 0.08);
    border-color: var(--bb-primary-color, #00a9c0);
    color: var(--bb-primary-color, #00a9c0);
}

.bbc-filter-my input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--bb-primary-color, #00a9c0);
    cursor: pointer;
}

.bbc-filter-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--bb-block-radius, 8px);
    background-color: var(--bb-primary-color, #00a9c0);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.bbc-filter-submit:hover {
    background-color: #008da3;
}

.bbc-filter-submit .bb-icon-search {
    font-size: 14px;
}

.bbc-filter-reset {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--bb-content-border-color, #e6e6e6);
    border-radius: var(--bb-block-radius, 8px);
    background: var(--bb-content-background-color, #fff);
    color: var(--bb-alternate-text-color, #888);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.bbc-filter-reset:hover {
    color: var(--bb-body-text-color, #1f1f1f);
    border-color: var(--bb-body-text-color, #1f1f1f);
}

.bbc-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--bb-alternate-text-color, #888);
}

.bbc-no-results p {
    margin-bottom: 16px;
    font-size: 15px;
}

.bbc-filter-reset-link {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--bb-primary-color, #00a9c0);
    border-radius: var(--bb-block-radius, 8px);
    color: var(--bb-primary-color, #00a9c0);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.bbc-filter-reset-link:hover {
    background-color: var(--bb-primary-color, #00a9c0);
    color: #fff;
}

@media (max-width: 768px) {
    .bbc-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bbc-filter-search,
    .bbc-filter-tag {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .bbc-filter-row > .bbc-filter-my,
    .bbc-filter-row > .bbc-filter-submit,
    .bbc-filter-row > .bbc-filter-reset {
        flex: 1;
    }

    .bbc-filter-row > .bbc-filter-my + .bbc-filter-submit {
        margin-left: 0;
    }

    /* Forum card responsive */
    .bbc-topic-card {
        gap: 12px;
    }

    .bbc-card-avatar img {
        width: 40px;
        height: 40px;
    }

    a.bbc-card-title {
        font-size: 16px;
    }

    .bbc-card-author {
        flex-wrap: wrap;
    }

    .bbc-card-footer {
        gap: 10px;
    }

    #bbpress-forums .bs-item-list:not(.bb-tag-items-list) .bs-item-wrap:not(.bs-header-item) {
        padding: 16px !important;
    }
}

/*
==================================================================
    9.0 Landing Page (front-page.php) - New Template Styles
==================================================================
*/

/* ---- 9.1 Hero Section ---- */
.landing-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 60px;
}

.landing-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.landing-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.landing-hero__text {
    flex: 1;
    text-align: center;
}

.landing-hero__title {
    color: #1C1C1C;
    text-align: center;
    font-family: "Microsoft Sans Serif", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 16px;
}

.landing-hero__subtitle {
    align-self: stretch;
    color: #1C1C1C;
    text-align: center;
    font-family: "Microsoft Sans Serif", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 24px;
}

.landing-hero__image img {
    max-width: 100%;
    height: auto;
}

.landing-hero__form {
    flex: 0 0 380px;
    max-width: 380px;
}

@media screen and (max-width: 991px) {
    .landing-hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }
    
    .landing-hero__content {
        flex-direction: column;
        gap: 40px;
    }
    
    .landing-hero__form {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .landing-hero__title {
        font-size: 32px;
        line-height: 130%;
    }
    
    .landing-hero__subtitle {
        font-size: 16px;
    }
}

/* ---- 9.2 Simple Signup Form (Hero) ---- */
.simple-signup-form-container {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
}

.simple-signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.simple-signup-form .field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.simple-signup-form .field-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.simple-signup-form .field-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    font-size: 16px;
}

.simple-signup-form .field-group input:focus {
    outline: none;
    border-color: #00a9c0;
    box-shadow: 0 0 0 2px rgba(0, 169, 192, 0.1);
}

.simple-signup-form .field-group--name-row {
    display: flex;
    gap: 12px;
}

.simple-signup-form .field-group__half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.simple-signup-form .form-submit {
    margin-top: 8px;
}

.simple-signup-form .btn-primary {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(180deg, #16bad1 0%, #008192 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.simple-signup-form .btn-primary:hover {
    opacity: 0.9;
}

.simple-signup-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.simple-signup-divider span {
    background: #fff;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}

.simple-signup-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.simple-signup-social {
    margin-bottom: 16px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-google:hover {
    background: #f9f9f9;
}

.btn-google__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e8f0fe;
    color: #4285f4;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.simple-signup-login-link {
    text-align: center;
}

.simple-signup-login-link a {
    color: #00a9c0;
    font-size: 14px;
    text-decoration: none;
}

.simple-signup-login-link a:hover {
    text-decoration: underline;
}

/* ---- 9.3 Landing Sections (General) ---- */
.landing-section {
    padding: 60px 20px 80px;
}

.landing-section__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.landing-section__lead {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.landing-section__text {
    text-align: center;
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.landing-section--about,
.landing-section--feature,
.landing-section--reason,
.landing-section--scene {
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.landing-section--cta {
    background: linear-gradient(135deg, #16bad1 0%, #016d7c 100%);
    color: #fff;
}

.landing-section--cta .landing-section__title {
    color: #fff;
}

/* ---- 9.4 Feature Items ---- */
.landing-section--feature .inner-width {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item__content {
    flex: 1;
    min-width: 0;
}

.feature-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-item__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #1C1C1C;
}

.feature-item__desc {
    align-self: stretch;
    color: #1C1C1C;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    margin: 0;
}

.feature-item__icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Feature Section Responsive */
@media screen and (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
    
    .feature-item__icon {
        order: -1;
        width: 80px;
        height: 80px;
    }
}

/* ---- 9.5 Reason Cards ---- */
.reason-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.reason-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reason-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.reason-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reason-card__title {
    align-self: stretch;
    color: var(--TextColor-black, #1C1C1C);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 12px;
}

.reason-card__desc {
    align-self: stretch;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ---- 9.6 Scene Cards ---- */
.scene-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.scene-card {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.scene-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.scene-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scene-card:hover .scene-card__image img {
    transform: scale(1.05);
}

.scene-card__content {
    padding: 24px;
    text-align: center;
}

.scene-card__title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1C1C1C;
}

.scene-card__desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Scene Cards Responsive */
@media screen and (max-width: 991px) {
    .scene-cards {
        gap: 16px;
    }
    
    .scene-card {
        min-width: 260px;
        max-width: 100%;
    }
    
    .scene-card__image {
        height: 180px;
    }
}

@media screen and (max-width: 640px) {
    .scene-card {
        min-width: 100%;
    }
}

/* ---- 9.7 CTA Section ---- */
.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.cta-steps {
    flex: 1;
}

.cta-steps .stepbar .stepnum {
    color: var(--TextColor-white, #FFF);
    font-family: "Microsoft Sans Serif";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

.cta-steps .stepbar .steptxt p {
    color: var(--TextColor-white, #FFF);
    font-family: "Microsoft Sans Serif";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}

.cta-form {
    flex: 0 0 340px;
}

.cta-form .simple-signup-form-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .cta-form {
        flex: 1;
        width: 100%;
        max-width: 340px;
    }
}

/* ---- 9.8 News Section ---- */
.landing-section--news {
    background: #fff;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    max-width: 800px;
}

.news-list__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.news-list__item:last-child {
    border-bottom: none;
}

.news-list__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.news-list__date {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.news-list__category {
    display: inline-block;
    padding: 2px 10px;
    background: #00a9c0;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.news-list__title {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
}

.news-list__title:hover {
    color: #00a9c0;
}

.news-more {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 10px 32px;
    border: 2px solid #333;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
}

/* ---- 9.9 Banner Slider ---- */
.landing-banner {
    padding: 40px 0;
    background: #fff;
}

.banner-slider__item img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .landing-section {
        padding: 40px 16px 60px;
    }
    
    .landing-section__title {
        font-size: 1.5rem;
    }
    
    .reason-cards,
    .scene-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .reason-card,
    .scene-card {
        max-width: 100%;
        width: 100%;
    }
    
    .news-list__item {
        flex-direction: column;
        gap: 8px;
    }
}

/*
==================================================================
    10.0 Custom Footer
==================================================================
*/

/* ---- 10.1 CSS Variables (SDS Design System) ---- */
:root {
    --sds-responsive-device-width: 100%;
    --sds-size-space-200: 8px;
    --sds-size-space-300: 12px;
    --sds-size-space-400: 32px;
    --sds-size-space-600: 48px;
    --sds-size-space-800: 64px;
    --sds-size-space-4000: 160px;
    --sds-size-radius-200: 8px;
    --sds-size-stroke-border: 1px;
    --sds-color-text-default-default: #1C1C1C;
    --sds-color-border-default-default: #E0E0E0;
    --sds-color-background-default-default: #FFFFFF;
    --sds-color-background-brand-secondary: #E6E6E6;
    --sds-color-border-brand-default: #2C2C2C;
    --sds-color-border-brand-tertiary: #757575;
    --sds-typography-body-font-family: Inter, 'Noto Sans JP', sans-serif;
    --sds-typography-body-size-medium: 16px;
    --sds-typography-body-font-weight-regular: 400;
    --sds-typography-body-font-weight-strong: 700;
    --sds-typography-heading-font-family: Inter, 'Noto Sans JP', sans-serif;
    --sds-typography-heading-size-base: 24px;
    --sds-typography-heading-font-weight: 700;
    --sds-size-padding-lg: 16px;
    --button1: linear-gradient(180deg, #00A9C0 0%, #078FA2 100%);

    --color-teal: #00A9C0;
    --color-teal-dark: #078FA2;
    --color-bg-base: #f9fafa;
    --color-border-light: #f0f0f0;
    --color-border-default: #d9d9d9;
    --color-text-black: #1c1c1c;
    --color-text-secondary: #757575;
    --color-text-tertiary: #b3b3b3;
    --btn-gradient-teal: linear-gradient(180deg, #00A9C0 0%, #078FA2 100%);
    --btn-gradient-gray: linear-gradient(180deg, #fafafa 0%, #eee 100%);
}

/* ---- 10.2 Footer Main Container ---- */
.site-footer {
    background: #F5F8F8;
}

.site-footer .footer-main {
    display: flex;
    width: var(--sds-responsive-device-width);
    padding: 32px 64px;
    align-items: center;
    gap: 16px var(--sds-size-space-400);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- 10.3 Footer Brand (Logo + SNS) ---- */
.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 200px;
}

.site-footer .footer-logo {
    display: inline-block;
}

.site-footer .footer-logo img {
    max-width: 200px;
    height: auto;
}

.site-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.site-footer .footer-social a:hover {
    opacity: 0.7;
}

.site-footer .footer-social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ---- 10.4 Footer Navigation (1 Row) ---- */
.site-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    justify-content: flex-start;
    align-items: center;
    margin-left: 60px;
}

.site-footer .footer-nav a {
    color: var(--sds-color-text-default-default);
    font-family: Inter, sans-serif;
    font-size: var(--sds-typography-body-size-medium);
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer .footer-nav a:hover {
    opacity: 0.7;
}

/* ---- 10.5 Footer Copyright ---- */
.site-footer .footer-copyright {
    text-align: center;
    padding: 24px;
    background: #F5F8F8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.site-footer .footer-copyright p {
    margin: 0;
    color: var(--sds-color-text-default-default);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 170%;
}

.site-footer .footer-copyright .copyright-symbol {
    font-size: inherit;
    line-height: inherit;
}

/* ---- 10.6 Footer Responsive ---- */
@media screen and (max-width: 991px) {
    .site-footer .footer-main {
        padding: 32px 24px;
    }
    
    .site-footer .footer-nav {
        margin-left: 40px;
        gap: 10px 24px;
    }
}

@media screen and (max-width: 860px) {
    .site-footer .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-footer .footer-nav {
        margin-left: 0;
        margin-top: 16px;
    }
}

@media screen and (max-width: 768px) {
    .site-footer .footer-main {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }
    
    .site-footer .footer-brand {
        width: 100%;
    }
    
    .site-footer .footer-logo img {
        max-width: 160px;
    }
    
    .site-footer .footer-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .site-footer .footer-copyright {
        padding: 16px;
    }
}

/*
==================================================================
    9. Profile Page
==================================================================
*/

/* --- Department badge below avatar --- */
.member-department-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #078FA2;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: -8px;
    position: relative;
    z-index: 2;
}

#item-header-cover-image .member-department-badge {
    display: block;
    text-align: center;
    margin-top: -6px;
}

#item-header-avatar {
    position: relative;
    text-align: center;
}

/* --- Profile fields (profile-loop) --- */
.bp-profile-wrapper .group-separator-block {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.bp-profile-wrapper .profile-loop-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--bb-content-border-color);
    margin: 0;
}

.bp-profile-wrapper .profile-loop-header .bb-profile-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.bp-profile-wrapper .profile-loop-header .button.outline.small {
    background: var(--bb-primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bp-profile-wrapper .profile-loop-header .button.outline.small:hover {
    opacity: 0.85;
}

.bp-profile-wrapper .profile-fields.bp-tables-user {
    width: 100%;
    border-collapse: collapse;
}

.bp-profile-wrapper .profile-fields.bp-tables-user tr {
    border-bottom: 1px solid var(--bb-content-border-color);
}

.bp-profile-wrapper .profile-fields.bp-tables-user tr:last-child {
    border-bottom: none;
}

.bp-profile-wrapper .profile-fields.bp-tables-user td {
    padding: 14px 24px;
    vertical-align: top;
}

.bp-profile-wrapper .profile-fields.bp-tables-user td.label {
    width: 160px;
    font-weight: 500;
    color: var(--bb-alternate-text-color);
    font-size: 14px;
}

.bp-profile-wrapper .profile-fields.bp-tables-user td.data {
    font-size: 14px;
    color: var(--bb-body-text-color);
}

/* --- Following grid on timeline --- */
.bbc-following-grid-wrap {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.bbc-following-grid__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.bbc-following-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.bbc-following-grid__avatar {
    display: block;
}

.bbc-following-grid__avatar img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    display: block;
}

/* --- Profile sidebar widgets --- */
#buddypress .bb-profile-grid .widget-area .bb-sticky-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Profile completion widget */
.widget_bp_nouveau_profile_completion_widget {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    padding: 20px;
}

.widget_bp_nouveau_profile_completion_widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

/* Users widget on profile */
.bb-profile-grid .widget_bbc_forum_users_widget {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    padding: 20px;
}

/* --- Profile responsive --- */
@media (max-width: 768px) {
    .bp-profile-wrapper .profile-fields.bp-tables-user td.label {
        width: 120px;
        padding: 10px 16px;
    }

    .bp-profile-wrapper .profile-fields.bp-tables-user td.data {
        padding: 10px 16px;
    }

    .bp-profile-wrapper .profile-loop-header {
        padding: 16px;
    }

    .bbc-following-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .bookmark-card__link {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .bp-profile-wrapper .profile-fields.bp-tables-user,
    .bp-profile-wrapper .profile-fields.bp-tables-user tbody,
    .bp-profile-wrapper .profile-fields.bp-tables-user tr,
    .bp-profile-wrapper .profile-fields.bp-tables-user td {
        display: block;
        width: 100%;
    }

    .bp-profile-wrapper .profile-fields.bp-tables-user td.label {
        padding: 12px 16px 2px;
        font-size: 12px;
    }

    .bp-profile-wrapper .profile-fields.bp-tables-user td.data {
        padding: 2px 16px 12px;
    }

    .bbc-following-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*
==================================================================
    10. Additional Responsive Fixes
==================================================================
*/

/* --- Login page --- */
@media (max-width: 480px) {
    .bb-login-card {
        min-width: unset;
        max-width: 100%;
        padding: 20px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .bb-login-form input[type="text"],
    .bb-login-form input[type="password"] {
        font-size: 16px;
        padding: 10px 14px;
    }
}

/* --- Signup steps --- */
@media (max-width: 480px) {
    .stepbar .stepbar-step .step-label {
        font-size: 11px;
    }

    .bb-signup-card {
        padding: 16px;
    }
}

/* --- Dashboard --- */
@media (max-width: 480px) {
    .dashboard-grid {
        gap: 12px;
    }

    .dash-card {
        padding: 12px;
    }

    .dash-card__title {
        font-size: 14px;
    }
}

/* --- Forum archive --- */
@media (max-width: 480px) {
    .bbc-topic-card .item-title a {
        font-size: 14px;
    }

    .bbc-topic-card .item-meta {
        font-size: 12px;
    }

    .bbc-forum-banner .bbc-search input {
        font-size: 14px;
    }
}

/* --- Bookmark page (small screens) --- */
@media (max-width: 480px) {
    .bookmark-card__thumb {
        width: 80px;
        height: 56px;
    }

    .bookmark-card__link {
        padding: 12px;
        gap: 10px;
    }

    .bookmark-card__title {
        font-size: 13px;
    }

    .bookmark-panel__title {
        padding: 14px 16px;
        font-size: 16px;
    }
}

/* ── Signup error messages ── */
.bb-signup-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.bb-signup-errors__heading {
    color: #b91c1c;
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 8px;
}

.bb-signup-errors__list {
    margin: 0;
    padding-left: 20px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.6;
}

.bb-signup-errors__list li {
    margin-bottom: 2px;
}

/*
==================================================================
    99.0 Responsive Comprehensive Improvements
    Task 2-1: スマホ・タブレット表示の総点検
==================================================================
*/

/* ---- 99.1 Tablet (768-1100px) ---- */
@media (min-width: 769px) and (max-width: 1100px) {
    .dash__center {
        order: 1;
    }
    .dash__right {
        order: 2;
    }
    .dash-card {
        padding: 16px;
    }
    .dash-card__head {
        padding: 12px 16px;
    }
    .dash-card__item-link {
        padding: 10px 16px;
    }
    .dash-activity__meta {
        gap: 8px;
    }
}

/* ---- 99.2 Smartphone (max-width: 768px) ---- */
@media (max-width: 768px) {
    /* -- Dashboard -- */
    .dash-card__head {
        padding: 12px 14px;
    }
    .dash-card__title {
        font-size: 15px;
    }
    .dash-card__foot {
        padding: 10px 14px;
    }
    .dash-card__item-link {
        padding: 10px 14px;
    }
    .dash-card__item-title {
        font-size: 13px;
    }
    .dash-card__item-date {
        font-size: 11px;
    }
    .dash-activity {
        padding: 12px 14px;
    }
    .dash-member__link {
        padding: 8px 14px;
        gap: 10px;
    }
    .dash-member__link img {
        width: 36px;
        height: 36px;
    }

    /* -- Signup form step indicator -- */
    .bb-signup-steps {
        margin-bottom: 24px;
        gap: 0;
    }
    .bb-signup-step-circle {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .bb-signup-step-connector {
        width: 30px;
    }
    .bb-signup-page-title {
        font-size: 24px;
    }

    /* -- Signup form groups -- */
    .bb-form__group--half {
        width: 100%;
        flex: 1 1 100%;
    }

    /* -- Forum archive -- */
    .bbc-forum-banner {
        padding: 16px;
    }
    .bbc-forum-banner .bbc-search {
        width: 100%;
    }
    .bbc-sort-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    .bbc-sort-tabs a {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* -- Login / Lostpassword -- */
    .bb-login-page-title {
        font-size: 24px;
    }
    .bb-login-card {
        padding: 24px 20px;
    }
    .bb-login-divider {
        margin: 20px 0;
    }
    .bb-login-google {
        padding: 10px 16px;
    }

    /* -- Profile following grid -- */
    .bbc-following-grid-wrap {
        padding: 12px;
    }
    .bbc-following-grid {
        gap: 6px;
    }
    .bbc-following-grid__avatar img {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ---- 99.3 Small phone (max-width: 480px) ---- */
@media (max-width: 480px) {
    /* -- Dashboard -- */
    .dash {
        gap: 12px;
    }
    .dash-card__more {
        font-size: 12px;
    }
    .dash-activity__body {
        font-size: 13px;
    }

    /* -- Signup -- */
    .bb-signup-page-heading {
        padding: 12px 0 8px;
    }
    .bb-signup-page-title {
        font-size: 20px;
    }
    .bb-signup-step-connector {
        width: 20px;
    }
    .bb-signup-step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .bb-signup-step-label {
        font-size: 10px;
    }
    .bb-signup-step-item {
        min-width: 60px;
        gap: 4px;
    }
    .bb-signup-nav {
        flex-direction: column;
        gap: 8px;
    }
    .bb-signup-nav .bb-button {
        width: 100%;
    }
    .bb-signup-agree {
        font-size: 13px;
    }
    .bb-signup-file-btn {
        padding: 12px;
    }

    /* -- Forum archive -- */
    .bbc-filter-my-btn,
    .bbc-filter-submit-btn,
    .bbc-filter-reset-link {
        width: 100%;
        text-align: center;
    }
    .bbc-card-metrics {
        gap: 8px;
        font-size: 12px;
    }

    /* -- Bookmark page -- */
    .bookmark-tabs__nav {
        gap: 2px;
        padding: 8px;
    }
    .bookmark-tab {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* -- Login page -- */
    .bb-login-page-heading {
        padding: 12px 0;
    }
    .bb-login-page-title {
        font-size: 20px;
    }
    .bb-login-form .bb-button {
        font-size: 15px;
        padding: 12px;
    }
    .bb-login-forgot-password,
    .bb-login-registered {
        font-size: 13px;
    }

    /* -- Profile -- */
    .member-department-badge {
        font-size: 12px;
        padding: 3px 10px;
    }
    .bbc-following-grid__title {
        font-size: 14px;
    }
}