/*
Theme Name: HEKY Media
Theme URI: https://hekymedia.com
Author: HEKY Media
Description: Custom digital media and entertainment theme for HEKY | هكي.
Version: 1.1.0
Text Domain: heky-media
*/
:root{
  --navy:#0B1D3A;
  --navy2:#102747;
  --lime:#C6FF00;
  --white:#FFFFFF;
  --soft:#F5F7FA;
  --text:#111827;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--navy);color:#fff;font-family:Alexandria,Montserrat,Arial,sans-serif;line-height:1.7}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(1180px,calc(100% - 28px));margin:auto}

header{position:sticky;top:0;z-index:99;background:rgba(11,29,58,.96);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.nav{min-height:72px;display:flex;align-items:center;gap:24px}
.brand{font-size:28px;font-weight:900;white-space:nowrap}
.brand b{color:var(--lime)}
nav{margin-inline-start:auto}
nav ul{display:flex;gap:18px;list-style:none;padding:0;margin:0;font-weight:700;align-items:center}
nav a:hover{color:var(--lime)}

.hero{min-height:66vh;display:flex;align-items:end;padding:70px 0;background:linear-gradient(135deg,#0B1D3A,#102747)}
.hero h1{font-size:clamp(44px,7vw,84px);line-height:1.05;margin:12px 0}
.hero p{max-width:760px}
.tag{display:inline-block;background:var(--lime);color:var(--navy);padding:7px 12px;border-radius:999px;font-weight:900}
.btn{display:inline-block;margin-top:15px;background:var(--lime);color:var(--navy);padding:12px 18px;border-radius:999px;font-weight:900}

section{padding:46px 0}
.head{display:flex;justify-content:space-between;align-items:end}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,300px);gap:16px;overflow-x:auto;padding-bottom:10px}
.card{background:var(--navy2);border-radius:18px;overflow:hidden}
.thumb{aspect-ratio:16/10;background:#17365f}
.thumb img{width:100%;height:100%;object-fit:cover}
.body{padding:15px}
.meta{color:var(--lime);font-size:12px;font-weight:900}
.card h3{margin:8px 0 0}
.light{background:var(--soft);color:var(--text)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.light .card{background:#fff}
footer{padding:45px 0;background:#07152b;color:#ffffffaa}

/* Content entered in WordPress homepage editor */
.heky-page-content{background:var(--navy);color:#fff}
.heky-page-content > *:first-child{margin-top:0}
.heky-page-content .wp-block-group,
.heky-page-content .wp-block-cover,
.heky-page-content .wp-block-columns{max-width:1180px;margin-inline:auto}
.heky-page-content .alignfull{max-width:none;width:100%}
.heky-page-content .alignwide{max-width:1380px}
.heky-page-content a{color:inherit}
.heky-page-content .wp-block-button__link{background:var(--lime);color:var(--navy);font-weight:800;border-radius:999px}
.heky-page-content h1,.heky-page-content h2,.heky-page-content h3{font-weight:800}

/* Ready classes for Custom HTML homepage blocks */
.heky-home{background:var(--navy);color:#fff}
.heky-home *{box-sizing:border-box}
.heky-home .heky-container{width:min(1180px,calc(100% - 28px));margin:auto}
.heky-home .heky-hero{min-height:70vh;display:flex;align-items:end;padding:70px 0;background:linear-gradient(135deg,#0B1D3A,#102747)}
.heky-home .heky-eyebrow{display:inline-block;background:var(--lime);color:var(--navy);font-weight:900;padding:7px 13px;border-radius:999px}
.heky-home .heky-title{font-size:clamp(48px,8vw,96px);line-height:1;margin:16px 0}
.heky-home .heky-subtitle{max-width:780px;font-size:18px;color:rgba(255,255,255,.82)}
.heky-home .heky-cta{display:inline-block;background:var(--lime);color:var(--navy);padding:12px 20px;border-radius:999px;font-weight:900;margin-top:18px}
.heky-home .heky-section{padding:52px 0;border-top:1px solid rgba(255,255,255,.06)}
.heky-home .heky-section h2{font-size:clamp(26px,4vw,42px);margin:0 0 20px}
.heky-home .heky-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.heky-home .heky-card{background:#102747;border-radius:18px;overflow:hidden;min-height:230px}
.heky-home .heky-card-media{aspect-ratio:16/10;background:linear-gradient(135deg,#17365f,#102747)}
.heky-home .heky-card-body{padding:16px}
.heky-home .heky-label{color:var(--lime);font-size:12px;font-weight:900}
.heky-home .heky-card h3{margin:8px 0 0;font-size:18px}

@media(max-width:800px){
  nav ul{gap:10px;font-size:13px}
  .grid,.heky-home .heky-cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  nav{display:none}
  .grid,.heky-home .heky-cards{grid-template-columns:1fr}
  .rail{grid-auto-columns:82%}
  .hero h1{font-size:48px}
  .heky-home .heky-title{font-size:52px}
}
