    /* ============================================
       Profile-Master-Template-V3-20251128
       Django/Wagtail Ready - Hub-Matching Layout
       Zipped/Unzipped View Modes
       Hanging Avatar + External Text Labels
       Composer as Grid Tile

       NOTE: Header styles are consolidated in header-components.css
       Do not add header styles here - they will cause conflicts
       ============================================ */

    :root {
      /* Hub Theme Variables — hub-primary/gradient driven by pocits-hub-themes.css */
      --hub-primary: var(--hub-color, #4A90E2);
      --hub-gradient: linear-gradient(135deg, var(--hub-color, #4A90E2), var(--hub-color-dark, #3A7BC8));
      --hub-light: rgba(255,255,255,0.06);
      --hub-glow: rgba(255,255,255,0.08);
      --hub-name: "";

      /* Profile-specific */
      --profile-accent: #4A90E2;
      --profile-accent-light: rgba(74,144,226,0.15);

      /* System Colors — Dark Mode */
      --bg-page: #1a1a2e;
      --bg-card: #1e1e2e;
      --bg-dark: #0f0f1a;
      --bg-dropdown: #1a1a2e;
      --bg-dropdown-section: #1e1e2e;
      --text-primary: #ffffff;
      --text-secondary: rgba(255,255,255,0.65);
      --text-muted: rgba(255,255,255,0.40);
      --text-light: rgba(255,255,255,0.25);
      --text-white: #ffffff;
      --border-light: rgba(255,255,255,0.06);
      --border-medium: rgba(255,255,255,0.10);
      --border-dark: rgba(255,255,255,0.20);

      /* Spacing - inherits from header-components.css
         Do not override --space-lg here as it breaks header padding */
      --space-xs: 4px;
      --space-sm: 8px;
      --space-md: 12px;
      --space-lg: 16px;
      --space-xl: 24px;
      --space-2xl: 32px;

      /* Layout */
      --header-height: 60px;

      /* Border Radius */
      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --radius-xl: 16px;

      /* Shadows */
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
      --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
      --shadow-dropdown: 0 10px 40px rgba(0,0,0,0.4);

      /* Profile Avatar */
      --avatar-size: 120px;
      --avatar-border: 4px;
      --avatar-offset: 80px;
    }

    /* Hub Theme Variants - defined in pocits-hub-themes.css */

    /* =========================================
       PROFILE TYPE VARIANTS
       ========================================= */

    /* Personal Profiles - Round Avatar */
    [data-profile-type="person"] .profile-avatar,
    [data-profile-type="couple"] .profile-avatar,
    [data-profile-type="professional"] .profile-avatar,
    [data-profile-type="expert"] .profile-avatar,
    [data-profile-type="casual"] .profile-avatar {
      border-radius: 50%;
    }

    /* Entity/Organization Profiles - Square Avatar */
    [data-profile-type="company"] .profile-avatar,
    [data-profile-type="organization"] .profile-avatar,
    [data-profile-type="group"] .profile-avatar {
      border-radius: var(--radius-lg);
    }

    /* =========================================
       VIEW MODE: ZIPPED / UNZIPPED
       ========================================= */

    /* UNZIPPED: Show sidebar, 3-column posts */
    [data-view="unzipped"] .main-grid {
      grid-template-columns: 220px minmax(0, 1fr) 280px;
    }
    [data-view="unzipped"] .sidebar {
      display: block;
    }
    [data-view="unzipped"] .post-grid {
      column-count: 3;
    }
    [data-view="unzipped"] .zipper-icon .zipper-open { display: block; }
    [data-view="unzipped"] .zipper-icon .zipper-closed { display: none; }

    /* ZIPPED: Hide sidebar, 4-column posts */
    [data-view="zipped"] .main-grid {
      grid-template-columns: minmax(0, 1fr) 280px;
    }
    [data-view="zipped"] .sidebar {
      display: none;
    }
    [data-view="zipped"] .post-grid {
      column-count: 4;
    }
    [data-view="zipped"] .zipper-icon .zipper-open { display: none; }
    [data-view="zipped"] .zipper-icon .zipper-closed { display: block; }

    /* Universal reset moved to header-components.css to avoid conflicts */

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg-page);
      color: var(--text-primary);
      line-height: 1.5;
    }

    /* =========================================
       HUB COLOR LINE
       ========================================= */
    .hub-indicator {
      width: 100%;
      height: 8px;
      background: var(--hub-gradient);
      position: sticky;
      top: 56px;
      z-index: 99;
      /* cursor: pointer; */
      /* transition: height 0.2s, box-shadow 0.2s; */
    }
    /*
    .hub-indicator:hover {
      height: 5px;
      box-shadow: 0 2px 12px var(--hub-glow);
    }
    */
    /* =========================================
       BILLBOARD - Hanging Avatar Style
       Narrower width allows posts to flow beside it
       ========================================= */
    .billboard-wrapper {
      position: relative;
      float: left;
      /* width: 70%;   NV */
      width: 100%;
      margin-right: var(--space-lg);
      margin-bottom: var(--space-lg);
    }

    .profile-billboard {
      width: 100%;
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
      border-radius: 0 !important;
      border-top-left-radius: 0 !important;
    }

    .billboard-credit {
      position: absolute;
      bottom: var(--space-sm);
      right: var(--space-md);
      background: rgba(0,0,0,0.6);
      color: white;
      padding: var(--space-xs) var(--space-sm);
      border-radius: var(--radius-sm);
      font-size: 11px;
    }

    /* No Billboard - Hide whitespace when banner not set */
    .billboard-wrapper.no-billboard {
      margin-bottom: var(--space-md);
    }

    .billboard-wrapper.no-billboard .profile-billboard {
      display: none;  /* Defensive: hide even if rendered */
    }

    /* .billboard-wrapper.no-billboard .profile-info-bar {
      padding-top: var(--space-sm);
    } */
    .billboard-wrapper.no-billboard {
      padding-top: var(--space-sm);
    }

    .billboard-wrapper.no-billboard .profile-avatar {
      margin-top: 0;  /* Remove negative offset when no billboard to hang over */
    }

    /* Profile Info Section - Below Billboard */
    .profile-info-bar {
      display: flex;
      align-items: flex-start;
      padding-top: var(--space-md);
      padding-bottom: var(--space-xl);
      gap: var(--space-md);
    }

    /* Hanging Avatar */
    .profile-avatar {
      width: var(--avatar-size);
      height: var(--avatar-size);
      border: var(--avatar-border) solid rgba(255,255,255,0.15);
      box-shadow: var(--shadow-md);
      overflow: hidden;
      background: #2a2a3e;
      flex-shrink: 0;
      margin-top: calc(-1 * var(--avatar-offset));
      margin-left: 10px;
      position: relative;
      z-index: 10;
    }

    .profile-avatar-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--hub-gradient);
      color: white;
      font-size: 36px;
      font-weight: 600;
    }

    .profile-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Profile Text - Dark, Single Line */
    .profile-text-info {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding-top: var(--space-xs);
      flex: 1;
    }

    .profile-display-name {
      font-size: 20px;
      font-weight: 600;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: var(--space-xs);
    }

    .verified-badge {
      width: 18px;
      height: 18px;
      color: #3B82F6;
    }

    .profile-title {
      font-size: 16px;
      color: var(--text-secondary);
    }

    /* Profile Actions - Follow button */
    .profile-actions {
      margin-left: auto;
      padding-top: var(--space-xs);
    }

    .follow-btn {
      background: var(--hub-gradient);
      color: white;
      border: none;
      padding: var(--space-sm) var(--space-xl);
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: opacity 0.2s, transform 0.2s;
    }

    .follow-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    .follow-btn.following {
      background: rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.65);
      border: 1px solid rgba(255,255,255,0.15);
    }

    /* ── Pocket-Card Button ─────────────────────────────────── */
    .pocket-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      background: transparent;
      color: #a0a0c0;
      border: 1.5px solid #3a3a52;
      padding: 6px 14px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .pocket-btn:hover {
      border-color: #7c7cba;
      color: #d0d0ff;
    }
    .pocket-btn.in-pocket {
      border-color: #6c63ff;
      color: #a8a0ff;
      background: rgba(108,99,255,0.12);
    }
    .pocket-btn svg {
      flex-shrink: 0;
    }

    /* ── Pocket-Card Modal ──────────────────────────────────── */
    .pocket-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: 9000;
      align-items: center;
      justify-content: center;
    }
    .pocket-modal-overlay.open {
      display: flex;
    }
    .pocket-modal {
      background: #1e1e30;
      border: 1px solid #3a3a52;
      border-radius: 12px;
      width: 360px;
      max-width: 95vw;
      padding: 24px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    .pocket-modal-title {
      font-size: 16px;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 4px;
    }
    .pocket-modal-sub {
      font-size: 12px;
      color: #7878a0;
      margin-bottom: 18px;
    }
    .pocket-profile-list {
      list-style: none;
      margin: 0 0 20px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .pocket-profile-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      cursor: pointer;
      background: #2a2a3e;
      border: 1.5px solid transparent;
      transition: border-color 0.15s, background 0.15s;
    }
    .pocket-profile-item:hover {
      background: #2e2e48;
    }
    .pocket-profile-item.selected {
      border-color: #6c63ff;
      background: rgba(108,99,255,0.1);
    }
    .pocket-profile-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #3a3a52;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 600;
      color: #d0d0ff;
      flex-shrink: 0;
      overflow: hidden;
    }
    .pocket-profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .pocket-profile-name {
      flex: 1;
      font-size: 14px;
      color: #e0e0f0;
      font-weight: 500;
    }
    .pocket-profile-handle {
      font-size: 11px;
      color: #6868a0;
    }
    .pocket-profile-check {
      width: 18px;
      height: 18px;
      border-radius: 4px;
      border: 1.5px solid #5a5a80;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.15s, border-color 0.15s;
    }
    .pocket-profile-item.selected .pocket-profile-check {
      background: #6c63ff;
      border-color: #6c63ff;
    }
    .pocket-modal-actions {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
    }
    .pocket-cancel-btn {
      background: transparent;
      color: #8080a8;
      border: 1px solid #3a3a52;
      padding: 8px 18px;
      border-radius: 6px;
      font-size: 13px;
      cursor: pointer;
    }
    .pocket-cancel-btn:hover { border-color: #5a5a80; color: #a0a0c0; }
    .pocket-save-btn {
      background: #6c63ff;
      color: #fff;
      border: none;
      padding: 8px 20px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
    }
    .pocket-save-btn:hover { background: #7c73ff; }
    .pocket-save-btn:disabled { background: #4a4a70; cursor: default; }
    .pocket-modal-status {
      font-size: 12px;
      color: #7878a0;
      margin-top: 10px;
      text-align: center;
      min-height: 16px;
    }

    /* View Toggle - Right Aligned */
    .view-toggle-right {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 12px;
      color: var(--text-muted);
      margin-left: auto;
      padding-top: var(--space-sm);
    }

    .view-toggle-right span {
      cursor: pointer;
      transition: color 0.2s;
    }

    .view-toggle-right span:hover { color: var(--text-primary); }
    .view-toggle-right .active { font-weight: 600; color: var(--hub-primary); }

    /* Hidden - replaced by external text */
    .billboard-overlay,
    .billboard-content,
    .billboard-info,
    .billboard-name,
    .billboard-tagline {
      display: none;
    }

    /* =========================================
       MAIN LAYOUT
       ========================================= */
    .main-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 var(--space-xl) var(--space-xl) var(--space-xl);
    }

    .main-grid {
      display: grid;
      gap: var(--space-xl);
      transition: grid-template-columns 0.3s ease;
      align-items: start;
    }

    /* =========================================
       LEFT SIDEBAR (Unzipped Only)
       ========================================= */
    .sidebar {
      position: sticky;
      top: 75px;
      align-self: start;
      max-height: calc(100vh - 95px);
      overflow-y: auto;
      transition: opacity 0.3s, transform 0.3s;
    }

    .card {
      background: var(--bg-card);
      border: 1px solid rgba(255,255,255,0.08);
      padding: var(--space-lg);
      margin-bottom: var(--space-lg);
      border-radius: var(--radius-lg);
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: var(--space-md);
    }

    .card-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--hub-primary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .card-count {
      font-size: 13px;
      color: var(--text-muted);
    }

    .card-empty {
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
      padding: var(--space-md) 0;
    }

    /* About List */
    .about-list { display: flex; flex-direction: column; gap: 0; }

    .about-item {
      display: flex;
      align-items: center;
      padding: var(--space-sm) 0;
      cursor: pointer;
      transition: background 0.15s;
      margin: 0 calc(-1 * var(--space-lg));
      padding-left: var(--space-lg);
      padding-right: var(--space-lg);
    }

    .about-item:hover { background: var(--hub-light); }

    .about-item-icon {
      width: 24px;
      margin-right: var(--space-sm);
      font-size: 14px;
      color: var(--text-muted);
    }

    .about-item-label {
      font-size: 13px;
      color: var(--text-secondary);
    }

    /* Photos Grid */
    .photos-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-xs);
    }

    .photo-thumb {
      aspect-ratio: 1;
      background: var(--border-light);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: transform 0.2s;
    }

    .photo-thumb:hover { transform: scale(1.05); }

    /* Contacts List */
    .contact-item {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) 0;
    }

    .contact-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--hub-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 11px;
      font-weight: 600;
    }

    .contact-name {
      font-size: 13px;
      color: var(--text-secondary);
    }

    /* =========================================
       HUB FILTER CARD
       Left sidebar filters for hub-specific content
       ========================================= */
    .hub-filter-card {
      margin-top: 0;
    }

    .hub-filter-card .category-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
    }

    .filter-item {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      border-radius: var(--radius-sm);
      text-decoration: none;
      color: var(--text-secondary);
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .filter-item:hover {
      background: var(--hub-light, rgba(59, 130, 246, 0.08));
      color: var(--hub-primary, #3b82f6);
    }

    .filter-item.active {
      background: var(--hub-light, rgba(59, 130, 246, 0.12));
      color: var(--hub-primary, #3b82f6);
      font-weight: 500;
    }

    .filter-icon {
      font-size: 16px;
      width: 24px;
      text-align: center;
      flex-shrink: 0;
    }

    .filter-label {
      flex: 1;
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .filter-count {
      font-size: 11px;
      color: var(--text-muted);
      background: rgba(255,255,255,0.08);
      padding: 2px 6px;
      border-radius: var(--radius-sm);
      min-width: 24px;
      text-align: center;
    }

    .filter-item.active .filter-count {
      background: var(--hub-primary, #3b82f6);
      color: white;
    }

    /* =========================================
       MAIN CONTENT AREA
       ========================================= */
    .content-main {
      min-width: 0;
      /* Clear floats - use flow-root instead of overflow:hidden to preserve sticky positioning */
      display: flow-root;
    }

    /* Post Composer - Compact Tile Card */
    .post-composer {
      background: #2a2a3e;
      border: 1px solid #3a3a52;
      border-radius: var(--radius-lg);
      padding: 12px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      gap: 8px;
      break-inside: avoid;
      margin-bottom: 16px;
    }

    .composer-input {
      width: 100%;
      border: 1px solid #3a3a52;
      font-size: 13px;
      padding: 10px 12px;
      background: #1a1a2e;
      color: #ffffff;
      border-radius: var(--radius-sm);
      resize: none;
      height: 84px;
      line-height: 1.5;
    }

    .composer-input:focus { outline: none; border-color: var(--accent-primary); }

    .composer-input::placeholder { color: #888; }

    .composer-tools {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-xs);
    }

    .composer-icons {
      display: flex;
      gap: var(--space-xs);
    }

    .composer-tool {
      padding: var(--space-xs);
      color: var(--text-muted);
      cursor: pointer;
      font-size: 14px;
      border-radius: var(--radius-sm);
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

    .composer-tool-label {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .composer-tool:hover {
      color: var(--hub-primary);
      background: var(--hub-light);
    }

    .composer-post-btn {
      background: var(--hub-gradient);
      color: white;
      border: none;
      padding: var(--space-xs) var(--space-md);
      border-radius: var(--radius-sm);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .composer-post-btn:hover {
      opacity: 0.9;
    }

    /* Remove old composer row style */
    .composer-row { display: none; }
    .composer-avatar { display: none; }

    /* Post Grid - masonry columns, cards float up naturally */
    .post-grid {
      clear: both;
      column-count: 3;
      column-gap: 16px;
    }

    @media (max-width: 1200px) {
      .post-grid { column-count: 2; }
    }

    @media (max-width: 768px) {
      .post-grid { column-count: 1; }
    }

    /* Empty posts state */
    .empty-posts {
      text-align: center;
      padding: var(--space-2xl);
      color: var(--text-muted);
    }

    .empty-posts p {
      margin-bottom: var(--space-sm);
    }

    .post-card {
      background: #2a2a3e;
      border: 1px solid #3a3a52;
      color: #ffffff;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .post-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .post-header {
      display: flex;
      align-items: center;
      padding: var(--space-md);
      gap: var(--space-sm);
    }

    .post-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      background: var(--hub-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .post-meta { flex: 1; }

    .post-author {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .post-category {
      font-size: 12px;
      color: var(--text-muted);
    }

    .post-image {
      width: 100%;
      height: 140px;
      background: rgba(255,255,255,0.05);
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 14px;
    }

    .post-content { padding: var(--space-md); }

    .post-title {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: var(--space-xs);
    }

    .post-text {
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: var(--space-sm);
      line-height: 1.5;
    }

    .post-actions {
      display: flex;
      gap: var(--space-lg);
      font-size: 12px;
      color: var(--text-muted);
    }

    .post-actions span {
      cursor: pointer;
      transition: color 0.2s;
    }

    .post-actions span:hover { color: var(--hub-primary); }
    .post-actions .likes { color: var(--hub-primary); font-weight: 500; }
    .post-actions .likes.liked { color: #EF4444; }

    /* =========================================
       RIGHT SIDEBAR - Container for Carousel + Other Cards
       ========================================= */
    .sidebar-right {
      position: sticky;
      top: 60px; /* Align with header bottom */
      align-self: start;
      margin-top: -8px; /* Pull up past hub-indicator so top is flush with header bottom */
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    /* Compliments card below carousel */
    .sidebar-compliments {
      width: 280px;
    }

    /* =========================================
       POSTER ADS - Vertical Carousel
       Clean card carousel with header-matching background
       ========================================= */
    .sidebar-ads {
      /* Positioning context for pause indicator */
      position: relative;
      /* Fixed dimensions */
      width: 280px;
      height: 492px;
      /* Scroll-snap for smooth card snapping */
      overflow-y: auto;
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
      /* Square corners, no border effects */
      border-radius: 0;
      /* Header-matching dark background with 60% opacity */
      background: rgba(17, 17, 17, 0.6);
      /* No box-shadow border effects */
      box-shadow: none;
      /* Hide scrollbar for cleaner look */
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE/Edge */
    }

    .sidebar-ads::-webkit-scrollbar {
      display: none; /* Chrome/Safari */
    }

    /* Pause indicator (shown when paused on hover) */
    .sidebar-ads.paused::after {
      content: '';
      position: absolute;
      top: 12px;
      right: 12px;
      width: 8px;
      height: 8px;
      background: rgba(255,255,255,0.7);
      border-radius: 50%;
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 1; }
    }

    /* Poster Card - Image top, text bottom layout */
    .poster-card {
      position: relative;
      /* Full height of carousel viewport */
      height: 492px;
      min-height: 492px;
      flex-shrink: 0;
      /* Scroll snap alignment */
      scroll-snap-align: start;
      scroll-snap-stop: always;
      /* Visual styling - square corners */
      border-radius: 0;
      overflow: hidden;
      cursor: pointer;
      /* No background here - handled by image area */
      background: transparent;
      /* No margin - cards fill container seamlessly */
      margin: 0;
      /* Flex layout for image + text areas */
      display: flex;
      flex-direction: column;
    }

    /* Poster image area - 420px tall, top aligned */
    .poster-card-image,
    .poster-card::before {
      display: block;
      width: 100%;
      height: 420px;
      flex-shrink: 0;
      background-size: cover;
      background-position: center top;
    }

    /* For cards using inline background-image style */
    .poster-card {
      background-size: 100% 420px;
      background-position: top center;
      background-repeat: no-repeat;
    }

    .poster-card:hover {
      /* Hover effect removed per user request */
    }

    /* Poster text area - 72px tall, bottom of card */
    .poster-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 72px;
      padding: var(--space-sm) var(--space-md);
      /* Solid dark background for text area */
      background: rgba(0, 0, 0, 0.85);
      /* Flex for vertical centering */
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .poster-title {
      font-size: 14px;
      font-weight: 600;
      color: white;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
      margin-bottom: 2px;
    }

    .poster-category {
      font-size: 11px;
      color: rgba(255,255,255,0.8);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    }

    /* Compliments Card */
    .compliment-item {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) 0;
    }

    .compliment-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--hub-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 11px;
      font-weight: 600;
      flex-shrink: 0;
    }

    .compliment-name {
      font-size: 13px;
      color: var(--text-secondary);
    }

    /* =========================================
       CUSTODIAN WARNING BANNER
       For company/org profiles without accepted custodian
       ========================================= */
    .custodian-warning-banner {
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      color: #ffffff;
      padding: var(--space-sm) var(--space-xl);
      max-width: 1400px;
      margin: 0 auto var(--space-md) auto;
      border-radius: var(--radius-md);
    }

    .custodian-warning-banner .banner-content {
      max-width: var(--max-width-content);
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: var(--space-md);
      flex-wrap: wrap;
    }

    .custodian-warning-banner .banner-icon {
      font-size: 20px;
    }

    .custodian-warning-banner .banner-text {
      flex: 1;
      font-size: 14px;
      font-weight: 500;
    }

    .custodian-warning-banner .banner-action {
      background: rgba(255,255,255,0.2);
      color: #ffffff;
      padding: var(--space-xs) var(--space-md);
      border-radius: var(--radius-sm);
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      transition: background 0.2s;
    }

    .custodian-warning-banner .banner-action:hover {
      background: rgba(255,255,255,0.3);
    }

    /* =========================================
       RESPONSIVE
       ========================================= */
    @media (max-width: 1400px) {
    }

    @media (max-width: 1200px) {
      [data-view="unzipped"] .main-grid { grid-template-columns: minmax(0, 1fr) 260px; }
      [data-view="unzipped"] .sidebar { display: none; }

      /* Widen billboard slightly on medium screens */
      .billboard-wrapper {
        width: 75%;
      }
    }

    @media (max-width: 900px) {
      .user-persona-name { display: none; }

      /* Full width billboard - no room for posts beside */
      .billboard-wrapper {
        float: none;
        width: 100%;
        margin-right: 0;
      }
    }

    @media (max-width: 768px) {
      .main-grid { grid-template-columns: 1fr !important; }
      .sidebar-right, .sidebar-ads { display: none; }
      .nav-container { gap: 0; }
      .profile-name-header { font-size: 18px; }
      .hub-name { font-size: 12px; }
      .user-mini-pocket { display: none; }
    }

    /* Version Label */
    .version-label {
      position: fixed;
      bottom: var(--space-lg);
      right: var(--space-lg);
      background: var(--bg-dark);
      color: var(--text-muted);
      padding: var(--space-sm) var(--space-md);
      border-radius: var(--radius-sm);
      font-size: 11px;
      font-family: monospace;
      z-index: 1000;
      box-shadow: var(--shadow-md);
    }

    /* =========================================
       LANDING PAGE VARIANT (profile2)
       Applied via data-page-variant="landing"
       ========================================= */

    [data-page-variant="landing"] {
      overflow-x: hidden;
    }

    [data-page-variant="landing"] .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: transparent;
    }

    [data-page-variant="landing"] .landing-main {
      position: relative;
      z-index: 10;
      min-height: 100vh;
    }

    [data-page-variant="landing"] .landing-footer {
      position: relative;
      z-index: 20;
    }
