/* The public site squared out like the control panel (portal-sharp.css): no rounded corners, and the panel's buttons.
   Loaded after the other styles on the home page (public/index.html) and every built page (src/templates/layout.mjs).
   The nav, contact form and footer components get the same treatment in components.js (PANEL). Remove both to go
   back to rounded. */
*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* Home page: the hero keeps its frame, with square corners */
#main [data-falcon-name="Hero-Section"] {
    clip-path: inset(0 8px) !important;
}

/* Buttons as in the panel: compact, filled */
.button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
    letter-spacing: -0.005em;
    transition:
        background-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        color 0.2s var(--ease);
}

.button:hover {
    transform: none;
}

.button-dark,
.hero-content .button-light {
    background: linear-gradient(180deg, #1d2440 0%, var(--night) 100%);
    box-shadow: inset 0 1px 0 #ffffff1f, 0 1px 2px #0a0e1c33, 0 4px 12px -4px #0a0e1c59;
    color: var(--white);
}

.button-dark:hover,
.hero-content .button-light:hover {
    background: linear-gradient(180deg, #283057 0%, #121831 100%);
    box-shadow: inset 0 1px 0 #ffffff26, 0 1px 2px #0a0e1c40, 0 8px 18px -6px #0a0e1c80;
}

.button-light {
    background: var(--white);
    box-shadow: 0 0 0 1px #13131317, 0 1px 2px #1313130f;
    color: var(--ink);
}

.button-light:hover {
    background: var(--white);
    box-shadow: 0 0 0 1px #1313132e, 0 3px 8px -2px #13131324;
}

/* Search field on /locations: the panel's input */
.pop-search input {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #13131329;
    background: var(--white);
}

.pop-search input:focus {
    border-color: var(--navy);
    outline: none;
    box-shadow: 0 0 0 3px #052d8226;
}
