/* Personal travel-map introduction; the map editor keeps its existing styles. */
.hero.map-hero {
  --map-hero-green: #245c48;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  align-items: center;
  gap: 56px;
  width: calc(100% - 64px);
  max-width: 1200px;
  min-height: 550px;
  margin: 26px auto 38px;
  padding: 54px 60px;
  border: 1px solid #e4e9df;
  border-radius: 30px;
  background: radial-gradient(ellipse at 94% 15%, #e6eee180, transparent 55%), linear-gradient(115deg, #fcfcf8, #f3f5ed);
  overflow: hidden;
}
.hero.map-hero::after { display: none; }
.map-hero .hero-copy { min-width: 0; animation: map-hero-arrive 650ms both; }
.map-hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #587565; font-size: 13px; font-weight: 400; letter-spacing: 0; margin: 0; }
.map-hero .eyebrow > span { width: 6px; height: 6px; background: #38795e; box-shadow: 0 0 0 4px #38795e0d; flex-shrink: 0; }
.hero.map-hero h1 { margin: 26px 0 20px; color: #203a30; font-size: clamp(40px, 4.65vw, 62px); line-height: 1.28; font-weight: 500; letter-spacing: -1px; }
.hero.map-hero h1 em { display: inline-block; color: var(--map-hero-green); font-weight: 600; }
.hero.map-hero h1 em::after { display: none; }
.hero.map-hero .intro { margin: 0; color: #647367; font-size: 17px; font-weight: 400; line-height: 1.9; }
.map-hero .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.map-hero .hero-actions .primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px; border: 1px solid #245c48; border-radius: 13px; background: var(--map-hero-green); color: #fff; font-size: 16px; font-weight: 500; box-shadow: 0 5px 12px #245c4814; }
.map-hero .hero-actions .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 16px; border: 1px solid #dce4d8; border-radius: 13px; background: #ffffff85; color: #355d49; font-size: 15px; font-weight: 400; }
.map-hero .hero-actions :is(a, button) { transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease; }
.map-hero .hero-actions svg { flex-shrink: 0; }
.map-hero .hero-actions :is(a, button):active { transform: translateY(1px); }
.map-hero-facts { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding-top: 21px; border-top: 1px solid #dce4d880; width: fit-content; }
.map-hero-facts p { display: flex; align-items: baseline; gap: 6px; margin: 0; color: #798576; font-size: 13px; }
.map-hero-facts b { color: #365846; font-size: 25px; line-height: 1.2; font-weight: 500; }
.map-hero-facts .map-hero-story { display: flex; flex-direction: column; align-items: start; gap: 0; padding-left: 22px; border-left: 1px solid #d9e2d4; line-height: 1.6; font-size: 11px; }
.map-hero-facts strong { font-size: 13px; color: #55725e; font-weight: 400; }
.map-hero .hero-art { position: relative; width: 100%; max-width: 350px; padding: 0 10px; margin: 0; justify-self: center; background: none; animation: map-hero-arrive 800ms 80ms both; }
.map-hero-orbit { position: absolute; width: 520px; height: 520px; top: 46%; left: 50%; transform: translate(-50%, -50%); border: 1px solid #b4c9b73b; border-radius: 50%; z-index: -1; pointer-events: none; }
.map-hero-orbit::before { content: ''; position: absolute; inset: 26px; border: 1px dashed #b4c9b749; border-radius: 50%; }
.map-hero .hero-art::before { content: ''; position: absolute; inset: 10px 4px 52px; background: #dce8d7; border: 1px solid #c8dbc5; border-radius: 21px; transform: rotate(4deg); z-index: -1; }
.map-postcard.postcard { display: block; position: relative; max-width: 100%; padding: 22px 24px 20px; margin: 0; background: #fffffb; border: 1px solid #e0e6d9; border-radius: 20px !important; transform: rotate(-2deg); box-shadow: 0 20px 40px -18px #234a3438, 0 3px 6px #234a3405; transition: transform 300ms ease, box-shadow 300ms ease; }
.map-postcard.postcard::before { display: none; }
.map-postcard .postcard-top { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.map-postcard .postcard-top .mini-label { font: 400 14px/1.5 Bangla, sans-serif; color: #3c614c; letter-spacing: 0; }
.map-postcard .sample-tag { background: #eef4e9; border: 1px solid #dfe8d7; color: #607654; font-size: 10px; padding: 3px 9px; border-radius: 20px; }
.map-postcard .map-hero-map, .map-postcard #hero-map { display: block; width: 100%; height: 278px; margin: 12px 0 14px; }
.map-postcard .map-hero-map path { stroke: #fffffb; }
.map-postcard .map-hero-map path[fill="#d5ddc5"] { fill: #dce5d0; }
.map-postcard .map-hero-map path[fill="#477253"] { fill: #3c7557; }
.map-postcard .postcard-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e5e9df; padding-top: 14px; gap: 12px; }
.map-postcard .postcard-foot b { font-size: 30px; line-height: 1.3; font-weight: 600; color: #2c5842; }
.map-postcard .postcard-foot b span { font-size: 13px; font-weight: 400; color: #788773; }
.map-postcard .postcard-foot small { display: block; font-size: 11px; color: #7c8875; margin-top: 3px; }
.map-postcard-seal { display: block; width: 42px; height: 42px; color: #628367; flex-shrink: 0; }
.map-postcard-seal svg { display: block; width: 100%; height: 100%; }
.map-postcard-progress { height: 3px; border-radius: 3px; background: #e9eee3; margin-top: 15px; overflow: hidden; }
.map-postcard-progress span { display: block; width: 18.75%; height: 100%; border-radius: inherit; background: #4b805f; }
.map-hero-caption { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; font-weight: 400; color: #77866f; margin: 24px 0 0; }
.map-hero-caption > span { display: block; width: 14px; height: 1px; background: #a5b59b; }
.sample-dialog .map-postcard.postcard { margin: 20px auto 0; }
.sample-dialog .map-postcard .map-hero-map { height: 240px; }
.sample-dialog .map-postcard .map-postcard-seal svg { height: 42px; width: 42px; }
html[lang="en"] .hero.map-hero h1 { font-size: clamp(34px, 3.5vw, 48px); letter-spacing: -1.5px; }
@media (hover: hover) {
  .map-hero .hero-actions .primary:hover { background: #1b4d39; box-shadow: 0 8px 16px #245c4820; transform: translateY(-2px); }
  .map-hero .hero-actions .text-button:hover { background: #fff; transform: translateY(-2px); }
  .map-hero .map-postcard:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 24px 42px -18px #234a3440; }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .hero.map-hero { width: calc(100% - 40px); padding: 40px 30px; gap: 28px; min-height: 510px; }
  .hero.map-hero h1 { font-size: 43px; }
  .hero.map-hero .intro { font-size: 15px; }
  .map-hero .hero-actions { gap: 8px; }
  .map-hero .hero-actions .primary { font-size: 14px; padding: 12px 15px; }
  .map-hero .hero-actions .text-button { font-size: 13px; padding: 12px; }
  .map-hero-facts { gap: 16px; }
  .map-hero-facts .map-hero-story { padding-left: 16px; }
  .map-postcard.postcard { padding: 18px; }
  .map-postcard .map-hero-map, .map-postcard #hero-map { height: 240px; }
}
@media (max-width: 700px) {
  .hero.map-hero { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); gap: 34px; margin: 12px auto 26px; padding: 32px 20px 26px; border-radius: 24px; min-height: 0; }
  .map-hero .hero-copy { text-align: center; }
  .map-hero .eyebrow { font-size: 11px; justify-content: center; gap: 7px; }
  .hero.map-hero h1 { font-size: clamp(32px, 9.6vw, 46px); line-height: 1.32; letter-spacing: -.6px; margin: 20px 0 14px; }
  .hero.map-hero .intro { font-size: 14px; line-height: 1.85; max-width: 360px; margin: 0 auto; }
  .hero.map-hero .intro br { display: none; }
  .map-hero .hero-actions { justify-content: center; gap: 8px; margin-top: 23px; }
  .map-hero .hero-actions .primary { min-height: 48px; padding: 11px 14px; font-size: 13px; gap: 7px; border-radius: 11px; }
  .map-hero .hero-actions .text-button { min-height: 48px; padding: 11px 12px; font-size: 13px; gap: 7px; border-radius: 11px; }
  .map-hero .hero-actions svg { width: 16px; height: 16px; }
  .map-hero-facts { margin: 23px auto 0; gap: 20px; padding-top: 17px; }
  .map-hero-facts b { font-size: 22px; }
  .map-hero-facts p { font-size: 11px; gap: 4px; }
  .map-hero-facts .map-hero-story { padding-left: 18px; font-size: 10px; }
  .map-hero-facts strong { font-size: 11px; }
  .map-hero .hero-art { max-width: 292px; padding: 0 10px; justify-self: center; }
  .map-hero-orbit { width: 360px; height: 360px; }
  .map-postcard.postcard { padding: 17px 20px; border-radius: 17px !important; }
  .map-postcard .postcard-top .mini-label { font-size: 12px; }
  .map-postcard .map-hero-map, .map-postcard #hero-map { height: 217px; margin: 10px 0 12px; }
  .map-postcard .postcard-foot { border-top: 1px solid #e5e9df; padding-top: 12px; }
  .map-postcard .postcard-foot b { font-size: 26px; }
  .map-postcard .postcard-foot b span { font-size: 12px; }
  .map-postcard .postcard-foot small { font-size: 10px; }
  .map-postcard-seal { width: 36px; height: 36px; }
  .map-postcard-progress { margin-top: 12px; }
  .map-hero-caption { font-size: 10px; margin-top: 20px; }
  html[lang="en"] .hero.map-hero h1 { font-size: clamp(29px, 8.3vw, 40px); letter-spacing: -1px; }
}
@keyframes map-hero-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .map-hero .hero-copy, .map-hero .hero-art { animation: none; }
  .map-hero .hero-actions :is(a, button), .map-postcard.postcard { transition: none; }
}
