/**
 * LaborLawCenter Base Styles
 * Reset + foundational styles
 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--llc-font-regular);
    font-size: var(--llc-font-sm);
    line-height: var(--llc-line-height);
    color: var(--llc-brand-gray);
    background-color: var(--llc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

a {
    color: var(--llc-blue);
    text-decoration: none;
    transition: var(--llc-transition);
}

a:hover {
    color: var(--llc-light-blue);
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--llc-brand-blue);
    font-family: var(--llc-font-bold);
    line-height: 1.3;
    margin: 0 0 0.5em;
}

h1 { font-size: var(--llc-font-xxl); }
h2 { font-size: var(--llc-font-xl); }
h3 { font-size: var(--llc-font-lg); }
h4 { font-size: var(--llc-font-base); }
h5 { font-size: var(--llc-font-sm); }
h6 { font-size: var(--llc-font-xs); }

p {
    margin: 0 0 1em;
}

/* Container */
.custom-container {
    max-width: var(--llc-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-main {
    max-width: var(--llc-container);
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 50vh;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Selection */
::selection {
    background: var(--llc-blue);
    color: var(--llc-white);
}
