
      /*────────────────────
         COLOR VARIABLES
      ────────────────────*/
      :root {
        --slate: #1e1e1e;
        --cream: #f6ede4;
        --gold: #be8640;
        --cloud: #fefdfd;
        --gold-50: rgba(190, 134, 64, 0.5);
        --gold-30: rgba(190, 134, 64, 0.3);
        --gold-5: rgba(190, 134, 64, 0.05);
      }

      /*────────────────────
         GLOBAL RESET & TYPO
      ────────────────────*/
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        background: var(--cream);
        font-family: "Poppins", sans-serif;
        color: var(--slate);
      }
      h2 {
        margin: 0 0 1rem;
      }

      /*────────────────────
         OUTER FRAME
      ────────────────────*/
      .listing-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
      }

      /*────────────────────
         TAB NAVIGATION
      ────────────────────*/
      .listing-tabs {
        display: flex;
        background: #fff;
        border: 1px solid var(--gold-50);
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 1rem;
      }
      .tab-button {
        flex: 1;
        padding: 0.75rem 2rem;
        background: var(--cream);
        border: none;
        border-right: 1px solid var(--gold-50);
        font-weight: 500;
        text-align: center;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
      }
      .tab-button:last-child {
        border-right: none;
      }
      .tab-button:not(.leased):hover {
        background: var(--gold);
        color: var(--slate);
      }
      .tab-button.active,
      .tab-button.active:hover {
        background: var(--gold);
        color: var(--slate);
        font-weight: 600;
      }

      /* LEASED TAB VARIANTS */
      .tab-button.leased {
        background: var(--gold-30);
        position: relative;
        overflow: hidden;
      }
      .tab-button.leased:hover {
        background: var(--gold);
        color: var(--slate);
      }
      .tab-button.leased.active {
        background: var(--gold);
        color: var(--slate);
      }

      /*────────────────────
         PANEL CONTAINER
      ────────────────────*/
      .tab-content-container {
        position: relative;
        background: var(--cream);
        border: 1px solid var(--gold-50);
        border-radius: 5px;
        min-height: 500px;
        overflow: hidden;
      }
      .tab-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 2.5rem 2rem;
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .tab-content.active {
        position: relative;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
      }

      /* SLIDE DIRECTION CLASSES */
      .pos-left {
        transform: translateX(-100px);
      }
      .pos-right {
        transform: translateX(100px);
      }
      .tab-content.exiting-left {
        opacity: 0;
        transform: translateX(100px);
        transition-duration: 0.3s;
      }
      .tab-content.exiting-right {
        opacity: 0;
        transform: translateX(-100px);
        transition-duration: 0.3s;
      }
      .tab-content.entering-from-left {
        transform: translateX(-100px);
      }
      .tab-content.entering-from-right {
        transform: translateX(100px);
      }

      /* LEASED PANEL TINT & TAG */
      .tab-content.leased {
        background: var(--gold-5);
      }
      .leased-tag {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--gold);
        color: var(--slate);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
      }

      /*────────────────────
         UNIT DETAILS GRID
      ────────────────────*/
      .unit-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        min-height: 400px;
      }
      .unit-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .unit-content img {
        width: 100%;
        border: 1px solid #ccc;
        opacity: 0;
        animation: fadeIn 0.8s ease 0.2s forwards;
      }
      @keyframes fadeIn {
        to {
          opacity: 1;
        }
      }

      /* FEATURES LIST */
      .unit-features ul {
        padding-left: 1rem;
      }

      /* DOWNLOAD BUTTON */
      .pdf-button {
        width: 12rem;
        margin-top: 1.5rem;
        padding: 0.45rem 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: var(--slate);
        color: var(--cloud);
        border: 2px solid var(--slate);
        border-radius: 4px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        text-decoration: none;
      }
      .pdf-button:hover {
        background: var(--gold);
        color: var(--slate);
        border-color: var(--gold);
      }

      /* TWO-COLUMN DETAILS GRID */
      .details-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--gold-50);
        margin-top: 1rem;
      }
      .details-grid > * {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gold-50);
      }
      .details-grid .label {
        font-weight: 500;
      }
      .details-grid .value {
        text-align: right;
      }
      .details-grid .value a {
        text-decoration: underline;
        color: var(--slate);
      }



.block-editor__container .listing-tabs{
    width: 100%;
}

.block-editor__container .listing-tabs .block-editor-inner-blocks {
    width: 100%;
}

.wp-block-richcraftproperties-listing-tabs .block-editor-inner-blocks {
  width: 100%;
}

.block-editor__container .listing-tabs .block-editor-inner-blocks input[type="text"] {
  width: 100%;
}