@charset "UTF-8";
/* =========================================================
   Kannadotsava Marathon 2026 - content & responsive updates
   Loaded after style.css on every page.
   ========================================================= */
/* Self-hosted Kannada fonts (Kannada glyphs only; Latin text keeps the site font) */
@font-face{font-family:"Baloo Tamma 2";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/baloo-tamma-2-kannada-500-normal.woff2) format("woff2");unicode-range:U+0C80-0CFF,U+200C-200D,U+25CC;}
@font-face{font-family:"Baloo Tamma 2";font-style:normal;font-weight:600 700;font-display:swap;src:url(../fonts/baloo-tamma-2-kannada-700-normal.woff2) format("woff2");unicode-range:U+0C80-0CFF,U+200C-200D,U+25CC;}
@font-face{font-family:"Baloo Tamma 2";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/baloo-tamma-2-kannada-800-normal.woff2) format("woff2");unicode-range:U+0C80-0CFF,U+200C-200D,U+25CC;}
@font-face{font-family:"Noto Sans Kannada";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/noto-sans-kannada-kannada-400-normal.woff2) format("woff2");unicode-range:U+0C80-0CFF,U+200C-200D,U+25CC;}
@font-face{font-family:"Noto Sans Kannada";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/noto-sans-kannada-kannada-700-normal.woff2) format("woff2");unicode-range:U+0C80-0CFF,U+200C-200D,U+25CC;}
:root {
    --kmt-red: #d0121b;
    --kmt-red-dark: #a50d14;
    --kmt-yellow: #ffc400;
    --kmt-cream: #fff8ea;
    --kmt-ink: #1b1b1b;
    --kmt-muted: #5d5d5d;
    --kmt-kn: "Poppins", "Baloo Tamma 2", "Noto Sans Kannada", sans-serif;
}

/* ---------- Global responsive safety ---------- */
body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
.kn, [lang="kn"] { font-family: var(--kmt-kn); }

@media (min-width: 992px) and (max-width: 1279px) {
    .marathon-header-container { padding-left: 16px !important; padding-right: 16px !important; gap: 12px; }
    .marathon-nav ul { gap: 16px !important; }
    .marathon-nav ul li a { font-size: 13.5px !important; }
    .marathon-logo img { max-height: 54px; width: auto; }
    .marathon-register-btn { padding: 10px 16px !important; font-size: 13px !important; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1099px) {
    .marathon-register-btn { display: none !important; }
}
@media (max-width: 575px) {
    .marathon-logo img { max-height: 46px; width: auto; }
    .scroll-progress-wrap { display: none; }
    .floating_btn { right: 12px !important; bottom: 16px !important; }
}

/* ---------- WhatsApp button (icon now local) ---------- */
.floating_btn .contact_icon { display: flex; align-items: center; justify-content: center; }
.floating_btn .contact_icon i.bi { font-size: 30px; color: #fff; line-height: 1; }

/* =========================================================
   HERO (text is live HTML, so Kannada always spells right)
   ========================================================= */
.kmt-hero .marathon-slider,
.kmt-hero .marathon-slide { height: clamp(520px, 72vh, 680px); }

.kmt-hero .marathon-slide { display: flex; align-items: center; }
.kmt-hero .marathon-slide-image {
    position: absolute; inset: 0; z-index: 0;
    object-position: 70% center;
}
.kmt-slide-2 .marathon-slide-image { object-position: center 30%; }

.kmt-slide-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(20,6,0,.86) 0%, rgba(40,10,0,.66) 42%, rgba(0,0,0,.08) 78%);
}
.kmt-slide-content {
    position: relative; z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 80px);
    color: #fff;
}
.kmt-kicker {
    display: inline-block;
    font-family: var(--kmt-kn);
    font-size: 15px; font-weight: 600;
    background: var(--kmt-yellow); color: #3a1d00;
    padding: 4px 14px 2px; border-radius: 30px;
    margin-bottom: 14px;
}
.kmt-hero h1, .kmt-hero h2.kmt-hero-title {
    font-family: var(--kmt-kn);
    font-weight: 800;
    font-size: clamp(38px, 6.2vw, 78px);
    line-height: 1.12;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.kmt-hero h1 span, .kmt-hero h2.kmt-hero-title span { color: var(--kmt-yellow); display: block; }
.kmt-hero-en {
    font-size: clamp(14px, 1.6vw, 19px);
    letter-spacing: .18em; font-weight: 700;
    text-transform: uppercase; color: #ffe7a3;
    margin: 0 0 18px;
}
.kmt-hero-slogan {
    font-family: var(--kmt-kn);
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 22px;
    border-left: 5px solid #ffffff;
    padding-left: 14px;
}
.kmt-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.kmt-hero-pills span {
    font-family: var(--kmt-kn);
    font-size: clamp(16px, 2vw, 22px); font-weight: 700;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    padding: 6px 18px 3px; border-radius: 40px;
}
.kmt-hero-meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: 15px; font-weight: 600; margin-bottom: 26px; color: #fff;
}
.kmt-hero-meta i { color: var(--kmt-yellow); margin-right: 6px; }
.kmt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kmt-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 40px;
    font-weight: 700; font-size: 15px;
    background: var(--kmt-red); color: #fff !important;
    border: 2px solid var(--kmt-red);
    transition: .25s ease; text-decoration: none;
}
.kmt-btn:hover { background: var(--kmt-red-dark); border-color: var(--kmt-red-dark); }
.kmt-btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.kmt-btn-ghost:hover { background: #fff; color: var(--kmt-red) !important; border-color: #fff; }
.kmt-big-kannada {
    font-family: var(--kmt-kn);
    font-weight: 800; line-height: 1;
    font-size: clamp(64px, 11vw, 140px);
    color: var(--kmt-yellow);
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
    margin: 0 0 6px;
}

@media (max-width: 767px) {
    .kmt-hero .marathon-slider,
    .kmt-hero .marathon-slide { height: 560px; }
    .kmt-slide-overlay { background: linear-gradient(180deg, rgba(20,6,0,.55) 0%, rgba(30,8,0,.82) 60%, rgba(20,6,0,.9) 100%); }
    .kmt-slide-content { padding: 0 20px 40px; align-self: flex-end; }
    .kmt-hero-meta { font-size: 14px; }
    .kmt-btn { padding: 11px 20px; font-size: 14px; }
    .marathon-slider-prev, .marathon-slider-next { display: none !important; }
}

/* ---------- Slogan strip ---------- */
.kmt-slogan-strip {
    background: var(--kmt-red);
    color: #fff;
    font-family: var(--kmt-kn);
    font-weight: 700;
    font-size: clamp(17px, 2.2vw, 24px);
    text-align: center;
    padding: 14px 16px 10px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
}
.kmt-slogan-strip span.dot { color: var(--kmt-yellow); }

/* ---------- Event highlight strip (home) ---------- */
@media (max-width: 991px) {
    .event-highlight-inner { flex-wrap: wrap; gap: 18px; justify-content: center; }
    .event-highlight-item { border: 0 !important; }
}
@media (max-width: 575px) {
    .event-highlight-inner { flex-direction: column; align-items: center; text-align: center; }
    .event-highlight-item h4 { justify-content: center; }
    .event-categories { justify-content: center; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.kmt-section {padding: 60px 0px;}
.kmt-section-alt { background: var(--kmt-cream); }
.kmt-container { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
.kmt-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--kmt-red);
    margin-bottom: 10px;
}
.kmt-title {
    font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--kmt-ink);
    line-height: 1.2; margin-bottom: 14px;
}
.kmt-title.kn { font-family: var(--kmt-kn); }
.kmt-lead { font-size: 17px; color: var(--kmt-muted); max-width: 760px; line-height: 1.7; }
.kmt-lead.kn { font-size: 18px; }
.kmt-center { text-align: center; }
.kmt-center .kmt-lead { margin-left: auto; margin-right: auto; }

/* Language toggle */
.kmt-lang-toggle {
    display: inline-flex; background: #fff; border: 1px solid #f0d9a8;
    border-radius: 40px; padding: 4px; margin: 10px 0 30px;
}
.kmt-lang-toggle button {
    border: 0; background: transparent; padding: 8px 22px; border-radius: 40px;
    font-weight: 700; font-size: 15px; color: var(--kmt-ink); cursor: pointer;
}
.kmt-lang-toggle button.kn { font-family: var(--kmt-kn); font-size: 16px; }
.kmt-lang-toggle button.active { background: var(--kmt-red); color: #fff; }
.kmt-lang-panel[hidden] { display: none !important; }

.kmt-why-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px; margin-top: 10px; counter-reset: why;
}
.kmt-why-card {
    background: #fff; border-radius: 16px; padding: 24px 22px 20px;
    border: 1px solid #f3e3c2; position: relative;
    box-shadow: 0 6px 22px rgba(160, 90, 0, .06);
    counter-increment: why;
}
.kmt-why-card::before {
    content: counter(why, decimal-leading-zero);
    display: block; font-weight: 800; font-size: 26px; color: var(--kmt-red);
    margin-bottom: 8px; line-height: 1;
}
.kmt-why-card p { margin: 0; color: #333; line-height: 1.65; font-size: 15.5px; }
.kmt-lang-panel.kn .kmt-why-card p { font-family: var(--kmt-kn); font-size: 16.5px; }

/* Vision */
.kmt-vision {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(90deg, rgba(120,8,8,.92), rgba(190,20,20,.78)), url('../img/kmt/hero-1.jpg') center/cover no-repeat;
    border-radius: 24px; padding: clamp(32px, 6vw, 64px);
    text-align: center;
}
.kmt-vision .kmt-eyebrow { color: var(--kmt-yellow); }
.kmt-vision h2 {
    font-family: var(--kmt-kn); font-weight: 800; color: #fff;
    font-size: clamp(26px, 4vw, 44px); line-height: 1.3; margin-bottom: 14px;
}
.kmt-vision p { max-width: 780px; margin: 0 auto 12px; line-height: 1.75; color: #fff3df; font-size: 16.5px; }
.kmt-vision p.kn { font-family: var(--kmt-kn); font-size: 18px; }
.kmt-vision .kmt-callout {
    font-family: var(--kmt-kn); font-weight: 700; color: var(--kmt-yellow);
    font-size: clamp(19px, 2.4vw, 26px); margin: 22px auto 26px;
}

/* =========================================================
   BREADCRUMB (inner page banner)
   ========================================================= */
.reg-hero {
    background-image:
        linear-gradient(90deg, rgba(255,248,234,.97) 0%, rgba(255,248,234,.88) 34%, rgba(255,248,234,.15) 70%, rgba(255,248,234,0) 100%),
        url('../img/kmt/breadcrumb.jpg') !important;
    background-size: cover !important;
    background-position: center right !important;
    height: 280px;
}
.reg-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.reg-hero p { font-size: 15px; }
.reg-hero .kmt-crumb-kn { font-family: var(--kmt-kn); font-weight: 700; color: var(--kmt-red); font-size: 17px; margin-bottom: 4px; display: block; }
@media (max-width: 576px) {
    .reg-hero {
        height: 170px; padding: 0 20px;
        background-image:
            linear-gradient(90deg, rgba(255,248,234,.96) 0%, rgba(255,248,234,.8) 60%, rgba(255,248,234,.35) 100%),
            url('../img/kmt/breadcrumb.jpg') !important;
    }
    .reg-hero p { font-size: 13px; max-width: 260px; }
}

/* =========================================================
   REGISTRATION
   ========================================================= */
.fee-option.expired { opacity: .45; pointer-events: none; filter: grayscale(1); }
.fee-option.expired small::after { content: " \00B7  Closed"; font-weight: 700; color: var(--kmt-red); }
.kmt-reg-closed {
    display: none; background: #fff1f1; border: 1px solid #f3b8b8; color: var(--kmt-red-dark);
    border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-weight: 600; font-size: 14px;
}
.kmt-reg-closed.show { display: block; }
.kmt-fee-note { font-size: 13px; color: var(--kmt-muted); margin-top: 10px; }
@media (max-width: 991px) {
    .registration-container { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) {
    .fee-options, .category-options { grid-template-columns: 1fr 1fr; gap: 10px; }
    .fee-option h2 { font-size: 24px; }
    .gender-options { flex-wrap: wrap; gap: 10px; }
}

/* =========================================================
   EVENT DETAILS
   ========================================================= */
.event-image-wrapper img { width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 3 / 2; }
.kmt-kit-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px;
}
.kmt-kit-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #f0e2c6; box-shadow: 0 6px 20px rgba(0,0,0,.05);
    display: flex; flex-direction: column;
}
.kmt-kit-card a { display: block; background: #1a0e08; }
.kmt-kit-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .4s ease; }
.kmt-kit-card a:hover img { transform: scale(1.04); }
.kmt-kit-card h4 { font-size: 16px; font-weight: 700; margin: 14px 16px 4px; }
.kmt-kit-card p { font-size: 14px; color: var(--kmt-muted); margin: 0 16px 16px; }
.kmt-facts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 6px;
}
.kmt-fact {
    background: var(--kmt-cream); border-radius: 14px; padding: 18px; text-align: center;
    border: 1px solid #f3e3c2;
}
.kmt-fact strong { display: block; font-size: 24px; font-weight: 800; color: var(--kmt-red); }
.kmt-fact span { font-size: 14px; color: #444; }
@media (max-width: 991px) {
    .kmt-kit-grid, .kmt-facts { grid-template-columns: repeat(2, 1fr); }
    .event-overview-grid, .event-bottom-grid { grid-template-columns: 1fr !important; }
    .event-highlights { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .kmt-kit-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .kmt-kit-card h4 { font-size: 14px; margin: 10px 10px 2px; }
    .kmt-kit-card p { font-size: 12.5px; margin: 0 10px 12px; }
    .schedule-item { flex-wrap: wrap; }
}

/* =========================================================
   GUESTS (no photos)
   ========================================================= */
.kmt-guest-card {
    background: #fff; border: 1px dashed #e9c98a; border-radius: 18px;
    padding: 34px 20px 26px; text-align: center; height: 100%;
}
.kmt-guest-avatar {
    width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--kmt-cream); border: 2px dashed #e9c98a;
    display: flex; align-items: center; justify-content: center;
    font-size: 46px; color: #e2b867;
}
.kmt-guest-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.kmt-guest-card p { font-size: 14px; color: var(--kmt-muted); margin: 0; }
.kmt-guest-banner {
    margin-top: 40px; border-radius: 20px; padding: 34px 20px; text-align: center;
    background: linear-gradient(90deg, #ffc400 0 50%, #d0121b 50% 100%);
}
.kmt-guest-banner h2 {
    font-family: var(--kmt-kn); font-weight: 800; margin: 0;
    font-size: clamp(24px, 4vw, 40px); color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* =========================================================
   ORGANISERS - Board of Directors
   ========================================================= */
.kmt-board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.kmt-board-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    border: 1px solid #f0e2c6; box-shadow: 0 10px 30px rgba(120, 60, 0, .07);
    display: flex; flex-direction: column;
}
.kmt-board-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #eee; }
.kmt-board-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.kmt-board-body { padding: 22px 22px 26px; }
.kmt-board-role {
    display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
    color: var(--kmt-red); text-transform: uppercase; margin-bottom: 6px;
}
.kmt-board-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.kmt-board-body h4 { font-size: 14.5px; font-weight: 600; color: #6a4b12; margin-bottom: 12px; }
.kmt-board-body p { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 8px; }
.kmt-board-logo { margin-top: 10px; max-width: 170px; }

.kmt-credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.kmt-credit {
    background: #fff; border: 1px solid #f0e2c6; border-radius: 16px; padding: 22px; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.kmt-credit span { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--kmt-red); text-transform: uppercase; }
.kmt-credit strong { font-size: 17px; }
.kmt-credit img { max-height: 70px; width: auto; }
@media (max-width: 991px) {
    .kmt-board-grid { grid-template-columns: repeat(2, 1fr); }
    .kmt-credits { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .kmt-board-grid { grid-template-columns: 1fr; }
    .kmt-board-photo { aspect-ratio: 1 / 1; }
}

/* =========================================================
   SPONSORS
   ========================================================= */
.sponsor-logo img, .associate-logo img { max-height: 90px; width: auto; object-fit: contain; }
.kmt-logo-box {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 18px; min-height: 120px;
}
.kmt-logo-box img { max-height: 84px; width: auto; max-width: 100%; }
.kmt-logo-tba {
    background: var(--kmt-cream); border: 1px dashed #e9c98a; border-radius: 12px;
    min-height: 100px; display: flex; align-items: center; justify-content: center;
    color: #d6a64f; font-size: 30px;
}
@media (max-width: 767px) {
    .partner-enquiry { flex-direction: column; text-align: center; gap: 16px; }
    .partner-enquiry-content { flex-direction: column; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.kmt-year-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 30px; }
.kmt-year-tabs button {
    border: 2px solid var(--kmt-red); background: #fff; color: var(--kmt-red);
    font-weight: 800; padding: 8px 24px; border-radius: 40px; cursor: pointer; font-size: 16px;
}
.kmt-year-tabs button.active { background: var(--kmt-red); color: #fff; }
.kmt-gallery-grid { columns: 3 280px; column-gap: 16px; }
.kmt-gallery-grid a {
    display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 14px; overflow: hidden;
    position: relative; background: #f3e9d6;
}
.kmt-gallery-grid img { width: 100%; display: block; transition: transform .45s ease; }
.kmt-gallery-grid a:hover img { transform: scale(1.04); }
.kmt-gallery-grid a::after {
    content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; right: 12px; bottom: 12px;
    width: 38px; height: 38px; border-radius: 50%; background: rgba(208,18,27,.92); color: #fff;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: .25s;
}
.kmt-gallery-grid a:hover::after { opacity: 1; }
.kmt-gallery-empty {
    text-align: center; padding: 50px 20px; border: 1px dashed #e9c98a; border-radius: 16px;
    background: var(--kmt-cream); color: var(--kmt-muted);
}
.kmt-gallery-year[hidden] { display: none !important; }

/* =========================================================
   CONTACT / ROUTE / FOOTER
   ========================================================= */
.contact-info-content a { word-break: break-word; }
@media (max-width: 991px) {
    .route-section .row > [class*="col-"] { width: 100%; }
}
.marathon-footer .marathon-footer-text h6 a { word-break: break-word; }
.footer-logo img { max-width: 260px; }
@media (max-width: 767px) {
    .footer-bottom .copyright-area p { font-size: 13px; text-align: center; }
    .footer-wrapper { padding-left: 20px !important; padding-right: 20px !important; }
}


/* ===== v2: new hero, breadcrumb and route map ===== */
.kmt-slide-1 .marathon-slide-image { object-position: center center; }
.kmt-slide-1 .kmt-slide-overlay {
    background: radial-gradient(ellipse 46% 70% at 50% 48%, rgba(70,18,0,.62) 0%, rgba(70,18,0,.35) 55%, rgba(0,0,0,0) 100%);
}
.kmt-slide-1 .kmt-slide-content { text-align: center; }
.kmt-slide-1 .kmt-hero-meta, .kmt-slide-1 .kmt-hero-actions { justify-content: center; }

.kmt-slide-2 { background: linear-gradient(115deg, #9e0b12 0%, #d0121b 42%, #f06a12 72%, #ffb300 100%); }
.kmt-slide-2 .kmt-slide-overlay { display: none; }
.kmt-slide-2 .kmt-slide-content { width: min(1180px,100%); }
.kmt-slide-2 .kmt-slide-content > * { max-width: 46%; }
.kmt-group-img {
    position: absolute; right: 2%; bottom: 0; z-index: 1;
    height: 92%; width: auto; max-width: 58%; object-fit: contain; object-position: bottom right;
}
@media (max-width: 767px) {
    .kmt-slide-1 .marathon-slide-image { object-position: 55% center; }
    .kmt-slide-1 .kmt-slide-overlay { background: linear-gradient(180deg, rgba(60,15,0,.35), rgba(60,15,0,.72)); }
    .kmt-slide-1 .kmt-slide-content { align-self: center; padding-bottom: 0; }
    .kmt-slide-2 .kmt-slide-content { align-self: flex-start; padding-top: 34px; }
    .kmt-slide-2 .kmt-slide-content > * { max-width: 100%; }
    .kmt-group-img { max-width: 100%; height: auto; width: 100%; right: 0; }
}

.reg-hero {
    background-image: linear-gradient(90deg, rgba(255,240,210,0) 25%, rgba(255,240,210,.55) 50%, rgba(255,240,210,0) 75%), url('../img/kmt/breadcrumb.jpg') !important;
    background-position: center !important;
    justify-content: center; text-align: center;
}
.reg-hero h1 { color: #3a1300; }
.reg-hero p { color: #4b2a10; font-weight: 500; }
@media (max-width: 576px) {
    .reg-hero {
        background-image: linear-gradient(rgba(255,236,200,.55), rgba(255,236,200,.55)), url('../img/kmt/breadcrumb.jpg') !important;
        background-position: 45% center !important;
    }
    .reg-hero p { margin: 0 auto; }
}

.kmt-route-img { padding: 0 !important; background: #fff; }
.kmt-route-img a { display: block; position: relative; border-radius: 14px; overflow: hidden; }
.kmt-route-img img { width: 100%; height: auto; display: block; }
.kmt-route-img .kmt-zoom {
    position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.7); color: #fff;
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
}
.route-legend .walk-line { background: #0b7a2f !important; }
.route-legend .run-line { background: #e3262b !important; }
.map-background.kmt-route-img { height: auto !important; background-image: none !important; }
.kmt-big-kannada { margin-bottom: 30px !important; line-height: 1.15 !important; }
.kmt-group-img { border-radius: 22px 22px 0 0; border: 6px solid rgba(255,255,255,.9); border-bottom: 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); height: 86%; }
@media (max-width: 767px) { .kmt-group-img { border-width: 4px; border-radius: 16px 16px 0 0; } .kmt-big-kannada { margin-bottom: 16px !important; } }
@media (max-width: 767px) {
    .kmt-group-img { height: auto !important; max-height: 50%; width: auto !important; max-width: 96%; right: auto; left: 50%; transform: translateX(-50%); }
}

/* ===== Terms & Conditions ===== */
.kmt-terms-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.kmt-terms-toc { position: sticky; top: 100px; background: var(--kmt-cream); border: 1px solid #f0e2c6; border-radius: 16px; padding: 22px; }
.kmt-terms-toc h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.kmt-terms-toc ol { list-style: none; padding: 0; margin: 0; }
.kmt-terms-toc li a { display: block; padding: 5px 0; font-size: 14px; color: #333; }
.kmt-terms-toc li a:hover { color: var(--kmt-red); }
.kmt-terms-intro { font-size: 16px; color: var(--kmt-muted); margin-bottom: 26px; }
.kmt-terms-sec { padding: 22px 0; border-top: 1px solid #f0e6d4; scroll-margin-top: 100px; }
.kmt-terms-sec h2 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kmt-terms-sec h2 span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--kmt-red); color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.kmt-terms-sec p, .kmt-terms-sec li { font-size: 15.5px; line-height: 1.75; color: #3a3a3a; }
.kmt-terms-sec ul { padding-left: 20px; margin: 0; }
.kmt-terms-sec li { margin-bottom: 6px; }
.kmt-terms-alert { background: #fff1f1; border: 1px solid #f3b8b8; color: var(--kmt-red-dark) !important; font-weight: 800; border-radius: 12px; padding: 12px 16px; }
.kmt-terms-contact { list-style: none; padding: 0 !important; }
.reg-terms a { color: var(--kmt-red); font-weight: 600; text-decoration: underline; }
@media (max-width: 991px) {
    .kmt-terms-wrap { grid-template-columns: 1fr; gap: 20px; }
    .kmt-terms-toc { position: static; }
}

/* ===== Registration package ===== */
.kmt-pack { padding: 50px 0 10px; }
.kmt-pack-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px rgba(150,40,0,.12); border: 1px solid #f0e2c6; }
.kmt-pack-intro { background: linear-gradient(135deg,#a50d14 0%,#d0121b 55%,#ef5a12 100%); color: #fff; padding: clamp(26px,4vw,44px); }
.kmt-pack-intro .kmt-eyebrow { color: var(--kmt-yellow); }
.kmt-pack-intro h2 { color: #fff; font-size: clamp(24px,3vw,34px); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.kmt-pack-price { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kmt-pack-price strong { font-size: clamp(40px,5vw,56px); font-weight: 800; color: var(--kmt-yellow); line-height: 1; }
.kmt-pack-price span { font-weight: 600; line-height: 1.35; }
.kmt-pack-price small { font-weight: 500; opacity: .85; font-size: 12.5px; }
.kmt-pack-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.kmt-pack-cats span { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); border-radius: 30px; padding: 7px 16px; font-weight: 700; font-size: 15px; }
.kmt-pack-family { color: #fff3df; font-size: 16px; line-height: 1.65; margin-bottom: 10px; }
.kmt-pack-kn { font-family: var(--kmt-kn); font-weight: 800; font-size: clamp(20px,2.4vw,26px); color: var(--kmt-yellow); margin: 0; }
.kmt-pack-list { background: #fff; padding: clamp(26px,4vw,44px); }
.kmt-pack-list h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.kmt-pack-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kmt-pack-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; color: #2a2a2a; }
.kmt-pack-list li i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--kmt-cream); color: var(--kmt-red); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.kmt-pack-refund { margin: 16px 0 0; font-size: 14px; color: #6b4a1a; background: var(--kmt-cream); border: 1px solid #f0e2c6; border-radius: 12px; padding: 12px 16px; }
.kmt-pack-refund i { color: var(--kmt-red); margin-right: 6px; }
.kmt-pack-refund a { color: var(--kmt-red); font-weight: 700; text-decoration: underline; }
.kmt-submit-note { font-size: 13px; color: var(--kmt-red-dark); margin: 12px 0 8px; }
@media (max-width: 860px) { .kmt-pack-card { grid-template-columns: 1fr; } }

/* ===== Top bar + language switch ===== */
.kmt-topbar { background: #1c0b05; color: #f5e6cf; font-size: 13.5px; position: relative; z-index: 1000; }
.kmt-topbar-inner { max-width: 1320px; margin: 0 auto; padding: 6px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.kmt-topbar-info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.kmt-topbar-info a { color: #f5e6cf; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.kmt-topbar-info a:hover { color: var(--kmt-yellow); }
.kmt-topbar-info i { color: var(--kmt-yellow); }
.kmt-topbar-slogan { font-family: var(--kmt-kn); font-weight: 700; color: var(--kmt-yellow); font-size: 15px; }
.kmt-lang-switch { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 30px; padding: 3px; flex-shrink: 0; }
.kmt-lang-switch > i { color: var(--kmt-yellow); margin: 0 4px 0 8px; font-size: 15px; }
.kmt-lang-switch button { border: 0; background: transparent; color: #f5e6cf; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 30px; cursor: pointer; line-height: 1.3; }
.kmt-lang-switch button[lang="kn"] { font-family: var(--kmt-kn); font-size: 14.5px; padding-top: 6px; padding-bottom: 3px; }
.kmt-lang-switch button.active { background: var(--kmt-red); color: #fff; }
.kmt-lang-switch button:focus-visible { outline: 2px solid var(--kmt-yellow); outline-offset: 2px; }
@media (max-width: 991px) { .kmt-hide-md { display: none !important; } }
@media (max-width: 575px) {
    .kmt-hide-sm { display: none !important; }
    .kmt-topbar-inner { padding: 5px 12px; }
    .kmt-lang-switch button { padding: 5px 11px; }
}

/* Kannada mode: use the Kannada font across the page and keep long words tidy */
html.kmt-kn body { font-family: "Poppins", "Baloo Tamma 2", "Noto Sans Kannada", sans-serif; }
html.kmt-kn .marathon-nav ul li a { font-size: 14px; }
html.kmt-kn h1, html.kmt-kn h2, html.kmt-kn h3, html.kmt-kn h4 { line-height: 1.35; }
@media (min-width: 992px) and (max-width: 1279px) {
    html.kmt-kn .marathon-nav ul { gap: 12px !important; }
    html.kmt-kn .marathon-nav ul li a { font-size: 12.5px !important; }
}
html.kmt-kn body *:not(i):not(.bi) { letter-spacing: normal !important; }
html.kmt-kn .event-label, html.kmt-kn .kmt-eyebrow, html.kmt-kn .event-date-text span, html.kmt-kn .event-date-text small { font-size: 14px; }
@media (min-width: 1280px) and (max-width: 1440px) {
    html.kmt-kn .marathon-nav ul { gap: 20px !important; }
    html.kmt-kn .marathon-register-btn { padding: 12px 20px !important; }
}
html.kmt-kn .kmt-lang-panel.kn > h3.kmt-title { display: none; }

/* ===== Registration: OTP verification, T-shirt size ===== */
.kmt-verify-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff8e1; border: 1px solid #f2dc9a; border-radius: 14px; padding: 12px 14px; margin: 4px 0 18px; font-size: 14px; color: #6b4a00; }
.kmt-verify-bar[hidden] { display: none; }
.kmt-verify-bar i { font-size: 18px; color: #d0121b; }
.kmt-verify-bar span { flex: 1 1 200px; }
.kmt-verify-btn { background: #d0121b; color: #fff !important; font-weight: 700; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 13.5px; }
.kmt-shake { animation: kmtShake .5s; }
@keyframes kmtShake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.kmt-verified-tag { font-style: normal; font-size: 12px; font-weight: 600; color: #15803d; background: #e7f6ec; padding: 2px 10px; border-radius: 999px; margin-left: 6px; }
.kmt-verified-tag[hidden] { display: none; }
input.kmt-locked { background: #f6f3ec !important; color: #444 !important; cursor: not-allowed; }
.kmt-size-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kmt-size-chart-btn { background: none; border: 0; padding: 0; font-size: 13px; font-weight: 600; color: #d0121b; cursor: pointer; }
.kmt-size-chart-btn:hover { text-decoration: underline; }
.kmt-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.kmt-sizes label { position: relative; cursor: pointer; margin: 0 !important; }
.kmt-sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kmt-sizes span { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px; border: 1.5px solid #e5d9c6; border-radius: 12px; background: #fff; font-weight: 600; font-size: 14px; transition: .2s; }
.kmt-sizes label:hover span { border-color: #d0121b; }
.kmt-sizes input:checked + span { background: #1a1210; border-color: #1a1210; color: #ffd54d; }
.kmt-sizes input:focus-visible + span { outline: 2px solid #ffc400; outline-offset: 2px; }
.kmt-sizes-kids { margin-top: 8px; align-items: center; }
.kmt-sizes-kids em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7a6d63; margin-right: 2px; }
.kmt-size-dialog { border: 0; border-radius: 22px; padding: 22px; width: min(420px, calc(100% - 32px)); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); }
.kmt-size-dialog::backdrop { background: rgba(26,10,4,.6); backdrop-filter: blur(3px); }
.kmt-size-dialog-head { display: flex; justify-content: space-between; align-items: center; }
.kmt-size-dialog h3 { margin: 0; font-size: 20px; font-weight: 800; }
.kmt-size-dialog-head button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #eadfca; background: #fff; cursor: pointer; }
.kmt-size-dialog p { font-size: 13px; color: #7a6d63; margin: 8px 0; }
.kmt-size-dialog table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kmt-size-dialog th, .kmt-size-dialog td { padding: 8px; text-align: center; border-bottom: 1px solid #f1e7d6; }
.kmt-size-dialog th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #7a6d63; }
.kmt-size-dialog td:first-child { font-weight: 700; }
.reg-form-group::after { content: ""; display: table; clear: both; }
.kmt-size-head { clear: both; width: 100%; }
.kmt-size-head label { flex: 1; white-space: nowrap; margin-bottom: 7px !important; }
.reg-form-group .kmt-sizes label span { color: #1a1210; margin: 0; }
.reg-form-group .kmt-sizes input:checked + span { color: #ffd54d; }
.reg-form-group .kmt-sizes input { width: 1px; height: 1px; padding: 0; border: 0; }

/* Organisers: smaller round photos, 5 people (3 + 2 centred) */
.kmt-board-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.kmt-board-grid .kmt-board-card { flex: 0 1 calc((100% - 44px) / 3); max-width: 360px; text-align: center; padding-top: 26px; }
.kmt-board-grid .kmt-board-photo { width: 150px; height: 150px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; border: 4px solid #f3d27a; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.kmt-board-grid .kmt-board-body { padding: 16px 20px 22px; }
.kmt-board-grid .kmt-board-body h3 { font-size: 20px; }
.kmt-board-grid .kmt-board-body p { font-size: 14px; line-height: 1.65; }
.kmt-board-grid .kmt-board-logo { max-width: 140px; margin-left: auto; margin-right: auto; display: block; }
@media (max-width: 991px) { .kmt-board-grid .kmt-board-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 575px) { .kmt-board-grid .kmt-board-card { flex-basis: 100%; } .kmt-board-grid .kmt-board-photo { width: 130px; height: 130px; aspect-ratio: 1 / 1; } }

/* Associate sponsor logo inside the small sponsor tiles */
.kmt-logo-assoc { padding: 8px; min-height: 100px; }
.kmt-logo-assoc img { max-height: 70px; }

/* Footer partner credit line */
.footer-section .footer-bottom-wrap .footer-bottom .copyright-area p.kmt-footer-partners { margin-top: 8px; font-size: 13px; font-weight: 400; }
.kmt-footer-partners strong { color: #c81025; font-weight: 700; }
.kmt-footer-partners .sep { margin: 0 8px; opacity: .6; }

/* NovaRace registration block (QR + link) — contact & registration pages */
.kmt-nova-section { padding: 10px 0 30px; }
.kmt-nova { background: #fff; border: 2px dashed #e9c98a; border-radius: 20px; padding: 28px; text-align: center; height: 100%; box-shadow: 0 10px 30px rgba(120, 60, 0, .07); }
.kmt-nova h2 { font-size: 28px; font-weight: 800; margin: 6px 0 8px; }
.kmt-nova > p { color: #555; margin: 0 auto 20px; max-width: 520px; }
.kmt-nova-body { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.kmt-nova-qr img { width: 190px; height: 190px; border: 1px solid #eee; border-radius: 12px; padding: 8px; background: #fff; display: block; }
.kmt-nova-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kmt-nova-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--kmt-red, #d0121b); color: #fff !important; font-weight: 700; padding: 13px 26px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 26px -12px rgba(208,18,27,.75); transition: .2s; }
.kmt-nova-btn:hover { background: #a50d14; transform: translateY(-2px); }
.kmt-nova-actions small { color: #777; font-size: 12.5px; word-break: break-all; }
