/*
Theme Name: Monoitaly
Author: Monoitaly
Description: Minimalistyczny motyw podróżniczy i fotograficzny. Biel, czerń, duże fotografie. Natywny edytor WordPress, bez płatnych dodatków.
Version: 1.5.5
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monoitaly
Tags: blog, photography, custom-logo, custom-menu, featured-images, wide-blocks
*/
:root{--ink:#191918;--muted:#696962;--paper:#fff;--soft:#f5f4f0;--line:#deded7;--wide:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}a:hover{color:#65665b}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #967c44;outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400;line-height:1.08;letter-spacing:-.055em}h1{font-size:clamp(44px,6.4vw,92px)}h2{font-size:clamp(36px,4.5vw,64px)}h3{font-size:28px;letter-spacing:-.035em}.wrap{width:min(var(--wide),calc(100% - 96px));margin-inline:auto}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{font-size:34px;line-height:1;font-weight:700;letter-spacing:-2px;text-decoration:none}.brand small{display:block;font-size:9px;letter-spacing:3.3px;font-weight:400;margin-top:9px;text-transform:uppercase}.custom-logo{max-width:210px;max-height:66px;width:auto}.navigation ul{display:flex;gap:30px;list-style:none;padding:0;margin:0;align-items:center}.navigation a{text-decoration:none;font-size:13px}.navigation .current-menu-item>a{border-bottom:1px solid}.navigation .sub-menu{display:block;padding:10px 0 0 12px}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:8px 14px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2.2px;line-height:1.7;font-weight:600}.hero-top{padding:62px 0 38px;display:grid;grid-template-columns:1.6fr 1fr;align-items:end;gap:60px}.hero-top h1{margin:0}.hero-note{max-width:320px;justify-self:end;padding-bottom:7px;color:var(--muted);font-size:14px}.hero-note .text-link{display:inline-block;margin-top:12px;color:var(--ink)}.hero-photo{position:relative;margin:0;overflow:hidden;background:#d6dbd7}.hero-photo>img{width:100%;height:clamp(330px,44vw,640px);object-fit:cover;object-position:50% 55%}.hero-photo figcaption{position:absolute;bottom:22px;left:28px;background:rgba(255,255,255,.94);padding:8px 14px;font-size:10px;letter-spacing:1.8px;text-transform:uppercase}.hero-bottom{padding:17px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1.5px;text-transform:uppercase}.section{padding:90px 0}.section-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:35px}.section-top h2{margin-bottom:0}.text-link{font-size:12px;text-decoration:none;border-bottom:1px solid;padding-bottom:5px;white-space:nowrap}.text-link::after{content:' ↗';margin-left:14px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.card a{text-decoration:none}.card-image{aspect-ratio:4/5;overflow:hidden;margin-bottom:20px;background:var(--soft)}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.card:hover .card-image img{transform:scale(1.035)}.card .eyebrow{color:var(--muted);font-weight:400}.card h3{margin:8px 0 10px}.card p{font-size:14px;color:var(--muted)}.photo-band{background:var(--soft)}.photo-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center}.photo-copy{max-width:370px}.photo-copy p:not(.eyebrow){color:var(--muted);font-size:15px}.photo-frame{position:relative;padding:25px;background:white}.photo-frame img{width:100%;aspect-ratio:5/4;object-fit:cover;filter:grayscale(1)}.photo-frame .eyebrow{margin:18px 0 0;font-weight:400}.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:90px}.about-copy{font-size:19px;color:var(--muted);max-width:520px}.about-copy p{margin-bottom:30px}.shop-note{background:var(--ink);color:white;padding:42px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:80px}.shop-note h3{margin:5px 0 0;font-size:34px}.shop-note p{margin-bottom:0}.badge{border:1px solid #73736d;padding:8px 16px;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;white-space:nowrap}.site-footer{border-top:1px solid var(--line);padding:45px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:32px}.footer-nav{display:flex;flex-wrap:wrap;gap:25px;font-size:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:50px;font-size:11px;color:var(--muted)}.page-heading{padding:75px 0 35px;max-width:950px}.page-heading h1{margin-bottom:20px}.page-heading .description{color:var(--muted);font-size:18px}.content{max-width:820px;margin:0 auto;padding-bottom:75px;overflow-wrap:anywhere}.content h2{font-size:38px;margin-top:50px}.content h3{margin-top:35px}.content p,.content ul,.content ol{margin-bottom:25px}.content img{height:auto}.content figure{margin:30px 0}.content .alignwide{max-width:1100px}.content .alignfull{width:100%;margin-inline:0}.content blockquote{border-left:2px solid;padding-left:25px;font-size:24px}.content .wp-block-gallery{gap:18px}.post-cover{max-height:650px;width:100%;object-fit:cover;margin:0 auto 50px}.posts-grid .card-image{aspect-ratio:4/3}.empty-state{padding:35px;background:var(--soft);border:1px solid var(--line);grid-column:1/-1}.empty-state h3{margin-bottom:12px}.empty-state p{margin-bottom:0;max-width:650px;color:var(--muted)}.pagination{margin-top:40px}.page-numbers{display:inline-block;padding:8px 14px;border:1px solid var(--line);text-decoration:none}.page-numbers.current{background:var(--ink);color:white}.search-form{display:flex;gap:10px;flex-wrap:wrap}.search-field,textarea,input[type=text],input[type=email],input[type=url]{padding:12px;border:1px solid #aaa;max-width:100%;border-radius:0}.search-submit,.submit,.wp-block-button__link{padding:12px 22px;background:var(--ink);color:white;border:1px solid var(--ink);text-decoration:none;border-radius:0}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;top:8px;left:8px;background:white;padding:12px;z-index:100}.comment-list{padding-left:20px}.comment-body{margin-bottom:30px}.comment-form label{display:block}.comment-form-cookies-consent label{display:inline}.bypostauthor{border-left:2px solid var(--ink);padding-left:15px}.sticky{border-top:2px solid var(--ink);padding-top:12px}.gallery-caption,.wp-caption-text{font-size:12px;color:var(--muted)}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.aligncenter{margin-inline:auto}.woocommerce .button,.woocommerce button.button{border-radius:0;background:var(--ink);color:white}.woocommerce ul.products li.product .price{color:var(--ink)}
@media(min-width:901px){.navigation li{position:relative}.navigation .sub-menu{position:absolute;top:100%;left:0;background:white;min-width:180px;padding:18px;box-shadow:0 10px 20px #0001;visibility:hidden;z-index:10}.navigation li:hover>.sub-menu,.navigation li:focus-within>.sub-menu{visibility:visible}.navigation .sub-menu li{padding:6px 0}}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.header-inner{min-height:85px;flex-wrap:wrap;gap:15px;padding:20px 0}.brand{font-size:30px}.navigation{width:100%}.navigation ul{gap:20px;flex-wrap:wrap}.js .menu-toggle{display:block}.js .navigation{display:none}.js .navigation.is-open{display:block}.hero-top{grid-template-columns:1fr;gap:22px;padding-top:40px}.hero-note{justify-self:start;max-width:500px}.hero-top h1{font-size:clamp(45px,8vw,75px)}.cards{gap:18px}.photo-layout{gap:35px}.section{padding:65px 0}.about-layout{gap:40px}.shop-note{padding:30px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.navigation ul{flex-direction:column;align-items:flex-start;gap:15px;padding:15px 0}.hero-top h1{font-size:48px}.hero-photo>img{height:380px;object-position:48% 50%}.hero-photo figcaption{left:14px;bottom:14px;font-size:9px}.hero-bottom{font-size:8px;letter-spacing:.7px;gap:15px}.section-top{display:block}.section-top .text-link{display:inline-block;margin-top:20px}.cards{grid-template-columns:1fr;gap:32px}.card-image{aspect-ratio:4/3}.photo-layout,.about-layout{grid-template-columns:1fr;gap:30px}.photo-copy{max-width:none}.photo-frame{padding:15px}.shop-note{display:block;margin-bottom:50px}.shop-note .badge{display:inline-block;margin-top:25px}.footer-top,.footer-bottom{display:block}.footer-nav{margin-top:30px;gap:20px}.footer-bottom span{display:block;margin-bottom:10px}.page-heading{padding:45px 0 25px}.page-heading h1{font-size:44px}.content h2{font-size:32px}.about-copy{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Monochrome social links, version 1.0.1 */
.footer-nav{align-items:center}.monoitaly-socials{display:flex;align-items:center;gap:6px}.monoitaly-social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--ink);text-decoration:none;border-radius:50%;transition:background-color .2s}.monoitaly-social-link:hover{color:var(--ink);background:var(--soft)}.monoitaly-social-link svg{display:block;flex-shrink:0}

/* Customer information links managed through the footer menu. */
.footer-shop{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}
.footer-shop-menu{display:flex;flex-wrap:wrap;gap:4px 28px;list-style:none;margin:0;padding:0}
.footer-shop-menu li{margin:0;padding:0;max-width:100%}
.footer-shop-menu a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;overflow-wrap:anywhere}
@media(max-width:600px){.footer-shop-menu{display:grid;grid-template-columns:1fr;gap:0}.footer-shop{margin-top:24px}}

/* Logo w stopce */
.site-footer .footer-top{align-items:center}
.site-footer .footer-brand{display:block;flex:0 0 auto;min-width:0;width:260px;max-width:100%;align-self:center}
.site-footer .footer-logo{display:block;width:100%;max-width:260px;height:auto;object-fit:contain}
.site-footer .footer-brand small{font-size:9px;line-height:1.6;letter-spacing:1.4px;white-space:nowrap;margin-top:12px}
.site-footer .footer-nav{align-items:center;justify-content:flex-end}
@media(max-width:600px){.site-footer .footer-nav{justify-content:flex-start}}
