/*
Theme Name: Highland Good Food
Theme URI: https://highlandgoodfood.scot
Author: Highland Good Food Partnership
Description: Block theme (full site editing) for the Highland Good Food Partnership. Square corners, navy/teal/terracotta palette, Rubik typography.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: highland-good-food
Tags: full-site-editing, block-patterns, one-column, custom-colors, custom-menu, editor-style
*/

/* Only rules theme.json cannot express live here. Keep this file short. */

/* Nav hover — theme.json link styles do not reach navigation items reliably */
.wp-block-navigation a:where(:not(.wp-element-button)):hover {
  color: var(--wp--preset--color--teal);
  text-decoration: none;
}

/* Whole-card links: the card is an <a> in the mockup. In blocks we wrap a
   group and let the inner link cover it. */
.hgf-card-link { position: relative; }
.hgf-card-link a::after { content: ""; position: absolute; inset: 0; }
.hgf-card-link:hover { border-color: var(--wp--preset--color--teal); }

/* Image placeholder used until real photography is supplied. Delete when
   real images are in. */
.hgf-placeholder {
  background: repeating-linear-gradient(135deg,
    var(--wp--preset--color--placeholder) 0,
    var(--wp--preset--color--placeholder) 12px,
    #E4E2D7 12px, #E4E2D7 24px);
}
.hgf-placeholder-teal {
  background: repeating-linear-gradient(135deg,
    var(--wp--preset--color--teal) 0,
    var(--wp--preset--color--teal) 14px,
    #1C665F 14px, #1C665F 28px);
}

/* Footer logo: white silhouette of the colour logo */
.hgf-logo-white img { filter: brightness(0) invert(1); }

/* Balance long headings */
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
