/*
Theme Name: Etechinc Limited
Theme URI: https://www.etechinc.co.uk
Author: Etechinc Limited
Author URI: https://www.etechinc.co.uk
Description: Custom theme for Etechinc Limited — managed ICT, security and connectivity for UK schools, multi-academy trusts and businesses. Includes a Site Manager to switch pages and homepage sections on and off, automatic desktop and mobile menus, service and sector pages, free tools (DfE standards self-check, KCSIE checklist, PSTN switch-off guide, leased line checker), TeamViewer remote support page, saved enquiries and basic SEO.
Version: 2.0.0
Requires at least: 6.2
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: etechinc
*/

/* Fonts: Plus Jakarta Sans, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* Logo gear animation */
.gear-spin-slow { transform-origin: 48px 56px; transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.brand-logo-link:hover .gear-spin-slow { transform: rotate(30deg); }
.gear-spin-fast { transform-origin: 84px 18px; transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.brand-logo-link:hover .gear-spin-fast { transform: rotate(-60deg); }
.custom-logo { max-height: 56px; width: auto; }

/* Spam trap field (hidden from people, visible to bots) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* WordPress admin bar offset for the sticky header */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

/* WordPress core alignment classes inside page content */
.entry-content .alignwide { max-width: 64rem; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content img { border-radius: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  header.site-header, footer, .print\:hidden, #cookie-banner { display: none !important; }
  body { font-size: 12pt; }
}
