/*
Theme Name: Thailand Moments v2
Template: twentytwentyfive
Description: העיצוב החדש של thailandmoments.com (מוקאפ 01.11.2026): לוגו הדקל, חול, טורקיז וכתום, כפתורי מדבקה, אייקונים מצוירים ביד ונגיעות תאילנדיות. עברית, מימין לשמאל.
Version: 2.0.11
Text Domain: thailandmoments
*/
:root {
    --sand: #f3ebdf; --paper: #fffaf1; --teal: #0e5e6f; --deep: #0a3f4b; --orange: #e8913a;
    --green: #3f8f5a; --yellow: #f6c94c; --ink: #22313a; --muted: #5d6b72; --line: #e4d8c4;
    --r: 22px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--sand); color: var(--ink); font-family: Assistant, sans-serif; font-size: 18px; line-height: 1.6; text-align: right; }
  a { color: inherit; text-decoration: none; }
  .en { direction: ltr; unicode-bidi: isolate; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
  h1, h2, h3 { font-family: Rubik, sans-serif; color: var(--teal); line-height: 1.15; margin: 0; }
  .hand { font-family: 'Playpen Sans Hebrew', cursive; }
  .mark { background: linear-gradient(transparent 58%, rgba(246, 201, 76, .75) 58%, rgba(246, 201, 76, .75) 92%, transparent 92%); padding: 0 4px; }

  /* buttons: sticker style */
  .btn { display: inline-flex; align-items: center; gap: 10px; font-family: Rubik; font-weight: 700; font-size: 17px; padding: 13px 26px; border-radius: 99px; border: 2.5px solid var(--teal); box-shadow: 4px 4px 0 var(--teal); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
  .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--teal); }
  .btn.orange { background: var(--orange); color: #fff; }
  .btn.paper { background: var(--paper); color: var(--teal); }
  .btn svg { width: 20px; height: 20px; }

  /* header */
  header { padding: 18px 0; }
  header .wrap { display: flex; align-items: center; gap: 28px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--teal); }
  .brand b { font-family: Rubik; font-weight: 800; font-size: 24px; color: var(--teal); display: block; line-height: 1; }
  .brand small { font-size: 14px; color: var(--muted); }
  header nav { display: flex; gap: 26px; font-weight: 700; font-size: 17px; margin-inline-start: 18px; }
  header nav a { position: relative; padding: 4px 0; }
  header nav a.on::after { content: ''; position: absolute; right: 0; left: 0; bottom: -3px; height: 6px; background: var(--yellow); border-radius: 6px; z-index: -1; }
  .head-end { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
  .icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; background: var(--paper); }

  /* hero */
  .hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 28px 0 40px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 2px solid var(--line); border-radius: 99px; padding: 5px 14px; font-weight: 700; font-size: 15px; color: var(--teal); margin-bottom: 18px; }
  .eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
  .hero h1 { font-size: 64px; font-weight: 800; letter-spacing: -.5px; }
  .hero p.lead { font-size: 21px; color: var(--muted); margin: 18px 0 26px; max-width: 520px; }
  .search { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 99px; padding: 8px 8px 8px 8px; max-width: 540px; box-shadow: 4px 4px 0 var(--teal); }
  .search span { flex: 1; color: var(--muted); font-size: 18px; padding-inline-start: 14px; }
  .search .btn { box-shadow: none; padding: 11px 22px; border-width: 0; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .chip { background: var(--paper); border: 2px solid var(--line); border-radius: 99px; padding: 5px 14px; font-weight: 700; font-size: 15px; color: var(--teal); }
  .photo-wrap { position: relative; }
  .photo { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 34px; display: block; border: 3px solid var(--teal); }
  .tape { position: absolute; width: 120px; height: 34px; background: rgba(246, 201, 76, .8); top: -14px; right: 40px; transform: rotate(-6deg); border-radius: 3px; }
  .note { position: absolute; left: -36px; bottom: 54px; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 18px; padding: 12px 18px; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--teal); font-size: 18px; color: var(--teal); max-width: 220px; line-height: 1.35; }
  .sticker { position: absolute; top: 26px; left: 24px; width: 112px; height: 112px; }

  /* trust strip */
  .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 70px; }
  .strip div { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 18px 20px; border: 2px solid var(--line); }
  .strip svg { width: 64px; height: 64px; flex: none; }
  .strip b { font-family: Rubik; color: var(--teal); font-size: 19px; display: block; }
  .strip small { color: var(--muted); font-size: 15px; }

  /* section heads */
  .sec { margin: 0 0 80px; }
  .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
  .sec-head h2 { font-size: 42px; font-weight: 800; }
  .sec-head p { margin: 6px 0 0; color: var(--muted); }
  .more { font-weight: 700; color: var(--teal); border-bottom: 3px solid var(--orange); white-space: nowrap; }

  /* destinations */
  .dest { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 18px; }
  .card-img { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid var(--teal); }
  .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
  .card-img:hover img { transform: scale(1.04); }
  .card-img .label { position: absolute; bottom: 14px; right: 14px; background: var(--paper); border-radius: 14px; padding: 8px 14px; border: 2px solid var(--teal); }
  .card-img .label b { font-family: Rubik; color: var(--teal); font-size: 20px; display: block; line-height: 1.1; }
  .card-img .label small { color: var(--muted); font-size: 14px; }
  .card-img.big { grid-row: span 2; }
  .card-img .pill { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; border-radius: 99px; padding: 3px 12px; }
  .more-dest { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

  /* infographic: seasons */
  .season { background: var(--paper); border-radius: 30px; border: 2.5px solid var(--teal); padding: 34px 36px 28px; display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
  .season h2 { font-size: 36px; font-weight: 800; }
  .season p { color: var(--muted); }
  .legend { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 16px; }
  .legend span { display: flex; align-items: center; gap: 10px; }
  .legend i { width: 22px; height: 14px; border-radius: 4px; display: inline-block; }
  #seasonSvg { width: 100%; height: auto; display: block; }

  /* guides */
  .guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .guide { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 2px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
  .guide:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--teal); }
  .guide img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; } /* height:auto: בלי זה הגובה 480 מ-WordPress גובר וחותך את העטיפה (07.11.2026) */
  .guide .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .tag { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--teal); background: #dfeeee; border-radius: 99px; padding: 2px 12px; }
  .tag.o { background: #fbe6cf; color: #9a5413; }
  .guide h3 { font-size: 22px; font-weight: 700; }
  .meta { margin-top: auto; display: flex; gap: 14px; color: var(--muted); font-size: 15px; }

  /* living band */
  .band { background: var(--deep); color: #eaf3f2; border-radius: 34px; padding: 50px 50px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; position: relative; overflow: hidden; }
  .band h2 { color: #fff; font-size: 44px; font-weight: 800; }
  .band p { color: #c9dcdb; font-size: 19px; }
  .band ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 10px; }
  .band li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
  .band li i { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-style: normal; font-family: Rubik; font-weight: 700; font-size: 15px; flex: none; }
  .band .board { width: 100%; border-radius: 18px; transform: rotate(2deg); border: 6px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,.3); display: block; }
  .band .btn.orange { border-color: #fff; box-shadow: 4px 4px 0 #fff; }

  /* about + whatsapp */
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .about, .wa { border-radius: 30px; padding: 34px; border: 2.5px solid var(--teal); }
  .about { background: var(--paper); display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; }
  .me { width: 170px; height: 200px; border-radius: 20px; border: 3px dashed var(--teal); display: grid; place-items: center; text-align: center; color: var(--teal); font-size: 16px; transform: rotate(-3deg); background: #efe5d4; }
  .about h3, .wa h3 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
  .about p, .wa p { margin: 0 0 16px; color: var(--muted); }
  .wa { background: var(--orange); color: #fff; position: relative; }
  .wa h3 { color: #fff; }
  .wa p { color: #fff4e6; }
  .wa .btn.paper { box-shadow: 4px 4px 0 var(--deep); border-color: var(--deep); color: var(--deep); }
  .wa .hand { display: inline-block; transform: rotate(-3deg); font-size: 19px; color: var(--deep); margin-bottom: 6px; }

  /* footer */
  footer { background: var(--deep); color: #c9dcdb; margin-top: 90px; padding: 0 0 30px; position: relative; }
  footer .wave { position: absolute; top: -59px; right: 0; left: 0; display: block; width: 100%; height: 60px; }
  footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0 30px; }
  footer h4 { font-family: Rubik; color: #fff; font-size: 18px; margin: 0 0 12px; }
  footer a { display: block; padding: 3px 0; font-size: 16px; }
  footer .brand b { color: #fff; }
  footer .brand small { color: #9fbcbb; }
  footer .base { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: 14px; display: flex; justify-content: space-between; }

  /* phone */
  @media (max-width: 760px) {
    html, body { font-size: 17px; }
    .wrap { padding: 0 16px; }
    header nav, .head-end .btn { display: none; }
    .brand img { width: 46px; height: 46px; }
    .brand b { font-size: 21px; }
    .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
    .hero h1 { font-size: 40px; }
    .hero p.lead { font-size: 18px; }
    .photo { aspect-ratio: 4 / 3.4; border-radius: 26px; }
    .note { left: 10px; bottom: -22px; font-size: 16px; padding: 9px 14px; }
    .sticker { width: 84px; height: 84px; top: 14px; left: 14px; }
    .strip { grid-template-columns: 1fr; gap: 12px; margin: 34px 0 52px; }
    .sec { margin-bottom: 56px; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .sec-head h2 { font-size: 31px; }
    .dest { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 170px 170px; }
    .card-img.big { grid-row: auto; grid-column: span 2; }
    .card-img .label b { font-size: 17px; }
    .season { grid-template-columns: 1fr; padding: 24px 18px; gap: 16px; }
    .season h2 { font-size: 28px; }
    .guides { grid-template-columns: 1fr; }
    .band { grid-template-columns: 1fr; padding: 32px 22px; gap: 26px; }
    .band h2 { font-size: 31px; }
    .duo { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; padding: 26px 22px; }
    .me { width: 140px; height: 160px; }
    .wa { padding: 26px 22px; }
    .wa .hand { position: static; display: block; margin-bottom: 8px; }
    footer .cols { grid-template-columns: 1fr 1fr; }
    footer .cols > div:first-child { grid-column: span 2; }
    footer .base { flex-direction: column; gap: 6px; }
  }

/* ===== shared additions (01.11.2026): eastern touches + inner pages ===== */
.thai { font-family: Mitr, sans-serif; font-weight: 400; direction: ltr; unicode-bidi: isolate; display: inline-block; }
body { background-image: radial-gradient(rgba(14, 94, 111, .05) 1px, transparent 1px); background-size: 22px 22px; }

/* Thai ornament divider: a row of flame petals (kanok) and dots */
.thai-divider { height: 26px; margin: 0 auto 70px; max-width: 520px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26' viewBox='0 0 44 26'%3E%3Cpath d='M22 3 C 27 9 28 15 22 23 C 16 15 17 9 22 3 Z' fill='%23e8913a'/%3E%3Cpath d='M22 9 C 24 12 24 15 22 19 C 20 15 20 12 22 9 Z' fill='%23fffaf1'/%3E%3Ccircle cx='3' cy='13' r='2.6' fill='%230e5e6f'/%3E%3Ccircle cx='41' cy='13' r='2.6' fill='%230e5e6f'/%3E%3C/svg%3E") repeat-x center; opacity: .9; }
.thai-divider.sm { max-width: 220px; margin: 0 0 18px; height: 22px; background-size: 37px 22px; }

/* section eyebrow with a temple roof glyph */
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-family: 'Playpen Sans Hebrew'; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.kicker svg { width: 26px; height: 22px; }

/* tropical leaves peeking from a section corner */
.leaf { position: absolute; width: 230px; height: 230px; pointer-events: none; opacity: .18; }

/* save button */
.save { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); background: var(--paper); border: 2px solid var(--teal); border-radius: 99px; padding: 7px 16px; font-size: 15px; }
.save svg { width: 18px; height: 18px; }

/* breadcrumb */
.crumbs { font-size: 15px; color: var(--muted); margin: 6px 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--teal); font-weight: 700; }

/* ---- post ---- */
.progress { position: sticky; top: 0; height: 5px; background: rgba(14,94,111,.12); z-index: 5; }
.progress i { display: block; height: 100%; width: 34%; background: var(--orange); border-radius: 0 0 4px 0; }
.post-head { max-width: 860px; padding: 10px 0 26px; }
.post-head h1 { font-size: 52px; font-weight: 800; letter-spacing: -.4px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 16px; }
.author-mini { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #efe5d4; border: 2px dashed var(--teal); display: grid; place-items: center; font-family: Rubik; color: var(--teal); font-weight: 800; }
.checked { display: inline-flex; align-items: center; gap: 6px; background: #e3f0e6; color: var(--green); font-weight: 700; border-radius: 99px; padding: 3px 12px; font-size: 15px; }
.cover { position: relative; margin: 0 0 40px; }
.cover img { width: 100%; height: 470px; object-fit: cover; border-radius: 30px; border: 3px solid var(--teal); display: block; }
.cover figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.prose { font-size: 20px; line-height: 1.85; max-width: 720px; }
.prose p { margin: 0 0 20px; }
.prose h2 { font-size: 32px; font-weight: 800; margin: 52px 0 16px; display: flex; align-items: center; gap: 12px; }
.prose h2 .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--teal); display: grid; place-items: center; font-size: 19px; }
.prose ul { padding: 0; margin: 0 0 22px; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 34px; }
.prose ul li svg { position: absolute; right: 0; top: 7px; width: 22px; height: 22px; }
.prose b { color: var(--teal); }
.prose code, .prose .url { direction: ltr; unicode-bidi: isolate; font-family: ui-monospace, monospace; font-size: 17px; background: #e9dfcd; border-radius: 6px; padding: 1px 7px; }
.tldr { background: var(--paper); border: 2.5px solid var(--teal); border-radius: 26px; padding: 26px 28px 18px; margin: 10px 0 30px; box-shadow: 6px 6px 0 var(--teal); position: relative; }
.tldr h3 { font-size: 24px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.tldr .rows { display: grid; gap: 12px; }
.tldr .row { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; font-size: 18px; line-height: 1.5; }
.tldr .row svg { width: 50px; height: 50px; }
.tldr .stamp { position: absolute; left: 22px; top: -20px; transform: rotate(-8deg); background: var(--orange); color: #fff; font-family: 'Playpen Sans Hebrew'; font-weight: 700; font-size: 16px; padding: 4px 14px; border-radius: 10px; border: 2px solid var(--teal); }
.tip { position: relative; background: #fdf3d6; border-radius: 6px 22px 22px 22px; padding: 22px 24px 18px; margin: 28px 0; border: 2px solid #ecd28a; transform: rotate(-.6deg); }
.tip::before { content: ''; position: absolute; top: -13px; right: 34px; width: 92px; height: 26px; background: rgba(232, 145, 58, .55); transform: rotate(4deg); }
.tip .hand { display: block; color: var(--orange); font-size: 20px; margin-bottom: 6px; }
.tip p { margin: 0; font-size: 19px; }
.warn { display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: #fbe6cf; border-radius: 20px; padding: 18px 22px; margin: 26px 0; border-inline-start: 6px solid var(--orange); }
.warn svg { width: 50px; height: 50px; }
.warn p { margin: 0; font-size: 18px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 28px; font-size: 17px; background: var(--paper); border: 2px solid var(--teal); border-radius: 20px; overflow: hidden; }
.compare th { background: var(--teal); color: #fff; font-family: Rubik; font-weight: 700; padding: 12px 14px; text-align: right; }
.compare td { padding: 12px 14px; border-top: 1.5px solid var(--line); vertical-align: top; }
.compare tr td:first-child { font-weight: 700; color: var(--teal); }
.compare .best { background: #fdf3d6; }
.faq { margin: 50px 0 10px; }
.faq h2 { margin-top: 0; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 14px 20px; margin-bottom: 12px; }
.faq details[open] { border-color: var(--teal); }
.faq summary { font-family: Rubik; font-weight: 700; color: var(--teal); font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 2px; font-size: 18px; }
.author-box { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 26px; padding: 24px; margin: 46px 0 0; }
.author-box .me { width: 110px; height: 130px; font-size: 14px; }
.author-box h3 { font-size: 22px; margin-bottom: 6px; }
.author-box p { margin: 0 0 12px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.side { position: sticky; top: 24px; display: grid; gap: 18px; }
.toc { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: 20px 22px; }
.toc b { font-family: Rubik; color: var(--teal); font-size: 18px; display: block; margin-bottom: 10px; }
.toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 16px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.toc a:last-child { border: 0; }
.toc a.on { color: var(--teal); font-weight: 700; }
.toc a i { font-style: normal; color: var(--orange); font-weight: 700; }
.side-wa { background: var(--deep); color: #fff; border-radius: 22px; padding: 20px 22px; position: relative; overflow: hidden; }
.side-wa b { font-family: Rubik; font-size: 20px; display: block; margin-bottom: 4px; }
.side-wa p { margin: 0 0 14px; color: #c9dcdb; font-size: 15px; line-height: 1.5; }
.side-wa .btn { font-size: 15px; padding: 9px 18px; border-color: #fff; box-shadow: 3px 3px 0 #fff; }
.related { margin: 70px 0 0; }

/* ---- region ---- */
.region-hero { position: relative; border-radius: 34px; overflow: hidden; border: 3px solid var(--teal); height: 520px; margin: 4px 0 0; }
.region-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 63, 75, .85), rgba(10, 63, 75, 0) 60%); }
.region-hero .txt { position: absolute; bottom: 84px; right: 44px; left: 44px; color: #fff; }
.region-hero h1 { color: #fff; font-size: 76px; font-weight: 800; }
.region-hero h1 .thai { font-size: 30px; color: var(--yellow); margin-inline-start: 14px; vertical-align: middle; }
.region-hero p { font-size: 21px; max-width: 620px; margin: 8px 0 0; color: #eaf3f2; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -46px 30px 70px; position: relative; z-index: 2; }
.fact { background: var(--paper); border: 2.5px solid var(--teal); border-radius: 22px; padding: 16px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 4px 4px 0 var(--teal); }
.fact svg { width: 52px; height: 52px; flex: none; }
.fact small { color: var(--muted); font-size: 14px; display: block; }
.fact b { font-family: Rubik; color: var(--teal); font-size: 19px; line-height: 1.2; display: block; }
.map-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: stretch; }
.map-card { background: #dcefee; border-radius: 30px; border: 2.5px solid var(--teal); position: relative; overflow: hidden; min-height: 440px; }
.map-card svg { width: 100%; height: 100%; display: block; }
.spots { display: grid; gap: 14px; }
.spot { display: grid; grid-template-columns: 34px 120px 1fr; gap: 16px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 10px 14px 10px 10px; }
.spot .n { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-family: Rubik; font-weight: 800; display: grid; place-items: center; }
.spot img { width: 120px; height: 84px; object-fit: cover; border-radius: 14px; }
.spot b { font-family: Rubik; color: var(--teal); font-size: 19px; display: block; }
.spot small { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }
.route { background: var(--paper); border: 2.5px solid var(--teal); border-radius: 30px; padding: 30px 34px; }
.route-svg { width: 100%; height: auto; display: block; }

/* ---- blog index ---- */
.page-head { padding: 18px 0 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-head h1 { font-size: 58px; font-weight: 800; }
.page-head p { color: var(--muted); font-size: 20px; margin: 10px 0 0; max-width: 620px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filters .chip { font-size: 16px; padding: 7px 18px; }
.filters .chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 30px; overflow: hidden; margin-bottom: 30px; box-shadow: 6px 6px 0 var(--teal); }
.featured img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.featured .body { padding: 36px 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured h2 { font-size: 36px; font-weight: 800; }
.featured p { color: var(--muted); margin: 0; }
.guides.four { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; justify-content: center; gap: 10px; margin: 40px 0 0; }
.pager span { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; font-family: Rubik; font-weight: 700; color: var(--teal); background: var(--paper); }
.pager span.on { background: var(--teal); color: #fff; }

/* ---- about ---- */
.about-hero { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; padding: 20px 0 50px; }
.about-hero h1 { font-size: 60px; font-weight: 800; }
.about-hero .hello { font-size: 30px; color: var(--orange); }
.polaroid { background: #fff; padding: 14px 14px 46px; border-radius: 6px; box-shadow: 0 16px 34px rgba(10,63,75,.18); transform: rotate(3deg); position: relative; }
.polaroid .me { width: 100%; height: 380px; transform: none; border-radius: 4px; font-size: 20px; }
.polaroid .cap { position: absolute; bottom: 10px; right: 0; left: 0; text-align: center; color: var(--teal); font-size: 19px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tl { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: 22px 20px; position: relative; }
.tl .yr { font-family: 'Playpen Sans Hebrew'; color: var(--orange); font-weight: 700; font-size: 22px; }
.tl b { font-family: Rubik; color: var(--teal); font-size: 20px; display: block; margin: 4px 0 6px; }
.tl p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.tl svg { width: 54px; height: 54px; margin-bottom: 6px; }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border: 2.5px solid var(--teal); border-radius: 30px; overflow: hidden; }
.how div { padding: 26px 22px; border-inline-start: 2px dashed var(--line); }
.how div:first-child { border: 0; }
.how .n { font-family: Rubik; font-weight: 800; font-size: 44px; color: var(--yellow); -webkit-text-stroke: 2px var(--teal); line-height: 1; }
.how b { font-family: Rubik; color: var(--teal); font-size: 20px; display: block; margin: 10px 0 6px; }
.how p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---- 404 ---- */
.lost { text-align: center; padding: 40px 0 20px; }
.lost svg { width: 300px; height: 300px; }
.lost h1 { font-size: 56px; font-weight: 800; }
.lost p { color: var(--muted); font-size: 20px; }

@media (max-width: 760px) {
  .thai-divider { margin-bottom: 46px; max-width: 260px; }
  .post-head h1 { font-size: 34px; }
  .cover img { height: 240px; border-radius: 22px; }
  .post-grid { grid-template-columns: 1fr; gap: 30px; }
  .side { position: static; order: -1; }
  .side-wa { display: none; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 25px; margin-top: 40px; }
  .tldr { padding: 22px 18px 14px; box-shadow: 4px 4px 0 var(--teal); }
  .tldr .row { grid-template-columns: 42px 1fr; font-size: 16.5px; }
  .tldr .row svg { width: 42px; height: 42px; }
  .compare { font-size: 15px; }
  .compare th, .compare td { padding: 9px 10px; }
  .author-box { grid-template-columns: 1fr; }
  .region-hero { height: 400px; border-radius: 26px; }
  .region-hero .txt { right: 20px; left: 20px; bottom: 26px; }
  .region-hero h1 { font-size: 46px; }
  .region-hero h1 .thai { display: block; margin: 4px 0 0; font-size: 22px; }
  .region-hero p { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; margin: -30px 8px 50px; gap: 10px; }
  .fact { padding: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .fact svg { width: 40px; height: 40px; }
  .fact b { font-size: 16px; }
  .map-row { grid-template-columns: 1fr; }
  .map-card { min-height: 330px; }
  .spot { grid-template-columns: 30px 86px 1fr; gap: 10px; }
  .spot img { width: 86px; height: 70px; }
  .route { padding: 18px 12px; }
  .page-head { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 40px; }
  .featured { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--teal); }
  .featured img { min-height: 220px; }
  .featured .body { padding: 22px 20px; }
  .featured h2 { font-size: 26px; }
  .guides.four { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 30px; }
  .about-hero h1 { font-size: 40px; }
  .polaroid .me { height: 300px; }
  .timeline, .how { grid-template-columns: 1fr; }
  .how div { border-inline-start: 0; border-top: 2px dashed var(--line); }
  .lost svg { width: 230px; height: 230px; }
  .lost h1 { font-size: 38px; }
}
.head-search { min-width: 380px; } @media (max-width: 760px) { .head-search { min-width: 0; } }

/* ===== WordPress adapter (blocks, query loops, post content) ===== */
html { direction: rtl; }
body .wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
main.wrap { padding-bottom: 10px; }
bdi { unicode-bidi: isolate; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, summary { text-align: right; }

/* query loop as guide cards */
.tm-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.tm-posts .wp-block-post { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 2px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; margin: 0; }
.tm-posts .wp-block-post:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--teal); }
.tm-posts .wp-block-post-featured-image { margin: 0; }
.tm-posts .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tm-posts .wp-block-post-terms { margin: 16px 20px 0; font-size: 14px; }
.tm-posts .wp-block-post-terms a { font-weight: 700; color: var(--teal); background: #dfeeee; border-radius: 99px; padding: 2px 12px; text-decoration: none; }
.tm-posts .wp-block-post-terms .wp-block-post-terms__separator { display: none; }
.tm-posts .wp-block-post-title { font-family: Rubik; font-size: 21px; font-weight: 700; line-height: 1.3; margin: 10px 20px 8px; }
.tm-posts .wp-block-post-title a { color: var(--teal); text-decoration: none; }
.tm-posts .wp-block-post-excerpt { margin: 0 20px 20px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.tm-posts .wp-block-post-excerpt__more-text { display: none; }
.tm-posts .wp-block-post-date { margin: auto 20px 18px; color: var(--muted); font-size: 14px; }
.wp-block-query-pagination { margin-top: 36px; gap: 10px; font-family: Rubik; font-weight: 700; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { min-width: 46px; height: 46px; border-radius: 99px; border: 2px solid var(--teal); display: inline-grid; place-items: center; padding: 0 14px; color: var(--teal); background: var(--paper); text-decoration: none; }
.wp-block-query-pagination .current { background: var(--teal); color: #fff; }

/* region cards from [tm_regions] */
.tm-regions { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 18px; }
.tm-regions .card-img:first-child { grid-row: span 2; }
.tm-regions .card-img.noimg { background: linear-gradient(135deg, #dcefee, #f3ebdf); display: grid; place-items: center; }
.tm-regions .card-img.noimg .thai { font-size: 42px; color: var(--teal); opacity: .35; }

/* post content */
.tm-prose { font-size: 20px; line-height: 1.85; }
.tm-prose > * { max-width: 720px; }
.tm-prose p { margin: 0 0 20px; }
.tm-prose h2 { font-size: 32px; font-weight: 800; margin: 52px 0 16px; display: flex; align-items: center; gap: 12px; scroll-margin-top: 20px; }
.tm-prose h2 .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--teal); display: grid; place-items: center; font-size: 19px; font-family: Rubik; }
.tm-prose h3 { font-size: 23px; margin: 30px 0 10px; }
.tm-prose ul, .tm-prose ol { padding-inline-start: 0; margin: 0 0 22px; }
.tm-prose ul { list-style: none; display: grid; gap: 10px; }
.tm-prose ul > li { position: relative; padding-inline-start: 34px; }
.tm-prose ul > li::before { content: ''; position: absolute; right: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffaf1' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tm-prose ol { padding-inline-start: 26px; }
.tm-prose strong, .tm-prose b { color: var(--teal); }
.tm-prose a { color: var(--teal); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tm-prose code { direction: ltr; unicode-bidi: isolate; font-size: 17px; background: #e9dfcd; border-radius: 6px; padding: 1px 7px; }
.tm-prose figure { margin: 26px 0; }
.tm-prose figure img { border-radius: 20px; border: 2px solid var(--line); }
.tm-prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17px; background: var(--paper); border: 2px solid var(--teal); border-radius: 20px; overflow: hidden; }
.tm-prose th { background: var(--teal); color: #fff; font-family: Rubik; padding: 12px 14px; }
.tm-prose td { padding: 12px 14px; border-top: 1.5px solid var(--line); }
.tm-prose .wp-block-table { margin: 10px 0 28px; }
.tm-prose blockquote { border: 0; margin: 28px 0; }
/* "בקצרה" section, wrapped by tm.js */
.tm-prose .tldr { max-width: 720px; }
.tm-prose .tldr h2 { margin: 0 0 12px; font-size: 24px; }
.tm-prose .tldr ul { margin: 0; }
/* block styles for future posts: paragraph / group "טיפ" and "אזהרה" */
.tm-prose .is-style-tm-tip { position: relative; background: #fdf3d6; border-radius: 6px 22px 22px 22px; padding: 22px 24px 18px; margin: 28px 0; border: 2px solid #ecd28a; transform: rotate(-.6deg); }
.tm-prose .is-style-tm-tip::before { content: 'הטיפ שלי'; display: block; font-family: 'Playpen Sans Hebrew'; font-weight: 700; color: var(--orange); font-size: 20px; margin-bottom: 4px; }
.tm-prose .is-style-tm-warn { background: #fbe6cf; border-radius: 20px; padding: 18px 22px; margin: 26px 0; border-inline-start: 6px solid var(--orange); }
.tm-prose .wp-block-details { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 14px 20px; margin-bottom: 12px; }
.tm-prose .wp-block-details summary { font-family: Rubik; font-weight: 700; color: var(--teal); }
.tm-credit { font-size: 14px; color: var(--muted); }
.post-meta .save { cursor: pointer; }
.save.on { background: var(--orange); color: #fff; border-color: var(--teal); }
.save.on svg path { stroke: #fff; fill: #fff; }
.tm-author-photo { width: 110px; height: 130px; object-fit: cover; border-radius: 20px; border: 3px solid var(--teal); transform: rotate(-3deg); }
.page-prose { max-width: 760px; }

@media (max-width: 760px) {
  .tm-posts .wp-block-post-template { grid-template-columns: 1fr; }
  .tm-regions { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .tm-regions .card-img:first-child { grid-row: auto; grid-column: span 2; height: 220px; }
  .tm-prose { font-size: 18px; }
  .tm-prose h2 { font-size: 25px; margin-top: 40px; }
}
.tm-regions.n1 { grid-template-columns: 1fr; }
.tm-regions.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.tm-regions.n2 .card-img:first-child, .tm-regions.n1 .card-img:first-child { grid-row: auto; }
.tm-regions.n3 { grid-template-columns: 1.4fr 1fr; }
.tm-regions.n4 { grid-template-columns: 1.4fr 1fr 1fr; }
.tm-regions.n4 .card-img:last-child { grid-column: span 2; }
@media (max-width: 760px) { .tm-regions.n3, .tm-regions.n4, .tm-regions.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .tm-regions.n4 .card-img:last-child { grid-column: auto; } }
.photo { height: auto; }
@media (max-width: 760px) { .card-img .label { bottom: 8px; right: 8px; padding: 5px 10px; border-radius: 11px; } .card-img .label small { font-size: 12px; } }

/* ---------- tm-reel: ריל אינסטגרם בתוך פוסט (01.11.2026) ----------
   בתוכן הפוסט: <figure class="tm-reel" data-ig="<reel id>"><a href="https://www.instagram.com/reel/<id>/"><img src="/media/<slug>.jpg" alt="..."></a></figure>
   tm.js בונה סביבו מסגרת מינימליסטית של החשבון thailand.moments, ולחיצה טוענת את ההטמעה של אינסטגרם. לא מעלים mp4 לאתר. */
.tm-reel { max-width: 400px; margin: 8px 0 32px auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tm-reel > a > img, .tm-reel__media img { width: 100%; height: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.tm-reel__head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.tm-reel__avatar { width: 28px; height: 28px; border-radius: 50%; padding: 1.5px; background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); flex: none; }
.tm-reel__avatar img { width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid #fff; background: #fff; object-fit: cover; display: block; margin: 0; }
.tm-reel__who { flex: 1; font-size: 13.5px; font-weight: 700; direction: ltr; text-align: right; color: var(--ink); text-decoration: none; }
.tm-reel__ig { width: 18px; height: 18px; flex: none; opacity: .85; }
.tm-reel__media { position: relative; aspect-ratio: 9/16; background: #000; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.tm-reel__badge { position: absolute; top: 8px; inset-inline-start: 8px; width: 26px; height: 26px; border-radius: 7px; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.tm-reel__badge svg { width: 15px; height: 15px; }
.tm-reel .instagram-media, .tm-reel iframe { margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; width: 100% !important; min-width: 0 !important; max-width: none !important; display: block; }
.tm-reel__foot { padding: 7px 10px; font-size: 13px; text-align: right; }
.tm-reel__foot a { color: var(--teal); font-weight: 600; text-decoration: none; }
.tm-prose .tm-reel img { border: 0; border-radius: 0; box-shadow: none; }
.tm-prose .tm-reel__avatar img { border: 1.5px solid #fff; border-radius: 50%; }
.tm-prose .tm-reel a { text-decoration: none; }
.tm-reel iframe { min-height: 600px; }
.tm-prose .tm-reel { margin: 8px 0 32px auto; }
