/* Дистанційна школа Акцент — pages.css
   Page-scoped styles extracted from former inline <style> blocks (CSP: enables style-src 'self').
   All selectors are page-prefixed; this single file is cached once and shared across inner pages. */

/* ===== 404 ===== */
    .nf-wrap { text-align: center; max-width: 720px; }
    .nf-code { font-size: 96px; font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -.04em; }
    .nf-h1 { font-size: 30px; margin: 14px auto 0; }
    .nf-lead { margin: 16px auto 0; max-width: 540px; }
    .nf-actions { justify-content: center; }
    .nf-hint { margin-top: 30px; font-size: 14px; color: var(--gray); }
    .nf-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }

/* ===== blog02 ===== */
    .bl-img { max-width: 300px; }

/* ===== blog03 ===== */
    .bl-img-wide { max-width: 400px; }

/* ===== dokumenty ===== */
    .doc-card { overflow: hidden; }
    .doc-img { width: 100%; display: block; }

/* ===== komanda ===== */
    .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
    .team-member { text-align: center; padding: 22px 14px 18px; }
    .team-member img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; border: 3px solid #f1ead3; display: block; }
    .team-member .name { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
    .team-member .role { font-size: 13px; color: var(--gray); line-height: 1.4; }

/* ===== kontakty ===== */
    .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
    .contact-info-block { margin-bottom: 22px; }
    .contact-info-block h3 { color: var(--orange); font-size: 1.1rem; margin-bottom: 6px; }
    .contact-info-block p { margin-bottom: 4px; }
    .contact-info-block p a { color: var(--text); }
    .contact-info-block p a:hover { color: var(--orange); }
    .social-links { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
    .social-links a img { width: 38px; height: 38px; object-fit: contain; }
    .map-wrap { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--card-border); box-shadow: var(--shadow-soft); }
    .map-wrap iframe { width: 100%; height: 420px; border: none; display: block; }
    .map-wide { margin-top: 40px; }
    @media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 32px; } .map-wrap iframe { height: 320px; } }

/* ===== misiia ===== */
    .mission-h { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
    .mission-quote { font-style: italic; border-left: 4px solid var(--orange); padding-left: 16px; color: #54596a; font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
    .values-list { list-style: none; padding: 0; margin: 0 0 20px; }
    .values-list li { padding: 9px 0; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--border); }
    .values-list li:last-child { border-bottom: none; }
    .values-list .letter { font-weight: 900; color: var(--orange); font-size: 1.1rem; margin-right: 6px; }

/* ===== osoblyvosti ===== */
    .os-narrow { max-width: 860px; }
    .os-card { padding: 34px 36px; }

/* ===== osvitni-prohramy ===== */
.op-progress { display:flex; align-items:stretch; gap:14px; justify-content:center; flex-wrap:wrap; }
.op-step { flex:1; min-width:240px; padding:26px 24px; }
.op-step .num { font-size:40px; font-weight:800; color:var(--orange); line-height:1; }
.op-step h3 { font-size:18px; font-weight:800; color:var(--ink); margin:10px 0 8px; }
.op-step p { font-size:14px; color:var(--gray); line-height:1.55; margin:0; }
.op-step.navy { background:var(--navy); border-color:var(--navy); box-shadow:0 16px 34px -20px rgba(17,22,74,.7); }
.op-step.navy .num { color:#ffb454; }
.op-step.navy h3 { color:#fff; }
.op-step.navy p { color:rgba(255,255,255,.8); }
.op-arrow { display:flex; align-items:center; font-size:28px; color:#d6b173; font-weight:800; }
.op-tagicon { width:42px; height:42px; border-radius:12px; background:rgba(26,35,126,.1); display:flex; align-items:center; justify-content:center; font-size:20px; }

.op-form-card { padding:32px 30px; }
.op-form-head { display:flex; align-items:center; gap:14px; }
.op-form-card h3 { font-size:22px; font-weight:800; color:var(--ink); margin:0; }
.op-form-card > p { font-size:15px; color:var(--gray); line-height:1.6; margin:18px 0 0; }

.op-levels { background:#fff; border:1px solid var(--card-border); border-radius:20px; overflow:hidden; box-shadow:0 18px 40px -28px rgba(17,22,74,.5); }
.op-lhead, .op-lrow { display:grid; grid-template-columns:.7fr 1.5fr 1.3fr; }
.op-lhead { background:var(--navy); }
.op-lhead > div { padding:16px 22px; font-size:13px; font-weight:800; letter-spacing:.04em; color:#fff; }
.op-lrow { border-bottom:1px solid #f0e6c2; }
.op-lrow.alt { background:#fffdf5; }
.op-lrow > div:nth-child(1) { padding:20px 22px; font-size:26px; font-weight:800; color:var(--orange); }
.op-lrow > div:nth-child(2) { padding:20px 22px; font-size:14.5px; color:var(--text); line-height:1.5; }
.op-lrow > div:nth-child(3) { padding:20px 22px; font-size:13.5px; color:var(--gray); }
.op-lrow > div:nth-child(3) a { color:var(--navy); font-weight:700; }

.op-profile { position:relative; display:grid; grid-template-columns:1.2fr .8fr; gap:44px; align-items:center; }
.op-glow { position:absolute; top:-90px; right:-70px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle,rgba(247,148,29,.25),transparent 70%); }
.op-profile-badge { display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.12); color:#ffd9a8; padding:8px 15px; border-radius:999px; font-size:13px; font-weight:700; }
.op-profile h2 { font-size:32px; line-height:1.16; font-weight:800; color:#fff; letter-spacing:-.02em; margin:18px 0 0; }
.op-profile .lead { font-size:16px; line-height:1.65; color:rgba(255,255,255,.84); margin:16px 0 0; max-width:560px; }
.op-points { display:flex; flex-direction:column; gap:12px; }
.op-points div { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:16px 18px; color:#fff; font-size:14.5px; font-weight:600; display:flex; gap:10px; }
.op-points span { color:#ffb454; }

.op-card-pad { padding:34px 36px; }
.op-mon { display:flex; flex-wrap:wrap; gap:30px; align-items:flex-start; justify-content:space-between; }
.op-mon-left { flex:1; min-width:280px; }
.op-mon h3 { font-size:20px; font-weight:800; color:var(--ink); margin:0 0 6px; }
.op-mon-left > p { font-size:14.5px; color:var(--gray); line-height:1.6; margin:0 0 16px; max-width:520px; }
.op-mon-pills { display:flex; flex-wrap:wrap; gap:9px; }
.op-mon-links { display:flex; flex-direction:column; gap:10px; min-width:240px; }
.op-mon-links a { font-size:14px; font-weight:700; color:var(--navy); display:flex; gap:8px; }

@media (max-width:860px){
  .op-arrow { display:none; }
  .op-profile { grid-template-columns:1fr; gap:26px; }
  .op-profile h2 { font-size:26px; }
}
@media (max-width:760px){
  .op-lhead { display:none; }
  .op-lrow { grid-template-columns:1fr; }
  .op-lrow > div { padding:14px 22px !important; }
  .op-lrow > div:nth-child(1) { padding-bottom:0 !important; }
}

/* ===== psykholoh ===== */
    .psykh-article { background: var(--white); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--card-border); margin-bottom: 28px; box-shadow: var(--shadow-soft); }
    .psykh-article-banner img { width: 100%; max-height: 280px; object-fit: cover; display: block; }
    .psykh-article-body { padding: 24px 26px 10px; }
    .psykh-article-body h3 { margin-bottom: 10px; }
    .psykh-article-body p { font-size: .92rem; color: var(--gray); }
    .psykh-wrap { max-width: 900px; }
    .psykh-article-extra { padding: 0 24px 24px; }
    .psykh-tip-h { color: var(--navy); margin-bottom: 12px; }
    .psykh-note { margin-top: 14px; }
    .psykh-sign { text-align: right; color: var(--orange); font-weight: 600; }
    .psykh-quote { font-style: italic; color: var(--gray); }
    .psykh-callout { background: var(--white); border: 2px solid var(--orange); border-radius: 8px; padding: 28px 32px; margin-top: 16px; }
    .psykh-callout h3 { color: var(--navy); margin-bottom: 16px; }
    .psykh-callout h4 { margin-top: 16px; margin-bottom: 8px; color: var(--navy); }
    .psykh-callout .tel-strong { font-weight: 700; }
    .psykh-sched { border-collapse: collapse; font-size: .92rem; }
    .psykh-sched td.day { padding: 4px 24px 4px 0; font-weight: 600; }
    .psykh-sched td.time { color: var(--orange); font-weight: 600; }

/* ===== rozklad ===== */
    .rz-wrap { max-width: 560px; }
    .rz-card { padding: 34px 32px; text-align: center; }
    .rz-img { max-width: 200px; margin: 0 auto 22px; border-radius: 14px; }
    .rz-p { color: var(--gray); font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
    .rz-p--tight { margin: 0 0 6px; }
    .rz-pp { margin: 0 0 20px; }
    .rz-link { font-weight: 700; color: var(--navy); font-size: 16px; }

/* ===== vartist ===== */
    .vt-note { margin-top: 26px; font-size: 15px; color: var(--text); }
    .vt-link { color: var(--navy); font-weight: 700; }
    .vt-narrow { max-width: 420px; margin: 0 auto; }

/* ===== video ===== */
    .yt-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .yt-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    /* Facade: thumbnail + play button */
    .yt-thumb {
      position: relative;
      cursor: pointer;
      background: #000;
      aspect-ratio: 16/9;
      overflow: hidden;
    }
    .yt-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity .2s;
    }
    .yt-thumb:hover img { opacity: .85; }
    .yt-play {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      width: 64px; height: 64px;
      background: rgba(0,0,0,.7);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      pointer-events: none;
      transition: background .2s;
    }
    .yt-thumb:hover .yt-play { background: #ff0000; }
    .yt-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
    /* Active iframe */
    .yt-thumb iframe {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      border: none;
    }
    .yt-info { padding: 14px 16px; }
    .yt-info strong { display: block; color: var(--navy); font-size: .95rem; }

    @media (max-width: 700px) {
      .yt-grid { grid-template-columns: 1fr; }
    }

/* ===== vstup ===== */
    .vs-card { padding: 30px 30px; }
    .vs-title { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 16px; }
    .vs-list { margin-top: 0; gap: 14px; }
    .vs-list--tight { gap: 12px; }

/* ===== zmi-pro-nas ===== */
    .zmi-hero { background: radial-gradient(120% 120% at 100% 0%,#fff6e6 0%,#f6f1e1 55%,#f2ecd9 100%); }
    .zmi-hero .inner { max-width: 1180px; margin: 0 auto; padding: 54px 28px 40px; text-align: center; }
    .zmi-h1 { font-size: 44px; line-height: 1.1; font-weight: 700; color: var(--ink); letter-spacing: -.025em; margin: 18px auto 0; max-width: 780px; }
    .zmi-h1 span { color: var(--orange); }
    .zmi-lead { font-size: 18px; line-height: 1.6; color: #54596a; margin: 18px auto 0; max-width: 660px; }
    .zmi-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin: 34px auto 0; padding-top: 30px; border-top: 1px solid #e2dac0; max-width: 620px; }
    .zmi-stats .num { font-size: 34px; font-weight: 800; color: var(--orange); line-height: 1; }
    .zmi-stats .lbl { font-size: 13.5px; color: var(--gray); margin-top: 6px; font-weight: 600; }

    .zmi-logos-sec { background: var(--cream); border-top: 1px solid #f0e6c2; border-bottom: 1px solid #f0e6c2; }
    .zmi-logos-sec .inner { max-width: 1180px; margin: 0 auto; padding: 30px 28px; }
    .zmi-logos-title { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #a99f86; margin: 0 0 20px; }
    .zmi-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
    .zmi-logos span { font-size: 22px; font-weight: 800; color: #7e8499; letter-spacing: -.01em; }
    .zmi-logos span .ua { color: #b6bccb; }

    .zmi-main .inner { max-width: 1180px; margin: 0 auto; padding: 48px 28px 60px; }
    .zmi-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
    .zmi-chip { font-family: inherit; cursor: pointer; font-size: 13.5px; font-weight: 700; padding: 10px 18px; border-radius: 999px; transition: all .15s; background: #fff; color: var(--navy); border: 1px solid #ddd4b0; }
    .zmi-chip .ct { opacity: .6; font-weight: 700; }
    .zmi-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 8px 18px -8px rgba(247,148,29,.7); }

    /* card box chrome + hover come from ui.css .card/.card-lift; this is the inner layout only */
    .zmi-card { padding: 24px 24px 22px; display: flex; flex-direction: column; }
    .zmi-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
    .zmi-src { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--orange); text-transform: uppercase; }
    .zmi-topic { font-size: 11px; font-weight: 700; color: var(--navy); background: rgba(26,35,126,.08); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
    .zmi-card h3 { font-size: 17px; line-height: 1.32; font-weight: 700; color: var(--ink); margin: 0; }
    .zmi-date { font-size: 12.5px; color: #9a9486; font-weight: 600; margin-top: 8px; }
    .zmi-desc { font-size: 13.5px; line-height: 1.55; color: var(--gray); margin: 12px 0 0; flex: 1; }
    .zmi-readmore { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-top: 18px; }
    .zmi-readmore:hover { color: var(--orange); }
    .zmi-empty { grid-column: 1/-1; text-align: center; color: #8a8576; font-weight: 600; padding: 30px 0; }

    .zmi-cta-sec { background: var(--cream); border-top: 1px solid #f0e6c2; }
    .zmi-cta-sec .inner { max-width: 1180px; margin: 0 auto; padding: 54px 28px; }

    @media (max-width: 640px) {
      .zmi-h1 { font-size: 30px; }
      .zmi-lead { font-size: 16px; }
      .zmi-hero .inner, .zmi-logos-sec .inner, .zmi-main .inner, .zmi-cta-sec .inner { padding-left: 18px; padding-right: 18px; }
      .zmi-stats { gap: 24px; }
    }

/* ===== znyzky ===== */
    .zn-card { padding: 30px 28px; }
    .zn-num { font-size: 46px; font-weight: 800; color: var(--orange); line-height: 1; }
    .zn-title { font-size: 18px; font-weight: 800; color: var(--ink); margin: 14px 0 10px; }
    .zn-list { margin-top: 0; }
    .zn-note { font-size: 14.5px; color: var(--gray); line-height: 1.6; margin: 0; }

/* ===== osvitni-prohramy (extra) ===== */
    .op-prog-wrap { line-height: 1.2; }
    .op-prog-num { font-size: 17px; font-weight: 800; color: #11164a; }
    .op-prog-lbl { font-size: 12px; color: #5d6270; font-weight: 600; }
    .op-narrow { max-width: 860px; }

/* ===== misiia (extra) ===== */
    .ms-photo-img { box-shadow: 0 26px 52px -24px rgba(17,22,74,.45); }
    .ms-quote-p { font-size: 15px; line-height: 1.65; color: #54596a; margin: 0; }

/* ===== video (extra) ===== */
    .vid-note { margin-top: 2rem; padding: 16px; background: #fff; border-radius: 6px; border: 1px solid var(--border); font-size: .9rem; color: #666; text-align: center; }

/* ===== zmi-pro-nas (extra) ===== */
    .zmi-italic { font-style: italic; }
