/*
Theme Name: Jetpatcher
Theme URI: https://jetpatcher.com
Author: Highways Industry
Author URI: https://www.highwaysindustry.com
Description: Lightweight theme for jetpatcher.com, rebuilt November 2026 to replace Avada. Matches the 2023 design: yellow header, Lato, cream and dark sections.
Version: 1.0.2
Requires at least: 7.0
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: jetpatcher
*/

/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/lato-900.woff2") format("woff2"); }

/* ---------- Tokens (from the old Avada palette) ---------- */
:root {
  --jp-yellow: #fbee2e;
  --jp-yellow-dark: #e6d81c;
  --jp-cream: #fcf7ed;
  --jp-grey: #e2e2e2;
  --jp-blue: #316bb7;
  --jp-mid: #454545;
  --jp-dark: #1c1c1c;
  --jp-footer: #333333;
  --jp-black: #000000;
  --jp-white: #ffffff;
  --jp-text: #000000;
  --jp-muted: #555555;
  --jp-wrap: 1200px;
  --jp-gutter: 20px;
  --jp-header-h: 88px;
  --jp-font: "Lato", Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--jp-white);
  color: var(--jp-text);
  font-family: var(--jp-font);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--jp-blue); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--jp-font); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.25; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--jp-black); color: var(--jp-white); }
:focus-visible { outline: 3px solid var(--jp-blue); outline-offset: 2px; }

.jp-wrap { max-width: var(--jp-wrap); margin: 0 auto; padding: 0 var(--jp-gutter); }

/* ---------- Buttons ---------- */
.jp-btn, .wp-block-button__link, .jp-form button {
  display: inline-block;
  background: var(--jp-yellow);
  color: var(--jp-black) !important;
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 34px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.jp-btn:hover, .wp-block-button__link:hover, .jp-form button:hover { background: var(--jp-black); color: var(--jp-yellow) !important; }
.jp-btn--dark, .is-style-dark .wp-block-button__link { background: var(--jp-black); color: var(--jp-white) !important; }
.jp-btn--dark:hover, .is-style-dark .wp-block-button__link:hover { background: var(--jp-yellow); color: var(--jp-black) !important; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.jp-center .wp-block-buttons, .wp-block-buttons.is-content-justification-center { justify-content: center; }

/* ---------- Header ---------- */
.jp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--jp-yellow);
  transition: box-shadow .2s;
}
.admin-bar .jp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jp-header { top: 46px; } }
.jp-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.jp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--jp-header-h); max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.jp-logo { display: block; flex: 0 0 auto; }
.jp-logo img { width: 250px; height: auto; }

.jp-nav ul { list-style: none; margin: 0; padding: 0; }
.jp-nav > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 34px; }
.jp-nav li { position: relative; }
.jp-nav a { display: block; text-decoration: none; font-size: 15px; color: var(--jp-black); padding: 8px 0; }
.jp-nav a:hover, .jp-nav .current-menu-item > a, .jp-nav .current-menu-ancestor > a { color: var(--jp-blue); }
.jp-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.jp-nav .sub-menu {
  position: absolute; left: -20px; top: 100%; min-width: 250px;
  background: var(--jp-white); box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.jp-nav .sub-menu a { padding: 9px 20px; }
.jp-nav li:hover > .sub-menu, .jp-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jp-nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.jp-nav-toggle span { display: block; width: 26px; height: 2px; background: var(--jp-black); margin: 6px 0; transition: transform .2s, opacity .2s; }
.jp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.jp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.jp-subtoggle { display: none; }

@media (max-width: 1080px) {
  :root { --jp-header-h: 72px; }
  .jp-header__inner { padding: 0 16px; }
  .jp-logo img { width: 190px; }
  .jp-nav-toggle { display: block; }
  .jp-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--jp-yellow); border-top: 1px solid rgba(0,0,0,.12); display: none; max-height: calc(100vh - var(--jp-header-h)); overflow-y: auto; }
  .jp-nav.is-open { display: block; }
  .jp-nav > ul { display: block; padding: 8px 16px 18px; }
  .jp-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(0,0,0,.08); }
  .jp-nav .menu-item-has-children > a::after { display: none; }
  .jp-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; display: none; min-width: 0; }
  .jp-nav li.is-open > .sub-menu { display: block; }
  .jp-nav .sub-menu a { padding: 10px 0; }
  .jp-subtoggle { display: block; position: absolute; right: 0; top: 4px; width: 44px; height: 40px; background: none; border: 0; cursor: pointer; }
  .jp-subtoggle::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); transition: transform .2s; }
  .jp-nav li.is-open > .jp-subtoggle::before { transform: rotate(-135deg); }
}

/* ---------- Home hero ---------- */
.jp-hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 860px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--jp-white);
  background: var(--jp-black) url("assets/img/hero-poster.jpg") center / cover no-repeat;
  padding: 80px var(--jp-gutter) 140px;
}
.jp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jp-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); z-index: 1; }
.jp-hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.jp-hero__logo { width: min(500px, 78vw); margin: 0 auto 26px; filter: invert(1) brightness(1.4); opacity: .62; }
.jp-hero h1 { color: var(--jp-white); font-weight: 400; text-shadow: 0 2px 18px rgba(0,0,0,.45); margin-bottom: .7em; }
.jp-hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: 90px; color: var(--jp-cream); }
@media (prefers-reduced-motion: reduce) { .jp-hero__video { display: none; } }

/* ---------- Inner page title banner ---------- */
.jp-ptb {
  position: relative; color: var(--jp-white); text-align: center;
  background: var(--jp-dark) center / cover no-repeat;
  padding: clamp(80px, 12vw, 150px) var(--jp-gutter) clamp(70px, 10vw, 130px);
}
.jp-ptb::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.jp-ptb__inner { position: relative; max-width: 1000px; margin: 0 auto; }
.jp-ptb h1 { margin: 0; color: var(--jp-white); }
.jp-ptb p { margin: 12px 0 0; font-size: 1.15rem; opacity: .9; }

/* ---------- Content sections ---------- */
.jp-content > *:not(.jp-sec):not(.alignfull) { max-width: var(--jp-wrap); margin-left: auto; margin-right: auto; padding-left: var(--jp-gutter); padding-right: var(--jp-gutter); }
.jp-content > p:first-child, .jp-content > h2:first-child { margin-top: 60px; }
.jp-sec { padding: clamp(56px, 8vw, 96px) var(--jp-gutter); margin: 0; }
.jp-sec > * { max-width: var(--jp-wrap); margin-left: auto; margin-right: auto; }
.jp-sec > .wp-block-columns { gap: clamp(24px, 4vw, 56px); }
.jp-sec--cream { background: var(--jp-cream); }
.jp-sec--grey { background: var(--jp-grey); }
.jp-sec--white { background: var(--jp-white); }
.jp-sec--mid { background: var(--jp-mid); color: var(--jp-white); }
.jp-sec--dark { background: var(--jp-dark); color: var(--jp-white); }
.jp-sec--black { background: var(--jp-black); color: var(--jp-white); }
.jp-sec--yellow { background: var(--jp-yellow); }
.jp-sec--tight { padding-top: 40px; padding-bottom: 40px; }
.jp-center { text-align: center; }
.jp-narrow > * { max-width: 860px; }
.jp-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 14px; font-weight: 700; color: var(--jp-muted); margin-bottom: .6em; }
.jp-sec--mid .jp-eyebrow, .jp-sec--dark .jp-eyebrow, .jp-sec--black .jp-eyebrow { color: var(--jp-yellow); }
.jp-lead { font-size: 1.15rem; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { width: 100%; height: auto; }
.wp-block-image.is-contain img { object-fit: contain; }
.jp-sec .wp-block-heading { margin-top: 0; }

/* Check list with yellow ticks */
.jp-checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.jp-checks li { position: relative; padding: 4px 0 8px 40px; }
.jp-checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--jp-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%23000'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.jp-sec--mid .jp-checks li::before, .jp-sec--dark .jp-checks li::before { background-color: var(--jp-yellow); }

/* Home: UK / International cards */
.jp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jp-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-height: 460px; padding: 40px 30px; text-align: center; text-decoration: none; color: var(--jp-white);
  background: var(--jp-dark) center / cover no-repeat; overflow: hidden;
}
.jp-card::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); transition: background .25s; }
.jp-card:hover { color: var(--jp-white); }
.jp-card:hover::before { background: rgba(0,0,0,.35); }
.jp-card > * { position: relative; }
.jp-card img { width: min(300px, 70%); }
.jp-card h3 { color: var(--jp-white); font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0; max-width: 340px; text-transform: capitalize; }
.jp-card .jp-btn { min-width: 260px; }
@media (max-width: 781px) { .jp-cards { grid-template-columns: 1fr; } .jp-card { min-height: 380px; } }

/* Feature trio with yellow icons */
.jp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.jp-feature__icon { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: var(--jp-yellow); display: grid; place-items: center; }
.jp-feature__icon svg { width: 24px; height: 24px; }
.jp-feature h3 { margin-bottom: .4em; }
.jp-feature p { color: var(--jp-muted); font-size: 15px; }
@media (max-width: 781px) { .jp-features { grid-template-columns: 1fr; } }

/* Image banner with call to action */
.jp-banner {
  position: relative; color: var(--jp-white); text-align: center;
  background: var(--jp-dark) center / cover no-repeat;
  padding: clamp(80px, 11vw, 140px) var(--jp-gutter);
}
.jp-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.jp-banner > * { position: relative; max-width: 900px; margin-left: auto; margin-right: auto; }
.jp-banner h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--jp-white); }
.jp-banner p { font-size: 1.1rem; }

/* Four-stage process */
.jp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jp-step { background: rgba(0,0,0,.18); padding: 30px 24px; text-align: center; }
.jp-step h3 { color: var(--jp-yellow); font-size: 1.6rem; }
.jp-step img { width: 100%; max-width: 220px; margin: 0 auto 18px; }
.jp-step p { font-size: 15px; margin: 0; }
@media (max-width: 960px) { .jp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jp-steps { grid-template-columns: 1fr; } }

/* Stats counters */
.jp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.jp-stat__num { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; color: var(--jp-yellow); line-height: 1.1; font-variant-numeric: tabular-nums; }
.jp-stat__label { display: block; margin-top: 8px; font-size: 1.05rem; }
@media (max-width: 860px) { .jp-stats { grid-template-columns: 1fr 1fr; } }

/* Content boxes (UK benefits, export steps) */
.jp-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jp-box { background: var(--jp-white); padding: 30px 26px; border-top: 4px solid var(--jp-yellow); }
.jp-sec--white .jp-box { background: var(--jp-cream); }
.jp-box h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-bottom: .4em; }
.jp-box p { margin: 0; color: var(--jp-muted); }
.jp-box__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--jp-yellow); display: grid; place-items: center; margin-bottom: 14px; }
.jp-box__icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .jp-boxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jp-boxes { grid-template-columns: 1fr; } }

/* Options (sales / lease / hire) */
.jp-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jp-option { background: var(--jp-black); color: var(--jp-white); padding: 34px 28px; }
.jp-option h3 { color: var(--jp-yellow); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; font-size: 1.4rem; }
.jp-option p { margin: 0; }
@media (max-width: 860px) { .jp-options { grid-template-columns: 1fr; } }

/* Gallery grid */
.jp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jp-gallery--2 { grid-template-columns: 1fr 1fr; }
.jp-gallery figure { margin: 0; background: var(--jp-white); }
.jp-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jp-gallery--contain img { object-fit: contain; background: var(--jp-white); }
@media (max-width: 640px) { .jp-gallery { grid-template-columns: 1fr 1fr; } }

/* Numbered purchasing steps */
.jp-numbered { counter-reset: jpstep; list-style: none; padding: 0; }
.jp-numbered li { counter-increment: jpstep; position: relative; padding: 0 0 18px 64px; min-height: 48px; }
.jp-numbered li::before { content: counter(jpstep); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--jp-yellow); color: var(--jp-black); font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; }

/* Certificates */
.jp-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jp-cert { display: block; text-decoration: none; text-align: center; background: var(--jp-white); padding: 24px; border: 1px solid var(--jp-grey); }
.jp-cert img { width: 100%; max-width: 212px; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.jp-cert span { display: block; font-weight: 700; }
.jp-cert small { display: block; color: var(--jp-muted); margin-top: 4px; }
@media (max-width: 760px) { .jp-certs { grid-template-columns: 1fr; } }

/* YouTube (click to load, no cookies until played) */
.jp-yt { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.jp-yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 12px; background: rgba(0,0,0,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fbee2e'/%3E%3C/svg%3E") center / 34px no-repeat; transition: background-color .2s; }
.jp-yt:hover::after { background-color: rgba(0,0,0,.9); }
.jp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jp-video { width: 100%; background: #000; }

/* FAQ accordion */
.jp-faq { max-width: 900px; margin: 0 auto; }
.jp-faq details { background: var(--jp-white); border-left: 4px solid var(--jp-yellow); margin-bottom: 12px; }
.jp-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-size: 1.15rem; font-weight: 700; position: relative; }
.jp-faq summary::-webkit-details-marker { display: none; }
.jp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; }
.jp-faq details[open] summary::after { content: "\2212"; }
.jp-faq .jp-faq__a { padding: 0 24px 20px; }
.jp-faq .jp-faq__a ul { padding-left: 1.2em; }

/* Split rows (range pages) */
.jp-split > .wp-block-column:last-child .wp-block-image { background: var(--jp-white); padding: 10px; }

/* Map */
.jp-map img { width: 100%; height: auto; }

/* ---------- Contact form ---------- */
.jp-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.jp-form { background: var(--jp-white); padding: clamp(24px, 4vw, 44px); }
.jp-form label { display: block; font-weight: 700; margin: 0 0 6px; font-size: 15px; }
.jp-form input, .jp-form textarea, .jp-form select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9c9c9; border-radius: 0; background: #fff; margin-bottom: 18px;
}
.jp-form input:focus, .jp-form textarea:focus { border-color: var(--jp-black); outline: 2px solid var(--jp-yellow); }
.jp-form textarea { min-height: 160px; resize: vertical; }
.jp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.jp-form__hp { position: absolute !important; left: -9999px !important; }
.jp-form__note { font-size: 13px; color: var(--jp-muted); margin-top: 14px; }
.jp-notice { padding: 14px 18px; margin-bottom: 20px; font-weight: 700; }
.jp-notice--ok { background: #e7f6e7; border-left: 4px solid #2e7d32; }
.jp-notice--err { background: #fdecea; border-left: 4px solid #c62828; }
.jp-details h3 { margin-top: 0; }
.jp-details a { text-decoration: none; }
.jp-details .jp-btn { margin: 0 10px 12px 0; text-transform: none; letter-spacing: 0; }
@media (max-width: 860px) { .jp-contact, .jp-form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.jp-footer { background: var(--jp-footer); color: rgba(255,255,255,.62); font-size: 15px; }
.jp-footer__main { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 40px; max-width: var(--jp-wrap); margin: 0 auto; padding: 70px var(--jp-gutter) 50px; }
.jp-footer h2 { color: var(--jp-white); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-bottom: 1em; }
.jp-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.jp-footer a:hover { color: var(--jp-yellow); }
.jp-footer__logo { width: 210px; margin-bottom: 26px; }
.jp-footer__btn { display: flex; align-items: center; gap: 12px; width: fit-content; min-width: 240px; background: #4a4a4a; color: var(--jp-white) !important; font-size: 18px; font-weight: 700; padding: 12px 22px; border-radius: 4px; margin-bottom: 12px; }
.jp-footer__btn:hover { background: var(--jp-yellow); color: var(--jp-black) !important; }
.jp-footer__btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.jp-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1em; }
.jp-footer ul { list-style: none; padding: 0; margin: 0; }
.jp-footer li { margin-bottom: 12px; }
.jp-social { display: flex; gap: 18px; margin-top: 18px; }
.jp-social a { display: block; width: 26px; height: 26px; color: var(--jp-white); }
.jp-social svg { width: 100%; height: 100%; fill: currentColor; }
.jp-footer__bar { background: var(--jp-black); }
.jp-footer__bar .jp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
@media (max-width: 860px) { .jp-footer__main { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; } }

/* ---------- Posts (news, when added) ---------- */
.jp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jp-post-card { background: var(--jp-white); text-decoration: none; display: block; }
.jp-post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.jp-post-card__body { padding: 20px 22px 26px; }
.jp-post-card time { font-size: 13px; color: var(--jp-muted); }
.jp-post-card h2 { font-size: 1.3rem; margin: 6px 0 0; }
.jp-article { max-width: 820px; margin: 0 auto; }
@media (max-width: 860px) { .jp-posts { grid-template-columns: 1fr; } }

/* 404 */
.jp-404 { text-align: center; padding: 100px var(--jp-gutter); }
