/* ─────────────────────────────────────────────────────────────────────────────
   Inner pages of the public website: worksheets, learner dashboard, blog,
   careers and contact.  Loaded by those templates after site.css.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Shared bits ──────────────────────────────────────────────────────────── */
.hero-search {
  display: flex; align-items: center; gap: .4rem; max-width: 560px; margin-top: 1.5rem; padding: .35rem .35rem .35rem 1rem;
  background: #fff; border-radius: 999px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
}
.hero-search i { color: var(--purple-500); font-size: 1.15rem; }
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--gray-900); height: 42px;
}
.hero-search input::placeholder { color: #6b6b85; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 18px 36px -18px rgba(0, 0, 0, .55); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .84rem; font-weight: 700; }
.sub-section { margin-top: clamp(2rem, 5vw, 3.2rem); }
.sub-section:first-child { margin-top: 0; }
.sub-head { margin-bottom: 1.2rem; }
.sub-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; margin: 0; color: var(--gray-900); }
.sub-head p { margin: .35rem 0 0; color: var(--gray-600); }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; font-weight: 700; color: var(--gray-600); }
.empty-state h2, .empty-state h3 { font-family: var(--font-head); }

/* ── Catalogue ────────────────────────────────────────────────────────────── */
.cat-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.cat-layout > *, .cat-sidebar > * { min-width: 0; }
.cat-sidebar { position: sticky; top: 86px; display: grid; gap: 1rem; }
.cat-filter { background: #fff; border: 1px solid #ecebf7; border-radius: 20px; padding: 1.1rem; box-shadow: var(--shadow-sm); }
.cat-filter h2 { font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-600); margin: 0 0 .7rem; font-weight: 700; }
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.cat-list a {
  display: block; padding: .5rem .75rem; border-radius: 12px; font-size: .88rem; font-weight: 700; color: var(--gray-600); text-decoration: none;
  transition: background .15s, color .15s;
}
.cat-list a:hover { background: var(--purple-50); color: var(--purple-600); }
.cat-list a.active { background: var(--gradient); color: #fff; }
.cat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.1rem; }
.cat-count { margin: 0; font-weight: 800; color: var(--gray-900); }
.cat-chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.cat-chips li { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .75rem; border-radius: 999px; background: var(--purple-50); color: var(--purple-600); font-size: .78rem; font-weight: 700; }
.cat-chips li:has(.cat-clear) { background: transparent; padding: 0; }
.cat-clear { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .75rem; border-radius: 999px; background: var(--danger-bg); color: #b42318; font-size: .78rem; font-weight: 800; text-decoration: none; }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-sidebar { position: static; }
  .cat-filter { padding: .8rem .9rem; }
  .cat-list { flex-direction: row; overflow-x: auto; gap: .4rem; padding-bottom: .2rem; -webkit-overflow-scrolling: touch; }
  .cat-list li { flex: none; }
  .cat-list a { border: 1.5px solid var(--gray-200); border-radius: 999px; padding: .4rem .9rem; white-space: nowrap; }
}

/* ── Subject / category cards ─────────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.category-card { background: #fff; border: 1px solid #ecebf7; border-radius: 20px; padding: 1.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .5rem; }
.category-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--purple-50); color: var(--purple-600); font-size: 1.4rem; }
.category-card h3 { font-size: 1.05rem; font-weight: 600; margin: .2rem 0 0; }
.category-card h3 a { color: var(--gray-900); text-decoration: none; }
.category-card h3 a:hover { color: var(--purple-600); }
.card-copy { margin: 0; font-size: .86rem; color: var(--gray-600); line-height: 1.55; }
.category-count { margin: 0; font-size: .8rem; font-weight: 800; color: var(--gray-400); }
.category-count i { color: var(--purple-500); }
.category-card .chip-row { margin-top: .3rem; }

/* ── Worksheet page ───────────────────────────────────────────────────────── */
.wd-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .9rem; }
.wd-tags a { padding: .25rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: .76rem; font-weight: 800; text-decoration: none; }
.wd-tags a:hover { background: rgba(255, 255, 255, .28); }
.wd-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .92); font-weight: 700; }
.wd-rating strong { color: #fff; font-size: 1.05rem; }
.wd-stars { color: #ffd23f; letter-spacing: .05em; white-space: nowrap; }
.wd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; }
.wd-main { display: grid; gap: 1.1rem; min-width: 0; }
.wd-card { background: #fff; border: 1px solid #ecebf7; border-radius: 22px; padding: clamp(1.1rem, 3vw, 1.7rem); box-shadow: var(--shadow-sm); }
.wd-card h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .8rem; color: var(--gray-900); }
.wd-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .9rem; }
.wd-card-head h2 { margin: 0; }
.wd-sub { font-size: .95rem; font-weight: 700; margin: 1.1rem 0 .4rem; }
.wd-text { margin: 0; line-height: 1.75; color: var(--gray-600); }
.wd-score { margin: 0; color: var(--gray-600); font-size: .88rem; }
.wd-frame { width: 100%; height: min(72vh, 700px); border: 1px solid var(--gray-200); border-radius: 16px; background: var(--gray-50); }
.wd-image { width: 100%; max-height: 700px; object-fit: contain; border: 1px solid var(--gray-200); border-radius: 16px; background: var(--gray-50); }
.wd-file { display: grid; place-items: center; gap: .6rem; min-height: 200px; border: 1.5px dashed var(--gray-300); border-radius: 16px; background: var(--gray-50); text-align: center; padding: 1.5rem; }
.wd-file i { font-size: 2.6rem; color: var(--purple-500); }
.wd-file p { margin: 0; color: var(--gray-600); }
.wd-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.wd-review { background: var(--gray-50); border: 1px solid #ecebf7; border-radius: 16px; padding: 1rem; }
.wd-review header { display: flex; justify-content: space-between; gap: .8rem; margin-bottom: .5rem; }
.wd-review header strong { display: block; font-size: .92rem; }
.wd-review time { display: block; font-size: .74rem; color: var(--gray-400); font-weight: 700; }
.wd-review p { margin: 0; font-size: .88rem; color: var(--gray-600); line-height: 1.6; }
.wd-review .wd-stars { font-size: .85rem; color: #d97706; }
.wd-form { display: grid; gap: 1rem; }
.wd-rate { border: 0; padding: 0; margin: 0; min-width: 0; }
.rating-input { display: flex; flex-wrap: wrap; gap: .5rem; }
.rating-label {
  position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--gray-200); background: #fff; color: var(--gray-600); font-size: .84rem; font-weight: 700; transition: border-color .15s, background .15s, color .15s;
}
.rating-label input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }   /* hidden but still reachable by keyboard */
.rating-label i { color: #d97706; }
.rating-label:hover { border-color: var(--purple-400); background: var(--purple-50); color: var(--purple-600); }
.rating-label:has(input:checked) { border-color: var(--purple-500); background: var(--purple-50); color: var(--purple-600); }
.rating-label:has(input:focus-visible) { outline: 3px solid var(--purple-500); outline-offset: 2px; }
.wd-aside { position: sticky; top: 86px; }
.wd-panel { background: #fff; border: 1px solid #ecebf7; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); }
.wd-thumb { aspect-ratio: 16 / 10; background: var(--gradient-soft); overflow: hidden; }
.wd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-thumb span { display: grid; place-items: center; height: 100%; font-size: 3.2rem; color: var(--purple-500); }
.wd-actions { display: grid; gap: .6rem; padding: 1.1rem 1.2rem .4rem; }
.wd-actions .btn { width: 100%; }
.wd-actions form { margin: 0; }
.wd-note { margin: 0; padding: .8rem 1rem; border-radius: 14px; background: #fffbeb; color: #92560a; font-size: .86rem; font-weight: 700; }
.wd-facts { margin: 0; padding: .6rem 1.2rem 1.2rem; display: grid; }
.wd-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--gray-100); font-size: .86rem; }
.wd-facts div:last-child { border-bottom: 0; }
.wd-facts dt { color: var(--gray-400); font-weight: 700; }
.wd-facts dd { margin: 0; font-weight: 800; color: var(--gray-900); text-align: right; }
@media (max-width: 1000px) {
  .wd-layout { grid-template-columns: minmax(0, 1fr); }
  .wd-aside { position: static; order: -1; }
  .wd-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .wd-thumb { grid-row: span 2; aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 640px) {
  .wd-panel { display: block; }
  .wd-thumb { aspect-ratio: 16 / 10; }
  .wd-reviews { grid-template-columns: minmax(0, 1fr); }
}

/* ── Learner dashboard ────────────────────────────────────────────────────── */
.ld-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.ld-stats li {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .8rem; padding: 1rem 1.1rem; background: #fff;
  border: 1px solid #ecebf7; border-radius: 20px; box-shadow: var(--shadow-sm);
}
.ld-stats i { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--purple-50); color: var(--purple-600); font-size: 1.3rem; }
.ld-stats strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; color: var(--gray-900); }
.ld-stats span { font-size: .78rem; font-weight: 700; color: var(--gray-400); }
.ld-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.ld-main { display: grid; gap: 1.4rem; min-width: 0; }
.ld-aside { display: grid; gap: 1.1rem; position: sticky; top: 86px; }
.ld-panel { background: #fff; border: 1px solid #ecebf7; border-radius: 22px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.ld-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.ld-panel-head h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.ld-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.ld-block-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.ld-block-head a { font-weight: 800; font-size: .88rem; }
.ld-sub { font-size: .9rem; font-weight: 700; margin: 1rem 0 .5rem; }
.ld-workspaces { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ld-workspaces a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .75rem .9rem; border: 1px solid #ecebf7; border-radius: 16px; color: var(--gray-900); text-decoration: none; transition: border-color .15s, background .15s; }
.ld-workspaces a:hover { background: var(--purple-50); border-color: var(--purple-100); }
.ld-ws-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient); color: #fff; font-size: 1.3rem; }
.ld-workspaces strong { display: block; font-size: .92rem; }
.ld-workspaces small { display: block; color: var(--gray-400); font-size: .78rem; font-weight: 600; }
.ld-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ld-list li, .ld-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .85rem; border: 1px solid #ecebf7; border-radius: 14px; background: var(--gray-50); }
.ld-list strong, .ld-row strong { display: block; font-size: .86rem; }
.ld-list small, .ld-row small { display: block; color: var(--gray-400); font-size: .76rem; font-weight: 600; word-break: break-word; }
.ld-pill { padding: .2rem .65rem; border-radius: 999px; background: var(--purple-50); color: var(--purple-600); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.ld-pill.is-ok { background: var(--success-bg); color: var(--success); }
.ld-ring {
  --p: 0; width: 120px; height: 120px; margin: .3rem auto 1rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--purple-500) calc(var(--p) * 1%), var(--gray-100) 0);
}
.ld-ring strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--gray-900); }
.ld-center { text-align: center; }
@media (max-width: 1000px) { .ld-layout { grid-template-columns: minmax(0, 1fr); } .ld-aside { position: static; } }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.hero-search-center { margin-left: auto; margin-right: auto; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; }
.blog-cats a {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--gray-200);
  color: var(--gray-600); font-size: .86rem; font-weight: 800; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.blog-cats a span { font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; background: var(--gray-100); }
.blog-cats a:hover { border-color: var(--purple-100); background: var(--purple-50); color: var(--purple-600); }
.blog-cats a.active { background: var(--gradient); color: #fff; border-color: transparent; }
.blog-cats a.active span { background: rgba(255, 255, 255, .22); }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin: 0 0 .5rem; font-size: .76rem; font-weight: 700; color: var(--gray-400); }
.blog-cat { padding: .15rem .65rem; border-radius: 999px; background: var(--purple-50); color: var(--purple-600); font-weight: 800; }
.blog-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 1.6rem; background: #fff; border: 1px solid #ecebf7;
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md);
}
.blog-feature-media { display: block; min-height: 280px; background: var(--gradient-soft); }
.blog-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-feature-media span, .blog-card-media span { display: grid; place-items: center; height: 100%; min-height: 160px; font-size: 3rem; color: var(--purple-500); background: linear-gradient(135deg, #f3f0ff, #e1dbff); }
.blog-feature-body { padding: clamp(1.3rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: .8rem; align-items: flex-start; }
.blog-feature-body h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin: 0; }
.blog-feature-body h2 a { color: var(--gray-900); text-decoration: none; }
.blog-feature-body h2 a:hover { color: var(--purple-600); }
.blog-feature-body p { margin: 0; color: var(--gray-600); line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.blog-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #ecebf7; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gradient-soft); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.blog-card-title { font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin: 0 0 .4rem; }
.blog-card-title a { color: var(--gray-900); text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.blog-card-title a:hover { color: var(--purple-600); }
.blog-card-text { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--gray-600); }
.blog-card-foot { margin: auto 0 0; padding-top: .8rem; font-size: .76rem; font-weight: 800; color: var(--gray-400); }
@media (max-width: 800px) { .blog-feature { grid-template-columns: minmax(0, 1fr); } .blog-feature-media { min-height: 200px; aspect-ratio: 16 / 9; } }

/* ── Article ──────────────────────────────────────────────────────────────── */
.article-hero h1 { max-width: 46rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; font-size: .86rem; font-weight: 700; color: rgba(255, 255, 255, .9); }
.article-meta i { margin-right: .2rem; }
.article-wrap { max-width: 860px; }
.article-cover { margin: 0 0 1.6rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--gradient-soft); }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.article { font-size: 1.06rem; line-height: 1.85; color: #2c2c44; }
.article > :first-child { margin-top: 0; }
.article p { margin: 0 0 1.2rem; }
.article h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .7rem; color: var(--gray-900); }
.article h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .5rem; color: var(--gray-900); }
.article ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.article li { margin: .3rem 0; }
.article a { text-decoration: underline; font-weight: 700; }
.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin: 2.4rem 0 0; padding: 1.5rem 1.7rem;
  border-radius: 24px; background: linear-gradient(135deg, #f3f0ff, #e8e3ff); border: 1px solid var(--purple-100);
}
.article-cta h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.article-cta p { margin: 0; color: var(--gray-600); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ── Careers ──────────────────────────────────────────────────────────────── */
.job-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.job-values li { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid #ecebf7; border-radius: 20px; box-shadow: var(--shadow-sm); }
.job-values i { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--purple-50); color: var(--purple-600); font-size: 1.35rem; }
.job-values strong { display: block; font-size: .95rem; }
.job-values span { font-size: .84rem; color: var(--gray-600); line-height: 1.5; }
.job-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.job-search { display: flex; gap: .45rem; min-width: min(100%, 320px); }
.job-search .form-control { min-height: 40px; border-radius: 999px; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.job-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; padding: 1.3rem 1.5rem; background: #fff;
  border: 1px solid #ecebf7; border-radius: 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s, transform .2s;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-100); transform: translateY(-2px); }
.job-main { flex: 1 1 380px; min-width: 0; }
.job-main h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .3rem; }
.job-main h3 a { color: var(--gray-900); text-decoration: none; }
.job-main h3 a:hover { color: var(--purple-600); }
.job-summary { margin: 0 0 .7rem; color: var(--gray-600); font-size: .92rem; line-height: 1.6; }
.job-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.job-tags li { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-size: .76rem; font-weight: 700; }
.job-tags i { color: var(--purple-500); }
.job-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.job-checks li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.6; color: #2c2c44; }
.job-checks i { flex: none; margin-top: .2rem; color: var(--purple-500); font-size: 1.1rem; }
.job-article { font-size: 1rem; }
#apply.wd-aside { position: static; order: 0; }
.job-apply-head { padding: 1.3rem 1.3rem 0; }
.job-apply-head h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; }
.job-apply .wd-facts { padding: .3rem 0 .6rem; }
.job-form { display: grid; gap: .95rem; padding: .4rem 1.3rem 1.4rem; }
.job-field { display: grid; gap: .3rem; }
.job-field label { font-size: .8rem; font-weight: 800; color: var(--gray-600); }
.job-field .hint { font-size: .74rem; color: var(--gray-400); }
.job-field input[type="file"] { padding: .55rem; background: var(--gray-50); }
.job-consent { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 600 !important; line-height: 1.5; }
.job-consent input { margin-top: .25rem; width: 18px; height: 18px; flex: none; accent-color: var(--purple-600); }
.req { color: #b42318; }
.job-closed { display: flex; gap: .8rem; padding: 1.2rem 1.3rem 1.4rem; color: var(--gray-600); }
.job-closed i { font-size: 1.6rem; color: var(--purple-500); }
.job-closed p { margin: 0; line-height: 1.6; }
.applied-card { max-width: 560px; margin: 0 auto; padding: 2rem 1.6rem; text-align: center; background: #fff; border: 1px solid #ecebf7; border-radius: 26px; box-shadow: var(--shadow-md); }
.applied-card > i { font-size: 3.4rem; color: #15803d; }
.applied-card p { margin: .4rem 0; }
.applied-ref { display: inline-block; padding: .6rem 1.2rem; border-radius: 14px; background: var(--purple-50); color: var(--purple-800); font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; }
.applied-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.contact-cards li { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid #ecebf7; border-radius: 20px; box-shadow: var(--shadow-sm); }
.contact-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient); color: #fff; font-size: 1.3rem; }
.contact-cards span:not(.contact-ico) { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); }
.contact-cards a, .contact-cards strong { display: block; font-weight: 800; color: var(--gray-900); word-break: break-word; }
.contact-cards a { text-decoration: none; }
.contact-cards a:hover { color: var(--purple-600); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.contact-lead { margin: 0 0 1.1rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.contact-field.full { grid-column: 1 / -1; }
.contact-side { display: grid; gap: 1rem; }
.contact-tile { padding: 1.5rem; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #5b3fd6, #2d2180); box-shadow: var(--shadow-md); }
.contact-tile h2 { font-size: 1.2rem; margin: 0 0 .4rem; color: inherit; }
.contact-tile p { margin: 0 0 1rem; color: rgba(255, 255, 255, .9); line-height: 1.6; }
.contact-tile.is-light { background: #fff; color: var(--gray-900); border: 1px solid #ecebf7; box-shadow: var(--shadow-sm); }
.contact-tile.is-light p { color: var(--gray-600); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.branch-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.3rem; background: #fff; border: 1px solid #ecebf7; border-radius: 22px; box-shadow: var(--shadow-sm); }
.branch-top { display: flex; align-items: center; gap: .8rem; }
.branch-top h3 { font-size: 1.05rem; font-weight: 600; margin: 0; }
.branch-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .88rem; color: var(--gray-600); }
.branch-facts li { display: flex; gap: .55rem; align-items: flex-start; }
.branch-facts i { color: var(--purple-500); margin-top: .15rem; }
.branch-facts a { text-decoration: underline; }
.branch-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .contact-fields { grid-template-columns: minmax(0, 1fr); } }
