h1 {
    word-wrap: break-word;
    color: rgba(0, 0, 0, .8);
    font-family: CustomSansSerif, 'Lucida Grande', Arial, sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin: 21px 21px 12px;
    line-height: 34px;
}

h2, h3, h4 {
    word-wrap: break-word;
    color: rgba(0, 0, 0, .8);
    font-family: CustomSansSerif, 'Lucida Grande', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 18px 21px 7px;
    line-height: 1.58;
    white-space: pre-wrap;
}

p, li {
    cursor: text;
    text-align: inherit;
    font-family: CustomSerif, Georgia, Cambria, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.58;
    color: rgba(0, 0, 0, .8);
    margin: 0 21px 12px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

ul, ol {
    padding-left: 15px;
    margin: 0 21px 12px;
}

li {
    margin-bottom: 10px;
}

blockquote {
    border-left: 4px solid #ccc;
    padding-left: 15px;
    font-style: italic;
    margin: 15px 0;
    color: #666;
}

pre, code {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 5px;
    font-size: 16px;
    line-height: 1.5;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background-color: #e0e0e0;
}

.date-container {
    margin: 20px 0;
    padding-left: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.date-container time::before {
    content: "• ";
    color: #333;
    margin-right: 5px;
}

.date-label {
    font-weight: bold;
    margin-right: 8px;
    color: #555;
}

.date {
    font-style: italic;
    color: #666;
}

.time {
    font-weight: 600;
    color: #3a3a3a;
}

.views-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 14px;
    color: #555;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.views-icon {
    width: 16px;
    height: 16px;
}

@media screen and (min-width: 1024px) {
    .page {
        display: block;
        margin: auto;
        max-width: 732px;
    }
}

@media screen and (max-width: 1024px) {
    .page {
        display: block;
        max-width: 97%;
        margin: auto;
    }
}

video, iframe {
    max-width: 100%;
    width: 100%;
}

article {
    position: relative;
    margin: 20px 0;
    padding-bottom: 30px;
}

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