/* WordPress-specific additions on top of style.css + refine.css */

/* active menu item from WordPress classes */
.nav > li.active > a::after { transform: scaleX(1); transform-origin: left; }

/* footer menus rendered by wp_nav_menu */
.foot ul li a { color: var(--grey-200); }
.foot ul li a:hover { color: var(--yellow); }

/* editor content (the_content) */
.prose p + p { margin-top: 16px; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.1; margin: 32px 0 10px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); }
.prose h3 { font-size: clamp(20px, 2vw, 26px); }
.prose ul, .prose ol { margin: 14px 0 14px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { border-bottom: 1px solid currentColor; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: 1.25em; padding-left: 20px; border-left: 1px solid currentColor; margin: 24px 0; }
.prose img { border-radius: 4px; height: auto; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 8px; }
.prose .wp-block-buttons .wp-block-button__link { background: var(--yellow); color: var(--black); border-radius: 4px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; padding: 14px 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid rgba(128,128,128,.3); text-align: left; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.white .prose, .yellow .prose { color: #222; }
.white .prose a, .yellow .prose a { color: var(--black); }

/* contact forms (Contact Form 7 / WPForms / native) inside the contact page column */
.form.prose p { margin: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form textarea, .form select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.35); padding: 14px 0; font: inherit; font-size: 16px; color: var(--black); outline: none; border-radius: 0; }
.form input:focus, .form textarea:focus { border-color: var(--black); }
.form input[type="submit"], .form button[type="submit"] { display: inline-flex; align-items: center; padding: 15px 26px; border: 1px solid var(--black); border-radius: 4px; background: transparent; color: var(--black); font: inherit; font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; margin-top: 10px; transition: .3s; }
.form input[type="submit"]:hover, .form button[type="submit"]:hover { background: var(--black); color: var(--yellow); }
.form label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #555; margin-top: 10px; }
.wpcf7-not-valid-tip, .wpcf7-response-output { font-size: 13px; margin-top: 8px; }
.wpcf7-spinner { display: none; }

/* map embed */
.mapframe { display: block; aspect-ratio: auto; min-height: 320px; place-items: initial; }
.mapframe iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(1) invert(.92) contrast(1.1); }

/* pagination */
.pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 14px; border: 1px solid rgba(0,0,0,.2); border-radius: 4px; font-size: 12px; letter-spacing: .14em; font-weight: 600; color: var(--black); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--black); color: var(--yellow); }

/* comments (kept minimal) */
.comment-list { list-style: none; }
.comment-body { padding: 16px 0; border-top: 1px solid rgba(0,0,0,.15); font-size: 15px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; padding: 10px; font: inherit; }
.comment-form .submit { margin-top: 10px; padding: 12px 20px; border: 1px solid var(--black); border-radius: 4px; background: transparent; font: inherit; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }

/* admin bar offset */
body.admin-bar .header { top: 32px; }
body.admin-bar .mobile-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header, body.admin-bar .mobile-nav { top: 46px; } }

/* screen reader text (WordPress standard) */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
