@charset "UTF-8";

/* ----
 * Kico Style 1.0 — Trimmed for Single Theme
 * A minimal responsive utility layer
 * ---- */

/* Reset */
body, dl, dt, dd, ol, ul,
h1, h2, h3, h4, h5, h6, p,
pre, code, form,
fieldset, legend, figure {
    margin: 0;
    padding: 0;
}

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

/* Root Variables */
:root {
    --radius-sm: .375em;
    --radius-md: .625em;
    --radius-lg: 1em;
    --transition: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background: #c4c1bb;
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}

/* Selection */
::selection {
    color: #fff;
    background-color: #d97706;
}

/* Utilities */
.float-left { float: left !important }
.float-right { float: right !important }
.clearfix:after {
    content: '';
    clear: both;
    display: block;
}
.text-left { text-align: left !important }
.text-right { text-align: right !important }
.text-center { text-align: center !important }

/* Container */
.wrap {
    margin: 0 auto;
    max-width: 72em;
    padding: 0 1.5em;
    box-sizing: content-box;
}
.wrap.min { max-width: 48em }
.wrap.mid { max-width: 60em }
.wrap.max { max-width: 85em }
.wrap.full { max-width: 100% }

/* Headings */
h1 { font-size: 2.25em }
h2 { font-size: 1.75em }
h3 { font-size: 1.375em }
h4 { font-size: 1.125em }
h5 { font-size: 1em }
h6 { font-size: .875em }
h1, h2, h3, h4, h5, h6 {
    margin-bottom: .75rem;
    line-height: 1.3;
}
h1:last-child, h2:last-child, h3:last-child,
h4:last-child, h5:last-child, h6:last-child,
p:last-child { margin-bottom: 0 }

/* Paragraphs */
p {
    line-height: 1.75;
    margin-bottom: 1em;
}

/* Links */
a {
    color: #d97706;
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: #b45309 }

/* Inline */
em, mark, kbd {
    font-size: .875em;
    padding: .2em .5em;
    border-radius: var(--radius-sm);
}
em {
    font-style: normal;
    color: #fff;
    background: #d97706;
}
kbd {
    color: #fff;
    background: #333;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}
img, svg, audio, video, iframe {
    max-width: 100%;
    vertical-align: middle;
}

/* Article */
article { letter-spacing: .01em }
article > * { margin-bottom: 1.25em }
article > *:last-child { margin-bottom: 0 }
article a { word-break: break-word }
article ul, article ol, article dl { line-height: 1.8 }

/* Buttons */
button {
    margin: 0;
    outline: 0;
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
.btn {
    display: inline-block;
    padding: .6em 1.25em;
    border-radius: var(--radius-md);
    background: #d97706;
    color: #fff;
    transition: background var(--transition), transform var(--transition);
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #b45309;
    color: #fff;
    transform: translateY(-1px);
}
.btn:active { transform: translateY(0) }
.btn.small { font-size: .875em; padding: .4em .875em }
.btn.large { font-size: 1.125em; padding: .75em 1.75em }

/* Code */
pre, code {
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
}
pre {
    tab-size: 4;
    padding: 1.25em;
    overflow-x: auto;
    border-radius: var(--radius-md);
    background: #f5f4f2;
    border: 1px solid #e5e2dd;
    font-size: .875em;
    line-height: 1.6;
}
:not(pre) > code {
    color: #b45309;
    font-size: .85em;
    padding: .15em .4em;
    border-radius: var(--radius-sm);
    background: #f5f4f2;
    word-break: break-word;
}

/* Blockquote */
blockquote {
    margin: 0 0 1em;
    line-height: 1.7;
    padding: 1em 1.25em 1em 1.75em;
    border-left: 3px solid #d97706;
    background: #fffbeb;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #92400e;
}

/* Horizontal rule */
hr {
    border: 0;
    margin: 2em 0;
    border-top: 1px solid #e5e2dd;
}

/* Lists */
ul, ol { margin-left: 1.25em }
ul.clear, ol.clear {
    margin-left: 0;
    list-style: none;
}
dl dd { margin-left: 1.5em }
dl dd:before {
    content: "—";
    margin-right: .35em;
}

/* Forms */
input, select, textarea {
    margin: 0;
    outline: none;
    font: inherit;
    max-width: 100%;
    background: none;
    vertical-align: middle;
}
input[type="email"],
input[type="password"],
input[type="search"],
input[type="text"],
input[type="url"],
select,
textarea {
    padding: .6em .875em;
    border-radius: var(--radius-md);
    border: 1px solid #e5e2dd;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    color: inherit;
    min-height: 2.5em;
}
input:focus,
select:focus,
textarea:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, .1);
    outline: none;
}
textarea { resize: vertical; display: block }

fieldset {
    border: none;
    margin-bottom: 1.5em;
}
fieldset > * { margin-bottom: .875em }
fieldset:last-child { margin-bottom: 0 }

/* Row / Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1em;
    row-gap: 2em;
}
.row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1em;
}
.row .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
@media screen and (min-width: 900px) {
    .row .col-m-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    .row .col-m-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Print */
@media print {
    header, footer, .post-comments, .post-near,
    .post-item .edit-link, .page-title .edit-link, .post-title .edit-link,
    .to-top { display: none }
    body { background: none !important; color: #000 !important }
    main { margin-top: 0; padding: 1em 0 }
}

/* Keyframes */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(16px) }
    to   { opacity: 1; transform: translateY(0) }
}
@keyframes fade-in {
    from { opacity: 0 }
    to   { opacity: 1 }
}
@keyframes fade-in-down {
    from { opacity: 0; transform: translateY(-12px) }
    to   { opacity: 1; transform: translateY(0) }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(.95) }
    to   { opacity: 1; transform: scale(1) }
}
