/*
Theme Name: Hope of Heroes
Theme URI: https://hopeofheroes.bortlovi.cz
Description: Faithful WordPress recreation of the original Joomla Artisteer template (hope_of_heroes_sablona2) for the Hope of Heroes golden retriever kennel. Reuses the original template.css and assets for visual parity.
Author: Rescue
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
*/

/* Real styling comes from the original /templates/hope_of_heroes_sablona2/css/template.css
   which is enqueued in functions.php. Only minimal WP-specific helpers below. */

/* hide WP admin bar gap influence on the fixed Artisteer layout */
html { margin-top: 0 !important; }
* html body { margin-top: 0 !important; }

/* WordPress core alignment/caption helpers (kept minimal) */
.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.alignleft { float:left; margin:0 1em 1em 0; }
.alignright { float:right; margin:0 0 1em 1em; }
.wp-caption { max-width:100%; }
.wp-caption img { height:auto; }
.screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); height:1px; width:1px; overflow:hidden; }

/* PhotoSwipe v5 - ensure overlay covers full viewport above Artisteer layout */
.pswp { z-index: 99999 !important; }

/* Prevent hardcoded HTML width/height attrs from distorting inline images.
   Applies only to content images inside the page body, not to the
   163x163 ppgallery thumbnails (those are inside .ppg_thb and must stay square). */
.item-page img:not(.ppg_thb img):not([src*="/cache/ppgallery/"]) {
    max-width: 100%;
    height: auto !important;
}
