@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* CSS variable required by country-data.js on selection */
:root {
    --text-primary: #0F172A;
    /* Slate 900 */
}

/* Public pages — Lora as default font */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif !important;
}

/* Dropdown list item text & hover — mirrors admin-theme.css */
#phonePrefixList,
#phonePrefixList li,
#phonePrefixList li span,
#originCountryList,
#originCountryList li,
#originCountryList li span,
#destinationCountryList,
#destinationCountryList li,
#destinationCountryList li span {
    color: #0F172A;
}

#phonePrefixList li:hover,
#originCountryList li:hover,
#destinationCountryList li:hover {
    background-color: #9e9e9e;
}

/* Button trigger text — stays dark before & after selection */
#phonePrefixText,
#originCountryText,
#destinationCountryText {
    color: #0F172A;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lora', serif !important;
}

@keyframes feed-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card-enter {
    animation: feed-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}