:root {
  --fb-bg: #f6f4ff;
  --fb-surface: #ffffff;
  --fb-panel: #fefbff;
  --fb-border: #e2daff;
  --fb-text: #1e1c30;
  --fb-muted: #5f587a;
  --fb-primary: #7c3aed;
  --fb-primary-dark: #5b2cd0;
  --fb-accent: #ff87c4;
  --fb-secondary: #ffce5c;
  --fb-radius: 24px;
  --fb-glow: rgba(124, 58, 237, 0.18);
  --fb-shadow: 0 30px 60px rgba(16, 9, 40, 0.15);
}

  *, *::before, *::after {
    box-sizing: border-box;
  }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 12% 18%, rgba(255, 135, 196, 0.18), transparent 45%),
    radial-gradient(circle at 82% 0%, rgba(124, 58, 237, 0.16), transparent 52%),
    linear-gradient(180deg, #fefbff, #f5f3ff 50%, #f8fbff);
  font-family: "Nunito", "Noto Sans SC", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fb-text);
  line-height: 1.7;
    overflow-x: hidden;
}

  html {
    overflow-x: hidden;
  }
.fb-main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3.5rem) 4rem;
}

a {
  color: var(--fb-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fb-primary-dark);
}

img {
  max-width: 100%;
  border-radius: calc(var(--fb-radius) - 6px);
}

.fb-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 218, 255, 0.7);
  z-index: 50;
}

.fb-header.is-shadow {
  box-shadow: 0 22px 40px rgba(44, 20, 84, 0.06);
}

.fb-header__bar {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem clamp(0.8rem, 3vw, 1.2rem);
  min-height: 60px;
}

.fb-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--fb-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-left: auto;
}

.fb-menu-toggle__icon {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.fb-menu-toggle__icon span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fb-header.is-menu-open .fb-menu-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.fb-header.is-menu-open .fb-menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.fb-header.is-menu-open .fb-menu-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.fb-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 88px;
}

.fb-logo img,
.fb-logo__text {
  max-width: 88px;
}

.fb-logo__text {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--fb-text);
}

.fb-logo .custom-logo-link img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 20px;
}

.fb-logo__tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fb-muted);
}

.fb-nav {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
}

.fb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fb-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.12);
  color: var(--fb-primary);
  text-decoration: none;
}

.fb-pill-link--outline {
  background: transparent;
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--fb-text);
}

.fb-pill-link--outline:hover {
  color: var(--fb-primary);
}

.fb-menu {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  font-weight: 600;
  flex-wrap: wrap;
}

.fb-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  color: var(--fb-text);
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: auto;
  transition: color 0.2s ease, background 0.2s ease;
}

.fb-menu a:hover,
.fb-menu .current-menu-item a {
  background: rgba(124, 58, 237, 0.12);
  color: var(--fb-primary);
}

.fb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(120deg, var(--fb-primary), var(--fb-secondary));
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.25);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fb-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(124, 58, 237, 0.35);
}

.fb-button--ghost {
  background: transparent;
  color: var(--fb-primary);
  border: 1px solid rgba(124, 58, 237, 0.45);
  box-shadow: none;
}

.fb-button--link {
  background: transparent;
  color: var(--fb-text);
  border: none;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  text-decoration: underline;
}

.fb-button--link:hover {
  color: var(--fb-primary);
  transform: none;
}

.fb-hero {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.2rem, 6vw, 4.5rem);
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 247, 253, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 40px 90px rgba(36, 9, 78, 0.08);
  position: relative;
  overflow: hidden;
}

.fb-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 135, 196, 0.35), transparent);
  opacity: 0.8;
  right: -80px;
  top: -80px;
  filter: blur(10px);
}

.fb-hero__content {
  position: relative;
  z-index: 1;
}

.fb-hero__eyebrow {
  color: var(--fb-primary);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.fb-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
}

.fb-hero__summary {
  margin: 0 0 1.8rem;
  color: var(--fb-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.fb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.fb-hero__media {
  position: relative;
  z-index: 1;
  background: var(--fb-panel);
  border-radius: calc(var(--fb-radius) + 12px);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.fb-hero__media img {
  width: 100%;
  border-radius: calc(var(--fb-radius) + 6px);
}

.fb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--fb-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fb-about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.fb-about__intro h2 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.fb-about__intro p {
  margin-bottom: 1rem;
}

.fb-about__panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--fb-radius) + 4px);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px rgba(20, 10, 50, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fb-about__story h3 {
  margin-top: 0;
}

.fb-about__contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.fb-about__contact-card strong {
  font-size: 1.3rem;
  color: var(--fb-primary);
}

.fb-about__contact-label {
  font-size: 0.85rem;
  color: var(--fb-muted);
}

.fb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--fb-border);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fb-text);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  appearance: none;
  border-width: 1px;
}

.fb-chip:hover {
  border-color: var(--fb-primary);
  color: var(--fb-primary);
}

.fb-chip--back {
  background: rgba(124, 58, 237, 0.08);
}

.fb-article__header .fb-chip--back {
  margin: 0.35rem 0 1.1rem;
}

.fb-chip--copy.is-copied {
  border-color: var(--fb-primary);
  color: var(--fb-primary);
}

.fb-section {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(0rem, 2vw, 1rem);
  border-radius: calc(var(--fb-radius) + 6px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 60px rgba(30, 24, 74, 0.05);
  position: relative;
  overflow: hidden;
}

.fb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 135, 196, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.08), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.fb-section > * {
  position: relative;
  z-index: 1;
}

.fb-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fb-section__header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.fb-section__header p {
  margin: 0;
  color: var(--fb-muted);
}

.fb-404 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.fb-404 h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
}

.fb-404__search {
  width: min(420px, 100%);
}

.fb-404__search .search-form {
  gap: 0.6rem;
  padding: 0.35rem clamp(1rem, 3vw, 1.3rem);
  min-height: 68px;
}

.fb-404__search input[type="search"] {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--fb-border);
  font-size: 1rem;
}

.fb-404__search input[type="submit"] {
  border-radius: 16px;
  border: none;
  padding: 0.65rem 1.2rem;
  background: var(--fb-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.fb-link {
  font-weight: 600;
}

.fb-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.fb-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fb-grid--posts {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fb-grid--expo {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.fb-card {
  background: var(--fb-panel);
  border-radius: var(--fb-radius);
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px rgba(39, 19, 78, 0.05);
  position: relative;
  overflow: hidden;
}

.fb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fb-card:hover::after {
  opacity: 1;
}

.fb-card--highlight {
  min-height: 200px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 255, 0.9));
}

.fb-card--post {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.fb-card__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0;
}

.fb-card__body {
  padding: 1.4rem 1.6rem 0.6rem;
  flex: 1;
}

.fb-card__category {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.7rem;
  color: var(--fb-primary);
}

.fb-card__body h3 {
  margin: 0.4rem 0 0.5rem;
}

.fb-card__excerpt {
  margin: 0;
  color: var(--fb-muted);
}

.fb-card__meta {
  padding: 0 1.6rem 1.4rem;
  color: var(--fb-muted);
  font-size: 0.9rem;
}

.fb-card--expo {
  text-align: left;
  border-style: dashed;
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.05);
}

.fb-timeline {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  margin: 0 calc(-1 * clamp(0.5rem, 2vw, 1.5rem));
  padding: 0.5rem clamp(0.5rem, 2vw, 1.5rem) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  position: relative;
}

.fb-timeline::-webkit-scrollbar {
  display: none;
}

.fb-timeline.is-dragging {
  cursor: grabbing;
}

.fb-timeline::before,
.fb-timeline::after {
  content: "";
  position: sticky;
  top: 0;
  width: clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.fb-timeline::before {
  left: 0;
  background: linear-gradient(90deg, rgba(247, 245, 251, 1), rgba(247, 245, 251, 0));
}

.fb-timeline::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247, 245, 251, 1), rgba(247, 245, 251, 0));
}

.fb-timeline__item {
  min-width: 260px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 255, 0.9));
  border-radius: 26px;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 24px 46px rgba(36, 9, 78, 0.08);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.fb-timeline__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.fb-timeline__date {
  font-weight: 800;
  color: var(--fb-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fb-timeline__theme {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.35rem;
}

.fb-timeline__location {
  margin: 0;
  font-weight: 600;
  color: var(--fb-muted);
}

.fb-timeline__note {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: var(--fb-text);
}

.fb-footer {
  margin-top: 4rem;
  background: linear-gradient(180deg, #fdf7ff, #f3f2ff);
  border-top: 1px solid rgba(226, 218, 255, 0.8);
  color: var(--fb-text);
  position: relative;
}

.fb-footer__glow {
  display: none;
}

.fb-footer__top {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.fb-footer__brand h3 {
  margin: 0;
  font-size: 1.5rem;
}

.fb-footer__brand p {
  margin: 0.5rem 0 1rem;
  color: var(--fb-muted);
}

.fb-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--fb-muted);
}

.fb-footer__contact a {
  color: var(--fb-primary);
}

.fb-footer__stats {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.fb-footer__stats li {
  flex: 1 1 120px;
  background: #fff;
  border-radius: 18px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--fb-border);
}

.fb-footer__stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--fb-primary);
}

.fb-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.fb-footer__column h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.fb-footer__menu,
.fb-footer__widgets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fb-footer__menu li {
  margin-bottom: 0.3rem;
}

.fb-footer__menu a {
  color: var(--fb-muted);
  font-weight: 600;
}

.fb-footer__menu a:hover {
  color: var(--fb-primary);
}

.fb-footer__widgets .widget {
  margin-bottom: 0.8rem;
}

.fb-footer__widgets .widget-title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.fb-footer__bottom {
  border-top: 1px solid rgba(226, 218, 255, 0.8);
  margin-top: 1rem;
  padding: 1.5rem clamp(1.2rem, 4vw, 2.5rem) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fb-footer__bottom-actions {
  color: inherit;
  display: inline-block;
  transition: transform 0.15s ease;
}

.fb-card__body h3 a:hover {
  transform: translateX(2px);
}

.fb-card__summary,
.fb-card__body a {
  position: relative;
}

.fb-card__body a {
  text-decoration: none;
  flex-wrap: wrap;
}

.fb-to-top {
  border: 1px solid var(--fb-border);
  background: #fff;
  color: var(--fb-primary);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}

.fb-article,
.fb-page {
  max-width: 860px;
  margin: 3rem auto;
  background: var(--fb-panel);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 50px rgba(30, 18, 66, 0.08);
}

.fb-article__header h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.fb-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--fb-muted);
  margin-bottom: 1rem;
}

.fb-article__thumb img {
  width: 100%;
  border-radius: calc(var(--fb-radius) + 6px);
}

.fb-article__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--fb-text);
}

.fb-page__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--fb-text);
  margin-bottom: 2rem;
}

.fb-photo-wall__intro {
  margin-top: clamp(1.5rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--fb-shadow);
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.fb-photo-wall__header h1 {
  margin-bottom: 0.8rem;
}

.fb-photo-wall__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fb-photo-stat {
  flex: 1 1 180px;
  padding: 1rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(255, 135, 196, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.fb-photo-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
}

.fb-photo-wall__tips {
  flex: 1 1 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(124, 58, 237, 0.3);
  margin: 0;
}

.fb-photo-wall {
  background: rgba(255, 255, 255, 0.9);
}

.fb-photo-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fb-photo-card {
  background: var(--fb-surface);
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 18px 40px rgba(23, 10, 46, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fb-photo-card__media {
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.fb-photo-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
}

.fb-photo-card__media:hover img {
  transform: scale(1.05);
}

.fb-photo-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
}

.fb-photo-card__info {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fb-photo-card__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fb-muted);
}

.fb-photo-card__info h3 {
  margin: 0;
}

.fb-photo-card__info p {
  margin: 0;
  color: var(--fb-text);
}

.fb-photo-card__actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fb-photo-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: var(--fb-muted);
  background: rgba(124, 58, 237, 0.08);
}

.fb-photo-wall__empty {
  text-align: center;
  font-weight: 600;
  color: var(--fb-muted);
}

.fb-photo-pagination {
  margin-top: 2rem;
}

.fb-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 22, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1.5rem;
}

.fb-lightbox.is-active {
  display: flex;
}

.fb-lightbox__content {
  max-width: min(960px, 100%);
  width: 100%;
  border-radius: 24px;
  background: #0f0c1f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.fb-lightbox__image {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.fb-lightbox__caption {
  padding: 1.2rem 1.6rem 1.4rem;
}

.fb-lightbox__caption h3 {
  margin: 0 0 0.4rem;
}

.fb-lightbox__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.fb-lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.fb-article__content h2,
.fb-article__content h3 {
  margin-top: 2rem;
}

.fb-article__footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(226, 218, 255, 0.7);
  padding-top: 1.5rem;
}

.fb-article__tags a {
  display: inline-flex;
  margin: 0.2rem 0.4rem 0 0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--fb-primary);
  font-size: 0.85rem;
}

.fb-article__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.fb-article__nav a {
  color: var(--fb-primary);
  font-weight: 600;
}

.comments-area {
  margin-top: 3rem;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border-radius: calc(var(--fb-radius) - 4px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 218, 255, 0.8);
  box-shadow: 0 20px 40px rgba(20, 10, 50, 0.05);
}

.comments-title,
#reply-title {
  margin-top: 0;
  font-size: 1.4rem;
}

.comment-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comment {
  margin: 0;
}

.comment-body {
  padding: 1.2rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 218, 255, 0.8);
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 6, 46, 0.04);
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--fb-muted);
  margin-bottom: 0.4rem;
}

.comment-author {
  font-weight: 700;
  color: var(--fb-text);
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-reply-link {
  font-weight: 600;
  color: var(--fb-primary);
}

.comment-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.comment-form p {
  margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--fb-border);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--fb-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  outline: none;
}

.comment-form .form-submit input {
  border: none;
  background: linear-gradient(120deg, var(--fb-primary), var(--fb-secondary));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.25);
  transition: transform 0.25s ease;
}

.comment-form .form-submit input:hover {
  transform: translateY(-2px);
}

.fb-pagination {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (max-width: 980px) {
  .fb-header__bar {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-bottom: 0.6rem;
  }
  .fb-header {
    background: #ffffff;
  }
  .fb-menu-toggle {
    display: inline-flex;
  }
  .fb-logo {
    width: 100%;
  }
  .fb-nav {
    width: 100%;
    justify-content: flex-start;
    display: none;
    flex-direction: column;
    animation: fb-menu-fade 0.25s ease;
    background: #ffffff;
    border: 1px solid rgba(226, 218, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 24px 45px rgba(22, 12, 46, 0.08);
    padding: 0.75rem;
  }
  .fb-header.is-menu-open .fb-nav {
    display: flex;
  }
  .fb-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
  }
  .fb-menu li {
    width: 100%;
  }
  .fb-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.55rem 0.9rem;
  }
  .fb-header__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .fb-about {
    grid-template-columns: 1fr;
  }
  .fb-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .fb-photo-card__info {
    padding: 1rem 1.2rem 1.3rem;
  }
}

@keyframes fb-menu-fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .fb-main {
    padding: 0 1.1rem 3.2rem;
  }
  .fb-grid--cards,
  .fb-grid--posts,
  .fb-grid--expo {
    grid-template-columns: 1fr;
  }
  .fb-hero__actions {
    flex-direction: column;
  }
  .fb-hero {
    padding: 1.6rem;
  }
  .fb-section {
    padding: 1rem 0.6rem;
  }
  .fb-photo-grid {
    grid-template-columns: 1fr;
  }
  .fb-footer__stats {
    flex-direction: column;
  }
  .fb-article__nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .fb-photo-wall__stats {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .fb-logo__tagline {
    display: none;
  }
  .fb-section__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .fb-footer__bottom-actions {
    width: 100%;
    justify-content: space-between;
  }
}
