/*
Theme Name: Arpi's North
Theme URI: https://www.arpisnorth.com/
Version: 1.0.0
Description: Custom Arpi's North theme.
Author: nonfiction studios
Text Domain: arpisnorth
*/

:root {
  --color-red: #ed1e24;
  --color-red-dark: #b70f14;
  --color-gold: #85754a;
  --color-gold-dark: #6f623f;
  --color-black: #151515;
  --color-ink: #333;
  --color-muted: #666;
  --color-line: #e3e3e3;
  --color-paper: #fff;
  --color-soft: #f5f5f5;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-heading: "Oswald", "Open Sans", Arial, sans-serif;
  --header-height: 98px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-muted);
  background: var(--color-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus {
  color: var(--color-red-dark);
  text-decoration: underline;
}

p,
ul,
ol {
  margin: 0 0 1.3em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7em;
  color: var(--color-black);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.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;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: #fff;
  background: var(--color-red);
}

.container,
.pagewidth {
  width: min(var(--container), calc(100vw - 2rem));
  margin-inline: auto;
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  width: 100%;
  min-height: 34px;
  color: #fff;
  background: rgba(0, 0, 0, 0.86);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 34px;
}

.site-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-social img,
.site-social__x,
.site-phone img {
  display: block;
  width: 22px;
  height: 22px;
}

.site-social img,
.site-phone img {
  object-fit: contain;
}

.site-social__x {
  display: grid;
  place-items: center;
  color: #fff;
  background: #000;
  border-radius: 50%;
}

.site-social__x svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.site-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-social a,
.site-phone {
  color: #fff;
}

.site-social a:hover,
.site-phone:hover {
  color: var(--color-red);
  text-decoration: none;
}

.site-quote-label {
  color: var(--color-red);
  font-weight: 700;
  margin-right: auto;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  z-index: 1001;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  transition: background 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(0, 0, 0, 0.72);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 98px;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 175px;
}

.site-logo img {
  display: block;
  width: 175px;
  max-height: 66px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 0.6rem 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  font: inherit;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.05rem 1.1rem;
}

.primary-menu li {
  position: relative;
}

.primary-menu > li > a {
  display: block;
  padding: 2.25rem 0 2.15rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  color: var(--color-gold);
  text-decoration: none;
}

.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  display: none;
  min-width: 230px;
  padding: 0.55rem 0;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
}

.site-main {
  min-height: 60vh;
}

.site-main--standard {
  padding: 9rem 0 4rem;
}

.page-hero {
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 10rem 0 5rem;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)), var(--hero-image, url("/wp-content/uploads/2020/03/arpis-hero.jpg"));
  background-position: center;
  background-size: cover;
}

.page-hero h1,
.page-hero p {
  max-width: 830px;
  color: #fff;
}

.home .site-main {
  padding-top: 0;
}

.builder-content > .builder-row:first-child {
  min-height: 760px;
}

body:not(.home) .builder-content > .builder-row:first-child {
  min-height: 732px;
  padding-top: 400px !important;
  padding-bottom: 250px !important;
}

body:not(.home) .builder-content > .builder-row:first-child h1 {
  text-transform: uppercase;
}

.builder-row {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0;
  background-position: center;
  background-size: cover;
}

.builder-row.has-background-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--row-overlay, 0.42));
  pointer-events: none;
}

.builder-row.has-dark-bg,
.builder-row.has-dark-bg h1,
.builder-row.has-dark-bg h2,
.builder-row.has-dark-bg h3,
.builder-row.has-dark-bg p,
.builder-row.has-dark-bg a:not(.button) {
  color: #fff;
}

.builder-row > .container {
  position: relative;
  z-index: 1;
}

.builder-cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.builder-subrow {
  margin-top: 2rem;
}

.builder-subrow.gutter-none .builder-cols {
  gap: 0;
}

.builder-row.gutter-none > .container > .builder-cols {
  gap: 0;
}

.builder-row.gutter-none .builder-module {
  margin-bottom: 0;
}

.builder-row.gutter-none .builder-subrow {
  margin-top: 0;
}

.builder-row.gutter-none .module-image a {
  display: block;
}

.builder-row.gutter-none .module-image img[src*="Canada-Place"] {
  width: 100%;
  aspect-ratio: 600 / 470;
  object-fit: cover;
}

.builder-subrow.col_align_middle .builder-cols {
  align-items: center;
}

.builder-col {
  grid-column: span 12;
}

.builder-col.col-full {
  grid-column: 1 / -1;
}

.builder-col.col2-1,
.builder-col.col4-2,
.builder-col.col6-3 {
  grid-column: span 6;
}

.builder-col.col3-1 {
  grid-column: span 4;
}

.builder-col.col3-2 {
  grid-column: span 8;
}

.builder-col.col4-1 {
  grid-column: span 3;
}

.builder-col.col4-3 {
  grid-column: span 9;
}

.builder-col.col5-1 {
  grid-column: span 2;
}

.builder-module {
  margin-bottom: 1.7rem;
}

.builder-module:last-child {
  margin-bottom: 0;
}

.module-text h2,
.module-text h3,
.module-fancy-heading h2,
.module-fancy-heading h3 {
  text-transform: uppercase;
}

.module-text h1 {
  max-width: 760px;
  margin-bottom: 0.5em;
  font-size: clamp(2.4rem, 3.34vw, 3rem);
  letter-spacing: 0;
  text-transform: none;
}

.module-fancy-heading {
  text-align: center;
}

.module-fancy-heading h2,
.module-fancy-heading h3 {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  width: min(100%, 1000px);
  margin-inline: auto;
  padding-bottom: 0;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
}

.module-fancy-heading h2::before,
.module-fancy-heading h3::before,
.module-fancy-heading h2::after,
.module-fancy-heading h3::after {
  content: "";
  flex: 1 1 120px;
  height: 1px;
  max-width: 360px;
  background: rgba(170, 170, 170, 0.55);
}

.module-fancy-heading__copy {
  max-width: 980px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
}

.module-fancy-heading__copy p:last-child {
  margin-bottom: 0;
}

.module-image img {
  display: block;
  max-width: 100%;
}

.module-image.auto-fullwidth img {
  width: auto;
}

.module-image.image-center img {
  margin-inline: auto;
}

.module-image.image-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-image.image-left .module-image__wrap {
  flex: 0 0 auto;
}

.module-image.image-left .module-image__content {
  flex: 1 1 auto;
  min-width: 0;
}

.module-image__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  text-transform: uppercase;
}

.module-image.service-icon-image img {
  width: 290px;
}

.module-image.service-icon-image {
  margin-bottom: 0;
}

.module-image.why-choose-us-homepage-list {
  min-height: 77px;
  margin-bottom: 15px;
  padding-bottom: 15px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.17);
}

.module-image.why-choose-us-homepage-list img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
}

.page-id-25 .builder-content > .builder-row:nth-child(2) {
  text-align: center;
}

.page-id-25 .builder-content > .builder-row:nth-child(2) > .container > .builder-cols {
  align-items: center;
}

.page-id-25 .builder-content > .builder-row:nth-child(2) .builder-subrow .builder-cols {
  justify-items: center;
}

.page-id-25 .builder-content > .builder-row:nth-child(2) .module-text p {
  text-align: center;
}

.page-id-25 .builder-content > .builder-row:nth-child(2) > .container > .builder-cols > .builder-col > .module-text:first-child h3 {
  max-width: 1160px;
  margin-inline: auto;
  color: #808080;
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
}

.page-id-25 .builder-content > .builder-row:last-child .module-text h3 {
  font-size: clamp(2.25rem, 2.8vw, 2.5rem);
  line-height: 1.4;
}

.page-id-25 .builder-content > .builder-row:last-child .module-text p {
  max-width: 820px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.page-id-25 .module-text.box-with-top-border-h3 h4 a {
  color: #151515;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-id-25 .module-text.box-with-top-border-h3 h4 a:hover,
.page-id-25 .module-text.box-with-top-border-h3 h4 a:focus {
  color: var(--color-gold);
  text-decoration: none;
}

.module-buttons {
  display: block;
}

.module-buttons__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.module-buttons__inner.center {
  justify-content: center;
  width: 100%;
}

.module-text[style*="background-color:#ffffff"],
.module-text[style*="background-color: #ffffff"] {
  padding: 1.35rem;
  color: var(--color-muted);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.17);
}

.module-text.box-with-top-border-h3 {
  position: relative;
  z-index: 1;
  max-width: 302px;
  margin-top: -44px !important;
  margin-inline: auto !important;
  padding-top: 39px !important;
  padding-bottom: 24px !important;
  border-top: 6px solid #000;
  text-align: center;
}

.module-text[style*="background-color:#ffffff"] h3,
.module-text[style*="background-color: #ffffff"] h3 {
  color: var(--color-black);
  text-align: center;
}

.button,
.module-buttons a,
.contact-form button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 2rem;
  color: #fff2ea;
  background: var(--color-gold);
  border: 2px solid var(--color-gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.button--orange {
  color: #fff2ea;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.builder-content > .builder-row:first-child .button--tb_default_color {
  color: var(--color-gold);
  background: #fff;
  border-color: #fff;
}

.button:hover,
.button:focus,
.module-buttons a:hover,
.module-buttons a:focus,
.contact-form button:hover,
.contact-form button:focus {
  color: #fff;
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  text-decoration: none;
}

.module-icon-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-icon-list a,
.module-icon-list span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.module-icon-list a::before,
.module-icon-list span::before {
  content: "\203A";
  color: var(--color-red);
  font-size: 1.3rem;
  line-height: 1;
}

#design #sidebar {
  position: relative;
  padding: 10px 20px;
  margin-bottom: 50px;
  border-left: 10px solid #000;
  box-shadow: 2px 1px 7px #ebebeb;
  font-size: 22px;
  line-height: 1.2;
}

#design #sidebar h3 {
  margin-bottom: 0.5em;
  font-size: 30.8px;
  line-height: 1.4;
  text-transform: uppercase;
}

#design #sidebar p {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
}

#design #submenu-list {
  padding-top: 10px;
  padding-bottom: 10px;
}

#design #submenu-list .module-icon-list {
  gap: 0;
}

#design #submenu-list .module-icon-list a,
#design #submenu-list .module-icon-list span {
  display: block;
  padding: 0.82rem 0;
  color: #000;
  border-bottom: 1px solid #cfcfcf;
  font-size: 18px;
  line-height: 1.45;
}

#design #submenu-list .module-icon-list li:first-child a,
#design #submenu-list .module-icon-list li:first-child span {
  border-top: 1px solid #cfcfcf;
}

#design #submenu-list .module-icon-list a::before,
#design #submenu-list .module-icon-list span::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.65rem;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--color-gold);
  opacity: 0;
  transform: translateY(-1px);
}

#design #submenu-list .module-icon-list a.active {
  font-weight: 700;
}

#design #submenu-list .module-icon-list a.active::before {
  opacity: 1;
}

#design .builder-col.col3-2 > .module-text:first-child h2 {
  font-size: clamp(2.15rem, 3vw, 3.8rem);
  text-transform: uppercase;
}

#design .builder-col.col3-2 .module-text h3 {
  color: #143296;
  font-size: clamp(1.35rem, 1.55vw, 1.55rem);
  line-height: 1.4;
  text-transform: none;
}

.page-id-166 #design .builder-col.col3-2 .module-text a {
  color: var(--color-gold);
}

.page-id-166 #design .builder-col.col3-2 .module-text a:hover,
.page-id-166 #design .builder-col.col3-2 .module-text a:focus {
  color: var(--color-gold-dark);
}

.page-id-166 #design .builder-col.col3-2 > .module-text:first-child h2 {
  max-width: 820px;
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

.page-id-166 #design .builder-col.col3-2 > .module-text:first-child h2:not(:first-child) {
  max-width: 760px;
  margin-top: 2.2rem;
  margin-bottom: 1.1rem;
  color: #151515;
  font-size: clamp(1.9rem, 2.35vw, 2.45rem);
  line-height: 1.18;
}

.page-id-166 #design .builder-col.col3-2 > .module-text:first-child h4 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-id-166 #design .builder-col.col3-2 > .module-text:first-child h4 a {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.module-video__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.module-video__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.module-accordion details {
  border-top: 1px solid var(--color-line);
}

.module-accordion details:last-child {
  border-bottom: 1px solid var(--color-line);
}

.module-accordion summary {
  cursor: pointer;
  padding: 1rem 0;
  color: var(--color-black);
  font-weight: 700;
}

.module-accordion__body {
  padding-bottom: 1rem;
}

.module-testimonials {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
}

.testimonial-card {
  display: none;
  margin: 0;
}

.testimonial-card.is-active {
  display: block;
}

.testimonial-card blockquote {
  position: relative;
  max-width: 790px;
  min-height: 86px;
  margin: 0 auto 1rem;
  padding: 1.45rem 2rem 1.35rem 4.4rem;
  color: var(--color-muted);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.17);
}

.testimonial-card blockquote,
.testimonial-card blockquote p {
  color: var(--color-muted) !important;
}

.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: 1.1rem;
  left: 2rem;
  color: var(--color-red);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.testimonial-card__name {
  max-width: 790px;
  margin: 0 auto;
  color: #fff;
  font-weight: 700;
}

.module-testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  max-width: 790px;
  margin: -1.25rem auto 0;
}

.module-testimonials__arrow,
.module-testimonials__dots button {
  appearance: none;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.module-testimonials__arrow {
  font-size: 2.35rem;
  line-height: 1;
}

.module-testimonials__dots {
  display: flex;
  gap: 0.35rem;
}

.module-testimonials__dots button {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
}

.module-testimonials__dots button[aria-current="true"] {
  background: #fff;
}

.site-main--archive {
  padding-top: 172px;
  padding-bottom: 6rem;
}

.archive-header {
  margin-bottom: 2rem;
}

.archive-header h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.2rem;
}

.post-card {
  position: relative;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.post-card__media {
  position: relative;
  min-height: 190px;
  background: var(--color-soft);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-soft);
}

.post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transition: transform 220ms ease;
}

.post-card:hover .post-card__image img,
.post-card:focus-within .post-card__image img {
  transform: scale(1.03);
}

.post-card__date {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: #fff;
  background: #f7aa43;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, 50%);
}

.post-card__date span {
  font-size: 0.72rem;
}

.post-card__date strong {
  display: block;
  margin: -0.2rem 0;
  font-size: 1.75rem;
  font-weight: 400;
}

.post-card__body {
  padding: 4rem 1.35rem 1.5rem;
}

.post-card h2 {
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.28;
  text-transform: none;
}

.post-card h2 a {
  color: #000;
}

.post-card h2 a:hover,
.post-card h2 a:focus {
  color: var(--color-gold);
  text-decoration: none;
}

.post-card__meta {
  margin-bottom: 1rem;
  color: #333;
  font-size: 0.78rem;
  line-height: 1.5;
}

.post-card__meta a {
  color: #333;
}

.post-card__meta a:hover,
.post-card__meta a:focus {
  color: var(--color-gold);
}

.post-card__body p {
  color: var(--color-muted);
}

.post-card__read-more {
  display: inline-flex;
  margin-top: 0.35rem;
  color: #000;
  font-weight: 600;
}

.post-card__read-more:hover,
.post-card__read-more:focus {
  color: var(--color-gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.8rem;
  color: #000;
  border: 1px solid var(--color-line);
}

.nav-links .current,
.nav-links a:hover,
.nav-links a:focus {
  color: #fff;
  background: var(--color-gold);
  border-color: var(--color-gold);
  text-decoration: none;
}

.entry-content {
  max-width: 850px;
}

.entry-content img.aligncenter {
  display: block;
  margin-inline: auto;
}

.single-post-article {
  padding-bottom: 6rem;
}

.single-post-hero {
  position: relative;
  margin-top: 132px;
  text-align: center;
  background: #f2f2f2;
}

.single-post-hero__image {
  display: block;
  width: 100%;
  height: min(48vw, 460px);
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
}

.single-post-date {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  color: #fff;
  background: #f7aa43;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, 50%);
}

.single-post-date span {
  font-size: 0.85rem;
}

.single-post-date strong {
  display: block;
  margin: -0.3rem 0;
  font-size: 2.25rem;
  font-weight: 400;
}

.single-post-header {
  padding-top: 5.1rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.single-post-title {
  max-width: 1180px;
  margin: 0 auto 1rem;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1.25;
  text-transform: none;
}

.single-post-meta {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  text-transform: none;
}

.single-post-meta a {
  color: #333;
}

.single-post-content {
  padding-top: 0;
}

.single-post-content .builder-row {
  padding: 0;
}

body.single-post .single-post-content .builder-content > .builder-row:first-child {
  min-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.single-post-content .builder-row + .builder-row {
  margin-top: 2rem;
}

.single-post-content .builder-cols {
  display: block;
}

.single-post-content .builder-module {
  margin-bottom: 0;
}

.single-post-content .module-text h2,
.single-post-content .module-text h3 {
  text-transform: none;
}

.single-post-content .module-text h2 {
  margin-top: 2.2rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.75rem, 2.3vw, 2rem);
  line-height: 1.3;
}

.single-post-content a {
  color: #000;
}

.single-post-content a:hover,
.single-post-content a:focus {
  color: var(--color-gold);
}

.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 5rem;
}

.single-post-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 520px;
  color: #000;
  font-size: 1.15rem;
  line-height: 1.45;
}

.single-post-nav__link--next {
  margin-left: auto;
  text-align: right;
}

.single-post-nav__link span {
  color: #888;
  font-size: 2.3rem;
  line-height: 1;
}

.single-post-nav__link:hover,
.single-post-nav__link:focus {
  color: var(--color-gold);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--color-line);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--color-black);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid #cfcfcf;
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form__honeypot {
  display: none;
}

.notice {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: #f2f8f2;
  border-left: 4px solid #277a2f;
}

.notice--error {
  background: #fff2f2;
  border-left-color: var(--color-red);
}

.site-footer {
  padding: 2rem 0;
  color: #d6d6d6;
  background: #111;
  font-size: 0.92rem;
}

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

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-menu .sub-menu {
  display: none;
}

@media (max-width: 1024px) {
  .site-header__inner {
    min-height: 78px;
  }

  .site-logo,
  .site-logo img {
    width: 145px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    margin-left: 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.94);
  }

  .site-header.is-menu-open .primary-nav {
    display: block;
  }

  .primary-menu {
    display: block;
  }

  .primary-menu > li > a,
  .primary-menu .sub-menu a {
    padding: 0.65rem 0;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    box-shadow: none;
  }

  .builder-cols,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .builder-col,
  .builder-col.col2-1,
  .builder-col.col3-1,
  .builder-col.col3-2,
  .builder-col.col4-1,
  .builder-col.col4-2,
  .builder-col.col4-3,
  .builder-col.col5-1,
  .builder-col.col6-3 {
    grid-column: 1 / -1;
  }

  .module-image.image-top img,
  .module-image.why-choose-us-homepage-list {
    margin-inline: auto;
  }

  .module-image.why-choose-us-homepage-list {
    max-width: 564px;
  }
}

@media (max-width: 680px) {
  .site-topbar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .builder-content > .builder-row:first-child,
  .page-hero {
    padding-top: 7rem !important;
    min-height: 500px;
  }

  body:not(.home) .builder-content > .builder-row:first-child {
    min-height: 500px;
    padding-top: 135px !important;
    padding-bottom: 100px !important;
  }

  .builder-row {
    padding: 3rem 0;
  }
}
