/* ============================================================
   Audrey Default Theme - style.css
   (converted from SCSS — no build step needed)
   ============================================================ */

/* --- Typography --- */
body {
    font-family: Lato, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Bitter, serif;
}

h1 {
    font-size: 3rem;
}

pre {
    font-size: .825rem;
}

/* --- General --- */
a {
    color: #f94c3b;
    transition: color .2s ease-in-out;
}

a:hover, a:active {
    color: #c81706;
}

img {
    max-width: 100%;
    border-radius: .25rem;
}

pre {
    color: #eee;
    background: #043143;
    padding: 1.5rem;
    border-radius: .25rem;
}

code {
    color: #f94c3b;
}

/* --- Navbar --- */
.navbar {
    background: #f4f5f8;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.navbar .navbar-brand {
    font-family: Bitter, serif;
    font-weight: bold;
}

/* --- Lists --- */
.list-group-item {
    background: #f4f5f8;
    border: none;
    margin-top: .5rem;
}

.list-group-item:first-child {
    margin-top: 0;
}

/* --- Tables --- */
table {
    width: 100%;
    margin-bottom: 1rem;
}

table td {
    padding: .25rem .75rem;
    border-bottom: solid 1px #eee;
}

table th {
    background: #f4f5f8;
    padding: .5rem .75rem;
}

/* --- Home / Jumbotron --- */
.jumbotron {
    background: #f8f9fa;
    padding: 2rem 0;
}

/* --- Posts --- */
.post-summary a {
    color: inherit;
    display: block;
    text-decoration: none;
}

.post-summary a:hover {
    color: inherit;
}

.post-summary article {
    display: flex;
    flex-direction: column;
}

.post-summary img {
    margin-bottom: 1rem;
}

.author img {
    width: 3rem !important;
    height: 3rem !important;
    margin-right: .5rem !important;
    float: left;
    object-fit: cover;
    border-radius: 50%;
}

.author .author-name {
    display: block;
    font-family: Bitter, serif;
    font-weight: bold;
}

.post-list a {
    color: inherit;
    text-decoration: none;
}

.post-list img {
    width: 4rem;
    height: 4rem;
    margin-right: .5rem;
    object-fit: cover;
    border-radius: .25rem;
}

.post-list h6 {
    margin-bottom: 0;
}

.post-list small {
    display: block;
    opacity: .75;
}

.post-list .list-group-item {
    background: none;
    padding: 0;
}

.category {
    color: #f94c3b;
    font-size: .85rem;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .post-summary:not(.col-md-6) img {
        width: 65%;
        margin-right: 1.5rem;
        margin-bottom: 0;
        object-fit: cover;
    }

    .post-summary:not(.col-md-6) .post-body {
        width: 35%;
    }

    .post-summary:not(.col-md-6) article {
        flex-direction: row;
        align-items: center;
    }
}
