/* Photography page galleries */
.wp-block-gallery.has-nested-images{display:flex!important;flex-wrap:wrap!important;gap:16px!important;column-gap:16px!important;row-gap:16px!important;align-items:flex-start;justify-content:flex-start}
.wp-block-gallery.has-nested-images figure.wp-block-image{flex-grow:0!important;margin:0!important}
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image{width:calc(50% - 8px)!important;max-width:calc(50% - 8px)!important}
.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image{width:calc(33.333% - 11px)!important;max-width:calc(33.333% - 11px)!important}
.wp-block-gallery.has-nested-images figure.wp-block-image img{width:100%!important;height:auto!important;object-fit:contain}
@media (max-width:640px){.wp-block-gallery.has-nested-images[class] figure.wp-block-image{width:100%!important;max-width:100%!important}}
.page h3.wp-block-heading{font-size:clamp(1.4rem,2.2vw,1.9rem)}
/* Header link icons */
:is(header,footer) .wp-block-navigation-item__content,
header .wp-block-social-link-anchor,
:is(header,footer) a.wp-block-navigation-item__content{display:inline-flex !important;align-items:center !important;gap:.45em !important}
:is(header,footer) .wp-block-navigation-item__content::before,
header .gk-icon-link::before{content:"" !important;display:inline-block !important;width:1em !important;height:1em !important;flex:0 0 1em !important;background-color:currentColor !important;-webkit-mask:var(--gk-ico) center/contain no-repeat !important;mask:var(--gk-ico) center/contain no-repeat !important}
:is(header,footer) a[href*="work"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="about"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="experience"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6a2 2 0 0 1 2 2v2h4a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h4V5a2 2 0 0 1 2-2zm0 4h6V5H9z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="service"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.6 6.9L22 9.3l-5.7 4.6L18.2 21 12 17l-6.2 4 1.9-7.1L2 9.3l7.4-.4z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="contact"],:is(header,footer) a[href^="mailto:"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5 8-5V7z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="lookbook"],:is(header,footer) a[href*="photo"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4l1.5-2h5L16 4h5a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm4 4a5 5 0 1 0 0 10 5 5 0 0 0 0-10z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="x.com"],:is(header,footer) a[href*="twitter.com"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-7.2 8.2L23 22h-6.6l-5.2-6.8L5.3 22H2.2l7.7-8.8L2 2h6.8l4.7 6.2zm-1.1 18h1.7L7.3 3.9H5.4z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="instagram.com"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM17.5 5.3a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="linkedin.com"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h18a0 0 0 0 1 0 0v18H3zm3.5 7v8h2.6v-8zm1.3-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 10v8h2.6v-4.2c0-1.2.5-2 1.6-2s1.4.8 1.4 2V18H19v-4.9c0-2.4-1.2-3.3-3-3.3-1.2 0-2 .6-2.4 1.2V10z' fill-rule='evenodd'/%3E%3C/svg%3E")}
:is(header,footer) a[href="/"],:is(header,footer) a[href$="geraldkeil.online"],:is(header,footer) a[href$="geraldkeil.online/"],:is(header,footer) a[href$="geraldkeil.com"],:is(header,footer) a[href$="geraldkeil.com/"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l10 9h-3v9h-5v-6h-4v6H5v-9H2z'/%3E%3C/svg%3E")}
:is(header,footer) a[href*="approach"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.5 5.5l-2 6-6 2 2-6z' fill-rule='evenodd'/%3E%3C/svg%3E")}
/* Lookbook placeholder captions match frame metadata size */
.gerald-keil-border + p + p{font-size:.58rem !important;letter-spacing:.16em !important;text-transform:uppercase !important;opacity:.7 !important}

/* Mobile menu overlay: bigger text, left-aligned column centered on screen */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:center !important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:max-content !important;max-width:90vw !important;margin:0 auto !important;gap:1.1rem !important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{justify-content:flex-start !important;width:100% !important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-size:1.5rem !important;line-height:1.25 !important;text-align:left !important;justify-content:flex-start !important}
main#content > section:first-of-type .wp-block-button__link[href="/#contact"]{background-color:rgba(0,0,0,0.4) !important}
main#content > section:first-of-type .wp-block-button__link[href="/#contact"]:hover{background-color:rgba(0,0,0,0.6) !important}

/* Header breathing room */
header.sticky{padding-bottom:20px !important}
header.sticky > .wp-block-group{height:auto !important;min-height:4.25rem}
/* Lookbook strip: center frames when they all fit; scroll from the left otherwise */section.border-y > .overflow-x-auto > :first-child{margin-left:auto}section.border-y > .overflow-x-auto > :last-child{margin-right:auto}

/* Based in label: keep sentence case */.gk-based-in{text-transform:none !important}
/* Header: Hobbies + Social dropdown */
:is(header,footer) a[href="/hobbies/"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 6h10a5 5 0 0 1 4.9 4l1 5.5a3 3 0 0 1-5.4 2.2L16 15H8l-1.5 2.7a3 3 0 0 1-5.4-2.2l1-5.5A5 5 0 0 1 7 6zm0 3v1.5H5.5V12H7v1.5h1.5V12H10v-1.5H8.5V9zm8.5 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm2 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E")}
header .gerald-keil-nav-social > .wp-block-navigation-item__content{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8 11l8-5M8 13l8 5' stroke='black' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");cursor:pointer}
header .gerald-keil-nav-social .wp-block-navigation__submenu-container{background:#0d0c0a !important;border:1px solid rgba(255,255,255,.14) !important;min-width:11rem !important;padding:.4rem 0 !important}
header .gerald-keil-nav-social .wp-block-navigation__submenu-container .wp-block-navigation-item__content{color:#e8e2d6 !important;padding:.5rem 1rem !important;white-space:nowrap}
header .gerald-keil-nav-social .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{color:#e8743b !important}
.wp-block-navigation__responsive-container.is-menu-open .gerald-keil-nav-social .wp-block-navigation__submenu-container{background:transparent !important;border:0 !important;padding:.4rem 0 0 1rem !important;position:static !important;visibility:visible !important;opacity:1 !important;width:auto !important;height:auto !important}:is(header,footer) a[href*="/hobbies/"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 6h10a5 5 0 0 1 4.9 4l1 5.5a3 3 0 0 1-5.4 2.2L16 15H8l-1.5 2.7a3 3 0 0 1-5.4-2.2l1-5.5A5 5 0 0 1 7 6zm0 3v1.5H5.5V12H7v1.5h1.5V12H10v-1.5H8.5V9zm8.5 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm2 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E")}
header .gerald-keil-nav-social > .wp-block-navigation-item__content{color:#b8ac98}
.wp-block-navigation__responsive-container.is-menu-open{background-color:#0d0c0a !important}
.wp-block-navigation .gerald-keil-nav-social > .wp-block-navigation-item__content{color:#b8ac98 !important}body.page-id-246 main h1.wp-block-heading{line-height:1.08 !important;margin-top:0 !important;margin-bottom:1.5rem !important}body.page-id-246 main h2.wp-block-heading{font-size:clamp(1.75rem,4vw,2.25rem) !important;font-weight:700 !important;line-height:1.1 !important;margin-top:.4rem !important;margin-bottom:1rem !important}:is(header,footer) a[href*="/journal"]{--gk-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h12a2 2 0 0 1 2 2v16H7a2 2 0 0 1-2-2zm3 3v2h8V6z'/%3E%3C/svg%3E")}.gk-journal-single{padding:4rem 1.25rem 6rem}.gk-journal-single .wp-block-post-content h2{font-size:clamp(1.5rem,3vw,2rem);margin-top:2.5rem;margin-bottom:.75rem}.gk-journal-grid .wp-block-post-title a{color:inherit;text-decoration:none}.gk-journal-grid .wp-block-post-template{gap:2rem}body.page-id-329 .wp-block-post-content{max-width:1100px;margin:0 auto;padding:4rem 1.25rem 6rem}.gk-journal-single .wp-block-post-date{margin-top:1rem;margin-bottom:1.5rem}body.page-id-44 figure.wp-block-image:has(img.wp-image-304){max-width:640px;margin-inline:auto}