.amc-contact-block {
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
}

.amc-contact-block__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr);
  gap: 1.25rem;
  align-items: stretch;
}

.amc-contact-block__title {
  margin: 0 0 .5rem;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
}

.amc-contact-block__text {
  margin: 0 0 1rem;
  color: #555;
}

.amc-contact-block__address {
  margin: 0;
  line-height: 1.65;
}

.amc-contact-block__map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
}

.amc-contact-hidden {
  display: none !important;
}

.amc-turnstile-wrap {
  margin: 1rem 0 0;
}

.amc-turnstile-wrap .cf-turnstile {
  min-height: 66px;
}

.amc-bot-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 991px) {
  .amc-contact-block__grid {
    grid-template-columns: 1fr;
  }

  .amc-contact-block__map iframe {
    min-height: 260px;
  }
}

/* SmartBlog: normalize pasted Word content */
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content {
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #4f4f4f !important;
  word-break: break-word;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h1,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h2,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h3,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h4,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h5,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h6 {
  font-family: "Rubik", sans-serif !important;
  color: #2f2f2f !important;
  line-height: 1.3 !important;
  margin: 1.4rem 0 .7rem !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h2 {
  font-size: 28px !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h3 {
  font-size: 23px !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h4 {
  font-size: 19px !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content p,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content li,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ul,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ol,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content div,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content span,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content strong,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content em {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content p,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ul,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ol {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ul,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content ol {
  padding-left: 1.4rem !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content li {
  display: list-item !important;
  white-space: normal !important;
  margin: .3rem 0 !important;
  padding: 0 !important;
  line-height: 1.65 !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content li p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  line-height: inherit !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content span[style],
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content p[style],
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content div[style],
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content li[style] {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  background: transparent !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content a {
  color: #c70909 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content img {
  max-width: 100%;
  height: auto !important;
  border-radius: 10px;
}

body#module-smartblog-details #sdsblogArticle .articleContent > .imageFeatured {
  display: block;
  width: min(100%, 980px) !important;
  max-height: 460px !important;
  height: auto !important;
  object-fit: cover;
  margin: 0 auto 1.2rem !important;
  border-radius: 12px;
}

/* Hide huge SmartBlog default placeholder on article detail */
body#module-smartblog-details #sdsblogArticle .articleContent > .imageFeatured[src*="/modules/smartblog/images/no-single-default.jpg"] {
  display: none !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1rem 0 !important;
}

body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content th,
body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content td {
  border: 1px solid #e3e3e3 !important;
  padding: .6rem .7rem !important;
  vertical-align: top;
}

body#module-smartblog-list #smartblogcat .sdsarticle-des.smart-blog-posts-short-description,
body#module-smartblog-category #smartblogcat .sdsarticle-des.smart-blog-posts-short-description {
  font-family: "Rubik", sans-serif !important;
  color: #5a5a5a !important;
  line-height: 1.6 !important;
}

body#module-smartblog-list #smartblogcat .sdsarticle-des.smart-blog-posts-short-description p,
body#module-smartblog-category #smartblogcat .sdsarticle-des.smart-blog-posts-short-description p,
body#module-smartblog-list #smartblogcat .sdsarticle-des.smart-blog-posts-short-description span,
body#module-smartblog-category #smartblogcat .sdsarticle-des.smart-blog-posts-short-description span {
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: inherit !important;
}

@media (max-width: 767px) {
  body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content {
    font-size: 15px !important;
  }

  body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h2 {
    font-size: 24px !important;
  }

  body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content h3 {
    font-size: 20px !important;
  }

  body#module-smartblog-details #sdsblogArticle .articleContent > .imageFeatured {
    max-height: 280px !important;
    border-radius: 10px;
  }

  body[id^="module-smartblog"] #sdsblogArticle .smart-blog-sing-blog-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
