/*
Theme Name: PJ Rowline
Author: PJ Rowline
Description: Portfolio sportif noir et blanc, galeries et reportages.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pj-rowline
*/
*{box-sizing:border-box}body{margin:0;background:#0b0b0b;color:#fff;font-family:Helvetica,Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button,a,input,textarea{outline-offset:5px}.site-header{display:flex;align-items:center;justify-content:space-between;padding:18px 3.3%;gap:24px;background:#080808}.brand img{width:305px;display:block}.custom-logo{max-width:305px}.nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0;flex-wrap:wrap}.nav a{font-size:13px;text-transform:uppercase;font-weight:700}.hero{min-height:465px;display:flex;align-items:center;padding:60px 3.4%;background-size:cover;background-position:center right}.hero-inner{max-width:720px}.hero-logo{width:650px;max-width:100%;mix-blend-mode:screen}.hero h1{font-size:clamp(20px,2vw,32px);letter-spacing:.2em;font-weight:400;text-transform:uppercase;max-width:620px;line-height:1.4}.cta{display:inline-block;border:1px solid #fff;padding:12px 24px;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.cta:hover{background:white;color:black;text-decoration:none}.disciplines{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.tile{min-height:235px;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;line-height:1.3}.tile strong{font-size:27px;text-transform:uppercase}.tile span{font-size:13px;letter-spacing:.1em}.features{display:grid;grid-template-columns:repeat(4,1fr);padding:34px 3.4%;gap:24px;background:#141414}.features>div{border-right:1px solid #555;padding-right:15px}.features>div:last-child{border:0}.features strong{font-size:14px;text-transform:uppercase}.features p{font-size:12px;margin:5px 0;color:#ccc}.site-footer{padding:25px 3.4%;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#050505;font-size:13px}.site-footer img{width:165px}.content{max-width:1250px;margin:auto;padding:48px 5%;min-height:50vh}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card img{width:100%;aspect-ratio:3/2;object-fit:cover}.post-card h2{font-size:21px}.entry img{height:auto}.entry a{text-decoration:underline}.wp-block-gallery img{cursor:zoom-in}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}.menu-toggle{display:none;background:transparent;color:white;border:1px solid white;padding:8px 12px}.social{display:flex;gap:14px}.social a{font-size:13px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#fff;color:#111}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:#fff}dialog{background:#080808;border:0;color:#fff;max-width:96vw;max-height:96vh;padding:12px}dialog::backdrop{background:#000d}dialog img{max-height:85vh;object-fit:contain;display:block}dialog button{float:right;background:#fff;color:#000;border:0;padding:8px 15px;margin-bottom:8px}@media(max-width:900px){.site-header{flex-wrap:wrap}.menu-toggle{display:block}.nav{display:none;width:100%}.nav.open{display:block}.nav ul{flex-direction:column;gap:12px}.disciplines,.features{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:420px}.brand img{width:240px}}@media(max-width:520px){.hero{min-height:390px;padding:35px 6%}.tile{min-height:175px;padding:14px}.tile strong{font-size:21px}.features,.post-grid{grid-template-columns:1fr}.features>div{border-right:0;border-bottom:1px solid #555;padding-bottom:12px}.site-header .social{display:none}}
.entry .wp-block-gallery.has-nested-images,.entry .gallery{display:block!important;columns:3;column-gap:12px}.entry .wp-block-gallery.has-nested-images figure.wp-block-image,.entry .gallery .gallery-item{display:block!important;width:100%!important;margin:0 0 12px!important;break-inside:avoid}.entry .wp-block-gallery.has-nested-images figure.wp-block-image img,.entry .gallery img{width:100%!important;height:auto!important;object-fit:contain!important}.pjr-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.pjr-controls button{float:none}.pjr-lightbox img{margin:auto}.latest{min-height:0}.entry .wp-block-gallery a{display:block}@media(max-width:700px){.entry .wp-block-gallery.has-nested-images,.entry .gallery{columns:2}}@media(max-width:400px){.entry .wp-block-gallery.has-nested-images,.entry .gallery{columns:1}}

.disciplines:empty{display:none}.tile{background-color:#222}.tile:hover{text-decoration:none;filter:brightness(1.12)}
