/* ==================================================
   magellanic base stylesheet
   Keep this small: reset, base elements, WP accessibility helpers.
     ================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    font-size: var(--fs-body, 16px);
}

body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: var(--plain-white, #fff);
    color: var(--pitch-black, #100B00);
    font-family: var(--font-body, sans-serif);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

body.menu-open {
    overflow: hidden;
}

[hidden],
template {
    display: none;
}

main {
    display: block;
}

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

img {
    height: auto;
    border-style: none;
}

embed,
iframe,
object {
    max-width: 100%;
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
}

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

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

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

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

textarea {
    width: 100%;
    overflow: auto;
    resize: vertical;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.custom-post-title {
    font-family: var(--font-heading, sans-serif);
       font-weight: 900;
    line-height: 1.2;
    clear: both;
}

h1 { font-size: var(--fs-h1, 2rem); }
h2 { font-size: var(--fs-h2, 1.75rem); }
h3 { font-size: var(--fs-h3, 1.5rem); }
h4 { font-size: var(--fs-h4, 1.25rem); }
h5 { font-size: var(--fs-h5, 1.125rem); }
h6 { font-size: var(--fs-h6, 1rem); }

p,
ul,
ol {
    font-family: var(--font-body, sans-serif);
}

p {
    font-size: 1.2rem;
       font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 1.5em;
    padding-left: 1.2em;
}

li > ul,
li > ol {
    margin-bottom: 0;
}

blockquote {
    margin: 0;
}

blockquote,
blockquote p {
    font-size: 1.4em;
    font-style: italic;
    opacity: 0.85;
}

hr {
    height: 1px;
    margin-bottom: 1.5em;
    border: 0;
    background-color: var(--platinum, #eee);
}

pre {
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
    background: #eee;
    font-family: monospace;
    line-height: 1.6;
}

code,
kbd,
samp,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 1em;
}

table {
    width: 100%;
    margin: 0 0 1.5em;
}

abbr,
acronym {
    cursor: help;
    text-decoration: underline dotted;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

small { font-size: 80%; }

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
}

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

.screen-reader-text:focus,
.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    width: auto;
    height: auto;
    left: 5px;
    top: 5px;
    padding: 15px 23px 14px;
    border-radius: 3px;
    background-color: var(--platinum, #eee);
    color: var(--tech-blue, #0f5c99);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    z-index: 100000;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text,
.wp-caption-text {
    text-align: center;
}

.comment-content a {
    word-wrap: break-word;
}

.comment-content .wp-smiley,
.entry-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.sticky,
.bypostauthor {
    display: block;
}
