/*
 * /verify-path/ — public path-certificate check (role verify-path, both sites).
 *
 * Same layout as /verify-certificate/ (verify-certificate.css): the page
 * definitions use the same block structure with the sf-verify-path prefix.
 * The result block comes from PathCertificate (?soofos_verify_path=<token>).
 * Without this file the page rendered unstyled on .com and .nl.
 */

.sf-verify-path {
    background: var(--page);
    color: var(--body);
    font-family: var(--font);
}

.sf-verify-path .sf-verify-path__hero {
    background: var(--blue-tint);
    padding: var(--soofos-space-3xl) var(--soofos-space-xl);
}

.sf-verify-path .sf-verify-path__inner {
    max-width: 60rem;
    margin: 0 auto;
}

.sf-verify-path .sf-verify-path__inner > .wp-block-group__inner-container {
    min-width: 0;
}

.sf-verify-path .sf-verify-path__eyebrow,
.sf-verify-path .sf-verify-path__kicker,
.sf-verify-path .sf-verify-path__fact-eyebrow {
    margin: 0 0 var(--soofos-space-md);
    color: var(--deep-blue);
    font-size: .875rem;
    font-weight: var(--soofos-font-weight-black);
    line-height: 1.5;
}

.sf-verify-path .sf-verify-path__title {
    max-width: 22ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: var(--soofos-font-weight-black);
    letter-spacing: -.03em;
    line-height: 1.08;
}

.sf-verify-path .sf-verify-path__lead {
    max-width: 44rem;
    margin: var(--soofos-space-xl) 0 0;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.sf-verify-path .sf-verify-path__form-section {
    padding: var(--soofos-space-3xl) var(--soofos-space-xl);
}

.sf-verify-path .sf-verify-path__panel {
    background: var(--white);
    border: thin solid var(--card-border);
    border-radius: var(--r-card-lg);
    padding: var(--soofos-space-2xl);
    box-shadow: var(--shadow-soft);
}

.sf-verify-path .sf-verify-path__heading {
    margin: 0 0 var(--soofos-space-md);
    color: var(--ink);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: var(--soofos-font-weight-black);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.sf-verify-path .sf-verify-path__form-help {
    margin: 0 0 var(--soofos-space-xl);
    color: var(--body);
    font-size: 1rem;
    line-height: 1.7;
}

.sf-verify-path .sf-verify-path__explainer {
    background: var(--white);
    padding: var(--soofos-space-3xl) var(--soofos-space-xl);
    border-top: thin solid var(--card-border);
}

.sf-verify-path .sf-verify-path__explainer-title {
    max-width: 32ch;
    margin: 0 0 var(--soofos-space-2xl);
    color: var(--ink);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: var(--soofos-font-weight-black);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.sf-verify-path .sf-verify-path__facts {
    display: grid;
    gap: var(--soofos-space-lg);
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-verify-path .sf-verify-path__facts > .wp-block-group__inner-container {
    display: grid;
    gap: var(--soofos-space-lg);
    min-width: 0;
}

.sf-verify-path .sf-verify-path__fact {
    background: var(--blue-tint);
    border: thin solid var(--card-border);
    border-radius: var(--r-card);
    padding: var(--soofos-space-xl);
    margin: 0;
}

.sf-verify-path .sf-verify-path__fact > .wp-block-group__inner-container {
    min-width: 0;
}

.sf-verify-path .sf-verify-path__fact-eyebrow {
    margin: 0 0 var(--soofos-space-sm);
}

.sf-verify-path .sf-verify-path__fact-copy {
    margin: 0;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.6;
}

/* Accessible focus ring for the plugin's form controls */
.sf-verify-path input:focus-visible,
.sf-verify-path button:focus-visible,
.sf-verify-path a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Ensure plugin search form controls meet 44px tap-target minimum */
.sf-verify-path input[type="text"],
.sf-verify-path input[type="search"],
.sf-verify-path button[type="submit"] {
    min-height: 44px;
}

@media (min-width: 48rem) {
    .sf-verify-path .sf-verify-path__hero,
    .sf-verify-path .sf-verify-path__form-section,
    .sf-verify-path .sf-verify-path__explainer {
        padding-inline: var(--soofos-space-3xl);
    }

    .sf-verify-path .sf-verify-path__panel {
        padding: var(--soofos-space-3xl);
    }

    /* The Gutenberg group block inserts a .wp-block-group__inner-container between
     * .sf-verify-path__facts (the intended grid container) and the four
     * .sf-verify-path__fact article children.  That wrapper is the true
     * parent of the articles, so it — not the outer __facts div — must carry the
     * multi-column template.  The outer __facts div keeps display:grid so the
     * wrapper fills the full row (grid-column: 1 / -1) rather than collapsing to
     * a half-width cell. */
    .sf-verify-path .sf-verify-path__facts > .wp-block-group__inner-container {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--soofos-space-xl);
    }
}

@media (min-width: 75rem) {
    .sf-verify-path .sf-verify-path__facts > .wp-block-group__inner-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
