/* lc-megamenu.css — mega-menu styles that live IN GIT.
 *
 * ⚠ The original lcm-* stylesheet is still only in the Customizer's Additional CSS
 * (a DB option): no diffs, no review, lost on a bad restore. This file is the start
 * of moving it into the repo — new mega-menu work lands here, and the legacy block
 * should migrate over time. Nothing here restyles the existing five menus.
 *
 * Contents: THE BOARD — Real Estate's own layout. The doctrine requires a different
 * layout architecture per top-level item, so this deliberately shares nothing with
 * the 3-columns-plus-side-rail formula: the submenu compresses to a narrow spine and
 * the listings own the panel. Tokens (10px/.32em eyebrows, Georgia titles, #111 ink,
 * #eceae6 hairlines) are the ones the existing menus already use.
 */

/* ---------------------------------------------------------------- the spine */
/* submenu stacked into a narrow left rail, quieter than the board beside it */
.lcm-spine { display: flex; flex-direction: column; gap: 16px;
  padding-right: clamp(14px, 1.6vw, 30px); border-right: 1px solid #eceae6; }
.lcm-spine .lcm-group { min-width: 0; }
.lcm-spine .lcm-eyebrow { margin: 0 0 3px; padding-bottom: 7px;
  border-bottom: 1px solid #eceae6; letter-spacing: .24em; }
.lcm-spine .lcm-rail-link { padding: 5px 0; font-size: 13.5px; }

/* ---------------------------------------------------------------- the board */
.lcm-board { display: flex; flex-direction: column; gap: 22px;
  padding-left: clamp(14px, 1.8vw, 30px); }
.lcm-board-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin: 0 0 12px; border-bottom: 1px solid #eceae6; padding-bottom: 8px; }
.lcm-board-head .lcm-eyebrow { margin: 0; }
.lcm-board .lcm-cta { align-self: flex-start; margin-top: 0; }

/* ------------------------------------------------- open houses: dated rows */
/* The day and time lead, because that is what a visitor plans around — a listing
   grid with a date bolted on would just be the formula again. */
.lcm-oh { display: flex; flex-direction: column; }
.lcm-oh-row { display: flex; gap: 14px; align-items: center; padding: 9px 0;
  border-bottom: 1px solid #f0ede8; color: #111; text-decoration: none !important;
  transition: transform .5s cubic-bezier(0.32,0.72,0,1); }
.lcm-oh-row:last-child { border-bottom: 0; padding-bottom: 0; }
.lcm-oh-row:hover { transform: translateX(4px); }
.lcm-oh-row img { width: 78px; height: 54px; object-fit: cover; flex: 0 0 78px;
  background: #f2f2f2; }
.lcm-oh-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lcm-oh-when { font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #111; }
.lcm-oh-addr { font-family: Georgia, "Times New Roman", serif; font-size: 14px;
  line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcm-oh-row:hover .lcm-oh-addr { text-decoration: underline; }
.lcm-oh-meta { font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #8d8679; }

/* ------------------------------------------------------------- narrow view */
@media (max-width: 959px) {
  .lcm-spine { border-right: 0; padding-right: 0; padding-bottom: 16px;
    border-bottom: 1px solid #eceae6; }
  .lcm-board { padding-left: 0; padding-top: 18px; }
  .lcm-oh-addr { white-space: normal; }
}
