/*
Theme Name: Logel 2026
Theme URI: https://logel.bg/
Author: Logel
Description: Нова визия по одобреното предложение. Темата skeletonblock остава инсталирана и не се променя.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: logel-2026
*/

:root {
  --orange: #f6941e;
  --navy: #021145;
  --ink: #1c1c1c;
  --muted: #5c6570;
  --line: #e6e8ec;
  --paper: #f4f6f8;
  --cream: #fff6eb;
  --site: min(1400px, 95%);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: clip; }
body.logel-2026 { font-family: Manrope, sans-serif; color: var(--ink); background: #fff; color-scheme: light; line-height: 1.55; }
body.logel-2026 h1,
body.logel-2026 h2,
body.logel-2026 h3,
body.logel-2026 h4 { font-family: Unbounded, sans-serif; letter-spacing: -0.03em; }
img { max-width: 100%; display: block; }
.wrap { width: var(--site); margin: 0 auto; }
header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); height: 76px; display: flex; align-items: center; }
.bar { width: var(--site); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.logo { height: 48px; width: 150px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
nav a, header a, footer a, .product a, .news a, .about a, .callbar, .related a, .post-card a { color: inherit; text-decoration: none; }
nav a:hover { color: var(--orange); }
.header-tools { margin-left: auto; margin-right: 0; flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.phone { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 18px; border: 0; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn.dark { background: var(--navy); }
.menu-btn { display: none; margin-left: 10px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 20px; }
.hero { position: relative; min-height: 640px; background: #0b1220 url("https://logel.bg/wp-content/uploads/2024/07/logel-hero-image.jpg") center 60% / cover no-repeat; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,17,69,.82) 0%, rgba(2,17,69,.28) 55%, rgba(2,17,69,.08) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 52% 90% at -6% 78%, rgba(246,148,30,.55), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; padding: 80px 0 72px; }
.eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .14em; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: 76px; line-height: .92; margin: 0 0 18px; color: var(--orange); font-weight: 700; }
.lead { max-width: 14em; font-family: Unbounded, sans-serif; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.16; font-weight: 700; letter-spacing: -0.035em; margin: 0 0 28px; color: #fff; text-shadow: 0 10px 28px rgba(0,0,0,.28); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.answer .card { margin-top: -32px; position: relative; background: var(--cream); border-left: 4px solid var(--orange); border-radius: 0 16px 16px 0; padding: 20px 24px; box-shadow: 0 12px 30px rgba(2,17,69,.06); }
.answer strong { display: block; font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.answer p { margin: 0; }
.stats { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; color: #fff; background: #021145; box-sizing: border-box; padding-left: max(2.5%, calc((100% - 1400px) / 2)); padding-right: max(2.5%, calc((100% - 1400px) / 2)); }
.stats::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(circle 110px at 94% 50%, rgba(246,148,30,.32), transparent 72%); }
.stats div { position: relative; z-index: 1; padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 28px; color: var(--orange); margin-bottom: 6px; }
.stats span { display: block; font-size: 15px; color: #e6e8ee; }
.section { padding: 80px 0; }
.section h2, .partners h2 { font-size: 36px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 680px; }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.about img { height: 380px; width: 100%; object-fit: cover; border-radius: 18px; }
.about p { font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product img { height: 200px; width: 100%; object-fit: cover; }
.product div { padding: 16px 16px 18px; }
.product h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.product p { margin: 0 0 14px; color: var(--muted); font-size: 14px; min-height: 42px; }
.product-split .split { display: grid; grid-template-columns: 1fr 1fr; }
.product-split .split a { position: relative; display: block; overflow: hidden; color: #fff; }
.product-split .split img { height: 220px; transition: transform .55s ease; }
.product-split .split a:hover img { transform: scale(1.07); }
.product-split .split a + a { box-shadow: inset 1px 0 0 rgba(255,255,255,.72); }
.product-split .split a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 78px; background: linear-gradient(transparent, rgba(2,17,69,.88)); }
.product-split .split span { position: absolute; z-index: 1; left: 12px; bottom: 12px; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: #fff; }
.origin { position: relative; z-index: 2; width: 100%; overflow: hidden; color: #fff; padding: 34px 0; background:
  radial-gradient(ellipse 28% 140% at 0% 50%, rgba(246,148,30,.55), transparent 70%),
  radial-gradient(ellipse 24% 140% at 100% 50%, rgba(246,148,30,.28), transparent 72%),
  linear-gradient(90deg, #021145 0%, #0a1b52 48%, #021145 100%); }
.origin-window { width: min(860px, 86%); margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.origin-track { display: flex; width: max-content; gap: 72px; animation: origin-roll 16s linear infinite; }
.origin-track p { margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; white-space: nowrap; color: #fff; }
.origin + .answer .card { margin-top: 28px; }
@keyframes origin-roll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 36px)); } }
.origin:hover .origin-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .origin-track { animation: none; width: 100%; justify-content: center; }
  .origin-track p:last-child { display: none; }
  .origin-track p { white-space: normal; text-align: center; font-size: 28px; }
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 16px; padding: 22px; border-top: 4px solid var(--orange); }
.step b { display: block; color: var(--orange); margin-bottom: 8px; }
.paper { background: var(--paper); }
#products { color: #fff; overflow: hidden; background:
  radial-gradient(ellipse 62% 90% at -4% 45%, rgba(246,148,30,.88) 0%, rgba(160,62,8,.4) 42%, transparent 70%),
  linear-gradient(100deg, #3a1a0a 0%, #1c140f 34%, #12182c 62%, #0c1224 100%); }
#products h2 { color: #fff; }
#products .sub { color: #d5d8e0; }
#products .product { color: var(--ink); box-shadow: 0 18px 44px rgba(0,0,0,.28); }
#products .product p { color: var(--muted); }
#service { color: var(--ink); background: #fff; }
#service h2, #service .step h3 { color: var(--ink); }
#service .sub { color: var(--muted); }
#service .step h3 { margin: 0 0 8px; }
#service .step p { margin: 0; color: var(--muted); }
#service .step { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); box-shadow: 0 12px 28px rgba(2,17,69,.06); }
#news { color: #fff; overflow: hidden; padding-bottom: 110px; background:
  radial-gradient(ellipse 48% 70% at -2% 92%, rgba(246,148,30,.85) 0%, rgba(160,55,8,.35) 48%, transparent 72%),
  radial-gradient(ellipse 44% 64% at 102% 96%, rgba(246,148,30,.72) 0%, rgba(140,50,8,.3) 50%, transparent 72%),
  #0c1020; }
#news h2, #news .news h3 { color: #fff; }
#news .sub, #news .news p { color: #c9cdd6; }
#news .news article { background: transparent; border: 0; }
#news .news img { border-radius: 18px; height: 240px; }
.news { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.news article { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.news img { height: 220px; width: 100%; object-fit: cover; }
.news div { padding: 16px 18px 20px; }
.news h3 { margin: 0 0 8px; font-size: 20px; }
.partners { padding: 72px 0 0; }
.partners .wrap { text-align: center; margin-bottom: 28px; }
.logo-wall { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logo-wall div { min-height: 168px; display: flex; align-items: center; justify-content: center; padding: 36px 28px; border-right: 1px solid var(--line); }
.logo-wall div:last-child { border-right: 0; }
.logo-wall img { width: min(100%, 220px); height: 84px; object-fit: contain; }
footer { position: relative; overflow: hidden; color: #fff; background: #0b1020; padding: 0 0 40px; }
footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 70% 46% at 50% 0%, rgba(246,148,30,.55) 0%, rgba(170,64,8,.16) 38%, transparent 68%); }
.cta { position: relative; z-index: 1; padding: 44px 0 20px; background: none; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { margin: 0 0 6px; font-size: 28px; }
.cta p { margin: 0; color: #d5d8e0; }
.foot { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; padding: 12px 0 0; }
footer a { display: block; padding: 4px 0; color: #d5d8e0; }
footer h3 { margin: 0 0 10px; font-size: 16px; }
footer p { color: #d5d8e0; }
.callbar { display: none; }

.page-plain, .service-page { padding: 28px 0 48px; }
.page-plain h1, .service-page h1 { font-size: 42px; line-height: 1.15; margin: 28px 0 16px; color: var(--ink); }
.service-page h2 { font-size: 28px; margin: 28px 0 12px; }
.service-content .logel-inshort { border-radius: 0 16px 16px 0; box-shadow: 0 12px 30px rgba(2,17,69,.06); }
.service-content .container-header-services { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; padding: 28px 0 10px; }
.service-content img { border-radius: 16px; height: auto; }
.service-content .image-column img { width: 100%; height: 360px; object-fit: cover; }
.service-content .accordion,
.page-plain .accordion {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 16px;
  padding: 16px 46px 16px 18px;
  font: inherit;
  font-weight: 700;
  margin-top: 14px;
  cursor: pointer;
  position: relative;
}
.accordion .logel-plus-icon { display: none; }
.accordion::after,
.wp-block-details summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-135deg);
  pointer-events: none;
}
.accordion.is-collapsed::after,
.wp-block-details:not([open]) summary::after {
  margin-top: -4px;
  transform: rotate(45deg);
}
.wp-block-details summary { position: relative; display: block; padding-right: 36px; cursor: pointer; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.service-content .panel, .service-content .panel-row, .service-content .big-panel-row { padding: 8px 0 18px; }
.service-content li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.service-content .entry a, .page-plain .service-content a, .entry a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 48px; }
.related a { border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-weight: 700; background: #fff; }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card h2 { font-size: 20px; margin: 0; padding: 16px 16px 0; }
.post-card p { color: var(--muted); padding: 8px 16px 16px; }
.entry-image img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; }
.wpcf7 input[type="submit"] { background: var(--orange); color: #fff; font-weight: 700; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; }
.nav-links { display: flex; gap: 12px; margin: 28px 0; }
.page-plain .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.service-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.entry .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}
.page-plain .service-categories,
.page-plain .posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 8px 0 48px;
  align-items: stretch;
  max-width: none;
  width: 100%;
}
.page-plain .service-category,
.page-plain .posts-group {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2,17,69,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-plain .service-category:hover,
.page-plain .posts-group:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2,17,69,.14);
}
.page-plain .service-category .product-thumb {
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--paper);
  flex: 0 0 auto;
}
.page-plain .service-category img,
.page-plain .service-category .product-thumb img,
.page-plain .posts-group img {
  width: 100%;
  height: 210px;
  max-height: 210px;
  object-fit: cover;
  border-radius: 0;
}
.page-plain .service-category h3,
.page-plain .posts-headings {
  margin: 0;
  padding: 16px 16px 0;
  font-size: 18px;
  line-height: 1.3;
}
.page-plain .service-category h3 a,
.page-plain .posts-headings a,
.page-plain .logel-related a {
  color: var(--navy);
  text-decoration: none;
}
.page-plain .service-category p,
.page-plain .posts-inside p {
  margin: 0;
  padding: 8px 16px 0;
  color: var(--muted);
  font-size: 14px;
}
.page-plain .service-category .more-link,
.page-plain .skeletonblockButtons,
.page-plain .posts-inside .see-more {
  display: inline-flex;
  margin: 14px 16px 18px;
  margin-top: auto;
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
}
.page-plain .has-text-align-center { text-align: center; }
.page-plain .wp-block-image { margin: 18px 0; }
.page-plain .wp-block-image img { margin-left: auto; margin-right: auto; border-radius: 16px; }
.page-legacy { padding-bottom: 48px; }
.page-legacy .wp-block-post-title,
.page-legacy h1 { width: var(--site); margin: 28px auto 8px; }
.page-legacy .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: var(--site); margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  nav, .header-tools .phone { display: none; }
  header.is-open { height: auto; align-items: flex-start; }
  header.is-open .bar { flex-wrap: wrap; padding: 12px 0; }
  header.is-open nav, header.is-open .header-tools .phone { display: flex; }
  header.is-open nav { flex-direction: column; width: 100%; order: 5; padding: 8px 0 12px; }
  .menu-btn { display: inline-block; }
  .hero h1 { font-size: 42px; }
  .hero { min-height: 540px; }
  .stats, .about, .grid, .steps, .news, .foot, .cta-grid, .related, .post-grid, .service-content .container-header-services, .page-plain .service-categories, .page-plain .posts-container { grid-template-columns: 1fr; display: grid; }
  .stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .about img, .news img, .service-content .image-column img { height: 220px; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-wall div { min-height: 120px; border-bottom: 1px solid var(--line); }
  .logo-wall img { height: 64px; }
  .section { padding: 48px 0 96px; }
  footer { padding-bottom: 96px; }
  .page-plain h1, .service-page h1 { font-size: 32px; }
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--orange); color: #fff; border-radius: 999px; justify-content: center; padding: 14px; font-weight: 700; }
}

body.logel-2026 a.btn,
body.logel-2026 .btn {
  color: #fff;
  background: #f6941e;
}
body.logel-2026 a.btn.dark,
body.logel-2026 .btn.dark {
  background: #021145;
  color: #fff;
}
body.logel-2026 a.btn.ghost,
body.logel-2026 .btn.ghost {
  background: transparent;
  color: #fff;
}

/* logel-bands */
.page-plain > .wp-block-group.has-background,
.service-page > .wp-block-group.has-background {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 56px 0 !important;
  box-sizing: border-box;
}
.page-plain > .wp-block-group.has-background > .wp-block-group__inner-container,
.service-page > .wp-block-group.has-background > .wp-block-group__inner-container {
  width: min(1400px, 95%);
  max-width: min(1400px, 95%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page-plain > .wp-block-group.has-background :where(h2, h3, h4),
.service-page > .wp-block-group.has-background :where(h2, h3, h4) {
  margin-top: 0;
  letter-spacing: -0.02em;
}
.page-plain > .wp-block-group.has-background ul,
.service-page > .wp-block-group.has-background ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}
.page-plain > .wp-block-group.has-background li,
.service-page > .wp-block-group.has-background li {
  margin: 6px 0;
}

.page-plain h2,
.page-legacy h2,
.page-legacy h3.has-text-align-center {
  letter-spacing: -0.02em;
}
.page-plain .addressAndTelHeader {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.page-plain .addressAndTelHeader li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 16px;
}
.page-plain .wpcf7,
.page-legacy .wpcf7 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(2,17,69,.06);
}
.page-plain .wpcf7 { max-width: 760px; margin: 8px auto 40px; }
.page-plain .wpcf7 label,
.page-legacy .wpcf7 label { display: block; margin: 0 0 12px; font-weight: 500; }
.page-plain .wpcf7 input[type="submit"],
.page-legacy .wpcf7 input[type="submit"] { margin-top: 6px; }

.page-legacy .contactFormRow {
  background: var(--paper);
  padding: 28px 0 64px;
}
.page-legacy .contact-columns-box {
  display: grid !important;
  grid-template-columns: minmax(260px, .85fr) 1.15fr;
  gap: 28px;
  width: var(--site);
  margin: 8px auto 36px;
  align-items: start;
}
.page-legacy .contactColumns {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 12px;
  box-shadow: 0 10px 24px rgba(2,17,69,.05);
}
.page-legacy .contactColumns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-legacy .contactColumns li { margin: 0; line-height: 1.45; }
.page-legacy iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 18px;
  display: block;
}
.skeletonblock-icons {
  display: block;
  background-color: var(--orange);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.skeletonblock-icons.phone-skeletonblock {
  mask-image: url("/wp-content/uploads/2024/02/phone-logel.svg");
  -webkit-mask-image: url("/wp-content/uploads/2024/02/phone-logel.svg");
}
.skeletonblock-icons.email-skeletonblock {
  mask-image: url("/wp-content/uploads/2024/02/email-logel.svg");
  -webkit-mask-image: url("/wp-content/uploads/2024/02/email-logel.svg");
}
.skeletonblock-icons.location-skeletonblock {
  mask-image: url("/wp-content/uploads/2024/02/location-logel.svg");
  -webkit-mask-image: url("/wp-content/uploads/2024/02/location-logel.svg");
}
.page-plain .addressAndTelHeader .skeletonblock-icons,
.page-legacy .contactColumns .skeletonblock-icons {
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin: 2px 0 0;
}

.page-legacy .wp-block-group.has-background:has(.timeline),
.page-legacy .wp-block-group.has-background:has(.theme-border-radius) {
  background: var(--paper);
  padding: 36px 0 8px;
}
.page-legacy .wp-block-buttons {
  display: flex;
  justify-content: center;
  width: var(--site);
  margin: 8px auto 22px;
}
.page-legacy .wp-block-button__link {
  background: transparent !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 34px !important;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  box-shadow: none !important;
  text-decoration: none;
}
.page-legacy .theme-border-radius .wp-block-button__link { color: #fff !important; }
.page-legacy .theme-border-radius.has-background {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  padding: 56px 0 64px !important;
  box-sizing: border-box;
  background: var(--navy) !important;
}
.page-plain .wp-block-group.has-background .has-white-color a,
.page-legacy .wp-block-group.has-background .has-white-color a {
  color: #fff;
}
.page-legacy .theme-border-radius.has-background > .wp-block-group__inner-container {
  width: min(1400px, 95%);
  max-width: min(1400px, 95%);
  margin-left: auto;
  margin-right: auto;
}
.page-legacy .theme-border-radius :where(p, li) { color: #fff; }

.page-legacy .timeline {
  position: relative;
  width: min(980px, 95%);
  margin: 8px auto 36px;
  padding: 8px 0 0;
  list-style: none;
}
.page-legacy .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(2,17,69,.16);
  transform: translateX(-50%);
}
.page-legacy .timeline li { list-style: none; padding: 0 0 28px; }
.page-legacy .timeline .direction-l,
.page-legacy .timeline .direction-r {
  position: relative;
  width: calc(50% - 32px);
}
.page-legacy .timeline .direction-l { margin-right: auto; text-align: right; padding-right: 22px; }
.page-legacy .timeline .direction-r { margin-left: auto; text-align: left; padding-left: 22px; }
.page-legacy .timeline .flag {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 8px 20px rgba(2,17,69,.06);
}
.page-legacy .timeline .time {
  display: inline-block;
  margin: 0 8px;
  color: var(--orange);
  font-weight: 700;
}
.page-legacy .timeline .desc {
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-style: normal;
}
.page-legacy .timeline .direction-l .flag::before,
.page-legacy .timeline .direction-r .flag::before {
  content: "";
  position: absolute;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  z-index: 1;
}
.page-legacy .timeline .direction-l .flag::before { right: -8px; }
.page-legacy .timeline .direction-r .flag::before { left: -8px; }

@media (max-width: 900px) {
  .page-legacy .contact-columns-box { grid-template-columns: 1fr; }
  .page-legacy .wp-block-button__link { font-size: 26px; }
  .page-legacy .timeline::before { left: 16px; transform: none; }
  .page-legacy .timeline .direction-l,
  .page-legacy .timeline .direction-r {
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0 0 0 36px;
  }
  .page-legacy .timeline .direction-l .flag::before,
  .page-legacy .timeline .direction-r .flag::before { left: 9px; right: auto; }
}
