/* ================================================================
   MUOI TRAVEL STORIES — BLOG HOME 2.2.0
   Editorial travel layout inspired by modern community magazines.
   ================================================================ */
.mhrh-traveltell-home {
  --story-green: #075a34;
  --story-deep: #042f1d;
  --story-lime: #d8f253;
  --story-sand: #f4f1e8;
  --story-ink: #112019;
  --story-muted: #66726b;
  --story-line: #dfe6e1;
  background: #fff;
  color: var(--story-ink);
  overflow: clip;
}

.mhrh-story-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: calc(115px + var(--mhrh-header-offset, 0px)) 0 145px;
  background-color: var(--story-deep);
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.mhrh-story-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg,rgba(1,16,9,.03),rgba(1,20,11,.32));
  content: '';
}

.mhrh-story-hero::after {
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  right: -170px;
  bottom: -210px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.02);
  content: '';
}

.mhrh-story-hero-inner { width: min(1240px, calc(100% - 48px)); }
.mhrh-story-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--story-lime); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.mhrh-story-kicker::before { width: 42px; height: 1px; background: currentColor; content: ''; }
.mhrh-story-hero h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(58px, 8vw, 112px); font-weight: 780; line-height: .9 !important; letter-spacing: -.065em !important; }
.mhrh-story-hero h1 em { color: var(--story-lime); font-style: normal; }
.mhrh-story-hero-inner > p { max-width: 680px; margin: 30px 0 34px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.72; }
.mhrh-story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.mhrh-story-actions > a { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 13px 22px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 750; transition: transform .25s ease, background .25s ease, color .25s ease; }
.mhrh-story-actions > a:hover { transform: translateY(-3px); }
.mhrh-story-actions > a.is-primary { border-color: var(--story-lime); background: var(--story-lime); color: #17331f; }
.mhrh-story-actions > a.is-primary span { font-size: 18px; }
.mhrh-story-actions > a.is-ghost { backdrop-filter: blur(8px); }
.mhrh-story-actions > a.is-ghost i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--story-green); font-size: 8px; font-style: normal; }

.mhrh-story-stats { position: absolute; right: max(24px, calc((100% - 1240px) / 2)); bottom: 92px; display: grid; grid-template-columns: repeat(3, auto); gap: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(2,28,16,.34); backdrop-filter: blur(12px); }
.mhrh-story-stats > div { min-width: 130px; padding: 18px 20px; }
.mhrh-story-stats > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.mhrh-story-stats strong, .mhrh-story-stats span { display: block; }
.mhrh-story-stats strong { color: #fff; font-size: 19px; line-height: 1; }
.mhrh-story-stats span { margin-top: 6px; color: rgba(255,255,255,.65); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.mhrh-story-scroll { position: absolute; left: 27px; bottom: 75px; display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.62) !important; font-size: 8px; font-weight: 700; letter-spacing: .16em; transform: rotate(-90deg); transform-origin: left center; }
.mhrh-story-scroll span { width: 42px; height: 1px; background: currentColor; }

.mhrh-story-search-dock { position: relative; z-index: 3; margin-top: -48px; }
.mhrh-story-search-dock form { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(230px,.65fr) auto; gap: 8px; padding: 11px; border: 1px solid #e2e9e4; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(5,49,28,.14); }
.mhrh-story-search-dock label { min-width: 0; }
.mhrh-story-search-field { display: grid; grid-template-columns: 42px 1fr; align-items: center; }
.mhrh-story-search-field > span { color: var(--story-green); font-size: 28px; text-align: center; }
.mhrh-story-search-field input { width: 100%; height: 58px; padding: 0 16px 0 4px; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--story-ink); font-size: 15px; }
.mhrh-story-search-category { display: flex; flex-direction: column; justify-content: center; padding: 5px 16px; border-left: 1px solid var(--story-line); }
.mhrh-story-search-category small { color: #89928c; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.mhrh-story-search-category select { width: 100%; height: 30px; padding: 0 25px 0 0; border: 0 !important; outline: 0; background-color: transparent !important; box-shadow: none !important; color: var(--story-ink); font-size: 13px; font-weight: 700; }
.mhrh-story-search-dock button { min-width: 180px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--story-green); color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; }
.mhrh-story-search-dock button span { margin-left: 12px; }

.mhrh-story-section { padding: 105px 0; }
.mhrh-story-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.mhrh-story-heading > div > span { display: block; margin-bottom: 10px; color: var(--story-green); font-size: 10px; font-weight: 850; letter-spacing: .19em; }
.mhrh-story-heading h2 { margin: 0; color: var(--story-ink); font-size: clamp(38px,5vw,66px); font-weight: 760; line-height: 1.02; letter-spacing: -.048em; }
.mhrh-story-heading > p { max-width: 440px; margin: 0; color: var(--story-muted); font-size: 14px; line-height: 1.65; }
.mhrh-story-heading > a { padding-bottom: 7px; border-bottom: 1px solid currentColor; color: var(--story-green); font-size: 12px; font-weight: 750; }

.mhrh-story-topics { padding-top: 120px; background: #fff; }
.mhrh-story-topic-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 265px; gap: 16px; }
.mhrh-story-topic { position: relative; isolation: isolate; grid-column: span 5; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 20px; background-color: #0a6137; background-position: center; background-size: cover; color: #fff !important; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.mhrh-story-topic:hover { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(6,55,31,.18); }
.mhrh-story-topic.is-featured { grid-column: span 7; grid-row: span 2; padding: 34px; }
.mhrh-story-topic:nth-child(4), .mhrh-story-topic:nth-child(5) { grid-column: span 6; }
.mhrh-story-topic::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(140deg,rgba(7,89,50,.9),rgba(5,48,28,.55)); content: ''; opacity: .25; }
.mhrh-story-topic-no { position: absolute; right: 22px; top: 18px; color: rgba(255,255,255,.56); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.mhrh-story-topic > i { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: var(--story-lime); font-size: 18px; font-style: normal; backdrop-filter: blur(7px); }
.mhrh-story-topic small { color: var(--story-lime); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.mhrh-story-topic h3 { max-width: 500px; margin: 7px 0 8px; color: #fff; font-size: clamp(25px,3vw,43px); font-weight: 750; line-height: 1.05; }
.mhrh-story-topic:not(.is-featured) h3 { font-size: 27px; }
.mhrh-story-topic p { max-width: 480px; margin: 0 0 18px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.5; }
.mhrh-story-topic:not(.is-featured) p { display: none; }
.mhrh-story-topic b { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.mhrh-story-topic b span { font-size: 20px; }

.mhrh-story-editors { background: var(--story-sand); }
.mhrh-story-editor-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(330px,.55fr); gap: 34px; }
.mhrh-story-editor-lead .mhrh-blog-card-image { min-height: 510px; }
.mhrh-story-editor-lead .mhrh-blog-card h2 { max-width: 850px; font-size: clamp(34px,4.2vw,58px); }
.mhrh-story-editor-side { display: grid; align-content: start; gap: 20px; }
.mhrh-story-editor-side .mhrh-blog-card { padding-bottom: 20px; border-bottom: 1px solid #d9ded9; }
.mhrh-story-editor-side .mhrh-blog-card:last-child { border: 0; }

.mhrh-story-smart { background: var(--story-deep); }
.mhrh-story-heading.is-light h2 { color: #fff; }
.mhrh-story-heading.is-light > div > span { color: var(--story-lime); }
.mhrh-story-heading.is-light > p { color: rgba(255,255,255,.62); }
.mhrh-story-smart-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.mhrh-smart-item { position: relative; min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.055); }
.mhrh-smart-item.is-big { grid-column: span 2; grid-row: span 2; }
.mhrh-smart-item .mhrh-blog-card-image { aspect-ratio: 16/9; }
.mhrh-smart-item.is-big .mhrh-blog-card-image { aspect-ratio: 16/10; }
.mhrh-smart-item .mhrh-blog-card-meta { color: rgba(255,255,255,.52); }
.mhrh-smart-item .mhrh-blog-card-meta span { color: var(--story-lime); }
.mhrh-smart-item .mhrh-blog-card h2, .mhrh-smart-item .mhrh-blog-card h3, .mhrh-smart-item .mhrh-blog-card h2 a, .mhrh-smart-item .mhrh-blog-card h3 a { color: #fff; }
.mhrh-smart-item .mhrh-blog-card h3 { font-size: 20px; }
.mhrh-smart-item .mhrh-blog-card p { color: rgba(255,255,255,.62); }
.mhrh-smart-item .mhrh-blog-read { color: var(--story-lime); }
.mhrh-smart-signal { position: absolute; z-index: 2; left: 25px; top: 25px; padding: 7px 10px; border-radius: 999px; background: var(--story-lime); color: #15321f; font-size: 8px; font-weight: 900; letter-spacing: .1em; }

.mhrh-story-trending { background: #fff; }
.mhrh-story-trend-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: #dfe5e1; }
.mhrh-story-trend-rail .mhrh-blog-card.is-rank { background: #fff; }
.mhrh-story-trend-rail .mhrh-blog-card.is-rank h3, .mhrh-story-trend-rail .mhrh-blog-card.is-rank h3 a { color: var(--story-ink); }
.mhrh-story-trend-rail .mhrh-blog-card.is-rank .mhrh-blog-card-meta { color: #7c877f; }
.mhrh-story-trend-rail .mhrh-blog-card.is-rank .mhrh-blog-card-meta span { color: var(--story-green); }
.mhrh-story-trend-rail .mhrh-blog-number { color: var(--story-green); text-shadow: none; }

.mhrh-story-channels { background: #f7f9f7; }
.mhrh-story-channel { padding: 52px 0; border-top: 1px solid var(--story-line); }
.mhrh-story-channel:first-of-type { padding-top: 10px; border-top: 0; }
.mhrh-story-channel-head { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 18px; margin-bottom: 28px; }
.mhrh-story-channel-head > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--story-green); color: #fff; font-size: 11px; font-weight: 800; }
.mhrh-story-channel-head small { color: var(--story-green); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.mhrh-story-channel-head h3 { margin: 2px 0 0; color: var(--story-ink); font-size: 31px; font-weight: 760; }
.mhrh-story-channel-head > a { display: inline-flex; align-items: center; gap: 10px; color: var(--story-green); font-size: 12px; font-weight: 750; }
.mhrh-story-channel-head > a b { font-size: 18px; }
.mhrh-story-channel-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(350px,.75fr); gap: 30px; }
.mhrh-story-channel-grid > div:first-child .mhrh-blog-card-image { aspect-ratio: 16/8.3; }
.mhrh-story-channel-grid > div:first-child .mhrh-blog-card h3 { font-size: clamp(28px,3.2vw,42px); }
.mhrh-story-channel-list { display: grid; gap: 16px; align-content: start; }
.mhrh-story-channel-list .mhrh-blog-card { padding-bottom: 16px; border-bottom: 1px solid var(--story-line); }
.mhrh-story-channel-list .mhrh-blog-card:last-child { padding-bottom: 0; border: 0; }
.mhrh-story-empty { padding: 38px; border: 1px dashed #bdcbc1; border-radius: 16px; background: #fff; text-align: center; }
.mhrh-story-empty strong { font-size: 22px; }
.mhrh-story-empty p { margin: 6px 0 15px; color: var(--story-muted); }
.mhrh-story-empty a { color: var(--story-green); font-weight: 750; }

.mhrh-story-community { padding: 95px 0; background: var(--story-lime); }
.mhrh-story-community .mhrh-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.mhrh-story-community span { color: #315c34; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.mhrh-story-community h2 { margin: 7px 0 9px; color: #12311d; font-size: clamp(38px,5vw,65px); font-weight: 780; letter-spacing: -.045em; }
.mhrh-story-community p { max-width: 700px; margin: 0; color: #3d5c45; }
.mhrh-story-community > .mhrh-wrap > a { min-width: 220px; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 999px; background: var(--story-deep); color: #fff; font-size: 13px; font-weight: 750; }
.mhrh-story-community > .mhrh-wrap > a span { color: var(--story-lime); font-size: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .mhrh-story-hero-inner > * { animation: mhrhStoryUp .65s both; }
  .mhrh-story-hero-inner > *:nth-child(2) { animation-delay: .08s; }
  .mhrh-story-hero-inner > *:nth-child(3) { animation-delay: .16s; }
  .mhrh-story-hero-inner > *:nth-child(4) { animation-delay: .24s; }
  @keyframes mhrhStoryUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1050px) {
  .mhrh-story-stats { position: static; width: max-content; margin-top: 42px; }
  .mhrh-story-topic-grid { grid-auto-rows: 240px; }
  .mhrh-story-editor-grid, .mhrh-story-channel-grid { grid-template-columns: 1fr; }
  .mhrh-story-editor-lead .mhrh-blog-card-image { min-height: 0; }
  .mhrh-story-editor-side, .mhrh-story-channel-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mhrh-story-editor-side .mhrh-blog-card, .mhrh-story-channel-list .mhrh-blog-card { display: block; }
  .mhrh-story-editor-side .mhrh-blog-card-image, .mhrh-story-channel-list .mhrh-blog-card-image { height: auto; aspect-ratio: 4/3; }
  .mhrh-story-editor-side .mhrh-blog-card-meta time, .mhrh-story-channel-list .mhrh-blog-card-meta time { display: inline; }
  .mhrh-story-trend-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .mhrh-story-hero { min-height: 680px; padding: calc(95px + var(--mhrh-header-offset,0px)) 0 110px; }
  .mhrh-story-hero-inner { width: calc(100% - 40px); }
  .mhrh-story-hero h1 { font-size: clamp(50px,15vw,72px); }
  .mhrh-story-hero-inner > p { font-size: 16px; }
  .mhrh-story-scroll { display: none; }
  .mhrh-story-stats { width: 100%; grid-template-columns: repeat(3,1fr); }
  .mhrh-story-stats > div { min-width: 0; padding: 14px 10px; }
  .mhrh-story-stats span { font-size: 7px; }
  .mhrh-story-search-dock { margin-top: -32px; }
  .mhrh-story-search-dock .mhrh-wrap { width: calc(100% - 24px); }
  .mhrh-story-search-dock form { grid-template-columns: 1fr; padding: 9px; }
  .mhrh-story-search-category { border-top: 1px solid var(--story-line); border-left: 0; }
  .mhrh-story-search-dock button { min-height: 52px; }
  .mhrh-story-section { padding: 72px 0; }
  .mhrh-story-heading { display: block; margin-bottom: 30px; }
  .mhrh-story-heading > p, .mhrh-story-heading > a { display: inline-block; margin-top: 14px; }
  .mhrh-story-topic-grid { display: flex; gap: 13px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mhrh-story-topic, .mhrh-story-topic.is-featured, .mhrh-story-topic:nth-child(4), .mhrh-story-topic:nth-child(5) { min-width: 82vw; min-height: 430px; padding: 24px; scroll-snap-align: start; }
  .mhrh-story-topic:not(.is-featured) p { display: block; }
  .mhrh-story-editor-side, .mhrh-story-channel-list { grid-template-columns: 1fr; }
  .mhrh-story-editor-side .mhrh-blog-card, .mhrh-story-channel-list .mhrh-blog-card { display: grid; }
  .mhrh-story-editor-side .mhrh-blog-card-image, .mhrh-story-channel-list .mhrh-blog-card-image { height: 94px; aspect-ratio: auto; }
  .mhrh-story-smart-grid { grid-template-columns: 1fr; }
  .mhrh-smart-item.is-big { grid-column: auto; grid-row: auto; }
  .mhrh-story-trend-rail { display: flex; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; background: transparent; }
  .mhrh-story-trend-rail .mhrh-blog-card { min-width: 84vw; border: 1px solid var(--story-line); scroll-snap-align: start; }
  .mhrh-story-channel-head { grid-template-columns: 52px 1fr; }
  .mhrh-story-channel-head > a { grid-column: 2; }
  .mhrh-story-community .mhrh-wrap { grid-template-columns: 1fr; gap: 28px; }
  .mhrh-story-community > .mhrh-wrap > a { width: 100%; }
}

@media (max-width: 480px) {
  .mhrh-story-actions > a { width: 100%; }
  .mhrh-story-stats strong { font-size: 15px; }
  .mhrh-story-stats span { letter-spacing: 0; }
  .mhrh-story-heading h2 { font-size: 39px; }
  .mhrh-story-topic, .mhrh-story-topic.is-featured, .mhrh-story-topic:nth-child(4), .mhrh-story-topic:nth-child(5) { min-width: 88vw; }
}
