/**
Theme Name: Astra Child
Author: Astra
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Keep the blog and language selector in the primary navigation. */
@media (min-width: 1141px) and (max-width: 1400px) {
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    padding-inline: clamp(4px, calc(2.4vw - 21px), 12px);
    white-space: nowrap;
  }
  #ast-desktop-header .ast-custom-button,
  #ast-desktop-header .vernacore-dropdown__toggle {
    white-space: nowrap;
  }
}
.ast-header-break-point #ast-desktop-header {
  display: none;
}

/* MTC news archive and articles. */
.mtc-journal-view #content { background: #f4f7f9; }
.mtc-journal-view #content > .ast-container { display: block; width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 clamp(18px,4vw,52px); }
.mtc-journal-view #content #primary { float: none; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
.mtc-journal { --ink: #102e45; --blue: #00649d; --muted: #4c6170; --line: #d7e1e7; color: var(--ink); padding: clamp(32px,5vw,68px) 0 clamp(50px,7vw,92px); }
.mtc-journal *, .mtc-journal *::after { box-sizing: border-box; }
.mtc-journal :is(h1,h2,h3,p,figure) { margin: 0; }
.mtc-journal a:not(.entry-content a) { text-decoration: none; }
.mtc-journal a:focus-visible { outline: 3px solid #e49622; outline-offset: 4px; }
.mtc-journal__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: end; padding-bottom: 29px; }
.mtc-journal__intro h1, .mtc-journal__title { font-size: clamp(36px, 4.5vw, 64px); font-weight: 600; line-height: 1.07; letter-spacing: -.045em; color: var(--ink); overflow-wrap: break-word; }
.mtc-journal__intro p { justify-self: end; max-width: 420px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.mtc-journal__topics { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(22px,3vw,36px); }
.mtc-journal__topics a { display: inline-flex; align-items: center; padding: 8px 16px; min-height: 42px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; font-weight: 650; }
.mtc-journal__topics a:hover { color: var(--blue); border-color: var(--blue); }
.mtc-journal__topics a[aria-current=page] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mtc-journal__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.mtc-journal__card { display: flex; flex-direction: column; border-radius: 8px; background: white; border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.mtc-journal__cover { display: block; background: #edf1f3; }
.mtc-journal__cover img { display: block; width: 100%; aspect-ratio: 1.8; height: auto; object-fit: cover; }
.mtc-journal__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; padding: clamp(24px,3.3vw,46px); flex: 1; }
.mtc-journal__meta { display: flex; gap: 7px 16px; align-items: baseline; flex-wrap: wrap; font-size: 13px; line-height: 1.5; color: var(--muted); }
.mtc-journal__meta a { color: var(--blue); font-weight: 700; }
.mtc-journal__meta a:hover, .mtc-journal__titlelink:hover, .mtc-journal__more:hover { text-decoration: underline; }
.mtc-journal__card h2 { font-size: clamp(24px,2.4vw,32px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.mtc-journal__titlelink { color: inherit; }
.mtc-journal__copy > p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.mtc-journal__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 700; font-size: 15px; }
.mtc-journal__lead { grid-column: 1/-1; background: var(--ink); color: #fff; border-color: var(--ink); }
.mtc-journal__lead:has(.mtc-journal__cover) { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); }
.mtc-journal__lead .mtc-journal__cover img { height: 100%; min-height: 100%; aspect-ratio: 1.5; object-fit: cover; }
.mtc-journal__lead .mtc-journal__copy { justify-content: center; gap: 17px; }
.mtc-journal__lead h2 { color: #fff; font-size: clamp(27px,3.1vw,43px); }
.mtc-journal__lead .mtc-journal__meta, .mtc-journal__lead .mtc-journal__copy > p { color: #dce8ee; }
.mtc-journal__lead .mtc-journal__meta a { color: #a8def7; }
.mtc-journal__lead .mtc-journal__more { color: #fff; margin-top: 6px; }
.mtc-journal__empty { background: #fff; padding: clamp(28px,5vw,58px); border: 1px solid var(--line); border-radius: 8px; }
.mtc-journal__empty h2 { margin-bottom: 12px; color: var(--ink); font-size: clamp(23px,3vw,34px); }
.mtc-journal__empty p { color: var(--muted); }
.mtc-journal__empty .mtc-journal__more { margin-top: 12px; }
.mtc-journal__single { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,290px); align-items: start; gap: clamp(22px,3vw,44px); }
#primary .mtc-journal__story { padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.mtc-journal__story-head { padding: clamp(23px,3.2vw,46px); }
.mtc-journal h1.mtc-journal__title { margin-top: 15px; font-size: clamp(31px,3.3vw,48px); }
.mtc-journal__story-photo img { display: block; width: 100%; height: auto; }
.mtc-journal__story-photo figcaption { font-size: 13px; color: var(--muted); padding: 9px 24px 0; }
.mtc-journal .mtc-journal__body { padding: clamp(24px,3.4vw,48px); color: #2c4353; font-size: 18px; line-height: 1.76; overflow-wrap: anywhere; }
.mtc-journal__body > * + * { margin-top: 1.15em; }
.mtc-journal__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.mtc-journal__rail { display: grid; gap: 20px; }
.mtc-journal__panel { padding: 23px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.mtc-journal__panel h2 { font-size: 20px; color: var(--ink); line-height: 1.3; margin-bottom: 13px; }
.mtc-journal__panel ul { list-style: none; margin: 0; padding: 0; }
.mtc-journal__panel li { border-top: 1px solid var(--line); }
.mtc-journal__panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.mtc-journal__panel a:hover { color: var(--blue); text-decoration: underline; }
.mtc-journal__panel .mtc-journal__back { display: inline-flex; margin-top: 5px; padding-bottom: 0; color: var(--blue); font-weight: 700; }
.mtc-journal .comments-area, .mtc-journal nav.pagination { margin-top: 32px; }
@media (max-width: 820px) {
  .mtc-journal__single { grid-template-columns: minmax(0,1fr); }
  .mtc-journal__intro { gap: 18px; }
  .mtc-journal__lead .mtc-journal__copy { padding: 25px; }
}
@media (max-width: 670px) {
  .mtc-journal__intro, .mtc-journal__grid, .mtc-journal__lead:has(.mtc-journal__cover) { grid-template-columns: minmax(0,1fr); }
  .mtc-journal__intro { gap: 12px; padding-bottom: 20px; }
  .mtc-journal__intro p { justify-self: start; font-size: 16px; }
  .mtc-journal__topics { gap: 6px; padding: 12px 0; }
  .mtc-journal__topics a { padding: 7px 10px; font-size: 13px; }
  .mtc-journal__lead .mtc-journal__cover img { aspect-ratio: 1.6; height: auto; }
  .mtc-journal__lead .mtc-journal__copy { padding: 23px; }
  .mtc-journal .mtc-journal__body { font-size: 16px; }
}

/* Company news on the homepage. */
.mtc-home-news { padding: clamp(56px,7vw,96px) 20px; background: #fff; color: #102b46; scroll-margin-top: 90px; }
.mtc-home-news__inner { max-width: 1248px; margin-inline: auto; }
.mtc-home-news__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(22px,3vw,36px); }
.mtc-home-news__head h2 { margin: 0; font-size: clamp(32px,3.25vw,48px); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; color: #102b46; }
.mtc-home-news a.mtc-home-news__archive, .mtc-home-news__more { color: #0066a1; font-weight: 650; text-decoration: none; }
.mtc-home-news__archive:hover, .mtc-home-news__card:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.mtc-home-news__archive span, .mtc-home-news__more span { margin-inline-start: .3em; }
.mtc-home-news__list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: clamp(16px,2.4vw,30px); }
.mtc-home-news__item { min-width: 0; }
.mtc-home-news a.mtc-home-news__card { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #d7e1e7; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.mtc-home-news__media { display: grid; place-items: center; background: #f1f5f7; padding: clamp(12px,2vw,28px); }
.mtc-home-news__media img { display: block; width: 100%; height: auto; max-height: 270px; object-fit: contain; }
.mtc-home-news__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: clamp(22px,3vw,42px); }
.mtc-home-news__copy time { font-size: 14px; color: #506673; }
.mtc-home-news__copy h3 { margin: 0; color: #102b46; font-size: clamp(22px,2.1vw,32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
.mtc-home-news__copy p { margin: 0; color: #405665; line-height: 1.65; }
.mtc-home-news__more { margin-top: 4px; }
.mtc-home-news a:focus-visible { outline: 3px solid #0066a1; outline-offset: 3px; }
@media (min-width: 701px) {
  .mtc-home-news__item:only-child .mtc-home-news__card { flex-direction: row; }
  .mtc-home-news__item:only-child .mtc-home-news__media { flex: 0 0 47%; }
}

/* Keep catalog headings readable on phones in each language. */
@media (max-width: 600px) {
  :is(.page-id-24, .page-id-27, .page-id-430, .page-id-434, .page-id-494, .page-id-498, .page-id-552, .page-id-556) .elementor h1.e-heading-base {
    font-size: clamp(28px, 8.7vw, 42px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (max-width: 600px) {
  html:is(:lang(en), :lang(de), :lang(uk)) .elementor :is(h1, h2, h3).e-heading-base {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  html:is(:lang(en), :lang(de), :lang(uk)) body:not(.home) .elementor h1.e-heading-base {
    font-size: clamp(28px, 8.7vw, 42px);
  }
}
