/* Discovery components: bento tiles, chips, sheets, snackbar and loading states. */
.magazine-body { --radius: 24px; --radius-sm: 14px; --card: #fff; --wrap: min(1320px,calc(100% - 80px)); }
.magazine-body .site-header { backdrop-filter: blur(18px); }
.travel-bento { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:18px; margin-block:28px 32px; }
.bento-tile { border-radius:26px; overflow:hidden; min-width:0; }
.bento-intro { grid-column:span 5; background:#eeefe7; padding:38px; display:flex; flex-direction:column; align-items:flex-start; }
.bento-eyebrow { display:flex; gap:8px; align-items:center; color:#55654b; font-size:10px; font-weight:700; letter-spacing:.12em; }
.bento-eyebrow > span { width:6px; height:6px; border-radius:50%; background:#63765a; }
.bento-intro h1 { font:700 clamp(29px,3.1vw,45px)/1.5 var(--font-display); letter-spacing:-.06em; margin:24px 0 14px; }
html:not([lang=ko]) .bento-intro h1 { font-size:clamp(28px,2.7vw,40px); line-height:1.35; overflow-wrap:anywhere; letter-spacing:-.03em; }
.bento-intro p { font-size:13px; line-height:1.9; color:var(--ink-soft); margin-bottom:22px; }
.magazine-body .bento-intro .button { border-radius:999px; padding:13px 20px; background:var(--ink); color:white; gap:18px; }
.bento-caption { color:#68725e; font-size:11px; margin-top:22px; display:flex; gap:8px; }
.bento-feature { grid-column:6/13; grid-row:1/3; position:relative; background:#344b3d; color:white; min-height:540px; }
.bento-feature-link { position:relative; display:flex; flex-direction:column; justify-content:space-between; padding:28px; height:100%; isolation:isolate; }
.bento-feature-image { position:absolute; inset:0; z-index:-2; }
.bento-feature-image img { width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.bento-feature-link::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#14251a30,transparent 35%,#12241ac9); }
.bento-feature-link:hover img { transform:scale(1.035); }
.bento-feature-top { display:flex; justify-content:space-between; align-items:center; }
.bento-feature-top > span:first-child { font-size:12px; border:1px solid #ffffff70; padding:8px 14px; border-radius:99px; backdrop-filter:blur(10px); background:#192b2729; }
.bento-feature-copy { padding-top:150px; max-width:580px; }
.bento-feature-copy > span { display:flex; gap:6px; align-items:center; font-size:12px; color:#ffffffd9; }
.bento-feature-copy > span .icon { width:15px; }
.bento-feature-copy h2 { font:700 clamp(25px,2.7vw,38px)/1.45 var(--font-display); letter-spacing:-.045em; margin:14px 0 18px; text-wrap:balance; overflow-wrap:anywhere; }
.bento-feature-copy p { font-size:12px; display:flex; gap:14px; align-items:center; }
.bento-feature-copy small { font-size:10px; }
.magazine-body .bento-feature .bookmark-button { top:24px; bottom:auto; right:24px; width:44px; height:44px; background:#ffffffed; color:var(--ink); }
.magazine-body .bento-feature .bookmark-button.is-saved { background:var(--ink); color:white; }
.bento-saved,.bento-discover { padding:24px; display:flex; flex-direction:column; align-items:flex-start; text-align:left; transition:transform .2s; }
.bento-saved:hover,.bento-discover:hover { transform:translateY(-3px); }
.bento-saved { grid-column:span 2; background:#f1e6d6; }
.bento-discover { grid-column:span 3; background:#e5e9e0; }
.bento-mini-icon { margin-bottom:18px; width:35px; height:35px; display:grid; place-items:center; border:1px solid #24352f38; border-radius:50%; }
.bento-mini-icon .icon { width:17px; height:17px; }
.bento-mini-label { color:var(--ink-soft); font-size:10px; margin-bottom:7px; }
.bento-tile strong { font:700 19px/1.5 var(--font-display); letter-spacing:-.03em; }
.bento-saved strong { font-size:16px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.bento-saved [data-saved-count] { background:#ffffff8c; border-radius:999px; padding:1px 9px; font:600 12px var(--font-body); }
.bento-mini-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; margin-top:18px; font-size:10px; color:var(--ink-soft); }
.bento-mini-foot .icon { width:15px; height:15px; flex-shrink:0; }
.bento-no-feature { display:grid; align-content:center; justify-items:center; padding:40px; gap:20px; }
.magazine-body .magazine-index { border:0; background:#fff; border-radius:20px; padding:20px 24px; margin-bottom:64px; }
.magazine-body .topics { gap:8px; flex-wrap:wrap; }
.magazine-body .topic-chip,.magazine-body .chip { border:1px solid var(--line); border-radius:999px; padding:10px 16px; background:transparent; min-height:42px; display:inline-flex; align-items:center; font-size:12px; }
.magazine-body .topic-chip:hover,.magazine-body .topic-chip.selected,.magazine-body .chip.selected { background:var(--ink); color:white; border-color:var(--ink); }
.magazine-body .topic-chip .count { border-radius:99px; background:#e8ece4; color:#465c40; padding:1px 7px; font-size:10px; }
.magazine-body .topic-chip.selected .count { background:#ffffff24; color:white; }
.magazine-body .collection-grid { grid-template-columns:1.15fr 1fr; gap:18px; }
.magazine-body .post-card { background:#fff; border:1px solid #e5e5db; border-radius:22px; overflow:hidden; transition:box-shadow .2s,transform .2s; }
.magazine-body .post-card:hover { box-shadow:0 12px 32px #24352f0a; transform:translateY(-3px); }
.magazine-body .card-media { border-radius:0; }
.magazine-body .card-body { padding:22px; gap:12px; }
.magazine-body .card-title { min-height:0; font-size:21px; line-height:1.55; }
.magazine-body .card-excerpt { min-height:0; font-size:13px; }
.magazine-body .card-foot { font-size:11px; }
.magazine-body .card-more { font-size:11px; }
.magazine-body .bookmark-button { width:42px; height:42px; }
.magazine-body .image-label { border-radius:99px; padding:7px 10px; }
.magazine-body .collection-grid > .post-card:first-child { grid-row:span 3; }
.magazine-body .collection-grid > .post-card:first-child .card-media { aspect-ratio:auto; flex:1; min-height:300px; }
.magazine-body .collection-grid > .post-card:first-child .card-body { flex:0; }
.magazine-body .collection-grid > .post-card:first-child .card-title { font-size:28px; }
.magazine-body .collection-grid > .post-card:not(:first-child) { display:flex; flex-direction:row; min-height:182px; }
.magazine-body .collection-grid > .post-card:not(:first-child) .card-media { width:38%; min-height:100%; aspect-ratio:auto; }
.magazine-body .collection-grid > .post-card:not(:first-child) .card-body { flex:1; min-width:0; padding:20px; gap:8px; }
.magazine-body .collection-grid > .post-card:not(:first-child) .card-title { font-size:17px; }
.magazine-body .collection-grid > .post-card:not(:first-child) .card-excerpt { -webkit-line-clamp:2; font-size:11px; }
.magazine-body .collection-grid > .post-card:not(:first-child) .card-more { display:none; }
.magazine-body .destinations { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.magazine-body .destination-card { background:#fff; border:1px solid var(--line-soft); border-radius:20px; overflow:hidden; }
.destination-photo { aspect-ratio:4/3; position:relative; }
.destination-info { padding:18px; }
.magazine-body .destination-card .dest-index { right:18px; }
.magazine-body .destination-card strong { font-size:21px; }
.magazine-body .promise { border-radius:26px; }
.magazine-body .page-head { padding-bottom:36px; }
.magazine-body .search-hero { max-width:none; }
.magazine-body .search-box { max-width:760px; }
.magazine-body .search-box input { border-radius:999px; min-width:0; }
.magazine-body .search-box .button { border-radius:999px; }
.discovery-filterbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:22px 0; border-bottom:1px solid var(--line); }
.filter-chips { display:flex; gap:8px; flex-wrap:wrap; }
.filter-chip,.filter-sheet-button { display:inline-flex; gap:8px; align-items:center; min-height:44px; border:1px solid var(--line); border-radius:99px; padding:10px 18px; font-size:13px; background:white; }
.filter-chip[aria-pressed='true'] { background:var(--ink); color:white; border-color:var(--ink); }
.filter-sheet-button { color:var(--ink); }
.filter-sheet-button .icon { width:16px; }
.filter-sheet-button [data-filter-count] { background:var(--ink); color:white; border-radius:50%; min-width:20px; }
.active-filter-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:14px 0; font-size:12px; }
.active-filter-row button { display:inline-flex; align-items:center; gap:4px; text-decoration:underline; color:var(--accent-deep); min-height:36px; }
.active-filter-row .icon { width:13px; }
.popular-destinations { margin-block:18px 0; }
.magazine-body .popular-destinations .chip { border:0; background:#eeefe7; font-size:11px; min-height:36px; padding:8px 14px; }
.magazine-body .search-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.travel-fab-wrap { display:none; position:fixed; z-index:70; right:max(24px,env(safe-area-inset-right)); bottom:calc(24px + env(safe-area-inset-bottom)); align-items:center; gap:10px; }
.ui-ready .travel-fab-wrap { display:flex; }
.travel-fab { width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:white; box-shadow:0 6px 24px #24352f30; transition:transform .2s; }
.travel-fab:hover { transform:rotate(90deg); }
.fab-caption { font-size:11px; padding:7px 12px; border-radius:99px; background:#ffffffed; color:var(--ink); border:1px solid var(--line-soft); }
.sheet-open { overflow:hidden; }
.trip-sheet { position:fixed; inset:0; margin:auto; border:0; border-radius:28px; background:#fbfaf7; color:var(--ink); width:min(520px,calc(100% - 40px)); max-height:calc(100dvh - 48px); padding:28px; box-shadow:0 24px 100px #11211630; overscroll-behavior:contain; }
.trip-sheet[open] { animation:sheet-in .24s ease-out; }
.trip-sheet::backdrop { background:#17251d66; backdrop-filter:blur(4px); }
.sheet-handle { display:none; }
.sheet-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:26px; }
.sheet-head h2 { font:700 25px/1.5 var(--font-display); letter-spacing:-.04em; margin-top:6px; }
.sheet-head .icon-button { flex-shrink:0; background:#eeefe7; width:42px; height:42px; border-radius:50%; }
.sheet-search label { display:block; font-size:12px; margin-bottom:10px; }
.sheet-search > div { display:flex; border:1px solid var(--line); background:white; border-radius:15px; padding:4px 8px 4px 14px; }
.sheet-search input { border:0; min-width:0; flex:1; background:transparent; font-size:14px; padding:10px 0; }
.sheet-search .icon-button { flex-shrink:0; }
.sheet-collections { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-block:22px; }
.sheet-collections a { display:flex; align-items:center; gap:10px; padding:20px 16px; background:#eeefe7; border:1px solid transparent; border-radius:16px; font-size:13px; }
.sheet-collections a:hover { border-color:var(--accent); }
.sheet-collections a > .icon { width:18px; flex-shrink:0; }
.sheet-collections a > .icon:last-child { margin-left:auto; width:14px; }
.sheet-shortcuts { display:grid; gap:2px; }
.sheet-shortcuts a { display:flex; align-items:center; gap:10px; border-top:1px solid var(--line); padding:16px 4px; font-size:13px; }
.sheet-shortcuts a > :last-child { margin-left:auto; }
.sheet-fields { display:grid; gap:20px; }
.sheet-fields label { display:grid; gap:9px; font-size:13px; }
.sheet-fields select { background:white; border-radius:12px; width:100%; padding:14px; font-size:14px; }
.sheet-footer { display:flex; gap:10px; margin-top:28px; }
.trip-sheet .button { border-radius:99px; flex:1; justify-content:center; font-size:12px; padding:14px 12px; min-height:46px; }
.trip-sheet .button:not(.secondary) { background:var(--ink); color:white; }
.toast { display:flex; align-items:center; justify-content:center; gap:16px; max-width:min(640px,calc(100% - 32px)); width:max-content; padding:16px 20px; border:1px solid #ffffff1c; border-radius:18px; background:#24352f; color:white; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:100; font-size:13px; box-shadow:0 8px 30px #11211626; }
.toast { pointer-events:auto; }
.toast > span { min-width:0; }
.toast button { color:#e2eecf; white-space:nowrap; font-size:12px; min-height:32px; text-decoration:underline; text-underline-offset:4px; }
.toast button:last-child { font-size:22px; text-decoration:none; color:white; }
.media-loading { background:#e6e8e0; }
.media-loading::after,.comment-skeleton span::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(100deg,transparent 25%,#ffffff70 50%,transparent 75%); transform:translateX(-100%); animation:skeleton-sweep 1.7s infinite; }
.media-unavailable { background:#e5e8e1; }
.media-unavailable img { opacity:0; }
.media-fallback { position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:24px; color:#56644f; font-size:12px; }
.comment-skeleton { padding:22px; border:1px solid var(--line); border-radius:18px; display:grid; gap:14px; overflow:hidden; }
.comment-skeleton span { height:12px; border-radius:6px; background:#e5e8e1; position:relative; overflow:hidden; }
.comment-skeleton span:first-child { width:28%; height:22px; }
.comment-skeleton span:last-child { width:70%; }
@keyframes sheet-in { from {opacity:0;transform:translateY(24px)} to {opacity:1;transform:translateY(0)} }
@keyframes skeleton-sweep { to {transform:translateX(100%)} }
@media(min-width:861px) { .magazine-body .archive-layout .cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.magazine-body .archive-layout .cards-grid.is-list { grid-template-columns:minmax(0,1fr); }
@media(max-width:1100px) {
  .bento-intro { padding:28px; }
  .bento-intro h1 { font-size:34px; }
  .bento-saved,.bento-discover { padding:20px; }
  .bento-saved { grid-column:span 2; }
  .bento-tile strong { font-size:16px; }
  .magazine-body .magazine-index { gap:12px; }
  .magazine-body .magazine-index .topics { gap:8px; }
}
@media(max-width:860px) {
  .magazine-body { --wrap:calc(100% - 40px); }
  .travel-bento { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .bento-intro { grid-column:1; }
  .bento-feature { grid-column:2; grid-row:1/3; min-height:480px; }
  .bento-saved { grid-column:1; }
  .bento-discover { grid-column:1/-1; flex-direction:row; align-items:center; gap:16px; }
  .bento-discover .bento-mini-icon { margin:0; flex-shrink:0; }
  .bento-discover .bento-mini-label { display:none; }
  .bento-discover .bento-mini-foot { margin:0 0 0 auto; width:auto; }
  .bento-feature-copy h2 { font-size:26px; }
  .bento-intro h1 { font-size:30px; }
  .magazine-body .collection-grid > .post-card:not(:first-child) { flex-direction:column; }
  .magazine-body .collection-grid > .post-card:not(:first-child) .card-media { width:100%; min-height:0; aspect-ratio:16/9; }
  .magazine-body .collection-grid > .post-card:first-child { grid-row:span 2; }
  .magazine-body .collection-grid > .post-card:first-child .card-media { min-height:240px; }
  .magazine-body .collection-grid > .post-card:first-child .card-title { font-size:23px; }
  .magazine-body .destinations { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .magazine-body .search-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .travel-bento { margin-top:18px; gap:12px; }
  .bento-tile { border-radius:22px; }
  .bento-intro { grid-column:1/-1; padding:28px; }
  .bento-intro h1 { font-size:clamp(28px,8vw,39px); line-height:1.45; margin:20px 0 14px; }
  .bento-intro p { font-size:12px; margin-bottom:18px; }
  .bento-caption { margin-top:18px; }
  .bento-feature { grid-column:1/-1; grid-row:auto; min-height:380px; }
  .bento-feature-link { padding:22px; min-height:380px; }
  .bento-feature-copy { padding-top:100px; padding-bottom:6px; }
  .bento-feature-copy h2 { font-size:27px; margin-bottom:14px; }
  .bento-feature-top > span:first-child { font-size:10px; }
  .bento-saved { grid-column:1; padding:20px 17px; }
  .bento-discover { grid-column:2; display:flex; flex-direction:column; align-items:flex-start; gap:0; padding:20px 17px; }
  .bento-discover .bento-mini-icon { margin-bottom:18px; }
  .bento-discover .bento-mini-label { display:block; }
  .bento-discover .bento-mini-foot { margin-top:18px; width:100%; }
  .bento-tile strong,.bento-saved strong { font-size:15px; }
  .bento-mini-foot { font-size:9px; gap:4px; }
  .magazine-body .magazine-index { padding:18px; margin-bottom:46px; }
  .magazine-body .magazine-index .topics { width:auto; justify-content:flex-start; gap:8px; }
  .magazine-body .topic-chip { font-size:11px; padding:9px 13px; }
  .magazine-body .section-head { align-items:start; }
  .magazine-body .section-head .text-link { flex-shrink:0; margin-top:12px; }
  .magazine-body .collection-grid,.magazine-body .search-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .magazine-body .collection-grid > .post-card:first-child { grid-row:auto; }
  .magazine-body .collection-grid > .post-card:first-child .card-media { min-height:0; aspect-ratio:4/3; flex:0 0 auto; }
  .magazine-body .collection-grid > .post-card:not(:first-child) { flex-direction:column; }
  .magazine-body .collection-grid > .post-card:not(:first-child) .card-body,.magazine-body .card-body { padding:20px; }
  .magazine-body .collection-grid > .post-card:not(:first-child) .card-title { font-size:21px; }
  .magazine-body .collection-grid > .post-card:not(:first-child) .card-excerpt { font-size:12px; }
  .magazine-body .collection-grid > .post-card:not(:first-child) .card-more { display:inline-flex; }
  .magazine-body .destination-card strong { font-size:18px; }
  .destination-info { padding:14px; }
  .magazine-body .destination-card .dest-index { right:12px; }
  .filter-chip { padding:9px 14px; font-size:12px; }
  .filter-sheet-button { margin-left:auto; font-size:12px; }
  .magazine-body .search-hero h1 { font-size:29px; }
  .trip-sheet { width:100%; max-height:calc(100dvh - 56px); max-width:100%; margin:0; inset:auto 0 0; border-radius:26px 26px 0 0; padding:12px 22px calc(24px + env(safe-area-inset-bottom)); }
  .sheet-handle { display:block; width:38px; height:4px; border-radius:99px; background:#bfc6ba; margin:0 auto 20px; }
  .sheet-head h2 { font-size:23px; }
  .sheet-head { margin-bottom:24px; }
  .sheet-collections a { padding:20px 12px; gap:8px; font-size:12px; }
  .travel-fab-wrap { right:18px; bottom:calc(18px + env(safe-area-inset-bottom)); }
  .travel-fab { width:54px; height:54px; }
  .fab-caption { display:none; }
  .toast { bottom:calc(86px + env(safe-area-inset-bottom)); padding:13px 16px; gap:12px; font-size:12px; border-radius:15px; }
  .toast button { font-size:11px; }
  .magazine-body .site-footer { padding-bottom:64px; }
}
@media(prefers-reduced-motion:reduce) { .trip-sheet,.media-loading::after,.comment-skeleton span::after { animation:none !important; } }
@media(max-width:360px) {
  .journal-body .site-header .brand-mark { display:none; }
  .journal-body .site-header .brand-name strong { font-size:16px; }
  .journal-body .site-header .header-actions > .icon-button { width:36px; height:40px; }
  .journal-body .site-header .header-inner { gap:8px; }
  .admin-body .site-header .login-button { display:none; }
}
/* Keep native hidden authoritative even for components with display:grid/flex. */
[hidden] { display:none !important; }
