/*
Theme Name: JML FC Arena
Theme URI: https://www.jml-fc.nl/
Author: JML FC
Author URI: https://www.jml-fc.nl/
Description: Een eigen klassiek WordPress-thema voor JML FC, gericht op voetbalgames, Career Mode, Ajax, gamingnieuws en hardware.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: jml-fc-arena
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --jml-bg: #06101d;
    --jml-bg-soft: #091728;
    --jml-panel: #0d1d31;
    --jml-panel-2: #132741;
    --jml-line: rgba(255,255,255,.10);
    --jml-text: #f7f9ff;
    --jml-muted: #9cacbf;
    --jml-blue: #1da1ff;
    --jml-blue-dark: #0b75c9;
    --jml-lime: #b8ff3d;
    --jml-red: #ff4265;
    --jml-yellow: #ffd84a;
    --jml-white: #ffffff;
    --jml-ink: #132033;
    --jml-paper: #f4f7fb;
    --jml-radius-sm: 10px;
    --jml-radius: 18px;
    --jml-radius-lg: 28px;
    --jml-shadow: 0 22px 70px rgba(0,0,0,.28);
    --jml-container: 1240px;
    --jml-reading: 820px;
    --jml-header-height: 82px;
    --jml-transition: .22s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 85% 5%, rgba(29,161,255,.12), transparent 25rem),
        radial-gradient(circle at 12% 38%, rgba(184,255,61,.06), transparent 28rem),
        var(--jml-bg);
    color: var(--jml-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.search-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--jml-lime); color: #07111d; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    z-index: 100000;
    background: #fff;
    color: #111;
}

.jml-container { width: min(calc(100% - 40px), var(--jml-container)); margin-inline: auto; }
.jml-reading { width: min(calc(100% - 40px), var(--jml-reading)); margin-inline: auto; }
.site-main { min-height: 65vh; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .6em;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.025em;
    text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1.35em; }

.jml-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--jml-lime);
    font-family: "Barlow Condensed", sans-serif;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.jml-eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; border-radius: 99px; }
.jml-section { padding: 78px 0; }
.jml-section--tight { padding: 48px 0; }
.jml-section--paper { background: var(--jml-paper); color: var(--jml-ink); }
.jml-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.jml-section-heading h2 { margin: 0; }
.jml-section-heading p { max-width: 620px; margin: 0; color: var(--jml-muted); }

.jml-btn,
.wp-block-button__link,
input[type="submit"] {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--jml-lime);
    color: #07111d;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(184,255,61,.15);
    transition: transform var(--jml-transition), background var(--jml-transition), box-shadow var(--jml-transition);
}
.jml-btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover { transform: translateY(-2px); background: #cbff73; box-shadow: 0 14px 38px rgba(184,255,61,.23); }
.jml-btn--ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.jml-btn--ghost:hover { background: rgba(255,255,255,.11); }
.jml-btn--blue { background: var(--jml-blue); color: #fff; box-shadow: 0 10px 30px rgba(29,161,255,.18); }
.jml-btn--small { min-height: 42px; padding: 9px 15px; font-size: .9rem; }

/* Header */
.jml-topbar {
    position: relative;
    z-index: 1002;
    background: var(--jml-lime);
    color: #07111d;
    font-family: "Barlow Condensed", sans-serif;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.jml-topbar__inner { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.jml-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jml-red); box-shadow: 0 0 0 5px rgba(255,66,101,.18); animation: jmlPulse 1.8s infinite; }
@keyframes jmlPulse { 50% { box-shadow: 0 0 0 9px rgba(255,66,101,0); } }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6,16,29,.88);
    border-bottom: 1px solid var(--jml-line);
    backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.jml-header__inner { display: flex; min-height: var(--jml-header-height); align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-width: 190px; max-height: 54px; }
.jml-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.045em;
}
.jml-wordmark__badge {
    display: grid;
    width: 43px;
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid var(--jml-lime);
    border-radius: 11px 4px 11px 4px;
    background: linear-gradient(145deg, var(--jml-blue), #11446d);
    color: #fff;
    font-size: 1.2rem;
    transform: rotate(-4deg);
}
.jml-wordmark strong { color: var(--jml-lime); }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 9px;
    color: #dce7f4;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: background var(--jml-transition), color var(--jml-transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a { background: rgba(255,255,255,.07); color: var(--jml-lime); }
.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: none;
    width: 240px;
    padding: 10px;
    background: #0c1a2c;
    border: 1px solid var(--jml-line);
    border-radius: 14px;
    box-shadow: var(--jml-shadow);
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu a { width: 100%; min-height: 40px; text-transform: none; }
.jml-header-actions { display: flex; align-items: center; gap: 8px; }
.jml-icon-btn {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--jml-line);
    border-radius: 11px;
    background: rgba(255,255,255,.04);
    color: #fff;
    transition: background var(--jml-transition), border-color var(--jml-transition);
}
.jml-icon-btn:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.jml-menu-toggle { display: none; }

/* Het mobiele menu staat bewust buiten de sticky header. Zo kan iOS Safari
   het vaste paneel niet meer binnen de header of achter de hero plaatsen. */
.jml-mobile-navigation { display: none; }
.jml-search-panel {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(3,9,17,.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--jml-transition), visibility var(--jml-transition);
}
.search-open .jml-search-panel { opacity: 1; visibility: visible; }
.jml-search-panel__inner { width: min(700px, 100%); }
.jml-search-panel__close { position: absolute; top: 24px; right: 24px; }

/* Search form */
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-field,
.jml-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    outline: 0;
    background: rgba(255,255,255,.06);
    color: #fff;
}
.search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--jml-blue); box-shadow: 0 0 0 4px rgba(29,161,255,.12); }
.search-submit { flex: 0 0 auto; }

/* Homepage hero */
.jml-hero {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    padding: 82px 0 58px;
    border-bottom: 1px solid var(--jml-line);
}
.jml-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,16,29,.98) 0%, rgba(6,16,29,.78) 50%, rgba(6,16,29,.28) 100%),
        linear-gradient(180deg, transparent 55%, var(--jml-bg) 100%);
    z-index: 1;
}
.jml-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(360px) rotateX(66deg) scale(1.5);
    transform-origin: bottom center;
}
.jml-hero__media { position: absolute; inset: 0 0 0 42%; }
.jml-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.04); }
.jml-hero__placeholder { width: 100%; height: 100%; background: linear-gradient(130deg, #153a61, #081422 72%); }
.jml-hero__content { position: relative; z-index: 2; width: min(760px, 68%); }
.jml-hero h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(3.8rem, 7.5vw, 7.2rem); }
.jml-hero h1 span { color: var(--jml-lime); }
.jml-hero__lead { max-width: 680px; color: #c8d4e3; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.jml-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 24px 0 28px; color: #b6c5d7; font-size: .9rem; }
.jml-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jml-hero__scorecard {
    position: absolute;
    right: 0;
    bottom: 34px;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    width: min(390px, 100%);
    padding: 16px;
    background: rgba(9,23,40,.86);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    box-shadow: var(--jml-shadow);
    backdrop-filter: blur(12px);
}
.jml-hero__score { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 14px; background: var(--jml-lime); color: #07111d; font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; font-weight: 900; }
.jml-hero__scorecard small { display: block; color: var(--jml-lime); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.jml-hero__scorecard strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.25rem; line-height: 1.15; }

.jml-ticker { position: relative; z-index: 4; margin-top: -1px; background: #0a1727; border-bottom: 1px solid var(--jml-line); }
.jml-ticker__inner { display: grid; grid-template-columns: auto 1fr; align-items: stretch; }
.jml-ticker__label { display: flex; align-items: center; padding: 14px 18px; background: var(--jml-blue); color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); }
.jml-ticker__items { display: flex; min-width: 0; align-items: center; overflow: hidden; }
.jml-ticker__items a { position: relative; flex: 1 1 auto; min-width: 230px; padding: 13px 22px; overflow: hidden; color: #d7e0ec; font-size: .9rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.jml-ticker__items a + a::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--jml-line); }
.jml-ticker__items a:hover { color: var(--jml-lime); }

/* Cards */
.jml-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.jml-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.jml-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: var(--jml-panel);
    border: 1px solid var(--jml-line);
    border-radius: var(--jml-radius);
    box-shadow: 0 14px 42px rgba(0,0,0,.14);
    transition: transform var(--jml-transition), border-color var(--jml-transition), box-shadow var(--jml-transition);
}
.jml-card:hover { transform: translateY(-6px); border-color: rgba(29,161,255,.42); box-shadow: 0 24px 62px rgba(0,0,0,.28); }
.jml-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(140deg, #174c78, #07111d); }
.jml-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(6,16,29,.85)); }
.jml-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.jml-card:hover .jml-card__media img { transform: scale(1.045); }
.jml-card__body { padding: 22px; }
.jml-card { color: var(--jml-text); }
.jml-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; color: #aab9cb; font-size: .79rem; }
.jml-chip {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(29,161,255,.13);
    color: #63c2ff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.jml-chip--lime { background: rgba(184,255,61,.14); color: var(--jml-lime); }
.jml-card h3 { margin-bottom: 12px; font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: 1.02; color: var(--jml-white); }
.jml-card h3 a { color: var(--jml-white); }
.jml-card h3 a:hover { color: var(--jml-lime); }
.jml-card__excerpt { margin: 0; color: #c8d4e2; font-size: .94rem; line-height: 1.62; }
.jml-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.jml-card__read { color: var(--jml-lime); font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

.jml-card--featured { grid-column: span 2; }
.jml-card--featured .jml-card__media { aspect-ratio: 16/7.8; }
.jml-card--featured h3 { font-size: clamp(2rem, 3.5vw, 3.2rem); }

/* Category lanes */
.jml-lanes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.jml-lane {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    padding: 23px;
    border: 1px solid var(--jml-line);
    border-radius: var(--jml-radius);
    background: linear-gradient(145deg, var(--jml-panel-2), var(--jml-panel));
}
.jml-lane::before { content: ""; position: absolute; right: -40px; bottom: -70px; width: 170px; height: 170px; border: 24px solid rgba(255,255,255,.035); border-radius: 50%; }
.jml-lane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 45%, rgba(29,161,255,.08)); pointer-events: none; }
.jml-lane:nth-child(2)::after { background: linear-gradient(120deg, transparent 45%, rgba(184,255,61,.08)); }
.jml-lane:nth-child(3)::after { background: linear-gradient(120deg, transparent 45%, rgba(255,66,101,.09)); }
.jml-lane:nth-child(4)::after { background: linear-gradient(120deg, transparent 45%, rgba(255,216,74,.08)); }
.jml-lane__number { color: rgba(255,255,255,.16); font-family: "Barlow Condensed", sans-serif; font-size: 3.9rem; font-weight: 900; line-height: .8; }
.jml-lane h3 { position: relative; z-index: 1; margin-top: 25px; font-size: 2rem; }
.jml-lane p { position: relative; z-index: 1; margin: 0; color: var(--jml-muted); font-size: .9rem; line-height: 1.5; }
.jml-lane:hover { border-color: rgba(184,255,61,.38); }

/* Feature strip */
.jml-feature-strip { position: relative; overflow: hidden; background: linear-gradient(135deg, #0d2d4c, #0a1625 72%); }
.jml-feature-strip::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.13) 49%, rgba(255,255,255,.13) 51%, transparent 52%); background-size: 52px 52px; }
.jml-feature-strip__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.jml-feature-strip__image { overflow: hidden; aspect-ratio: 16/10; border-radius: var(--jml-radius-lg); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--jml-shadow); transform: rotate(-1.5deg); }
.jml-feature-strip__image img { width: 100%; height: 100%; object-fit: cover; }
.jml-feature-strip__content p { color: #b8c6d7; }

/* Community CTA */
.jml-community { padding: 56px 0; }
.jml-community__box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 42px;
    border: 1px solid rgba(184,255,61,.32);
    border-radius: var(--jml-radius-lg);
    background: linear-gradient(130deg, rgba(184,255,61,.12), rgba(29,161,255,.10));
}
.jml-community__box::after { content: "JML"; position: absolute; right: 180px; top: 50%; color: rgba(255,255,255,.035); font-family: "Barlow Condensed", sans-serif; font-size: 13rem; font-weight: 900; line-height: 1; transform: translateY(-50%); }
.jml-community h2 { margin-bottom: 10px; }
.jml-community p { max-width: 720px; margin: 0; color: #b8c7d8; }

/* Archive and search */
.jml-page-hero { padding: 74px 0 50px; border-bottom: 1px solid var(--jml-line); background: linear-gradient(150deg, rgba(29,161,255,.1), transparent 50%); }
.jml-page-hero h1 { max-width: 900px; margin-bottom: 12px; }
.jml-page-hero p { max-width: 760px; color: var(--jml-muted); }
.jml-post-list { padding: 56px 0 82px; }
.jml-pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: grid; min-width: 44px; height: 44px; padding: 0 12px; place-items: center; border: 1px solid var(--jml-line); border-radius: 10px; background: var(--jml-panel); font-weight: 800; }
.page-numbers.current,
.page-numbers:hover { background: var(--jml-blue); border-color: var(--jml-blue); color: #fff; }

/* Single */
.jml-progress { position: fixed; top: 0; left: 0; z-index: 1200; width: 0; height: 3px; background: linear-gradient(90deg, var(--jml-blue), var(--jml-lime)); }
.admin-bar .jml-progress { top: 32px; }
.jml-single-hero { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 1px solid var(--jml-line); }
.jml-single-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.jml-single-hero h1 { margin-bottom: 22px; font-size: clamp(3.2rem, 6vw, 6rem); }
.jml-single-hero__image { overflow: hidden; aspect-ratio: 16/10; border-radius: var(--jml-radius-lg); border: 1px solid var(--jml-line); box-shadow: var(--jml-shadow); }
.jml-single-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.jml-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: var(--jml-muted); font-size: .82rem; }
.jml-breadcrumbs a:hover { color: var(--jml-lime); }
.jml-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: #b8c5d5; font-size: .88rem; }
.jml-article-wrap { padding: 70px 0 86px; background: var(--jml-paper); color: var(--jml-ink); }
.jml-article-layout { display: grid; grid-template-columns: minmax(0, var(--jml-reading)) 290px; gap: 52px; justify-content: center; align-items: start; }
.jml-article {
    min-width: 0;
    padding: clamp(25px, 5vw, 58px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--jml-radius-lg);
    box-shadow: 0 20px 60px rgba(16,35,60,.08);
}
.jml-entry-content { font-size: 1.06rem; line-height: 1.84; }
.jml-entry-content > *:first-child { margin-top: 0; }
.jml-entry-content h2,
.jml-entry-content h3,
.jml-entry-content h4 { margin-top: 1.7em; color: #0c1c30; line-height: 1.05; }
.jml-entry-content h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
.jml-entry-content h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.jml-entry-content a { color: #087bc6; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.jml-entry-content a:hover { color: #045b92; }
.jml-entry-content img { margin: 30px auto; border-radius: 14px; }
.jml-entry-content ul,
.jml-entry-content ol { padding-left: 1.35em; }
.jml-entry-content li { margin-bottom: .55em; }
.jml-entry-content blockquote { margin: 32px 0; padding: 22px 26px; border-left: 5px solid var(--jml-blue); border-radius: 0 14px 14px 0; background: #eef7ff; font-family: "Barlow Condensed", sans-serif; font-size: 1.45rem; font-weight: 700; line-height: 1.35; }
.jml-entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.jml-entry-content th,
.jml-entry-content td { padding: 12px 14px; border: 1px solid #dfe6ee; text-align: left; white-space: nowrap; }
.jml-entry-content th { background: #edf3f8; }
.jml-entry-content .wp-block-button__link { color: #07111d; text-decoration: none; }
.jml-share { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #e3e9f0; }
.jml-share button,
.jml-share a { min-height: 40px; padding: 8px 13px; border: 1px solid #d9e1e9; border-radius: 9px; background: #f8fafc; color: #1b2b3f; font-size: .86rem; font-weight: 800; }
.jml-share button:hover,
.jml-share a:hover { background: #eaf4ff; border-color: #a8d8fa; }
.jml-sidebar { position: sticky; top: 116px; display: grid; gap: 20px; }
.jml-widget { padding: 22px; border: 1px solid #dde5ed; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(16,35,60,.06); }
.jml-widget h3 { margin-bottom: 16px; color: #0b1a2c; font-size: 1.65rem; }
.jml-widget ul { margin: 0; padding: 0; list-style: none; }
.jml-widget li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e8edf2; }
.jml-widget a { color: #1b2c41; font-size: .9rem; font-weight: 700; line-height: 1.4; }
.jml-widget a:hover { color: #087bc6; }
.jml-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jml-tags a { padding: 6px 10px; border-radius: 999px; background: #eef3f8; color: #31465d; font-size: .8rem; font-weight: 700; }

/* Comments */
.comments-area { margin-top: 44px; }
.comments-title { color: #0b1a2c; }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin-bottom: 18px; padding: 20px; border: 1px solid #e1e8ef; border-radius: 14px; background: #fff; }
.comment-meta { font-size: .85rem; }
.comment-content { margin-top: 12px; }
.comment-form label { display: block; margin-bottom: 5px; color: #25374a; font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { border-color: #dbe4ec; background: #f8fafc; color: #17273a; }

/* Footer */
.site-footer { border-top: 1px solid var(--jml-line); background: #040b14; }
.jml-footer-main { padding: 62px 0 42px; }
.jml-footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1fr; gap: 40px; }
.jml-footer-brand p { max-width: 430px; margin-top: 18px; color: var(--jml-muted); }
.jml-footer-title { margin-bottom: 17px; color: #fff; font-size: 1.3rem; }
.jml-footer-menu { margin: 0; padding: 0; list-style: none; }
.jml-footer-menu li + li { margin-top: 9px; }
.jml-footer-menu a { color: #aebccd; font-size: .92rem; }
.jml-footer-menu a:hover { color: var(--jml-lime); }
.jml-footer-community { padding: 20px; border: 1px solid rgba(184,255,61,.22); border-radius: 15px; background: rgba(184,255,61,.06); }
.jml-footer-community p { color: #b7c4d4; font-size: .9rem; line-height: 1.55; }
.jml-footer-bottom { padding: 20px 0; border-top: 1px solid var(--jml-line); color: #78899f; font-size: .82rem; }
.jml-footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* 404 */
.jml-404 { display: grid; min-height: 70vh; place-items: center; padding: 80px 0; text-align: center; }
.jml-404__number { color: rgba(184,255,61,.16); font-family: "Barlow Condensed", sans-serif; font-size: clamp(9rem, 26vw, 22rem); font-weight: 900; line-height: .65; }
.jml-404 h1 { margin-top: -25px; }
.jml-404 p { max-width: 620px; margin-inline: auto; color: var(--jml-muted); }

/* WordPress basics */
.alignleft { float: left; margin: 0 24px 18px 0; }
.alignright { float: right; margin: 0 0 18px 24px; }
.aligncenter { margin-inline: auto; }
.alignwide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: 8px; color: #647489; font-size: .82rem; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.sticky { outline: 1px solid rgba(184,255,61,.5); }
.bypostauthor { box-shadow: inset 4px 0 var(--jml-blue); }

@media (max-width: 1080px) {
    .site-header {
        z-index: 10020;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(6,16,29,.99);
    }
    .jml-topbar { z-index: 10021; }
    .main-navigation--desktop { display: none; }
    .site-branding,
    .jml-header-actions { position: relative; z-index: 2; }

    .jml-mobile-navigation {
        position: fixed;
        inset: 0;
        z-index: 10010;
        display: block;
        padding:
            calc(env(safe-area-inset-top, 0px) + var(--jml-header-height) + 76px)
            20px
            calc(env(safe-area-inset-bottom, 0px) + 38px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background:
            radial-gradient(circle at 85% 12%, rgba(29,161,255,.18), transparent 24rem),
            radial-gradient(circle at 12% 78%, rgba(184,255,61,.09), transparent 24rem),
            #06101d;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px);
        transition: opacity .22s ease, visibility .22s ease, transform .28s ease;
    }
    .admin-bar .jml-mobile-navigation {
        padding-top: calc(env(safe-area-inset-top, 0px) + var(--jml-header-height) + 108px);
    }
    .menu-open .jml-mobile-navigation {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .jml-mobile-navigation__inner {
        width: min(100%, 560px);
        margin-inline: auto;
    }
    .jml-mobile-navigation__label {
        display: block;
        margin-bottom: 18px;
        color: var(--jml-lime);
        font-family: "Barlow Condensed", sans-serif;
        font-size: .85rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    .jml-mobile-navigation ul {
        display: flex;
        margin: 0;
        padding: 0;
        flex-direction: column;
        gap: 7px;
        list-style: none;
    }
    .jml-mobile-navigation li { width: 100%; }
    .jml-mobile-navigation a {
        display: flex;
        min-height: 58px;
        padding: 14px 17px;
        align-items: center;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 13px;
        background: rgba(255,255,255,.045);
        color: #f7f9ff;
        font-family: "Barlow Condensed", sans-serif;
        font-size: 1.45rem;
        font-weight: 800;
        letter-spacing: .015em;
        line-height: 1.05;
        text-transform: uppercase;
    }
    .jml-mobile-navigation a:hover,
    .jml-mobile-navigation a:focus,
    .jml-mobile-navigation .current-menu-item > a,
    .jml-mobile-navigation .current-menu-ancestor > a {
        border-color: rgba(184,255,61,.36);
        background: rgba(184,255,61,.11);
        color: var(--jml-lime);
        outline: none;
    }
    .jml-mobile-navigation .sub-menu {
        display: flex;
        margin: 1px 0 4px;
        padding-left: 16px;
        gap: 5px;
    }
    .jml-mobile-navigation .sub-menu a {
        min-height: 48px;
        color: #b8c6d8;
        font-size: 1.12rem;
        text-transform: none;
    }
    .jml-menu-toggle { display: grid; }
    .menu-open .jml-menu-toggle {
        background: var(--jml-lime);
        color: #07111d;
        border-color: var(--jml-lime);
    }
    .menu-open .jml-menu-toggle svg { display: none; }
    .menu-open .jml-menu-toggle::before {
        content: "×";
        font-size: 2rem;
        font-weight: 500;
        line-height: 1;
    }
    .jml-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .jml-lanes { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .jml-footer-grid { grid-template-columns: 1fr 1fr; }
    .jml-article-layout { grid-template-columns: minmax(0, var(--jml-reading)); }
    .jml-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    :root { --jml-header-height: 72px; }
    .admin-bar .site-header { top: 46px; }
    .admin-bar .jml-progress { top: 46px; }
    .jml-container { width: min(calc(100% - 28px), var(--jml-container)); }
    .custom-logo { max-width: 158px; max-height: 46px; }
    .jml-wordmark { font-size: 1.8rem; }
    .jml-wordmark__badge { width: 38px; }
    .jml-hero { min-height: auto; padding: 66px 0 120px; }
    .jml-hero::before { background: linear-gradient(90deg, rgba(6,16,29,.98), rgba(6,16,29,.70)), linear-gradient(180deg, transparent 60%, var(--jml-bg)); }
    .jml-hero__media { left: 0; opacity: .45; }
    .jml-hero__content { width: 100%; }
    .jml-hero__scorecard { right: 14px; left: 14px; bottom: 24px; width: auto; }
    .jml-ticker__inner { grid-template-columns: 120px 1fr; }
    .jml-ticker__items a:nth-child(n+2) { display: none; }
    .jml-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .jml-card--featured { grid-column: span 2; }
    .jml-feature-strip__inner,
    .jml-single-hero__grid { grid-template-columns: 1fr; }
    .jml-single-hero__image { order: -1; }
    .jml-community__box { grid-template-columns: 1fr; }
    .jml-community__box::after { right: -20px; font-size: 10rem; }
    .jml-footer-bottom__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .jml-topbar { font-size: .72rem; }
    .jml-topbar__inner { min-height: 30px; }
    .jml-header__inner { gap: 10px; }
    .jml-header-actions { margin-left: auto; }
    .jml-section { padding: 56px 0; }
    .jml-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .jml-hero { padding-top: 56px; }
    .jml-hero h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
    .jml-hero__lead { font-size: 1rem; }
    .jml-hero__actions .jml-btn { width: 100%; }
    .jml-ticker__inner { grid-template-columns: 105px 1fr; }
    .jml-ticker__label { padding-inline: 12px; }
    .jml-ticker__items a { min-width: 0; padding-inline: 14px; }
    .jml-grid,
    .jml-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .jml-card--featured { grid-column: span 2; }
    .jml-card:not(.jml-card--featured) .jml-card__body { padding: 14px; }
    .jml-card:not(.jml-card--featured) h3 { font-size: 1.2rem; line-height: 1.05; }
    .jml-card:not(.jml-card--featured) .jml-card__excerpt,
    .jml-card:not(.jml-card--featured) .jml-card__footer { display: none; }
    .jml-card:not(.jml-card--featured) .jml-card__meta { margin-bottom: 7px; }
    .jml-card__media { aspect-ratio: 1.18/1; }
    .jml-card--featured .jml-card__media { aspect-ratio: 16/9; }
    .jml-lanes { grid-template-columns: 1fr; }
    .jml-lane { min-height: 170px; }
    .jml-feature-strip__inner { gap: 30px; }
    .jml-community__box { padding: 28px 22px; }
    .jml-single-hero { padding: 48px 0; }
    .jml-single-hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
    .jml-article-wrap { padding: 36px 0 58px; }
    .jml-article { padding: 24px 19px; border-radius: 18px; }
    .jml-entry-content { font-size: 1rem; line-height: 1.75; }
    .jml-sidebar { grid-template-columns: 1fr; }
    .jml-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .search-form { flex-direction: column; }
    .search-submit { width: 100%; }
    .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 390px) {
    .jml-wordmark > span:last-child { display: none; }
    .jml-grid,
    .jml-grid--4 { grid-template-columns: 1fr; }
    .jml-card--featured { grid-column: auto; }
    .jml-card:not(.jml-card--featured) .jml-card__excerpt { display: block; }
    .jml-card:not(.jml-card--featured) .jml-card__footer { display: flex; }
}
