/* SLBD foundation: browser defaults, typography and global elements. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--wp--preset--color--warm-ivory, #F7F4EB);
    color: var(--wp--preset--color--ink, #202A25);
    font-family: var(--wp--preset--font-family--body, "Lato", "Noto Sans Sinhala", Arial, sans-serif);
    font-size: var(--wp--preset--font-size--body, 1rem);
    line-height: 1.7;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wp--preset--color--rainforest, #173C32);
    font-family: var(--wp--preset--font-family--display, "EB Garamond", "Noto Serif Sinhala", Georgia, serif);
    font-weight: 400;
}

h1 {
    font-size: var(--wp--preset--font-size--heading-1, clamp(2.25rem, 8vw, 3rem));
}

h2 {
    font-size: var(--wp--preset--font-size--heading-2, clamp(1.875rem, 6vw, 2.5rem));
}

h3 {
    font-size: var(--wp--preset--font-size--heading-3, 1.5rem);
}

a {
    color: var(--wp--preset--color--rainforest, #173C32);
}

a:hover {
    color: var(--wp--preset--color--deep-emerald, #102C25);
}
