/*
Theme Name: Atomic Pizza & Donair
Theme URI: https://atomicpizza.ca
Description: Child theme of Twenty Twenty-Five for atomicpizza.ca — the marketing site in front of the SimplyDine ordering app at /order. Core blocks only; the SEO plugin owns titles, meta and sitemaps.
Author: SimplyDine
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atomicpizza
*/

/* Everything a viewer can restyle lives in theme.json; this file only carries
   the handful of component classes the page content references. */

.ap-eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: var(--wp--preset--font-size--small);
}

/* category / feature cards — a white tile with the photo bleeding to the edges */
.ap-card {
  background: var(--wp--preset--color--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 18, 18, 0.08);
  height: 100%;
}
.ap-card .wp-block-image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.ap-card > :not(.wp-block-image) {
  margin-left: var(--wp--preset--spacing--40);
  margin-right: var(--wp--preset--spacing--40);
}
.ap-card > .wp-block-image + * {
  margin-top: var(--wp--preset--spacing--40);
}
.ap-card > :last-child {
  margin-bottom: var(--wp--preset--spacing--40);
}
.ap-card-link {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--wp--preset--font-size--small);
}

/* header: the button never wraps; the phone number only shows where there is
   room for it (the button is the tap target everywhere else) */
.ap-order-cta .wp-block-button__link { white-space: nowrap; }
.ap-phone { white-space: nowrap; }
@media (max-width: 1099px) {
  .ap-phone { display: none; }
}
@media (max-width: 781px) {
  .ap-card .wp-block-image img { height: 160px; }
}

/* hours grid */
.ap-hours {
  border-top: 2px solid var(--wp--preset--color--charcoal);
  padding-top: var(--wp--preset--spacing--30);
}
.ap-hours td { padding: 4px 24px 4px 0; border: 0; }
.ap-hours td:first-child { font-weight: 700; }

/* map embed */
.ap-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 12px; }

/* nav links: uppercase, spaced, never wrapping mid-label */
.ap-nav .wp-block-navigation-item__content {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ap-nav .current-menu-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--flame-yellow);
}
