/* bloomtopia.ae blog guides (tools/guide_seo.py, 27 Nov 2026; Aboud: "let's do all of these changes now all together").
   1. The "Closed now" note under a guide's opening answer.
   2. On phones (640px and narrower): the "At a glance" facts and their ticket price come first, right under the
      opening answer, with the 4 facts people search most and a button for the rest; the top photo is shorter; the
      contents list shows 3 sections and a button for the rest. Computers keep their layout.
   The buttons are labels of checkboxes, so nothing here needs a script and nothing moves while the page loads.
   Without this file every fact and section simply shows. */

.gd-alert{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;max-width:62ch;margin:16px 0 0;padding:10px 14px;
  border-radius:14px;background:#FFF5E4;box-shadow:inset 0 0 0 1px #F2D08F;color:#4A3200;font-size:15.5px;line-height:1.45}
.gd-alert b{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:#A14F00;white-space:nowrap}
.gd-alert b::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#E8590C;
  box-shadow:0 0 0 3px rgba(232,89,12,.2)}
:lang(ar) .gd-alert b,:lang(ur) .gd-alert b,:lang(hi) .gd-alert b,:lang(ja) .gd-alert b,:lang(zh) .gd-alert b{
  letter-spacing:0;text-transform:none;font-size:13.5px}

.gd-ck,.gd-all,.gd-tg{display:none}

@media (max-width:640px){
  /* the facts first, then the photo */
  article.post{display:flex;flex-direction:column}
  article.post>.tk{order:-1;margin:4px 0 22px}
  .hero img{aspect-ratio:2/1}
  .hero .stamp{width:68px}

  /* the checkbox stays reachable by keyboard and screen readers, but is not drawn */
  .tk-main,.prose .toc{position:relative}
  .gd-ck{display:block;position:absolute;top:0;inset-inline-start:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}

  .tk .gd-ck:not(:checked)~dl>.gd-x{display:none}
  .gd-all,.gd-tg{display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;font-weight:700;
    color:var(--a-ink);-webkit-tap-highlight-color:transparent;user-select:none}
  .gd-all::after,.gd-tg::after{content:"";flex:none;width:7px;height:7px;border:solid currentColor;
    border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
  .gd-all{width:100%;margin:4px 0 14px;padding:10px 12px;border-radius:12px;background:rgba(var(--a),.08);font-size:14.5px}
  .tk .gd-ck:checked~.gd-all{display:none}

  .toc .gd-ck:not(:checked)~ol>li:nth-child(n+4){display:none}
  .gd-tg{justify-content:flex-start;margin:4px 0 2px;padding:8px 0 4px;font-size:15px}
  .toc .gd-ck:checked~.gd-tg{display:none}

  .tk-main:has(.gd-ck:focus-visible) .gd-all,.toc:has(.gd-ck:focus-visible) .gd-tg{outline:2px solid var(--a-ink);outline-offset:3px;border-radius:12px}
}

/* 3. The cause, "One booking, one tree" (tools/guide_tree.py, 27 Nov 2026; Aboud: "include a section for it"): one
   section right after a guide's first booking card, numbered and listed in the contents like the other sections; the
   round plant mark is the one the footer and the cause page use. */
.gd-tree{margin:48px 0 8px;padding:22px 22px 20px;border-radius:20px;background:#F0F8F2;box-shadow:inset 0 0 0 1px #CDE7D4}
.prose .gd-tree h2{margin:0 0 10px}
.gd-tree-mk{display:inline-block;flex:none;width:36px;height:36px;margin-inline-end:10px;vertical-align:-7px;border-radius:50%;
  background:#8FCB9B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1326' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5V13c-4.5 0-6.8-2.6-6.8-5.8C9.4 7 12 9.4 12 13zM12 11.5c0-3.6 2.4-6.4 6.8-6.3.1 3.6-2.5 6.3-6.8 6.3z'/%3E%3C/svg%3E") center/20px no-repeat}
.gd-tree>p{margin:0 0 14px}
.gd-tree ol{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:12px;counter-reset:gdt}
.gd-tree ol>li{counter-increment:gdt;display:grid;grid-template-columns:28px 1fr;column-gap:12px;margin:0;padding:0}
.gd-tree ol>li::before{content:counter(gdt);grid-row:1/span 2;width:28px;height:28px;border-radius:50%;background:#1F6B3A;
  color:#fff;font-weight:800;font-size:14px;line-height:28px;text-align:center}
.gd-tree ol>li b{display:block;line-height:1.35}
.gd-tree ol>li span{display:block;color:#3B4A40;line-height:1.5}
.gd-tree-go{display:flex;flex-wrap:wrap;gap:10px;margin:0!important}
.gd-tree-go a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:700;
  text-decoration:none}
.gd-tree-go a:first-child{background:#1F6B3A;color:#fff}
.gd-tree-go a+a{box-shadow:inset 0 0 0 1.5px #1F6B3A;color:#1F6B3A;background:#fff}
.gd-tree-go a:hover{text-decoration:underline;text-underline-offset:3px}
.gd-tree-go a:focus-visible{outline:2px solid #1F6B3A;outline-offset:3px}
@media (max-width:640px){.gd-tree{margin:36px 0 4px;padding:18px 16px 16px}.gd-tree-go a{flex:1 1 auto;justify-content:center}}
