/* ==========================================================================
   Foundation
   ========================================================================== */

:root {
  color-scheme: light;
  --almax-background-color: #e8e9e3;
  --almax-footer-background: #111827;
  --color-background: var(--almax-background-color, #e8e9e3);
  --color-surface: #ffffff;
  --color-text: var(--almax-text-color, #25282d);
  --color-muted: var(--almax-text-muted-color, #4d4d4d);
  --color-accent: var(--almax-primary-color, #ff9040);
  --color-accent-dark: var(--almax-secondary-color, #e5622e);
  --color-link: var(--almax-link-color, var(--color-accent));
  --color-link-hover: var(--almax-link-hover-color, var(--color-accent-dark));
  --max-width: 1215px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--almax-font-family, 'Tektur', 'Segoe UI', system-ui, sans-serif);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

body * {
  font-family: inherit;
}

a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container,
.site-main__wrapper {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}


/* ==========================================================================
   Layout
   ========================================================================== */

.site-main {
  padding: 48px 0;
}

.hero,
.card,
.entry-content,
.archive-list {
  background: var(--color-surface);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero {
  margin-bottom: 32px;
}

.entry-title {
  margin-top: 0;
}

.entry-meta {
  color: var(--color-muted);
  font-size: 15.2px;
}


/* ==========================================================================
   Shared components
   ========================================================================== */

.silver-corner-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 21px;
  background: rgb(217 217 217 / 20%);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: #ffffff;
  user-select: none;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  border: none;
  letter-spacing: 2px;
  --c: 8px;
  --t: 1.5px;
  --o: 3px;
  --col: var(--color-accent, #ff9040);
  transition: background .12s, color .12s;
  margin-left: 10px;
}

.silver-corner-btn::before,
.silver-corner-btn::after {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--o));
  pointer-events: none;
}

.silver-corner-btn::before {
  background:
    linear-gradient(var(--col), var(--col)) top left / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) top left / var(--c) var(--t) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom right / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom right / var(--c) var(--t) no-repeat;
}

.silver-corner-btn::after {
  background:
    linear-gradient(var(--col), var(--col)) top right / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) top right / var(--c) var(--t) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom left / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom left / var(--c) var(--t) no-repeat;
}

.silver-corner-btn:hover {
  --col: #ffffff;
  background: rgba(255, 125, 0, 0.75);
  color: var(--c-text);
  text-decoration: none;
}

.silver-corner-btn:active {
  --col: var(--c-accent);
  background: var(--prc-corner-btn-bg-active);
}

.silver-corner-btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

html:not([data-prc-theme="dark"]) .silver-corner-btn.silver-corner-btn--stone {
  background: #c7c8c2;
  color: #25282d;
}

html:not([data-prc-theme="dark"]) .silver-corner-btn.silver-corner-btn--stone:hover {
  --col: #ffffff;
  background: rgba(255, 125, 0, 0.75);
  color: var(--c-text);
}

html:not([data-prc-theme="dark"]) .silver-corner-btn.silver-corner-btn--stone:active {
  --col: var(--c-accent);
  background: var(--prc-corner-btn-bg-active);
}


/* ==========================================================================
   Getting Started (pre-footer CTA)
   ========================================================================== */

.getting-started {
  width: 100%;
  margin: 85px 0 ;
  padding: 0 16px;
}

.getting-started__inner {
  display: flex;
  align-items: stretch;
  width: min(100%, 1012px);
  max-width: 1012px;
  height: 242px;
  margin: 0 auto;  
  position: relative;
}
.getting-started__inner::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/footer/start-left.png") no-repeat left top;
  background-repeat: no-repeat;
  width: 291px;
  height: 287px;
  top: -19px;
  left: -44px;
}

.getting-started__media {
  position: relative;
  flex: 0 0 546px;
  width: 546px;
  height: 242px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.getting-started__image,
.getting-started__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.getting-started__image {
  object-fit: cover;
  object-position: center;
}

.getting-started__media--video .getting-started__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  /* Cover 546×242 from 16:9: height = (546/242)*(9/16)*100% */
  height: 126.91%;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.getting-started__video-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  cursor: pointer;
}

.getting-started__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 18px 0px 18px 29px;
  color: #25282d;
  background: #f3f4f1;
}

.getting-started__title {
  margin: 26px 0 0px;
  font-size: 50px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: 0;
  color: inherit;

}

.getting-started__subtitle {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--color-muted);
}

.getting-started__button.silver-corner-btn {
  margin: 15px 0 0;
  margin-left: 0;
}

.getting-started__spacer {
  flex: 0 0 18px;
  width: 18px;
  height: 242px;
  background: url("../images/footer/start-cor.png") no-repeat left bottom;
  position: relative;
}
.getting-started__spacer div {
  z-index: 1;
}
.getting-started__spacer::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/footer/start-right.png") no-repeat right top;
  background-repeat: no-repeat;
  width: 291px;
  height: 287px;
  top: -22px;
  left: -231px;
}
@media (max-width: 1080px) {
  .getting-started__inner {
    width: 100%;
    max-width: 1012px;
    height: auto;
    min-height: 242px;
    flex-wrap: wrap;
  }

  .getting-started__media {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 546 / 242;
  }

  .getting-started__content {
    flex: 1 1 calc(100% - 40px);
    padding: 24px 20px;
  }

  .getting-started__title {
    font-size: clamp(32px, 6vw, 50px);
  }

  .getting-started__spacer {
    height: auto;
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .getting-started__spacer {
    display: none;
  }

  .getting-started__content {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  --footer-surface: #ececea;
  --footer-border: #bdb9b6;
  --footer-border-strong: #8f8f8f;
  --footer-text: #25282d;
  --footer-text-muted: var(--color-muted);
  --footer-accent: var(--almax-primary-color, #ff9040);
  --footer-input-bg: #d8d8d6;
  --footer-input-text: var(--color-muted);
  --footer-btn-bg: rgba(217, 217, 217, 0.55);
  --footer-btn-text: #25282d;
  --footer-nav-surface: #e3e4de;
  --footer-grid-line: rgba(37, 40, 45, 0.08);
  --footer-grid-dot: rgba(37, 40, 45, 0.18);
  --footer-follow-surface: #e8e9e3;
  --footer-nav-bg-opacity: 1;
  --footer-radius: 4px;
  --footer-chamfer: 0px;

  background: var(--color-background);
  color: var(--footer-text);
  margin-top: 24px;
  padding: 0 0 48px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__shell {
  width: min(100% - 32px, 1516px);
  margin: 0 auto;
}

.site-footer__container {
  position: relative;
  min-height: 332px;
  overflow: hidden;
}

.site-footer__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 51px 523px minmax(0, 1fr);
  gap: 0;
  min-height: 332px;
}

.site-footer__col--lead {
  min-height: 332px;
  background: url("../images/bg-footer1.png") no-repeat left bottom;
  background-size: contain;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  min-height: 332px;
  background: #f4f4f1;  
  border:0;
  border-top: 2px solid #bdb9b6;
  border-bottom: 2px solid #bdb9b6;
}

.site-footer__logo {
  height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 43px;
  margin-left: -28px;
}

.site-footer__logo .custom-logo-link,
.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--footer-text);
}

.site-footer__logo .custom-logo {
  max-height: 56px;
  width: auto;
}

.site-footer__logo-link,
.site-footer__logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.site-footer__logo-image {
  max-height: 56px;
  width: auto;
}

.site-footer__logo-image--theme-dark {
  display: none;
}

html[data-prc-theme="dark"] .site-footer__logo-image--theme-light {
  display: none;
}

html[data-prc-theme="dark"] .site-footer__logo-image--theme-dark {
  display: inline-block;
}

.site-footer__brand-link {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__subscribe {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 21px;
  margin-left: -28px;
}

.site-footer__subscribe-text {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 2px;
  color: var(--footer-text);
}

.site-footer__subscribe-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 460px;
}

.site-footer__subscribe-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(37, 40, 45, 0.12);
  border-right: none;
  background: var(--footer-input-bg);
  color: var(--footer-input-text);
  font: inherit;
  font-size: 14px;
  margin-right: 10px;
}

.site-footer__subscribe-input::placeholder {
  color: rgba(77, 77, 77, 0.72);
}

.site-footer__subscribe-input:focus {
  outline: 2px solid var(--footer-accent);
  outline-offset: -1px;
}

.site-footer__subscribe-form .site-header__quote-link.silver-corner-btn {
  margin-left: 0;
  flex: 0 0 auto;
}

.site-footer__legal {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1.2fr);
  align-items: end;
  gap: 12px;
  padding-top: 12px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--footer-text-muted);
  margin-bottom: 13px;
  margin-left: -28px;
}

.site-footer__legal > :nth-child(3) {
  margin-left: 29px;
}

.site-footer__copyright {
  margin: 0;
}

.site-footer__legal-link {
  color: var(--footer-accent);
  font-weight: 500;
}

.site-footer__legal-link:hover {
  color: var(--almax-secondary-color, #e5622e);
}

.site-footer__legal-link--placeholder {
  opacity: 0.72;
}

.site-footer__col--nav {
  min-height: 332px;

}

.site-footer__nav-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 332px;
  padding: 12px 160px 14px 78px;
  background: transparent;
  border-top: 2px solid #bdb9b6;
  border-bottom: 2px solid #bdb9b6;
  border-right: 2px solid #bdb9b6;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  max-width: 942px;
  max-height: 306px;
  width: 100%;
  height: 100%;
}

.site-footer__nav-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/bg-footer.png") no-repeat top 12px left 14px;
  background-repeat: no-repeat;
  opacity: var(--footer-nav-bg-opacity, 1);
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}

.site-footer__nav-panel .site-footer__menus {
  position: relative;
  z-index: 1;
}

.site-footer__menus {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1 1 auto;
}

.site-footer__menus-slots,
.site-footer__menus-fallback {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.site-footer__menu-col {
  min-width: 0;
}

.site-footer__menu-title {
  display: block;
  margin: 9px 0 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 2px;
  text-transform: none;
  color: var(--footer-text);
}

.site-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8.3px;
}
.site-footer__menu-list li {
  line-height: 14px;
}

.site-footer__menu-link {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--footer-text-muted);
}

.site-footer__menu-link:hover {
  color: var(--footer-accent);
}

.site-footer__follow {
  position: absolute;
  bottom: 0px;
  right: 3px;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 541px;
  padding: 9px 56px 14px 24px;
  background: url(../images/for-fol-bg.svg) no-repeat;
  background-repeat: no-repeat;
  align-items: flex-start;
}

.site-footer__follow-label {
  display: block;
  font-size: 8px;
  letter-spacing: 11px;
  line-height: 11px;
  text-transform: uppercase;
  color: var(--footer-text-muted);
  margin-left: 90px;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 42px;
}

.site-footer__social {
  width: 34px;
  height: 25px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  --c: 8px;
  --t: 1.5px;
  --o: 3px;
  --col: transparent;
  transition: background 0.12s ease, color 0.12s ease;
}

.site-footer__social::before,
.site-footer__social::after {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--o));
  pointer-events: none;
}

.site-footer__social::before {
  background:
    linear-gradient(var(--col), var(--col)) top left / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) top left / var(--c) var(--t) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom right / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom right / var(--c) var(--t) no-repeat;
}

.site-footer__social::after {
  background:
    linear-gradient(var(--col), var(--col)) top right / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) top right / var(--c) var(--t) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom left / var(--t) var(--c) no-repeat,
    linear-gradient(var(--col), var(--col)) bottom left / var(--c) var(--t) no-repeat;
}

.site-footer__social:hover {
  --col: var(--footer-accent);
  text-decoration: none;
}

.site-footer__social__image {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   WordPress content
   ========================================================================== */

.wp-block-image img {
  border-radius: 16px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .site-footer__layout {
    grid-template-columns: 1fr;
  }

  .site-footer__col--lead {
    display: none;
  }

  .site-footer__col--brand,
  .site-footer__col--nav,
  .site-footer__nav-panel {
    min-height: 0;
  }

  .site-footer__col--nav {
    border-left: none;
    border-top: 1px solid var(--footer-border);
  }

  .site-footer__col--brand {
    padding: 24px 20px 16px;
  }

  .site-footer__nav-panel {
    padding: 24px 20px 0;
  }

  .site-footer__legal {
    grid-template-columns: 1fr;
  }

  .site-footer__legal > :nth-child(3) {
    margin-left: 0;
  }

  .site-footer__menus-slots,
  .site-footer__menus-fallback {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__follow {
    min-width: 0;
    width: 100%;
    margin-left: 0;
    padding-right: 48px;
  }
}
