/**
 * Lindhaus — Base Reset & Defaults
 *
 * Replaces the parent theme's normalize/reset.
 * Loaded before all other stylesheets.
 */

/* ========== BOX SIZING ========== */

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

/* ========== DOCUMENT ========== */

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1.15;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #565656;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    line-height: 1.3;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1em;
}

/* ========== LINKS ========== */

a {
    color: #4992BB;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

/* ========== IMAGES & MEDIA ========== */

img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

figure {
    margin: 0;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

/* ========== FORMS ========== */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

/* ========== TABLES ========== */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

th {
    text-align: left;
}

/* ========== WORDPRESS ALIGNMENT ========== */

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #777;
    text-align: center;
    padding: 0.5em 0;
}

/* ========== ENTRY CONTENT ========== */

.entry-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 20px 80px;
}

.entry-content h1 {
    margin-bottom: 0.5em;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin-top: 2em;
    margin-bottom: 0.75em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #EBEBEB;
}

.entry-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

.entry-content li {
    margin-bottom: 0.4em;
}

.entry-content table {
    margin: 1.5em 0;
    font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.entry-content th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #333;
}

.entry-content tr:nth-child(even) td {
    background-color: #fafafa;
}

.entry-content strong {
    color: #333;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #3a7a9e;
}

.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #4992BB;
    background-color: #DCEBF3;
    color: #333;
}

@media (max-width: 600px) {
    .entry-content {
        padding: 40px 16px 60px;
    }

    .entry-content h2 {
        font-size: 1.3rem;
    }

    .entry-content table {
        font-size: 0.875rem;
    }

    .entry-content th,
    .entry-content td {
        padding: 8px 10px;
    }
}

/* ========== 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;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    position: fixed;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========== PRINT ========== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    img {
        page-break-inside: avoid;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}
