@font-face {
    font-family: "Arvo";
    src: url("https://www.mccneb.edu/fonts/Arvo/Arvo-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("https://www.mccneb.edu/fonts/Open_Sans/OpenSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("https://www.mccneb.edu/fonts/Open_Sans/OpenSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.persona-modal {
    color: #111827;
    font-family: "Open Sans", Arial, sans-serif;
}

    .persona-modal * {
        box-sizing: border-box;
    }

    .persona-modal body {
        min-height: 100vh;
        margin: 0;
    }

    .persona-modal button,
    .persona-modal a {
        font: inherit;
    }

    .persona-modal button {
        cursor: pointer;
    }

    .persona-modal .demo {
        display: grid;
        min-height: 100vh;
        place-items: center;
    }

    .persona-modal .open-modal {
        min-height: 44px;
        min-width: 44px;
        padding: 0.65rem 1rem;
        border: 0;
        border-radius: 0.5rem;
        background: #f9df94;
        color: #000;
        font-weight: 700;
    }

.persona-modal {
    width: min(95vw, 1200px);
    max-width: none;
    max-height: 90vh;
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2);
    color: #000;
}

    .persona-modal::backdrop {
        background: rgb(0 0 0 / 0.5);
    }

    .persona-modal .modal-shell {
        position: relative;
        padding: 1.5rem 4rem 1.5rem 1.5rem;
    }

    .persona-modal .step[hidden] {
        display: none;
    }

    .persona-modal .modal-header {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        text-align: left;
    }

        .persona-modal .modal-header h1,
        .persona-modal .card-title h2,
        .persona-modal .card-links h3,
        .persona-modal .fork-title {
            font-family: "Arvo", Georgia, serif;
        }

        .persona-modal .modal-header h1 {
            margin: 0;
            color: #111827;
            font-size: clamp(1.25rem, 3vw, 1.875rem);
            line-height: 1.2;
        }

            .persona-modal .modal-header h1:focus {
                outline: none;
            }

        .persona-modal .modal-header p {
            margin: 0;
            color: #4b5563;
            font-size: 1rem;
            line-height: 1.625;
        }

    .persona-modal .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .persona-modal .icon-button {
        display: inline-grid;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        place-items: center;
        border: 0;
        border-radius: 0.375rem;
        background: transparent;
        color: #374151;
    }

        .persona-modal .icon-button:hover {
            background: #f3f4f6;
            color: #111827;
        }

        .persona-modal .icon-button svg {
            width: 1.25rem;
            height: 1.25rem;
            fill: none;
            stroke: currentcolor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 2;
        }

    .persona-modal .close-button {
        position: absolute;
        z-index: 1;
        top: 1rem;
        right: 1rem;
    }

    .persona-modal .fork-options {
        display: flex;
        gap: 1rem;
        margin: 1.5rem 0 0.5rem;
    }

    .persona-modal .fork-option {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 2rem 1.5rem;
        border: 2px solid #0265b6;
        border-radius: 0.75rem;
        background: #fff;
        color: inherit;
        text-align: center;
        transition: background-color 150ms ease;
    }

        .persona-modal .fork-option:hover {
            background: #eff6ff;
        }

        .persona-modal .fork-option > svg {
            width: 2.5rem;
            height: 2.5rem;
            fill: none;
            stroke: #0265b6;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 2;
        }

    .persona-modal .fork-title {
        color: #1e3a8a;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.375;
    }

    .persona-modal .fork-description {
        color: #374151;
        font-size: 0.875rem;
    }

    .persona-modal .step-two-header {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.75rem;
    }

    .persona-modal .persona-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }

    .persona-modal .persona-card {
        display: grid;
        grid-row: span 3;
        grid-template-rows: subgrid;
        overflow: hidden;
        border: 2px solid #6b7280;
        border-radius: 0.5rem;
    }

    .persona-modal .card-title {
        display: grid;
        min-height: 4.25rem;
        padding: 0.75rem 1rem;
        place-items: center;
    }

    .persona-modal .card-title-blue {
        background: #1e3a8a;
    }

    .persona-modal .card-title-red {
        background: #7f1d1d;
    }

    .persona-modal .card-title-green {
        background: #14532d;
    }

    .persona-modal .card-title-sky {
        background: #0c4a6e;
    }

    .persona-modal .card-title-purple {
        background: #581c87;
    }

    .persona-modal .card-title-slate {
        background: #1e293b;
    }

    .persona-modal .card-title h2 {
        margin: 0;
        color: #fff;
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.4;
        text-align: center;
    }

        .persona-modal .card-title h2 span {
            font-size: 1rem;
        }

    .persona-modal .card-description {
        padding: 1rem 1rem 0.5rem;
        font-size: 1rem;
        line-height: 1.625;
    }

        .persona-modal .card-description p {
            margin: 0;
        }

        .persona-modal .card-description a,
        .persona-modal .card-links a {
            border-radius: 0.25rem;
            color: #1e40af;
            font-weight: 700;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

            .persona-modal .card-description a:hover,
            .persona-modal .card-links a:hover {
                color: #1e3a8a;
            }

    .persona-modal .card-links {
        padding: 0.25rem 1rem 1rem;
    }

        .persona-modal .card-links h3 {
            margin: 0 0 0.5rem;
            color: #374151;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.025em;
            text-transform: uppercase;
        }

        .persona-modal .card-links ul {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .persona-modal .card-links a {
            display: flex;
            width: 100%;
            min-height: 44px;
            align-items: center;
            padding: 0.5rem 1rem;
            font-size: 1rem;
            line-height: 1.5;
        }

            .persona-modal .card-links a:hover {
                background: #eff6ff;
            }

    .persona-modal .external-icon {
        flex: 0 0 auto;
        margin-left: 0.375rem;
        font-size: 1rem;
        text-decoration: none;
    }

    .persona-modal .new-tab-note {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        margin: 0.75rem 0 0;
        color: #4b5563;
        font-size: 0.75rem;
        line-height: 1.625;
    }

    .persona-modal :where(button, a):focus-visible {
        outline: 2px solid #0265b6;
        outline-offset: 2px;
    }

@media (max-width: 859px) {
    .persona-modal {
        width: min(95vw, 580px);
    }

        .persona-modal .fork-options {
            flex-direction: column;
        }

        .persona-modal .persona-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .persona-modal .persona-card {
            display: flex;
            flex-direction: column;
        }

        .persona-modal .card-links {
            align-self: stretch;
        }
}

@media (max-width: 639px) {
    .persona-modal .modal-shell {
        padding: 1.5rem 3.5rem 1.5rem 1.5rem;
    }

    .persona-modal .modal-header {
        text-align: center;
    }

    .persona-modal .step-two-header {
        text-align: left;
    }

    .persona-modal .modal-header p,
    .persona-modal .card-links a {
        font-size: 0.875rem;
    }

    .persona-modal .fork-title {
        font-size: 1.125rem;
    }

    .persona-modal .desktop-only {
        display: none;
    }

    .persona-modal .card-title h2 {
        font-size: 1rem;
    }

        .persona-modal .card-title h2 span {
            font-size: 0.875rem;
        }
}

@media (prefers-reduced-motion: reduce) {
    .persona-modal *,
    .persona-modal *::before,
    .persona-modal *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
