.ads-top-main {
    min-height: 280px;
    text-align: center;
}

@media (max-width: 768px) {
    .ads-top-main {
        min-height: 320px;
    }
}

.wp-block-breadcrumbs li:not(:last-child)::after {
    content: "»";
}

/* Date block */
.custom-date-block {
    display: inline-block;
    margin-block-start: 4px;
    color: inherit;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    opacity: 0.8;
    vertical-align: baseline;
}

.custom-date-block.modified {
    cursor: pointer;
}

.date-text-wrapper {
    display: inline-flex;
    align-items: center;
}

.date-arrow {
    display: inline-block;
    margin-left: 4px;
    color: inherit;
    font-style: normal;
    font-weight: bold;
    transform-origin: center 62%;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.orig-date-dropdown {
    display: none;
    width: 100%;
    border-top: 1px solid rgb(0 0 0 / 10%);
    font-size: 0.85rem;
    opacity: 0.85;
    text-align: left;
}

/* Post content spacing */
.single .entry-content h2 {
    margin-block-start: 46px;
}

.single .entry-content :is(h2, h3) + * {
    margin-block-start: 10px;
}

.wp-block-latest-posts li,
.wp-block-footnotes li {
    margin-bottom: 18px;
}

/* Table of contents */
.simple-toc {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fafafa;
}

.toc-title {
    display: block;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
}

.toc-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.toc-item-h2 {
    margin-top: 5px;
    font-size: 0.95rem;
}

.toc-item-h3 {
    font-size: 0.95rem;
}

.toc-item-h2 a,
.toc-item-h3 a {
    text-decoration: none;
}

.toc-item-h2 a {
    color: #333;
}

.toc-item-h3 a {
    color: #666;
}

.toc-list li a:hover {
    color: #000;
    text-decoration: underline;
}

/* Related posts */
.related-posts-section {
    padding-top: 14px;
}

.related-list {
    padding: 8px 8px 8px 32px;
    background-color: #eff9f1;
    line-height: 1.3;
}

.related-list li {
    padding: 6px 0;
}

.related-list li a {
    color: #000;
    font-size: 1rem;
    text-decoration: none;
}

.related-list li a:hover {
    color: #0066ff;
    text-decoration: underline;
}

/* Ordered tags */
.post-tags-ordered {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.95rem;
}

.ordered-tag-item {
    display: inline-block;
    margin-right: 15px;
    color: #0066ff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-arrow {
    display: inline-block;
    padding-left: 2px;
    color: #808080;
    font-weight: bold;
    vertical-align: baseline;
}
