/*
Theme Name: Amy Ferrell Art
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for amyferrellart.com - black-and-white look to match the "af" logo, so the paintings provide the color. Built 2026-12-01.
Version: 1.0.5
Text Domain: amyferrellart
*/

/* Small spaced capitals, like "AMY FERRELL ART" in the logo */
.is-style-af-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem !important; font-weight: 600; color: var(--wp--preset--color--muted); }

/* Paintings: soft shadow, gentle lift on hover */
.af-art img { box-shadow: 0 2px 14px rgba(0,0,0,.10); transition: transform .25s ease, box-shadow .25s ease; }
.af-art a:hover img, .af-art img:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.af-art figcaption { font-size: .85rem; color: var(--wp--preset--color--muted); text-align: center; margin-top: .6em; }

/* Header: logo + menu */
.af-header .wp-block-site-logo img { height: auto; }
.af-header .wp-block-navigation { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.af-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: .35em; }

/* Gallery page grid keeps every painting fully visible (no cropping) */
.af-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { object-fit: contain; background: var(--wp--preset--color--surface); }

/* International shipping note from the mu-plugin */
.amy-intl-shipping { font-size: .9rem; color: var(--wp--preset--color--muted); }

/* Home page lead painting: keep it a sensible height on wide screens */
.af-hero-art img { max-height: min(68vh, 640px); width: auto; margin-inline: auto; display: block; }
.af-hero-art figcaption { font-size: .9rem; color: var(--wp--preset--color--contrast); margin-top: .9em; }

/* Hero: tighter gap between text and painting */
.af-hero .wp-block-columns { gap: clamp(1.5rem, 4vw, 3.5rem) !important; }

/* Header: small social icons under the menu (desktop only - phones use the footer icons) */
.af-header .af-header-social { opacity: .75; }
.af-header .af-header-social:hover { opacity: 1; }
.af-header .af-header-social .wp-social-link a { padding: 0; }
@media (max-width: 781px) { .af-header .af-header-social { display: none; } }
/* account + cart icons sit on the same row as the social icons, same size */
.af-header-utility .wc-block-customer-account svg, .af-header-utility .wc-block-mini-cart__icon { width: 20px; height: 20px; }
.af-header-utility .wc-block-mini-cart__button { padding: 0; }
.af-header-utility .wp-block-woocommerce-customer-account a { padding: 0; }

/* Lead painting: centre it in its column when its height cap makes it narrower than the column */
figure.af-hero-art { display: flex; flex-direction: column; align-items: center; }
