/* Hometown Country Meadows v12.2.0 — focused home redesign.
   Home-only styling. Does not alter menu position/state, modal backdrops,
   Messenger polling, notification payloads or the site-wide scroll lock. */
html[data-theme="dark"] body.hcm948-social-home .hcm94-home {
  --h1220-canvas:#09131e;
  --h1220-surface:#1b2738;
  --h1220-surface-2:#243248;
  --h1220-ink:#f4f8ff;
  --h1220-muted:#aebed0;
  --h1220-line:rgba(148,187,231,.19);
  --h1220-teal:#28c8c5;
  --h1220-ice:#b8f4e5;
  --h1220-shadow:0 12px 30px rgba(1,8,18,.18);
  color:var(--h1220-ink);
}
/* The desktop starts with the editorial hero; no extra faux banners or empty spacer panels. */
@media(min-width:951px){
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-titlebar {
    margin:0 0 12px!important;align-items:center!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-titlebar h1 {
    font-size:clamp(22px,1.7vw,29px)!important;letter-spacing:-.04em!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-columns {
    grid-template-columns:minmax(175px,205px) minmax(0,1fr) minmax(180px,215px)!important;
    gap:clamp(12px,1.1vw,22px)!important;
    align-items:start!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side {
    gap:12px!important;position:sticky!important;top:79px!important;overflow-y:auto!important;
  }
}
/* Cinematic shallow cover, readable over any uploaded image and no overhanging controls. */
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover {
  height:204px!important;min-height:204px!important;
  border-radius:19px!important;overflow:hidden!important;
  border:1px solid rgba(169,218,238,.25)!important;
  background:#132339!important;
  box-shadow:0 16px 35px rgba(0,6,14,.27)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .cover-slide {
  background-size:cover!important;background-position:center 50%!important;
  transition:opacity .8s ease!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .hcm94-cover-shade {
  background:linear-gradient(90deg,rgba(4,13,28,.91) 0%,rgba(7,22,39,.76) 32%,rgba(6,22,39,.22) 68%,rgba(6,15,27,.08) 100%),
             linear-gradient(0deg,rgba(3,10,21,.37),transparent 55%)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-body {
  width:min(100%,480px)!important;padding:20px 28px 26px!important;
  justify-content:center!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-tag {
  font-size:10px!important;color:#8de6e3!important;letter-spacing:.13em!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover h2 {
  font-size:clamp(25px,2.2vw,35px)!important;line-height:1.04!important;
  letter-spacing:-.055em!important;text-shadow:0 3px 15px rgba(0,0,0,.35)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover h2 em {color:#aef3e3!important}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover p {
  color:#dfebf7!important;max-width:370px!important;font-size:12px!important;
  margin:9px 0 13px!important;line-height:1.45!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-cta {
  background:linear-gradient(120deg,#45d5d5,#1eaaa9)!important;
  border:1px solid rgba(175,251,243,.52)!important;
  color:#071d2b!important;border-radius:10px!important;
  padding:11px 15px!important;box-shadow:0 7px 20px rgba(16,179,179,.2)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-cta span{color:#071d2b!important}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-secondary {color:#e5f4fc!important}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .cover-controls {
  background:rgba(9,23,39,.70)!important;border:1px solid rgba(255,255,255,.16)!important;
  border-radius:999px!important;gap:7px!important;padding:4px 7px!important;
  box-shadow:0 5px 16px rgba(0,0,0,.28)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .cover-controls>button {
  background:rgba(72,106,142,.5)!important;border:1px solid rgba(255,255,255,.16)!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .cover-dots button.selected{background:#4fddcf!important}
/* Genuine shortcuts: short horizontal editorial tiles. No dummy content. */
body.hcm948-social-home .hcm1220-quick-row {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  margin:12px 0 0!important;min-width:0;
}
body.hcm948-social-home .hcm1220-quick-row a {
  display:flex;align-items:center;gap:9px;min-width:0;
  padding:11px 12px;border-radius:13px;
  background:linear-gradient(130deg,rgba(45,64,88,.82),rgba(26,40,58,.88));
  border:1px solid rgba(145,184,216,.20);
  color:#f0f8ff!important;text-decoration:none!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
body.hcm948-social-home .hcm1220-quick-row a:hover,
body.hcm948-social-home .hcm1220-quick-row a:focus-visible{
  background:linear-gradient(120deg,rgba(52,89,119,.94),rgba(27,54,75,.96));
  border-color:rgba(70,217,218,.60);transform:translateY(-1px);
}
body.hcm948-social-home .hcm1220-quick-row .hcm1220-quick-icon{
  width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;
  background:rgba(43,197,193,.14);border:1px solid rgba(43,197,193,.24);
  color:#85e8e8!important;border-radius:10px;font-size:20px;
}
body.hcm948-social-home .hcm1220-quick-row a>span:nth-child(2){min-width:0;display:block;flex:1}
body.hcm948-social-home .hcm1220-quick-row strong{
  display:block;color:#f5faff!important;font-size:12px;line-height:1.25!important;
  font-weight:750;white-space:normal;
}
body.hcm948-social-home .hcm1220-quick-row small{
  display:block;color:#a7c0d3!important;font-size:10px;line-height:1.35;margin-top:3px;
}
body.hcm948-social-home .hcm1220-quick-row .hcm1220-quick-arrow{
  flex:0 0 auto;color:#7ce1da!important;font-size:13px;
}
/* Stories: compact horizontal timeline. Existing Create and story viewer handlers remain. */
body.hcm948-social-home .hcm1220-stories-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;margin:14px 0 6px;min-width:0;
}
body.hcm948-social-home .hcm1220-stories-head h2{
  color:#eaf4fd!important;font-size:15px!important;letter-spacing:-.03em!important;
  font-weight:740!important;margin:0!important;
}
body.hcm948-social-home .hcm1220-stories-head .hcm94-eyebrow{font-size:9px!important;white-space:nowrap}
@media(min-width:901px){
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip {
    display:flex!important;height:116px!important;min-height:116px!important;max-height:116px!important;
    gap:9px!important;align-items:stretch!important;
    padding:4px 2px 8px!important;margin:0 0 6px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    background:transparent!important;
  }
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip > .hcm948-story{
    flex:0 0 96px!important;width:96px!important;min-width:96px!important;max-width:96px!important;
    height:102px!important;min-height:102px!important;max-height:102px!important;
    padding:8px!important;border-radius:14px!important;
    background:#22344a!important;border:1px solid rgba(146,198,226,.25)!important;
    box-shadow:0 4px 14px rgba(3,13,24,.14)!important;
  }
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip > .hcm948-create-story{
    flex:0 0 120px!important;width:120px!important;min-width:120px!important;max-width:120px!important;
    background:linear-gradient(140deg,#273c55,#1a283b)!important;
    justify-content:center!important;align-items:center!important;
    gap:4px!important;
  }
  body.hcm948-social-home .hcm948-story-strip .hcm948-story strong{
    font-size:11px!important;line-height:1.2!important;
    text-align:center;align-self:center;max-width:100%!important;
    color:#f6fcff!important;
  }
  body.hcm948-social-home .hcm948-create-story .hcm948-story-scene{
    display:none!important;
  }
  body.hcm948-social-home .hcm948-create-story .hcm948-story-plus{
    display:grid!important;place-items:center!important;position:static!important;
    width:38px!important;height:38px!important;margin:0 0 2px!important;
    background:linear-gradient(145deg,#30c9c9,#118eaa)!important;
    border:1px solid rgba(166,241,244,.54)!important;
    color:#061b2a!important;font-size:27px!important;
  }
  body.hcm948-social-home .hcm948-story-strip .hcm948-story-mark{
    width:28px!important;height:28px!important;top:7px!important;left:7px!important;
    border:2px solid #83e9dd!important;background:#162a3d!important;
  }
  body.hcm948-social-home .hcm948-story-strip .hcm948-story-mark img{width:100%!important;height:100%!important}
}
/* Tight feed opening. No giant blank story container. */
body.hcm948-social-home .hcm94-home .hcm94-feed{
  margin-top:9px!important;
}
body.hcm948-social-home .hcm94-home .hcm94-feed-header{
  padding:0 1px 3px!important;margin:0 0 8px!important;
}
body.hcm948-social-home .hcm94-home .hcm94-feed-header h2{
  font-size:20px!important;letter-spacing:-.04em!important;color:#f2f7ff!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-composer{
  background:linear-gradient(160deg,rgba(37,53,74,.96),rgba(25,39,57,.96))!important;
  border:1px solid rgba(143,190,223,.21)!important;
  border-radius:17px!important;
  box-shadow:0 7px 26px rgba(0,9,20,.18)!important;
  padding:15px 17px!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-composer textarea{
  min-height:60px!important;border-radius:11px!important;
  border:1px solid rgba(147,188,219,.27)!important;
  background:rgba(9,21,36,.7)!important;
  color:#eff7fd!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-feed-sort>a{
  background:#22354d!important;border-color:rgba(126,178,211,.23)!important;
  color:#d8e6f4!important;border-radius:10px!important;
}
html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-feed-sort>a.hcm94-selected{
  background:rgba(27,171,178,.2)!important;border-color:rgba(54,222,211,.65)!important;
  color:#c2fff5!important;
}
/* Side rails: editorial panels rather than stacks of glossy buttons. */
@media(min-width:951px){
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side>.hcm94-widget{
    background:linear-gradient(160deg,rgba(37,51,72,.93),rgba(25,38,56,.96))!important;
    border:1px solid rgba(150,190,227,.19)!important;
    border-radius:15px!important;
    padding:12px!important;
    box-shadow:0 7px 23px rgba(1,12,25,.13)!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-widget-head h2{
    font-size:13px!important;color:#f5faff!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-widget-head span,
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-widget-head a{
    color:#66d8d6!important;font-size:9px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-shortcuts a,
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-quick>a{
    background:rgba(13,27,44,.46)!important;border:1px solid rgba(143,180,218,.15)!important;
    border-radius:9px!important;color:#dfebf6!important;
    box-shadow:none!important;min-height:32px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-shortcuts a:hover,
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-quick>a:hover{
    background:rgba(23,84,104,.40)!important;border-color:rgba(51,197,201,.44)!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-numbers{
    background:linear-gradient(150deg,rgba(35,51,74,.94),rgba(25,39,57,.94))!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-numbers>div{
    background:transparent!important;box-shadow:none!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-side .hcm94-footnote{
    padding:7px 4px!important;font-size:10px!important;color:#aebed0!important;
  }
}
/* Mid-size desktop: keep the feed primary, side panels readable. */
@media(min-width:951px) and (max-width:1240px){
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-columns{
    grid-template-columns:minmax(158px,180px) minmax(0,1fr) minmax(160px,185px)!important;
    gap:10px!important;
  }
  body.hcm948-social-home .hcm1220-quick-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body.hcm948-social-home .hcm1220-quick-row a{padding:8px;gap:6px}
  body.hcm948-social-home .hcm1220-quick-row .hcm1220-quick-icon{width:29px;height:29px;flex-basis:29px}
  body.hcm948-social-home .hcm1220-quick-row .hcm1220-quick-arrow{display:none}
  body.hcm948-social-home .hcm1220-quick-row small{display:none}
}
/* Mobile: keep the existing scrollable feed and its menu untouched; improve only home content. */
@media(max-width:950px){
  body.hcm948-social-home .hcm1220-quick-row{display:none!important}
  body.hcm948-social-home .hcm1220-stories-head{display:none!important}
  html[data-theme="dark"] body.hcm948-social-home .hcm948-quick-composer{
    background:#101c2b!important;
    border-bottom:1px solid rgba(128,183,216,.1)!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm948-quick-composer button[data-hcm948-compose]{
    background:#1b2c41!important;border:1px solid rgba(139,180,220,.28)!important;
    color:#c5d5e3!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm948-story-strip{
    gap:9px!important;padding:6px 12px 12px!important;
    background:#0d1a29!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm948-story-strip>.hcm948-story{
    flex:0 0 98px!important;width:98px!important;min-width:98px!important;
    height:135px!important;min-height:135px!important;max-height:135px!important;
    background:linear-gradient(160deg,#233850,#17283d)!important;
    border:1px solid rgba(143,190,216,.22)!important;border-radius:13px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm948-story-strip .hcm948-story-scene{
    background:radial-gradient(circle at 50% 36%,rgba(60,216,214,.25),transparent 50%),linear-gradient(145deg,#20354c,#142238)!important;
    font-size:44px!important;color:#bbf4eb!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm948-story-strip .hcm948-story-plus{
    background:#18b6b4!important;border-color:#172638!important;
    width:40px!important;height:40px!important;font-size:25px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-feed-sort{
    background:#0f1c2b!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .feed-post-scroll article.post{
    background:#19283a!important;border-bottom:1px solid rgba(148,189,215,.11)!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm942-inline{
    background:#22354a!important;border-color:rgba(126,182,214,.2)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.hcm948-social-home .hcm1220-quick-row a{transition:none!important}
  body.hcm948-social-home .hcm94-cover .cover-slide{transition:none!important}
}


/* v12.2.1: desktop composition repair — keep all text within the hero and story cards.
   Scoped to Home and desktop only. No navigation, scrolling, or modal changes. */
@media (min-width:901px) {
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover {
    height:264px!important; min-height:264px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-body {
    box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:flex-start!important;
    gap:0!important;
    height:100%!important;max-height:100%!important;
    width:min(100%,540px)!important;
    padding:18px 28px 42px!important;
    overflow:visible!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-tag {
    flex:0 0 auto!important;margin:0 0 11px!important;line-height:1.3!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover h2 {
    flex:0 0 auto!important;
    display:block!important;
    font-size:clamp(25px,2.4vw,34px)!important;
    line-height:1.12!important;
    margin:0!important;
    max-height:none!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover h2 em {
    display:block!important;line-height:1.15!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover p {
    flex:0 0 auto!important;
    margin:11px 0 13px!important;
    line-height:1.45!important;
    font-size:12px!important;
    max-width:390px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-actions {
    flex:0 0 auto!important;display:flex!important;
    align-items:center!important;flex-wrap:wrap!important;
    gap:10px!important;margin:0!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover .cover-controls {
    bottom:10px!important;right:12px!important;
    max-width:calc(100% - 24px)!important;
  }
  body.hcm948-social-home .hcm1220-stories-head {
    display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;align-items:flex-start!important;
    gap:4px!important;margin:19px 0 11px!important;
    min-height:42px!important;
  }
  body.hcm948-social-home .hcm1220-stories-head h2 {
    font-size:17px!important;line-height:1.3!important;
    margin:0!important;white-space:normal!important;
  }
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip {
    height:120px!important;min-height:120px!important;max-height:120px!important;
    padding:2px 2px 9px!important;margin:0 0 12px!important;
    display:flex!important;align-items:flex-start!important;
    overflow-x:auto!important;overflow-y:hidden!important;
  }
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip > .hcm948-story,
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip > .hcm948-create-story {
    box-sizing:border-box!important;
    height:107px!important;min-height:107px!important;max-height:107px!important;
    padding:9px!important;
    display:flex!important;flex-direction:column!important;
    justify-content:center!important;align-items:center!important;
    gap:7px!important;
    overflow:hidden!important;
  }
  body.hcm948-social-home .hcm942-center > .hcm948-story-strip > .hcm948-create-story {
    flex:0 0 126px!important;width:126px!important;
    min-width:126px!important;max-width:126px!important;
  }
  body.hcm948-social-home .hcm948-create-story .hcm948-story-plus {
    width:43px!important;height:43px!important;
    min-width:43px!important;min-height:43px!important;
    flex:0 0 43px!important;position:static!important;
    border-width:2px!important;border-radius:50%!important;
    margin:0!important;
  }
  body.hcm948-social-home .hcm948-story-strip .hcm948-story strong {
    font-size:12px!important;line-height:1.25!important;
    font-weight:750!important;margin:0!important;
    white-space:normal!important;max-height:none!important;
  }
  body.hcm948-social-home .hcm948-create-story small {
    display:none!important;
  }
  body.hcm948-social-home .hcm948-create-story::before {
    display:none!important;
  }
  body.hcm948-social-home .hcm94-home .hcm94-feed {
    margin-top:14px!important;
  }
  body.hcm948-social-home .hcm94-home .hcm94-feed-header {
    margin:0 0 12px!important;
    align-items:center!important;
  }
}
@media (min-width:901px) and (max-width:1180px) {
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover {
    height:286px!important;min-height:286px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover-body {
    padding:16px 22px 44px!important;
  }
  html[data-theme="dark"] body.hcm948-social-home .hcm94-home .hcm94-cover h2 {
    font-size:27px!important;
  }
}
