/* ===========================================================================
   Dynamic home page (2026-10-28, One of NYC layout; ported from Nice to Sit)
   Used by index.php, hi.php, youwin.php, featured-companies.php (linked from
   includes/header.php when $show_home_header is set) and home-post.php.
   The look follows One of NYC (index.php l.100-191, css/style.css
   .posts / .join-network). Every class is home-* so nothing else on the site
   is affected.
   =========================================================================== */

/* ---- Page width (2026-11-09, same as Share the Pie and One of NYC) -------------
   80% of the window from 768px up, with 22.5px side padding from 1200px, so the
   content is 1048px on a 1366px laptop and 1491px on a 1920px desktop. Phones
   stay full width. Only the home-style pages get .home-wide (includes/header.php).
   Three classes outrank sb-admin's single .container, so this !important wins. */
.container.midcont.home-wide {
    width: 100%;
    max-width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
}
@media (min-width: 768px) {
    .container.midcont.home-wide {
        max-width: 80% !important;
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
@media (min-width: 1200px) {
    .container.midcont.home-wide {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
/* includes/header.php opens a second .container inside .mainmenu-area and
   never closes it (footer.php does), so the whole page body sits inside it.
   sb-admin caps that one at 915px too; uncap it so the width above applies. */
.home-wide .mainmenu-area > .container {
    width: auto;
    max-width: none !important;
}

/* ---- Header on the home-style pages ------------------------------------------
   includes/header.php marks this header .home-head-row: one flex line of
   logo | Hi + YouWin | nav, all vertically centred. It replaced a
   col-md-3/4/5 split that squeezed the nav into 378px, wrapped the passcode
   box onto a second line ("Enter Pas...") and top-aligned the nav. The row
   has no negative margins, so the logo lines up with the heading below. */
.home-head-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    padding: 18px 0;   /* One of NYC: about 25px band above the logo */
}
/* Same header height as Sharethepie (2026-11-14): the row is a fixed 114px, so the
   divider line sits at 119px and the slider at 140px at every desktop width,
   whatever the logo height. Below 992px the stacked mobile header is unchanged. */
@media (min-width: 992px) {
    .head-row.home-head-row {
        height: 114px;
        padding: 0 0 8px;
        box-sizing: border-box;
    }
}
.home-head-logo {
    flex: 0 0 auto;
    padding: 0;
}
/* Same visual size as One of NYC's ONEOFNYC logo (about 157px wide). The
   header's own .main-logo img rule is 65px. */
.home-head-row .main-logo img {
    height: 48px;
    width: auto;
}
/* Hi + YouWin spread evenly between the logo and the nav (One of NYC
   includes/header.php .header-brand-logos). */
.home-header-logos {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}
.home-header-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none !important;
}
.home-header-link img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
/* The crops differ (lettering fills 77.5% of Hi, 84.9% of YouWin), so Hi is
   1px shorter to keep the two letterings in proportion, as on One of NYC. */
.home-header-link img.hi-logo { height: 39px; }

/* Nav: New User · Registered User · OR · [passcode][Login] on one line.
   The !important resets beat the Bootstrap 4 spacing utilities (mt-3, pt-2,
   pr-3, px-0) that header.php puts on these elements, and only inside this
   header. */
.home-head-nav {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0;
}
.home-head-nav .r-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}
.home-head-nav .r-menu > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
.home-head-nav .r-menu li,
.home-head-nav .r-menu .mt-3,
.home-head-nav .r-menu .pt-2 {
    margin: 0 !important;
    padding: 0 !important;
}
.home-head-nav .r-menu li a {
    padding: 0;
    white-space: nowrap;
    font-size: 15px;
    color: #858796;   /* One of NYC: grey label, blue icon */
}
.home-head-nav .r-menu li a i { color: #0556d4; margin-right: 4px; }
.home-head-nav .r-menu li a:hover,
.home-head-nav .r-menu li a:focus { color: #0443a9; }
.home-head-nav .passcodeOr {
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}
.home-head-nav .navbar-form {
    float: none;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}
.home-head-nav .navbar-form .input-group {
    width: auto;
}
.home-head-nav .passcodeIn {
    flex: 0 0 150px;
    width: 150px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-head-row .main-logo img { height: 40px; }
    .home-header-logos { gap: 16px; padding: 0 10px; }
    .home-header-link img { height: 29px; }
    .home-header-link img.hi-logo { height: 28px; }
    .home-head-nav .r-menu,
    .home-head-nav .r-menu > div { gap: 10px; }
    .home-head-nav .passcodeIn { flex-basis: 120px; width: 120px; }
}

/* Below 992px: logo, then Hi + YouWin, then the nav, each centred on its own
   line (the rest of the site already centres the menu at this width). */
@media (max-width: 991px) {
    .home-head-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .home-head-logo,
    .home-header-logos,
    .home-head-nav {
        flex: 0 0 100%;
        margin-left: 0;
    }
    .home-header-logos {
        justify-content: center;
        gap: 40px;
        padding: 8px 0 4px;
    }
    .home-header-link img { height: 32px; }
    .home-header-link img.hi-logo { height: 31px; }
    .home-head-nav .r-menu {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 10px 0 12px;
    }
}
@media (max-width: 767px) {
    .home-header-link img { height: 30px; }
    .home-header-link img.hi-logo { height: 29px; }
}

/* ---- Slider (marquee) -------------------------------------------------------- */
.home-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 5px solid #000;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px 0 16px;   /* top 20px: Sharethepie's gap under the header line (2026-11-14) */
    background: #000;
}
.home-slider-track {
    display: flex;
    gap: 0;
    will-change: transform;
}
.home-slider-item { flex-shrink: 0; }
.home-slider-item a { display: block; line-height: 0; }
.home-slider-img {
    display: block;
    width: auto;
    max-width: none;
    object-fit: cover;
    user-select: none;
}
@media (prefers-reduced-motion: reduce) {
    /* No animation: let the visitor scroll the strip themselves. */
    .home-slider { overflow-x: auto; }
    .home-slider-track { transform: none !important; }
}

/* ---- Heading + search (left) | Featured Companies (right) ------------------
   One of NYC index.php l.100-166: one flex row; the Featured heading is
   right-aligned and vertically centred on the heading + search block. On One
   of NYC it is an image; here it is styled text, as there is no artwork with
   that name. */
.home-main { padding-bottom: 16px; }
/* Bootstrap 4 (sb-admin) gives rows -11.25px margins, but columns here have
   15px padding. Matching margins line every edge up. */
.home-main .row {
    margin-left: -15px;
    margin-right: -15px;
}
.home-search-row {
    display: flex;
    align-items: stretch;
    margin: 0 0 15px;   /* the slider above sets the gap */
}
.home-search-col {
    flex: 0 1 auto;
    min-width: 0;
}
.home-heading {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.home-search {
    display: flex;
    align-items: stretch;
    width: 450px;
    max-width: 100%;
    height: 44px;
    margin: 20px 0 0;
}
.home-search-q,
.home-search-btn {
    height: 100%;
    font-size: 17px;
    font-family: inherit;
    box-sizing: border-box;
    margin: 0;
}
.home-search-q {
    flex: 0 1 100%;   /* with the button's 20%: 375 / 75px, as One of NYC */
    min-width: 0;
    padding: 0 12px;
    background: #fff;
    color: #222;
}
/* One of NYC: the input keeps the site's 1px #ccc border and rounded left
   corners; the grey button is square with a 2px border and no left edge. */
.home-search .home-search-q {
    border: 1px solid #ccc !important;
    border-radius: 5px 0 0 5px !important;
    box-shadow: none;
}
.home-search .home-search-btn {
    border: 2px solid #d3d3d3;
    border-left: none;
    border-radius: 0 !important;
    box-shadow: none;
}
.home-search-q:focus {
    outline: none;
    border-color: #0556d4 !important;
}
.home-search-btn {
    flex: 0 1 20%;
    padding: 10px;   /* One of NYC .search_icon */
    font-size: 17px;
    color: #000;
    background: #cbcbcb;
    cursor: pointer;
}
.home-search-btn:hover { background: #bdbdbd; }
.home-featured-head {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;   /* centred on heading + search, as One of NYC (2026-11-18) */
}
.home-featured-head a {
    display: inline-block;
    max-width: 100%;
    padding-right: 4px;   /* room for the slant, so the last letter isn't cut */
    font-size: inherit;   /* css/style_new.css sets every <a> to 14px */
    text-decoration: none !important;
}
/* Styled to look like One of NYC's "Featured Vendors" artwork
   (images/Featured_Vendors_crop.png, shown 32px tall): tall condensed bold,
   slanted, fill #0840c0 (sampled from the PNG). Oswald has no italic, so the
   browser slants it, the same way the artwork is a slanted upright face.
   Oswald is linked from includes/header.php. */
.home-featured-text {
    display: inline-block;
    font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 29px;   /* letters 29px tall, as One of NYC's 32px Featured artwork */
    line-height: 32px;
    color: #0840c0;
    letter-spacing: 0;
    white-space: nowrap;
}
/* "Featured Companies" artwork (images/home_featured_companies.png, 2026-11-18):
   One of NYC's Featured Vendors artwork with "Companies" set in the same face.
   One of NYC shows its 255px-tall artwork 32px tall; this canvas is 303px tall
   (room for the p's tail), so 38px gives the same letter size, and -6px bottom
   margin keeps it centred on the letters, as One of NYC. */
.home-featured-img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 100%;
    margin-bottom: -6px;
}
/* The link's 4px right padding is slant room for the text; the artwork sits
   flush right, as One of NYC. */
.home-featured-head a:has(.home-featured-img) { padding-right: 0; }
.home-featured-head a:hover .home-featured-img,
.home-featured-head a:focus .home-featured-img { opacity: .85; }
.home-featured-head a:hover .home-featured-text,
.home-featured-head a:focus .home-featured-text { color: #0556d4; }
@media (max-width: 991px) {
    .home-search-row { flex-wrap: wrap; }
    .home-search-col,
    .home-featured-head { flex-basis: 100%; }
    .home-featured-head {
        justify-content: center;
        padding-top: 15px;
    }
}
@media (max-width: 600px) {
    .home-search { width: 100%; }
    .home-featured-text { font-size: 24px; line-height: 28px; }
}

/* ---- Vendor Posts | Headline Posts (One of NYC css/style.css .posts) -------- */
.home-posts-row { margin-top: 16px; }   /* search -> Vendor Posts as One of NYC */
.home-posts-col { margin-bottom: 20px; }
.home-posts-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px;
}
.home-posts-list {
    list-style-type: disc;
    margin: 0 0 15px;
    padding-left: 20px;
}
.home-posts-list li {
    color: #5a8db8;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}
.home-posts-list li a { color: #1c52b5; font-size: 14px; display: inline; }   /* One of NYC */
.home-posts-list li a:hover,
.home-posts-list li a:focus {
    color: #0443a9;
    text-decoration: underline;
}
.home-posts-pin {
    color: #1a9a52;
    font-size: 13px;
    margin-right: 4px;
}
.home-posts-empty {
    color: #555;
    font-size: 16px;
    margin: 0 0 15px;
}

/* ---- Join Our Network (same as focamedia.nyc css/style.css .join-network-*) ----
   The title and underline are part of the artwork, so the whole image shows, with
   no crop. */
.home-join {
    width: 100%;
    margin-bottom: 0;
}
.home-join-box {
    border: 5px solid #000;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 16px;
}
.home-join-box a { display: block; }
.home-join-img {
    display: block;
    width: 100%;
    height: auto;
}
.home-join-logo {
    text-align: center;
    margin-top: 8px;
}
/* A box wider than the logo's own shape makes object-fit:cover crop the blank space
   built into the top and bottom of the file. */
.home-join-logo img {
    width: 280px;
    max-width: 100%;
    height: 72px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    .home-join-box {
        border-width: 4px;
        border-radius: 8px;
        margin-top: 14px;
    }
    .home-join-logo img {
        width: 220px;
        height: 58px;
    }
}

/* ---- Results line / empty state ---------------------------------------------- */
.home-results {
    font-size: 16px;
    margin: 0 0 15px;
    color: #333;
}
.home-results-clear {
    margin-left: 10px;
    font-size: 14px;
    color: #c0392b;
    text-decoration: underline;
}
.home-empty {
    text-align: center;
    font-size: 18px;
    color: #555;
    padding: 30px 0;
}

/* ---- Featured Companies cards -------------------------------------------------- */
.home-grid { margin-bottom: 10px; }
.home-card-col { margin-bottom: 25px; }
.home-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px;
    text-decoration: none !important;
    transition: box-shadow .18s ease, transform .18s ease;
}
a.home-card:hover,
a.home-card:focus {
    box-shadow: 0 6px 18px rgba(0, 0, 32, .12);
    transform: translateY(-2px);
}
.home-card img {
    display: block;
    width: 100%;
    height: 253px;
    object-fit: cover;
}
.home-card-title {
    margin: 12px 0 0;
    padding: 6px 8px;
    border-left: 8px solid #00008b;
    text-align: center;
    color: #0556d4;
    font-size: 16px;
    line-height: 1.35;
    word-wrap: break-word;
}
.home-feat-img { display: block; position: relative; }
.home-feat-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(31, 88, 193, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.home-feat-foot {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
}

/* ---- Pagination (Bootstrap 4 classes: .page-item / .page-link) ----------------- */
.home-pagination { display: flex; justify-content: flex-end; }   /* One of NYC: right-aligned */
.home-pagination .pagination { flex-wrap: wrap; justify-content: flex-end; margin: 0; }
.home-pagination .page-item.active .page-link {
    background-color: #0556d4;
    border-color: #0556d4;
    color: #fff;
}
.home-pagination .page-link { color: #0556d4; }

/* ---- Page headings (Featured Companies, Hi, YouWin) ------------------------------- */
.home-page-head { margin: 20px 0 25px; }
.home-page-title {
    font-size: 26px;
    font-weight: 700;
    color: #0556d4;
    margin: 0 0 8px;
    line-height: 1.3;
}
.home-page-rule {
    display: block;
    width: 62px;
    height: 4px;
    background: #137a41;
    margin-top: 6px;
}

/* ---- Hi / YouWin forms ---------------------------------------------------------- */
.home-form-card {
    max-width: 720px;
    margin: 20px auto 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}
.home-form-sub { font-size: 16px; color: #333; margin-bottom: 20px; }
.home-form-section {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 25px 0 12px;
    padding-top: 15px;
    border-top: 1px solid #e3e6ea;
}
.home-alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
}
.home-alert-success { background: #e6f5e6; color: #137a41; border: 1px solid #b7dfb7; }
.home-alert-error   { background: #fdecea; color: #a12a1e; border: 1px solid #f5c2bd; }
.home-form .home-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.home-form label { font-weight: bold; margin-bottom: 6px; }
.home-form .req { color: red; }
.home-form input[type=text],
.home-form input[type=email],
.home-form input[type=tel],
.home-form select,
.home-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 15px;
    background: #fff;
}
.home-form select { height: 40px; }
.home-radios { display: flex; flex-wrap: wrap; gap: 20px; }
.home-radios label { font-weight: normal; margin: 0; }
.home-field-err { color: #c0392b; font-size: 13px; margin-top: 4px; }
.home-field-err:empty { display: none; }
.home-form-note { font-size: 13px; color: #666; }
.home-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.home-btn {
    display: inline-block;
    padding: 9px 26px;
    background: #0556d4;
    color: #fff !important;
    border: 1px solid #0556d4;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none !important;
}
.home-btn:hover { background: #0443a9; border-color: #0443a9; }
.home-btn-light { background: #fff; color: #0556d4 !important; }
.home-btn-light:hover { background: #eef1f8; }
.home-form .g-recaptcha { max-width: 100%; overflow: hidden; }
@media (max-width: 480px) {
    .home-form-card { padding: 20px 15px; }
    .home-form .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}

/* ---- Post detail page (home-post.php) ------------------------------------------ */
.home-detail { padding: 10px 0 40px; }
.home-detail-back { margin: 10px 0; }
.home-detail-back a { color: #0556d4; }
.home-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #0556d4;
    margin: 10px 0 8px;
    word-wrap: break-word;
}
.home-detail-type {
    display: inline-block;
    background: #e6f5e6;
    color: #137a41;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 15px;
}
.home-detail-cover img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
.home-detail-gallery { margin-bottom: 10px; }
.home-detail-thumb {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 4px;
    background: #fff;
}
.home-detail-thumb img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.home-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0 20px;
    word-wrap: break-word;
}
.home-detail-desc img { max-width: 100%; height: auto; }
.home-detail-missing { text-align: center; padding: 50px 0; }
.home-detail-missing h1 { color: #0556d4; font-size: 28px; }

/* ==== Same as Sharethepie (2026-11-17) =======================================
   Values measured on sharethepie.com's homepage. This block overrides the rules
   above; delete it to go back (backup: My Tasks/2026-11-17 - Match Share the pie
   header and slots/). */

/* Hi + YouWin: Sharethepie's own images (102x90 and 303x90), 37px tall, spread
   evenly between the logo and the Login menu with no extra gap
   (sharethepie.com includes/header.php .header-logos). */
.home-header-logos {
    gap: 0;
    padding: 0;
}
.home-header-link img,
.home-header-link img.hi-logo {
    height: 37px;
}

/* Top right: Login · Register · OR · [passcode][Login], as on Sharethepie. */
.home-head-nav .r-menu {
    gap: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000;
}
.home-head-nav .r-menu li > i {
    color: #1c52b5;
    font-size: 14px;
    margin-right: 5px;
}
.home-head-nav .r-menu li a {
    display: inline-block;
    padding: 8px 6px 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: .25px;
    color: #000;
    text-decoration: none;
}
.home-head-nav .r-menu li a:hover,
.home-head-nav .r-menu li a:focus {
    color: #000;
    text-decoration: underline;
}
.home-head-nav .passcodeOr {
    padding: 0 15px 0 0 !important;
    font-size: 14px;
    line-height: 24px;
    color: #000;
}
.home-head-nav .passcodeIn {
    flex: 0 0 157px;
    width: 157px;
}
.home-head-nav .passcodeBut {
    line-height: 19.5px;
    background-color: #1c52b5 !important;
}
/* Sharethepie's menu sits 2.3px above the logo's centre line on desktop. */
@media (min-width: 992px) {
    .home-head-nav {
        position: relative;
        top: -2.3px;
    }
}

/* Heading under the slider: Sharethepie's "For the Licensed Realtors. It's Free!"
   style (sharethepie.com index.php .sample-text). The text is unchanged. */
.home-heading {
    font-family: Verdana;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: #1f58c1;
}

/* Featured slots: same size as Sharethepie's featured.php cards (334x320 at
   1366px): .75rem column gutters, 10px between rows, a 253px image box
   (10px padding + 233px image), a 65px title box with a 6px left border. */
.home-main .row.home-grid {
    margin-left: -.75rem;
    margin-right: -.75rem;
}
.home-grid > .home-card-col {
    padding-left: .75rem;
    padding-right: .75rem;
    margin-bottom: 0;
}
.home-card {
    height: auto;
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.home-feat-img {
    padding: 10px;
}
.home-card img {
    height: 233px;
}
.home-feat-tag {
    top: 20px;
    left: 20px;
    font-family: 'Roboto', sans-serif;
}
.home-card-title {
    height: 65px;
    margin: 0;
    padding: 12px 0 0;
    border-left-width: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

/* Narrow desktop (992-1199px): keep this site's smaller logos and compact menu
   there, so the header still fits on one line next to the wider site logo. */
@media (min-width: 992px) and (max-width: 1199px) {
    .home-header-link img,
    .home-header-link img.hi-logo { height: 29px; }
    .home-head-nav .r-menu { gap: 10px; }
    .home-head-nav .passcodeIn { flex-basis: 120px; width: 120px; }
}
/* Below 992px the header stacks, as before; logos at Sharethepie's 37px. */
@media (max-width: 991px) {
    .home-header-logos {
        gap: 40px;
        padding: 8px 0 4px;
    }
}
/* Phones: Sharethepie's 34px. */
@media (max-width: 767px) {
    .home-header-link img,
    .home-header-link img.hi-logo { height: 34px; }
}

/* ============================================================================
   2026-11-30: Share the Pie's post grid + search on the Oye home page
   (index.php, $hp_old_lists = false). Copied from YouWin NYC css/home.css,
   which is an exact copy of sharethepie.com; only the blue is Oye's.
   ========================================================================== */
/* The search column is 48% wide, as Share the Pie .search-left (and YouWin). */
.home-search-col:has(> .home-search-stp) { flex: 0 0 48%; }
@media (max-width: 991px) {
    .home-search-col:has(> .home-search-stp) { flex-basis: 100%; }
}
/* Search bar: All Location | Search Listings | button, 48px tall */
.home-search.home-search-stp {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: 48px;
    margin: 15px 0 0;   /* Share the Pie .example: 15px under the heading */
}
.home-search.home-search-stp .home-search-loc,
.home-search.home-search-stp .home-search-q,
.home-search.home-search-stp .home-search-btn {
    height: 48px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    box-shadow: none;
}
.home-search.home-search-stp .home-search-loc {
    flex: 0 1 64%;
    min-width: 0;
    padding: 0 0 0 10px;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    color: #000;
    background-color: #fff;
    border: 2px solid #d7d9db !important;
    border-radius: 0 !important;
}
.home-search.home-search-stp .home-search-q {
    flex: 0 1 100%;
    min-width: 0;
    padding: 7px 15px !important;
    font-size: 14px !important;
    line-height: 22px;
    color: #000;
    background: #fff;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
}
.home-search.home-search-stp .home-search-btn {
    flex: 0 1 20%;
    min-width: 0;
    padding: 10px;
    font-size: 17px;
    color: #000;
    background: #cbcbcb;
    border: 2px solid #d3d3d3;
    border-left: none;
    border-radius: 0 !important;
    cursor: pointer;
}
.home-search.home-search-stp .home-search-btn i.fa {
    font-size: 17px;
    color: #0556d4 !important;
}
.home-search.home-search-stp .home-search-loc:focus,
.home-search.home-search-stp .home-search-q:focus { outline: none; }

/* Post grid (Share the Pie .gallery / .post-desc): 3 cards a row */
.home-listings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 1.5rem;
    margin: 20px 0 15px;
}
.home-listing {
    display: block;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    font-size: inherit;   /* css/style_new.css sets every <a> to 14px */
    text-decoration: none !important;
}
.home-listing-img { display: block; padding: 10px; }
/* 233px: Share the Pie's 253px includes the 10px padding above and below. */
.home-listing-img img {
    display: block;
    width: 100%;
    height: 233px;
    object-fit: cover;
}
.home-listing-title {
    display: block;
    min-height: 65px;
    padding: 12px 10px 0;
    border-left: 6px solid #0443a9;
    box-sizing: border-box;
    color: #0556d4;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    word-wrap: break-word;
}
.home-listing:hover .home-listing-title,
.home-listing:focus .home-listing-title {
    color: #0443a9;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .home-listings { grid-template-columns: minmax(0, 1fr); }
}
