/* Extend the approved portrait-panel design through the mobile homepage. */
@media(max-width:768px){
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews,#contact){
    padding:40px 24px;
    background:#f8f6f0;
    border-top:1px solid #d8dccf;
  }
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews) .track-header{
    text-align:left;margin:0 0 24px;
  }
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews,#contact) .section-label{
    font:600 9px/1.5 Arial,sans-serif;letter-spacing:1.7px;color:#626d5c;margin-bottom:14px;
  }
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews) .track-h2,
  .editorial-homepage #contact .contact-h2{
    font:normal 33px/1.12 Georgia,serif;letter-spacing:-1px;color:#26372d;margin:0 0 15px;
  }
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews) .track-sub{
    font:15px/1.65 Arial,sans-serif;color:#5a655a;margin:0;
  }
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews) .track-sub a{
    color:#263c30;text-decoration:underline;text-underline-offset:3px;
  }

  /* Two clear starting points, followed by compact supporting routes. */
  .editorial-homepage #explore .hub-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 0;
  }
  .editorial-homepage #explore .hub-card{
    grid-column:1/-1;padding:19px 0;margin:0;border:0;border-bottom:1px solid #d8dccf;
    border-radius:0;background:transparent;box-shadow:none;transform:none;min-width:0;
  }
  .editorial-homepage #explore .hub-card-icon{display:none}
  .editorial-homepage #explore .hub-card-title{
    font:normal 23px/1.18 Georgia,serif;letter-spacing:-.45px;color:#26372d;margin:0 0 7px;
  }
  .editorial-homepage #explore .hub-card-desc{
    font:14px/1.55 Arial,sans-serif;color:#5a655a;margin:0;max-width:340px;
  }
  .editorial-homepage #explore .hub-card-link{display:none}
  .editorial-homepage #explore .hub-card:nth-child(n+3) .hub-card-title{
    text-decoration:underline;text-decoration-color:#bcc6b2;text-decoration-thickness:1px;text-underline-offset:5px;
  }
  .editorial-homepage #explore .hub-card:nth-child(-n+2){
    grid-column:auto;display:flex;flex-direction:column;background:#263c30;border-radius:36px 14px 14px 14px;
    border:1px solid #263c30;padding:24px 18px 22px;min-height:200px;margin-bottom:6px;
  }
  .editorial-homepage #explore .hub-card:nth-child(2){
    background:#e7ecdf;border-color:#d4ddcb;border-radius:14px 14px 36px 14px;
  }
  .editorial-homepage #explore .hub-card:nth-child(-n+2) .hub-card-title{
    font-size:25px;line-height:1.08;color:#f8f6f0;margin-bottom:16px;
  }
  .editorial-homepage #explore .hub-card:nth-child(-n+2) .hub-card-desc{
    font-size:13px;line-height:1.6;color:#d8e1d0;margin-top:auto;
  }
  .editorial-homepage #explore .hub-card:nth-child(2) .hub-card-title{color:#263c30}
  .editorial-homepage #explore .hub-card:nth-child(2) .hub-card-desc{color:#52614f}
  .editorial-homepage #explore .hub-card:focus-visible{outline:3px solid #ab4f32;outline-offset:4px}

  /* Real photographs and transaction details, with a visible next-card edge. */
  .editorial-homepage #cases{background:#e9ede3}
  .editorial-homepage #cases .home-swipe-hint{font:12px/1.5 Arial,sans-serif;color:#5a6854;margin:0 0 15px}
  .editorial-homepage #cases #listingsGrid{
    gap:14px;margin:0;padding:0 0 18px;scroll-snap-type:x mandatory;
    scrollbar-color:#71816c #d8e0d0;scrollbar-width:thin;
  }
  .editorial-homepage #cases #listingsGrid>.listing-card{
    flex:0 0 87%;width:87%;max-width:none;min-width:0;background:#f8f6f0;
    border:1px solid #d2dacb;border-radius:18px;box-shadow:none;transform:none;
  }
  .editorial-homepage #cases .listing-img{height:210px}
  .editorial-homepage #cases .listing-img-bg{transform:none}
  .editorial-homepage #cases .listing-body{padding:20px}
  .editorial-homepage #cases .listing-location{font:600 10px/1.5 Arial,sans-serif;letter-spacing:1px;color:#66705f;margin-bottom:12px}
  .editorial-homepage #cases .listing-loc-dot{display:none}
  .editorial-homepage #cases .ach-label{font:600 10px/1.5 Arial,sans-serif;letter-spacing:1px;color:#687360}
  .editorial-homepage #cases .ach-value{font:normal 27px/1.15 Georgia,serif;letter-spacing:-.6px;color:#263c30;margin-top:4px}
  .editorial-homepage #cases .listing-card-footer{border-color:#d8dccf;margin-top:18px;padding-top:13px}
  .editorial-homepage #cases .listing-flat-type{font-size:12px;color:#65705e}
  .editorial-homepage #cases .badge-sold{background:#263c30;border-radius:5px;font-size:9px;padding:5px 9px}

  /* News reads as a small editorial list rather than another large carousel. */
  .editorial-homepage #home-news .home-news-grid{display:grid;grid-template-columns:1fr;gap:0;padding:0;overflow:visible}
  .editorial-homepage #home-news .home-news-card{
    display:grid;grid-template-columns:100px minmax(0,1fr);gap:17px;align-items:start;
    width:auto;min-width:0;padding:22px 0;border:0;border-top:1px solid #d8dccf;
    border-radius:0;background:none;box-shadow:none;
  }
  .editorial-homepage #home-news .home-news-card img{width:100px;height:124px;object-fit:cover;border-radius:12px;display:block}
  .editorial-homepage #home-news .home-news-copy{padding:0;min-width:0}
  .editorial-homepage #home-news .home-news-copy small{font:11px/1.5 Arial,sans-serif;color:#697360;display:block}
  .editorial-homepage #home-news .home-news-copy h3{font:normal 22px/1.15 Georgia,serif;letter-spacing:-.5px;margin:8px 0 12px;color:#26372d}
  .editorial-homepage #home-news .home-news-copy>span{font:600 11px/1.5 Arial,sans-serif;color:#52654e}

  /* Complete client quotes with comfortable type and a sideways reading rail. */
  .editorial-homepage #home-reviews{background:#e9ede3}
  .editorial-homepage #home-reviews .italic-accent{color:#64745d}
  .editorial-homepage #home-reviews .town-reviews-grid{
    display:flex;gap:14px;margin:26px 0 0;max-width:100%;overflow-x:auto;padding:0 0 18px;
    scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#71816c #d8e0d0;
  }
  .editorial-homepage #home-reviews .town-review{
    flex:0 0 87%;min-width:0;display:flex;flex-direction:column;padding:24px;
    border:1px solid #d2dacb;border-radius:18px;background:#f8f6f0;scroll-snap-align:start;box-shadow:none;
  }
  .editorial-homepage #home-reviews .town-review-stars{display:none}
  .editorial-homepage #home-reviews .town-review-text{
    font:normal 22px/1.4 Georgia,serif;letter-spacing:-.3px;color:#26372d;margin:0 0 24px;
  }
  .editorial-homepage #home-reviews .town-review-author{
    margin-top:auto;padding-top:15px;border-top:1px solid #d8dccf;font:12px/1.5 Arial,sans-serif;color:#626e59;
  }
  .editorial-homepage #home-reviews .town-reviews-more{margin-top:22px;text-align:left}
  .editorial-homepage #home-reviews .btn-secondary{
    background:transparent;border-color:#acb9a2;border-radius:5px;min-height:48px;font-size:13px;color:#263c30;
  }

  /* A clear contact area, with the existing form and validation preserved. */
  .editorial-homepage #contact{background:#263c30;border-color:#263c30;border-radius:48px 0 0 0;color:#f8f6f0}
  .editorial-homepage #contact .contact-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .editorial-homepage #contact .contact-left{gap:20px;min-width:0}
  .editorial-homepage #contact .section-label{color:#b8c8ac}
  .editorial-homepage #contact .contact-h2{color:#f8f6f0}
  .editorial-homepage #contact .contact-sub{font:15px/1.65 Arial,sans-serif;color:#d5dfcc;margin:0}
  .editorial-homepage #contact .contact-sub strong{color:#f8f6f0;font-weight:400}
  .editorial-homepage #contact .contact-methods{gap:0}
  .editorial-homepage #contact .contact-method{
    min-width:0;background:none;border:0;border-top:1px solid #52654f;border-radius:0;padding:16px 0;color:#f8f6f0;
  }
  .editorial-homepage #contact .contact-method-icon{display:none}
  .editorial-homepage #contact .contact-method-label{font:600 12px/1.5 Arial,sans-serif;color:#d5dfcc;margin-bottom:3px}
  .editorial-homepage #contact .contact-method-value{font:16px/1.5 Arial,sans-serif;color:#f8f6f0;overflow-wrap:anywhere}
  .editorial-homepage #contact .contact-method:last-child .contact-method-value{font-size:12px;color:#c3d0bb}
  .editorial-homepage #contact a:focus-visible{outline-color:#d6bb7b}
  .editorial-homepage #contact .contact-right{background:#f8f6f0;border:0;border-radius:18px;padding:24px 20px;min-width:0}
  .editorial-homepage #contact .form-group{margin-bottom:20px;min-width:0}
  .editorial-homepage #contact .form-group[style]{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .editorial-homepage #contact .form-label{font:600 12px/1.5 Arial,sans-serif;color:#344330;margin-bottom:7px}
  .editorial-homepage #contact :is(.form-input,.form-textarea){
    min-width:0;min-height:48px;background:#fffefa;border:1px solid #cbd3c2;border-radius:6px;
    font:16px/1.5 Arial,sans-serif;padding:11px 12px;color:#26372d;
  }
  .editorial-homepage #contact :is(.form-input,.form-textarea):focus{outline:2px solid #718467;outline-offset:2px}
  .editorial-homepage #contact .btn-submit{min-height:52px;padding:14px 12px;font-size:13px;border-radius:5px;background:#263c30;color:#f8f6f0}

  .editorial-homepage .res-project{margin:0 24px;padding:38px 0;border:0}
  .editorial-homepage .res-project .section-label{font:600 9px/1.5 Arial,sans-serif;letter-spacing:1.7px;color:#626d5c;margin-bottom:14px}
  .editorial-homepage .res-project h2{font:normal 30px/1.15 Georgia,serif;letter-spacing:-.8px;color:#26372d}
  .editorial-homepage .res-project p{font:15px/1.65 Arial,sans-serif;color:#5a655a}
  .editorial-homepage .res-project .btn-secondary{font-size:13px;border-color:#acb9a2;border-radius:5px}

  /* Keep useful footer routes readable without one long column. */
  .editorial-homepage>footer{background:#263c30;padding:38px 24px 28px;border-top:0}
  .editorial-homepage .footer-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px;margin-bottom:28px}
  .editorial-homepage .footer-brand{grid-column:1/-1}
  .editorial-homepage .footer-logo{font:normal 32px/1.1 Georgia,serif;letter-spacing:-1px;margin-bottom:15px}
  .editorial-homepage .footer-desc{font:14px/1.65 Arial,sans-serif;margin-bottom:16px}
  .editorial-homepage .footer-badge{border:0;border-radius:0;background:transparent;padding:0;font:11px/1.5 Arial,sans-serif}
  .editorial-homepage .footer-badge>[aria-hidden]{display:none}
  .editorial-homepage .footer-col-title{font:600 9px/1.5 Arial,sans-serif;letter-spacing:1.5px;color:#bac9ae;margin:0 0 14px}
  .editorial-homepage .footer-links{gap:0}
  .editorial-homepage .footer-links a{display:block;padding:9px 0;font:13px/1.45 Arial,sans-serif;color:#e0e6d7}
  .editorial-homepage .footer-top>div:last-child{grid-column:1/-1;border-top:1px solid #50624b;padding-top:22px}
  .editorial-homepage .footer-top>div:last-child .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}
  .editorial-homepage footer #ranking-note{border-top:1px solid #50624b;padding-top:20px;font:11px/1.65 Arial,sans-serif;color:#c5d0bb}
  .editorial-homepage .footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:22px;margin-top:22px;border-color:#50624b}
  .editorial-homepage .footer-copy,.editorial-homepage .footer-legal{font:11px/1.6 Arial,sans-serif;color:#c5d0bb;text-align:left}
}
@media(max-width:374px){
  .editorial-homepage :is(#explore,#cases,#home-news,#home-reviews,#contact){padding:36px 18px}
  .editorial-homepage #explore .hub-card:nth-child(-n+2){padding:22px 15px;min-height:215px}
  .editorial-homepage #explore .hub-card:nth-child(-n+2) .hub-card-title{font-size:23px}
  .editorial-homepage #home-news .home-news-card{grid-template-columns:82px minmax(0,1fr);gap:14px}
  .editorial-homepage #home-news .home-news-card img{width:82px;height:115px}
  .editorial-homepage #home-news .home-news-copy h3{font-size:21px}
  .editorial-homepage #home-reviews .town-review{padding:22px 20px}
  .editorial-homepage #home-reviews .town-review-text{font-size:21px}
}
