/* L2OKO - content pages: advertising, guides, FAQ (opts.css: ['content']).
   Built on site.css tokens and parts: .frame, .ph, .rows, .btn, .form, .prose. */

/* ---------- advertising: page head ---------- */
.adv-jump { margin-top: 16px; }
.adv-jump .tab { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; font-size: 13.5px; }

/* ---------- advertising: plan rows ---------- */
.adv-sec-lead { padding: 12px 16px 0; font-size: 13.5px; color: var(--muted); }
.plans { display: grid; gap: 6px; padding: 10px; }
.plan {
  scroll-margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px 148px 214px 178px;
  grid-template-areas: "info d15 d30 occ cta";
  background: var(--row);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .2s;
}
.plan:target { border-color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201, 154, 58, .35); }
.plan-info { grid-area: info; display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 14px 16px; }
.plan-text { flex: 1; min-width: 0; display: grid; gap: 6px; align-content: start; }
.plan-name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  font: 700 20px/1.1 var(--f-ui); text-transform: uppercase; letter-spacing: .035em; color: var(--text);
  text-shadow: 0 1px 0 #000;
}
.plan-name .i { width: 20px; height: 20px; color: var(--gold); }
.plan-size {
  padding: 4px 7px; font: 500 12px/1 var(--f-ui); letter-spacing: .06em; color: var(--muted);
  background: var(--plate); border: 1px solid var(--line-2); text-shadow: none;
}
.plan-text > p { max-width: 64ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.plan-rule { display: flex; align-items: flex-start; gap: 7px; color: var(--text-2) !important; }
.plan-rule .i { width: 15px; height: 15px; margin-top: 2px; color: var(--fire-1); }
.plan-sample { max-width: 470px; margin: 6px 0 0; pointer-events: none; }
.plan-sample .rows { padding: 0; }
.plan-sample figcaption { margin-top: 6px; font: 500 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }

.plan-cell { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-width: 0; padding: 12px 14px; border-left: 1px solid var(--line); }
.plan-d15 { grid-area: d15; }
.plan-d30 { grid-area: d30; }
.plan-both { grid-column: d15-start / d30-end; grid-row: d15-start / d30-end; }
.plan-occ { grid-area: occ; }
.plan-cta { grid-area: cta; }
.plan-cta .btn { width: 100%; }
.plan-lbl { font: 500 11.5px/1.15 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.pr { min-height: 22px; font: 500 14px/1.3 var(--f-ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.pr b { font: 600 20px/1.1 var(--f-ui); color: var(--text); letter-spacing: .01em; }
.pr-usd { white-space: nowrap; }
.pr-none { font: 500 13.5px/1.25 var(--f-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }

/* occupancy */
.occ { list-style: none; display: grid; gap: 5px; }
.occ-i { display: grid; grid-template-columns: 8px auto minmax(0, 1fr); align-items: center; gap: 1px 8px; font-size: 13.5px; line-height: 1.3; }
.occ-dot { width: 8px; height: 8px; background: var(--green-1); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7); }
.occ-sub { grid-column: 2 / -1; font-size: 12.5px; }
.occ-i.is-busy .occ-dot { background: var(--fire-2); }
.occ-n { display: grid; place-items: center; min-width: 19px; height: 19px; font: 600 11.5px/1 var(--f-ui); color: var(--muted); background: var(--plate); border: 1px solid var(--line-2); }
.occ-i.is-free .occ-s { color: var(--green-2); }
.occ-i.is-busy .occ-s { color: #ffc58a; }
.occ-sub { color: var(--muted); }
.occ-all { display: flex; align-items: center; gap: 7px; font-size: 13.5px; line-height: 1.3; color: var(--green-2); }
.occ-all .i { width: 15px; height: 15px; }

/* site schematic: wallpaper sides, the 1260 px column, header, hero, lists, rail, wide strip */
.smap {
  position: relative; flex: none; width: 150px; aspect-ratio: 16 / 10; overflow: hidden;
  background: #0b0c0f; border: 1px solid var(--line-2); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8);
}
.smap i { position: absolute; display: block; }
.m-bg { top: 0; bottom: 0; width: 17%; background: repeating-linear-gradient(135deg, #1b1d23 0 3px, var(--plate) 3px 6px); }
.m-bg-l { left: 0; }
.m-bg-r { right: 0; }
.m-col { left: 17%; right: 17%; top: 0; bottom: 0; background: var(--row-alt); box-shadow: 0 0 0 1px #000; }
.m-hdr { left: 17%; right: 17%; top: 0; height: 8%; background: var(--line-2); }
.m-hero { left: 19%; right: 19%; top: 12%; height: 21%; background: #2a2c33; }
.m-list { left: 19%; width: 41%; height: 5%; background: var(--row); }
.m-list-1 { top: 38%; }
.m-list-2 { top: 46%; }
.m-list-3 { top: 54%; }
.m-find { left: 63%; right: 19%; top: 38%; height: 9%; background: var(--row); }
.m-side { left: 63%; right: 19%; top: 50%; height: 30%; background: var(--row); }
.m-wide { left: 19%; right: 19%; top: 85%; height: 7%; background: var(--row); }
.smap-wide .m-wide, .smap-side .m-side { background: var(--fire-grad); box-shadow: 0 0 0 1px var(--fire-edge); }
.smap-wallpaper .m-bg { background: repeating-linear-gradient(135deg, var(--fire-2) 0 3px, #8a3c08 3px 6px); }

/* ---------- advertising: free listing ---------- */
.adv-free { display: flex; align-items: center; gap: 18px; padding: 16px 20px; }
.adv-free-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; color: var(--green-2); background: var(--plate); border: 1px solid #2f7a45; }
.adv-free-ico .i { width: 24px; height: 24px; }
.adv-free-text { flex: 1; min-width: 0; }
.adv-free-h { font: 700 20px/1.1 var(--f-ui); text-transform: uppercase; letter-spacing: .035em; text-shadow: 0 1px 0 #000; }
.adv-free-text p { max-width: 86ch; margin-top: 5px; font-size: 14px; color: var(--muted); }

/* ---------- advertising: request form ---------- */
.adv-req { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); gap: var(--gap); align-items: start; }
.adv-form-box { scroll-margin-top: 12px; }
.adv-form-in { display: grid; gap: 16px; padding: 16px 18px 20px; }
.adv-price { display: flex; align-items: center; gap: 8px; margin-top: -6px; font-size: 14px; color: var(--muted); }
.adv-price .i { width: 16px; height: 16px; color: var(--gold); }
.adv-srv-help { margin-top: -10px; }
.adv-done { display: grid; justify-items: start; gap: 14px; }
.adv-done:focus { outline: none; }
.adv-done .note { width: 100%; }
.adv-done .note > span { display: grid; gap: 4px; }
.adv-done-h { font: 600 17px/1.2 var(--f-ui); text-transform: uppercase; letter-spacing: .03em; }
.adv-done-p { color: var(--muted); overflow-wrap: anywhere; }
.adv-steps { list-style: none; display: grid; gap: 12px; padding: 14px 16px 16px; counter-reset: st; }
.adv-steps li { counter-increment: st; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.adv-steps li::before {
  content: counter(st);
  display: grid; place-items: center; width: 28px; height: 28px;
  font: 600 14px/1 var(--f-ui); color: var(--gold); background: var(--plate); border: 1px solid var(--bronze);
}
.adv-contacts { list-style: none; display: grid; gap: 4px; padding: 10px; }
.adv-contacts a {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px;
  font-size: 14px; background: var(--row); border: 1px solid var(--line); overflow-wrap: anywhere;
}
.adv-contacts a:hover { color: #fff; background: var(--row-hi); border-color: var(--line-2); }
.adv-contacts .i { width: 17px; height: 17px; color: var(--fire-1); }

/* ---------- guides: list ---------- */
.gd-list { list-style: none; display: grid; gap: 4px; padding: 8px; }
.gd-a {
  display: grid; grid-template-columns: 176px minmax(0, 1fr) 16px; align-items: center; gap: 16px;
  padding: 8px 14px 8px 8px;
  background: var(--row); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: background-color .15s, border-color .15s, transform .15s;
}
.gd-a:hover { background: var(--row-hi); border-color: var(--line-2); transform: translateX(2px); }
.gd-a:focus-visible { outline-offset: -2px; }
.gd-cover, .gd-mini-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--plate); border: 1px solid var(--line-2); }
.gd-cover img, .gd-mini-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.gd-cover.is-empty, .gd-mini-cover.is-empty { display: grid; place-items: center; color: var(--bronze); }
.gd-cover .i { width: 28px; height: 28px; }
.gd-mini-cover .i { width: 18px; height: 18px; }
.gd-body { display: grid; gap: 6px; min-width: 0; }
.gd-title { font: 600 18px/1.2 var(--f-ui); text-transform: uppercase; letter-spacing: .025em; color: var(--text); transition: color .15s; }
.gd-a:hover .gd-title { color: var(--fire-1); }
.gd-ex { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--muted); }
.gd-date { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
.gd-date .i { width: 13px; height: 13px; }
.gd-go { width: 16px; height: 16px; color: var(--dim); }
.gd-a:hover .gd-go { color: var(--fire-1); }
.gd-empty .empty > p:first-of-type { font: 600 18px/1.2 var(--f-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.gd-empty .empty .small { max-width: 46ch; }
.side-box { display: grid; gap: 12px; padding: 14px 16px 16px; }
.side-box p { font-size: 13.5px; color: var(--muted); }
.side-box .link-more { justify-self: start; }
.gd-mini { list-style: none; display: grid; gap: 4px; padding: 8px; }
.gd-mini a {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px;
  font: 500 13.5px/1.25 var(--f-ui); text-transform: uppercase; letter-spacing: .02em;
  background: var(--row); border: 1px solid var(--line);
  transition: background-color .15s, color .15s;
}
.gd-mini a:hover { color: var(--fire-1); background: var(--row-hi); }

/* ---------- guides: article ---------- */
.art-cover { position: relative; margin: 4px 4px 0; aspect-ratio: 21 / 8; overflow: hidden; background: #0a0b0d; border-bottom: 1px solid var(--line-2); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.art-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 21, 25, .9) 0%, rgba(20, 21, 25, 0) 45%); }
.art-in { display: grid; gap: 18px; padding: 22px 30px 26px; }
.art-head h1 { max-width: 34ch; font: 700 32px/1.12 var(--f-ui); text-transform: uppercase; letter-spacing: .025em; text-shadow: 0 1px 0 #000; }
.art-meta { display: flex; align-items: center; gap: 7px; margin-top: 10px; font: 500 13px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
.art-meta .i { width: 14px; height: 14px; }
.art-body { max-width: 74ch; }
.art-body > :first-child { margin-top: 0; }
.art-foot { padding-top: 16px; border-top: 1px solid var(--line); }
.art-foot .link-more .i { width: 12px; height: 12px; }

/* prose extras for the Markdown renderer */
.prose h2, .prose h3 { scroll-margin-top: 12px; }
.prose li::marker { color: var(--gold-2); }
.prose hr { height: 1px; margin: 1.6em 0; border: 0; background: linear-gradient(90deg, rgba(156, 118, 55, 0), rgba(156, 118, 55, .5) 15%, rgba(156, 118, 55, .5) 85%, rgba(156, 118, 55, 0)); }
.prose pre { overflow-x: auto; padding: 12px 14px; background: var(--plate); border: 1px solid var(--line); }
.prose pre code { padding: 0; background: none; border: 0; white-space: pre; }
.prose blockquote > * + * { margin-top: .6em; }
.prose a { overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.qa-list { display: grid; gap: 4px; padding: 8px; }
.qa { background: var(--row); border: 1px solid var(--line); transition: border-color .15s; }
.qa[open] { background: var(--row-hover); border-color: var(--edge); box-shadow: inset 3px 0 0 var(--fire); }
.qa-q {
  display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px;
  font: 600 15px/1.35 var(--f-text); color: var(--text);
  list-style: none; cursor: pointer;
  transition: color .15s, background-color .15s;
}
.qa-q::-webkit-details-marker { display: none; }
.qa-q::marker { content: ""; }
.qa-q:hover { color: #fff; background: var(--row-hi); }
.qa-q:focus-visible { outline-offset: -2px; }
.qa-q > span { flex: 1; min-width: 0; }
.qa-chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.qa[open] .qa-chev { transform: rotate(180deg); color: var(--fire-1); }
.qa-a { padding: 0 16px 14px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); animation: fade-in .25s ease both; }
.faq-more { display: flex; align-items: center; gap: 12px; margin-top: var(--gap); padding: 14px 18px; font-size: 14.5px; color: var(--muted); }
.faq-more-ico { width: 22px; height: 22px; color: var(--bronze); }
.faq-more-t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.faq-more .a { display: inline-flex; align-items: center; gap: 6px; }
.faq-more .a .i { width: 15px; height: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plan {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas: "info info info info" "d15 d30 occ cta";
  }
  .plan-cell { border-top: 1px solid var(--line); }
  .plan-d15, .plan-both { border-left: 0; }
}
@media (max-width: 900px) {
  .adv-req, .faq-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .adv-jump { gap: 4px; margin-top: 12px; }
  .adv-jump .tab { height: 30px; padding: 0 10px; font-size: 12.5px; }
  .plans { padding: 6px; }
  .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "info info" "d15 d30" "occ occ" "cta cta"; }
  .plan-info { gap: 12px; padding: 12px; }
  .plan-name { font-size: 18px; }
  .plan-cell { padding: 10px 12px; }
  .plan-occ, .plan-cta { border-left: 0; }
  .pr b { font-size: 18px; }
  .smap { width: 92px; }
  .adv-sec-lead { padding: 10px 12px 0; }
  .adv-free { flex-wrap: wrap; gap: 12px 14px; padding: 14px 16px; }
  .adv-free .btn { width: 100%; }
  .adv-form-in { padding: 14px 14px 16px; }
  #adv-form .form-actions .btn, .adv-done .btn { width: 100%; }
  .gd-list { padding: 6px; }
  .gd-a { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 6px; }
  .gd-go { display: none; }
  .gd-title { font-size: 15.5px; }
  .gd-ex { font-size: 13px; }
  .art-in { padding: 16px 16px 20px; gap: 14px; }
  .art-cover { aspect-ratio: 16 / 9; }
  .art-head h1 { font-size: 24px; }
  .qa-q { min-height: 44px; padding: 10px 12px; font-size: 14.5px; }
  .qa-a { padding: 0 12px 12px; font-size: 14px; }
  .faq-more { padding: 12px 14px; }
}
