/* Small native WordPress adapters; the approved presentation remains studio CSS. */
.herzplott-theme.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .herzplott-theme.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .herzplott-theme.admin-bar .site-header { top: 0; } }
.herzplott-theme .native-menu { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.herzplott-theme .native-menu li { position: relative; list-style: none; }
.herzplott-theme .native-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 15px; margin: 0; }
.herzplott-theme .native-menu li:hover > .sub-menu,
.herzplott-theme .native-menu li:focus-within > .sub-menu { display: grid; gap: 12px; }
.herzplott-theme .archive-search-form { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.herzplott-theme .archive-search-form input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); }
.herzplott-theme .pagination:not(.archive-pagination) { margin-top: 32px; }
.herzplott-theme .pagination .nav-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.herzplott-theme .pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 3px; }
.herzplott-theme .pagination .current { background: var(--accent); color: var(--button-ink); }
.herzplott-theme .rich-content .wp-video { max-width: 100%; height: auto; }
.herzplott-theme .rich-content .wp-video video { max-width: 100%; height: auto; object-fit: contain; }
.herzplott-theme .comment-list { list-style: none; padding: 0; }
.herzplott-theme .comment-body { border-bottom: 1px solid var(--line); padding: 20px 0; }
.herzplott-theme .comment-metadata { color: var(--muted); font-size: 12px; }
.herzplott-theme .comment-form input:not([type=checkbox]),
.herzplott-theme .comment-form textarea { max-width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.herzplott-theme .comment-form textarea { display: block; width: 100%; }
.herzplott-theme .contact-native .wpforms-container .wpforms-form label { color: var(--ink); }
.herzplott-theme .contact-native .wpforms-container .wpforms-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.herzplott-theme .contact-native .wpforms-container .wpforms-form textarea,
.herzplott-theme .contact-native .wpforms-container .wpforms-form select { background: var(--paper); color: var(--ink); border-color: var(--line); }
.herzplott-theme .contact-native .wpforms-container .wpforms-form button[type=submit] { background: var(--accent); color: var(--button-ink); border-color: var(--accent); }
.herzplott-theme .contact-native .wpforms-container .wpforms-form .wpforms-error { color: var(--accent); }
.herzplott-theme .contact-native .wpforms-confirmation-container-full { background: var(--paper); color: var(--ink); border-color: var(--line); }
.herzplott-theme input:focus-visible,
.herzplott-theme textarea:focus-visible,
.herzplott-theme button:focus-visible,
.herzplott-theme select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1100px) {
    .herzplott-theme .native-menu { align-items: flex-start; flex-direction: column; gap: 16px; }
    .herzplott-theme .native-menu .sub-menu { display: grid; position: static; border: 0; padding: 10px 0 0 14px; gap: 12px; }
}

/* Native GET controls and links reuse the approved archive grid and toolbar. */
.herzplott-theme .archive-category-controls { display: flex; gap: 10px; }
.herzplott-theme .archive-category-controls select { flex: 1; min-width: 0; }
.herzplott-theme .archive-category-controls button { min-height: 49px; padding: 10px 13px; font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); }
.herzplott-theme .archive-pagination .archive-page-link { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.herzplott-theme .archive-pagination [aria-disabled="true"] { opacity: .4; }
.herzplott-theme .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.herzplott-theme .screen-reader-text:focus { position: static; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; white-space: normal; }
@media (max-width: 600px) { .herzplott-theme .archive-pagination .archive-page-link { padding-left: 14px; padding-right: 14px; font-size: 11px; } }

/* The real existing form follows the contact content column at every width. */
.herzplott-theme .contact-native .wpforms-container { margin-top: 30px; }
.herzplott-theme .contact-native .wpforms-container .wpforms-form .wpforms-field-medium,
.herzplott-theme .contact-native .wpforms-container .wpforms-form .wpforms-field-large { max-width: 100%; width: 100%; }
.herzplott-theme .contact-native .wpforms-container .wpforms-form .wpforms-field-label { font: 600 13px/1.6 Manrope, Arial, sans-serif; }
.herzplott-theme .contact-native .wpforms-container .wpforms-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.herzplott-theme .contact-native .wpforms-container .wpforms-form textarea { font: inherit; font-size: 15px; }
/* Keep iPhone focus from zooming the contact page. */
@media (max-width: 600px) {
    .herzplott-theme .contact-native .wpforms-container .wpforms-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
    .herzplott-theme .contact-native .wpforms-container .wpforms-form textarea,
    .herzplott-theme .contact-native .wpforms-container .wpforms-form select { font-size: 16px; }
}
