/* =========================================================
   COMMUNITY BLOSSOMS
   OOMBAM FANSITE
========================================================= */

:root {

  --pink: #ef789b;
  --pink-soft: #fde7ed;
  --pink-pale: #fff4f6;

  --blue: #559bd1;
  --blue-soft: #eaf5ff;

  --cream: #fffaf5;
  --ivory: #fffdf9;

  --brown: #74534c;

  --text: #29394d;
  --text-soft: #6f7278;

  --border: rgba(217, 168, 166, 0.30);

  --shadow:
    0 15px 40px rgba(112, 76, 75, 0.08);

  --shadow-hover:
    0 20px 48px rgba(112, 76, 75, 0.14);

  --radius: 24px;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  font-family: "DM Sans", sans-serif;

  color: var(--text);

  background:
    linear-gradient(
      180deg,
      #fffdfa 0%,
      #fffaf8 40%,
      #f8fbff 100%
    );

  line-height: 1.6;

  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}


/* =========================================================
   GLOBAL
========================================================= */

.community-container {

  width: min(1420px, calc(100% - 64px));

  margin-inline: auto;
}

.section-block {
  padding: 18px 0;
}

.eyebrow {

  font-size: 0.72rem;

  letter-spacing: 0.22em;

  font-weight: 600;

  color: var(--pink);

  margin-bottom: 12px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

  position: sticky;
  top: 0;

  z-index: 1000;

  background:
    rgba(255, 253, 250, 0.94);

  backdrop-filter: blur(18px);

  border-bottom:
    1px solid rgba(50, 50, 50, 0.06);
}

.header-inner {

  width: min(1500px, calc(100% - 70px));

  height: 92px;

  margin-inline: auto;

  display: flex;
  align-items: center;

  gap: 42px;
}

.site-logo {

  width: 145px;

  flex-shrink: 0;
}

.site-logo img {

  max-height: 60px;

  object-fit: contain;
}

.desktop-nav {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: clamp(22px, 2.7vw, 48px);

  flex: 1;
}

.desktop-nav a {

  position: relative;

  padding: 34px 0 29px;

  font-size: 0.83rem;

  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.04em;

  transition: color 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--blue);
}

.desktop-nav a.active::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 21px;

  height: 2px;

  background: var(--blue);

  border-radius: 999px;
}

.header-actions {

  display: flex;

  align-items: center;

  gap: 18px;
}

.search-btn {

  width: 42px;
  height: 42px;

  border: 0;

  background: transparent;

  font-size: 1.7rem;

  color: var(--text);
}

.menu-toggle {

  width: 42px;
  height: 42px;

  border: 0;

  background: transparent;

  display: none;

  flex-direction: column;

  justify-content: center;

  gap: 5px;
}

.menu-toggle span {

  width: 23px;
  height: 2px;

  background: var(--text);

  transition: 0.25s;
}

.menu-toggle.active span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}

.mobile-menu {
  display: none;
}


/* =========================================================
   HERO — TEXT DIRECTLY ON BANNER
========================================================= */

.community-hero {
  position: relative;
  height: 520px;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #dceef2;
}

.community-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.community-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(238, 248, 250, .66) 0%,
      rgba(238, 248, 250, .30) 28%,
      rgba(238, 248, 250, .03) 52%,
      rgba(238, 248, 250, 0) 72%
    ),
    linear-gradient(
      180deg,
      rgba(16, 30, 40, .02),
      rgba(16, 30, 40, .05)
    );
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 72px));
  min-height: inherit;
  margin-inline: auto;
}

.hero-text-only {
  display: grid;
  grid-template-columns: minmax(330px, 500px) minmax(220px, 310px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: 38px;
}

/* Main text — no box */
.hero-copy {
  align-self: center;
  padding: 0;
  text-shadow:
    0 1px 0 rgba(255,255,255,.65),
    0 10px 30px rgba(255,255,255,.28);
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  line-height: .88;
  margin-bottom: 22px;
}

.community-word {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.85rem, 4.4vw, 4.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #24364a;
}

.blossoms-word {
  margin-left: 34px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.4rem, 5.2vw, 5.35rem);
  font-weight: 400;
  color: var(--pink);
}

.hero-lead {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 1.7vw, 1.72rem);
  font-weight: 600;
  line-height: 1.18;
  color: #28384b;
}

.hero-description {
  max-width: 410px;
  margin-bottom: 22px;
  color: #536170;
  font-size: .86rem;
}

.hero-copy .eyebrow {
  margin-bottom: 10px;
  font-size: .64rem;
  color: #e96f93;
}

/* Garden text — no box */
.garden-copy {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(290px, 100%);
  padding-top: 0;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255,255,255,.72),
    0 8px 22px rgba(255,255,255,.35);
}

.garden-copy h2 {
  margin-bottom: 12px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 2.6vw, 2.55rem);
  font-weight: 400;
  color: var(--brown);
}

.garden-copy p {
  max-width: 250px;
  margin: 0 auto 16px;
  color: #4f5f70;
  font-size: .8rem;
  line-height: 1.55;
}

.garden-flower {
  display: block;
  margin: 0 auto 4px;
  font-size: 1.65rem;
  filter: drop-shadow(0 5px 10px rgba(107,55,72,.10));
}

.garden-link {
  display: inline-block;
  padding-bottom: 3px;
  color: #b74c6b;
  border-bottom: 1px solid rgba(183,76,107,.38);
  font-size: .82rem;
  transition: color .25s, border-color .25s, transform .25s;
}

.garden-link:hover {
  color: #9e3f5a;
  border-color: #9e3f5a;
  transform: translateY(-1px);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--pink), #e96c91);
  box-shadow: 0 10px 24px rgba(239,120,155,.20);
  transition: transform .25s, box-shadow .25s;
}

.primary-btn:hover {
  transform: translateY(-2px);
}


/* =========================================================
   PANEL
========================================================= */

.panel,
.letters-section .community-container {

  background:
    rgba(255,255,255,.68);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  box-shadow:
    0 6px 22px rgba(70,60,70,.035);
}

.panel {

  padding: 26px;
}

.panel-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 20px;

  margin-bottom: 22px;
}

.panel-header h2,
.section-heading h2,
.guidelines-card h2 {

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(1.65rem, 2.3vw, 2.2rem);

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.025em;
}

.panel-header p,
.section-heading p {

  color: var(--text-soft);

  font-size: 0.82rem;
}

.text-button {

  flex-shrink: 0;

  padding: 9px 18px;

  border:
    1px solid var(--border);

  border-radius: 9px;

  background: white;

  color: var(--brown);

  font-size: .78rem;
}


/* =========================================================
   LETTERS
========================================================= */

.letters-section {
  padding-top: 28px;
}

.letters-section .community-container {

  padding: 26px 38px 22px;
}

.centered-heading {

  display: flex;

  justify-content: center;

  align-items: flex-start;

  gap: 14px;

  margin-bottom: 25px;
}

.section-icon {

  margin-top: 7px;

  font-size: 1.4rem;
}

.letter-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 34px;
}

.letter-card {

  min-height: 240px;

  display: grid;

  grid-template-columns:
    minmax(120px, .9fr)
    minmax(150px, 1fr);

  overflow: hidden;

  border:
    1px solid rgba(130,130,130,.12);

  border-radius: 18px;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.letter-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-hover);
}

.oom-letter {

  background:
    linear-gradient(
      135deg,
      #edf8ff,
      #f9fcff
    );
}

.bam-letter {

  background:
    linear-gradient(
      135deg,
      #fff0f5,
      #fff9fa
    );
}

.oombam-letter {

  background:
    linear-gradient(
      135deg,
      #fff8ed,
      #fffdf8
    );
}

.letter-photo {

  min-height: 240px;

  overflow: hidden;
}

.letter-photo img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

.letter-content {

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  padding: 25px 22px;
}

.letter-to {

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: .9rem;
}

.letter-content h3 {

  margin-bottom: 10px;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 2rem;

  text-transform: uppercase;

  line-height: 1;
}

.blue-heart {
  color: #7bb9e8;
}

.pink-heart {
  color: #f18bad;
}

.letter-content p {

  margin-bottom: 18px;

  color: var(--text-soft);

  font-size: .85rem;
}

.letter-btn {

  padding: 10px 17px;

  border-radius: 6px;

  font-size: .76rem;

  color: white;
}

.blue-btn {
  background: #559ed5;
}

.pink-btn {
  background: #ef7199;
}

.cream-btn {

  background: #ecd8bb;

  color: #6c5542;
}

.moderation-note {

  margin-top: 18px;

  text-align: center;

  color: var(--text-soft);

  font-size: .76rem;
}


/* =========================================================
   BLOSSOM WALL + CHAT
========================================================= */

.community-social-section {
  padding: 0 0 18px;
}

.social-grid {

  display: grid;

  grid-template-columns:
    1.15fr .85fr;

  gap: 18px;
}

.message-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 14px;
}

.message-card {

  position: relative;

  min-height: 215px;

  padding: 26px 20px;

  display: flex;

  flex-direction: column;

  background:
    linear-gradient(
      160deg,
      #fff,
      #fff9f9
    );

  border:
    1px solid rgba(235,183,194,.34);

  border-radius: 16px;

  box-shadow:
    0 10px 24px rgba(95,68,72,.05);
}

.quote-mark {

  color: #f3a4ba;

  font-family: Georgia, serif;

  font-size: 2rem;

  line-height: .7;
}

.message-card p {

  margin: 13px 0 auto;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 1.1rem;
}

.message-card strong {

  margin-top: 16px;

  color: var(--blue);

  font-size: .76rem;
}

.message-card small {

  margin-top: 10px;

  color: #999;

  font-size: .65rem;
}

.card-blossom {

  position: absolute;

  right: 8px;
  bottom: 6px;

  opacity: .35;

  font-size: 2rem;
}

.panel-footer-center {

  display: flex;

  justify-content: center;

  margin-top: 20px;
}

.outline-btn {

  padding: 10px 24px;

  border:
    1px solid var(--pink);

  border-radius: 7px;

  color: var(--pink);

  font-size: .78rem;
}


/* CHAT */

.live-indicator {

  display: flex;

  align-items: center;

  gap: 6px;

  color: #e94d78;

  font-size: .72rem;
}

.live-dot {

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #e94d78;

  box-shadow:
    0 0 0 4px rgba(233,77,120,.1);
}

.chat-window {

  padding: 15px;

  background: white;

  border:
    1px solid rgba(0,0,0,.06);

  border-radius: 14px;
}

.chat-message {

  display: flex;

  gap: 10px;

  padding: 8px 0;
}

.avatar {

  width: 30px;
  height: 30px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #f7f3f1;
}

.chat-message strong {

  color: var(--blue);

  font-size: .72rem;
}

.chat-message p {

  font-size: .76rem;
}

.chat-input {

  display: flex;

  gap: 10px;

  margin-top: 10px;
}

.chat-input input {

  width: 100%;

  padding: 11px 15px;

  border:
    1px solid rgba(0,0,0,.08);

  border-radius: 999px;

  background: white;
}

.chat-input button {

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border: 0;

  border-radius: 50%;

  color: white;

  background: var(--pink);
}

.chat-coming-soon {

  margin-top: 8px;

  text-align: center;

  color: #999;

  font-size: .66rem;
}

.chat-rules {

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;

  color: var(--text-soft);

  font-size: .64rem;
}

.chat-rules a {
  color: var(--blue);
}


/* =========================================================
   FROM THE COMMUNITY
========================================================= */

.community-gallery-panel {

  background:
    linear-gradient(
      135deg,
      rgba(239,247,255,.82),
      rgba(255,250,250,.82)
    );
}

.gallery-heading {

  align-items: center;
}

.gallery-heading > div {

  width: 100%;

  text-align: center;
}

.community-card-grid {

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0,1fr));

  gap: 24px;
}

.community-card {

  overflow: hidden;

  background: white;

  border:
    1px solid rgba(0,0,0,.06);

  border-radius: 14px;

  box-shadow:
    0 9px 24px rgba(70,60,70,.07);

  transition:
    transform .3s,
    box-shadow .3s;
}

.community-card:hover {

  transform: translateY(-6px);

  box-shadow: var(--shadow-hover);
}

.community-thumbnail {

  height: 190px;

  overflow: hidden;
}

.community-thumbnail img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .45s ease;
}

.community-card:hover img {

  transform: scale(1.045);
}

.community-card-content {

  padding: 17px 18px 20px;
}

.community-card-content h3 {

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 1.25rem;

  text-transform: uppercase;
}

.community-card-content p {

  margin-top: 4px;

  color: var(--text-soft);

  font-size: .75rem;

  line-height: 1.45;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-heading {

  align-items: center;
}

.projects-heading > div {

  width: 100%;

  text-align: center;
}

.project-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  gap: 28px;
}

.project-card {

  position: relative;

  min-height: 205px;

  padding: 25px;

  overflow: hidden;

  border:
    1px solid rgba(0,0,0,.06);

  border-radius: 16px;

  background: white;
}

.current-project {

  background:
    linear-gradient(
      135deg,
      #f2f9ff,
      white
    );
}

.upcoming-project {

  background:
    linear-gradient(
      135deg,
      #fff3f6,
      white
    );
}

.completed-project {

  background:
    linear-gradient(
      135deg,
      #fff9f0,
      white
    );
}

.project-status {

  display: inline-block;

  padding: 5px 9px;

  margin-bottom: 13px;

  border-radius: 999px;

  font-size: .58rem;

  text-transform: uppercase;

  letter-spacing: .05em;
}

.project-status.current {

  color: #3d8abf;

  background: #dcefff;
}

.project-status.upcoming {

  color: #d55d7c;

  background: #ffe0e9;
}

.project-status.completed {

  color: #826c51;

  background: #f1e6d5;
}

.project-card h3 {

  position: relative;

  z-index: 2;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 1.2rem;

  line-height: 1.15;
}

.progress-track {

  width: 58%;
  height: 7px;

  margin-top: 18px;

  overflow: hidden;

  border-radius: 999px;

  background: #dbe8f1;
}

.progress-track span {

  display: block;

  height: 100%;

  background:
    linear-gradient(
      90deg,
      #68b6e7,
      #86ccec
    );
}

.progress-meta {

  width: 58%;

  display: flex;

  justify-content: space-between;

  margin-top: 6px;

  color: #5992b6;

  font-size: .65rem;
}

.project-card > p {

  margin-top: 14px;

  color: var(--text-soft);

  font-size: .7rem;
}

.project-emoji {

  position: absolute;

  right: 22px;
  bottom: 22px;

  font-size: 4rem;

  opacity: .55;
}

.coming-soon {

  display: block;

  margin-top: 20px;

  color: var(--pink);

  font-size: .72rem;
}

.completed-text {

  display: block;

  margin-top: 20px;

  color: #6aa886;

  font-size: .75rem;
}


/* =========================================================
   GUIDELINES
========================================================= */

.guidelines-card {

  min-height: 210px;

  display: grid;

  grid-template-columns:
    .9fr 1.25fr .9fr;

  align-items: center;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  background:
    linear-gradient(
      135deg,
      #fffaf8,
      #fffdfb
    );
}

.guidelines-art {

  height: 100%;

  display: grid;

  place-items: center;

  background:
    radial-gradient(
      circle,
      #ffe8ee,
      #fff7f5
    );
}

.tree {

  font-size: 7rem;

  filter:
    drop-shadow(
      0 12px 18px rgba(150,80,100,.12)
    );
}

.guidelines-copy {

  display: flex;

  gap: 17px;

  padding: 30px;
}

.guideline-heart {

  color: #aaa;

  font-size: 1.8rem;
}

.guidelines-copy p {

  margin-top: 8px;

  color: var(--text-soft);

  font-size: .78rem;
}

.guideline-links {

  display: flex;

  flex-direction: column;

  gap: 12px;

  padding: 28px;
}

.guideline-links a {

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 12px;

  padding: 16px 18px;

  background: white;

  border:
    1px solid var(--border);

  border-radius: 12px;

  box-shadow:
    0 6px 18px rgba(80,60,60,.04);

  font-size: .82rem;

  transition: transform .25s;
}

.guideline-links a:hover {

  transform: translateX(4px);
}


/* =========================================================
   SUBMISSION CTA
========================================================= */

.submission-cta {

  padding: 24px 0 55px;
}

.submission-inner {

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 24px;

  padding: 34px 40px;

  border-radius: 20px;

  background:
    linear-gradient(
      110deg,
      #f3f9ff,
      #fff6f8
    );

  border:
    1px solid var(--border);
}

.submission-inner > span {

  font-size: 2.4rem;
}

.submission-inner h2 {

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 1.8rem;
}

.submission-inner p:not(.eyebrow) {

  color: var(--text-soft);

  font-size: .8rem;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

  padding: 28px 0 15px;

  border-top:
    1px solid rgba(0,0,0,.06);

  background: #fffdfb;
}

.footer-inner {

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 30px;
}

.footer-logo {

  width: 120px;
}

.footer-inner p {

  color: var(--text-soft);

  font-size: .7rem;
}

.footer-message {

  font-family:
    "Great Vibes",
    cursive !important;

  font-size: 1.45rem !important;

  color: #557da4 !important;
}

.footer-bottom {

  margin-top: 18px;

  text-align: center;

  color: #aaa;

  font-size: .62rem;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: .72rem;
  }

  .hero-grid {

    grid-template-columns:
      1fr 1.1fr;
  }

  .garden-card {

    grid-column:
      1 / -1;

    width: min(480px, 100%);

    margin-inline: auto;
  }

  .letter-grid {
    gap: 16px;
  }

  .letter-card {

    grid-template-columns: 1fr;
  }

  .letter-photo {
    height: 230px;
  }

  .letter-content {
    min-height: 190px;
  }

}


@media (max-width: 900px) {

  .community-container {

    width:
      min(100% - 34px, 720px);
  }

  .header-inner {

    width:
      calc(100% - 34px);

    height: 74px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-menu {

    position: absolute;

    top: 74px;
    left: 0;
    right: 0;

    display: flex;

    flex-direction: column;

    max-height: 0;

    overflow: hidden;

    background:
      rgba(255,253,250,.98);

    border-bottom:
      1px solid rgba(0,0,0,.06);

    opacity: 0;

    transition:
      max-height .35s,
      opacity .25s;
  }

  .mobile-menu.open {

    max-height: 600px;

    opacity: 1;
  }

  .mobile-menu a {

    padding: 15px 25px;

    border-top:
      1px solid rgba(0,0,0,.04);

    font-size: .78rem;

    text-transform: uppercase;
  }

  .mobile-menu a.active {

    color: var(--blue);

    background: #f4f9fd;
  }


  /* HERO */

  .community-hero {

    padding-top: 48px;
  }

  .hero-grid {

    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-description {

    margin-inline: auto;
  }

  .blossoms-word {

    margin-left: 0;
  }

  .hero-art {

    min-height: 280px;
  }


  /* LETTERS */

  .letter-grid {

    grid-template-columns: 1fr;
  }

  .letter-card {

    grid-template-columns:
      minmax(160px,.8fr)
      1fr;
  }

  .letter-photo {

    height: auto;

    min-height: 260px;
  }


  /* WALL + CHAT */

  .social-grid {

    grid-template-columns: 1fr;
  }


  /* COMMUNITY */

  .community-card-grid {

    grid-template-columns:
      repeat(2, minmax(0,1fr));
  }


  /* PROJECTS */

  .project-grid {

    grid-template-columns: 1fr;
  }


  /* GUIDELINES */

  .guidelines-card {

    grid-template-columns: 1fr;
  }

  .guidelines-art {

    min-height: 170px;
  }


  /* SUBMISSION */

  .submission-inner {

    grid-template-columns: 1fr;

    text-align: center;
  }


  /* FOOTER */

  .footer-inner {

    grid-template-columns: 1fr;

    justify-items: center;

    text-align: center;
  }

}


@media (max-width: 600px) {

  .community-container {

    width:
      calc(100% - 24px);
  }

  .site-logo {

    width: 115px;
  }

  .search-btn {
    display: none;
  }

  .community-word {

    font-size: 2.8rem;
  }

  .blossoms-word {

    font-size: 3.7rem;
  }

  .hero-art {

    transform: scale(.84);

    margin:
      -30px 0 -25px;
  }

  .letters-section .community-container {

    padding: 22px 14px;
  }

  .centered-heading {

    text-align: center;
  }

  .letter-card {

    grid-template-columns: 1fr;
  }

  .letter-photo {

    height: 280px;
  }

  .message-grid {

    grid-template-columns: 1fr;
  }

  .community-card-grid {

    grid-template-columns: 1fr;
  }

  .community-thumbnail {

    height: 220px;
  }

  .panel {

    padding: 18px 14px;
  }

  .panel-header {

    align-items: center;
  }

  .panel-header h2 {

    font-size: 1.45rem;
  }

  .text-button {

    padding: 7px 10px;

    font-size: .66rem;
  }

  .guidelines-copy {

    padding: 25px 20px;
  }

  .guideline-links {

    padding: 0 20px 25px;
  }

}

/* =========================================================
   HERO RESPONSIVE OVERRIDES — TEXT ONLY
========================================================= */

@media (max-width: 1180px) {
  .hero-text-only {
    grid-template-columns: minmax(320px, 440px) minmax(210px, 270px);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .community-hero {
    height: auto;
    min-height: 700px;
  }

  .community-hero-image {
    object-position: center top;
  }

  .community-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(240,248,250,.10) 0%,
        rgba(240,248,250,.12) 42%,
        rgba(240,248,250,.62) 72%,
        rgba(240,248,250,.78) 100%
      );
  }

  .hero-overlay {
    width: min(100% - 34px, 720px);
  }

  .hero-text-only {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 22px;
    padding-top: 210px;
    padding-bottom: 30px;
  }

  .hero-copy {
    align-self: auto;
    padding-bottom: 0;
  }

  .garden-copy {
    justify-self: start;
    align-self: auto;
    width: min(340px, 100%);
    text-align: left;
    padding-top: 0;
  }

  .garden-copy p {
    margin-left: 0;
    margin-right: 0;
  }

  .garden-flower {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .community-hero {
    height: auto;
    min-height: 760px;
  }

  .community-hero-image {
    object-position: center top;
  }

  .hero-overlay {
    width: calc(100% - 24px);
  }

  .hero-text-only {
    padding-top: 250px;
    padding-bottom: 20px;
    gap: 16px;
  }

  .community-word {
    font-size: 2.2rem;
  }

  .blossoms-word {
    margin-left: 16px;
    font-size: 3.1rem;
  }

  .hero-lead {
    font-size: 1.22rem;
  }

  .hero-description {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: .79rem;
  }

  .garden-copy h2 {
    font-size: 2rem;
  }

  .garden-copy p {
    font-size: .76rem;
  }
}

/* =========================================================
   MOBILE COMMUNITY HERO + LETTER IMAGE FIX
   - Keeps banner artwork and text from overlapping
   - Shows the full OomBam letter thumbnail
========================================================= */

@media (max-width: 600px) {

  /* HERO:
     On phones, give the artwork its own visual area first.
     The copy begins below the artwork instead of sitting over faces/logo. */

  .community-hero {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #eef8fa;
  }

  .community-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;

    width: 100%;
    height: 360px;

    object-fit: cover;
    object-position: center 32%;
  }

  .community-hero-shade {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;

    height: 360px;

    background:
      linear-gradient(
        180deg,
        rgba(238,248,250,0.02) 0%,
        rgba(238,248,250,0.05) 66%,
        rgba(238,248,250,0.95) 100%
      );
  }

  .hero-overlay {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .hero-text-only {
    display: block;

    padding:
      385px
      0
      34px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
    text-align: left;
    text-shadow: none;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: .6rem;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
  }

  .community-word {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: .92;
  }

  .blossoms-word {
    margin-left: 14px;
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: .9;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .hero-description {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: .82rem;
    line-height: 1.65;
  }

  .primary-btn {
    width: auto;
    max-width: 100%;
  }

  /* Garden copy becomes a simple secondary block beneath hero copy. */

  .garden-copy {
    width: 100%;
    margin-top: 30px;
    padding-top: 24px;

    text-align: left;
    text-shadow: none;

    border-top:
      1px solid rgba(116, 83, 76, 0.14);
  }

  .garden-flower {
    margin: 0 0 4px;
  }

  .garden-copy h2 {
    margin-bottom: 8px;
    font-size: 2rem;
  }

  .garden-copy p {
    max-width: 100%;
    margin: 0 0 12px;
    font-size: .78rem;
  }


  /* LETTER CARDS */

  .letter-card {
    grid-template-columns: 1fr;
  }

  .letter-photo {
    height: 280px;
    min-height: 0;
  }

  /* The OomBam source image is taller than the card crop.
     Let it use its natural aspect ratio so nobody is cut off. */

  .oombam-letter .letter-photo {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #fff8ed;
  }

  .oombam-letter .letter-photo img {
    width: 100%;
    height: auto;

    object-fit: contain;
    object-position: center;

    aspect-ratio: auto;
  }
}


/* Extra-small phones */
@media (max-width: 430px) {

  .community-hero-image,
  .community-hero-shade {
    height: 330px;
  }

  .community-hero-image {
    object-position: center 28%;
  }

  .hero-text-only {
    padding-top: 354px;
  }

  .community-word {
    font-size: 2.2rem;
  }

  .blossoms-word {
    margin-left: 10px;
    font-size: 3.15rem;
  }

  .hero-lead {
    font-size: 1.28rem;
  }
}

/* =========================================================
   COMMUNITY HEADER — MATCH HOMEPAGE MENU
========================================================= */

@media (min-width: 901px) {
  .desktop-nav {
    gap: clamp(15px, 1.45vw, 26px);
  }

  .desktop-nav a {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .header-inner {
    width: min(1540px, calc(100% - 54px));
    gap: 26px;
  }

  .site-logo {
    width: 120px;
  }
}

/* =========================================================
   COMMUNITY BLOSSOMS v8
   STANDARDIZED SITE SHELL / NAV / FOOTER / DARK MODE
========================================================= */

/* ---------------------------------------------------------
   OUTER SHELL
--------------------------------------------------------- */

.community-page {
  min-height: 100vh;

  padding: clamp(18px, 2.4vw, 36px);

  background:
    linear-gradient(
      135deg,
      #dcecf6 0%,
      #f5f7f8 48%,
      #f7e6eb 100%
    );
}

.community-page .site-shell {
  width: min(1540px, 100%);
  margin: 0 auto;

  overflow: hidden;

  background: var(--ivory);

  border: 1px solid rgba(72, 66, 69, .08);
  border-radius: 24px;

  box-shadow:
    0 22px 60px rgba(60, 70, 78, .10);
}

/* ---------------------------------------------------------
   STANDARD HEADER
--------------------------------------------------------- */

.community-page .site-header {
  position: sticky;
  top: 0;

  z-index: 1000;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;

  min-height: 86px;

  padding: 0 32px;

  background: rgba(255, 253, 250, .95);

  border-bottom: 1px solid rgba(50, 50, 50, .06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.community-page .brand {
  grid-column: 1;

  display: inline-flex;
  align-items: center;
}

.community-page .brand-logo {
  width: 108px;
  max-height: 64px;

  object-fit: contain;
}

.community-page .desktop-nav {
  grid-column: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(15px, 1.45vw, 26px);

  flex: initial;
}

.community-page .nav-link {
  position: relative;

  padding: 33px 0 28px;

  color: #514d50;

  font-size: .72rem;
  font-weight: 600;

  text-transform: none;
  letter-spacing: .025em;

  white-space: nowrap;
}

.community-page .nav-link:hover,
.community-page .nav-link.active {
  color: var(--blue);
}

.community-page .nav-link.active::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;

  height: 2px;

  background: var(--blue);

  border-radius: 999px;
}

.community-page .header-actions {
  grid-column: 3;

  display: flex;
  align-items: center;

  gap: 8px;
}

.community-page .header-icon,
.community-page .menu-toggle {
  width: 38px;
  height: 38px;

  display: inline-grid;
  place-items: center;

  flex: 0 0 auto;

  margin-left: 0;

  border: 0;
  border-radius: 50%;

  color: #514d50;
  background: transparent;
}

.community-page .header-icon:hover,
.community-page .menu-toggle:hover {
  background: rgba(85, 155, 209, .08);
}

.community-page .header-icon svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-page .menu-toggle {
  display: none;
}

.community-page .menu-toggle span {
  width: 19px;
  height: 1.5px;

  display: block;

  background: currentColor;

  transition:
    transform .25s ease,
    opacity .25s ease;
}

.community-page .menu-toggle span + span {
  margin-top: 4px;
}

/* ---------------------------------------------------------
   SEARCH
--------------------------------------------------------- */

.community-page .community-search {
  position: sticky;
  top: 86px;

  z-index: 920;

  padding: 16px 32px;

  background: rgba(255, 253, 250, .97);

  border-bottom: 1px solid rgba(50, 50, 50, .06);

  backdrop-filter: blur(16px);
}

.community-page .community-search[hidden] {
  display: none;
}

.community-page .community-search-inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.community-page .community-search label {
  display: block;

  margin-bottom: 8px;

  color: var(--text-soft);

  font-size: .68rem;
  font-weight: 600;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-page .community-search-row {
  display: grid;
  grid-template-columns: 1fr auto;

  gap: 9px;
}

.community-page .community-search input {
  width: 100%;

  padding: 11px 14px;

  color: var(--text);
  background: white;

  border: 1px solid rgba(68, 68, 72, .12);
  border-radius: 10px;

  outline: none;
}

.community-page .community-search input:focus {
  border-color: rgba(85, 155, 209, .55);

  box-shadow:
    0 0 0 3px rgba(85, 155, 209, .10);
}

.community-page .community-search button {
  padding: 0 18px;

  color: white;
  background: var(--blue);

  border: 0;
  border-radius: 10px;
}

.community-page #communitySearchStatus {
  min-height: 18px;

  margin-top: 7px;

  color: var(--text-soft);

  font-size: .69rem;
}

.community-page .community-search-hit {
  outline: 2px solid rgba(239, 120, 155, .48);
  outline-offset: 4px;

  box-shadow:
    0 0 0 7px rgba(239, 120, 155, .08),
    0 16px 34px rgba(75, 68, 70, .08);
}

/* ---------------------------------------------------------
   MOBILE MENU BASE
--------------------------------------------------------- */

.community-page .mobile-menu {
  display: none;
}

.community-page .mobile-menu-panel {
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   FIT CONTENT TO STANDARD SHELL
--------------------------------------------------------- */

.community-page .community-container {
  width: min(1360px, calc(100% - 64px));
}

.community-page .hero-overlay {
  width: min(1360px, calc(100% - 72px));
}

/* ---------------------------------------------------------
   STANDARD FOOTER
--------------------------------------------------------- */

.community-page .site-footer {
  padding:
    0
    clamp(22px, 3vw, 38px)
    10px;

  background: var(--ivory);

  border-top:
    1px solid rgba(74, 65, 68, .08);
}

.community-page .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 72px 26px;

  align-items: center;

  width: 100%;
  min-height: 108px;

  padding: 6px 0 0;

  column-gap: 28px;
}

.community-page .footer-left {
  grid-column: 1;
  grid-row: 1;

  justify-self: start;

  display: flex;
  align-items: center;

  gap: 20px;
}

.community-page .footer-brand {
  display: inline-flex;
  align-items: center;

  flex: 0 0 auto;
}

.community-page .footer-brand img {
  width: 82px;
  max-height: 64px;

  object-fit: contain;
}

.community-page .footer-main {
  margin: 0;

  color: #656064;

  font-size: .72rem;
  font-weight: 600;

  line-height: 1.35;

  text-align: left;
  white-space: nowrap;
}

.community-page .footer-message {
  grid-column: 2;
  grid-row: 1;

  justify-self: end;

  margin: 0;

  color: #557da4 !important;

  font-family: "Great Vibes", cursive !important;
  font-size: 1.38rem !important;

  line-height: 1;

  text-align: right;
  white-space: nowrap;
}

.community-page .footer-copyline {
  grid-column: 1 / 3;
  grid-row: 2;

  width: 100%;

  margin: 0;
  padding-top: 7px;

  color: #8a8285;

  border-top:
    1px solid rgba(74, 65, 68, .06);

  font-size: .61rem;

  line-height: 1.3;

  text-align: center;
}

/* ---------------------------------------------------------
   DARK MODE
--------------------------------------------------------- */

.community-page.dark-theme {
  background: #090a0c;
}

.community-page.dark-theme .site-shell,
.community-page.dark-theme .site-header,
.community-page.dark-theme .community-search,
.community-page.dark-theme .site-footer {
  background: #1b1b1f;
}

.community-page.dark-theme .site-shell {
  border-color: #1b1b1f;

  box-shadow: none;
}

.community-page.dark-theme .site-header,
.community-page.dark-theme .community-search,
.community-page.dark-theme .site-footer {
  border-color: rgba(255, 255, 255, .06);
}

.community-page.dark-theme .nav-link,
.community-page.dark-theme .header-icon,
.community-page.dark-theme .menu-toggle {
  color: rgba(255, 255, 255, .78);
}

.community-page.dark-theme .nav-link:hover,
.community-page.dark-theme .nav-link.active {
  color: #aed0e7;
}

.community-page.dark-theme .community-search label,
.community-page.dark-theme #communitySearchStatus {
  color: rgba(255, 255, 255, .56);
}

.community-page.dark-theme .community-search input {
  color: #f5f3f4;
  background: #242429;

  border-color: rgba(255, 255, 255, .08);
}

.community-page.dark-theme main {
  background: #1d1e22;
}

.community-page.dark-theme .community-hero {
  background: #202126;
}

.community-page.dark-theme .community-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(32, 33, 38, .78) 0%,
      rgba(32, 33, 38, .40) 28%,
      rgba(32, 33, 38, .06) 54%,
      rgba(32, 33, 38, 0) 76%
    );
}

.community-page.dark-theme .hero-copy,
.community-page.dark-theme .garden-copy {
  text-shadow:
    0 1px 12px rgba(0,0,0,.20);
}

.community-page.dark-theme .community-word,
.community-page.dark-theme .hero-lead,
.community-page.dark-theme .panel-header h2,
.community-page.dark-theme .section-heading h2,
.community-page.dark-theme .guidelines-card h2,
.community-page.dark-theme .letter-content h3,
.community-page.dark-theme .community-card-content h3,
.community-page.dark-theme .project-card h3,
.community-page.dark-theme .submission-inner h2 {
  color: #f2eef0;
}

.community-page.dark-theme .hero-description,
.community-page.dark-theme .garden-copy p,
.community-page.dark-theme .panel-header p,
.community-page.dark-theme .section-heading p,
.community-page.dark-theme .letter-content p,
.community-page.dark-theme .moderation-note,
.community-page.dark-theme .message-card p,
.community-page.dark-theme .community-card-content p,
.community-page.dark-theme .project-card > p,
.community-page.dark-theme .guidelines-copy p,
.community-page.dark-theme .submission-inner p:not(.eyebrow),
.community-page.dark-theme .chat-coming-soon,
.community-page.dark-theme .chat-rules {
  color: rgba(255,255,255,.62);
}

.community-page.dark-theme .panel,
.community-page.dark-theme .letters-section .community-container,
.community-page.dark-theme .community-card,
.community-page.dark-theme .project-card,
.community-page.dark-theme .guidelines-card,
.community-page.dark-theme .submission-inner,
.community-page.dark-theme .chat-window,
.community-page.dark-theme .message-card {
  color: rgba(255,255,255,.82);
  background: #24252a;

  border-color: rgba(255,255,255,.07);

  box-shadow: none;
}

.community-page.dark-theme .oom-letter,
.community-page.dark-theme .bam-letter,
.community-page.dark-theme .oombam-letter,
.community-page.dark-theme .current-project,
.community-page.dark-theme .upcoming-project,
.community-page.dark-theme .completed-project,
.community-page.dark-theme .community-gallery-panel {
  background: #24252a;
}

.community-page.dark-theme .guidelines-art {
  background:
    radial-gradient(
      circle,
      rgba(239,120,155,.10),
      #24252a
    );
}

.community-page.dark-theme .guideline-links a,
.community-page.dark-theme .text-button,
.community-page.dark-theme .chat-input input {
  color: rgba(255,255,255,.78);
  background: #2b2c31;

  border-color: rgba(255,255,255,.08);
}

.community-page.dark-theme .footer-main {
  color: rgba(255,255,255,.70);
}

.community-page.dark-theme .footer-message {
  color: #a9cee5 !important;
}

.community-page.dark-theme .footer-copyline {
  color: rgba(255,255,255,.48);

  border-top-color: rgba(255,255,255,.06);
}

/* =========================================================
   TABLET / MOBILE NAV
========================================================= */

@media (max-width: 1100px) {

  .community-page {
    padding: 14px;
  }

  .community-page .site-shell {
    border-radius: 20px;
  }

  .community-page .site-header {
    min-height: 80px;

    padding: 0 22px;
  }

  .community-page .brand-logo {
    width: 92px;
  }

  .community-page .desktop-nav {
    display: none;
  }

  .community-page .menu-toggle {
    display: inline-grid;
  }

  .community-page .community-search {
    top: 80px;

    padding-inline: 22px;
  }

  .community-page .mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 950;

    display: none;

    justify-content: flex-end;

    padding: 12px;

    background: rgba(25, 24, 27, .18);

    backdrop-filter: blur(4px);
  }

  .community-page .mobile-menu.open,
  .community-page .mobile-menu.is-open {
    display: flex;
  }

  .community-page .mobile-menu-panel {
    width: min(330px, 72vw);
    max-height: calc(100dvh - 24px);

    margin-left: auto;
    padding: 24px 22px;

    overflow-y: auto;

    background:
      linear-gradient(
        155deg,
        #fffdfb,
        #fbf0f3 58%,
        #edf6fb
      );

    border:
      1px solid rgba(70, 60, 64, .10);
    border-radius: 18px;

    box-shadow:
      0 22px 54px rgba(35, 30, 33, .20);
  }

  .community-page .mobile-menu-panel a {
    padding: 13px 2px;

    color: #514d50;

    border-bottom:
      1px solid rgba(70, 65, 68, .07);

    font-size: .88rem;
    font-weight: 600;
    text-transform: none;
  }

  .community-page .mobile-menu-panel a.active {
    color: var(--blue);
  }

  .community-page.dark-theme .mobile-menu-panel {
    background:
      linear-gradient(
        155deg,
        #242428,
        #30282c 58%,
        #252e33
      );

    border-color: rgba(255, 255, 255, .08);
  }

  .community-page.dark-theme .mobile-menu-panel a {
    color: rgba(255,255,255,.82);

    border-bottom-color: rgba(255,255,255,.06);
  }

  .community-page .community-container {
    width: min(100% - 44px, 980px);
  }

  .community-page .hero-overlay {
    width: min(100% - 44px, 980px);
  }

  .community-page .footer-brand img {
    width: 72px;
  }

  .community-page .footer-main {
    font-size: .66rem;
  }

  .community-page .footer-message {
    font-size: 1.18rem !important;
  }
}

/* =========================================================
   MOBILE PORTRAIT
========================================================= */

@media
  (max-width: 700px)
  and (orientation: portrait) {

  .community-page {
    padding: 0;
  }

  .community-page .site-shell {
    width: 100%;
    min-height: 100vh;

    border: 0;
    border-radius: 0;

    box-shadow: none;
  }

  .community-page .site-header {
    min-height: 72px;

    padding: 0 17px;
  }

  .community-page .brand-logo {
    width: 82px;
  }

  .community-page .header-actions {
    gap: 4px;
  }

  .community-page .header-icon,
  .community-page .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .community-page .community-search {
    top: 72px;

    padding: 13px 17px;
  }

  .community-page .community-search-row {
    grid-template-columns: 1fr;
  }

  .community-page .community-search button {
    min-height: 41px;
  }

  .community-page .community-container,
  .community-page .hero-overlay {
    width: calc(100% - 36px);
  }

  .community-page .footer-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    justify-items: center;

    gap: 8px;

    min-height: 0;

    padding:
      16px
      0
      8px;
  }

  .community-page .footer-left {
    grid-column: 1;
    grid-row: auto;

    justify-self: center;

    flex-direction: column;

    gap: 7px;
  }

  .community-page .footer-main,
  .community-page .footer-message,
  .community-page .footer-copyline {
    grid-column: 1;
    grid-row: auto;

    justify-self: center;

    text-align: center;
    white-space: normal;
  }

  .community-page .footer-brand img {
    width: 78px;
  }
}

/* =========================================================
   MOBILE / TABLET LANDSCAPE
========================================================= */

@media
  (max-width: 1100px)
  and (max-height: 600px)
  and (orientation: landscape) {

  .community-page {
    padding: 7px;
  }

  .community-page .site-shell {
    border-radius: 15px;
  }

  .community-page .site-header {
    min-height: 58px;

    padding: 0 18px;
  }

  .community-page .brand-logo {
    width: 74px;
  }

  .community-page .header-icon,
  .community-page .menu-toggle {
    width: 32px;
    height: 32px;
  }

  .community-page .community-search {
    top: 58px;

    padding: 10px 18px;
  }

  .community-page .mobile-menu.open,
  .community-page .mobile-menu.is-open {
    position: fixed;

    top: 64px;
    right: 14px;
    bottom: auto;
    left: auto;

    display: block;

    width: auto;
    height: auto;

    padding: 0;

    background: transparent;

    overflow: visible;

    pointer-events: none;
  }

  .community-page .mobile-menu-panel {
    width: min(245px, 38vw);
    max-height: calc(100dvh - 76px);

    margin: 0;
    padding: 9px 16px;

    overflow-y: auto;

    border-radius: 14px;

    pointer-events: auto;

    -webkit-overflow-scrolling: touch;
  }

  .community-page .mobile-menu-panel a {
    padding: 7px 2px;

    font-size: .84rem;
    line-height: 1.12;
  }

  .community-page .community-container,
  .community-page .hero-overlay {
    width: min(100% - 44px, 980px);
  }

  .community-page .community-hero {
    min-height: 430px;
    height: 430px;
  }

  .community-page .hero-text-only {
    gap: 26px;

    padding-block: 26px;
  }

  .community-page .community-word {
    font-size:
      clamp(
        2.35rem,
        5vw,
        3.5rem
      );
  }

  .community-page .blossoms-word {
    font-size:
      clamp(
        2.75rem,
        5.8vw,
        3.9rem
      );
  }

  .community-page .hero-lead {
    font-size: 1.12rem;
  }

  .community-page .hero-description {
    font-size: .74rem;
  }

  .community-page .garden-copy h2 {
    font-size: 1.75rem;
  }

  .community-page .garden-copy p {
    font-size: .70rem;
  }

  .community-page .section-block {
    padding: 12px 0;
  }

  .community-page .footer-grid {
    grid-template-columns:
      minmax(0, 1fr)
      auto;
    grid-template-rows:
      58px
      22px;

    min-height: 86px;
  }

  .community-page .footer-left {
    gap: 12px;
  }

  .community-page .footer-brand img {
    width: 62px;
  }

  .community-page .footer-main {
    font-size: .56rem;
  }

  .community-page .footer-message {
    font-size: .96rem !important;
  }

  .community-page .footer-copyline {
    font-size: .50rem;
  }
}

/* =========================================================
   MOBILE MENU VISIBILITY SAFETY
========================================================= */

@media (max-width: 1100px) {

  .community-page .mobile-menu {
    visibility: hidden;
    opacity: 0;

    pointer-events: none;
  }

  .community-page .mobile-menu.open,
  .community-page .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
  }

  .community-page .mobile-menu-panel {
    position: relative;

    z-index: 2;
  }

  .community-page .menu-toggle {
    position: relative;

    z-index: 1300;
  }
}

@media
  (max-width: 1100px)
  and (max-height: 600px)
  and (orientation: landscape) {

  .community-page .mobile-menu.open,
  .community-page .mobile-menu.is-open {
    pointer-events: none;
  }

  .community-page .mobile-menu.open .mobile-menu-panel,
  .community-page .mobile-menu.is-open .mobile-menu-panel {
    pointer-events: auto;
  }
}


/* =========================================================
   v9 HERO CLEANUP
   - remove visual distortion on Community Blossoms hero
   - simplify mobile hero copy
   - hide secondary hero copy on small screens
========================================================= */

.hero-copy {
  max-width: 360px;
}

.hero-description {
  max-width: 360px;
  line-height: 1.6;
}

.hero-text-only {
  align-items: end;
}

.garden-copy {
  width: min(260px, 100%);
}

/* Mobile + tablet portrait: keep only one clean text block */
@media (max-width: 820px) {
  .community-hero {
    min-height: 680px;
  }

  .community-hero-image {
    object-position: center top;
  }

  .hero-overlay {
    width: calc(100% - 28px);
  }

  .hero-text-only {
    display: block;
    padding-top: 360px;
    padding-bottom: 28px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 0;
    text-shadow: none;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
  }

  .community-word {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    line-height: 0.92;
  }

  .blossoms-word {
    margin-left: 10px;
    font-size: clamp(3rem, 13vw, 4.1rem);
    line-height: 0.92;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.22;
  }

  .hero-description {
    max-width: 300px;
    margin-bottom: 0;
    font-size: .82rem;
    line-height: 1.58;
  }

  .garden-copy {
    display: none;
  }
}

/* Phone portrait */
@media (max-width: 600px) {
  .community-hero {
    min-height: 640px;
    background: #eef8fa;
  }

  .community-hero-image {
    height: 340px;
    object-fit: cover;
    object-position: center 24%;
  }

  .community-hero-shade {
    height: 340px;
    background: linear-gradient(
      180deg,
      rgba(238,248,250,0.04) 0%,
      rgba(238,248,250,0.10) 62%,
      rgba(238,248,250,0.95) 100%
    );
  }

  .hero-text-only {
    padding-top: 360px;
    padding-bottom: 24px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: .62rem;
  }

  .community-word {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .blossoms-word {
    margin-left: 8px;
    font-size: clamp(2.8rem, 15vw, 3.8rem);
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .hero-description {
    max-width: 280px;
    font-size: .8rem;
  }
}

/* Extra small phones */
@media (max-width: 430px) {
  .community-hero {
    min-height: 610px;
  }

  .community-hero-image,
  .community-hero-shade {
    height: 320px;
  }

  .community-hero-image {
    object-position: center 22%;
  }

  .hero-text-only {
    padding-top: 338px;
  }

  .hero-description {
    max-width: 260px;
  }
}

/* =========================================================
   COMMUNITY BLOSSOMS v10 — HERO FINAL FIX
   Desktop readability + mobile/landscape composition
========================================================= */

/* DESKTOP / LARGE TABLET */
.community-page .community-hero {
  position: relative;
  min-height: 540px;
  height: 540px;
  overflow: hidden;
  background: #eaf5f7;
}

.community-page .community-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.community-page .community-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 252, 0.90) 0%,
      rgba(248, 251, 252, 0.76) 20%,
      rgba(248, 251, 252, 0.14) 48%,
      rgba(248, 251, 252, 0.46) 76%,
      rgba(248, 251, 252, 0.86) 100%
    );
}

.community-page .hero-overlay {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100% - 72px));
  min-height: 540px;
  margin: 0 auto;
}

.community-page .hero-text-only {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(220px, 260px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: 540px;
  padding: 40px 0;
}

.community-page .hero-copy,
.community-page .garden-copy {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(45, 62, 72, 0.06);
}

.community-page .hero-copy {
  max-width: 380px;
  text-shadow: none;
}

.community-page .garden-copy {
  max-width: 260px;
  justify-self: end;
  text-align: left;
  text-shadow: none;
}

.community-page .hero-copy .eyebrow {
  color: #d45f86;
}

.community-page .community-word {
  color: #1f3448;
}

.community-page .blossoms-word {
  color: #e56f98;
}

.community-page .hero-lead,
.community-page .garden-copy h2 {
  color: #203448;
}

.community-page .hero-description,
.community-page .garden-copy p {
  color: #415466;
}

.community-page .garden-link {
  color: #a94c6b;
  border-bottom: 1px solid rgba(169, 76, 107, 0.38);
}

/* TABLET + MOBILE GENERAL */
@media (max-width: 900px) {
  .community-page .community-hero {
    min-height: auto;
    height: auto;
    background: #eef8fa;
  }

  .community-page .community-hero-image,
  .community-page .community-hero-shade {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 350px;
  }

  .community-page .community-hero-image {
    object-fit: cover;
    object-position: center 24%;
  }

  .community-page .community-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(238, 248, 250, 0.04) 0%,
        rgba(238, 248, 250, 0.12) 62%,
        rgba(255, 253, 250, 0.96) 100%
      );
  }

  .community-page .hero-overlay {
    width: calc(100% - 30px);
    min-height: 0;
  }

  .community-page .hero-text-only {
    display: block;
    min-height: 0;
    padding: 372px 0 28px;
  }

  .community-page .hero-copy {
    width: min(100%, 420px);
    max-width: 100%;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: none;
  }

  .community-page .garden-copy {
    display: none;
  }

  .community-page .hero-copy h1 {
    margin-bottom: 14px;
  }

  .community-page .community-word {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 0.92;
  }

  .community-page .blossoms-word {
    margin-left: 10px;
    font-size: clamp(3rem, 13vw, 4rem);
    line-height: 0.92;
  }

  .community-page .hero-lead {
    font-size: 1.14rem;
    line-height: 1.22;
  }

  .community-page .hero-description {
    max-width: 320px;
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.6;
  }
}

/* MOBILE PORTRAIT */
@media (max-width: 700px) and (orientation: portrait) {
  .community-page .community-hero-image,
  .community-page .community-hero-shade {
    height: 330px;
  }

  .community-page .community-hero-image {
    object-position: center 22%;
  }

  .community-page .hero-text-only {
    padding-top: 350px;
    padding-bottom: 24px;
  }

  .community-page .community-word {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .community-page .blossoms-word {
    margin-left: 8px;
    font-size: clamp(2.8rem, 15vw, 3.6rem);
  }

  .community-page .hero-lead {
    font-size: 1.05rem;
  }

  .community-page .hero-description {
    max-width: 280px;
    font-size: 0.79rem;
  }
}

/* MOBILE / TABLET LANDSCAPE */
@media (max-width: 1100px) and (max-height: 700px) and (orientation: landscape) {
  .community-page .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .community-page .community-search {
    top: 64px;
  }

  .community-page .mobile-menu.open,
  .community-page .mobile-menu.is-open {
    top: 70px;
    right: 10px;
  }

  .community-page .mobile-menu-panel {
    width: min(220px, 42vw);
    max-height: calc(100dvh - 84px);
    padding: 10px 14px;
    border-radius: 14px;
  }

  .community-page .mobile-menu-panel a {
    padding: 8px 2px;
    font-size: 0.82rem;
    line-height: 1.12;
  }

  .community-page .community-hero {
    min-height: auto;
    height: auto;
  }

  .community-page .community-hero-image,
  .community-page .community-hero-shade {
    height: 240px;
  }

  .community-page .community-hero-image {
    object-fit: cover;
    object-position: center 18%;
  }

  .community-page .community-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(238, 248, 250, 0.02) 0%,
        rgba(238, 248, 250, 0.08) 58%,
        rgba(255, 253, 250, 0.96) 100%
      );
  }

  .community-page .hero-overlay {
    width: min(100% - 32px, 960px);
    min-height: 0;
  }

  .community-page .hero-text-only {
    display: block;
    min-height: 0;
    padding: 258px 0 20px;
  }

  .community-page .hero-copy {
    width: min(100%, 520px);
    max-width: 100%;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .community-page .community-word {
    font-size: 2.35rem;
  }

  .community-page .blossoms-word {
    margin-left: 12px;
    font-size: 3.15rem;
  }

  .community-page .hero-lead {
    font-size: 1.05rem;
  }

  .community-page .hero-description {
    max-width: 460px;
    font-size: 0.76rem;
    line-height: 1.55;
  }
}

/* DARK MODE HERO READABILITY */
.community-page.dark-theme .hero-copy,
.community-page.dark-theme .garden-copy {
  background: rgba(18, 21, 25, 0.48);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.community-page.dark-theme .community-word,
.community-page.dark-theme .hero-lead,
.community-page.dark-theme .garden-copy h2 {
  color: #f7f4f5;
}

.community-page.dark-theme .hero-description,
.community-page.dark-theme .garden-copy p {
  color: rgba(255,255,255,.76);
}

@media (max-width: 900px) {
  .community-page.dark-theme .hero-copy {
    background: none;
    box-shadow: none;
  }
}

/* =========================================================
   COMMUNITY BLOSSOMS v11 — HERO TYPOGRAPHY CLEANUP
   Remove card overlays; use typography + subtle global shade
========================================================= */

/* No tile/card behind hero copy */
.community-page .hero-copy,
.community-page .garden-copy {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Light mode: darker ink tones directly on the pale banner */
.community-page:not(.dark-theme) .hero-copy .eyebrow {
  color: #c84f78 !important;
  text-shadow: 0 1px 8px rgba(255,255,255,.65);
}

.community-page:not(.dark-theme) .community-word {
  color: #17324b !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.76),
    0 2px 12px rgba(255,255,255,.56);
}

.community-page:not(.dark-theme) .blossoms-word {
  color: #e56d98 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.80),
    0 2px 10px rgba(255,255,255,.50);
}

.community-page:not(.dark-theme) .hero-lead,
.community-page:not(.dark-theme) .garden-copy h2 {
  color: #1f3850 !important;
  text-shadow: 0 1px 10px rgba(255,255,255,.72);
}

.community-page:not(.dark-theme) .hero-description,
.community-page:not(.dark-theme) .garden-copy p {
  color: #334f65 !important;
  text-shadow: 0 1px 8px rgba(255,255,255,.72);
}

.community-page:not(.dark-theme) .garden-link {
  color: #b84f72 !important;
  border-bottom-color: rgba(184,79,114,.45) !important;
  text-shadow: 0 1px 8px rgba(255,255,255,.65);
}

/* A very soft page-wide wash replaces the old tiles. */
.community-page:not(.dark-theme) .community-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(244,251,253,.58) 0%,
      rgba(244,251,253,.22) 25%,
      rgba(244,251,253,0) 48%,
      rgba(244,251,253,.08) 70%,
      rgba(244,251,253,.30) 100%
    ) !important;
}

/* Dark mode: ivory/soft white with pink accent; no tiles */
.community-page.dark-theme .hero-copy,
.community-page.dark-theme .garden-copy {
  background: transparent !important;
  box-shadow: none !important;
}

.community-page.dark-theme .hero-copy .eyebrow {
  color: #f18cab !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.48);
}

.community-page.dark-theme .community-word {
  color: #fffaf7 !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,.45),
    0 3px 16px rgba(0,0,0,.48);
}

.community-page.dark-theme .blossoms-word {
  color: #f07fa6 !important;
  text-shadow:
    0 2px 2px rgba(0,0,0,.44),
    0 3px 14px rgba(0,0,0,.46);
}

.community-page.dark-theme .hero-lead,
.community-page.dark-theme .garden-copy h2 {
  color: #fff7f4 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.58);
}

.community-page.dark-theme .hero-description,
.community-page.dark-theme .garden-copy p {
  color: rgba(255,250,247,.88) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.58);
}

.community-page.dark-theme .garden-link {
  color: #f18cab !important;
  border-bottom-color: rgba(241,140,171,.50) !important;
  text-shadow: 0 2px 9px rgba(0,0,0,.50);
}

.community-page.dark-theme .community-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(10,15,20,.56) 0%,
      rgba(10,15,20,.26) 25%,
      rgba(10,15,20,.06) 50%,
      rgba(10,15,20,.16) 76%,
      rgba(10,15,20,.40) 100%
    ) !important;
}

/* Keep mobile layouts tile-free too */
@media (max-width: 900px) {
  .community-page .hero-copy,
  .community-page .garden-copy {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.0
   GLOBAL STANDARDIZATION — HOME / OOM / BAM / FULFILL BASELINE
   ---------------------------------------------------------
   Canonical system:
   - shared Global.css navigation/search/theme/mobile menu
   - 1480px / 96vw master desktop shell
   - 24px desktop curves
   - 22px tablet curves
   - edge-to-edge mobile
   - #090a0c dark canvas
   - #111214 elevated dark surfaces
   - #141518 dark cards
   - fixed + scroll-locked landscape navigation via shared script
========================================================= */

/* ---------- Master canvas ---------- */
body.page-community {
  min-height: 100vh;
  display: block;
  padding: clamp(24px, 4vw, 62px) 20px;
  overflow-x: hidden;

  background:
    radial-gradient(circle at 10% 8%, rgba(169,206,229,.34), transparent 31%),
    radial-gradient(circle at 92% 12%, rgba(248,232,236,.62), transparent 33%),
    linear-gradient(135deg, #dcecf6 0%, #f5f7f8 48%, #f3e3e8 100%);
}

/* Header is the top cap; page shell continues below it. */
body.page-community > .ob-header {
  position: relative;
  z-index: 30;
  width: min(1480px, 96vw);
  margin-inline: auto;
}

body.page-community > .ob-site-search {
  position: relative !important;
  z-index: 20;
  width: min(1480px, 96vw);
  margin: 0 auto !important;
}

body.page-community > .site-shell {
  position: relative;
  width: min(1480px, 96vw);
  margin: 0 auto;

  overflow: hidden;

  background: var(--ivory);
  border: 1px solid rgba(72,66,69,.08);
  border-top: 0;
  border-radius: 0 0 24px 24px;

  box-shadow: 0 22px 60px rgba(60,70,78,.10);
}

/* Keep inner editorial content aligned with the standardized shell. */
body.page-community .community-container {
  width: min(1360px, calc(100% - 64px));
}

body.page-community .hero-overlay {
  width: min(1360px, calc(100% - 72px));
}

/* ---------- Hero integration ---------- */
body.page-community .community-hero {
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

body.page-community .community-hero,
body.page-community .community-hero-image,
body.page-community .community-hero-shade {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* ---------- Footer uses the same bottom shell ---------- */
body.page-community .site-footer {
  background: var(--ivory);
}

/* ---------- Canonical dark mode ---------- */
html[data-theme="dark"] body.page-community,
body.dark-theme.page-community {
  --ob-dark-bg: #090a0c;
  --ob-dark-panel: #111214;
  --ob-dark-card: #141518;

  color: #f2edef;
  background: #090a0c !important;
  background-image: none !important;
}

html[data-theme="dark"] body.page-community > .ob-header,
body.dark-theme.page-community > .ob-header {
  background: #090a0c !important;
  background-image: none !important;
  border-bottom-color: rgba(255,255,255,.07) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.page-community > .site-shell,
body.dark-theme.page-community > .site-shell {
  background: #090a0c !important;
  border-color: rgba(255,255,255,.06) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.page-community main,
body.dark-theme.page-community main,
html[data-theme="dark"] body.page-community .community-hero,
body.dark-theme.page-community .community-hero,
html[data-theme="dark"] body.page-community .site-footer,
body.dark-theme.page-community .site-footer {
  background-color: #090a0c !important;
}

html[data-theme="dark"] body.page-community .panel,
body.dark-theme.page-community .panel,
html[data-theme="dark"] body.page-community .letters-section .community-container,
body.dark-theme.page-community .letters-section .community-container,
html[data-theme="dark"] body.page-community .guidelines-card,
body.dark-theme.page-community .guidelines-card,
html[data-theme="dark"] body.page-community .submission-inner,
body.dark-theme.page-community .submission-inner,
html[data-theme="dark"] body.page-community .community-gallery-panel,
body.dark-theme.page-community .community-gallery-panel {
  color: rgba(255,255,255,.84);
  background: #111214 !important;
  border-color: rgba(255,255,255,.07) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.page-community .letter-card,
body.dark-theme.page-community .letter-card,
html[data-theme="dark"] body.page-community .message-card,
body.dark-theme.page-community .message-card,
html[data-theme="dark"] body.page-community .community-card,
body.dark-theme.page-community .community-card,
html[data-theme="dark"] body.page-community .project-card,
body.dark-theme.page-community .project-card,
html[data-theme="dark"] body.page-community .chat-window,
body.dark-theme.page-community .chat-window,
html[data-theme="dark"] body.page-community .guideline-links a,
body.dark-theme.page-community .guideline-links a,
html[data-theme="dark"] body.page-community .text-button,
body.dark-theme.page-community .text-button,
html[data-theme="dark"] body.page-community .chat-input input,
body.dark-theme.page-community .chat-input input {
  color: rgba(255,255,255,.82);
  background: #141518 !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.page-community .oom-letter,
html[data-theme="dark"] body.page-community .bam-letter,
html[data-theme="dark"] body.page-community .oombam-letter,
html[data-theme="dark"] body.page-community .current-project,
html[data-theme="dark"] body.page-community .upcoming-project,
html[data-theme="dark"] body.page-community .completed-project,
body.dark-theme.page-community .oom-letter,
body.dark-theme.page-community .bam-letter,
body.dark-theme.page-community .oombam-letter,
body.dark-theme.page-community .current-project,
body.dark-theme.page-community .upcoming-project,
body.dark-theme.page-community .completed-project {
  background: #141518 !important;
}

html[data-theme="dark"] body.page-community .guidelines-art,
body.dark-theme.page-community .guidelines-art {
  background:
    radial-gradient(circle, rgba(239,120,155,.10), #111214) !important;
}

html[data-theme="dark"] body.page-community .community-word,
html[data-theme="dark"] body.page-community .hero-lead,
html[data-theme="dark"] body.page-community .panel-header h2,
html[data-theme="dark"] body.page-community .section-heading h2,
html[data-theme="dark"] body.page-community .guidelines-card h2,
html[data-theme="dark"] body.page-community .letter-content h3,
html[data-theme="dark"] body.page-community .community-card-content h3,
html[data-theme="dark"] body.page-community .project-card h3,
html[data-theme="dark"] body.page-community .submission-inner h2,
body.dark-theme.page-community .community-word,
body.dark-theme.page-community .hero-lead,
body.dark-theme.page-community .panel-header h2,
body.dark-theme.page-community .section-heading h2,
body.dark-theme.page-community .guidelines-card h2,
body.dark-theme.page-community .letter-content h3,
body.dark-theme.page-community .community-card-content h3,
body.dark-theme.page-community .project-card h3,
body.dark-theme.page-community .submission-inner h2 {
  color: #f2eef0 !important;
}

html[data-theme="dark"] body.page-community .hero-description,
html[data-theme="dark"] body.page-community .garden-copy p,
html[data-theme="dark"] body.page-community .panel-header p,
html[data-theme="dark"] body.page-community .section-heading p,
html[data-theme="dark"] body.page-community .letter-content p,
html[data-theme="dark"] body.page-community .moderation-note,
html[data-theme="dark"] body.page-community .message-card p,
html[data-theme="dark"] body.page-community .community-card-content p,
html[data-theme="dark"] body.page-community .project-card > p,
html[data-theme="dark"] body.page-community .guidelines-copy p,
html[data-theme="dark"] body.page-community .submission-inner p:not(.eyebrow),
html[data-theme="dark"] body.page-community .chat-coming-soon,
html[data-theme="dark"] body.page-community .chat-rules,
body.dark-theme.page-community .hero-description,
body.dark-theme.page-community .garden-copy p,
body.dark-theme.page-community .panel-header p,
body.dark-theme.page-community .section-heading p,
body.dark-theme.page-community .letter-content p,
body.dark-theme.page-community .moderation-note,
body.dark-theme.page-community .message-card p,
body.dark-theme.page-community .community-card-content p,
body.dark-theme.page-community .project-card > p,
body.dark-theme.page-community .guidelines-copy p,
body.dark-theme.page-community .submission-inner p:not(.eyebrow),
body.dark-theme.page-community .chat-coming-soon,
body.dark-theme.page-community .chat-rules {
  color: rgba(255,255,255,.62) !important;
}

html[data-theme="dark"] body.page-community .site-footer,
body.dark-theme.page-community .site-footer {
  border-color: rgba(255,255,255,.07) !important;
}

html[data-theme="dark"] body.page-community .footer-main,
body.dark-theme.page-community .footer-main {
  color: rgba(255,255,255,.70) !important;
}

html[data-theme="dark"] body.page-community .footer-message,
body.dark-theme.page-community .footer-message {
  color: #a9cee5 !important;
}

html[data-theme="dark"] body.page-community .footer-copyline,
body.dark-theme.page-community .footer-copyline {
  color: rgba(255,255,255,.48) !important;
  border-top-color: rgba(255,255,255,.06) !important;
}

/* ---------- Desktop shell curvature ---------- */
@media (min-width: 1101px) {
  body.page-community > .ob-header {
    border-radius: 24px 24px 0 0;
  }

  body.page-community > .ob-site-search:not([hidden]) {
    width: min(1480px, 96vw) !important;
    margin-inline: auto !important;
    border-radius: 0 !important;
  }

  body.page-community > .site-shell {
    border-radius: 0 0 24px 24px;
  }

  body.page-community .community-hero {
    border-radius: 0 0 24px 24px;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community {
    padding: 22px 14px;
  }

  body.page-community > .ob-header {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  body.page-community > .ob-site-search,
  body.page-community > .site-shell {
    width: 100%;
    max-width: 100%;
  }

  body.page-community > .ob-site-search:not([hidden]) {
    margin-inline: auto !important;
    border-radius: 0 !important;
  }

  body.page-community > .site-shell,
  body.page-community .community-hero {
    border-radius: 0 0 22px 22px;
  }

  body.page-community .community-container {
    width: min(100% - 44px, 980px);
  }

  body.page-community .hero-overlay {
    width: min(100% - 44px, 980px);
  }
}

/* ---------- Mobile portrait ---------- */
@media (max-width: 760px) and (orientation: portrait) {
  body.page-community {
    padding: 0 !important;
  }

  body.page-community > .ob-header,
  body.page-community > .ob-site-search,
  body.page-community > .site-shell,
  body.page-community .community-hero {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  body.page-community > .site-shell {
    border: 0;
    box-shadow: none;
  }

  body.page-community .community-container,
  body.page-community .hero-overlay {
    width: calc(100% - 36px);
  }
}

/* ---------- Mobile / tablet landscape ---------- */
@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
  html,
  body.page-community {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.page-community {
    padding: 8px 8px 14px !important;
  }

  body.page-community > .ob-header,
  body.page-community > .ob-site-search,
  body.page-community > .site-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-community > .ob-header,
  body.page-community > .site-shell,
  body.page-community .community-hero {
    border-radius: 0 !important;
  }

  body.page-community > .site-shell {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.1
   SEARCH PANEL ORDER FIX
   ---------------------------------------------------------
   Canonical order:
   1. Global header/navigation
   2. Global search panel
   3. Community page shell/content

   Search styling/layout remains controlled by Global.css.
========================================================= */

body.page-community > .ob-header {
  position: relative;
  z-index: 30;
}

body.page-community > .ob-site-search {
  position: relative !important;
  z-index: 20;
  width: min(1480px, 96vw);
  margin: 0 auto !important;
}

/* Search must visually attach beneath the header, never above it. */
@media (min-width: 1101px) {
  body.page-community > .ob-header {
    width: min(1480px, 96vw);
    margin-inline: auto;
    border-radius: 24px 24px 0 0;
  }

  body.page-community > .ob-site-search:not([hidden]) {
    width: min(1480px, 96vw) !important;
    margin-inline: auto !important;
    border-radius: 0 !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community > .ob-site-search:not([hidden]) {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 760px) {
  body.page-community > .ob-site-search:not([hidden]) {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    border-radius: 0 !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.2
   HERO / LETTERS PARALLEL ALIGNMENT
   ---------------------------------------------------------
   The Community hero now uses the same outer width and horizontal
   alignment as the "Letters to Oom & Bam" panel beneath it.
   This creates one consistent editorial content column.
========================================================= */

/* ---------- Desktop ---------- */
@media (min-width: 1101px) {
  body.page-community .community-hero {
    width: min(1360px, calc(100% - 64px)) !important;
    margin: 28px auto 0 !important;

    border-radius: 24px !important;
    overflow: hidden;
  }

  body.page-community .community-hero-image,
  body.page-community .community-hero-shade {
    border-radius: inherit !important;
  }

  /* Keep the hero text comfortably inset inside the now-contained banner. */
  body.page-community .hero-overlay {
    width: calc(100% - 72px) !important;
    max-width: none !important;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community .community-hero {
    width: min(100% - 44px, 980px) !important;
    margin: 22px auto 0 !important;

    border-radius: 22px !important;
    overflow: hidden;
  }

  body.page-community .community-hero-image,
  body.page-community .community-hero-shade {
    border-radius: inherit !important;
  }

  body.page-community .hero-overlay {
    width: calc(100% - 44px) !important;
    max-width: none !important;
  }
}

/* ---------- Mobile portrait ---------- */
@media (max-width: 760px) and (orientation: portrait) {
  body.page-community .community-hero {
    width: calc(100% - 36px) !important;
    margin: 18px auto 0 !important;

    border-radius: 18px !important;
    overflow: hidden;
  }

  body.page-community .community-hero-image,
  body.page-community .community-hero-shade {
    border-radius: inherit !important;
  }

  body.page-community .hero-overlay {
    width: calc(100% - 32px) !important;
  }
}

/* ---------- Short mobile/tablet landscape ---------- */
@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
  body.page-community .community-hero {
    width: calc(100% - 32px) !important;
    margin: 14px auto 0 !important;

    border-radius: 18px !important;
    overflow: hidden;
  }

  body.page-community .community-hero-image,
  body.page-community .community-hero-shade {
    border-radius: inherit !important;
  }

  body.page-community .hero-overlay {
    width: calc(100% - 32px) !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.3
   STICKY GLOBAL HEADER RESTORATION
   ---------------------------------------------------------
   Community previously overrode Global.css with:
       position: relative;
   which disabled the standard sticky navigation.

   Restore the canonical Home / Oom / Bam behavior:
   - header remains visible while scrolling
   - desktop/tablet shell geometry is preserved
   - mobile menu behavior remains owned by Global.css/script.js
========================================================= */

body.page-community > .ob-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
}

/* Keep the opened search panel in normal document flow directly
   beneath the header. It should not become independently sticky. */
body.page-community > .ob-site-search {
  position: relative !important;
  z-index: 20 !important;
}

/* Maintain the completed-page shell curvature. */
@media (min-width: 1101px) {
  body.page-community > .ob-header {
    width: min(1480px, 96vw) !important;
    margin-inline: auto !important;
    border-radius: 24px 24px 0 0 !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community > .ob-header {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 22px 22px 0 0 !important;
  }
}

/* Established mobile standard remains edge-to-edge. */
@media (max-width: 760px),
       (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
  body.page-community > .ob-header {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.4
   SAGE GARDEN LIGHT-MODE PALETTE
   ---------------------------------------------------------
   A softer botanical identity for the Community page:
   - pale sage outer canvas
   - mint / ivory editorial surfaces
   - eucalyptus green accents
   - existing blush pink retained as a secondary accent
   - dark mode remains unchanged
========================================================= */

body.page-community:not(.dark-theme) {
  --community-sage-50:  #f6faf6;
  --community-sage-100: #edf5ef;
  --community-sage-200: #dcecdf;
  --community-sage-300: #c7dfcc;
  --community-sage-500: #7ea48a;
  --community-sage-600: #63866e;
  --community-sage-700: #496654;
  --community-ink:      #24372c;
  --community-muted:    #66776d;
  --community-ivory:    #fffdf8;
  --community-blush:    #e983a2;

  color: var(--community-ink);

  background:
    radial-gradient(circle at 8% 10%, rgba(185, 218, 194, .72), transparent 31%),
    radial-gradient(circle at 92% 12%, rgba(221, 238, 226, .78), transparent 32%),
    linear-gradient(
      135deg,
      #dcecdf 0%,
      #edf5ef 46%,
      #f7f5ea 100%
    ) !important;
}

/* Main editorial shell: warm ivory with a faint green cast. */
body.page-community:not(.dark-theme) > .ob-header,
body.page-community:not(.dark-theme) > .site-shell,
body.page-community:not(.dark-theme) .site-footer {
  background: rgba(255, 253, 248, .97) !important;
}

/* Search follows the same botanical light palette. */
body.page-community:not(.dark-theme) > .ob-site-search {
  background: #f8fbf8 !important;
  border-color: rgba(99, 134, 110, .16) !important;
}

body.page-community:not(.dark-theme) > .ob-site-search input {
  background: #fffefa !important;
  border-color: rgba(99, 134, 110, .22) !important;
}

body.page-community:not(.dark-theme) > .ob-site-search input:focus {
  border-color: #7ea48a !important;
  box-shadow: 0 0 0 3px rgba(126, 164, 138, .14) !important;
}

/* Primary panels gain a subtle mint surface instead of plain white. */
body.page-community:not(.dark-theme) .panel,
body.page-community:not(.dark-theme) .letters-section .community-container,
body.page-community:not(.dark-theme) .community-gallery-panel,
body.page-community:not(.dark-theme) .guidelines-card,
body.page-community:not(.dark-theme) .submission-inner {
  background:
    linear-gradient(
      135deg,
      rgba(251, 253, 249, .98),
      rgba(237, 245, 239, .72)
    ) !important;

  border-color: rgba(99, 134, 110, .16) !important;
}

/* Cards stay bright but pick up a very soft botanical tint. */
body.page-community:not(.dark-theme) .letter-card,
body.page-community:not(.dark-theme) .message-card,
body.page-community:not(.dark-theme) .community-card,
body.page-community:not(.dark-theme) .project-card,
body.page-community:not(.dark-theme) .chat-window,
body.page-community:not(.dark-theme) .guideline-links a,
body.page-community:not(.dark-theme) .text-button,
body.page-community:not(.dark-theme) .chat-input input {
  background: rgba(255, 254, 250, .94) !important;
  border-color: rgba(99, 134, 110, .15) !important;
}

/* Headings and body copy: green-black rather than neutral charcoal. */
body.page-community:not(.dark-theme) .community-word,
body.page-community:not(.dark-theme) .hero-lead,
body.page-community:not(.dark-theme) .panel-header h2,
body.page-community:not(.dark-theme) .section-heading h2,
body.page-community:not(.dark-theme) .guidelines-card h2,
body.page-community:not(.dark-theme) .letter-content h3,
body.page-community:not(.dark-theme) .community-card-content h3,
body.page-community:not(.dark-theme) .project-card h3,
body.page-community:not(.dark-theme) .submission-inner h2 {
  color: var(--community-ink) !important;
}

body.page-community:not(.dark-theme) .hero-description,
body.page-community:not(.dark-theme) .garden-copy p,
body.page-community:not(.dark-theme) .panel-header p,
body.page-community:not(.dark-theme) .section-heading p,
body.page-community:not(.dark-theme) .letter-content p,
body.page-community:not(.dark-theme) .message-card p,
body.page-community:not(.dark-theme) .community-card-content p,
body.page-community:not(.dark-theme) .project-card > p,
body.page-community:not(.dark-theme) .guidelines-copy p,
body.page-community:not(.dark-theme) .submission-inner p:not(.eyebrow),
body.page-community:not(.dark-theme) .moderation-note,
body.page-community:not(.dark-theme) .chat-coming-soon,
body.page-community:not(.dark-theme) .chat-rules {
  color: var(--community-muted) !important;
}

/* Green becomes the Community page's primary interaction accent. */
body.page-community:not(.dark-theme) .text-button,
body.page-community:not(.dark-theme) .inline-link,
body.page-community:not(.dark-theme) .project-link,
body.page-community:not(.dark-theme) .guideline-links a:hover,
body.page-community:not(.dark-theme) .garden-copy a {
  color: var(--community-sage-600) !important;
}

body.page-community:not(.dark-theme) .text-button:hover,
body.page-community:not(.dark-theme) .inline-link:hover,
body.page-community:not(.dark-theme) .project-link:hover,
body.page-community:not(.dark-theme) .garden-copy a:hover {
  color: var(--community-sage-700) !important;
}

/* Keep blush as the secondary fandom accent rather than removing it. */
body.page-community:not(.dark-theme) .blossoms-word,
body.page-community:not(.dark-theme) .eyebrow,
body.page-community:not(.dark-theme) .letter-number,
body.page-community:not(.dark-theme) .project-label {
  color: var(--community-blush) !important;
}

/* Soft green decorative treatment around the Guidelines artwork. */
body.page-community:not(.dark-theme) .guidelines-art {
  background:
    radial-gradient(circle, rgba(199, 223, 204, .48), rgba(246, 250, 246, .94)) !important;
}

/* Footer becomes part of the same garden identity. */
body.page-community:not(.dark-theme) .footer-message {
  color: var(--community-sage-600) !important;
}

body.page-community:not(.dark-theme) .footer-copyline {
  color: #78877e !important;
  border-top-color: rgba(99, 134, 110, .13) !important;
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.5
   HERO COPY CLEANUP + READABILITY
   ---------------------------------------------------------
   Removed redundant:
   - OomBam Community
   - Community Blossoms
   - Our Blossom Garden

   Retained:
   - Where love for OomBam grows together.
   - Supporting community description
   - Garden bloom sentence
   - See Our Garden →
========================================================= */

/* Desktop hero copy becomes two clean editorial text islands. */
@media (min-width: 901px) {
  body.page-community .hero-overlay {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .55fr) !important;
    align-items: center !important;
    gap: clamp(32px, 5vw, 72px) !important;

    width: calc(100% - 64px) !important;
    max-width: none !important;

    left: 32px !important;
    right: 32px !important;
    bottom: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  body.page-community .hero-copy,
  body.page-community .garden-copy {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;

    padding: 20px 22px !important;
    border-radius: 16px !important;

    background: rgba(255, 253, 248, .72) !important;
    border: 1px solid rgba(73, 102, 84, .12) !important;
    box-shadow: 0 12px 34px rgba(39, 61, 48, .08) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body.page-community .hero-copy {
    justify-self: start !important;
    max-width: 470px !important;
  }

  body.page-community .garden-copy {
    justify-self: end !important;
    max-width: 330px !important;
  }

  body.page-community .hero-lead {
    margin: 0 0 12px !important;
    font-size: clamp(1.65rem, 2vw, 2.25rem) !important;
    line-height: 1.08 !important;
    color: #24372c !important;
    text-shadow: none !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p {
    margin: 0 !important;
    color: #52665a !important;
    line-height: 1.6 !important;
  }

  body.page-community .garden-copy a {
    display: inline-block !important;
    margin-top: 14px !important;
    color: #63866e !important;
    font-weight: 700 !important;
  }
}

/* Dark mode: stronger contrast while keeping the artwork visible. */
html[data-theme="dark"] body.page-community .hero-copy,
html[data-theme="dark"] body.page-community .garden-copy,
body.page-community.dark-theme .hero-copy,
body.page-community.dark-theme .garden-copy {
  background: rgba(12, 14, 16, .74) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

html[data-theme="dark"] body.page-community .hero-lead,
body.page-community.dark-theme .hero-lead {
  color: #f4f6f4 !important;
}

html[data-theme="dark"] body.page-community .hero-description,
html[data-theme="dark"] body.page-community .garden-copy p,
body.page-community.dark-theme .hero-description,
body.page-community.dark-theme .garden-copy p {
  color: rgba(255, 255, 255, .72) !important;
}

html[data-theme="dark"] body.page-community .garden-copy a,
body.page-community.dark-theme .garden-copy a {
  color: #b8d2bf !important;
}

/* Tablet/mobile: keep the primary copy below/over the banner according
   to existing responsive layout, but preserve readable backing surfaces. */
@media (max-width: 900px) {
  body.page-community .hero-copy {
    padding: 16px 18px !important;
    border-radius: 14px !important;
    background: rgba(255,253,248,.88) !important;
    border: 1px solid rgba(73,102,84,.12) !important;
  }

  body.page-community .garden-copy {
    display: none !important;
  }

  html[data-theme="dark"] body.page-community .hero-copy,
  body.page-community.dark-theme .hero-copy {
    background: rgba(12,14,16,.86) !important;
    border-color: rgba(255,255,255,.08) !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v12.7
   BANNER RESTORE + RESPONSIVE HERO
   ---------------------------------------------------------
   Restores the actual Community banner and returns the hero
   to the site's established visual pattern:

   DESKTOP / TABLET
   - banner is the hero
   - retained copy sits directly on the artwork
   - no floating cards / no large caption block
   - subtle directional shading protects readability

   MOBILE
   - banner remains visible as the first visual
   - copy stacks immediately below it for clean readability
========================================================= */

/* ---------- Shared ---------- */
body.page-community .community-hero {
  position: relative !important;
  isolation: isolate !important;
  display: block !important;
  width: min(1360px, calc(100% - 64px)) !important;
  margin: 28px auto 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #eaf3ed !important;
}

body.page-community .community-hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #eaf3ed !important;
}

body.page-community .community-hero-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  display: block !important;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  opacity: 1 !important;
  visibility: visible !important;
  border-radius: inherit !important;
}

/* Readability only — the artwork remains fully visible. */
body.page-community .community-hero-shade {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      90deg,
      rgba(247,251,247,.70) 0%,
      rgba(247,251,247,.42) 23%,
      rgba(247,251,247,.08) 42%,
      rgba(247,251,247,0) 57%,
      rgba(247,251,247,.08) 73%,
      rgba(247,251,247,.52) 100%
    ) !important;
}

body.page-community .hero-overlay {
  position: relative !important;
  z-index: 2 !important;

  display: grid !important;
  grid-template-columns: minmax(320px, 500px) minmax(230px, 320px) !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: clamp(36px, 7vw, 110px) !important;

  width: calc(100% - 72px) !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: none !important;

  margin: 0 auto !important;
  padding: 36px 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  inset: auto !important;
}

body.page-community .hero-copy,
body.page-community .garden-copy {
  position: relative !important;
  inset: auto !important;
  transform: none !important;

  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.page-community .hero-copy {
  justify-self: start !important;
  max-width: 500px !important;
  text-align: left !important;
}

body.page-community .garden-copy {
  display: block !important;
  justify-self: end !important;
  width: min(300px, 100%) !important;
  text-align: left !important;
}

body.page-community .hero-lead {
  margin: 0 0 12px !important;

  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(1.75rem, 2.2vw, 2.45rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;

  color: #24372c !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.92),
    0 3px 18px rgba(255,255,255,.86) !important;
}

body.page-community .hero-description,
body.page-community .garden-copy p {
  color: #4f6257 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.95),
    0 2px 14px rgba(255,255,255,.90) !important;
}

body.page-community .hero-description {
  max-width: 450px !important;
  margin: 0 !important;
  font-size: .88rem !important;
  line-height: 1.62 !important;
}

body.page-community .garden-copy p {
  max-width: 280px !important;
  margin: 0 !important;
  font-size: .82rem !important;
  line-height: 1.58 !important;
}

body.page-community .garden-flower {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 1.15rem !important;
}

body.page-community .garden-link {
  display: inline-block !important;
  margin-top: 12px !important;
  padding-bottom: 3px !important;

  color: #567a62 !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.95),
    0 2px 10px rgba(255,255,255,.82) !important;

  border-bottom: 1px solid rgba(86,122,98,.42) !important;
}

/* ---------- Desktop ---------- */
@media (min-width: 1101px) {
  body.page-community .community-hero {
    height: clamp(470px, 33vw, 540px) !important;
    min-height: 470px !important;
  }
}

/* ---------- Tablet portrait / landscape ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community .community-hero {
    width: min(calc(100% - 44px), 980px) !important;
    height: clamp(390px, 52vw, 480px) !important;
    min-height: 390px !important;
    margin-top: 22px !important;
    border-radius: 22px !important;
  }

  body.page-community .hero-overlay {
    width: calc(100% - 48px) !important;
    grid-template-columns: minmax(280px, 1fr) minmax(210px, 270px) !important;
    gap: 28px !important;
    padding: 28px 0 !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(1.55rem, 3vw, 2rem) !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p {
    font-size: .78rem !important;
  }
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] body.page-community .community-hero-shade,
body.page-community.dark-theme .community-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(10,13,11,.66) 0%,
      rgba(10,13,11,.40) 24%,
      rgba(10,13,11,.05) 45%,
      rgba(10,13,11,.03) 58%,
      rgba(10,13,11,.22) 79%,
      rgba(10,13,11,.62) 100%
    ) !important;
}

html[data-theme="dark"] body.page-community .hero-lead,
body.page-community.dark-theme .hero-lead {
  color: #f4f6f4 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.72) !important;
}

html[data-theme="dark"] body.page-community .hero-description,
html[data-theme="dark"] body.page-community .garden-copy p,
body.page-community.dark-theme .hero-description,
body.page-community.dark-theme .garden-copy p {
  color: rgba(255,255,255,.82) !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.78) !important;
}

html[data-theme="dark"] body.page-community .garden-link,
body.page-community.dark-theme .garden-link {
  color: #c3dcc9 !important;
  border-bottom-color: rgba(195,220,201,.48) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.80) !important;
}

/* ---------- Mobile portrait ----------
   Keep the actual artwork visible first, then place the retained copy
   directly beneath it. This prevents the Community logo artwork and
   text from fighting for the same narrow space.
--------------------------------------------------------- */
@media (max-width: 760px) and (orientation: portrait) {
  body.page-community .community-hero {
    width: calc(100% - 28px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 14px auto 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.page-community .community-hero-media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: clamp(230px, 61vw, 330px) !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.page-community .community-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(247,251,247,.05) 0%,
        rgba(247,251,247,.03) 68%,
        rgba(247,251,247,.28) 100%
      ) !important;
  }

  body.page-community .hero-overlay {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 20px 20px 22px !important;

    background:
      linear-gradient(135deg, #f7fbf7 0%, #fffdf8 100%) !important;
  }

  body.page-community .hero-copy,
  body.page-community .garden-copy {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  body.page-community .garden-copy {
    padding-top: 18px !important;
    border-top: 1px solid rgba(99,134,110,.18) !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(1.5rem, 7vw, 1.9rem) !important;
    text-shadow: none !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p,
  body.page-community .garden-link {
    text-shadow: none !important;
  }

  html[data-theme="dark"] body.page-community .hero-overlay,
  body.page-community.dark-theme .hero-overlay {
    background: linear-gradient(135deg, #111214 0%, #151719 100%) !important;
  }

  html[data-theme="dark"] body.page-community .garden-copy,
  body.page-community.dark-theme .garden-copy {
    border-top-color: rgba(255,255,255,.10) !important;
  }
}

/* ---------- Short mobile landscape ---------- */
@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
  body.page-community .community-hero {
    width: calc(100% - 28px) !important;
    height: 330px !important;
    min-height: 330px !important;
    margin: 12px auto 0 !important;
    border-radius: 16px !important;
  }

  body.page-community .hero-overlay {
    width: calc(100% - 40px) !important;
    grid-template-columns: minmax(250px, 1fr) minmax(190px, 240px) !important;
    gap: 22px !important;
    padding: 18px 0 !important;
  }

  body.page-community .hero-lead {
    margin-bottom: 7px !important;
    font-size: 1.4rem !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p {
    font-size: .70rem !important;
    line-height: 1.45 !important;
  }

  body.page-community .garden-link {
    margin-top: 7px !important;
    font-size: .70rem !important;
  }

  body.page-community .garden-flower {
    margin-bottom: 4px !important;
    font-size: .95rem !important;
  }
}



/* =========================================================
   COMMUNITY BLOSSOMS v13.0
   RESPONSIVE HERO POLISH — DESKTOP / TABLET / MOBILE
   ---------------------------------------------------------
   Goals:
   - Keep banner artwork visually clean and prominent.
   - Move all narrative copy off the artwork for readability.
   - Give tablet and mobile a larger banner presence.
   - Prevent clipping/crowding in portrait and short landscape.
   - Preserve light/dark theme contrast.
========================================================= */

/* Shared hero architecture: artwork first, narrative beneath. */
body.page-community .community-hero {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #edf4ef !important;
}

body.page-community .community-hero-media {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.page-community .community-hero-image {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-position: center center !important;
}

/* No readability overlay is needed because copy is no longer on artwork. */
body.page-community .community-hero-shade {
  display: none !important;
}

body.page-community .hero-overlay {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr) !important;
  align-items: center !important;
  gap: clamp(34px, 5vw, 72px) !important;

  padding: clamp(28px, 3vw, 42px) clamp(30px, 5vw, 72px) !important;
  background: linear-gradient(135deg, #f4f8f4 0%, #fffdf9 100%) !important;
  border-top: 1px solid rgba(72, 105, 84, .12) !important;
}

body.page-community .hero-copy,
body.page-community .garden-copy {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}

body.page-community .hero-copy {
  justify-self: stretch !important;
}

body.page-community .garden-copy {
  justify-self: stretch !important;
  text-align: left !important;
}

body.page-community .hero-lead {
  margin: 0 0 12px !important;
  font-size: clamp(2rem, 3vw, 3.1rem) !important;
  line-height: .98 !important;
  letter-spacing: -.025em !important;
  color: #20352a !important;
  text-shadow: none !important;
}

body.page-community .hero-description,
body.page-community .garden-copy p {
  margin: 0 !important;
  max-width: 40rem !important;
  font-size: clamp(.93rem, 1.15vw, 1.08rem) !important;
  line-height: 1.6 !important;
  color: #53665a !important;
  text-shadow: none !important;
}

body.page-community .garden-flower {
  margin: 0 0 10px !important;
  font-size: 1.1rem !important;
}

body.page-community .garden-link {
  display: inline-block !important;
  margin-top: 15px !important;
  padding-bottom: 4px !important;
  font-size: .94rem !important;
  font-weight: 700 !important;
  color: #5f836b !important;
  border-bottom: 1px solid rgba(95,131,107,.38) !important;
  text-shadow: none !important;
}

/* Desktop: generous wide banner, full artwork visible. */
@media (min-width: 1101px) {
  body.page-community .community-hero {
    width: min(1440px, calc(100% - 64px)) !important;
    margin: 28px auto 0 !important;
    border-radius: 24px !important;
  }

  body.page-community .community-hero-media {
    aspect-ratio: 16 / 5.15 !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
  }
}

/* Tablet landscape: larger banner and readable copy strip below. */
@media (min-width: 900px) and (max-width: 1100px) {
  body.page-community .community-hero {
    width: calc(100% - 36px) !important;
    margin: 20px auto 0 !important;
    border-radius: 20px !important;
  }

  body.page-community .community-hero-media {
    aspect-ratio: 16 / 6.4 !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
  }

  body.page-community .hero-overlay {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr) !important;
    gap: 34px !important;
    padding: 28px 34px 30px !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(1.9rem, 3.3vw, 2.55rem) !important;
  }
}

/* Tablet portrait: artwork gets more vertical room; copy stacks cleanly. */
@media (min-width: 761px) and (max-width: 899px) {
  body.page-community .community-hero {
    width: calc(100% - 32px) !important;
    margin: 18px auto 0 !important;
    border-radius: 20px !important;
  }

  body.page-community .community-hero-media {
    height: clamp(390px, 54vw, 500px) !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.page-community .hero-overlay {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 30px 34px 34px !important;
  }

  body.page-community .garden-copy {
    padding-top: 22px !important;
    border-top: 1px solid rgba(95,131,107,.18) !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(2rem, 5vw, 2.7rem) !important;
  }
}

/* Mobile portrait: significantly larger banner, no text over artwork. */
@media (max-width: 760px) and (orientation: portrait) {
  body.page-community .community-hero {
    width: calc(100% - 24px) !important;
    margin: 12px auto 0 !important;
    border-radius: 18px !important;
  }

  body.page-community .community-hero-media {
    height: clamp(320px, 88vw, 430px) !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.page-community .hero-overlay {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 27px 24px 30px !important;
  }

  body.page-community .garden-copy {
    padding-top: 22px !important;
    border-top: 1px solid rgba(95,131,107,.18) !important;
  }

  body.page-community .hero-lead {
    margin-bottom: 11px !important;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1 !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p {
    font-size: clamp(.94rem, 4vw, 1.04rem) !important;
    line-height: 1.62 !important;
  }

  body.page-community .garden-link {
    margin-top: 16px !important;
    font-size: .96rem !important;
  }
}

/* Mobile / tablet short landscape: banner still gets real height, copy below. */
@media (max-width: 899px) and (orientation: landscape) {
  body.page-community .community-hero {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 10px auto 0 !important;
    border-radius: 16px !important;
  }

  body.page-community .community-hero-media {
    height: clamp(260px, 46vw, 360px) !important;
  }

  body.page-community .community-hero-image {
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.page-community .hero-overlay {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .9fr) !important;
    gap: 26px !important;
    padding: 24px 28px 26px !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(1.65rem, 4vw, 2.2rem) !important;
  }

  body.page-community .hero-description,
  body.page-community .garden-copy p {
    font-size: .9rem !important;
    line-height: 1.55 !important;
  }
}

/* Dark theme: high-contrast narrative strip matching the rest of the page. */
html[data-theme="dark"] body.page-community .community-hero,
body.page-community.dark-theme .community-hero {
  background: #111315 !important;
}

html[data-theme="dark"] body.page-community .hero-overlay,
body.page-community.dark-theme .hero-overlay {
  background: linear-gradient(135deg, #101214 0%, #131715 100%) !important;
  border-top-color: rgba(255,255,255,.08) !important;
}

html[data-theme="dark"] body.page-community .hero-lead,
body.page-community.dark-theme .hero-lead {
  color: #f4f5f2 !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.page-community .hero-description,
html[data-theme="dark"] body.page-community .garden-copy p,
body.page-community.dark-theme .hero-description,
body.page-community.dark-theme .garden-copy p {
  color: rgba(255,255,255,.74) !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.page-community .garden-link,
body.page-community.dark-theme .garden-link {
  color: #bed8c4 !important;
  border-bottom-color: rgba(190,216,196,.38) !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.page-community .garden-copy,
body.page-community.dark-theme .garden-copy {
  border-top-color: rgba(255,255,255,.10) !important;
}


/* =========================================================
   COMMUNITY BLOSSOMS v14.0
   EDITORIAL NARRATIVE REFINEMENT
   ---------------------------------------------------------
   Professional hierarchy for the intro beneath the banner:
   - one intentional centered composition
   - no oversized left/right split
   - no floating emoji ornament
   - no headline punctuation
   - compact readable measure on every breakpoint
========================================================= */

body.page-community .hero-overlay {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: clamp(34px, 4.4vw, 58px) clamp(24px, 6vw, 84px) clamp(38px, 4.8vw, 64px) !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 211, 194, .14), transparent 42%),
    linear-gradient(180deg, #fbfcf9 0%, #f7faf6 100%) !important;
  border-top: 1px solid rgba(72, 105, 84, .10) !important;
}

body.page-community .hero-copy,
body.page-community .garden-copy {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  text-align: center !important;
}

body.page-community .hero-kicker {
  margin: 0 0 12px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: .22em !important;
  color: #789080 !important;
}

body.page-community .hero-lead {
  margin: 0 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(2.5rem, 4.25vw, 4.4rem) !important;
  line-height: .98 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  color: #24382d !important;
  text-wrap: balance !important;
}

body.page-community .hero-description {
  margin: 18px auto 0 !important;
  max-width: 560px !important;
  font-size: clamp(.98rem, 1.2vw, 1.08rem) !important;
  line-height: 1.65 !important;
  color: #65766c !important;
  text-wrap: balance !important;
}

body.page-community .garden-copy {
  position: relative !important;
  margin-top: 27px !important;
  padding-top: 28px !important;
  border-top: 0 !important;
}

body.page-community .garden-copy::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: 52px !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: rgba(95, 131, 107, .35) !important;
}

body.page-community .garden-flower {
  display: none !important;
}

body.page-community .garden-copy p {
  margin: 0 auto !important;
  max-width: 560px !important;
  font-size: clamp(.95rem, 1.15vw, 1.04rem) !important;
  line-height: 1.65 !important;
  color: #65766c !important;
  text-wrap: balance !important;
}

body.page-community .garden-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin-top: 20px !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(95, 131, 107, .28) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.56) !important;
  color: #557761 !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 7px 20px rgba(50, 82, 62, .06) !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease !important;
}

body.page-community .garden-link:hover {
  transform: translateY(-1px) !important;
  background: rgba(255,255,255,.9) !important;
  border-color: rgba(95, 131, 107, .46) !important;
}

/* Tablet portrait + compact tablet: keep the composition centered and tighter. */
@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community .hero-overlay {
    padding: 38px 38px 44px !important;
  }

  body.page-community .hero-copy,
  body.page-community .garden-copy {
    width: min(100%, 680px) !important;
    max-width: 680px !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(2.7rem, 6vw, 3.8rem) !important;
  }
}

/* Phones: still editorial, but use comfortable margins and avoid giant type. */
@media (max-width: 760px) {
  body.page-community .hero-overlay {
    padding: 30px 22px 34px !important;
  }

  body.page-community .hero-kicker {
    margin-bottom: 10px !important;
    font-size: .64rem !important;
    letter-spacing: .18em !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(2.25rem, 10.5vw, 3rem) !important;
    line-height: 1 !important;
  }

  body.page-community .hero-description {
    margin-top: 14px !important;
    font-size: .96rem !important;
    line-height: 1.6 !important;
  }

  body.page-community .garden-copy {
    margin-top: 23px !important;
    padding-top: 24px !important;
  }

  body.page-community .garden-copy p {
    font-size: .94rem !important;
    line-height: 1.6 !important;
  }

  body.page-community .garden-link {
    margin-top: 18px !important;
    min-height: 40px !important;
    padding: 9px 16px !important;
    font-size: .88rem !important;
  }
}

/* Short landscape phones/tablets: use a compact vertical rhythm. */
@media (max-width: 899px) and (orientation: landscape) {
  body.page-community .hero-overlay {
    display: flex !important;
    padding: 24px 28px 28px !important;
  }

  body.page-community .hero-lead {
    font-size: clamp(2.1rem, 5vw, 2.8rem) !important;
  }

  body.page-community .hero-description {
    margin-top: 12px !important;
  }

  body.page-community .garden-copy {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }

  body.page-community .garden-link {
    margin-top: 15px !important;
  }
}

/* Dark mode equivalent. */
html[data-theme="dark"] body.page-community .hero-overlay,
body.page-community.dark-theme .hero-overlay {
  background:
    radial-gradient(circle at 50% 0%, rgba(142, 175, 151, .10), transparent 42%),
    linear-gradient(180deg, #101312 0%, #111513 100%) !important;
  border-top-color: rgba(255,255,255,.07) !important;
}

html[data-theme="dark"] body.page-community .hero-kicker,
body.page-community.dark-theme .hero-kicker {
  color: #98ae9d !important;
}

html[data-theme="dark"] body.page-community .hero-lead,
body.page-community.dark-theme .hero-lead {
  color: #f4f6f3 !important;
}

html[data-theme="dark"] body.page-community .hero-description,
html[data-theme="dark"] body.page-community .garden-copy p,
body.page-community.dark-theme .hero-description,
body.page-community.dark-theme .garden-copy p {
  color: rgba(255,255,255,.68) !important;
}

html[data-theme="dark"] body.page-community .garden-copy::before,
body.page-community.dark-theme .garden-copy::before {
  background: rgba(190,216,196,.24) !important;
}

html[data-theme="dark"] body.page-community .garden-link,
body.page-community.dark-theme .garden-link {
  background: rgba(255,255,255,.035) !important;
  color: #bed8c4 !important;
  border-color: rgba(190,216,196,.22) !important;
  box-shadow: none !important;
}


/* =========================================================
   COMMUNITY BLOSSOMS v15.0
   HERO TYPOGRAPHY ALIGNMENT
   ---------------------------------------------------------
   Match “Where love grows together” to the elegant script
   treatment used for “Blossom / Community” in the approved
   Community-Banner-v2 artwork.
========================================================= */
body.page-community .hero-lead {
  font-family: "Great Vibes", cursive !important;
  font-weight: 400 !important;
  font-size: clamp(3.8rem, 5.6vw, 6.2rem) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.page-community .hero-lead {
    font-size: clamp(3.45rem, 7.4vw, 5rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 760px) {
  body.page-community .hero-lead {
    font-size: clamp(3rem, 13vw, 4.15rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  body.page-community .hero-lead {
    font-size: clamp(3rem, 7vw, 4.2rem) !important;
  }
}


/* =========================================================
   COMMUNITY BLOSSOMS v17.0 — NO-CROP RESPONSIVE BANNER
========================================================= */
body.page-community .community-hero-media { height:auto !important; min-height:0 !important; aspect-ratio:auto !important; overflow:visible !important; background:#fff !important; }
body.page-community .community-hero-image { position:relative !important; inset:auto !important; display:block !important; width:100% !important; height:auto !important; max-width:100% !important; object-fit:contain !important; object-position:center center !important; }
body.page-community .community-hero-shade { display:none !important; }
body.page-community .hero-overlay { display:flex !important; flex-direction:column !important; align-items:center !important; gap:0 !important; padding:18px 24px 22px !important; }
body.page-community #communityHeroTitle.hero-lead { font-family:"Great Vibes",cursive !important; font-size:clamp(2.55rem,4.15vw,4rem) !important; line-height:1 !important; white-space:nowrap !important; text-align:center !important; }
body.page-community .hero-kicker { margin:0 0 6px !important; }
body.page-community .hero-description { margin:7px auto 0 !important; }
body.page-community .garden-copy { margin-top:10px !important; padding-top:10px !important; }
body.page-community .garden-copy::before { width:34px !important; }
body.page-community .garden-link { margin-top:10px !important; }
@media (min-width:761px) and (max-width:1100px){ body.page-community .community-hero{width:calc(100% - 24px) !important;margin-top:14px !important;} body.page-community .hero-overlay{padding:16px 22px 20px !important;} body.page-community #communityHeroTitle.hero-lead{font-size:clamp(2.35rem,5.1vw,3.45rem) !important;} }
@media (max-width:760px){ body.page-community .community-hero{width:calc(100% - 12px) !important;margin-top:8px !important;border-radius:14px !important;} body.page-community .community-hero-media{border-radius:14px 14px 0 0 !important;} body.page-community .hero-overlay{padding:14px 15px 18px !important;} body.page-community .hero-kicker{font-size:.58rem !important;margin-bottom:4px !important;} body.page-community #communityHeroTitle.hero-lead{font-size:clamp(1.95rem,9.1vw,2.55rem) !important;white-space:nowrap !important;} body.page-community .hero-description,body.page-community .garden-copy p{font-size:.88rem !important;line-height:1.45 !important;} body.page-community .garden-copy{margin-top:8px !important;padding-top:9px !important;} body.page-community .garden-link{margin-top:9px !important;min-height:36px !important;padding:8px 14px !important;} }
@media (max-width:899px) and (orientation:landscape){ body.page-community .community-hero{width:calc(100% - 16px) !important;} body.page-community .hero-overlay{padding:12px 18px 16px !important;} body.page-community #communityHeroTitle.hero-lead{font-size:clamp(2rem,5.2vw,2.8rem) !important;white-space:nowrap !important;} }


/* =========================================================
   COMMUNITY BLOSSOMS v18.0 — FINAL COMPACT HERO TYPE
========================================================= */
body.page-community .hero-kicker { display:none !important; }
body.page-community #communityHeroTitle.hero-lead { font-family:"Great Vibes",cursive !important; font-weight:400 !important; font-size:clamp(2.05rem,3.2vw,3rem) !important; line-height:1 !important; letter-spacing:0 !important; white-space:nowrap !important; text-align:center !important; }
body.page-community .hero-overlay { padding:14px 24px 18px !important; }
@media (min-width:761px) and (max-width:1100px){ body.page-community #communityHeroTitle.hero-lead{font-size:clamp(1.9rem,4.2vw,2.55rem) !important;} body.page-community .hero-overlay{padding:12px 20px 16px !important;} }
@media (max-width:760px){ body.page-community #communityHeroTitle.hero-lead{font-size:clamp(1.5rem,6.2vw,1.95rem) !important;white-space:nowrap !important;} body.page-community .hero-overlay{padding:11px 14px 15px !important;} body.page-community .hero-description,body.page-community .garden-copy p{font-size:.82rem !important;line-height:1.4 !important;} }
@media (max-width:899px) and (orientation:landscape){ body.page-community #communityHeroTitle.hero-lead{font-size:clamp(1.7rem,4.4vw,2.2rem) !important;} }


/* =========================================================
   COMMUNITY FUNCTIONAL LAYER — v19
   Forms, modals, live states and accessible interaction.
   This intentionally preserves the existing visual layout.
========================================================= */

[data-community-action],
#communityChatForm button {
  cursor: pointer;
}

.community-runtime-note {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: .72rem;
}

.live-indicator.is-preview {
  color: #9b7a36;
}

.live-indicator.is-preview .live-dot {
  background: #d3a84d;
}

.live-indicator.is-live {
  color: #e94d78;
}

.live-indicator.is-live .live-dot {
  background: #e94d78;
  box-shadow: 0 0 0 4px rgba(233,77,120,.10);
}

.live-indicator.is-error {
  color: #9b5c5c;
}

.live-indicator.is-error .live-dot {
  background: #b77a7a;
}

.chat-input input:disabled,
.chat-input button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.community-modal[hidden] {
  display: none !important;
}

.community-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.community-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 49, .46);
  backdrop-filter: blur(7px);
}

.community-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(780px, calc(100vh - 44px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 24px 80px rgba(34, 45, 51, .22);
}

.community-modal__dialog--wide {
  width: min(920px, 100%);
}

.community-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
}

.community-modal__eyebrow {
  margin-bottom: 5px;
  color: var(--pink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.community-modal__title {
  margin: 0 44px 8px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.community-modal__intro {
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: .86rem;
}

.community-form {
  display: grid;
  gap: 15px;
}

.community-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.community-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
}

.community-form input,
.community-form select,
.community-form textarea {
  width: 100%;
  border: 1px solid rgba(116, 83, 76, .18);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  font-size: .86rem;
  outline: none;
}

.community-form textarea {
  min-height: 150px;
  resize: vertical;
}

.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus {
  border-color: rgba(85, 155, 209, .70);
  box-shadow: 0 0 0 3px rgba(85, 155, 209, .10);
}

.community-form__help {
  margin-top: -8px;
  color: var(--text-soft);
  font-size: .69rem;
}

.community-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.community-form__secondary,
.community-form__primary {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 600;
}

.community-form__secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.community-form__primary {
  border: 0;
  background: linear-gradient(135deg, var(--pink), #e96c91);
  color: #fff;
}

.community-form__status {
  min-height: 20px;
  color: var(--text-soft);
  font-size: .74rem;
}

.community-form__status.is-success {
  color: #587961;
}

.community-form__status.is-error {
  color: #a44d62;
}

.community-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.community-choice {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,248,250,.90));
  text-align: left;
}

.community-choice strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.community-choice span {
  color: var(--text-soft);
  font-size: .76rem;
}

.community-wall-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.community-wall-list .message-card {
  min-height: 180px;
}

body.community-modal-open {
  overflow: hidden;
}

html[data-theme="dark"] .community-modal__dialog,
body.dark-theme .community-modal__dialog {
  background: rgba(28, 34, 39, .98);
}

html[data-theme="dark"] .community-form input,
html[data-theme="dark"] .community-form select,
html[data-theme="dark"] .community-form textarea,
html[data-theme="dark"] .community-form__secondary,
html[data-theme="dark"] .community-choice,
body.dark-theme .community-form input,
body.dark-theme .community-form select,
body.dark-theme .community-form textarea,
body.dark-theme .community-form__secondary,
body.dark-theme .community-choice {
  background: rgba(255,255,255,.06);
  color: inherit;
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 700px) {
  .community-modal {
    padding: 10px;
    align-items: end;
  }

  .community-modal__dialog,
  .community-modal__dialog--wide {
    width: 100%;
    max-height: min(86vh, 760px);
    padding: 22px 18px;
    border-radius: 20px 20px 14px 14px;
  }

  .community-form__row,
  .community-choice-grid,
  .community-wall-list {
    grid-template-columns: 1fr;
  }

  .community-form__actions {
    flex-direction: column-reverse;
  }

  .community-form__secondary,
  .community-form__primary {
    width: 100%;
  }
}


/* =========================================================
   COMMUNITY FUNCTIONAL PATCH — v19.1
   Fixes anchor jumps, iOS form zoom and dark-mode contrast.
========================================================= */

/* Action controls are buttons in v19.1; preserve the original visual treatment. */
button.letter-btn,
button.outline-btn,
button.primary-btn {
  border: 0;
  font: inherit;
}

button.outline-btn {
  border: 1px solid var(--pink);
  background: transparent;
}

.community-modal__dialog,
.community-modal__dialog label,
.community-modal__title {
  color: var(--text);
}

.community-modal__intro,
.community-form__help,
.community-form__status {
  color: var(--text-soft);
}

html[data-theme="dark"] .community-modal__dialog,
body.dark-theme .community-modal__dialog {
  color: #f1f4f5;
  background: #1b2226;
  border-color: rgba(255,255,255,.14);
}

html[data-theme="dark"] .community-modal__title,
html[data-theme="dark"] .community-modal__dialog label,
body.dark-theme .community-modal__title,
body.dark-theme .community-modal__dialog label {
  color: #f4f6f7;
}

html[data-theme="dark"] .community-modal__intro,
html[data-theme="dark"] .community-form__help,
html[data-theme="dark"] .community-form__status,
body.dark-theme .community-modal__intro,
body.dark-theme .community-form__help,
body.dark-theme .community-form__status {
  color: #b9c2c8;
}

html[data-theme="dark"] .community-modal__eyebrow,
body.dark-theme .community-modal__eyebrow {
  color: #ff8fb1;
}

html[data-theme="dark"] .community-form input,
html[data-theme="dark"] .community-form select,
html[data-theme="dark"] .community-form textarea,
body.dark-theme .community-form input,
body.dark-theme .community-form select,
body.dark-theme .community-form textarea {
  color: #f4f6f7;
  background: #252e33;
  border-color: rgba(255,255,255,.18);
  caret-color: #fff;
}

html[data-theme="dark"] .community-form input::placeholder,
html[data-theme="dark"] .community-form textarea::placeholder,
body.dark-theme .community-form input::placeholder,
body.dark-theme .community-form textarea::placeholder {
  color: #aeb7bd;
  opacity: 1;
}

html[data-theme="dark"] .community-form select option,
body.dark-theme .community-form select option {
  color: #111;
  background: #fff;
}

html[data-theme="dark"] .community-modal__close,
body.dark-theme .community-modal__close {
  color: #172027;
  background: #eef1f2;
}

/* iOS Safari zooms focused form controls when computed font-size is < 16px. */
@media (max-width: 900px) {
  .community-form input,
  .community-form select,
  .community-form textarea,
  #communityChatInput {
    font-size: 16px !important;
  }

  .community-modal__dialog {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}


/* =========================================================
   BLOSSOM COMMUNITY ACCESS — v20.1 EDITORIAL POLISH
========================================================= */

.community-access-strip {
  padding: 14px 0 3px;
}

.community-access-strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 15px 18px 15px 20px;
  overflow: hidden;
  border: 1px solid rgba(217,168,166,.24);
  border-radius: 16px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.82), rgba(255,250,251,.64) 58%, rgba(239,120,155,.055));
  box-shadow: 0 8px 24px rgba(95,68,72,.035);
}

.community-access-strip__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(85,155,209,.62), rgba(239,120,155,.72));
}

.community-access-strip__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-left: 3px;
}

.community-access-strip__copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .018em;
  color: var(--text);
}

.community-access-strip__copy span {
  color: var(--text-soft);
  font-size: .76rem;
  line-height: 1.4;
}

.community-access-strip__button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(183,76,107,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #ad4865;
  box-shadow: 0 5px 14px rgba(183,76,107,.055);
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.community-access-strip__button::after {
  content: "  →";
}

.community-access-strip__button:hover {
  transform: translateY(-1px);
  border-color: rgba(183,76,107,.42);
  background: #fff;
  box-shadow: 0 8px 18px rgba(183,76,107,.08);
}

.community-access-strip__button.is-signed-in {
  color: #4d758f;
  border-color: rgba(85,155,209,.30);
}

.community-access-strip__button.is-signed-in::after {
  content: "  →";
}

.community-preview-banner {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid rgba(211,168,77,.28);
  border-radius: 10px;
  background: rgba(255,244,205,.62);
  color: #765d28;
  font-size: .73rem;
  line-height: 1.5;
}

.community-account-card {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.community-account-card span {
  color: var(--text-soft);
  font-size: .72rem;
}

.community-account-card strong {
  overflow-wrap: anywhere;
  font-size: .8rem;
}

html[data-theme="dark"] .community-access-strip__inner,
body.dark-theme .community-access-strip__inner {
  background:
    linear-gradient(115deg, rgba(255,255,255,.045), rgba(255,255,255,.025) 60%, rgba(239,120,155,.045));
  border-color: rgba(255,255,255,.09);
  box-shadow: none;
}

html[data-theme="dark"] .community-access-strip__button,
body.dark-theme .community-access-strip__button {
  background: rgba(255,255,255,.045);
  color: #f2a0b8;
  border-color: rgba(242,154,181,.26);
  box-shadow: none;
}

html[data-theme="dark"] .community-access-strip__button:hover,
body.dark-theme .community-access-strip__button:hover {
  background: rgba(255,255,255,.075);
}

html[data-theme="dark"] .community-preview-banner,
body.dark-theme .community-preview-banner {
  background: rgba(191,145,47,.10);
  color: #e3c77d;
  border-color: rgba(227,199,125,.18);
}

@media (max-width: 700px) {
  .community-access-strip {
    padding-top: 10px;
  }

  .community-access-strip__inner {
    gap: 14px;
    min-height: 68px;
    padding: 13px 13px 13px 16px;
  }

  .community-access-strip__copy strong {
    font-size: .94rem;
  }

  .community-access-strip__copy span {
    font-size: .71rem;
  }

  .community-access-strip__button {
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .community-access-strip__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .community-access-strip__copy span {
    max-width: 31ch;
  }
}

/* =========================================================
   FROM THE COMMUNITY — IN-PAGE ARCHIVE v19.4
========================================================= */

button.community-card {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(0,0,0,.06);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.community-card:focus-visible {
  outline: 3px solid rgba(85,155,209,.34);
  outline-offset: 3px;
}

.community-card-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.community-card-content > div {
  min-width: 0;
}

.community-card-explore {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, color .25s ease;
}

.community-card:hover .community-card-explore,
.community-card:focus-visible .community-card-explore {
  color: var(--pink);
  transform: translateX(3px);
}

.community-archive {
  min-width: 0;
}

.community-archive__intro {
  max-width: 720px;
}

.community-archive__tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 22px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.community-archive__tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--text-soft);
  font: inherit;
  font-size: .73rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.community-archive__tab:hover {
  border-color: rgba(85,155,209,.35);
  color: var(--blue);
}

.community-archive__tab.is-active {
  border-color: rgba(239,120,155,.36);
  background: var(--pink-soft);
  color: #b94f70;
}

.community-archive__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.community-archive__heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.community-archive__icon {
  font-size: 1.2rem;
}

.community-archive__category {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
}

.community-archive__description {
  max-width: 470px;
  color: var(--text-soft);
  font-size: .75rem;
  line-height: 1.5;
  text-align: right;
}

.community-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.community-archive__grid--art,
.community-archive__grid--photos {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.community-archive__grid--projects,
.community-archive__grid--journal {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.community-archive-item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(130,130,130,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  color: inherit;
  box-shadow: 0 8px 24px rgba(70,60,70,.04);
}

a.community-archive-item {
  transition: transform .25s ease, box-shadow .25s ease;
}

a.community-archive-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.community-archive-item__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.community-archive-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-archive-item__body {
  padding: 16px 17px 18px;
}

.community-archive-item__meta {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #4d7fa4;
  font-size: .62rem;
  font-weight: 600;
}

.community-archive-item__body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  line-height: 1.15;
}

.community-archive-item__body p {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: .74rem;
  line-height: 1.5;
}

.community-archive-item__preview {
  display: inline-block;
  margin-top: 12px;
  color: var(--pink);
  font-size: .66rem;
  font-weight: 600;
}

.community-archive-item--project {
  min-height: 180px;
}

.community-archive__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.community-archive__footer p {
  color: var(--text-soft);
  font-size: .7rem;
}

html[data-theme="dark"] button.community-card,
body.dark-theme button.community-card,
html[data-theme="dark"] .community-archive-item,
body.dark-theme .community-archive-item {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] .community-archive__tab,
body.dark-theme .community-archive__tab {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
  color: #b9c2c8;
}

html[data-theme="dark"] .community-archive__tab.is-active,
body.dark-theme .community-archive__tab.is-active {
  background: rgba(239,120,155,.12);
  border-color: rgba(239,120,155,.26);
  color: #f6a0ba;
}

html[data-theme="dark"] .community-archive-item__meta,
body.dark-theme .community-archive-item__meta {
  background: rgba(85,155,209,.12);
  color: #9dc7e7;
}

@media (max-width: 900px) {
  .community-card-content {
    align-items: flex-start;
  }

  .community-card-explore {
    padding-top: 4px;
  }

  .community-archive__heading {
    display: block;
  }

  .community-archive__description {
    margin-top: 6px;
    max-width: none;
    text-align: left;
  }

  .community-archive__grid,
  .community-archive__grid--art,
  .community-archive__grid--photos,
  .community-archive__grid--projects {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  .community-card-content {
    display: block;
  }

  .community-card-explore {
    display: inline-block;
    margin-top: 10px;
  }

  .community-archive__tabs {
    margin-top: 14px;
    margin-right: -8px;
  }

  .community-archive__grid,
  .community-archive__grid--art,
  .community-archive__grid--photos,
  .community-archive__grid--projects,
  .community-archive__grid--journal {
    grid-template-columns: 1fr;
  }

  .community-archive__footer {
    display: grid;
  }

  .community-archive__footer .community-form__primary {
    width: 100%;
  }
}


/* =========================================================
   COMMUNITY ARCHIVE SIZE NORMALIZATION — v19.4.1
   Keep Journal and completed Fan Projects the same visual
   footprint as Fan Art and Fan Photos.
========================================================= */

.community-archive-item--preview {
  width: 100%;
}

.community-archive-item--preview .community-archive-item__media {
  aspect-ratio: 16 / 10;
}

.community-archive__grid--journal,
.community-archive__grid--projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-archive__grid--journal .community-archive-item,
.community-archive__grid--projects .community-archive-item {
  max-width: none;
}

@media (max-width: 620px) {
  .community-archive__grid--journal,
  .community-archive__grid--projects {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   FAN PROJECT PROPOSALS — v19.4.3
========================================================= */

.community-proposal-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid rgba(85,155,209,.22);
  border-radius: 12px;
  background: rgba(234,245,255,.62);
}

.community-proposal-notice strong {
  color: var(--text);
  font-size: .78rem;
}

.community-proposal-notice span {
  color: var(--text-soft);
  font-size: .72rem;
  line-height: 1.5;
}

html[data-theme="dark"] .community-proposal-notice,
body.dark-theme .community-proposal-notice {
  background: rgba(85,155,209,.08);
  border-color: rgba(85,155,209,.18);
}


/* =========================================================
   FAN ARTS / FAN PHOTOS MODERATION STATUS — v19.4.4
========================================================= */

.community-moderation-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.community-moderation-status__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
}

.community-moderation-status__dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.community-moderation-status__item strong {
  display: block;
  font-size: .72rem;
}

.community-moderation-status__item small {
  display: block;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: .62rem;
  line-height: 1.35;
}

.community-moderation-status__item.is-pending .community-moderation-status__dot {
  background: #d8a83f;
}

.community-moderation-status__item.is-approved .community-moderation-status__dot {
  background: #5fa975;
}

.community-moderation-status__item.is-rejected .community-moderation-status__dot {
  background: #c96a77;
}

.community-archive-item__status {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .61rem;
  font-weight: 700;
  line-height: 1;
}

.community-archive-item__status.is-pending {
  background: rgba(216,168,63,.12);
  color: #9b741f;
}

.community-archive-item__status.is-approved {
  background: rgba(95,169,117,.12);
  color: #4b8e60;
}

.community-archive-item__status.is-rejected {
  background: rgba(201,106,119,.12);
  color: #a44e5b;
}

html[data-theme="dark"] .community-moderation-status__item,
body.dark-theme .community-moderation-status__item {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] .community-archive-item__status.is-approved,
body.dark-theme .community-archive-item__status.is-approved {
  color: #8ed1a0;
}

@media (max-width: 700px) {
  .community-moderation-status {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMMUNITY 19.5.1 — PUBLIC GALLERY CLEAN RESET
========================================================= */

.community-moderation-status,
.community-archive-item__status {
  display: none !important;
}


/* =========================================================
   COMMUNITY 19.5.2 — CARD / THUMBNAIL ALIGNMENT HARD RESET
   ---------------------------------------------------------
   Normalize the actual button cards and images rather than
   treating Blossom Journal as a special case.
========================================================= */

.community-card-grid {
  align-items: stretch !important;
}

button.community-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
}

/* Exact same image viewport for Fan Arts, Photos, Projects and Journal. */
button.community-card > .community-thumbnail {
  display: block !important;
  flex: 0 0 190px !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  line-height: 0 !important;
}

/* Remove inline-image baseline behavior completely. */
button.community-card > .community-thumbnail > img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-sizing: border-box !important;
}

/* Content begins at exactly the same Y position on every card. */
button.community-card > .community-card-content {
  flex: 1 1 auto !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Keep the public moderation workflow hidden. */
.community-moderation-status,
.community-archive-item__status {
  display: none !important;
}

@media (max-width: 600px) {
  button.community-card > .community-thumbnail {
    flex-basis: 220px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  button.community-card > .community-thumbnail > img {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }
}


/* =========================================================
   COMMUNITY 19.5.3 — CARD TEXT ALIGNMENT NORMALIZATION
   ---------------------------------------------------------
   Keep the content block of every Community card aligned
   to the exact same top, left, and vertical rhythm.
========================================================= */

button.community-card > .community-card-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;

  width: 100% !important;
  min-height: 118px !important;

  margin: 0 !important;
  padding: 18px 18px 16px !important;

  text-align: left !important;
  box-sizing: border-box !important;
}

button.community-card > .community-card-content h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  min-height: 24px !important;
  line-height: 1.15 !important;
}

button.community-card > .community-card-content p {
  margin: 0 !important;
  padding: 0 72px 0 0 !important;
  line-height: 1.5 !important;
}

/* Keep CTA on the same baseline across all cards. */
button.community-card > .community-card-content .community-card-action,
button.community-card > .community-card-content .community-card-link,
button.community-card > .community-card-content > span:last-child {
  margin-top: auto !important;
}

/* Journal should not receive any special vertical offset. */
button.community-card[data-gallery-open="journal"] > .community-card-content {
  margin-top: 0 !important;
  padding-top: 18px !important;
}

@media (max-width: 700px) {
  button.community-card > .community-card-content {
    min-height: 0 !important;
    padding: 16px !important;
  }

  button.community-card > .community-card-content p {
    padding-right: 0 !important;
  }
}


/* =========================================================
   BLOSSOM AUTH — SUPABASE PRODUCTION ACCESS v20.2
========================================================= */

.community-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 16px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.52);
}

.community-auth-tab {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.community-auth-tab.is-active {
  background: #fff;
  color: #b74c6b;
  box-shadow: 0 6px 18px rgba(95,68,72,.08);
}

.community-auth-guidance {
  display: grid;
  gap: 7px;
  margin: -1px 0 3px;
  padding: 11px 12px;
  border: 1px solid rgba(217,168,166,.20);
  border-radius: 10px;
  background: rgba(255,250,251,.48);
}

.community-auth-guidance__item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  margin: 0;
  color: var(--text-soft);
  font-size: .69rem;
  line-height: 1.45;
}

.community-auth-guidance__item > span:first-child {
  color: #d96f91;
  text-align: center;
}

.community-auth-guidance__item strong {
  color: inherit;
  font-weight: 600;
}

.community-auth-confirm-note {
  color: #7c6670;
}

.community-form input[readonly] {
  cursor: default;
  background: rgba(85,155,209,.055);
}

html[data-theme="dark"] .community-auth-tabs,
body.dark-theme .community-auth-tabs {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] .community-auth-tab.is-active,
body.dark-theme .community-auth-tab.is-active {
  background: rgba(255,255,255,.08);
  color: #f29ab5;
  box-shadow: none;
}

html[data-theme="dark"] .community-auth-guidance,
body.dark-theme .community-auth-guidance {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .community-auth-guidance__item,
body.dark-theme .community-auth-guidance__item {
  color: rgba(255,255,255,.68);
}

html[data-theme="dark"] .community-form input[readonly],
body.dark-theme .community-form input[readonly] {
  background: rgba(85,155,209,.08);
}

@media (max-width: 520px) {
  .community-auth-tabs {
    gap: 5px;
    padding: 4px;
  }

  .community-auth-tab {
    min-height: 38px;
    padding-inline: 8px;
    font-size: .74rem;
  }
}

/* =========================================================
   BLOSSOM AUTH — ACCESS STABILIZATION v20.2
========================================================= */

/* Hidden auth fields must stay hidden even when a component has display rules. */
.page-community [hidden] {
  display: none !important;
}

/* Compact desktop auth controls in the reserved space beside the logo. */
.page-community .community-header-auth {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: 2px;
}

.page-community .community-header-auth__button {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(239,120,155,.32);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.page-community .community-header-auth__button:hover {
  color: #c65376;
  border-color: rgba(239,120,155,.62);
  transform: translateY(-1px);
}

.page-community .community-header-auth__button.is-primary {
  background: rgba(239,120,155,.10);
  color: #c65376;
}

.page-community .community-header-auth__button:disabled {
  opacity: .42;
  cursor: default;
  transform: none;
}

/* Personalized Welcome label: contain unusually long display names. */
.page-community .ob-nav__link[data-nav-key="welcome"] {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile auth access belongs in the drawer, not the narrow top bar. */
.page-community .community-mobile-auth {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 2px 14px;
  border-bottom: 1px solid rgba(120,120,120,.12);
}

.page-community .community-mobile-auth__button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(239,120,155,.28);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: .76rem;
  font-weight: 600;
}

.page-community .community-mobile-auth__button.is-primary {
  background: rgba(239,120,155,.10);
  color: #c65376;
}

/* Sign-in-specific utility link. */
.page-community .community-auth-forgot {
  display: block;
  width: max-content;
  margin: -2px 0 1px auto;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid rgba(183,76,107,.24);
  background: transparent;
  color: #b74c6b;
  font-size: .72rem;
  font-weight: 600;
}

.page-community .community-auth-forgot:hover {
  border-color: currentColor;
}

/* Dedicated signup / verification success presentation. */
.page-community .community-auth-success {
  text-align: left;
}

.page-community .community-auth-success__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 4px 0 13px;
  border: 1px solid rgba(239,120,155,.22);
  border-radius: 50%;
  background: rgba(239,120,155,.08);
  font-size: 1.45rem;
}

.page-community .community-auth-success__email {
  color: var(--text);
  overflow-wrap: anywhere;
}

.page-community .community-auth-success__note {
  display: grid;
  gap: 5px;
  margin: 16px 0 5px;
  padding: 13px 14px;
  border: 1px solid rgba(217,168,166,.22);
  border-radius: 12px;
  background: rgba(255,250,251,.46);
  color: var(--text-soft);
  font-size: .76rem;
  line-height: 1.5;
}

.page-community .community-auth-success__note strong {
  color: var(--text);
  font-weight: 600;
}

html[data-theme="dark"] .page-community .community-header-auth__button,
body.dark-theme.page-community .community-header-auth__button,
html[data-theme="dark"] .page-community .community-mobile-auth__button,
body.dark-theme.page-community .community-mobile-auth__button {
  border-color: rgba(242,154,181,.24);
  color: rgba(255,255,255,.76);
}

html[data-theme="dark"] .page-community .community-header-auth__button.is-primary,
body.dark-theme.page-community .community-header-auth__button.is-primary,
html[data-theme="dark"] .page-community .community-mobile-auth__button.is-primary,
body.dark-theme.page-community .community-mobile-auth__button.is-primary {
  background: rgba(242,154,181,.10);
  color: #f29ab5;
}

html[data-theme="dark"] .page-community .community-auth-success__note,
body.dark-theme.page-community .community-auth-success__note {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .page-community .community-auth-success__note strong,
body.dark-theme.page-community .community-auth-success__note strong,
html[data-theme="dark"] .page-community .community-auth-success__email,
body.dark-theme.page-community .community-auth-success__email {
  color: rgba(255,255,255,.88);
}

/* Keep the desktop navigation from crowding at intermediate widths. */
@media (max-width: 1180px) {
  .page-community .community-header-auth {
    gap: 5px;
  }

  .page-community .community-header-auth__button {
    padding-inline: 9px;
    font-size: .64rem;
  }
}

/* At tablet/mobile breakpoints, auth controls move into the drawer. */
@media (max-width: 1040px) {
  .page-community .community-header-auth {
    display: none !important;
  }

  .page-community .community-mobile-auth:not([hidden]) {
    display: grid;
  }

  .page-community .ob-mobile-nav__link[data-nav-key="welcome"] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .page-community .community-mobile-auth {
    gap: 7px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .page-community .community-mobile-auth__button {
    min-height: 38px;
    font-size: .73rem;
  }

  .page-community .community-auth-success__note {
    font-size: .72rem;
  }
}

.page-community .community-access-strip__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.page-community .community-access-strip__button--signout {
  background: transparent;
  color: var(--text-soft);
  border-color: rgba(130,130,130,.20);
}

.page-community .community-access-strip__button--signout:hover {
  color: #b74c6b;
  border-color: rgba(183,76,107,.38);
}

@media (max-width: 760px) {
  .page-community .community-access-strip__actions {
    width: 100%;
    justify-content: stretch;
  }

  .page-community .community-access-strip__actions .community-access-strip__button {
    flex: 1 1 auto;
  }
}

/* =========================================================
   BLOSSOM AUTH — HEADER COMPACT PATCH v20.2.1
   Removes the full-width Community Access strip and keeps
   Join / Sign In immediately beside the OBSocPH logo.
========================================================= */
.page-community .community-brand-access {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

.page-community .community-brand-access .ob-brand {
  flex: 0 0 auto;
  margin: 0 !important;
}

.page-community .community-brand-access .community-header-auth {
  margin: 0 !important;
  gap: 8px;
}

.page-community .community-header-auth__button {
  min-height: 31px;
  padding: 6px 12px;
}

.page-community .community-header-auth__button.is-primary {
  background: linear-gradient(135deg, rgba(239,120,155,.17), rgba(239,120,155,.08));
  color: #d45f82;
  border-color: rgba(239,120,155,.40);
}

.page-community .community-header-auth__button--signout,
.page-community .community-mobile-auth__button--signout {
  color: var(--text-soft);
}

/* The long page-level member access bar was intentionally removed in v20.2.1. */
.page-community .community-access-strip {
  display: none !important;
}

@media (max-width: 1040px) {
  .page-community .community-brand-access {
    gap: 0;
  }
}
