:root {
    --bg-color: #f4ecd8;
    --text-color: #222222;
    --muted-text: rgba(34, 34, 34, 0.65);
    --border-color: rgba(34, 34, 34, 0.18);
    --font-family: "Georgia", "Gelasio", "Palatino Linotype", "Book Antiqua", serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


header.top-bar {
    position: relative;
    width: 100%;
    padding: 55px 20px 35px 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.series-header {
    text-align: center;
    max-width: 600px;
}

.series-header h1,
.series-header .site-title {
    font-size: 17px;
    letter-spacing: 0.16em;
    margin: 0 0 8px 0;
    font-weight: normal;
}

.series-header .site-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.series-header .site-title a:hover {
    opacity: 0.7;
}

.series-header p {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.6;
}

.top-right-circle {
    position: absolute;
    top: 42px;
    right: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    transition: all 0.4s ease;
    background-color: var(--bg-color);
    z-index: 10;
}

.top-right-circle:hover {
    border-color: rgba(34, 34, 34, 0.85);
    background-color: rgba(34, 34, 34, 0.04);
    transform: scale(1.05);
}

/* Main Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 80px 20px;
    box-sizing: border-box;
}

.blog-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}


.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.ornament .line {
    height: 1px;
    width: 45px;
    background-color: var(--border-color);
}

.ornament .diamond {
    width: 5px;
    height: 5px;
    background-color: var(--border-color);
    transform: rotate(45deg);
}


.page-heading {
    text-align: center;
    margin-bottom: 44px;
}

.page-heading h1,
.page-heading h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: normal;
    margin: 0;
}


.tiles-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.blog-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 32px 36px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    text-decoration: none;
    color: var(--text-color);
    box-sizing: border-box;
    transition: transform 0.45s ease, border-color 0.45s ease, background-color 0.45s ease, box-shadow 0.45s ease;
}

.blog-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 34, 34, 0.7);
    background-color: rgba(34, 34, 34, 0.025);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.tile-meta {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin: 0 0 12px 0;
}

.tile-title {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 0.03em;
    line-height: 1.4;
    margin: 0 0 14px 0;
    color: var(--text-color);
}

.tile-excerpt {
    font-size: 15px;
    line-height: 1.72;
    color: rgba(34, 34, 34, 0.8);
    margin: 0 0 24px 0;
}

.tile-action {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-text);
    align-self: flex-start;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.blog-tile:hover .tile-action {
    color: var(--text-color);
    border-bottom-color: rgba(34, 34, 34, 0.85);
}


.entry-header {
    text-align: center;
    margin-bottom: 38px;
}

.entry-meta {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin: 0 0 14px 0;
}

.entry-title {
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color);
}

.entry-content {
    line-height: 1.82;
    color: var(--text-color);
}

.entry-content p {
    margin: 0 0 1.65em 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    font-size: 18px;
}

.entry-content p:last-child {
    margin-bottom: 0;
}


.blog-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.blog-footer p {
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
    color: var(--muted-text);
}

.blog-footer a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3px;
    transition: border-color 0.3s ease;
}

.blog-footer a:hover {
    border-bottom-color: rgba(34, 34, 34, 0.85);
}


@media (max-width: 768px) {
    header.top-bar {
        padding: 35px 20px 15px 20px;
    }

    .series-header {
        max-width: calc(100% - 140px);
    }

    .series-header h1,
    .series-header .site-title {
        font-size: 15px;
    }

    .series-header p {
        font-size: 10px;
    }

    .top-right-circle {
        top: 24px;
        right: 18px;
        width: 56px;
        height: 56px;
        font-size: 9px;
    }

    .blog-container {
        padding: 0 5px;
    }

    .tiles-grid {
        gap: 20px;
    }

    .blog-tile {
        padding: 26px 24px;
    }

    .tile-title {
        font-size: 18px;
    }

    .entry-title {
        font-size: 19px;
    }

    .entry-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .entry-content p {
        text-align: left;
        margin-bottom: 1.45em;
        font-size: 16px;
    }
}
