/*
Theme Name: Mandar Hybrid Athlete
Theme URI: https://cricbundle.com/
Author: Mandar Idekar
Description: Hybrid Storytelling Athlete theme for Ironman Journey 2026
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mandar-hybrid-athlete
*/

:root{
  --bg-dark:#0b1423;
  --bg-darker:#08111f;
  --bg-light:#f8fafc;
  --surface-dark:#111c31;
  --surface-light:#ffffff;
  --text-light:#edf2f7;
  --text-dark:#08111f;
  --muted:#94a3b8;
  --accent:#ff7a1a;
  --accent-2:#0ea5e9;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 50px rgba(0,0,0,.22);
  --radius:22px;
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg-light);
  color:var(--text-dark);
  line-height:1.7;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{text-decoration:none}

.site-header,
.site-footer,
.entry-title,
.page-title,
h1.entry-title{
  display:none !important;
}

.site-main,
.site-content,
.content-area,
.site{
  margin:0 !important;
  max-width:100% !important;
  padding:0 !important;
}

.mh-wrap{overflow-x:hidden}
.mh-container{
  width:min(calc(100% - 24px), var(--max));
  margin:0 auto;
}

.mh-section{padding:84px 0}
.mh-section-sm{padding:56px 0}

.mh-dark{
  background:
    radial-gradient(circle at top right, rgba(255,122,26,.10), transparent 28%),
    linear-gradient(180deg, #07101d 0%, #0b1423 100%);
  color:var(--text-light);
}

.mh-light{
  background:var(--bg-light);
  color:var(--text-dark);
}

.mh-card{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.mh-card-dark{
  background:linear-gradient(180deg, rgba(17,28,49,.96), rgba(12,22,38,.94));
  border:1px solid rgba(255,255,255,.08);
  color:var(--text-light);
}

.mh-card-light{
  background:var(--surface-light);
  border:1px solid rgba(15,23,42,.08);
  color:var(--text-dark);
}

.mh-label{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.mh-label-dark{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#ffd8bf;
}

.mh-label-light{
  background:#fff3eb;
  border:1px solid rgba(255,122,26,.18);
  color:#b45309;
}

.mh-title{
  margin:12px 0 10px;
  font-size:clamp(32px, 5vw, 58px);
  line-height:1.05;
  font-weight:800;
}

.mh-subtitle{
  max-width:780px;
  font-size:18px;
  opacity:.88;
}

.mh-btns{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
}

.mh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 22px;
  border-radius:999px;
  font-size:15px;
  font-weight:700;
  transition:.22s ease;
}

.mh-btn-primary{
  background:linear-gradient(90deg,var(--accent), var(--accent-2));
  color:#fff;
}

.mh-btn-secondary{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
}

.mh-btn-secondary-dark{
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:var(--text-dark);
}

.mh-grid-2{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
}

.mh-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.mh-grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.mh-pill-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.mh-pill{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,122,26,.12);
  border:1px solid rgba(255,122,26,.20);
  color:#ffd9bf;
  font-size:13px;
  font-weight:700;
}

.mh-progress-track{
  width:100%;
  height:14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:hidden;
}

.mh-progress-fill{
  height:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

.mh-list{
  margin:0;
  padding-left:18px;
}

.mh-list li{
  margin:8px 0;
}

.mh-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.mh-gallery img{
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
}

.mh-hero{
  min-height:88vh;
  display:flex;
  align-items:center;
  background:
    linear-gradient(rgba(8,17,31,.52), rgba(8,17,31,.88)),
    var(--hero-image, linear-gradient(135deg,#0b1423,#08111f));
  background-size:cover;
  background-position:center;
}

.mh-hero .mh-title{color:#fff}
.mh-hero .mh-subtitle{color:#e2e8f0}

.mh-split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
}

.mh-photo-frame{
  border-radius:30px;
  padding:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.mh-photo{
  width:100%;
  aspect-ratio:4/5;
  border-radius:24px;
  object-fit:cover;
  object-position:center top;
  background:#1e293b;
}

.mh-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:14px;
}

.mh-mini-card{
  text-align:center;
  border-radius:18px;
  padding:14px 10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}

.mh-mini-card strong{
  display:block;
  font-size:18px;
}

.mh-mini-card span{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#d4dbe5;
}

.mh-section-head{margin-bottom:30px}

.mh-section-head h2{
  margin:10px 0 8px;
  font-size:clamp(28px,4vw,42px);
  line-height:1.12;
}

.mh-section-head p{
  max-width:780px;
  margin:0;
  color:var(--muted);
}

.mh-team-card{padding:24px}

.mh-team-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,122,26,.25), rgba(14,165,233,.10));
  margin-bottom:16px;
}

.mh-strava iframe{
  width:100%;
  min-height:390px;
  border:none;
  border-radius:18px;
  background:#08111f;
}

.mh-table-wrap{overflow-x:auto}

.mh-table{
  width:100%;
  border-collapse:collapse;
}

.mh-table th,
.mh-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.mh-table th{
  text-align:left;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.mh-table td:last-child,
.mh-table th:last-child{
  text-align:right;
}

.mh-qr{
  max-width:320px;
  width:100%;
  margin:0 auto;
  border-radius:20px;
  background:#fff;
  padding:12px;
  box-shadow:var(--shadow);
}

.mh-footer-note{
  font-size:14px;
  color:var(--muted);
}

@media (max-width:980px){
  .mh-grid-2,
  .mh-grid-3,
  .mh-grid-4,
  .mh-split{
    grid-template-columns:1fr;
  }

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

  .mh-hero{
    min-height:auto;
  }
}

@media (max-width:768px){
  .mh-section{
    padding:60px 0;
  }

  .mh-btns{
    flex-direction:column;
    align-items:stretch;
  }

  .mh-btns .mh-btn{
    width:100%;
  }

  .mh-gallery{
    grid-template-columns:1fr 1fr;
  }

  .mh-strava iframe{
    min-height:320px;
  }
}

@media (max-width:520px){
  .mh-container{
    width:min(calc(100% - 16px), var(--max));
  }

  .mh-gallery{
    grid-template-columns:1fr;
  }

  .mh-title{
    font-size:30px;
  }

  .mh-subtitle{
    font-size:16px;
  }
}