/* WordPress-only additions */

/* Keep the sticky header below the admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Regular pages and blog posts written in the WordPress editor */
.entry { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.entry__head { max-width: 860px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 16px; }
.entry__meta { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.entry__thumb { max-width: 1080px; margin: 0 auto 48px; border-radius: var(--r-lg); overflow: hidden; }
.entry__thumb img { width: 100%; height: auto; }
.entry-content { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--text); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 1.8em; }
.entry-content h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 1.5em; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 16px; height: auto; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--accent); font-size: 20px; font-weight: 700; color: var(--ink); }
.entry-content .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; }

/* Blog list */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.post-card:hover { border-color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 10; background: var(--soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card__body h2 { font-size: 22px; line-height: 1.2; font-weight: 800; }
.post-card__body p { font-size: 15px; color: var(--muted); }
.pagination { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 1120px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }
