/* WordPress / Astra integration only. No design changes: this file removes wrappers and
   parent-theme styles so the Designer's components.css renders as in the mockups. */
.roka-site #content.site-content > .ast-container { max-width: none; width: 100%; padding: 0; margin: 0; display: block; }
.roka-site #page, .roka-site .site-content { background: var(--roka-white); }
.roka-site .site-content { padding: 0; }
.roka-site main#main { display: block; }
/* Imported post bodies: core list/heading/paragraph markup inside .roka-prose. */
.roka-prose .wp-block-image img { border-radius: var(--roka-radius-lg); }
/* Astra scales the root font size down on tablet/mobile (91.2%); the Designer's rem scale assumes 16px. */
html:root { font-size: 100%; }
/* Astra base element styles that the mockups do not have (browser defaults there). */
:where(.roka-site) address, :where(.roka-site) table { margin: revert; }
:where(.roka-site) table, :where(.roka-site) th, :where(.roka-site) td { border: revert; font-weight: revert; }
/* Undo Astra element defaults with zero specificity, so the Designer's class rules still win. */
:where(.roka-site) a { text-decoration: revert; }
:where(.roka-site) button { font: revert; padding: revert; box-shadow: revert; line-height: revert; border-radius: revert; letter-spacing: revert; text-transform: revert; border: revert; }
:where(.roka-site) blockquote { font-style: revert; font-size: revert; border-left-color: revert; padding: revert; margin: revert; }
:where(.roka-site) blockquote p { font-style: revert; }
/* m1-review #2: the Designer's focus ring (components.css L20-21) must beat Astra's "a:focus{outline:thin dotted}" and skip-link rules. */
html body :focus-visible { outline: 3px solid var(--roka-focus) !important; outline-offset: 2px !important; border-radius: 4px; }
html body .roka-on-dark :focus-visible { outline-color: var(--roka-white) !important; }
:where(.roka-site) a:focus:not(:focus-visible) { outline: 0; }
/* "Illustrative image" tag on blog cards: top-right (as the hero variant), because the category pill sits bottom-left. */
.roka-post-card__media .roka-illus { left: auto; right: 12px; bottom: auto; top: 10px; }
.roka-featured { position: relative; }
.roka-featured .roka-illus { left: 12px; right: auto; bottom: auto; top: 10px; }
/* In-body AI photos: the existing .roka-illus label is position:absolute, so the figure must be relative. */
.roka-prose .wp-block-image { position: relative; }


/* Footer Order list icons (owner approved 16 Nov 2026 17:28 MYT; colours 17:29).
   Royal blue --roka-blue (#0A4FD1) is 1.96:1 on navy #0B2A6B, so phone/Instagram/Facebook
   use Fresh Aqua --roka-aqua (#1FB6E8, 5.72:1 AA). WhatsApp uses #25D366. Labels stay white. */
/* Owner 16 Nov 18:46: do not use flex-gap on the li — it treated the colon as a
   separate item (space before ":" and wrap after the label). Icon is inline so
   "Label: value" stays one phrase; nowrap at desktop; column grows to fit. */
.roka-footer-order li {
  display: block;
  align-items: unset;
  gap: 0;
}
.roka-footer-order .roka-footer-icon {
  display: inline-block;
  vertical-align: -0.2em;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: var(--roka-aqua);
}
.roka-footer-order .roka-footer-icon--whatsapp { color: #25D366; }
.roka-footer-order li a { white-space: nowrap; }
@media (min-width: 768px) {
  .roka-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) max-content minmax(0, 1.25fr); }
  .roka-footer-order li { white-space: nowrap; }
}

/* Footer clearance for the floating WhatsApp button (owner, 16 Nov 18:46 MYT).
   Extra padding-bottom = float height + inset + 24px, plus the cookie bar when it is open. */
.roka-footer { --roka-fab-clearance: calc(56px + 16px + 24px); padding-bottom: var(--roka-fab-clearance); }
@media (min-width: 1024px) {
  .roka-footer { --roka-fab-clearance: calc(56px + 24px + 24px); }
}
html.roka-cookie-pending .roka-footer,
body.roka-cookie-bar-open .roka-footer {
  padding-bottom: calc(var(--roka-fab-clearance) + var(--roka-cookie-bar-h, 220px));
}

/* Floating WhatsApp button (owner, 16 Nov 2026 17:32 MYT): green background, white icon. */
.roka-fab { background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .28), 0 0 0 4px rgba(255,255,255,.9); }
.roka-fab:hover { background: #1EBE5A; color: #fff; }
html body a.roka-fab:focus,
html body a.roka-fab:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .28), 0 0 0 6px #0B2A6B;
}
