/*
Theme Name: Josh Hoveln Profile
Theme URI: https://joshhoveln.com
Author: Josh Hoveln
Author URI: https://joshhoveln.com
Description: A LinkedIn-style professional profile theme for Josh Hoveln, Senior Product Leader and JCI USA National President. Navy, gold, and white with DM Serif Display + DM Sans typography.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joshhoveln-profile
*/

/* ---------------------------------------------------------------------------
   Reset & base
--------------------------------------------------------------------------- */
*{box-sizing:border-box;margin:0;padding:0}

body.jh{
	font-family:'DM Sans',sans-serif;
	color:#1a2540;
	background:#fff;
	width:100%;
	-webkit-font-smoothing:antialiased;
	scroll-behavior:smooth;
}

html{scroll-behavior:smooth}

.sr-only{
	position:absolute;width:1px;height:1px;padding:0;margin:-1px;
	overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

img{max-width:100%;}

/* ---------------------------------------------------------------------------
   Navigation
--------------------------------------------------------------------------- */
.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 40px;border-bottom:0.5px solid #e2e6ef;position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);z-index:50}
.logo{font-family:'DM Serif Display',serif;font-size:17px;color:#0f2257;text-decoration:none}
.logo span{font-style:italic;color:#c9a84c}
.nl{display:flex;gap:28px;list-style:none}
.nl a{font-size:12px;color:#4a5568;text-decoration:none;letter-spacing:.5px;text-transform:uppercase}
.nl a:hover{color:#0f2257}
.nc{font-size:12px;font-weight:500;color:#fff;background:#0f2257;padding:8px 18px;border-radius:4px;text-decoration:none}

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero{display:grid;grid-template-columns:1fr 300px;align-items:stretch;border-bottom:0.5px solid #e2e6ef;overflow:hidden}
.hc{padding:64px 40px;display:flex;flex-direction:column;justify-content:center}
.ey{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;color:#c9a84c;margin-bottom:18px}
.ed{width:5px;height:5px;border-radius:50%;background:#c9a84c}
.hc h1{font-family:'DM Serif Display',serif;font-size:46px;line-height:1.08;color:#0f2257;letter-spacing:-1.5px;margin-bottom:20px}
.hc h1 em{font-style:italic;color:#c9a84c}
.hs{font-size:15px;line-height:1.7;color:#4a5568;max-width:440px;margin-bottom:32px;font-weight:300}
.ha{display:flex;gap:10px;flex-wrap:wrap}
.bn{font-size:12px;font-weight:500;color:#fff;background:#0f2257;padding:10px 22px;border-radius:4px;text-decoration:none}
.bg2{font-size:12px;font-weight:500;color:#0f2257;background:#c9a84c;padding:10px 22px;border-radius:4px;text-decoration:none}
.hp{position:relative;overflow:hidden;min-height:420px}
.hp img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.hn{position:absolute;bottom:0;left:0;right:0;background:#0f2257;padding:12px 16px;border-left:3px solid #c9a84c}
.hn strong{display:block;font-size:13px;font-weight:500;color:#fff;margin-bottom:2px}
.hn span{font-size:11px;color:rgba(255,255,255,.55)}

/* ---------------------------------------------------------------------------
   Stats bar
--------------------------------------------------------------------------- */
.sb{display:grid;grid-template-columns:repeat(4,1fr);background:#0f2257}
.si{padding:24px 28px;border-right:0.5px solid rgba(255,255,255,.1)}
.si:last-child{border-right:none}
.sn{font-family:'DM Serif Display',serif;font-size:30px;color:#c9a84c;letter-spacing:-1px;line-height:1;margin-bottom:4px}
.sl{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:rgba(255,255,255,.4);font-weight:500}

/* ---------------------------------------------------------------------------
   Section shell
--------------------------------------------------------------------------- */
.pi{padding:60px 40px;border-bottom:0.5px solid #e2e6ef}
.se{font-size:10px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;color:#c9a84c;margin-bottom:6px}
.st{font-family:'DM Serif Display',serif;font-size:28px;color:#0f2257;letter-spacing:-.8px;margin-bottom:36px}

/* ---------------------------------------------------------------------------
   About
--------------------------------------------------------------------------- */
.ab{padding:60px 40px;display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:start;background:#f7f9fd;border-bottom:.5px solid #e2e6ef}
.ab2{font-size:14px;line-height:1.8;color:#4a5568;font-weight:300;margin-bottom:22px}
.aw{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;background:#faf4e6;border-radius:4px;font-size:11px;color:#7a5c1a;font-weight:500;border:.5px solid #e8d9a8;margin:0 8px 8px 0}
.ad{width:5px;height:5px;border-radius:50%;background:#c9a84c}
.hl{display:flex;flex-direction:column;gap:14px}
.hi{display:flex;gap:12px;align-items:flex-start;background:#fff;border:.5px solid #e2e6ef;border-radius:6px;padding:16px 18px}
.hi .hd{width:7px;height:7px;border-radius:50%;background:#c9a84c;margin-top:6px;flex-shrink:0;border:3px solid #e8d9a8;box-sizing:content-box}
.hi p{font-size:12px;line-height:1.6;color:#4a5568}
.hi strong{color:#0f2257;font-weight:500}

/* ---------------------------------------------------------------------------
   Experience
--------------------------------------------------------------------------- */
.xp{display:flex;flex-direction:column}
.xe{display:grid;grid-template-columns:180px 1fr;gap:28px;padding:28px 0;border-bottom:.5px solid #e2e6ef;position:relative}
.xe:last-child{border-bottom:none}
.xm{padding-top:2px}
.xo{font-size:13px;font-weight:500;color:#0f2257;margin-bottom:3px}
.xd{font-size:11px;color:#c9a84c;font-weight:500;letter-spacing:.4px}
.xc h3{font-size:16px;font-weight:500;color:#0f2257;margin-bottom:10px;font-family:'DM Serif Display',serif;letter-spacing:-.3px}
.xc ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.xc li{font-size:13px;line-height:1.65;color:#4a5568;font-weight:300;padding-left:16px;position:relative}
.xc li::before{content:'';position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:#c9a84c}
.xc li strong{color:#0f2257;font-weight:500}

/* ---------------------------------------------------------------------------
   Skills
--------------------------------------------------------------------------- */
.sk{background:#f7f9fd}
.sg{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.sh{font-size:12px;font-weight:500;color:#0f2257;text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{font-size:11px;color:#0f2257;background:#fff;border:.5px solid #dce6f7;border-radius:100px;padding:7px 14px;font-weight:400}
.chip.gd{background:#faf4e6;border-color:#e8d9a8;color:#7a5c1a;font-weight:500}

/* ---------------------------------------------------------------------------
   Education & certifications
--------------------------------------------------------------------------- */
.eg{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e2e6ef;border-radius:6px;overflow:hidden;border:.5px solid #e2e6ef}
.ec{background:#fff;padding:24px 20px}
.en{font-family:'DM Serif Display',serif;font-size:22px;color:#e8d9a8;margin-bottom:12px}
.et{font-size:13px;font-weight:500;color:#0f2257;line-height:1.4;margin-bottom:6px}
.eb{font-size:11px;color:#8a9ab5;line-height:1.6;font-weight:300}

/* ---------------------------------------------------------------------------
   Community / JCI timeline
--------------------------------------------------------------------------- */
.cm{padding:60px 40px;background:#f7f9fd;border-bottom:.5px solid #e2e6ef}
.cm > div{max-width:680px}
.ti{display:flex;gap:12px;padding-bottom:16px;position:relative}
.ti:not(:last-child)::after{content:'';position:absolute;left:13px;top:24px;bottom:0;width:.5px;background:#dce6f7}
.td{width:7px;height:7px;border-radius:50%;background:#c9a84c;margin-top:4px;flex-shrink:0;border:3px solid #e8d9a8;box-sizing:content-box}
.ty{font-size:10px;font-weight:500;color:#c9a84c;letter-spacing:.5px;min-width:52px;padding-top:2px}
.tt{font-size:12px;color:#4a5568;line-height:1.5}

/* ---------------------------------------------------------------------------
   CTA strip
--------------------------------------------------------------------------- */
.ct{padding:48px 40px;display:flex;align-items:center;justify-content:space-between;background:#0f2257;position:relative;overflow:hidden}
.ct::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#c9a84c}
.ctt{font-family:'DM Serif Display',serif;font-size:26px;color:#fff;letter-spacing:-.5px;margin-bottom:5px}
.cts{font-size:13px;color:rgba(255,255,255,.4);font-weight:300}
.ca{display:flex;gap:10px}
.bw{font-size:12px;font-weight:500;color:#0f2257;background:#fff;padding:10px 20px;border-radius:4px;text-decoration:none}
.bo{font-size:12px;color:#c9a84c;border:.5px solid #c9a84c;padding:10px 20px;border-radius:4px;text-decoration:none}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.ft{padding:20px 40px;display:flex;align-items:center;justify-content:space-between;border-top:.5px solid #e2e6ef}
.fl{font-family:'DM Serif Display',serif;font-size:13px;color:#0f2257}
.fl span{font-style:italic;color:#c9a84c}
.fc{font-size:11px;color:#8a9ab5}
.fk{display:flex;gap:18px}
.fk a{font-size:11px;color:#8a9ab5;text-decoration:none}
.fk a:hover{color:#0f2257}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width:860px){
	.nav{padding:16px 20px;flex-wrap:wrap;gap:12px}
	.nl{gap:14px;flex-wrap:wrap}
	.hero{grid-template-columns:1fr}
	.hc{padding:40px 20px}
	.hc h1{font-size:36px}
	.hp{min-height:320px}
	.sb{grid-template-columns:repeat(2,1fr)}
	.si:nth-child(2){border-right:none}
	.pi,.ab,.cm,.ct{padding:40px 20px}
	.ab,.cm,.sg{grid-template-columns:1fr;gap:36px}
	.xe{grid-template-columns:1fr;gap:8px;padding:22px 0}
	.eg{grid-template-columns:repeat(2,1fr)}
	.ct{flex-direction:column;gap:20px;text-align:center}
	.ft{flex-direction:column;gap:10px;padding:24px 20px;text-align:center}
}
