/*
Theme Name: Perfectomundo
Description: Et lett blokkbasert child theme for Perfectomundo, med gjenbrukbare mønstre for lokale tjenestebedrifter.
Author: Naviqon
Version: 0.22.8
Template: twentytwentyfive
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfectomundo
Tags: block-patterns, full-site-editing, custom-colors, custom-menu
*/

/* Layout comes from core blocks and theme.json; these rules add bounded refinements. */
html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; }
.pm-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 650; }
.pm-card { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2rem); }
.pm-hero { position: relative; border-bottom: 1px solid var(--wp--preset--color--line); }
.pm-hero h1 { max-width: 15ch; text-wrap: balance; }
.pm-intro { max-width: 42rem; }
.pm-process-number { font-size: .85rem; letter-spacing: .12em; font-weight: 650; }
.pm-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.pm-footer { border-top: 1px solid var(--wp--preset--color--line); }
.pm-muted { color: var(--wp--preset--color--muted); }
.pm-scope { border-left: 3px solid var(--wp--preset--color--accent); }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 4px; }
.pm-header .wp-block-site-title { letter-spacing: -.04em; }
@media (max-width: 600px) {
  .pm-header { gap: 1rem; }
  .pm-card { padding: 1.25rem; }
  .pm-hero h1 { max-width: 100%; }
  .pm-hero .wp-block-buttons { align-items: stretch; flex-direction: column; }
  .pm-hero .wp-block-button, .pm-hero .wp-block-button__link { width: 100%; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .wp-block-navigation, .wp-block-buttons { display: none; }
  body { background: #fff; color: #182f2c; }
  .pm-card { break-inside: avoid; }
}
