/*
Theme Name: Jermaine Press
Theme URI: https://example.com/jermaine-press
Author: Jermaine Ellenkamp
Description: Responsive verbeteringen + menu/social optimalisaties.
Version: 3.17.2
Requires at least: 6.0
Tested up to: 6.6
License: GPL-2.0-or-later
Text Domain: jermaine-press
*/

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{margin:0}
:root{--bg:#070b14;--panel:#0d1220;--card:#0f172a;--ink:#e6eaf2;--muted:#9aa4b2;--ring:transparent;--accent:#7c3aed;--accent-2:#22d3ee;--radius:18px;--shadow:0 12px 50px rgba(0,0,0,.30)}
body{background:radial-gradient(1000px 600px at 10% -10%, rgba(124,58,237,.10), transparent 60%),radial-gradient(900px 500px at 100% 0, rgba(34,211,238,.08), transparent 60%),linear-gradient(180deg,var(--bg) 0%, var(--bg) 40%, #0e1628 100%);color:var(--ink);font:16px/1.65 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial}
a{color:inherit}img{max-width:100%;height:auto;vertical-align:middle}
.container{width:100%;padding-inline:clamp(14px,2.2vw,28px);margin-inline:auto}.measure{max-width:72ch}.section{padding:clamp(2.2rem,4vw,3.6rem) 0}
.full-bleed{position:relative;left:50%;right:50%;margin-left:calc(-50vw + 0px);margin-right:calc(-50vw + 0px);width:100vw}.full-bleed .inner{padding-inline:clamp(14px,2.2vw,28px)}
.h1{font-size:clamp(3rem,6.2vw,5rem);font-weight:900;letter-spacing:-.02em;line-height:1.05;text-wrap:balance}.h2{font-size:clamp(1.8rem,3vw,2.4rem);font-weight:800;letter-spacing:-.01em;margin:0 0 .5rem 0}.h3{font-size:1.12rem;font-weight:700;margin:0}.rule{height:3px;border:0;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:999px;margin:.6rem 0 1rem 0;opacity:.9}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.86rem 1.15rem;border-radius:999px;border:1px solid rgba(148,163,184,.25);background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03));text-decoration:none;font-weight:800;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-clip:padding-box;overflow:hidden;position:relative}
.btn:hover{outline:none;border-color:rgba(148,163,184,.35);background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04))}
.btn:focus,.btn:focus-visible{outline:none;box-shadow:none;border-color:rgba(148,163,184,.25)}
.btn-tip{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-color:transparent;color:#0b1220;background-clip:padding-box;overflow:hidden;position:relative}
.btn-tip:before{content:"";position:absolute;inset:0;border-radius:999px;pointer-events:none;box-shadow:inset 0 0 0 0 rgba(0,0,0,0)}
.card{background:var(--card);border:1px solid rgba(148,163,184,.16);border-radius:var(--radius);box-shadow:var(--shadow)}
.menu-wrap{position:fixed;top:calc(14px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right));z-index:1000;display:flex;gap:.6rem;align-items:center}
.menu-btn{border:1px solid rgba(148,163,184,.25);background:rgba(13,18,32,.78);backdrop-filter:saturate(1.2) blur(8px);color:#fff;border-radius:999px;padding:.6rem .9rem;display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;white-space:nowrap;min-height:44px;font-weight:800;letter-spacing:.01em}
.menu-btn:hover{border-color:rgba(148,163,184,.35);background:rgba(13,18,32,.86);outline:none;box-shadow:none}
.menu-btn:focus,.menu-btn:focus-visible{outline:none;box-shadow:none;border-color:rgba(148,163,184,.25)}
.menu-icon{width:18px;height:2px;background:#fff;box-shadow:0 6px 0 #fff, 0 -6px 0 #fff;border-radius:2px}
.drawer{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;z-index:999}.drawer[aria-hidden="false"]{display:block}.drawer[aria-hidden="false"]{display:block}
.drawer-panel{position:absolute;right:0;top:0;height:100%;width:min(92vw,420px);background:rgba(8,12,22,.92);backdrop-filter:saturate(1.2) blur(10px);border-left:1px solid rgba(148,163,184,.15);box-shadow:var(--shadow);display:flex;flex-direction:column;transform:translateX(12px);opacity:0;transition:transform .18s ease,opacity .18s ease}.drawer[aria-hidden="false"] .drawer-panel{transform:translateX(0);opacity:1}
.drawer-header{display:flex;align-items:center;justify-content:flex-end;padding:1rem;border-bottom:1px solid rgba(148,163,184,.15)}
.drawer-close{background:transparent;border:1px solid rgba(148,163,184,.22);color:#fff;border-radius:999px;padding:.55rem .85rem;font-weight:900;cursor:pointer;min-height:44px}
.drawer-close:hover{border-color:rgba(148,163,184,.35);background:rgba(148,163,184,.06)}
.drawer-close:focus,.drawer-close:focus-visible{outline:none;box-shadow:none;border-color:rgba(148,163,184,.22)}
.drawer-body{padding:.6rem 1rem 1rem;overflow:auto}.drawer-body nav ul{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}.drawer-body a{display:flex;align-items:center;min-height:48px;padding:.6rem .7rem;border-radius:.85rem;color:#fff;text-decoration:none;border:1px solid transparent}
.drawer-body a:hover{border-color:rgba(148,163,184,.22);background:rgba(148,163,184,.08);outline:none;box-shadow:none;text-decoration:underline}
.drawer-body a:focus,.drawer-body a:focus-visible{outline:none;box-shadow:none;border-color:transparent;text-decoration:none}
.drawer-body nav ul{list-style:none;margin:0;padding:0}.drawer-body nav li{margin:.4rem 0}.drawer-body a{text-decoration:none}

	/* Social icon buttons (drawer + footer) */
	.drawer-social{display:flex;gap:.6rem;flex-wrap:nowrap;justify-content:flex-start;margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.15)}
	.footer-social{display:flex;gap:.6rem;justify-content:center;align-items:center;margin:0 0 1rem 0}
	.social-icon{width:44px;min-width:44px;height:44px;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
	.social-svg{display:block;width:22px;height:22px}
	.drawer-social .social-icon{color:#fff}
	.site-footer .social-icon{color:var(--muted);background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.20)}
	.site-footer .social-icon:hover{color:var(--ink);border-color:rgba(148,163,184,.35)}
	/* Minimal footer focus: no visual change (cursor is already pointer). */
	.site-footer .social-icon:focus,.site-footer .social-icon:focus-visible{outline:none;box-shadow:none;color:inherit;border-color:rgba(148,163,184,.20);transform:none;text-decoration:none}
	.social-icon{transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease, color .14s ease}
	.social-icon:hover{transform:translateY(-1px) scale(1.03)}
	.social-icon:active{transform:translateY(0) scale(1.00)}
.hero-wrap.full-bleed{margin-top:0}
.hero-cover{position:relative;height:min(62vw,720px);overflow:hidden;background-size:cover;background-position:center calc(50% - 50px)}
.hero-cover:after{content:"";position:absolute;inset:0;background:none;opacity:0;pointer-events:none}

/* Keep all hero text white (even if WP/global styles override defaults). */
.hero-cover,
.hero-cover *{color:#fff !important}

.hero-bottom{position:absolute;left:0;right:0;bottom:0;padding:clamp(22px,3vw,34px);color:#fff}
.hero-bottom .h1{color:#fff !important;text-shadow:0 1px 2px rgba(0,0,0,.35);margin:.2rem 0 0}
.hero-sub{color:#fff;opacity:.98;font-size:clamp(1rem,1.8vw,1.25rem);font-weight:800;letter-spacing:.01em}
.video-grid{display:grid;gap:clamp(12px,1.4vw,18px);grid-template-columns:1fr}@media (min-width:768px){.video-grid{grid-template-columns:1fr 1fr}}
.video-grid .video-item .media{border:0;border-radius:var(--radius);overflow:hidden}.video-grid .video-item .media > div,.video-grid .video-item iframe{display:block;width:100%;aspect-ratio:16 / 9;height:auto}

/* Video date overlay (bottom-left) */
.jp-video-wrap{position:relative;aspect-ratio:16/9;overflow:hidden;background:#000}
.jp-video-wrap iframe,.jp-video-wrap video,.jp-video-wrap object,.jp-video-wrap embed{position:absolute;inset:0;width:100%;height:100%}
.jp-video-date{position:absolute;left:12px;bottom:12px;z-index:3;font-size:13px;line-height:1;padding:6px 8px;background:rgba(0,0,0,.65);color:#fff;border-radius:6px;pointer-events:none}
@media (max-width:480px){.jp-video-date{left:10px;bottom:10px;font-size:12px;padding:5px 7px}}

.entry{display:block;margin:1.25rem 0}.entry .media{display:block;border-radius:var(--radius);overflow:hidden;border:1px solid rgba(148,163,184,.15)}.entry .body{padding:.95rem 0}.entry .meta{color:var(--muted);font-size:.9rem}
.site-footer{border-top:1px solid rgba(148,163,184,.15);padding:2.2rem 0;color:var(--muted);text-align:center}

/* Contact buttons: keep them on one row on mobile */
.contact-buttons{display:flex;gap:.6rem;flex-wrap:nowrap;align-items:center}
.contact-buttons .btn{white-space:nowrap}

/* Proton button label: swap text on small screens */
/* Use higher specificity + !important to beat block/theme styles that may force spans visible. */
.btn-tip .label-mobile{display:none !important}
.btn-tip .label-desktop{display:inline !important}

@media (max-width:480px){
  .btn-tip .label-desktop{display:none !important}
  .btn-tip .label-mobile{display:inline !important}
}



/* v3.15.0: Responsive fixes + remove cover overlay */
.hero-cover .wp-block-cover__background{opacity:0 !important}
/* v3.14.1: Force hero title/heading text to white (wins against theme.json + block inline styles). */
.hero-cover h1,
.hero-cover h2,
.hero-cover h3,
.hero-cover .wp-block-heading,
.hero-cover .entry-title,
.hero-cover .post-title,
.wp-block-cover.hero-cover h1,
.wp-block-cover.hero-cover h2,
.wp-block-cover.hero-cover h3,
.wp-block-cover.hero-cover .wp-block-heading,
.wp-block-cover.hero-cover .entry-title,
.wp-block-cover.hero-cover .post-title{
  color:#fff !important;
}


/* v3.15.0 responsive */
@media (max-width:480px){
  .menu-wrap{top:calc(10px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));flex-direction:row;gap:.5rem}
  .menu-btn{padding:.55rem .75rem;font-size:.92rem}
  .hero-cover{height:min(92vw,560px);background-position:left calc(50% - 50px)}
  .hero-bottom{padding:18px}
  .h1{font-size:clamp(2.2rem,9vw,3.2rem)}
  .h2{font-size:clamp(1.35rem,6.2vw,1.65rem)}

  /* Keep the two contact buttons side by side on small screens */
  .contact-buttons{gap:.5rem}
  .contact-buttons .btn{padding:.72rem .85rem;font-size:.92rem;min-width:0}
}
@media (min-width:768px){
  .entry{display:grid;grid-template-columns:240px 1fr;gap:1.25rem;align-items:start;margin:1.6rem 0}
  .entry .media{margin:0}
  .entry .body{padding-top:.2rem}

  /* Keep video titles under the video (not beside) */
  .entry.video-item{display:block !important;grid-template-columns:none !important}
  .entry.video-item .body{padding-top:.95rem}
}
@media (min-width:1024px){
  .entry{grid-template-columns:280px 1fr}
}

@media (prefers-reduced-motion:reduce){.drawer-panel{transition:none}.social-icon{transition:none}.social-icon:hover{transform:none}}

@media (prefers-reduced-motion:reduce){.social-icon{transition:none}.social-icon:hover{transform:none}}

/* v3.15.9: Remove any purple glow/ring from menu + buttons. */
.btn:hover,
.btn:focus,
.btn:focus-visible,
.menu-btn:hover,
.menu-btn:focus,
.menu-btn:focus-visible,
.drawer-close:hover,
.drawer-close:focus,
.drawer-close:focus-visible,
.drawer-body a:hover,
.drawer-body a:focus,
.drawer-body a:focus-visible,
.drawer-social .social-icon:hover,
.drawer-social .social-icon:focus,
.drawer-social .social-icon:focus-visible{
	box-shadow:none !important;
	outline:none !important;
	border-color:rgba(148,163,184,.35) !important;
}

.btn:hover,
.menu-btn:hover,
.drawer-close:hover,
.drawer-body a:hover{
	background:rgba(148,163,184,.06) !important;
}

/* Footer focus: ultra-minimal (no visual change). */
.site-footer .social-icon:focus,
.site-footer .social-icon:focus-visible,
.site-footer a:focus,
.site-footer a:focus-visible{
	box-shadow:none !important;
	outline:none !important;
	text-decoration:none !important;
	opacity:1 !important;
	transform:none !important;
}

/* Keep hover in footer, but never add a focus "ring". */
.site-footer .social-icon:hover{cursor:pointer}

/* Front page "Over" blocks layout */
.about-grid{display:grid;gap:clamp(18px,3vw,32px);grid-template-columns:1fr;align-items:start}
.about-block{max-width:72ch}
@media (min-width:900px){.about-grid{grid-template-columns:1fr 1fr}}

/* Calm, consistent typography: clamp titles + text lines */
.clamp-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* Show at most 2 paragraphs, clamp each paragraph to a max number of lines */
.clamp-text p:nth-of-type(n+3){display:none}
.clamp-text p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:5}
@media (min-width:900px){.clamp-text p{-webkit-line-clamp:4}}
