/* WordPress extras on top of the design (main.css) */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } .admin-bar .menu, .admin-bar .mega { top: 114px !important; } }
.tf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-submit[disabled] { opacity: .6; cursor: progress; }
.tf-progress { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.tf-progress span { display: block; height: 100%; width: 0; background: var(--lime-deep); transition: width .2s; }

/* Text written in the editor */
.entry > * + * { margin-top: 18px; }
.entry p, .entry li { font-size: 19px; line-height: 1.6; color: #3a3a3c; }
.entry h2 { font-size: 32px; letter-spacing: -0.035em; margin: 48px 0 14px; scroll-margin-top: 100px; }
.entry h3 { font-size: 24px; margin: 32px 0 10px; }
.entry a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry img { height: auto; border-radius: 16px; }
.entry figure { margin: 28px 0; }
.entry figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--lime-deep); font-size: 21px; }
.s-about-text.entry p { margin: 0 0 18px; }
.p-body .p-service { text-decoration: none; }
.p-body .p-service, .p-body .p-end { margin-top: 40px; }

/* Plain pages */
.page-wrap { padding-top: 140px; padding-bottom: 80px; max-width: 860px; }
.page-title { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.05em; margin-bottom: 32px; }
.nf { min-height: 60vh; }
.ih-fw { padding-top: 68px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 14px; align-items: center; justify-content: center; border-radius: 99px; background: var(--soft); font-size: 15px; font-weight: 500; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); }
.pagination a.page-numbers:hover { background: var(--lime); }

/* Portfolio page */
.pf-list .grid { margin-bottom: 0; }
.pf-list { padding-top: 40px; }
.b-tabs a.b-tab { display: inline-flex; align-items: center; }

/* Search field inside a form */
.b-search input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
@media (max-width: 860px) { .page-wrap { padding-top: 112px; } .entry p, .entry li { font-size: 17px; } }
