/*
Theme Name: Engineering Alliance
Theme URI: https://eng-alliance.com/
Author: Engineering Alliance Inc.
Author URI: https://eng-alliance.com/
Description: A light, warm and modern theme for Engineering Alliance Inc. — a structural, piping, solar, power and process engineering consultancy. Ships with Projects, Services, Industries and Testimonials post types, a Customizer panel for contact details and statistics, working contact and careers forms, and one-click demo content. No build step and no external network requests: every image, font and script is served from the theme.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: engineering-alliance
Tags: business, portfolio, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks, light
*/

/*
 * The presentation layer lives in assets/css/ and is enqueued from
 * inc/enqueue.php in this order:
 *
 *   tokens.css      design tokens (colour, type, space, motion)
 *   base.css        reset, fonts, elements, utilities
 *   components.css  buttons, header, cards, forms, footer
 *   sections.css    page sections
 *   responsive.css  breakpoint overrides
 *
 * This file exists to carry the theme header above and to hold any
 * WordPress-specific overrides that do not belong in the design system.
 */

/* ---------- WordPress core output ---------- */
.alignleft { float: left; margin-right: var(--sp-5); }
.alignright { float: right; margin-left: var(--sp-5); }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: min(100%, var(--container-wide)); margin-inline: auto; }
.alignfull { width: 100%; }

.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-block-image figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-3);
  text-align: center;
}

.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;
}
.screen-reader-text:focus {
  position: absolute; top: 0; left: var(--sp-4); z-index: var(--z-loader);
  width: auto; height: auto; clip: auto; clip-path: none;
  padding: var(--sp-3) var(--sp-5);
  background: var(--gold); color: var(--ink);
  font-weight: 700; border-radius: 0 0 var(--r-md) var(--r-md);
}

/* The admin bar must not sit on top of the fixed header. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Blocks inside the editor-driven page template */
.prose .wp-block-quote {
  border-left: 2px solid var(--royal);
  padding-left: var(--sp-5);
  font-family: var(--font-display);
  font-style: italic;
}
.prose .wp-block-table td,
.prose .wp-block-table th { border: 1px solid var(--border); padding: .6rem .8rem; }
.prose .wp-block-code,
.prose pre {
  background: var(--cream-2);
  border: 1px solid var(--sand);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
}

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: var(--sp-8);
}
.pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 2.75rem; min-height: 2.75rem;
  padding: 0 .75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--text-2);
  transition: all var(--t-fast) var(--ease-out);
}
.pagination .page-numbers:hover { border-color: var(--border-strong); color: var(--text); }
.pagination .page-numbers.current {
  background: var(--grad-royal); border-color: transparent; color: #fff;
}
