/* Resources pages: accommodation, code of conduct, certificate verification.
   Loaded after about.css (page header). */

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; 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='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ctodo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ctodo .todo { margin-left: 0; }

/* ---------------------------------------------------------- accommodation -- */
.shero__fig { position: relative; padding: 0 0 48px 48px; }
.shero__fig > img:first-child { aspect-ratio: 4 / 3; }
.shero__inset { position: absolute; left: 0; bottom: 0; width: 46% !important; aspect-ratio: 4 / 3 !important; transform: rotate(3deg) !important; border-radius: 16px !important; }
.shero__chip { position: absolute; right: 16px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9999px; background: var(--white); font-size: 13px; font-weight: 500; box-shadow: 0 12px 28px rgba(23, 25, 58, 0.16); }
.shero__chip span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(42, 138, 74, 0.18); }

.sinc { background: linear-gradient(120deg, #DDF2E4 0%, #E2EEF8 100%); }
.sinc__head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.sinc__grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sinc__item { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 12px 28px rgba(23, 25, 58, 0.06); }
.sinc__item b { font-size: 17px; font-weight: 600; }
.sinc__item > span:last-child { font-size: 15px; color: var(--forest-72); }
.sinc__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--mint); color: var(--forest); }
.sinc__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.srows .wrap { display: grid; gap: 96px; }
.srow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; scroll-margin-top: calc(var(--bar) + 24px); }
.srow--flip .srow__media { order: 2; }
.srow__text { display: grid; gap: 16px; }
.srow__text > p:not(.eyebrow) { color: var(--forest-72); font-size: 17px; }
.srow__media { display: grid; gap: 12px; }
.srow__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 44px rgba(23, 25, 58, 0.12); }
.srow__media--1 img { aspect-ratio: 4 / 3; }
.srow__media--2 { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.srow__media--2 img { aspect-ratio: 4 / 5; }
.srow__media--2 img:first-child { aspect-ratio: auto; }
.srow__media--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.srow__media--3 img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.srow__media--3 img:not(:first-child) { aspect-ratio: 4 / 3; }

@media (max-width: 960px) {
  .sinc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srow { grid-template-columns: 1fr; gap: 28px; }
  .srow--flip .srow__media { order: 0; }
  .srows .wrap { gap: 64px; }
}
@media (max-width: 560px) {
  .sinc__grid { grid-template-columns: 1fr; }
  .shero__fig { padding: 0 0 32px 24px; }
}

/* -------------------------------------------------------- code of conduct -- */
.coc__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.coc__nav { position: sticky; top: calc(var(--bar) + 32px); display: grid; gap: 14px; }
.coc__nav ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--forest-12); }
.coc__nav a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--forest-72); text-decoration: none; transition: color 150ms var(--ease), border-color 150ms var(--ease); }
.coc__nav a:hover { color: var(--forest); }
.coc__nav a.is-on { color: var(--forest); font-weight: 500; border-left-color: var(--green); }
.coc__body { display: grid; gap: 48px; max-width: 760px; }
.coc__part { display: grid; gap: 14px; scroll-margin-top: calc(var(--bar) + 24px); }
.coc__part h2 { font-size: clamp(24px, 1.2rem + 0.8vw, 30px); }
.coc__part > p { color: var(--forest-72); font-size: 17px; }
.coc__rules { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.coc__rules li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--forest-06); box-shadow: inset 0 0 0 1px var(--forest-12); font-weight: 500; }
.coc__rules svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.coc__card { display: grid; gap: 6px; padding: 24px; border-radius: 18px; background: linear-gradient(120deg, #DDF2E4 0%, #E2EEF8 100%); }
.coc__card address { font-style: normal; line-height: 1.6; }
.coc__pdf { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
@media (max-width: 960px) {
  .coc__grid { grid-template-columns: 1fr; gap: 32px; }
  .coc__nav { position: static; }
  .coc__nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ----------------------------------------------- certificate verification -- */
.vhero .phero__grid { align-items: center; }
.vcard { display: grid; gap: 18px; padding: 32px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 30px 60px rgba(23, 25, 58, 0.14); }
.vcard__top { display: flex; align-items: center; gap: 14px; }
.vcard__seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--white); }
.vcard__seal svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vcard__t { font-size: 20px; font-weight: 600; }
.vcard__s { font-size: 14px; color: var(--forest-72); }
.vfield { display: grid; gap: 6px; }
.vfield label { font-size: 14px; font-weight: 500; }
.vfield input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--forest-12); background: var(--paper); color: var(--forest); font: 400 16px "Poppins", sans-serif; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.vfield input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(42, 138, 74, 0.16); background: var(--white); }
.vfield small { font-size: 13px; color: var(--forest-72); }
.vcard .btn { width: 100%; justify-content: center; }
.vcard__err { display: none; padding: 10px 14px; border-radius: 10px; background: #FDEBEF; color: #9B1B3A; font-size: 14px; }
.vcard__err.is-on { display: block; }
.vcard__note { font-size: 13px; color: var(--forest-72); }

.vsteps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.vsteps li { position: relative; display: grid; gap: 8px; padding: 28px 24px 24px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12); counter-increment: step; }
.vsteps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 50%; background: var(--forest); color: var(--white); font-weight: 600; }
.vsteps b { font-size: 17px; }
.vsteps span { color: var(--forest-72); font-size: 15px; }
.vhead { display: grid; gap: 14px; max-width: 720px; margin-bottom: 36px; }
.vemp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 36px; border-radius: 22px; background: linear-gradient(120deg, #0E4424 0%, #10332F 52%, var(--navy) 100%); color: var(--white); }
.vemp p { color: rgba(255, 255, 255, 0.85); }
.vemp .btn { background: var(--white); color: var(--forest); }
@media (max-width: 960px) {
  .vsteps { grid-template-columns: 1fr; }
  .vemp { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .vcard { padding: 22px; } .vemp { padding: 24px; } }
.faq__note { margin-top: 24px; color: var(--ink-2, inherit); }
.faq__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Cookie policy: the table of what the site uses; scrolls sideways on phones. */
.ckt { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--forest-12); }
.ckt table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.ckt th, .ckt td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--forest-12); }
.ckt thead th { font-size: 13px; font-weight: 600; color: var(--forest-72); background: var(--forest-06); }
.ckt tbody th { font-weight: 600; color: var(--forest); }
.ckt td { color: var(--forest-72); }
.ckt tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {   /* phones: each row becomes a card, every value labelled */
  .ckt { overflow: visible; box-shadow: none; border-radius: 0; }
  .ckt table { min-width: 0; }
  .ckt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ckt tr { display: block; margin-bottom: 12px; padding: 4px 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--forest-12); }
  .ckt th, .ckt td { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 16px; border: 0; }
  .ckt tbody th { display: block; padding-top: 12px; font-size: 16px; }
  .ckt td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--forest); }
}
