/*
Theme Name: AAA Perspective
Author: AAA Kitchen & Bathroom
Description: The approved Perspective design for kitchen and bathroom resurfacing, makeovers and renovations. Includes editable projects, comparisons, services and enquiries.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aaa-perspective
Tags: custom-logo, custom-menu, featured-images, wide-blocks, translation-ready
*/

[hidden] { display: none !important; }
#project-title,#project-description { white-space:pre-line; }
.navigation .menu { display:flex;align-items:center;gap:35px;list-style:none;margin:0;padding:0; }
.navigation .menu-item { list-style:none; }
.navigation .menu-item>a { font-size:11px; }
.navigation .sub-menu { list-style:none;margin:10px 0 0;padding:12px;background:var(--paper);border:1px solid var(--line); }
.navigation .menu-item-has-children { position:relative; }
@media(min-width:801px){.navigation .sub-menu{position:absolute;min-width:180px;z-index:30;display:none}.navigation .menu-item:hover>.sub-menu,.navigation .menu-item:focus-within>.sub-menu{display:block}}
.custom-logo-link { display:block; }
.custom-logo { width:auto;max-width:240px;height:auto;max-height:72px;object-fit:contain; }
.footer .menu { list-style:none;display:flex;flex-wrap:wrap;gap:18px;margin:0;padding:0; }
.page-content { padding-block:70px; }
.page-content h1 { font-size:clamp(36px,5vw,66px);letter-spacing:-2px;padding:0;margin-bottom:30px; }
.page-content h2 { font-size:clamp(30px,3vw,44px);margin-block:30px 20px; }
.page-content p,.page-content ul,.page-content ol { margin-bottom:24px; }
.page-content a { text-decoration:underline;text-underline-offset:4px; }
.page-content img { height:auto;max-width:100%; }
.page-content .alignwide { max-width:1280px; }
.page-content .alignfull { width:100%; }
.page-content iframe { max-width:100%; }
.page-content pre { overflow:auto;padding:20px;background:var(--line); }
.page-content table { border-collapse:collapse;display:block;max-width:100%;overflow:auto; }
.page-content td,.page-content th { border:1px solid var(--line);padding:10px; }
.post-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px; }
.post-card { padding-bottom:30px;border-bottom:1px solid var(--line);min-width:0; }
.post-card img { width:100%;height:260px;object-fit:cover;margin-bottom:20px; }
.post-card h2 { font-size:28px;margin:15px 0; }
.post-meta { font-size:12px;color:var(--muted); }
.pagination,.post-navigation { margin-block:40px; }
.nav-links { display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between; }
.page-numbers { padding:8px 14px;border:1px solid var(--line); }
.screen-reader-text { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.screen-reader-text:focus { position:fixed;top:10px;left:10px;width:auto;height:auto;clip:auto;padding:12px;background:white;z-index:100; }
.enquiry { margin-top:55px;padding:35px;background:var(--paper);border:1px solid #a6b58d;border-radius:8px; }
.enquiry h3 { font-size:28px;margin-bottom:15px; }
.enquiry>p { font-size:12px;max-width:700px;margin-bottom:25px; }
.enquiry-form { display:grid;grid-template-columns:1fr 1fr;gap:20px; }
.enquiry-form p { margin:0; }
.enquiry-form label { display:block;font-size:12px;margin-bottom:7px; }
.enquiry-form input:not([type=checkbox]),.enquiry-form select,.enquiry-form textarea,.search-field,.comment-form input:not([type=checkbox]),.comment-form textarea { width:100%;max-width:100%;border:1px solid #b7bdab;border-radius:3px;background:white;color:var(--ink);font:inherit;padding:12px; }
.enquiry-form p:has(textarea),.enquiry-consent,.enquiry-form button { grid-column:1/-1; }
.enquiry-consent { display:flex;flex-wrap:wrap;align-items:center;gap:10px; }
.enquiry-consent input { width:18px;height:18px; }
.enquiry-consent label { margin:0; }
.enquiry-consent a { text-decoration:underline; }
.enquiry-form button,.search-submit,.comment-form .submit { padding:14px 25px;border:1px solid var(--ink);background:var(--ink);color:white;font:inherit;cursor:pointer; }
.enquiry-trap { display:none!important; }
.enquiry-status { padding:15px;border-left:3px solid var(--ink);background:var(--lime); }
.comment-list { list-style:none;padding:0; }
.comment-body { padding:25px 0;border-bottom:1px solid var(--line); }
.comment-form p { margin-block:15px; }
.comment-form label { display:block; }
.search-form { display:flex;flex-wrap:wrap;gap:12px;margin-block:25px; }
.search-form label { flex:1; }
body.admin-bar .header { margin-top:0; }
@media(max-width:1100px){.navigation .menu{gap:24px}.post-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.navigation .menu{flex-direction:column;align-items:stretch;gap:24px}.navigation .menu-item>a{font-size:13px}.custom-logo{max-width:190px;max-height:60px}}
@media(max-width:600px){.enquiry{padding:22px}.enquiry-form,.post-grid{grid-template-columns:1fr}.enquiry-form p,.enquiry-form button{grid-column:1}.page-content{padding-block:45px}.footer-bottom{flex-wrap:wrap}.custom-logo{max-width:145px}}