/* Site layout adapted from the supplied Joomla 3 template configuration. */
:root {
  --jm-primary: #0091ea;
  --jm-accent: #ea0524;
  --jm-dark: #222a36;
  --jm-text: #151414;
  --jm-light: #f2f2f2;
  --jm-border: #e8e8e8;
  --jm-width: 1170px;
  --jm-radius: 0;
}
body { background: #f2f2f2; color: #151414; }
.jm-topbar { background: #f6f6f6; color: #151414; font-size: .875rem; }
.jm-topbar a { color: #151414; }
.jm-header { box-shadow: 0 1px 0 #e8e8e8; }
.jm-header-inner { min-height: 95px; gap: 20px; }
.jm-brand { flex-shrink: 0; }
.jm-brand > img { width: 227px; max-height: 65px; }
.jm-navigation a, .jm-navigation .nav-header { padding: 35px 10px; font-size: 1rem; text-transform: none; }
.jm-navigation li > ul { z-index: 110; min-width: 245px; }
.jm-navigation li > ul a { font-size: .9375rem; }
.jm-navigation .current > a, .jm-navigation a:hover { background: #0091ea; color: #fff; }
.jm-navigation .moduletable { margin: 0; }
.jm-mobile-extra { display: none; }
.jm-hero { min-height: 0; background: #f6f6f6; color: #151414; }
.jm-hero p { margin-block: 0; }
.jm-hero iframe { display: block; width: 100%; max-width: 100%; min-height: 350px; border: 0; }
.jm-hero .migration-hero { width: min(1170px, 100%); margin: 0 auto; }
.jm-hero .migration-hero img { display: block; width: 100%; height: auto; }
.jm-section { padding: 38px 0; }
.jm-top1 { background: #f2f2f2; }
.jm-top2 { background: #fff; }
.jm-top3 { background: #222a36; color: #fff; }
.jm-top3 h1, .jm-top3 h2, .jm-top3 h3, .jm-top3 a { color: #fff; }
.jm-top3 .card, .jm-top3 .moduletable { background: transparent; color: inherit; border: 0; }
.jm-module-grid { gap: 24px; }
.jm-module-grid > .moduletable { padding: 24px; }
.jm-main-grid { padding-block: 35px; gap: 30px; }
.site.has-both .jm-main-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
.site.has-left .jm-main-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.site.has-right .jm-main-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.jm-content { background: #fff; padding: 25px; }
.jm-content-top { margin-bottom: 35px; }
.jm-content-top .moduletable + .moduletable { margin-top: 35px; }
.jm-sidebar .moduletable { margin-bottom: 25px; padding: 20px; background: #fff; }
.jm-sidebar ul, .jm-footer ul { padding-inline-start: 20px; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.item-title, .page-header h2, .com-content-article__title { font-size: 1.35rem; }
.jm-content img { max-width: 100%; height: auto; }
.jm-content iframe, .jm-content embed, .jm-content object { max-width: 100%; }
.jm-content table { display: block; max-width: 100%; overflow-x: auto; }
.jm-content table table { display: table; }
.jm-content th, .jm-content td { padding: 8px; }
.jm-content .attachmentsContainer { max-width: 100%; overflow-x: auto; }
.jm-content .attachmentsContainer table { display: table; }
.jm-content .attachmentsContainer a { overflow-wrap: anywhere; }
.jm-content [class*="blog-item"] { min-width: 0; }
.jm-content dl.article-info { font-size: .875rem; color: #616161; }
.jm-content .readmore { margin-block: 20px; }
.jm-breadcrumbs { background: #f6f6f6; }
.jm-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.jm-breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: #777; }
.jm-footer { padding-top: 35px; background: #222a36; color: #ccc; }
.jm-footer h3 { font-size: 1.25rem; }
.jm-footer a { color: #fff; }
.jm-footer-grid { gap: 30px; }
.jm-footer-bottom { margin-top: 28px; }
.jm-footer-bottom p { margin-block: 10px; }
.moduletable.color1-ms { background: #0091ea; color: #fff; }
.moduletable.color2-ms { background: #f2f2f2; color: #151414; }
.moduletable.color3-ms { background: #ea0524; color: #fff; }
.moduletable.color4-ms { background: #73b700; color: #fff; }
.moduletable.color5-ms { background: #00bcd5; color: #fff; }
.moduletable[class*="color"] a, .moduletable[class*="color"] h2,
.moduletable[class*="color"] h3 { color: inherit; }
.moduletable[class*="promo"] { min-height: 120px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.moduletable[class*="promo"] p { margin: 0; font-size: 1.125rem; font-weight: 700; }
.migration-feature { overflow-wrap: anywhere; }
.migration-feature::after { content: ""; display: table; clear: both; }
.migration-feature-icon { float: left; width: 1.5em; margin: .125rem .875rem .5rem 0; font-size: 2rem; line-height: 1.2; text-align: center; color: inherit; }
.migration-feature h3 { margin-top: 0; }
.migration-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.migration-cards > * { min-width: 0; }
.migration-cards img { width: 100%; height: 155px; object-fit: cover; }
.migration-cards h3, .migration-cards h4 { font-size: 1.0625rem; }
.migration-cards p { font-size: .9375rem; }
.migration-article-list { display: block; }
.migration-article-list .mod-articlescategory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.migration-article-list .mod-articlescategory > li { min-width: 0; }
.migration-article-list img { width: 100%; height: 155px; object-fit: cover; }
.migration-article-list .mod-articles-category-title { display: block; font-weight: 700; line-height: 1.4; margin-top: 10px; }
.migration-article-list h3, .migration-article-list h4 { font-size: 1.0625rem; }
.migration-features { display: grid; gap: 20px; }
.migration-feature > img { max-width: 100%; height: auto; }
.migration-feature .fa { display: inline-block; width: 2em; text-align: center; }
.migration-weblinks { padding-inline-start: 20px; }
.migration-weblinks li { margin-bottom: 10px; }
.migration-video { width: 100%; max-width: 1170px; margin-inline: auto; }
.migration-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.migration-map iframe { display: block; width: 100%; height: 450px; border: 0; }
.migration-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; width: 100%; max-width: 1170px; margin-inline: auto; }
.migration-carousel > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.migration-carousel figure { margin: 0; }
.migration-carousel img { display: block; width: 100%; height: auto; }
.migration-carousel figcaption { padding: 12px 20px; background: #fff; }
.migration-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 18px; }
.migration-gallery img { width: 100%; height: 190px; object-fit: cover; }
.migration-gallery a { display: block; }
.migration-gallery figure { margin: 0; }
.migration-hero figcaption { padding: 12px 20px; }
.migration-social a { display: inline-block; margin: 5px 10px 5px 0; }
@media (max-width: 1100px) and (min-width: 981px) {
  .jm-navigation a, .jm-navigation .nav-header { padding-inline: 7px; font-size: .9rem; }
}
@media (max-width: 980px) {
  .jm-header-inner { min-height: 85px; }
  .jm-navigation a, .jm-navigation .nav-header { padding: 12px 20px; }
  .jm-navigation .jm-mobile-extra ul { position: static; display: block; box-shadow: none; }
  .jm-mobile-extra { display: block; padding: 15px 20px; border-top: 1px solid #e8e8e8; }
  .jm-mobile-extra .moduletable { margin-bottom: 20px; }
  .jm-mobile-extra h3, .jm-mobile-extra h6 { margin-bottom: 10px; }
  .jm-mobile-extra a { padding: 7px 0; }
  .migration-cards, .migration-article-list .mod-articlescategory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site.has-both .jm-main-grid, .site.has-left .jm-main-grid, .site.has-right .jm-main-grid { grid-template-columns: minmax(0, 1fr); }
  .jm-content { grid-row: 1; }
}
@media (max-width: 600px) {
  .jm-container { width: calc(100% - 24px); }
  .jm-brand > img { max-width: 200px; height: auto; }
  .jm-module-grid, .migration-cards, .migration-article-list .mod-articlescategory { grid-template-columns: minmax(0, 1fr); }
  .jm-content { padding: 18px; }
  .jm-content img[style] { max-width: 100% !important; }
  .jm-hero iframe { min-height: 220px; }
  .jm-footer-bottom { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html, .migration-carousel { scroll-behavior: auto; }
}

/* BEGIN LICEULIMICU MENU SINGLE LINE */
/* Liceulimicu menu: keep desktop labels intact and submenu arrows inline. */
@media (min-width: 981px) {
  .jm-header-inner { gap: 16px; }
  #jm-navigation { flex: 0 1 auto; min-width: 0; }
  #jm-navigation > .mod-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  #jm-navigation > .mod-menu > li {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
  }
  #jm-navigation > .mod-menu > li > a,
  #jm-navigation > .mod-menu > li > .nav-header,
  #jm-navigation > .mod-menu > li > .separator {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 30px 8px;
    font-size: .9375rem;
    line-height: 1.4;
  }
  #jm-navigation > .mod-menu > li.parent > a { padding-inline-end: 4px; }
  #jm-navigation > .mod-menu > li > .mod-menu__toggle-sub {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0 8px 0 0;
  }
  #jm-navigation > .mod-menu > li > .mod-menu__toggle-sub .icon-chevron-down {
    margin-inline-start: 0;
    font-size: .75rem;
  }
  #jm-navigation > .mod-menu > li.current > .mod-menu__toggle-sub,
  #jm-navigation > .mod-menu > li:hover > .mod-menu__toggle-sub,
  #jm-navigation > .mod-menu > li:focus-within > .mod-menu__toggle-sub {
    color: #fff;
    background: var(--jm-primary);
  }
}

/* On smaller desktops, reserve a complete row for the menu below the logo. */
@media (min-width: 981px) and (max-width: 1199px) {
  .jm-header-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    padding-top: 12px;
  }
  #jm-navigation { flex: 1 0 100%; margin-inline-start: 0; }
  #jm-navigation > .mod-menu { justify-content: flex-end; }
  #jm-navigation > .mod-menu > li > a,
  #jm-navigation > .mod-menu > li > .nav-header,
  #jm-navigation > .mod-menu > li > .separator { padding-block: 20px; }
}

/* Keep mobile navigation readable and leave room for its submenu buttons. */
@media (max-width: 980px) {
  #jm-navigation > .mod-menu > li > a,
  #jm-navigation > .mod-menu > li > .nav-header,
  #jm-navigation > .mod-menu > li > .separator { white-space: normal; }
  #jm-navigation > .mod-menu > li.parent > a { padding-inline-end: 58px; }
  #jm-navigation > .mod-menu > li > .mod-menu__toggle-sub {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 10px;
    min-width: 44px;
    min-height: 48px;
    justify-content: center;
  }
  #jm-navigation > .mod-menu > li > .mod-menu__toggle-sub .icon-chevron-down {
    margin-inline-start: 0;
  }
}

/* END LICEULIMICU MENU SINGLE LINE */
