/* CHANGE – Keep the Isle of Man Manx page */
body.change-keep-manx-page #main-content .container:before,
body.change-keep-manx-page #sidebar,
body.change-keep-manx-page .widget-area,
body.change-keep-manx-page .et_pb_widget_area,
body.change-keep-manx-page .post-meta,
body.change-keep-manx-page .et_post_meta_wrapper,
body.change-keep-manx-page .entry-title {
    display: none !important;
}
body.change-keep-manx-page #left-area,
body.change-keep-manx-page #primary,
body.change-keep-manx-page .content-area {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
body.change-keep-manx-page #main-content > .container,
body.change-keep-manx-page #main-content .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}
body.change-keep-manx-page article.page,
body.change-keep-manx-page .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.ckm-page {
    --ckm-black: #050608;
    --ckm-navy: #071627;
    --ckm-panel: #101317;
    --ckm-panel-2: #161a1f;
    --ckm-white: #f8f9fb;
    --ckm-muted: #bac1cb;
    --ckm-line: rgba(255,255,255,.14);
    --ckm-orange: #f5a623;
    --ckm-coral: #ed3f42;
    --ckm-teal: #42c5c7;
    width: 100%;
    overflow: hidden;
    background: var(--ckm-black);
    color: var(--ckm-white);
    font-family: inherit;
    line-height: 1.62;
}
.ckm-page *, .ckm-page *:before, .ckm-page *:after { box-sizing: border-box; }
.ckm-page h1, .ckm-page h2, .ckm-page h3, .ckm-page p { margin-top: 0; }
.ckm-page h1, .ckm-page h2, .ckm-page h3 { color: var(--ckm-white); font-weight: 800; line-height: 1.08; }
.ckm-page p { color: var(--ckm-muted); font-size: clamp(16px, 1.15vw, 19px); }
.ckm-page h1 { font-size: clamp(42px, 6.3vw, 92px); max-width: 1080px; letter-spacing: -.045em; }
.ckm-page h2 { font-size: clamp(32px, 4vw, 58px); letter-spacing: -.035em; }
.ckm-page h3 { font-size: clamp(20px, 1.6vw, 26px); }
.ckm-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 2; }
.ckm-section { padding: clamp(74px, 9vw, 132px) 0; position: relative; }
.ckm-section-label, .ckm-eyebrow { color: var(--ckm-teal) !important; text-transform: uppercase; letter-spacing: .14em; font-size: 13px !important; font-weight: 800; margin-bottom: 16px; }
.ckm-number { color: var(--ckm-orange); font-size: 15px; font-weight: 900; letter-spacing: .08em; padding-top: 9px; min-width: 42px; }
.ckm-heading-row { display: grid; grid-template-columns: 52px 1fr; gap: 24px; align-items: start; margin-bottom: 50px; }
.ckm-heading-row.compact { margin-bottom: 30px; }
.ckm-heading-row.no-gap { margin-bottom: 16px; }
.ckm-heading-row h2 { margin-bottom: 0; }
.ckm-large-copy { font-size: clamp(20px, 2vw, 28px) !important; color: var(--ckm-white) !important; line-height: 1.45; }
.ckm-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ckm-teal); margin-bottom: 22px; }
.ckm-icon svg, .ckm-safety-icon svg, .ckm-community-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ckm-icon.large { width: 74px; height: 74px; color: var(--ckm-orange); }

.ckm-hero { min-height: min(860px, 86vh); padding: clamp(115px, 14vw, 190px) 0 110px; position: relative; display: flex; align-items: center; background:
    radial-gradient(circle at 78% 25%, rgba(66,197,199,.12), transparent 26%),
    radial-gradient(circle at 16% 78%, rgba(245,166,35,.13), transparent 30%),
    linear-gradient(125deg, #030406 0%, #081321 68%, #030405 100%);
}
.ckm-hero:before, .ckm-hero:after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.ckm-hero:before { width: 760px; height: 980px; left: -590px; top: -170px; border: 6px solid var(--ckm-orange); opacity: .75; }
.ckm-hero:after { width: 760px; height: 980px; right: -600px; bottom: -300px; border: 6px solid var(--ckm-teal); opacity: .7; }
.ckm-hero-map { position: absolute; right: 7vw; top: 50%; transform: translateY(-48%); width: min(30vw, 340px); opacity: .09; color: var(--ckm-white); }
.ckm-hero-map svg { width: 100%; height: auto; fill: currentColor; }
.ckm-hero-inner { max-width: 1240px; }
.ckm-hero h1 { margin-bottom: 32px; }
.ckm-hero-lead { max-width: 880px; font-size: clamp(20px, 2vw, 28px) !important; color: #e0e5eb !important; }
.ckm-principle { margin-top: 48px; padding-left: 22px; border-left: 4px solid var(--ckm-coral); display: flex; flex-direction: column; gap: 4px; }
.ckm-principle span { color: var(--ckm-muted); text-transform: uppercase; font-size: 13px; letter-spacing: .12em; font-weight: 800; }
.ckm-principle strong { font-size: clamp(25px, 2.6vw, 40px); color: var(--ckm-white); }

.ckm-intro { padding: clamp(70px, 8vw, 115px) 0; background: #0d1014; border-top: 1px solid var(--ckm-line); border-bottom: 1px solid var(--ckm-line); }
.ckm-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.ckm-intro h2 { font-size: clamp(31px, 3.2vw, 50px); }
.ckm-intro p:last-child { margin-bottom: 0; }

.ckm-keep { background: linear-gradient(180deg, #050608 0%, #080a0d 100%); }
.ckm-feature-grid { display: grid; gap: 18px; }
.ckm-feature-grid-four { grid-template-columns: repeat(4, 1fr); }
.ckm-feature-grid article, .ckm-support-card { background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--ckm-line); border-radius: 18px; padding: 30px; min-height: 100%; transition: transform .2s ease, border-color .2s ease; }
.ckm-feature-grid article:hover, .ckm-support-card:hover { transform: translateY(-4px); border-color: rgba(66,197,199,.42); }
.ckm-feature-grid article p, .ckm-support-card p { font-size: 16px; margin-bottom: 0; }

.ckm-return { background: #0c0f13; }
.ckm-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
.ckm-split.align-center { align-items: center; }
.ckm-check-panel { border: 1px solid rgba(245,166,35,.34); background: linear-gradient(145deg, rgba(245,166,35,.10), rgba(255,255,255,.025)); border-radius: 22px; padding: clamp(30px, 4vw, 52px); }
.ckm-check-panel ul { list-style: none; padding: 0; margin: 25px 0 0; }
.ckm-check-panel li { position: relative; padding: 12px 0 12px 32px; color: #d8dde3; border-bottom: 1px solid rgba(255,255,255,.08); }
.ckm-check-panel li:before { content: "✓"; position: absolute; left: 0; color: var(--ckm-orange); font-weight: 900; }
.ckm-panel-line { color: var(--ckm-white) !important; font-weight: 800; margin: 28px 0 0; }

.ckm-training { position: relative; min-height: 920px; padding: clamp(86px, 10vw, 145px) 0; background: #06101d; }
.ckm-training-image { position: absolute; inset: 0 0 0 49%; background-image: var(--ckm-apprentice); background-size: cover; background-position: center 26%; opacity: .88; }
.ckm-training-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #06101d 0%, #06101d 44%, rgba(6,16,29,.88) 58%, rgba(6,16,29,.25) 100%), linear-gradient(0deg, #06101d 0%, transparent 18%, transparent 80%, #06101d 100%); }
.ckm-training:after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--ckm-orange), var(--ckm-coral), var(--ckm-teal)); }
.ckm-training-inner { position: relative; }
.ckm-training .ckm-heading-row { max-width: 820px; }
.ckm-training-lead { max-width: 760px; color: #e4e8ed !important; font-size: clamp(20px, 2vw, 28px) !important; margin-bottom: 48px; }
.ckm-training-grid { width: min(900px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ckm-support-card { padding: 24px; background: rgba(5,9,15,.82); backdrop-filter: blur(8px); }
.ckm-support-card .ckm-icon { color: var(--ckm-orange); width: 42px; height: 42px; }
.ckm-support-card h3 { font-size: 18px; }
.ckm-support-card p { font-size: 14.5px; }
.ckm-training-statement { width: min(900px, 100%); margin-top: 32px; border-left: 4px solid var(--ckm-coral); background: rgba(3,7,13,.8); padding: 23px 26px; font-size: clamp(18px, 1.7vw, 25px); }
.ckm-training-statement strong { color: var(--ckm-coral); }

.ckm-homes { background: linear-gradient(145deg, #11151a 0%, #07090c 100%); }
.ckm-promise-card { border-radius: 26px; padding: clamp(38px, 6vw, 70px); border: 1px solid rgba(66,197,199,.36); background: radial-gradient(circle at 80% 10%, rgba(66,197,199,.14), transparent 45%), rgba(255,255,255,.025); }
.ckm-promise-card p { color: var(--ckm-white) !important; font-size: clamp(25px, 3vw, 42px) !important; line-height: 1.25; font-weight: 800; margin-bottom: 0; }

.ckm-population { background: #050608; }
.ckm-population-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; }
.ckm-population-intro p:first-child { color: var(--ckm-white); }
.ckm-capacity-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ckm-capacity-grid span { padding: 20px; border-radius: 12px; background: #12161b; border: 1px solid var(--ckm-line); color: #dfe4ea; text-align: center; font-weight: 700; }

.ckm-safety { padding: clamp(78px, 9vw, 128px) 0; position: relative; background: linear-gradient(115deg, #20100d 0%, #0d0b0c 46%, #07131d 100%); border-top: 1px solid rgba(237,63,66,.26); border-bottom: 1px solid rgba(237,63,66,.26); }
.ckm-safety:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 50%, rgba(237,63,66,.15), transparent 30%), radial-gradient(circle at 90% 30%, rgba(66,197,199,.10), transparent 30%); }
.ckm-safety-inner { display: grid; grid-template-columns: 160px 1fr; gap: 60px; align-items: center; }
.ckm-safety-icon { width: 150px; height: 150px; color: var(--ckm-coral); padding: 25px; border: 1px solid rgba(237,63,66,.4); border-radius: 50%; background: rgba(0,0,0,.22); }
.ckm-safety p { max-width: 930px; }

.ckm-permits { background: #0d1014; }
.ckm-priority-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ckm-priority-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 18px; background: #161a1f; border: 1px solid var(--ckm-line); border-radius: 14px; padding: 17px 20px; color: var(--ckm-white); }
.ckm-priority-list span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--ckm-orange), var(--ckm-coral)); color: #070707; font-weight: 900; }

.ckm-community { background: #050608; }
.ckm-community-card { display: grid; grid-template-columns: 150px 1fr; gap: 55px; align-items: center; border: 1px solid rgba(66,197,199,.34); border-radius: 26px; padding: clamp(38px, 6vw, 72px); background: radial-gradient(circle at 0 50%, rgba(66,197,199,.14), transparent 34%), #101419; }
.ckm-community-icon { width: 130px; height: 130px; color: var(--ckm-teal); }
.ckm-community-line { color: var(--ckm-teal); font-size: clamp(18px, 2vw, 26px); }

.ckm-commitment { padding: clamp(90px, 12vw, 170px) 0; text-align: center; position: relative; background: linear-gradient(180deg, #07090c 0%, #020304 100%); }
.ckm-commitment:before, .ckm-commitment:after { content: ""; position: absolute; width: 620px; height: 820px; border-radius: 50%; pointer-events: none; }
.ckm-commitment:before { left: -510px; bottom: -420px; border: 5px solid var(--ckm-teal); }
.ckm-commitment:after { right: -510px; top: -420px; border: 5px solid var(--ckm-orange); }
.ckm-commitment h2 { max-width: 960px; margin: 0 auto 55px; }
.ckm-commitment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ckm-commitment-grid p { background: rgba(255,255,255,.045); border: 1px solid var(--ckm-line); border-radius: 18px; padding: 28px; margin: 0; color: #dce1e7; }
.ckm-closing { margin: 60px 0 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; font-size: clamp(20px, 2vw, 30px); font-weight: 900; text-transform: uppercase; }
.ckm-closing span:nth-child(1) { color: var(--ckm-coral); }
.ckm-closing span:nth-child(2) { color: var(--ckm-orange); }
.ckm-closing span:nth-child(3) { color: var(--ckm-teal); }
.ckm-commitment h3 { font-size: clamp(27px, 3vw, 45px); }

@media (max-width: 1100px) {
    .ckm-feature-grid-four { grid-template-columns: repeat(2, 1fr); }
    .ckm-training-grid { grid-template-columns: repeat(3, 1fr); }
    .ckm-training-image { left: 42%; opacity: .58; }
    .ckm-training-shade { background: linear-gradient(90deg, #06101d 0%, #06101d 42%, rgba(6,16,29,.82) 72%, rgba(6,16,29,.35) 100%), linear-gradient(0deg, #06101d, transparent 20%, transparent 75%, #06101d); }
}

@media (max-width: 820px) {
    .ckm-wrap { width: min(100% - 30px, 720px); }
    .ckm-intro-grid, .ckm-split, .ckm-safety-inner, .ckm-community-card { grid-template-columns: 1fr; }
    .ckm-heading-row { grid-template-columns: 38px 1fr; gap: 12px; }
    .ckm-feature-grid-four, .ckm-capacity-grid, .ckm-commitment-grid { grid-template-columns: repeat(2, 1fr); }
    .ckm-training { padding-top: 450px; }
    .ckm-training-image { inset: 0 0 auto 0; height: 500px; background-position: center 18%; opacity: .9; }
    .ckm-training-shade { background: linear-gradient(0deg, #06101d 0%, #06101d 22%, rgba(6,16,29,.2) 100%); }
    .ckm-training-grid { grid-template-columns: repeat(2, 1fr); }
    .ckm-safety-icon, .ckm-community-icon { width: 95px; height: 95px; }
    .ckm-safety-inner, .ckm-community-card { gap: 28px; }
    .ckm-community-card { padding: 34px 25px; }
}

@media (max-width: 560px) {
    .ckm-page h1 { font-size: 42px; }
    .ckm-page h2 { font-size: 34px; }
    .ckm-hero { min-height: auto; padding: 105px 0 80px; }
    .ckm-hero-map { width: 180px; right: -35px; }
    .ckm-feature-grid-four, .ckm-capacity-grid, .ckm-training-grid, .ckm-commitment-grid, .ckm-population-intro { grid-template-columns: 1fr; }
    .ckm-feature-grid article, .ckm-support-card { padding: 24px; }
    .ckm-training { padding-top: 380px; }
    .ckm-training-image { height: 420px; background-position: center top; }
    .ckm-priority-list li { grid-template-columns: 45px 1fr; padding: 14px; }
    .ckm-closing { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .ckm-feature-grid article, .ckm-support-card { transition: none; }
}
