/* =========================================================
   Hackathon Page — stylesheet
   Drop this file into your active theme as: hackathon.css
   The template (page-hackathon.php) loads it automatically.
   ========================================================= */

:root {
    --hk-bg: #fafbfd;
    --hk-fg: #0f172a;
    --hk-muted: #64748b;
    --hk-border: #e5e7eb;
    --hk-card: #ffffff;
    --hk-primary: #2563eb;
    --hk-primary-2: #1d4ed8;
    --hk-hero: #0f1b3d;
    --hk-hero-fg: #ffffff;
    --hk-accent: #f5c542;
    --hk-radius: 12px;
    --hk-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .04);
}

.hk, .hk * { box-sizing: border-box; }

.hk {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--hk-fg);
    background: var(--hk-bg);
    -webkit-font-smoothing: antialiased;
}

.hk h1, .hk h2, .hk h3, .hk h4 {
    /*font-family: "Space Grotesk", "Inter", system-ui, sans-serif;*/
	font-family:"Open Sans",Arial,Helvetica,sans-serif;
    letter-spacing: -.02em;
    margin: 0;
}

.hk-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HERO ---------- */
.hk-hero {
    background: linear-gradient(160deg, #0f1b3d 0%, #1e3a8a 100%);
    color: var(--hk-hero-fg);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.hk-hero--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hk-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
     background: rgb(22 57 103 / 82%);
}
.hk-hero__inner { text-align: center; position: relative; z-index: 1; }
.hk-hero__title {
    font-weight: 800;
    line-height: 94px;
    font-size: 120px;
    margin: 0 !important;
    padding: 0 0 2rem;
}
.hk-hero__tagline {
    font-weight: 600;
    color: #EDA82F !important;
    font-size: 61px !important;
    line-height: 65px;
    margin: 0 0 2rem 0 !important;
}
.hk-hero__meta {
    font-size: 22px;
    opacity: .8;
}

.hk-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background .15s ease, transform .15s ease;
    margin-top: 20px;
}
.hk-btn--primary {
    background: var(--hk-primary);
    color: #fff;
    
}
.hk-btn--primary:hover { background: var(--hk-primary-2); 
box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
color: #EDA82F !important;}

/* ---------- YEAR TABS ---------- */
.hk-tabs {
    background: #fff;
    border-bottom: 1px solid var(--hk-border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.hk-tabs-label{
	padding: 10px 0px 10px 0 !important;
}
.hk-tabs__row {
    display: flex;
    gap: 4px;
}
.hk-tab {
    padding: 6px 20px !important;
    font-size: 13px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
    background: linear-gradient(113.8deg, #005BBE 0%, #0088F2 100%);
    margin: 7px 0;
    border-radius: 30px;
    line-height: 15px;
	box-shadow: 0px 0px 40px 0px #035EDE40;
}
.hk-tab:hover { color: #fff !important; }
.hk-tab.is-active {
    color: var(--hk-primary);
    border-bottom-color: var(--hk-primary);
}

/* ---------- BODY LAYOUT ---------- */
.hk-body {
    padding: 40px 24px 64px;
}
.hk-section { margin-top: 48px; }
.hk-section:first-child { margin-top: 0; }

.hk-pageheader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hk-pageheader__title { font-size: 48px; font-weight: 700; }
.hk-pageheader__sub   { margin: 0 0 1.8rem 0; color: #576574;
    font-size: 18px;
    text-align: center;
    line-height: 28px;}
.hk-pageheader__text  { margin: 12px 0 0; max-width: 720px; color: rgba(15, 23, 42, .8); line-height: 1.75; font-size: 14px; }

.hk-pill {
    border: 1px solid var(--hk-border);
    background: #00A1591A;
    color: #00A159;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
	margin-top: 2.5rem;
}
.hk-pill span {
    font-size: 30px;
    line-height: 6px;
    font-weight: 900;
    position: relative;
    top: -1px;
}
.hk-eyebrow {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    color: #0F1528;
    margin: 0 0 12px;
    letter-spacing: 0;
    font-weight: 700;
    line-height: 32px;
}

.hk-section__heading {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #0F1528;
    margin-bottom: 16px !important;
}
.hk-section__heading img {
    margin: 0px 5px 0 0;
    position: relative;
    top: 1px;
}
.hk-h3 { font-size: 24px;
    font-weight: 700;
    margin-bottom: 3px !important;
    color: #0F1528;
    line-height: 32px;
	padding: 0;
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
	}
.hk-h4{
	color: #576574;
    font-size: 14px;
    margin: 0 0 20px 0 !important;
    line-height: 20px;
    font-weight: 400;
}
.hk-project-card-top-left{
	width: 85%;
}
#hk-hero-cta img{
	float: left;
    margin: 0 5px 0 0;
}

/* ---------- VIDEO ---------- */
.hk-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    /*overflow: hidden;
    background: #000;*/
    border: 1px solid var(--hk-border);
    box-shadow: 0px 24px 48px -12px #002D772E;
}
.hk-video iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
	border-radius: 28px;
	box-shadow: 0px 24px 48px -12px #002D772E;
}


/* ---------- GRID ---------- */
.hk-grid { /*display: grid; gap: 16px; grid-template-columns: 1fr;*/ }
@media (min-width: 720px) {
    .hk-grid--2 { /*grid-template-columns: 1fr 1fr; */}
}

/* ---------- HALL OF FAME ---------- */

.hk-section-3{
    margin-top: 50px;
}

.hk-grid--2{
    /*display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 24px;*/
}
.hk-grid--2 .hk-panel:nth-child(1) .hk-panel__badge{
	background: linear-gradient(105.96deg, #005BBE 0%, #0088F2 100%);
    color: #fff;
	box-shadow: 0px 1px 2px -1px #0000001A;
}
.hk-grid--2 .hk-panel:nth-child(1) .hk-panel__badge img{
	margin-right: 5px;
}
.hk-grid--2 .hk-panel:nth-child(2){
	width: 49%;
    margin-right: 1rem;
    float: left;
}
.hk-grid--2 .hk-panel:nth-child(3){
	width: 49%;
    float: left;
}
.hk-panel{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    transition: .25s ease;
	margin-bottom: 1.7rem;
	position: relative;
}

.hk-panel:hover{
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15,23,42,.12);
}

/* image */

.hk-panel__image-wrap{
    width: 100%;
    height: 337px;
    overflow: hidden;
}

.hk-panel__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* content */

.hk-panel__content{
    padding: 22px;
	position: absolute;
    width: 100%;
    top: 0;
}

.hk-panel__badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #0F1528;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
	margin-bottom: 10.8rem;
	box-shadow: 0px 1px 2px -1px #0000001A;
}
.hk-panel__badge img{
	margin-right:5px;
}
.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__badge,
.hk-grid--2 .hk-panel:nth-child(3) .hk-panel__badge{
	margin-bottom: 9.8rem;
}
.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__note{
	font-size: 20px;
    line-height: 30px;
}
.hk-grid--2 .hk-panel:nth-child(3) .hk-panel__note{
	font-size: 19px;
    line-height: 28px;
}
.hk-panel__title{
    font-size: 14px;
    font-weight: 700;
    color: #fcfcfcc9;
    margin-bottom: 10px;
    letter-spacing: 1.4px !important;
}

.hk-panel__team{
    font-size: 14px;
    font-weight: 400;
    color: #fcfcfcc9;
    margin-bottom: 0;
    line-height: 1.6;
    letter-spacing: 1.4px !important;
}

.hk-panel__note{
    font-size: 24px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    letter-spacing: -0.48px;
}
.hk-panel__note strong{
	font-weight: 700;
}

/* responsive */

@media (max-width: 991px){

    .hk-grid--2{
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px){

    .hk-grid--2{
        grid-template-columns: 1fr;
    }

    .hk-panel__image-wrap{
        height: 240px;
    }
}

/* ---------- PROJECT CARDS ---------- */
.hk-project {
    border-radius: var(--hk-radius);
    border: 1px solid var(--hk-border);
    background: var(--hk-card);
    padding: 20px;
    box-shadow: var(--hk-shadow);
    transition: box-shadow .15s ease, transform .15s ease;
}
.hk-project:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}
.hk-project__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.hk-project__label {
    margin: 0;
    font-size: 12px;
    color: var(--hk-muted);
}
.hk-project__name { margin: 2px 0 0; font-size: 18px; font-weight: 600; }
.hk-project__team {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--hk-primary);
}
.hk-project__bullets {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hk-project__bullets li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    color: rgba(15, 23, 42, .82);
    line-height: 1.5;
}
.hk-project__bullets li::before {
    content: "";
    position: absolute;
    left: 4px; top: 9px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--hk-primary);
}

.hk-tag {
    background: rgba(245, 197, 66, .2);
    border: 1px solid rgba(245, 197, 66, .5);
    color: #78350f;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}


/* ---------- PROJECT SHOWCASE ---------- */

.hk-project-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.hk-project-card{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0px 8px 24px -8px #002D771F;
    transition: .25s ease;
}

.hk-project-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15,23,42,.12);
}

/* image */
.hk-project-card__media{
    height: 210px;
    overflow: hidden;
}

.hk-project-card__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* body */
.hk-project-card__body{
    padding: 18px 18px 10px;
}

/* top section */
.hk-project-card__top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
	margin-bottom: 10px;
}

.hk-project-card__label{
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0F1528;
    text-transform: uppercase;
    display: inline-block;
}

.hk-project-card__title{
    margin: 0 0 0 0px !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: #0f172a;
    padding: 0;
    display: inline-block;
}

.hk-project-card__tag{
    font-size: 18px;
}

/* team */
.hk-project-card__team{
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 400;
    color: #0F1528;
}

/* bullets */
.hk-project-card__list{
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hk-project-card__list li{
    font-size: 13px;
    line-height: 1.7;
    color: rgba(15,23,42,.82);
}

/* button — matches Figma "Watch Project Video" pill */
.hk-project-card__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 10px 18px;
    background: #16a34a;;
    color: #fff;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(26, 188, 92, .25);
    transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.hk-project-card__btn:hover{
    background: #15803d;
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 163, 74, .35);
    transform: translateY(-1px);
}

.hk-watch-btn__icon{
    display: inline-block;
    flex-shrink: 0;
}
ul.hk-project__list {
    margin: 0 0 0 25px;
}
ul.hk-project__list li{
	color: #576574;
    font-size: 14px;
    line-height: 23px;
    margin: 0 0 8px 0;
}
ul.hk-project__list li strong{
	color:#576574;
}

/* responsive */

@media (max-width: 768px){

    .hk-project-grid{
        grid-template-columns: 1fr;
    }

    .hk-project-card__media{
        height: 220px;
    }
}


@media (max-width: 767px) {
    .hk-project-grid > .hk-project-card:last-child:nth-child(odd) {
        max-width: 100% !important;
    }
}


@media (max-width: 767px) {
    .hk-project-grid > .hk-project-card:last-child:nth-child(odd) {
        max-width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 819px){
	.hk-project-grid > .hk-project-card:last-child:nth-child(odd){
		max-width: 100% !important;
	}
}
@media (min-width: 820px) and (max-width: 1024px){
		.hk-grid--2 .hk-panel:nth-child(2) {
			width: 48%;
		}
	    .hk-grid--2 .hk-panel:nth-child(2) .hk-panel__badge, .hk-grid--2 .hk-panel:nth-child(3) .hk-panel__badge {
			margin-bottom: 10rem;
		}
		.hk-panel__badge {
			margin-bottom: 10rem;
		}
		.hk-panel__note{
			font-size: 18px;
			line-height: 1.3;
		}
		.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__note {
			font-size: 17px;
			line-height: 24px;
		}
		.hk-grid--2 .hk-panel:nth-child(3) .hk-panel__note {
			font-size: 17px;
			line-height: 24px;
		}
}
@media (min-width: 768px) and (max-width: 819px){
	.hk-grid--2 .hk-panel:nth-child(2) {
		width: 48%;
	}
	.hk-panel__badge{
		margin-bottom: 6.5rem;
	}
	.hk-panel__note{
		font-size: 15px;
		line-height: 1.4;
	}
	.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__badge, .hk-grid--2 .hk-panel:nth-child(3) .hk-panel__badge {
		margin-bottom: 4rem;
	}
	.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__note {
		font-size: 16px;
		line-height: 23px;
	}
	.hk-grid--2 .hk-panel:nth-child(3) .hk-panel__note {
		font-size: 16px;
		line-height: 23px;
	}
	
	
}
@media (min-width: 768px) and (max-width: 1024px){
	.hk-hero {
		min-height: 37vh !important;
	}
	.hk-hero__title{
		line-height: 64px;
		font-size: 80px;
	}
	.hk-hero__tagline{
		font-size: 44px !important;
		line-height: 55px;
	}
}

@media (max-width: 767px) {
	.hk-hero {
		min-height: 37vh !important;
	}
	.hk-hero__title{
		font-size: 59px;
		padding: 0 0 1rem;
	}
	.hk-hero__tagline{
		font-size: 32px !important;
		line-height: 35px;
		margin: 0 0 1rem 0 !important;
	}
	.hk-hero__meta{
		font-size: 15px;
	}
	.hk-grid--2 .hk-panel:nth-child(2) {
		width: 100%;
		margin-right: 0;
		float: none;
	}
	.hk-grid--2 .hk-panel:nth-child(3) {
		width: 100%;
		float: none;
	}
	.hk-panel__badge{
		margin-bottom: 4rem;
	}
	.hk-panel__team{
		padding: 0;
	}
	.hk-panel__note{
		font-size: 15px;
		line-height: 1.4;
		padding: 0;
	}
	.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__badge, .hk-grid--2 .hk-panel:nth-child(3) .hk-panel__badge {
		margin-bottom: 4rem;
	}
	.hk-grid--2 .hk-panel:nth-child(2) .hk-panel__note {
		font-size: 16px;
		line-height: 23px;
	}
	.hk-grid--2 .hk-panel:nth-child(3) .hk-panel__note {
		font-size: 16px;
		line-height: 23px;
	}
	.hk-project-card__label{
		padding:0;
	}
	.hk-project-card__team{
		padding:0;
	}
}


/* tag image */

.hk-project-card__tag{
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.hk-project-card__tag img{
    /*width: 100%;
    height: 100%;*/
    object-fit: contain;
    display: block;
}
.hk-project__text{
    font-size: 13px;
    line-height: 1.7;
    color: #576574;
    margin: 0px 0;
}

.hk-project__text strong{
    color: #576574;
    font-weight: 700;
    margin-right: 4px;
}

/* 1) Last project card alone on its row → left-aligned (not centered) */

.hk-project-grid > .hk-project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin-left: 0;
    margin-right: auto;
}


/* 2) Kill the empty space below the footer caused by wpautop wrapping
      <section> in stray <p> tags inside .btSiteFooter */
.btSiteFooter > p:empty,
.btSiteFooter p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.btSiteFooter > p {
    margin: 0 !important;
}

.btSiteFooter,
.btSiteFooter > section:last-child,
.btSiteFooter > p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body, html {
    margin-bottom: 0 !important;
}

/* ============================================================
   Video Modal (YouTube popup for "Watch Project Video" button)
   ============================================================ */
.hk-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.hk-video-modal.is-open { display: flex; }

.hk-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.hk-video-modal__dialog {
    position: relative;
    width: 90%;
    max-width: 640px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hk-video-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.hk-video-modal__close:hover { background: #f1f5f9; }

.hk-video-modal__frame-wrap {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 12px;
}
.hk-video-modal__frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 600px) {
    .hk-video-modal__close {
        top: -14px;
        right: 0;
    }
}

/* explore 2026 scroll fix*/

html { scroll-behavior: smooth; }
.hk-tab{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.hk-active-dot{
    width:6px;
    height:6px;
    background:#19c319;
    border-radius:50%;
    display:inline-block;
}

#hk-section-2-id { 
    scroll-margin-top: 999px;
    display: block;
    height: 120px;
    margin-top: -120px;
    visibility: hidden;
    pointer-events: none;
}
.hk-tab{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hk-tab.is-active{
    background: #0b74e5;
    color: #fff;
    border-radius: 50px;
    padding: 14px 28px;
}

@supports (-webkit-hyphens: none) and (not (-webkit-touch-callout: none)) {
  .hk-project-card__team{
	  font-weight: 500;
	  color: #0F1528;
  }
  .hk-project__text{
    /* Mac Safari only, NOT iOS Safari */
    font-weight: 500;
	color: #576574;
  }
  ul.hk-project__list li{
	  font-weight: 500;
	  color: #576574;
  }
  .hk-pageheader__sub{
	  font-weight: 500;
	  color: #576574;
  }
}