/*
Theme Name: Aquarotech
Theme URI: https://aquarotech.in/
Description: Aquarotech brand child theme for Twenty Twenty-Five: brown and cream colours, branded header and footer, agency homepage and styled pages.
Author: Aquarotech
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aquarotech
*/

/* Slanted buttons, echoing the logo's angles */
.wp-element-button,.wp-block-button__link{clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);transition:background-color .15s,color .15s}
.wp-block-button.is-style-outline .wp-block-button__link{clip-path:none;border:2px solid currentColor;background:transparent}
.aq-dark .wp-block-button.is-style-outline .wp-block-button__link{color:var(--wp--preset--color--accent-1)}
.aq-dark .wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--accent-1);color:var(--wp--preset--color--contrast)}
.aq-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:var(--wp--preset--color--accent-1);color:var(--wp--preset--color--contrast)}
.aq-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{background:#fff}

/* Dark brand bands */
.aq-dark,.aq-dark h1,.aq-dark h2,.aq-dark h3,.aq-dark a:where(:not(.wp-element-button)){color:var(--wp--preset--color--accent-1)}
.aq-dark a:where(:not(.wp-element-button)):hover{color:#fff}
.aq-band{position:relative;overflow:hidden}
.aq-band::after{content:"";position:absolute;right:-8vw;bottom:-60px;width:44vw;height:150px;background:var(--wp--preset--color--accent-2);transform:skewX(-14deg);opacity:.55;pointer-events:none}
.aq-band>*{position:relative;z-index:1}

/* Header */
.aq-header{position:sticky;top:0;z-index:50}
.admin-bar .aq-header{top:32px}
@media (max-width:782px){.admin-bar .aq-header{top:46px}}
.aq-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.aq-brand img{width:42px;height:auto;display:block}
.aq-header .wp-block-site-title a{color:var(--wp--preset--color--accent-1);text-decoration:none}
.aq-header .wp-block-navigation a{text-decoration:none}
.aq-header .wp-block-navigation a:hover{text-decoration:underline;text-underline-offset:6px}
.aq-header .wp-block-navigation__responsive-container-open,.aq-header .wp-block-navigation__responsive-container-close{color:var(--wp--preset--color--accent-1)}
.aq-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--contrast)!important;color:var(--wp--preset--color--accent-1)!important}
@media (max-width:600px){.aq-header .aq-header-cta{display:none}}

/* Eyebrow label */
.aq-eyebrow{display:inline-block;font-family:var(--wp--preset--font-family--manrope);font-weight:800;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;padding:.35rem .8rem;background:var(--wp--preset--color--accent-1);color:var(--wp--preset--color--contrast);clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%)}
.aq-dark .aq-eyebrow{background:var(--wp--preset--color--accent-2);color:var(--wp--preset--color--accent-1)}

/* Map grid illustration */
.aq-mapcard{background:var(--wp--preset--color--accent-2);padding:1.25rem;max-width:400px;margin-left:auto;font-family:var(--wp--preset--font-family--manrope);color:var(--wp--preset--color--accent-1)}
.aq-mapcard-top{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem;margin-bottom:1rem}
.aq-mapgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:.6rem;padding:1rem;background:linear-gradient(var(--wp--preset--color--contrast) 1px,transparent 1px) 0 0/25% 25%,linear-gradient(90deg,var(--wp--preset--color--contrast) 1px,transparent 1px) 0 0/25% 25%,#4A2217}
.aq-dot{aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;color:#fff}
.aq-dot.g{background:#2F6B3A}.aq-dot.m{background:#B86B1E}.aq-dot.l{background:#9A3B22}
.aq-dot.c{box-shadow:0 0 0 3px var(--wp--preset--color--accent-1)}
.aq-mapcard small{display:block;margin-top:.8rem;font-size:.8rem;opacity:.75;line-height:1.45}
@media (max-width:781px){.aq-mapcard{margin-left:0}}

/* Service cards and steps */
.aq-cards>.wp-block-column{border-top:3px solid var(--wp--preset--color--contrast);padding-top:1.1rem}
.aq-cards h3{margin-top:0}
.aq-step-num{font-family:var(--wp--preset--font-family--manrope);font-weight:800;font-size:2.4rem;line-height:1;color:var(--wp--preset--color--accent-3)}

/* Page title band */
.aq-pagehead .wp-block-post-title{color:var(--wp--preset--color--accent-1)}

/* Footer */
.aq-footer a{text-decoration:none}
.aq-footer a:hover{text-decoration:underline}
.aq-footer .wp-block-navigation a{color:var(--wp--preset--color--accent-1)}

/* Blog cards */
.aq-post-card .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}
.aq-post-card .wp-block-post-title a{text-decoration:none}
.aq-post-card .wp-block-post-title a:hover{text-decoration:underline}
/* Archive pages show the archive title; the blog index shows "Local SEO tips" */
body.archive .aq-blog-title,body.search .aq-blog-title{display:none}
.aq-pagehead .wp-block-query-title{color:var(--wp--preset--color--accent-1)}
/* No gap between the last section and the footer */
.wp-site-blocks>footer,.wp-site-blocks>.wp-block-template-part:last-child{margin-block-start:0}
.wp-site-blocks>main+*{margin-block-start:0}
