html,
body {
    min-height: 100%;
}

body {
    margin: 0;
}

main:focus {
    outline: none;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #0d1117;
    --bs-body-color: #e6edf3;
    --bs-border-color: #30363d;
}

.site-content {
    min-height: calc(100vh - 56px);
}

h1,
h2,
h3,
h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #e2b96f;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.15rem;
}

.post-view {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.post-header {
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #343a40;
}

.post-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.post-title {
    margin: 0 0 .5rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    color: #e2b96f;
}

.post-meta {
    margin-left: 2px;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: #8f98a3;
}

.post-meta-separator {
    opacity: .65;
}

.post-content,
.expanded-post-content,
.feature-post,
.highlight-post-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #b8bcc2;
}

.post-content p,
.expanded-post-content p,
.feature-post,
.highlight-post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid #343a40;
}

.post-edit-button {
    color: #e2b96f;
    border: 1px solid #b9904f;
}

.post-edit-button:hover {
    color: #16181b;
    background-color: #e2b96f;
    border-color: #e2b96f;
}

.search-button {
    color: #16181b;
    background-color: #e2b96f;
    border-color: #e2b96f;
}

.search-button:hover,
.search-button:focus {
    background-color: #d4aa62;
    border-color: #d4aa62;
}

.expanded-post,
.highlight-post {
    margin-bottom: 2rem;
    padding: 1.75rem;

    background: linear-gradient(
            135deg,
            #121820 0%,
            #0f141a 100%
    );

    border: 1px solid #26384a;
    border-left: 3px solid #1f6feb;

    border-radius: .5rem;
}

.expanded-post-content > :last-child {
    margin-bottom: 0;
}

.expanded-post-content img {
    max-width: 100%;
    height: auto;
}

.highlight-post-title {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #e2b96f;
}

.normal-post {
    display: grid;
    grid-template-columns: 120px 1fr 160px;
    gap: 1rem;
    align-items: center;

    padding: .75rem 0;
    border-bottom: 1px solid #343a40;
}

.normal-post-date,
.normal-post-author {
    font-size: .9rem;
    color: #8f98a3;
}

.normal-post-title a {
    color: #b8bcc2;
    text-decoration: none;
}

.normal-post-title a:hover {
    color: #e2b96f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .normal-post {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}

.recent-activity {
    margin-top: 2.5rem;
}

.recent-activity h2 {
    margin-bottom: 1.25rem;
}

.normal-post {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: .75rem;
    align-items: center;

    padding: .65rem .5rem;
    border-bottom: 1px solid #343a40;
}

.normal-post-date {
    color: #e2b96f;
}

.normal-post-summary {
    color: #d2d4d7;
}

.normal-post-more a {
    color: #5ca8ff;
}

.nav-utility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.5rem;
    color: #e2b96f;
}

.nav-utility:hover,
.nav-utility:focus {
    color: #d4aa62;
}

.nav-accent {
    color: #e2b96f;
}

.nav-accent:hover,
.nav-accent:focus {
    color: #d4aa62;
}

.navbar-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-fatima {
    color: #2296d2;
}

.brand-calls {
    color: #f8f9fa;
    font-style: italic;
}

.quote {
    background: #11151a;
    border-left: 3px solid #48515b;
    padding: 24px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.quote p {
    color: #c9d1d9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 12px 0;
}

.quote cite {
    color: #8f98a3;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    font-style: normal;
    text-align: right;
}

@media (min-width: 992px) {
    .account-dropdown {
        margin-right: 0.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .normal-post {
        grid-template-columns: 1fr auto;
    }

    .normal-post-date {
        display: none;
    }
}