/*
Theme Name: Zbrojak Modern
Theme URI: https://zbrojak-ostrava.cz/
Author: Lena
Description: Modern custom theme for Zbrojak course websites. Uses existing WordPress content, menus, widgets and legacy Business theme settings.
Version: 0.1.0
Text Domain: zbrojak-modern
*/

:root {
  --red: #dd3333;
  --red-dark: #b91f28;
  --ink: #141821;
  --muted: #5d6575;
  --line: #e4e7ed;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --dark: #192130;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(20, 24, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(228, 231, 237, 0.9);
  box-shadow: 0 8px 28px rgba(20, 24, 33, 0.06);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 160px;
}

.brand img {
  display: block;
  max-width: 178px;
  max-height: 58px;
  object-fit: contain;
}

.brand-text {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav li:hover > a {
  background: rgba(221, 51, 51, 0.09);
  color: var(--red);
}

.main-nav ul ul {
  position: absolute;
  left: -9999px;
  top: 46px;
  display: block;
  min-width: 260px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul {
  left: 0;
}

.main-nav ul ul a {
  width: 100%;
  padding: 10px 12px;
}

.menu-toggle {
  display: none !important;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  background: var(--red) !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 33, 0.82) 0%, rgba(20, 24, 33, 0.58) 46%, rgba(20, 24, 33, 0.14) 100%),
    linear-gradient(0deg, rgba(20, 24, 33, 0.34), rgba(20, 24, 33, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 96px 0 132px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  background: rgba(221, 51, 51, 0.92);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.04;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.button,
button,
input[type="submit"],
.su-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px !important;
  background: var(--red) !important;
  border: 1px solid var(--red) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 16px 34px rgba(221, 51, 51, 0.28);
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.su-button:hover {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  color: #fff !important;
}

.cta-band {
  position: relative;
  z-index: 4;
  margin-top: -52px;
}

.cta-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.benefits {
  padding: 72px 0 66px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit {
  min-height: 100%;
  padding: 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 24, 33, 0.07);
}

.benefit-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(221, 51, 51, 0.09);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 22px;
}

.benefit h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-widgets,
.home-posts {
  padding: 74px 0;
  background: var(--paper);
}

.home-posts {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head .kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}

.widget-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
}

.widget {
  margin-bottom: 24px;
}

.widget-title,
.widget h1,
.widget h2,
.widget h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.tagcloud a {
  display: inline-block;
  margin: 4px 5px 4px 0;
  padding: 6px 8px;
  background: rgba(221, 51, 51, 0.08);
  border-radius: 6px;
  line-height: 1;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.07);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-body {
  padding: 18px;
}

.post-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero-modern {
  padding: 32px 0 54px;
  background-position: center;
  background-size: cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: #fff;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: end;
  min-width: 0;
}

.page-hero-copy {
  max-width: 820px;
  min-width: 0;
}

.page-hero-copy .eyebrow {
  margin: 0 0 14px;
  color: #ff8d8d;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero-card,
.page-side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero-card {
  padding: 24px;
  min-width: 0;
}

.page-hero-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.page-hero-card .button,
.page-side-cta .button {
  width: 100%;
}

.page-main {
  padding: 46px 0 78px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
  min-width: 0;
}

.content {
  max-width: none;
  min-width: 0;
  margin: 0;
  color: #303746;
  font-size: 17px;
  line-height: 1.78;
}

.content h2,
.content h3,
.content h4 {
  margin: 1.35em 0 0.55em;
  color: var(--ink);
  font-weight: 800;
}

.content h3 {
  font-size: 26px;
  line-height: 1.25;
}

.content h4 {
  font-size: 22px;
  line-height: 1.28;
}

.content p {
  margin: 0 0 1.15em;
}

.content ul,
.content ol {
  margin: 0 0 1.35em 1.25em;
}

.content li {
  margin-bottom: 0.5em;
}

.content table {
  width: 100% !important;
  max-width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.06);
}

.content td,
.content th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.content tr:last-child td {
  border-bottom: 0;
}

.content a:not(.button):not(.su-button) {
  color: var(--red);
  font-weight: 800;
}

.content img,
.content iframe {
  max-width: 100%;
}

.content .su-button,
.content .su-button span,
.content a.button {
  line-height: 1.25 !important;
}

.content .su-button,
.content a.button {
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

.content .su-button span {
  display: inline !important;
  padding: 0 !important;
}

.content p:has(.su-button) {
  display: none;
}

.content .su-note {
  margin: 28px 0 !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
}

.content .su-note-inner {
  padding: 20px 22px !important;
  border: 1px solid rgba(229, 47, 51, 0.22) !important;
  border-left: 5px solid var(--red) !important;
  border-radius: var(--radius) !important;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 0 16px 38px rgba(20, 24, 33, 0.08) !important;
  font-size: 19px;
}

.page-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.page-side-image {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-side-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-side-card {
  padding: 22px;
}

.page-side-cta {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.page-side-cta p {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.page-side-cta .button {
  background: #151b27 !important;
  border-color: #151b27 !important;
  box-shadow: none !important;
}

.page-side-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 19px;
}

.page-side-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-side-card li {
  margin: 0;
}

.page-side-card a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.page-side-card a:not(.button)::after {
  content: "\f105";
  font-family: FontAwesome;
  color: var(--red);
}

.page-side-card li:last-child a {
  border-bottom: 0;
}

.page-course-flow {
  margin-top: 34px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 24, 33, 0.06);
}

.page-course-flow .eyebrow {
  margin-bottom: 16px;
}

.page-course-flow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: course-step;
}

.page-course-flow li {
  position: relative;
  margin: 0;
  counter-increment: course-step;
}

.page-course-flow a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.page-course-flow a::before {
  content: counter(course-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.page-course-flow a:hover,
.page-course-flow .is-current a {
  background: var(--red);
  border-color: var(--red);
  color: #fff !important;
}

.page-course-flow a:hover::before,
.page-course-flow .is-current a::before {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.course-start-hero {
  padding: 34px 0 66px;
  background-position: center;
  background-size: cover;
}

.course-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: end;
}

.course-start-copy {
  max-width: 760px;
  min-width: 0;
}

.course-start-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.course-start-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.course-date-card {
  padding: 30px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.26);
}

.course-date-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-date-card strong {
  display: block;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.18;
}

.course-date-card .button {
  width: 100%;
}

.course-date-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.course-start-main {
  padding: 54px 0 82px;
}

.course-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.course-start-lead,
.course-start-note,
.course-info-grid article,
.course-flow {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 24, 33, 0.07);
}

.course-start-lead {
  padding: 34px;
}

.course-start-lead h2,
.course-info-grid h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.course-start-lead p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 0 24px;
  color: #303746;
  font-size: 18px;
  line-height: 1.75;
}

.course-start-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: #151b27;
  color: #fff;
}

.course-start-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.course-start-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.course-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.course-info-grid article {
  padding: 28px;
}

.course-info-grid .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: rgba(221, 51, 51, 0.1);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 19px;
}

.course-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.course-info-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 800;
}

.course-flow {
  margin-top: 28px;
  padding: 28px;
  text-align: center;
}

.course-flow div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.course-flow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--red);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(221, 51, 51, 0.22);
}

.course-flow a:hover {
  background: var(--red-dark);
  color: #fff;
}

.schedule-hero {
  padding: 34px 0 62px;
  background-position: center;
  background-size: cover;
}

.schedule-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: end;
}

.schedule-hero-grid h1 {
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.06;
}

.schedule-hero-grid p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.schedule-hero-card,
.schedule-unlock,
.schedule-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-hero-card {
  padding: 24px;
}

.schedule-hero-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.schedule-hero-card .button {
  width: 100%;
}

.schedule-main {
  padding: 52px 0 82px;
}

.schedule-unlock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
}

.schedule-unlock-copy h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.16;
}

.schedule-unlock-copy p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.schedule-unlock-copy a {
  color: var(--red);
  font-weight: 800;
}

.schedule-password-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.schedule-password-form label {
  color: var(--ink);
  font-weight: 800;
}

.schedule-password-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.schedule-password-form input:focus {
  outline: 3px solid rgba(221, 51, 51, 0.18);
  border-color: rgba(221, 51, 51, 0.58);
}

.schedule-password-form button {
  width: 100%;
}

.schedule-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
}

.contact-hero {
  padding: 34px 0 62px;
  background-position: center;
  background-size: cover;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: end;
}

.contact-hero-grid h1 {
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.06;
}

.contact-hero-grid p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-main {
  padding: 52px 0 82px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-card,
.contact-map {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 24, 33, 0.07);
}

.contact-card {
  padding: 26px;
}

.contact-card-primary {
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.26);
}

.contact-card .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: rgba(221, 51, 51, 0.1);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 19px;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.contact-card p {
  margin: 0;
  color: #303746;
  line-height: 1.7;
}

.contact-card .muted {
  margin-top: 10px;
  color: var(--muted);
}

.contact-card a:not(.button) {
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
}

.contact-next {
  background: #151b27;
  color: #fff;
}

.contact-next h2,
.contact-next p {
  color: #fff;
}

.contact-next p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-map {
  overflow: hidden;
  min-height: 620px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

.archive-hero {
  padding: 34px 0 62px;
  background-position: center;
  background-size: cover;
}

.archive-hero-copy {
  max-width: 820px;
}

.archive-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
}

.archive-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.archive-main {
  padding: 52px 0 82px;
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 24, 33, 0.06);
}

.archive-card-image {
  display: block;
  overflow: hidden;
  min-height: 150px;
  background: var(--dark);
  border-radius: var(--radius);
}

.archive-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.archive-card-body {
  min-width: 0;
  padding: 6px 0;
}

.archive-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.archive-card h2 a {
  color: var(--ink);
}

.archive-card h2 a:hover,
.archive-more:hover {
  color: var(--red);
}

.archive-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.archive-more {
  color: var(--red);
  font-weight: 800;
}

.archive-pagination {
  margin-top: 28px;
  font-weight: 800;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  margin-right: 6px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.archive-pagination .current,
.archive-pagination a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.archive-empty {
  max-width: 680px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.archive-empty h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
}

.archive-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

.post-password-form {
  max-width: 620px;
  margin: 0 auto;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.post-password-form label {
  display: block;
  font-weight: 800;
}

.post-password-form input[type="password"] {
  width: 100%;
  max-width: 360px;
  min-height: 46px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  padding: 56px 0 20px;
  background: #151b27;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.site-footer,
.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget-title {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffb1b1;
}

.site-info {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .main-nav ul {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .benefit-grid,
  .post-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid,
  .page-layout,
  .course-start-grid,
  .course-start-panel,
  .schedule-hero-grid,
  .schedule-unlock,
  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-course-flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-info-grid {
    grid-template-columns: 1fr;
  }

  .page-side-image {
    display: none;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1140px, calc(100% - 36px));
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 74px 0 112px;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 17px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .cta-inner h2 {
    max-width: 280px;
    font-size: 18px;
  }

  .benefit-grid,
  .post-grid,
  .footer-grid,
  .widget-columns {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .page-hero-modern {
    padding: 28px 0 38px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }

  .page-hero-grid {
    gap: 28px;
  }

  .page-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .page-hero-actions,
  .page-hero-actions .button {
    width: 100%;
  }

  .page-hero-card {
    padding: 22px;
  }

  .page-main {
    padding: 34px 0 58px;
  }

  .content {
    font-size: 16px;
  }

  .content table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .content .button,
  .content .su-button {
    width: 100%;
    max-width: 100% !important;
  }

  .page-side {
    grid-template-columns: 1fr;
  }

  .page-course-flow {
    padding: 22px;
  }

  .page-course-flow ol {
    grid-template-columns: 1fr;
  }

  .course-start-hero {
    padding: 28px 0 42px;
  }

  .course-start-grid {
    gap: 26px;
  }

  .course-start-copy h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.12;
  }

  .course-start-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .course-date-card,
  .course-start-lead,
  .course-start-note,
  .course-info-grid article,
  .course-flow {
    padding: 22px;
  }

  .course-date-card strong {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .course-start-main {
    padding: 34px 0 58px;
  }

  .course-start-lead h2,
  .course-info-grid h2 {
    font-size: 23px;
  }

  .course-start-lead p:not(.eyebrow) {
    font-size: 16px;
  }

  .course-flow a {
    width: 100%;
  }

  .schedule-hero {
    padding: 28px 0 42px;
  }

  .schedule-hero-grid {
    gap: 24px;
  }

  .schedule-hero-grid h1 {
    font-size: 36px;
  }

  .schedule-hero-grid p:not(.eyebrow) {
    font-size: 16px;
  }

  .schedule-main {
    padding: 34px 0 58px;
  }

  .schedule-unlock,
  .schedule-content,
  .schedule-password-form {
    padding: 22px;
  }

  .schedule-unlock-copy h2 {
    font-size: 25px;
  }

  .contact-hero {
    padding: 28px 0 42px;
  }

  .contact-hero-grid {
    gap: 24px;
  }

  .contact-hero-grid h1 {
    font-size: 36px;
  }

  .contact-hero-grid p:not(.eyebrow) {
    font-size: 16px;
  }

  .contact-main {
    padding: 34px 0 58px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 420px;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 25px;
    line-height: 1.12;
  }

  .brand img {
    max-width: 148px;
  }

  .main-nav a {
    padding: 9px 8px;
    font-size: 13px;
  }
}

.hero-redesign {
  min-height: 580px;
  align-items: stretch;
}

.hero-redesign::after {
  background:
    linear-gradient(90deg, rgba(14, 18, 27, 0.92) 0%, rgba(14, 18, 27, 0.72) 48%, rgba(14, 18, 27, 0.22) 100%),
    linear-gradient(0deg, rgba(14, 18, 27, 0.72), rgba(14, 18, 27, 0.08));
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
  min-height: 580px;
  padding: 44px 0 104px;
}

.hero-redesign .hero-content {
  max-width: 760px;
  padding: 0;
}

.hero-redesign h1 {
  max-width: 760px;
  font-size: 64px;
}

.hero-redesign p {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.44) !important;
}

.hero-panel {
  align-self: end;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.28);
}

.hero-panel p {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-panel .button {
  width: 100%;
}

.panel-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.panel-links a {
  display: block;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.panel-links a:hover {
  color: var(--red);
}

.route-strip {
  position: relative;
  z-index: 5;
  margin-top: -66px;
}

.route-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-grid::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 39px;
  height: 2px;
  background: linear-gradient(90deg, rgba(221, 51, 51, 0.18), rgba(221, 51, 51, 0.82), rgba(221, 51, 51, 0.18));
}

.route-card {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.route-card span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  background: var(--red);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.route-card strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.24;
}

.choice-section {
  padding: 92px 0 82px;
  background: var(--soft);
}

.choice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.choice-main {
  padding: 46px;
  background: #151b27;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.choice-main .kicker {
  margin: 0 0 10px;
  color: #ff8d8d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.choice-main h2 {
  max-width: 720px;
  margin: 0 0 28px;
  color: #fff;
  font-size: 44px;
  line-height: 1.08;
}

.choice-list {
  display: grid;
  gap: 12px;
}

.choice-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
}

.choice-list a:hover {
  background: var(--red);
  color: #fff;
}

.choice-aside {
  display: grid;
  gap: 16px;
}

.choice-aside article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 24, 33, 0.07);
}

.choice-aside h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.choice-aside p {
  margin: 0;
  color: var(--muted);
}

.choice-media {
  height: 538px;
  margin: 0;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.choice-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.proof-band {
  padding: 0 0 44px;
  background: var(--soft);
}

.proof-band .benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.benefit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background: var(--red);
  border-color: var(--red);
}

.benefit-cta h3 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 26px;
}

.benefit-cta .button {
  flex: 0 0 auto;
  margin-top: 0;
  background: #151b27 !important;
  border-color: #151b27 !important;
  box-shadow: none;
}

.resource-section {
  padding: 56px 0 84px;
  background: #f0f2f5;
  border-top: 1px solid var(--line);
}

.resource-section .section-head {
  text-align: left;
  margin-left: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.topic-panel,
.article-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 24, 33, 0.06);
}

.topic-panel h3,
.article-panel h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  background: rgba(221, 51, 51, 0.08);
  border: 1px solid rgba(221, 51, 51, 0.1);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.topic-list a:hover {
  background: var(--red);
  color: #fff;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-item a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.32;
}

.article-item a:hover {
  border-color: rgba(221, 51, 51, 0.35);
  color: var(--red);
}

.article-item img {
  width: 86px;
  height: 74px;
  object-fit: cover;
  border-radius: 6px;
}

.widget_search,
.search-form,
.search-submit,
.site-footer input[type="submit"],
#wpadminbar #adminbarsearch,
#wpadminbar .ab-top-secondary {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-shell,
  .choice-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    align-items: end;
    gap: 28px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .route-grid,
  .proof-band .benefit-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .route-grid::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-redesign,
  .hero-shell {
    min-height: auto;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 0;
    padding: 12px 18px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    max-width: 132px;
    max-height: 46px;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .main-nav.is-open {
    display: block;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: end;
    flex-direction: column;
    position: relative;
    z-index: 2;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .main-nav li {
    min-width: 0;
  }

  .main-nav a {
    min-height: 40px;
    justify-content: flex-start;
    padding: 8px 7px;
    text-align: left;
    font-size: 13px;
  }

  .hero-redesign {
    overflow: visible;
  }

  .hero-shell {
    gap: 22px;
    padding: 40px 0 32px;
  }

  .hero-redesign h1 {
    max-width: 100%;
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .hero-redesign p {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button,
  .hero-panel .button {
    max-width: none;
  }

  .hero-actions,
  .hero-panel {
    max-width: 100%;
  }

  .hero-panel,
  .choice-main,
  .choice-media,
  .choice-aside article {
    width: 100%;
    max-width: 100%;
    padding: 22px;
  }

  .choice-media {
    height: 420px;
    padding: 0;
  }

  .benefit-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefit-cta .button {
    width: 100%;
  }

  .hero-panel p {
    max-width: none;
    font-size: 20px;
  }

  .panel-links {
    max-width: none;
  }

  .panel-links a {
    font-size: 15px;
    line-height: 1.35;
  }

  .choice-main h2 {
    font-size: 30px;
  }

  .route-strip {
    margin-top: 0;
    padding-top: 14px;
  }

  .route-card {
    min-height: 108px;
  }
}
