/*
Theme Name: GP Journal
Theme URI: https://globalphotographers.net
Author: Global Photographers
Description: Editorial journal layout for photographers: split hero with tall photo, services, stories by venue, about, reviews, booking steps and enquiry. Three colour styles: Teal, Terracotta, Ink.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: gp-journal
*/

/* Small extras that theme.json cannot express */
.gp-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.gp-portfolio .wp-block-gallery { gap: var(--wp--custom--gap, 8px) !important; }
.gp-portfolio .wp-block-gallery figure.wp-block-image img { aspect-ratio: 4/5; object-fit: cover; }
.gp-story-row { border-bottom: 1px solid var(--wp--preset--color--line); padding-block: 2rem; }
.gp-story-row .wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; }
.gp-card { border: 1px solid var(--wp--preset--color--line); height: 100%; }
.gp-card.is-featured { border-color: var(--wp--preset--color--contrast); }
.gp-badge a { text-decoration: none; }
/* Style-dependent corner radius (0 in Editorial/Noir/Architect, rounded in Island) */
.wp-block-image img, .wp-block-post-featured-image img, .gp-card, .wp-block-cover:not(.alignfull) { border-radius: var(--wp--custom--radius, 0); }
.gp-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; }
.gp-wa a { border-radius: 999px !important; }
@media (max-width: 781px) { .gp-hide-mobile { display: none !important; } }
/* Never show dates or authors (also hides them if a client adds those blocks) */
.wp-block-post-date, .wp-block-post-author, .wp-block-post-author-name, .wp-block-post-author-biography { display: none !important; }

/* Journal hero: photo as tall as the text column */
.gp-hero-split { align-items: stretch !important; }
.gp-hero-split .gp-hero-img { display: flex; }
.gp-hero-split .gp-hero-img .wp-block-image { flex: 1; margin: 0; }
.gp-hero-split .gp-hero-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
