body {
    font-family: "Ubuntu", sans-serif;
    color: #000;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

a,
a:hover {
    color: #800000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

html,
input,
select,
textarea {
    color: #222;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 0;
    padding: 0;
}

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

textarea {
    resize: vertical;
}

h1,
h3 {
    font-family: "Ubuntu", sans-serif;
    line-height: 1.2;
    color: #000;
    font-weight: 100;
}

h2,
h4 {
    font-family: "Lora", serif;
    color: #011;
    font-style: italic;
    text-align: center;
    font-weight: 100;
}

ul {
    padding-left: 15px;
}

ul.flat {
    margin: 0;
    padding: 0;
}

ul.flat li {
    display: inline-block;
    list-style: none;
    margin-left: 0;
}

.prevent-collapse {
    min-height: .1rem;
}

.page-title {
    margin: 0;
}

.smaller {
    font-size: 70%;
}

ul {
    list-style: disc inside;
}

.post ul li {
    margin-bottom: 3px;
}

.post ul li p {
    display: inline;
}

.highlight pre {
    margin-bottom: 0;
    margin-top: 0;
    padding: 20px;
    background-color: #FAFAFA !important;
}

.highlight {
    background: 0 0;
}

.wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.container {
    margin-top: 25px;
}

.header {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: 1px solid #f4f4f4;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.header-branding {
    flex: 1;
}

.header nav ul,
.header nav li {
    margin: 0;
}

.header nav ul.flat {
    padding: 0;
}

.header nav ul.flat li {
    display: inline-block;
    list-style: none;
    margin-left: 0;
    margin-right: 15px;
    margin-top: 0;
    text-transform: capitalize;
}

.header .site-description nav {
    margin: 0;
    padding: 0;
    border: none;
}

.header .site-description nav ul svg {
    max-height: 15px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #800000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header Navigation */
.header-nav {
    display: block;
    padding-bottom: 12px;
}

.header-nav nav {
    margin-top: 8px;
}

.header-nav nav.social {
    margin-top: 12px;
}

.header-nav nav.social ul.flat a {
    margin-right: 12px;
}

.section .section-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.recent-posts .posts .post .meta,
.post .post-header .meta,
.list .posts .post .meta {
    font-size: 1rem;
    color: #000;
    margin-bottom: 4px;
}

.post .post-header {
    margin-bottom: 10px;
}

.post .post-header .title {
    margin: 0;
}

.post .post-header .meta {
    padding-left: 5px;
    margin-top: 10px;
}

.list .posts .post .meta {
    margin-bottom: 0;
    margin-left: 5px;
}

.footer {
    text-align: right;
    font-size: 0.75em;
    color: #999;
    border-top: 1px solid #f4f4f4;
    padding: 1em 0;
    margin-top: 1em;
}

.page-title {
    margin-bottom: 0;
}

.tag-cloud {
    margin-top: 20px;
}

.tag-cloud a {
    margin-right: 15px;
}

@media (max-width: 767px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    .container {
        margin-top: 10px;
    }

    /* Compact header on mobile */
    .header {
        margin-bottom: 15px;
    }

    .header-top {
        padding: 8px 0;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .site-subtitle {
        font-size: 0.8rem;
        margin-top: 2px;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide navigation by default on mobile */
    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 9;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav nav {
        margin-top: 20px;
    }

    .header-nav nav.nav ul.flat {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-nav nav.nav ul.flat li {
        margin: 0;
        font-size: 1.1rem;
    }

    .header-nav nav.social {
        margin-top: 30px;
    }

    .header-nav nav.social ul.flat {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .header-nav nav.social ul.flat a {
        margin: 0;
    }

    .header-nav nav.social svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
}

.card {
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .5rem;
}

.pdfembed {
    height: 1000px;
}

.lighter {
    filter: brightness(150%);
}

.collapsible {
    background-color: #fff;
    color: #666;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active,
.collapsible:hover {
    background-color: #ccc;
}

.collapsible-content {
    padding: 0 18px;
    padding-bottom: 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.bold {
    font-weight: bolder;
}

.title {
    font-size: 115%;
}

.light {
    color: rgb(58, 58, 58);
}

.site-title {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.site-subtitle {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    font-weight: 300;
}

.item-title {
    margin-bottom: 0;
}

.search {
    margin-bottom: 1em;
}

.video {
    margin-bottom: 1em;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

blockquote {
    font-size: 1.4em;
    overflow: auto;
    background: #fff;
    padding: 20px 60px;
    border-radius: 10px;
    font-family: 'Lora', serif;
    color: #333;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

@media (max-width: 767px) {
    blockquote {
        font-size: 1.2em;
        padding: 20px 20px;
        margin-right: 0px;
        margin-left: 0px;
    }

    blockquote::before {
        font-size: 60px;
        top: 5px;
        left: 10px;
    }

    blockquote::after {
        font-size: 60px;
        bottom: 5px;
        right: 10px;
    }
}

/* Similar Quotes Section */
.similar-quotes-container {
    margin-top: 3em;
    padding: 1.5em;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.similar-quotes-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1em;
    letter-spacing: 1px;
}

.similar-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.similar-quote-item {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.similar-quote-title {
    font-size: 0.9em;
    font-weight: 500;
    color: #800000;
    text-decoration: none;
}

.similar-quote-title:hover {
    text-decoration: underline;
}

.similar-quote-author {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
}

.similar-quote-preview {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .similar-quotes-container {
        margin-top: 2em;
        padding: 1em;
    }

    .similar-quotes-list {
        gap: 1em;
    }
}