/*
Theme Name: Hovikoski Mac's Photography
Theme URI: https://www.hovikoski.com/
Author: Markus Hovikoski
Description: Hovikoski Photography theme based on the original 1.0 design, with an automatic infinite photography carousel and social links.
Version: 1.5.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: hovikoski-macs-photography
*/
html{scroll-behavior:smooth}body{margin:0;background:#0b0e10;color:#f4f5f5}a{text-underline-offset:.18em}.wp-site-blocks{padding:0}.hero{min-height:100vh;display:flex;align-items:center;position:relative}.hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(5,10,14,.3),rgba(5,10,14,.08) 48%,rgba(5,10,14,.45))!important}.hero-copy{text-shadow:0 2px 18px rgba(0,0,0,.45)}.site-header{position:absolute;z-index:10;width:100%;box-sizing:border-box;background:linear-gradient(to bottom,rgba(0,0,0,.58),transparent)}.photo-grid img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.photo-grid figure{overflow:hidden}.photo-grid figure:hover img{transform:scale(1.025)}.section-rule{opacity:.22}.footer-social a{font-weight:600}@media(max-width:781px){.hero{min-height:82vh}.hero-copy{text-align:center!important}.site-header .wp-block-navigation{font-size:13px}.site-header{position:absolute}.wp-site-blocks{overflow:hidden}}

/* v1.3 carousel additions; original v1.0 design above is intentionally preserved. */
#photography{overflow:hidden}
#photography .wp-block-gallery.hovikoski-carousel-gallery{display:flex!important;flex-wrap:nowrap!important;gap:18px!important;width:max-content!important;max-width:none!important;align-items:stretch;cursor:grab;touch-action:pan-y;user-select:none;will-change:transform}
#photography .wp-block-gallery.hovikoski-carousel-gallery.is-dragging{cursor:grabbing}
#photography .hovikoski-carousel-gallery>.wp-block-image{flex:0 0 clamp(280px,34vw,560px)!important;width:clamp(280px,34vw,560px)!important;max-width:none!important;margin:0!important;overflow:hidden;aspect-ratio:4/3;background:#151b1f}
#photography .hovikoski-carousel-gallery>.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;transition:transform .35s ease}
#photography .hovikoski-carousel-gallery>.wp-block-image:hover img{transform:scale(1.025)}
.carousel-help{color:#b9cbd3;font-size:13px;margin-top:22px;letter-spacing:.05em;text-align:center}
.hovikoski-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(3,5,6,.94);display:none;align-items:center;justify-content:center;padding:30px;box-sizing:border-box}
.hovikoski-lightbox.is-open{display:flex}.hovikoski-lightbox img{max-width:94vw;max-height:90vh;object-fit:contain}
.hovikoski-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.1);color:#fff;width:48px;height:48px;border-radius:50%;font-size:28px;cursor:pointer}
.hovikoski-lightbox .lb-close{right:24px;top:24px}.hovikoski-lightbox .lb-prev{left:24px;top:50%}.hovikoski-lightbox .lb-next{right:24px;top:50%}
.social-links{display:flex;gap:22px;flex-wrap:wrap}.social-links a{font-weight:600;text-decoration:none}
@media(max-width:781px){#photography .hovikoski-carousel-gallery>.wp-block-image{flex-basis:82vw!important;width:82vw!important}.hovikoski-lightbox .lb-prev{left:8px}.hovikoski-lightbox .lb-next{right:8px}}
