/* ==========================================================================
   Thai Market Group (thaimarket.group)
   Exact Corporate Pattern & Design System modeled after:
   https://corporate.the-platform-group.com/strategy-en/#strategy
   Colors:
   - Primary Dark Navy: #17222c (rgb(23, 34, 44))
   - Primary Champagne Gold: #cbad69 (rgb(203, 173, 105))
   - Decorative Image Frame Gold: #caad69 (rgb(202, 173, 105))
   - Footer / Submenu Gold: #b5944b (rgb(181, 148, 75))
   - Button Hover Gold: #b59857 (rgb(181, 152, 87))
   - Berry Accent: #801a3a
   ========================================================================== */

:root {
  --navy-primary: #17222c;
  --navy-secondary: #1e2c3a;
  --gold-primary: #cbad69;
  --gold-frame: #caad69;
  --gold-footer: #b5944b;
  --gold-hover: #b59857;
  --berry-accent: #801a3a;
  --bg-white: #ffffff;
  --bg-offwhite: #f8f7f4;
  --text-black: #000000;
  --text-body: #111111;
  --text-muted: #555555;
  --border-light: #e5e2dc;
  --font-en: 'Jost', 'Futura PT', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-th: 'Prompt', 'Noto Sans Thai', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-en), var(--font-th);
  background-color: var(--bg-white);
  color: var(--text-black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.lang-th {
  font-family: var(--font-th), var(--font-en);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   1. HEADER & NAVIGATION (.headernew__bg)
   ========================================================================== */

.headernew__bg {
  background-color: var(--navy-primary);
  height: 90px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.14) 0px 10px 20px 0px;
}

.headernew {
  max-width: 1460px;
  height: 90px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo (.headernew__logo) */
.headernew__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  min-width: 215px;
}

.tpg-logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-wordmark__main {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #ffffff;
}

.logo-wordmark__sub {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 3px;
}

/* Main Navigation (.headernew__nav) */
.headernew__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 15.5px;
  font-weight: 500;
  color: #ffffff;
  padding: 32px 11px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--gold-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-item:hover > .nav-link,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-item:hover > .nav-link::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-plus {
  color: var(--gold-primary);
  font-size: 13px;
  margin-left: 8px;
  transition: transform 0.25s ease;
  display: inline-block;
  font-weight: 700;
}

.nav-item:hover .nav-plus {
  transform: rotate(45deg);
}

/* Dropdown Sub-Menu (.sub-menu) */
.sub-menu {
  position: absolute;
  top: 90px;
  left: 0;
  min-width: 250px;
  background-color: var(--navy-primary);
  border-top: 4px solid var(--gold-footer);
  box-shadow: rgba(0, 0, 0, 0.22) 0px 8px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 1001;
  padding: 8px 0;
}

.nav-item.sub-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  border-left: 3px solid transparent;
}

.sub-menu li a:hover {
  color: var(--gold-primary);
  background-color: rgba(203, 173, 105, 0.08);
  border-left-color: var(--gold-primary);
}

/* Wide 2-Column Dropdown for Job Categories */
.sub-menu.sub-menu-wide {
  min-width: 580px;
  left: -120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 12px 8px;
  gap: 2px 8px;
}

.sub-menu.sub-menu-wide li.sub-menu-header {
  grid-column: 1 / -1;
  padding: 8px 18px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  border-bottom: 1px solid rgba(203, 173, 105, 0.22);
  margin-bottom: 4px;
}

.sub-menu.sub-menu-wide li.sub-menu-footer {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(203, 173, 105, 0.22);
  margin-top: 6px;
  padding-top: 4px;
  display: flex;
  justify-content: space-between;
}

.sub-menu.sub-menu-wide li a {
  padding: 9px 16px;
  font-size: 14.5px;
  justify-content: flex-start;
  gap: 10px;
}

.sub-menu.sub-menu-wide li a i {
  color: var(--gold-primary);
  width: 18px;
  text-align: center;
  font-size: 13.5px;
}

/* Job Category Sub-Filter Bar inside #live-hub */
.job-cat-filter-bar {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold-primary);
}

.job-cat-filter-bar.visible {
  display: flex;
}

.job-cat-pill {
  background-color: var(--bg-offwhite);
  border: 1px solid #d5d0c5;
  color: var(--navy-primary);
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.job-cat-pill i {
  color: var(--gold-footer);
  font-size: 13px;
}

.job-cat-pill.active,
.job-cat-pill:hover {
  background-color: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--gold-primary);
}

.job-cat-pill.active i,
.job-cat-pill:hover i {
  color: var(--gold-primary);
}

/* Language Switcher (.headernew__lang) */
.headernew__lang {
  display: flex;
  align-items: center;
  margin-left: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(203, 173, 105, 0.3);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(203, 173, 105, 0.65);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  padding: 5px 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--gold-primary);
}

.lang-btn.active {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.lang-divider {
  color: rgba(203, 173, 105, 0.45);
  font-size: 14px;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* ==========================================================================
   2. HERO BANNER (section.inner-banner)
   ========================================================================== */

.inner-banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-image: linear-gradient(
      90deg,
      rgba(23, 34, 44, 0.78) 0%,
      rgba(23, 34, 44, 0.45) 50%,
      rgba(23, 34, 44, 0.2) 100%
    ),
    url('assets/images/hero-australia.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.inner-banner__section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 600px;
  padding-left: 140px;
  padding-right: 60px;
  padding-bottom: 64px;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-primary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.banner-eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 2px;
  background-color: var(--gold-primary);
}

.h2-title {
  font-family: var(--font-en), var(--font-th);
  font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: rgba(23, 34, 44, 0.85) 3px 4px 10px;
  max-width: 900px;
}

.banner-subtitle {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  font-weight: 400;
  max-width: 680px;
  line-height: 1.5;
  text-shadow: rgba(0, 0, 0, 0.65) 1px 2px 5px;
}

.banner-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Corporate Buttons (.btn-default / .button-yellow) */
.btn-default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--gold-primary);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  padding: 15px 42px;
  border: 0;
  border-radius: 0px;
  cursor: pointer;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-default:hover {
  background-color: var(--gold-hover);
  color: #ffffff;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(23, 34, 44, 0.65);
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  padding: 14px 36px;
  border: 1px solid var(--gold-primary);
  border-radius: 0px;
  cursor: pointer;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-outline-white:hover {
  background-color: var(--gold-primary);
  color: #ffffff;
}

/* ==========================================================================
   3. KEY METRICS & AUSTRALIAN CITIES BAR
   ========================================================================== */

.city-ticker-bar {
  background-color: var(--navy-primary);
  border-top: 1px solid rgba(203, 173, 105, 0.28);
  border-bottom: 3px solid var(--gold-primary);
  padding: 22px 40px;
}

.city-ticker-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.city-ticker-label {
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(203, 173, 105, 0.35);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-badge:hover,
.city-badge.active {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--navy-primary);
  font-weight: 600;
}

/* ==========================================================================
   4. ALTERNATING 50/50 TEXT-IMAGE MODULES (.inner-page & .text-image-module)
   Exact replica of https://corporate.the-platform-group.com/strategy-en/#strategy
   ========================================================================== */

.inner-page {
  width: 100%;
  padding-top: 120px;
  background-color: var(--bg-white);
}

.jumplink {
  scroll-margin-top: 100px;
}

.text-image-module {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 140px;
}

.text-image-module.right {
  padding-left: 140px;
}

.module-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: flex-start;
}

.module-col {
  width: 50%;
  flex: 0 0 50%;
  position: relative;
}

.text-image-module__section {
  position: relative;
  top: -25px;
}

.text-image-module.left .text-image-module__section {
  padding-left: 110px;
}

/* Signature Two-Line Heading Style:
   <h2><span><span>Our</span></span>VISION</h2> */
.text-image-module__section h2 {
  font-family: var(--font-en), var(--font-th);
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-black);
  margin-bottom: 26px;
  padding-right: 60px;
  letter-spacing: 0.5px;
}

.text-image-module__section h2 > span {
  display: block;
  font-family: var(--font-en), var(--font-th);
  font-size: 38px;
  line-height: 46px;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--text-black);
  margin-bottom: 2px;
}

.text-image-module__content {
  padding-right: 110px;
}

.text-image-module__content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--text-black);
  margin-bottom: 20px;
}

.module-highlights {
  margin-top: 24px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.module-highlight-item {
  border-left: 3px solid var(--gold-primary);
  padding-left: 14px;
  background-color: var(--bg-offwhite);
  padding: 12px 14px;
}

.module-highlight-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-primary);
}

.module-highlight-item span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Signature 200x200px Solid Gold Offset Square Frame (::before) */
.text-image-module__image {
  position: relative;
  width: 100%;
}

.text-image-module__image::before {
  content: '';
  width: 200px;
  height: 200px;
  background-color: var(--gold-frame);
  position: absolute;
  top: -30px;
  z-index: 1;
}

/* Right image: gold square on top-left corner (-30px, -30px) */
.text-image-module.right .text-image-module__image::before {
  left: -30px;
}

/* Left image: gold square on top-right corner (-30px, -30px) */
.text-image-module.left .text-image-module__image::before {
  right: -30px;
  left: auto;
}

.text-image-module__image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 410px;
  object-fit: cover;
  box-shadow: rgba(23, 34, 44, 0.12) 0px 16px 36px;
}

/* Optional Quote Badge inside image (from TPG CSS .text-image-module__quote) */
.image-caption-badge {
  position: relative;
  z-index: 3;
  background-color: var(--navy-primary);
  color: #ffffff;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold-primary);
  margin-top: -26px;
  margin-left: 24px;
}

.image-caption-badge i {
  color: var(--gold-primary);
}

/* ==========================================================================
   5. INTERACTIVE LIVE PLATFORM HUB (NEWS, JOBS & BUSINESS OPPORTUNITIES)
   ========================================================================== */

.platform-hub-section {
  background-color: var(--bg-offwhite);
  padding: 100px 40px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hub-container {
  max-width: 1240px;
  margin: 0 auto;
}

.hub-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 24px;
}

.hub-header h2 {
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-black);
}

.hub-header h2 > span {
  display: block;
  font-size: 36px;
  line-height: 42px;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

/* City Filter Bar inside Hub */
.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-filter-btn {
  background-color: #ffffff;
  border: 1px solid #d5d0c5;
  color: var(--navy-primary);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-filter-btn.active,
.hub-filter-btn:hover {
  background-color: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--gold-primary);
}

/* Hub Category Tabs */
.hub-tabs {
  display: flex;
  border-bottom: 2px solid var(--navy-primary);
  margin-bottom: 36px;
  overflow-x: auto;
}

.hub-tab-btn {
  background-color: transparent;
  border: none;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hub-tab-btn.active {
  background-color: var(--navy-primary);
  color: var(--gold-primary);
}

/* Cards Grid */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hub-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold-primary);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: rgba(23, 34, 44, 0.1) 0px 14px 30px;
}

.hub-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hub-card__city {
  background-color: var(--navy-primary);
  color: var(--gold-primary);
  padding: 4px 11px;
}

.hub-card__tag {
  color: var(--gold-footer);
}

.hub-card h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

.hub-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hub-card__footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.hub-card__highlight {
  color: var(--navy-primary);
}

.hub-card__action {
  color: var(--gold-footer);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
}

.hub-card__action:hover {
  color: var(--navy-primary);
}

.hub-card__source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hub-card__source a {
  color: var(--navy-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-card__source a:hover {
  color: var(--gold-footer);
}

/* ==========================================================================
   5B. FACEBOOK & COMMUNITY CREATOR LIVE FEED SECTION (#facebook-feed)
   Features Apichart Pungkasem (เชฟไทด์ เชฟไทยในออสเตรเลีย - @ChefTide)
   ========================================================================== */

.fb-feed-section {
  background-color: var(--bg-white);
  padding: 100px 40px 40px;
}

.fb-feed-container {
  max-width: 1240px;
  margin: 0 auto;
}

.fb-sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.fb-source-card {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-top: 4px solid var(--gold-primary);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 1px solid rgba(203, 173, 105, 0.2);
  border-right: 1px solid rgba(203, 173, 105, 0.2);
  border-bottom: 1px solid rgba(203, 173, 105, 0.2);
}

.fb-source-card:hover,
.fb-source-card.active {
  background-color: #1f2f3d;
  border-top-color: #1877f2;
  box-shadow: rgba(23, 34, 44, 0.18) 0px 14px 30px;
  transform: translateY(-2px);
}

.fb-source-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fb-source-card__avatar {
  width: 52px;
  height: 52px;
  background-color: var(--gold-primary);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.fb-source-card__avatar i {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #1877f2;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy-primary);
}

.fb-source-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.fb-source-card__followers {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fb-source-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.fb-source-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.fb-source-card__link {
  color: var(--gold-primary);
  font-weight: 600;
}

.fb-source-card__link:hover {
  text-decoration: underline;
}

.fb-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.fb-filter-btn {
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  color: var(--navy-primary);
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fb-filter-btn.active,
.fb-filter-btn:hover {
  background-color: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--gold-primary);
}

@media (max-width: 991px) {
  .fb-sources-grid {
    grid-template-columns: 1fr;
  }
}

.fb-profile-banner {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-left: 6px solid var(--gold-primary);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
  box-shadow: rgba(23, 34, 44, 0.12) 0px 16px 36px;
}

.fb-profile-info {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 780px;
}

.fb-avatar-badge {
  width: 74px;
  height: 74px;
  background-color: var(--gold-primary);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}

.fb-avatar-badge i {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background-color: #1877f2;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--navy-primary);
}

.fb-profile-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-verified-pill {
  background-color: rgba(203, 173, 105, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 12px;
  padding: 3px 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fb-profile-bio {
  color: var(--gold-primary);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 8px;
}

.fb-profile-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.fb-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fb-sync-status {
  font-size: 12.5px;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}

.fb-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.fb-post-card {
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-top: 4px solid #1877f2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-post-card:hover {
  transform: translateY(-3px);
  box-shadow: rgba(23, 34, 44, 0.1) 0px 12px 26px;
}

.fb-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
}

.fb-post-author {
  font-weight: 700;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-post-author i {
  color: #1877f2;
  font-size: 16px;
}

.fb-post-time {
  color: var(--text-muted);
  font-weight: 500;
}

.fb-post-quote {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.fb-post-summary {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.fb-post-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.fb-post-credit {
  color: var(--text-muted);
}

.fb-post-link {
  color: #1877f2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fb-post-link:hover {
  color: var(--navy-primary);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .fb-posts-grid {
    grid-template-columns: 1fr;
  }
  .fb-profile-actions {
    align-items: flex-start;
  }
}

/* ==========================================================================
   6. SEGMENTED FORMS SECTION (JOB SEEKERS / VISA ADVISORY / BUSINESS OWNERS)
   ========================================================================== */

.forms-section {
  background-color: var(--bg-white);
  padding: 110px 40px;
}

.forms-container {
  max-width: 1180px;
  margin: 0 auto;
}

.forms-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: flex-start;
}

.forms-intro h2 {
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.forms-intro h2 > span {
  display: block;
  font-size: 36px;
  line-height: 42px;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.forms-intro p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-selector-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-selector-btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-left: 4px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-selector-btn.active,
.form-selector-btn:hover {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-left-color: var(--gold-primary);
}

.form-selector-btn i {
  font-size: 22px;
  color: var(--gold-primary);
  margin-top: 3px;
}

.form-selector-btn strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.form-selector-btn span {
  font-size: 14px;
  opacity: 0.82;
}

/* Active Form Box */
.form-box {
  background-color: var(--navy-primary);
  color: #ffffff;
  padding: 46px 44px;
  position: relative;
  box-shadow: rgba(23, 34, 44, 0.16) 0px 20px 44px;
}

.form-box::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 140px;
  height: 140px;
  background-color: var(--gold-frame);
  z-index: -1;
}

.form-box__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-box__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--gold-primary);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(203, 173, 105, 0.35);
  color: #ffffff;
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: inherit;
  border-radius: 0;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: rgba(255, 255, 255, 0.12);
}

.form-control option {
  background-color: var(--navy-primary);
  color: #ffffff;
}

.form-submit-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.form-status-msg {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background-color: rgba(203, 173, 105, 0.18);
  border-left: 4px solid var(--gold-primary);
  color: #ffffff;
  font-size: 15px;
}

/* ==========================================================================
   7. FOOTER (footer.footer + .footer-white)
   Exact replica of https://corporate.the-platform-group.com/strategy-en/#strategy
   ========================================================================== */

.footer {
  background-color: var(--navy-primary);
  padding: 56px 24px 48px;
  color: #ffffff;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer__logo {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.footer__logo svg {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

.footer__logo-title {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
}

.footer__logo-sub {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-footer);
  margin-top: 4px;
}

.footer__contact__heading {
  color: var(--gold-footer);
  font-size: 28px;
  font-weight: 400;
  padding-bottom: 28px;
}

.footer__contact__items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  color: #ffffff;
}

.footer__contact__item i {
  color: var(--gold-footer);
  font-size: 18px;
  margin-top: 4px;
  width: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.footer__links__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(auto, auto));
  gap: 18px 64px;
}

.footer__links__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 17px;
}

.footer__links__link i {
  color: var(--gold-footer);
  font-size: 13px;
}

.footer__links__link:hover {
  color: var(--gold-primary);
}

.footer__social {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__social-buttons {
  display: flex;
  gap: 16px;
}

.social-sq-btn {
  width: 35px;
  height: 35px;
  background-color: var(--gold-footer);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.2s ease;
}

.social-sq-btn:hover {
  background-color: var(--gold-primary);
  color: #000000;
}

.footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Bottom White Sub-Footer Language Bar (.footer-white) */
.footer-white {
  background-color: #ffffff;
  padding: 10px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #444444;
}

.footer__lang button {
  background: transparent;
  border: none;
  color: #444444;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.footer__lang button:hover,
.footer__lang button.active {
  background-color: #eeeeee;
  color: #000000;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
  .inner-banner__section {
    padding-left: 60px;
  }
  .text-image-module.right {
    padding-left: 60px;
  }
  .text-image-module__content {
    padding-right: 50px;
  }
  .text-image-module.left .text-image-module__section {
    padding-left: 50px;
  }
  .hub-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Bottom Quick-Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 66px;
  }

  .headernew__bg {
    height: 74px;
  }

  .headernew {
    height: 74px;
    padding: 0 16px;
  }

  .headernew__logo {
    min-width: auto;
    gap: 10px;
  }

  .tpg-logo-svg {
    width: 36px;
    height: 36px;
  }

  .logo-wordmark__main {
    font-size: 14.5px;
    letter-spacing: 1.4px;
  }

  .logo-wordmark__sub {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .headernew__nav {
    display: none;
  }

  .headernew__nav.mobile-open {
    display: block;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 138px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--navy-primary);
    padding: 14px 16px 24px;
    border-top: 2px solid var(--gold-primary);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    z-index: 9999;
  }

  .headernew__nav.mobile-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .headernew__nav.mobile-open .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .headernew__nav.mobile-open .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 8px;
    font-size: 16px;
  }

  .headernew__nav.mobile-open .nav-link::after {
    display: none;
  }

  /* Mobile Accordion Sub-Menus inside Drawer */
  .headernew__nav.mobile-open .sub-menu,
  .headernew__nav.mobile-open .sub-menu.sub-menu-wide {
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.04);
    border-top: none;
    border-left: 3px solid var(--gold-primary);
    margin: 0 0 12px 0;
    padding: 6px 0;
  }

  .headernew__nav.mobile-open .nav-item.sub-open > .sub-menu,
  .headernew__nav.mobile-open .nav-item.sub-open > .sub-menu.sub-menu-wide {
    display: flex;
    flex-direction: column;
  }

  .headernew__nav.mobile-open .nav-item.sub-open .nav-plus {
    transform: rotate(45deg);
  }

  .headernew__nav.mobile-open .sub-menu li a,
  .headernew__nav.mobile-open .sub-menu.sub-menu-wide li a {
    padding: 11px 14px;
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
  }

  .headernew__nav.mobile-open .sub-menu.sub-menu-wide li.sub-menu-footer {
    flex-direction: column;
    gap: 4px;
  }

  .headernew__nav.mobile-open .headernew__lang {
    margin-left: 0;
    margin-top: 14px;
    padding-left: 0;
    padding-top: 12px;
    border-left: none;
    border-top: 1px solid rgba(203, 173, 105, 0.25);
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  /* App-Style Sticky Bottom Quick Bar on Mobile */
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #121c24;
    border-top: 2px solid var(--gold-primary);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    z-index: 9998;
  }

  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    padding: 4px 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-bottom-nav__item i {
    font-size: 16px;
    color: var(--gold-primary);
  }

  .mobile-bottom-nav__item--cta {
    background-color: var(--gold-primary);
    color: var(--navy-primary);
    font-weight: 700;
    border-right: none;
  }

  .mobile-bottom-nav__item--cta i {
    color: var(--navy-primary);
  }

  .inner-banner {
    min-height: 420px;
  }

  .inner-banner__section {
    min-height: 420px;
    padding: 36px 20px 40px;
  }

  .inner-page {
    padding-top: 48px;
  }

  .text-image-module,
  .text-image-module.right {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 64px;
  }

  .module-col {
    width: 100%;
    flex: 0 0 100%;
  }

  .text-image-module__section,
  .text-image-module.left .text-image-module__section {
    top: 0;
    padding-left: 0;
    margin-bottom: 32px;
  }

  .text-image-module.left .module-row {
    flex-direction: column-reverse;
  }

  .text-image-module__content {
    padding-right: 0;
  }

  .forms-layout {
    grid-template-columns: 1fr;
  }

  .hub-cards-grid {
    grid-template-columns: 1fr;
  }

  .fb-posts-grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }

  .footer__links {
    align-items: flex-start;
  }
}

/* ==========================================================================
   8B. SMARTPHONE SCREEN OPTIMIZATIONS (<= 767px)
   Smooth horizontal pill scrolling, no iOS input zoom, compact cards
   ========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .banner-eyebrow {
    font-size: 11.5px;
    letter-spacing: 1.5px;
    line-height: 1.4;
  }

  .banner-eyebrow::before {
    width: 20px;
  }

  .h2-title {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.1;
  }

  .banner-subtitle {
    font-size: 15.5px;
    margin-top: 14px;
  }

  .banner-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .banner-actions .btn-default,
  .banner-actions .btn-outline-white {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* City Ticker Bar — Smooth Horizontal Swipe on Mobile */
  .city-ticker-bar {
    padding: 14px 16px;
  }

  .city-ticker-label {
    font-size: 12.5px;
    letter-spacing: 1px;
  }

  .city-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 4px;
  }

  .city-badge {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    padding: 7px 14px;
  }

  /* Alternating 50/50 Strategy Modules on Mobile */
  .text-image-module__section h2,
  .hub-header h2 {
    font-size: 28px;
    line-height: 1.25;
    padding-right: 0;
    margin-bottom: 18px;
  }

  .text-image-module__section h2 > span,
  .hub-header h2 > span {
    font-size: 22px;
    line-height: 1.3;
  }

  .text-image-module__content p {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .module-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .text-image-module__content .btn-default {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* Prevent decorative 200x200 gold square from overflowing mobile viewport */
  .text-image-module__image::before {
    width: 110px;
    height: 110px;
    top: -12px;
  }

  .text-image-module.right .text-image-module__image::before {
    left: -10px;
  }

  .text-image-module.left .text-image-module__image::before {
    right: -10px;
  }

  .text-image-module__image img {
    height: 240px;
  }

  .image-caption-badge {
    margin-left: 12px;
    margin-right: 12px;
    padding: 10px 14px;
    font-size: 12px;
  }

  /* Facebook Section & Live Hub Section on Mobile */
  .fb-feed-section,
  .platform-hub-section,
  .forms-section {
    padding: 52px 16px;
  }

  /* Horizontal Swipeable Filter Bars on Mobile */
  .fb-filter-bar,
  .hub-filters,
  .job-cat-filter-bar.visible {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px;
    gap: 8px;
    margin-bottom: 20px;
  }

  .fb-filter-btn,
  .hub-filter-btn,
  .job-cat-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 14px;
  }

  .hub-tabs {
    margin-bottom: 20px;
  }

  .hub-tab-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .hub-card,
  .fb-post-card {
    padding: 20px 18px;
  }

  .hub-card h3 {
    font-size: 18px;
  }

  .hub-card__footer,
  .fb-post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hub-card__action {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    background-color: var(--navy-primary);
    color: var(--gold-primary);
  }

  /* Consultation & Application Forms on Mobile */
  .form-box {
    padding: 26px 18px;
  }

  .form-box::before {
    display: none;
  }

  .form-box__title {
    font-size: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 16px font-size prevents iOS Safari from zooming in on focus */
  .form-control,
  .site-admin-gate__field input {
    font-size: 16px;
    padding: 12px 14px;
  }

  .form-submit-row .btn-default {
    width: 100%;
  }

  .footer__links__items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Admin Gate & Top Admin Control Bar on Mobile */
  .site-admin-gate {
    padding: 14px;
  }

  .site-admin-gate__card {
    padding: 24px 18px 20px;
  }

  .site-admin-gate__heading {
    font-size: 18px;
  }

  .site-admin-gate__footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .admin-preview-topbar {
    padding: 8px 12px;
  }

  .admin-preview-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .admin-preview-topbar__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .admin-bar-btn {
    justify-content: center;
    font-size: 11.5px;
    padding: 6px 8px;
  }

  .admin-bar-btn--lock {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   SITE-WIDE ADMIN-ONLY PREVIEW GATE & ADMIN TOP CONTROL BAR
   ========================================================================== */
.site-admin-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at top right, #1f3142 0%, #17222c 65%, #0f171e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.site-admin-gate__card {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-top: 6px solid #cbad69;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  padding: 40px 38px 32px;
  color: #17222c;
  position: relative;
}

.site-admin-gate__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203, 173, 105, 0.16);
  border: 1px solid #cbad69;
  color: #8c6d2c;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.site-admin-gate__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #17222c;
  color: #ffffff;
  padding: 16px 20px;
  margin-bottom: 22px;
  border-left: 4px solid #cbad69;
}

.site-admin-gate__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.site-admin-gate__domain {
  font-size: 12.5px;
  color: #cbad69;
  letter-spacing: 0.5px;
}

.site-admin-gate__heading {
  font-size: 22px;
  font-weight: 700;
  color: #17222c;
  margin-bottom: 10px;
}

.site-admin-gate__desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4b5966;
  margin-bottom: 24px;
}

.site-admin-gate__field {
  margin-bottom: 18px;
}

.site-admin-gate__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #17222c;
  margin-bottom: 7px;
}

.site-admin-gate__field input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #cbd3da;
  font-family: inherit;
  font-size: 14.5px;
  color: #17222c;
  background: #f9fafb;
  transition: border-color 0.2s, background 0.2s;
}

.site-admin-gate__field input:focus {
  outline: none;
  border-color: #b5944b;
  background: #ffffff;
}

.site-admin-gate__error {
  background: #fdecea;
  border-left: 4px solid #d93025;
  color: #a51d14;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.site-admin-gate__btn {
  width: 100%;
  padding: 14px 20px;
  background: #17222c;
  color: #cbad69;
  border: 1.5px solid #cbad69;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.site-admin-gate__btn:hover {
  background: #b5944b;
  color: #ffffff;
}

.site-admin-gate__footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #e6eaee;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6c7a86;
}

/* Top Admin Control Bar */
.admin-preview-topbar {
  background: #0e161d;
  border-bottom: 2px solid #cbad69;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 24px;
  position: sticky;
  top: 0;
  z-index: 10001;
}

.admin-preview-topbar__inner {
  max-width: 1640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-preview-topbar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
}

.admin-mode-pill--private {
  background: rgba(203, 173, 105, 0.22);
  border: 1px solid #cbad69;
  color: #cbad69;
}

.admin-mode-pill--public {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.admin-owner-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
}

.admin-preview-topbar__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-bar-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.admin-bar-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.admin-bar-btn--gold {
  background: #cbad69;
  border-color: #cbad69;
  color: #17222c;
  font-weight: 600;
}

.admin-bar-btn--gold:hover {
  background: #b5944b;
  color: #ffffff;
}

.admin-bar-btn--lock {
  border-color: rgba(231, 76, 60, 0.6);
  color: #ffb8b0;
}

.admin-bar-btn--lock:hover {
  background: #c0392b;
  color: #ffffff;
}

/* ==========================================================================
   9. PLAN YOUR MOVE TO AUSTRALIA — 10 INTERACTIVE ARTICLES & CASE STUDIES
   ========================================================================== */
.plan-showcase-section {
  background-color: var(--bg-offwhite);
  padding: 96px 40px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.plan-showcase-container {
  max-width: 1240px;
  margin: 0 auto;
}

.plan-section-lead {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16.5px;
  max-width: 900px;
  line-height: 1.6;
}

.plan-topic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--gold-primary);
}

.plan-topic-btn {
  background-color: var(--bg-offwhite);
  border: 1px solid #d5d0c5;
  color: var(--navy-primary);
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.plan-topic-btn i {
  color: var(--gold-footer);
}

.plan-topic-btn.active,
.plan-topic-btn:hover {
  background-color: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--gold-primary);
}

.plan-topic-btn.active i,
.plan-topic-btn:hover i {
  color: var(--gold-primary);
}

/* Featured Article + Photo + Case Study Layout */
.plan-article-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--gold-primary);
  box-shadow: 0 18px 44px rgba(23, 34, 44, 0.08);
  padding: 40px;
}

.plan-article-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 38px;
  align-items: start;
}

.plan-article-visual {
  position: relative;
}

.plan-article-photo-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-primary);
  background-color: var(--navy-primary);
}

.plan-article-photo-wrap img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.plan-article-photo-caption {
  background-color: var(--navy-primary);
  color: #ffffff;
  padding: 13px 18px;
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-article-photo-caption i {
  color: var(--gold-primary);
  margin-top: 3px;
}

.plan-quick-facts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-fact-item {
  background-color: var(--bg-offwhite);
  border-left: 3px solid var(--gold-primary);
  padding: 11px 14px;
  font-size: 14px;
}

.plan-fact-item strong {
  display: block;
  color: var(--navy-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.plan-article-body {
  padding-right: 12px;
}

.plan-article-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--navy-primary);
  color: var(--gold-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 12px;
}

.plan-article-title {
  font-size: 27px;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.plan-article-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 20px;
}

/* Case Study Story Box */
.plan-case-study-box {
  background-color: #17222c;
  color: #ffffff;
  border-left: 5px solid var(--gold-primary);
  padding: 22px 24px;
  margin-bottom: 22px;
}

.plan-case-study-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-primary);
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.plan-case-study-title {
  font-size: 17.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-case-study-story {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* Visa Preparation Steps List */
.plan-steps-box {
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.plan-steps-box h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-steps-box h4 i {
  color: var(--gold-footer);
}

.plan-steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.plan-steps-list li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.plan-steps-list li i {
  color: var(--gold-footer);
  margin-top: 4px;
  font-size: 12px;
}

.plan-article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.plan-official-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
  font-size: 14.5px;
  font-weight: 600;
}

.plan-official-link:hover {
  background-color: var(--navy-primary);
  color: var(--gold-primary);
}

@media (max-width: 991px) {
  .plan-article-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plan-article-body {
    padding-right: 0;
  }
}

/* ==========================================================================
   10. MASTER MOBILE MODE OVERRIDES (<= 767px)
   Placed at the end of stylesheet so mobile rules override all desktop rules
   ========================================================================== */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100vw;
    font-size: 14.5px;
    line-height: 1.6;
  }

  body {
    padding-bottom: 64px;
  }

  /* 1. Compact Header & Non-Sticky Admin Bar on Mobile */
  .admin-preview-topbar {
    position: relative;
    padding: 8px 12px;
    font-size: 11.5px;
  }

  .admin-preview-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .admin-preview-topbar__left {
    justify-content: space-between;
    gap: 6px;
  }

  .admin-mode-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  .admin-owner-label {
    font-size: 11px;
  }

  .admin-preview-topbar__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .admin-bar-btn {
    justify-content: center;
    font-size: 11px;
    padding: 6px 8px;
  }

  .admin-bar-btn--lock {
    grid-column: 1 / -1;
  }

  .headernew__bg {
    height: 62px;
  }

  .headernew {
    height: 62px;
    padding: 0 14px;
  }

  .headernew__nav.mobile-open {
    top: 62px;
    max-height: calc(100dvh - 126px);
  }

  .tpg-logo-svg {
    width: 32px;
    height: 32px;
  }

  .logo-wordmark__main {
    font-size: 13.5px;
    letter-spacing: 1.2px;
  }

  .logo-wordmark__sub {
    font-size: 8.5px;
    letter-spacing: 1.6px;
  }

  /* 2. Compact Mobile Hero Banner */
  .inner-banner {
    min-height: 310px;
  }

  .inner-banner__section {
    min-height: 310px;
    padding: 26px 16px 28px;
  }

  .banner-eyebrow {
    font-size: 10.5px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
  }

  .banner-eyebrow::before {
    width: 16px;
  }

  .h2-title {
    font-size: 26px;
    line-height: 1.18;
  }

  .banner-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 10px;
  }

  .banner-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  .banner-actions .btn-default,
  .banner-actions .btn-outline-white {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  /* 3. Clean Horizontal Touch Scrollbars (Hide Ugly Scrollbar Track) */
  .city-badges,
  .plan-topic-bar,
  .fb-filter-bar,
  .hub-filters,
  .hub-tabs,
  .job-cat-filter-bar.visible,
  .fb-sources-grid,
  .fb-posts-grid,
  .hub-cards-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .city-badges::-webkit-scrollbar,
  .plan-topic-bar::-webkit-scrollbar,
  .fb-filter-bar::-webkit-scrollbar,
  .hub-filters::-webkit-scrollbar,
  .hub-tabs::-webkit-scrollbar,
  .job-cat-filter-bar.visible::-webkit-scrollbar,
  .fb-sources-grid::-webkit-scrollbar,
  .fb-posts-grid::-webkit-scrollbar,
  .hub-cards-grid::-webkit-scrollbar {
    display: none;
  }

  /* 4. Proportional Strategy Modules & Images on Mobile */
  .inner-page {
    padding-top: 32px;
  }

  .text-image-module,
  .text-image-module.right {
    padding: 12px 16px 36px;
  }

  .text-image-module__section,
  .text-image-module.left .text-image-module__section {
    margin-bottom: 20px;
  }

  .text-image-module__section h2,
  .hub-header h2,
  .forms-intro h2 {
    font-size: 22px;
    line-height: 1.3;
    padding-right: 0;
    margin-bottom: 12px;
  }

  .text-image-module__section h2 > span,
  .hub-header h2 > span,
  .forms-intro h2 > span {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 2px;
  }

  .text-image-module__content p,
  .forms-intro p,
  .plan-section-lead {
    font-size: 14.5px;
    line-height: 1.62;
    margin-bottom: 14px;
  }

  /* Hide protruding 200x200 square on mobile so zero horizontal overflow occurs */
  .text-image-module__image::before {
    display: none;
  }

  .text-image-module__image img {
    height: 190px;
    border-top: 4px solid var(--gold-primary);
  }

  .image-caption-badge {
    margin: -16px 10px 0;
    padding: 8px 12px;
    font-size: 11.5px;
    display: flex;
  }

  .module-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 16px;
  }

  .module-highlight-item {
    padding: 9px 10px;
  }

  .module-highlight-item strong {
    font-size: 13.5px;
  }

  .module-highlight-item span {
    font-size: 12px;
  }

  .text-image-module__content .btn-default {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  /* 5. Plan Your Move Section (#plan-australia) on Mobile */
  .plan-showcase-section,
  .fb-feed-section,
  .platform-hub-section,
  .forms-section {
    padding: 36px 14px;
  }

  .plan-topic-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px;
    margin-bottom: 16px;
    gap: 6px;
  }

  .plan-topic-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .plan-article-card {
    padding: 16px 14px;
  }

  .plan-article-grid {
    gap: 16px;
  }

  .plan-article-photo-wrap img {
    height: 185px;
  }

  .plan-article-photo-caption {
    padding: 9px 12px;
    font-size: 12px;
  }

  .plan-quick-facts {
    margin-top: 10px;
    gap: 8px;
  }

  .plan-fact-item {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .plan-fact-item strong {
    font-size: 11.5px;
  }

  .plan-article-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .plan-article-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .plan-article-text {
    font-size: 14px;
    line-height: 1.62;
    margin-bottom: 14px;
  }

  .plan-case-study-box {
    padding: 14px 14px;
    margin-bottom: 14px;
  }

  .plan-case-study-header {
    font-size: 12px;
  }

  .plan-case-study-title {
    font-size: 15px;
  }

  .plan-case-study-story {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .plan-steps-box {
    padding: 14px;
    margin-bottom: 16px;
  }

  .plan-steps-box h4 {
    font-size: 14px;
  }

  .plan-steps-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .plan-steps-list li {
    font-size: 13px;
  }

  .plan-article-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .plan-article-actions .btn-default,
  .plan-official-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    font-size: 13.5px;
  }

  /* 6. Smooth App-Like Horizontal Swipe Carousels for Facebook & Hub Cards on Mobile */
  .fb-sources-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 4px;
  }

  .fb-source-card {
    flex: 0 0 82vw;
    max-width: 82vw;
    scroll-snap-align: start;
    padding: 16px;
  }

  .fb-posts-grid,
  .hub-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
  }

  .fb-post-card,
  .hub-card {
    flex: 0 0 85vw;
    max-width: 85vw;
    scroll-snap-align: start;
    padding: 16px 15px;
  }

  .fb-post-quote,
  .hub-card h3 {
    font-size: 16.5px;
    line-height: 1.38;
  }

  .fb-post-summary,
  .hub-card p {
    font-size: 13.8px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  /* 7. Compact Forms on Mobile */
  .forms-layout {
    gap: 24px;
  }

  .form-selector-btn {
    padding: 14px 16px;
    gap: 12px;
  }

  .form-selector-btn strong {
    font-size: 15px;
  }

  .form-selector-btn span {
    font-size: 13px;
  }

  .form-box {
    padding: 22px 16px;
  }

  .form-box__title {
    font-size: 18px;
  }

  .form-box__subtitle {
    font-size: 13.5px;
    margin-bottom: 18px;
  }

  /* 8. Admin Gate Card on Mobile */
  .site-admin-gate {
    padding: 12px;
  }

  .site-admin-gate__card {
    padding: 22px 16px 18px;
  }

  .site-admin-gate__brand {
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .site-admin-gate__title {
    font-size: 15.5px;
  }

  .site-admin-gate__heading {
    font-size: 17.5px;
  }

  .site-admin-gate__desc {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .site-admin-gate__btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .site-admin-gate__footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* ============================================================================
   19. 4-ROLE USER ACCOUNT, TINDER-STYLE MATRIX MATCHING & 3-TIER MEMBERSHIP
   Desktop + Mobile Phone Responsive Styling
   ============================================================================ */

.matching-ecosystem-section {
  background: linear-gradient(180deg, #0f1b2d 0%, #16263f 48%, #f4f6fa 48%, #f4f6fa 100%);
  padding: 68px 0 76px;
  border-top: 3px solid var(--gold-primary);
}

.matching-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.matching-top-header {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  color: #ffffff;
}

.matching-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.matching-main-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
}

.matching-main-lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

/* Launch Campaign Card */
.launch-campaign-card {
  background: linear-gradient(135deg, rgba(203, 173, 105, 0.18), rgba(255, 255, 255, 0.06));
  border: 1.5px solid rgba(203, 173, 105, 0.65);
  border-radius: 14px;
  padding: 18px 20px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.launch-campaign-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.launch-pill {
  background: var(--gold-primary);
  color: #111d30;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.current-tier-pill {
  font-size: 13px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
  padding: 4px 12px;
  border-radius: 999px;
}

.launch-campaign-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.launch-unlock-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(10, 20, 35, 0.55);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.launch-progress-box {
  font-size: 13px;
  color: #e2e8f0;
}

.launch-progress-box strong {
  color: var(--gold-primary);
}

.launch-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.launch-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.launch-action-btn {
  background: var(--gold-primary);
  color: #0f1b2d;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.launch-action-btn:hover {
  background: #dfc380;
  transform: translateY(-1px);
}

.launch-action-btn--alt {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.launch-action-btn--alt:hover {
  background: rgba(255, 255, 255, 0.24);
}

.tier-simulator-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

.tier-sim-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tier-sim-btn.active {
  background: #ffffff;
  color: #0f1b2d;
  border-color: var(--gold-primary);
  font-weight: 700;
}

/* Step 1: 4 User Roles Selector & Matching Matrix */
.role-matrix-bar {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 12px 34px rgba(15, 27, 45, 0.1);
  border: 1px solid rgba(27, 47, 75, 0.1);
  margin-bottom: 20px;
}

.role-matrix-bar__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 16px;
}

.matrix-rule-indicator {
  background: #f0f5ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.role-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.role-card-btn {
  text-align: left;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.role-card-btn:hover {
  border-color: var(--gold-primary);
  background: #ffffff;
}

.role-card-btn.active {
  background: var(--navy-primary);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(27, 47, 75, 0.22);
}

.role-card-btn__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.role-num-badge {
  background: var(--gold-primary);
  color: #111d30;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.role-num-badge--legal {
  background: #f59e0b;
  color: #111d30;
}

.role-matrix-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.role-card-btn.active .role-matrix-tag {
  color: #fde68a;
}

.role-card-btn strong {
  font-size: 15px;
  color: var(--navy-primary);
}

.role-card-btn.active strong {
  color: #ffffff;
}

.role-card-btn span {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
}

.role-card-btn.active span {
  color: rgba(255, 255, 255, 0.82);
}

/* Role-Specific Options Showcase (10 Seeker Interests / 5 Role Offers) */
.role-options-showcase {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}

.role-options-showcase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.role-options-showcase__head strong {
  font-size: 15px;
  color: var(--navy-primary);
}

.role-options-showcase__head p {
  font-size: 13px;
  color: #475569;
  margin: 2px 0 0;
}

.role-opt-reset-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--navy-primary);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.role-options-showcase__sub {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}

.role-options-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-opt-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.role-opt-pill i {
  color: var(--gold-primary);
}

.role-opt-pill:hover,
.role-opt-pill.active {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

/* Step 2: Filters & Quota Bar */
.matching-filters-bar {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 6px 20px rgba(15, 27, 45, 0.06);
  border: 1px solid rgba(27, 47, 75, 0.08);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.matching-filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mfilter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-primary);
}

.mfilter-item select {
  padding: 7px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
}

.ai-match-sort-btn,
.boost-profile-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.boost-profile-btn {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.matching-quota-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quota-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
}

.quota-pill--super {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

/* Step 3: 2-Column Main Matching Workspace */
.matching-workspace-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.swipe-deck-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swipe-card-stage {
  position: relative;
  min-height: 510px;
}

.tinder-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 27, 45, 0.14);
  border: 1.5px solid rgba(27, 47, 75, 0.12);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.tinder-card.swipe-anim-right {
  transform: translateX(90px) rotate(8deg);
  opacity: 0.15;
}

.tinder-card.swipe-anim-left {
  transform: translateX(-90px) rotate(-8deg);
  opacity: 0.15;
}

.tinder-card.swipe-anim-super {
  transform: translateY(-70px) scale(1.03);
  opacity: 0.15;
}

.tinder-card--empty {
  padding: 48px 28px;
  text-align: center;
}

.tinder-card__banner {
  padding: 20px 22px;
  color: #ffffff;
}

.tinder-card__banner-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.tcard-role-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.tcard-match-score {
  background: #10b981;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.tinder-card__identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tcard-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.tcard-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.tcard-name-row h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.tcard-tier-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.tcard-tier-badge--gold {
  background: #fef3c7;
  color: #92400e;
}

.tcard-tier-badge--crystal {
  background: #e0e7ff;
  color: #3730a3;
}

.tcard-location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.tinder-card__body {
  padding: 20px 22px;
}

.tcard-marn-verified {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  color: #92400e;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tcard-headline {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.45;
  margin: 0 0 8px;
}

.tcard-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 14px;
}

.tcard-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tcard-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
}

.tcard-meta-box.full {
  grid-column: 1 / -1;
}

.tcard-meta-label {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.tcard-meta-box strong {
  font-size: 13.5px;
  color: #1e293b;
}

.tcard-tags-section {
  margin-bottom: 14px;
}

.tcard-tags-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.tcard-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tcard-interest-tag {
  background: #f0f5ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.tcard-privacy-shield {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 10px;
}

.tcard-privacy-shield__icon {
  color: var(--navy-primary);
  font-size: 16px;
  margin-top: 2px;
}

.tcard-privacy-shield__text strong {
  display: block;
  color: var(--navy-primary);
}

.tcard-deck-counter {
  text-align: right;
  font-size: 12px;
  color: #64748b;
}

/* 4 Tinder Action Buttons */
.tinder-action-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tinder-btn {
  border: none;
  border-radius: 12px;
  padding: 13px 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

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

.tinder-btn--rewind {
  background: #fef3c7;
  color: #92400e;
  border: 1.5px solid #f59e0b;
}

.tinder-btn--pass {
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #f87171;
}

.tinder-btn--super {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.tinder-btn--connect {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
}

.swipe-feedback-banner {
  background: #ffffff;
  border-left: 4px solid var(--gold-primary);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 27, 45, 0.06);
}

.swipe-feedback-banner--match {
  background: #ecfdf5;
  border-left-color: #10b981;
  color: #065f46;
  font-weight: 600;
}

.swipe-feedback-banner--warn {
  background: #fffbeb;
  border-left-color: #f59e0b;
  color: #92400e;
}

/* Right Column: Companion Panel (Chat, Likes, Register) */
.matching-companion-column {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 27, 45, 0.12);
  border: 1.5px solid rgba(27, 47, 75, 0.1);
  overflow: hidden;
}

.companion-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.companion-tab-btn {
  background: transparent;
  border: none;
  padding: 14px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 3px solid transparent;
}

.companion-tab-btn.active {
  background: #ffffff;
  color: var(--navy-primary);
  border-bottom-color: var(--gold-primary);
}

.match-count-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
}

.match-count-badge--gold {
  background: #f59e0b;
}

.companion-panel {
  display: none;
  padding: 18px 20px;
}

.companion-panel.active {
  display: block;
}

.matched-strip-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

.matched-profiles-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.matched-pill-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  text-align: left;
}

.matched-pill-btn.active {
  background: #eff6ff;
  border-color: #2563eb;
}

.matched-pill-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matched-pill-info strong {
  display: block;
  font-size: 12.5px;
  color: var(--navy-primary);
}

.matched-pill-info span {
  font-size: 11px;
  color: #64748b;
}

/* Active Chat Room */
.match-chat-room {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.chat-room-header {
  background: var(--navy-primary);
  color: #ffffff;
  padding: 12px 14px;
}

.chat-room-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-room-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid var(--gold-primary);
}

.chat-room-header h4 {
  font-size: 14.5px;
  color: #ffffff;
  margin: 0 0 2px;
}

.chat-marn-tag {
  background: #f59e0b;
  color: #111d30;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.chat-room-header span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.chat-shared-tags-bar {
  background: #f8fafc;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chat-shared-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.chat-shared-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.chat-consent-box {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #92400e;
}

.chat-consent-box--unlocked {
  background: #ecfdf5;
  border-bottom-color: #a7f3d0;
  color: #065f46;
}

.chat-consent-box__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.consent-toggle-btn {
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.consent-toggle-btn--revoke {
  background: #047857;
}

.chat-revealed-grid {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(4, 120, 87, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 12px;
}

.chat-messages-List {
  max-height: 195px;
  overflow-y: auto;
  padding: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble-row {
  display: flex;
}

.chat-bubble-row--me {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 13px;
}

.chat-bubble-row--me .chat-bubble {
  background: var(--navy-primary);
  color: #ffffff;
}

.chat-bubble__meta {
  font-size: 10.5px;
  opacity: 0.72;
  margin-bottom: 3px;
}

.chat-attachment-toolbar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-tool-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--navy-primary);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.chat-tool-btn--ultra {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
}

.chat-input-form {
  display: flex;
  border-top: 1px solid #e2e8f0;
}

.chat-text-input {
  flex: 1;
  border: none;
  padding: 11px 12px;
  font-size: 13.5px;
  font-family: inherit;
}

.chat-send-btn {
  background: var(--gold-primary);
  color: #111d30;
  border: none;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* Tab 2: See Who Liked You */
.who-liked-banner {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.who-liked-banner--locked {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.who-liked-banner--unlocked {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.who-liked-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.who-liked-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}

.who-liked-card--blurred .who-liked-avatar,
.who-liked-card--blurred p {
  filter: blur(5px);
  user-select: none;
}

.who-liked-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.who-liked-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.who-liked-card h5 {
  font-size: 13px;
  color: var(--navy-primary);
  margin: 0;
}

.who-liked-card span {
  font-size: 11.5px;
  color: #64748b;
}

.who-liked-card p {
  font-size: 12px;
  color: #475569;
  margin: 0 0 10px;
}

.who-liked-match-btn {
  width: 100%;
  background: var(--navy-primary);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Tab 3: 4-Role Registration Form */
.register-role-box h4 {
  font-size: 16.5px;
  color: var(--navy-primary);
  margin: 0 0 4px;
}

.register-role-sub {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 14px;
}

.reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reg-field.full {
  grid-column: 1 / -1;
}

.reg-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-primary);
}

.reg-input {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}

.reg-marn-box {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  padding: 10px 12px;
  border-radius: 10px;
}

.reg-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  max-height: 155px;
  overflow-y: auto;
  background: #f8fafc;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.reg-check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500 !important;
  color: #1e293b;
}

.reg-submit-row {
  margin-top: 12px;
}

.reg-status-msg {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
}

.reg-status-msg--success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.reg-status-msg--error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Step 4: 3-Tier Membership Comparison Matrix Table */
.membership-comparison-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(15, 27, 45, 0.09);
  border: 1px solid rgba(27, 47, 75, 0.1);
}

.membership-comparison-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.membership-comparison-head h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 4px 0 6px;
}

.membership-comparison-head p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

.db-schema-ready-pill {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tier-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tier-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13.5px;
}

.tier-comparison-table th,
.tier-comparison-table td {
  padding: 13px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}

.tier-comparison-table thead th {
  background: #f8fafc;
  color: var(--navy-primary);
}

.th-tier-featured {
  background: #fffbeb !important;
  border-top: 3px solid #f59e0b !important;
}

.th-tier-ultra {
  background: #eef2ff !important;
  border-top: 3px solid #6366f1 !important;
}

.th-tier-badge {
  display: inline-block;
  background: #f59e0b;
  color: #111d30;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.th-tier-badge--ultra {
  background: #4f46e5;
  color: #ffffff;
}

.th-tier-title {
  font-size: 15px;
  font-weight: 800;
}

.th-tier-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.td-highlight {
  background: rgba(254, 243, 199, 0.32);
  color: #78350f;
}

.td-ultra {
  background: rgba(224, 231, 255, 0.35);
  color: #312e81;
}

.table-badge-gold {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.table-badge-crystal {
  background: #e0e7ff;
  color: #3730a3;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

/* Mobile Phone Mode Overrides for Matching & Membership Section */
@media (max-width: 991px) {
  .matching-top-header,
  .matching-workspace-grid {
    grid-template-columns: 1fr;
  }

  .role-selector-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .matching-ecosystem-section {
    padding: 36px 0 42px;
  }

  .matching-container {
    padding: 0 14px;
  }

  .matching-main-title {
    font-size: 22px;
  }

  .matching-main-lead {
    font-size: 14px;
  }

  .role-matrix-bar {
    padding: 16px 14px;
  }

  .role-selector-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .role-options-pills-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .role-opt-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .tinder-card__banner {
    padding: 16px;
  }

  .tinder-card__body {
    padding: 16px;
  }

  .tcard-meta-grid,
  .who-liked-grid,
  .reg-form-grid,
  .chat-revealed-grid {
    grid-template-columns: 1fr;
  }

  .tinder-action-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .companion-tab-btn {
    font-size: 12px;
    padding: 11px 6px;
  }

  .membership-comparison-block {
    padding: 18px 14px;
  }

  .membership-comparison-head h3 {
    font-size: 19px;
  }
}
