/* Artec Web V5.0 */

/* === GLOBAL LAYOUT === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-content {
  flex: 1;
}

.sr-only{
  position:absolute!important;
  width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
/* ==========================================================================
   HEADER TOP BAR (desktop)
   ========================================================================== */
/* Show desktop header, hide mobile header */
.artec-header-desktop { display: block; }
.artec-header-mobile  { display: none; }

/* Desktop header container */
.artec-header-desktop .artec-header-wrapper {
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
}
.artec-header-desktop .artec-header-top {
  background: #fff;
  padding: 15px 0;
}
.artec-header-desktop .artec-header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows:
    auto               /* row 1: search            */
    var(--spacer,20px) /* row 2: spacer           */
    auto;              /* row 3: phones & button  */
  grid-template-areas:
    "logo   search"
    "logo   spacer"
    "logo   bottom";
  column-gap: 40px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.artec-header-desktop .artec-logo {
  grid-area: logo;
}
.artec-header-desktop .artec-logo img {
  display: block;
  max-height: 90px;
  width: auto;
}

/* Search */
.artec-header-desktop .artec-search {
  grid-area: search;
}
.artec-header-desktop .artec-search form {
  display: flex;
  width: 100%;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
.artec-header-desktop .artec-search input[type="search"] {
  flex: 1;
  padding: 0 10px;
  border: none;
  outline: none;
  font-size: 14px;
  border-right: 1px solid #ccc;
}
.artec-header-desktop .artec-search button {
  width: 80px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.artec-header-desktop .search-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Spacer */
.artec-header-desktop .artec-spacer {
  grid-area: spacer;
}

/* Bottom row: phones + button */
.artec-header-desktop .artec-bottom-row {
  grid-area: bottom;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
}

/* Phones */
.artec-header-desktop .artec-phones {
  display: flex;
  gap: 15px;
  align-items: center;
}
.artec-header-desktop .artec-phones span,
.artec-header-desktop .artec-phones a {
  color: #B83B40;
  text-decoration: none;
  font-size: 14px;
}
.artec-header-desktop .phone-item img {
  width: 16px;
  height: 16px;
}
.artec-header-desktop .artec-phones .phone-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Buttons */
.artec-header-desktop .artec-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.artec-header-desktop .artec-button {
  background: #1B2757;
  color: #fff;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: background 0.3s ease;
}
.artec-header-desktop .artec-button:hover {
  background: #B22A31;
}
.artec-modal-btn {
  background: #1B2757;
  color: #fff;
  padding: 0 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  border: none;
  cursor: pointer;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  font-family: inherit;
}

.artec-modal-btn:hover,
.artec-modal-btn:focus {
  background: #B22A31;
  color: #fff;
  text-decoration: none;
}

.artec-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0;
	pointer-events: none;
  transition: opacity 2s cubic-bezier(.68,-0.55,.27,1.55);
}

/* Show overlay with fade-in */
.artec-modal-overlay.active {
  display: flex;
  opacity: 1;
	pointer-events: auto;
}

.artec-overlay-text {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  font-size: 26px;
  color: rgba(255,255,255,0.18);
  font-family: Arial, sans-serif;
  letter-spacing: 2px;
  white-space: pre;
  line-height: 2.2;
  user-select: none;
}

.artec-modal-content {
  background:#fff;
  max-width:600px;
  width:90vw;
  padding:32px 24px;
  border-radius:10px;
  position:relative;
  z-index:2;
  box-shadow:0 2px 32px #0008;
  margin:auto;
}
.artec-modal-close {
  position:absolute;
  top:10px;
  right:14px;
  font-size:22px;
  background:none;
  border:none;
  color:#888;
  cursor:pointer;
}


/* ==========================================================================
   HEADER TOPBAR (mobile)
   ========================================================================== */
/* Hide desktop header, show mobile header */
@media (max-width: 1150px) {
  .artec-header-desktop { display: none; }
  .artec-header-mobile  { display: block; }

  .artec-header-mobile .artec-header-wrapper {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
  }
  .artec-header-mobile .artec-header-top {
    background: #fff;
    padding: 15px 0;
  }
  .artec-header-mobile .artec-header-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 0 20px;
    position: relative;
  }

  /* Logo */
  .artec-header-mobile .artec-logo {
    justify-self: center;
  }
  .artec-header-mobile .artec-logo img {
    max-height: 120px;
    width: auto;
  }

  /* Search */
  .artec-header-mobile .artec-search,
  .artec-header-mobile .artec-search form {
    width: 100%;
    max-width: 500px;
  }
	
	.artec-header-mobile .search-icon {
    width: 20px;
    height: 20px;
  }
  .artec-header-mobile .artec-search form {
    display: flex;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
  }
  .artec-header-mobile .artec-search input[type="search"] {
    flex: 1;
    padding: 0 10px;
    border: none;
    outline: none;
    font-size: 14px;
  }
  .artec-header-mobile .artec-search button {
    width: 80px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Phones */
  .artec-header-mobile .artec-phones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .artec-header-mobile .artec-phones span,
  .artec-header-mobile .artec-phones a {
    color: #B83B40;
    text-decoration: none;
    font-size: 14px;
  }
  .artec-header-mobile .phone-item img {
    width: 16px;
    height: 16px;
  }
  .artec-header-mobile .artec-phones .phone-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* Buttons */
  .artec-header-mobile .artec-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  .artec-header-mobile .artec-button {
    background: #1B2757;
    color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: background 0.3s ease;
  }
  .artec-header-mobile .artec-button:hover {
    background: #B22A31;
  }

  /* Burger toggle */
  .artec-header-mobile .artec-hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
  }

  /* Hide desktop nav, show mobile nav */
  .artec-nav,
  .artec-menu,
  .artec-submenu-wrapper {
    display: none !important;
  }
  .artec-mobile-menu        { display: none; }
  .artec-mobile-menu.visible{ display: block; }
}




/* === NAVIGATION === */
/* desktop nav bar */
.artec-nav {
  position: relative;
  z-index: 999;
  background: #fff;
}
.artec-menu {
  display: flex;
  justify-content: center;
  gap: 85px;
  padding: 12px 0;
}
.artec-menu a {
  color: #000;
  font-weight: bold;
  font-size: 17px;
  padding: 12px 10px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}
.artec-menu a::after {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: transparent;
  transition: background-color 0.3s ease;
}
.artec-menu a:hover::after,
.artec-menu a.active::after {
  background-color: #b01f29;
  height: 7px;
}
.artec-menu a.active {
  color: #b01f29;
  font-style: italic;
}

/* desktop submenu */
.artec-submenu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #333;
  display: none;
  z-index: 1000;
  padding: 20px 0;
}
.artec-submenu-wrapper.active {
  display: block;
}
.artec-submenu {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.artec-submenu .submenu-item {
  width: 150px;
  text-align: center;
}
.artec-submenu .submenu-item img {
  width: 100%;
  max-width: 150px;
  border-radius: 4px;
}
.artec-submenu .submenu-item span {
  display: block;
  color: #fff;
  margin-top: 6px;
}

/* mobile nav toggle */
.artec-hamburger {
  display: none;
  font-size: 35px;
  cursor: pointer;
  margin-left: auto;
}

/* mobile menu */
.artec-mobile-menu {
  display: none;
  background: #333;
  color: #fff;
  padding: 10px;
  list-style: none;
  margin: 0;
}
.artec-mobile-menu.visible {
  display: block;
}
.mobile-menu-li {
  border: none;
}
.mobile-menu-label {
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: #fff;
}
.mobile-submenu {
  display: none;
  padding-left: 15px;
  list-style: none;
  background: #bbb;
}
.mobile-submenu.open {
  display: block;
}
.mobile-submenu li a {
  display: block;
  padding: 10px;
  color: black;
  text-decoration: none;
}
.mobile-submenu li a:hover {
  color: #b01f29;
  font-weight: bold;
}
.mobile-arrow {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.mobile-arrow.rotate {
  transform: rotate(90deg);
}
.mobile-menu-link,
.mobile-menu-text {
  flex: 1;
  text-decoration: none;
  color: white;
}

/* show mobile nav & hide desktop at ≤768px */
@media (max-width: 768px) {
  .artec-hamburger {
    display: block;
  }
  .artec-nav,
  .artec-menu,
  .artec-submenu-wrapper {
    display: none !important;
  }
  .artec-mobile-menu {
    display: none;
  }
  .artec-mobile-menu.visible {
    display: block;
  }
}
/* ==========================================================================
   EVENT NOTIFICATIONS TICKER
   ========================================================================== */
.event-notifications {
  width: 100%;
  background: #333;
  height: 60px;
  overflow: hidden;
  position: relative;
}

.event-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-slider .slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1em;
  white-space: nowrap;
  transform: translateX(100%);
  transition: transform 0.6s ease, visibility 0s linear 0.6s;
  visibility: hidden;
}

/* when visible */
.event-slider .slide.active {
  transform: translateX(0%);
  visibility: visible;
  transition: transform 0.6s ease, visibility 0s;
}

/* leaving */
.event-slider .slide.exit {
  transform: translateX(-100%);
  visibility: visible;
  transition: transform 0.6s ease, visibility 0s;
}

/* reset (after exit) */
.event-slider .slide.hidden {
  visibility: hidden;
  transform: translateX(100%);
}

/* date portion */
.event-slider .slide .date {
  color: #B83B40;
  margin-right: 6px;
}

.event-notifications .slides .slide {
  text-decoration: none; 
}

.event-notifications .slides .slide:hover {
  text-decoration: none;
  opacity: 0.8;
}


/* main page style */ 
.bx-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Full-width edge-to-edge slider container */
.artec-top-slider {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
	border-bottom: 5px solid #ccc;
}

/* Each slide fills viewport width and max 700px height */
.bxslider {
    margin: 0;
    padding: 0;
}

.bxslider li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.bxslider li img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 700px;
    object-fit: cover;
}

/* Text overlay centered on top of each slide */
.artec-slider-text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    place-content: center;
    place-items: center;
    gap: 2em;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 1em;
    z-index: 2;
}

/* main page content */ 

/* Slogan text */
.artec-slider-text span {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.5em);
    text-transform: uppercase;
}

/* Secondary title */
.artec-slider-text span.secondary {
    font-size: clamp(1.5rem, 4vw, 3em);
    padding: .2em;
    color: #fff !important;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.6);
    line-height: 1em;
    border: 1px solid #fff;
    display: block;
    text-align: center;
}


/* ===== Artec Main Content Styles ===== */

.artec-main-content {
    max-width: 1140px;
    margin: 50px auto;
    padding: 0 20px;
}

h1 {
    font-size: 35px;
    color: #a12f2f;
    font-weight: 500;
    padding-bottom: 25px;
    margin-bottom: 0px;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.1; 
	border-bottom: 1px solid #ccc;
}

h5 {
  font-size: 32px;
  font-weight: bold;
  font-family: "PT Sans", sans-serif;
  color:  #a12f2f;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: left;
}
h2 {
    color: #333;
	font-family: Arial, sans-serif ;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: left;
    padding: 5px 0;
	font-weight: 100;
}

h3 {
	color: #fff;
	font-family: Arial, sans-serif ;
    margin-bottom: 20px;
    font-size: 14x;
    text-align: left;
    padding: 5px 0;
	font-weight: 100;
}

h4 {
  font-size: 18px;
  color: #192756; /* dark blue */
  text-align: left;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc; /* gray border */
}

h5 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 200;
  line-height: 1.3;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #a12f2f; /* red border */
}

p {
  font-family: "PT Sans", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: #474747 !important;
  margin-bottom: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Styled blockquote */
blockquote {
    font-size: 19px;
    border-left: 10px solid #efefef;
    margin: 40px 0;
    position: relative;
    padding: 20px 40px;
    background: #fafafa;
    font-style: italic;
	font-weight: 100;
	line-height: 1.9; 
}

blockquote::before {
    content: "";
    background-image: url('./images/before.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -10px;
    left: 10px;
    display: block;
}

blockquote::after {
    content: "";
    background-image: url('./images/after.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: -10px;
    right: 10px;
    display: block;
}
.wp-block-list {
  padding-left: 1.25em;
  margin-bottom: 1em;
}

.wp-block-list li {
  list-style-type: square;
  margin-bottom: 0.75em; /* adds spacing between list items */
  color: #555;
}

.wp-block-list li::marker {
  color: #b01f29;
	font-size: 1.2em; /* square bullet color */
}

/* ===== Bottom Slider (inside .artec-main-content) ===== */

.artec-bottom-slider {
    width: 100%;
    max-width: 1140px;
    margin: 60px auto;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.bxslider-bottom {
    margin: 0;
    padding: 0;
}

.bxslider-bottom li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.bxslider-bottom li img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
}

/* Overlay Text Container */
.artec-bottom-slider-text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 1140px;
    margin: auto;
    display: grid;
    place-content: center;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

/* Text & Button Styling */
.artec-bottom-slider-text .slogan {
    color: #fff;
    font-weight: 100;
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.artec-bottom-slider-text .secondary {
    font-size: 25px;
    padding: .2em;
    color: #fff;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.6);
    line-height: 1em;
    border: 1px solid #fff;
    display: block;
    margin-bottom: 1.5em;f
	text-transform: uppercase;
}

/* Button */
.learn-more-btn {
    display: inline-block;
    width: 177px;
    height: 57px;
    line-height: 57px;
    background: #2e375a;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #fff;
    border-radius: 35px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.learn-more-btn:hover {
    background: #B22A31;
}

@media (max-width: 767px) {
  .artec-bottom-slider-text {
    padding: 10px;
  }

  .artec-bottom-slider-text .slogan,
  .artec-bottom-slider-text .secondary {
    font-size: 16px;
    line-height: 1.2em;
  }

  .artec-bottom-slider-text .secondary {
    padding: 0.4em;
    margin-bottom: 1em;
  }

  .learn-more-btn {
    width: 140px;
    height: 45px;
    line-height: 45px;
    font-size: 12px;
  }
}

/* === FOOTER COPYRIGHT === */
.site-footer .site-copyright {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

/* === FOOTER BRANDS SECTION === */
.artec-footer-brands {
  width: 100%;
  background: #efefef;
  padding: 40px 10px;
  box-sizing: border-box;
}
.artec-footer-brands__inner {
  display: flex;
  gap: 20px;
}
.artec-footer-brands__item {
  flex: 1;
  background: #EFEFEF;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.artec-footer-brands__item img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.artec-footer-brands__item:hover {
  transform: scale(1.03);
}
.artec-footer-brands__item:hover img {
  filter: none;
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .artec-footer-brands__inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .artec-footer-brands__item {
    flex: 0 0 48%; /* 2 logos per row */
    padding: 10px;
  }

  .artec-footer-brands__item img {
    width: 100%;
    max-width: 120px; /* prevent them from being too huge on very small screens */
    margin: 0 auto;
  }
}
/* === ARTEC NEWS SECTION === */

/* Title & underline */
.artec-news-title {
  margin: 0 10px 10px;
  text-transform: uppercase;
  font-size: 1.5em;
  color: #fff;
}
.red-underline {
  height: 2px;
  background: #b01f29;
  margin: 0 10px 30px;
}
/* Link container as column-flex */
.news-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* allows children to choose their own alignment */
  text-decoration: none;
  color: #333;
  font-size: 0.95em;
}

/* Date badges */
.news-date-row {
  display: inline-flex;
	 margin-left: auto;         /* push it all the way right */
	 margin-bottom: 8px;
	margin-right: 1px;
  border: 1px solid #b01f29;
  padding: 0px;
  background: transparent;
  box-sizing: border-box;
}
.news-date-row span:not(:last-child) {
  margin-right: 4px;
}
.news-date-row .badge-year {
  width: 45px; height: 19px; line-height: 19px;
  text-align: center; color: #000;
	font-size: 15px; font-weight: normal;
}
.news-date-row .badge-month {
  width: 35px; height: 19px; line-height: 19px;
  text-align: center; background: #b01f29; color: #fff;
	font-size: 15px; font-weight: normal;
}
.news-date-row .badge-day {
  width: 24px;height: 19px; line-height: 19px;
  text-align: center; color: #000;
	font-size: 15px; font-weight: normal;
}

/* Secure file */
.secure-file-row { margin-bottom:10px; border-bottom:1px solid #ccc; padding-bottom:7px; }
.secure-file-row input { margin-right:6px; }
.secure-file-row .button { margin-right:4px; }
.artec-download-link,
.artec-download-link-locked {
    text-decoration: none !important;
    border-bottom: 0 !important;
    color: #165ebd;
}
.artec-download-link:hover,
.artec-download-link-locked:hover {
    text-decoration: underline;
}
.artec-download-error {
    color: #a00;
    display: none;
    font-weight: bold;
    margin-left: 0;
    margin-top: 5px;
    font-size: 13px;
}

/* FOOTER Styles */

/* Footer Logos Container */
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 25px 0 25px 0;
}

/* Keep the link as a simple inline-block */
.footer-logo-link {
  display: inline-block;
}

/* Uniform, responsive height for all logos */
.footer-logo-img {
  height: clamp(80px, 15vw, 150px);
  /*  
    • Minimum height: 80px  
    • Preferred: 15% of viewport-width  
    • Maximum: 150px  
  */
  width: auto;
  max-width: 100%;
  display: block;
}

/* footer copyright */ 
.footer-text{
  text-align: center;
  padding: 5px 0 25px 0;
  font-size: 0.9rem;
  color: #fff;      /* tweak as you like */
  line-height: 1.5;
}


/* Social Icons */
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 5px 0  25px 0;
}

.footer-social-link {
  display: inline-block;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus .footer-social-icon {
  transform: scale(1.2);
}


/* footer slider style */


/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}



a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.containerswpr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #333;
	width: 100%;
	margin-left: calc(50% - 50vw);
	padding-inline: 0;
}

.card__container {
  padding-block: 25px;
}

.card__content {
  margin-inline: 0 !important;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__article {
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__image {
  position: relative;
  background-color: white;
  aspect-ratio: 4 / 3;               /* or your chosen ratio */
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0; /* top-left/right rounded */
  margin-bottom: 0;
}

.card__image img,
.card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: inherit;  /* matches the parent’s top corners */
}

.card__data {
  background-color: #fff;
  padding: 5px;
  border-radius: 0 0 1rem 1rem; /* bottom-left/right only */
  text-align: center;
 height: 150px;
display: flex;              /* new: make it flex */
flex-direction: column;     /* stack children vertically */
 position: relative;
 z-index: 10;
}

.card__img {
  width: 180px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}


.card__name {
  font-size: var(--h2-font-size);
  color: var(--second-color);
  margin-bottom: 5px;
}

.card__description {
  font-weight: 550;
  margin-bottom: 1.75rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  color: var(--second-color);
  display: none;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: hsl(212, 32%, 40%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--second-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
+  .card__container {
+    /* edge-to-edge on desktop */
+    max-width: 100vw !important;
+    width: 100vw;
+    margin: 0 calc(50% - 50vw);
+    padding-inline: 0;
+  }

  .swiper-button-prev {
    left: -1rem;
  }
  .swiper-button-next {
    right: -1rem;
  }
}
/* ==== DESKTOP ONLY: uniform slide gaps ==== */
@media screen and (min-width: 768px) {
  /* ensure the Swiper wrapper uses flex-gap */
  .swiper-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px;
    padding-inline: 16px;  /* small edge padding, optional */
  }
  /* cancel Swiper’s inline margins */
  .swiper-slide {
    margin-right: 0 !important;
  }
}

@media screen and (min-width: 768px) {
  .card__description {
    -webkit-line-clamp: 3;  /* only show thre lines */
  }
}

/* Technical page style */ 
.technical-files-page .entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
}
.tech-section-title {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.5em;
  color: #222;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3em;
}

/* List wrapper */
.tech-files-list {
  margin-bottom: 2em;
}

/* Each file row */
.artec-file-row {
  margin-bottom: 10px;
  padding-bottom: 5px;
}

/* ─── Row 1: icons + title ─── */
.artec-file-header {
  margin-bottom: 4px;
}

.artec-file-label {
  display: flex;
  flex-wrap: nowrap; /* ⬅ Prevent wrapping of individual items */
  align-items: flex-start;
  gap: 6px;
}


.artec-file-label img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
	display: block;
}

.artec-file-title {
  display: block;
  line-height: 1.2em;
  white-space: normal;
  word-break: break-word;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  flex: 1; /* ⬅ Force it to fill space next to icons */
  min-width: 0;
}


.artec-file-header img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.artec-file-title {
   display: inline; /* let it wrap */
  line-height: 1.2em;
  height: auto;    /* REMOVE height: 20px */
  white-space: normal; /* allow wrapping */
  word-break: break-word;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  flex: 1 1 auto; /* allow flexibility */
}
.artec-file-title:hover {
  text-decoration: underline;
}

/* Locked-download link styling */
.artec-download-link-locked,
.artec-download-link {
  color: #0056b3;
  text-decoration: none;
}
.artec-download-link-locked:hover,
.artec-download-link:hover {
  text-decoration: underline;
}

/* ─── Password form (under row 1) ─── */
.artec-password-form {
  
  align-items: center;
  gap: 6px;
  margin-left: 22px;   /* indent to line up under title */
  margin-bottom: 4px;
}
.artec-password-input {
  width: 110px;
  padding: 4px;
  font-size: 14px;
}
.artec-download-btn {
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
}
.artec-download-error {
  color: #a00;
  display: none;
  font-size: 12px;
  margin-left: 6px;
}

/* ─── Row 2: secondary text + meta ─── */
.artec-file-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 45px; /* adjust so it lines up under the title */
}
.artec-file-secondary-text {
  color: #555;
  font-size: 14px;
}
.artec-file-meta {
  color: #888;
  font-size: 12px;
}
/* 1. Center the whole block and constrain its width */
.locked-notice {
  max-width: 900px;    /* or whatever fits your design */
  margin: 2em auto;      /* vertical spacing + auto‐center */
  text-align: center;    /* center all child text & inline elements */
}
.notice-tittle{
	font-size: 25px;
    color: #a12f2f;
    font-weight: 500;
    padding-bottom: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;

}
.notice-text{
	font-size: 16px;
    color: #333;
    font-weight: 500;
	
    
}
.notice-Link {
	font-size: 16px;
    color: #a12f2f;
	font-weight: bold;
}
/* 3. Force the icon inline & vertically centered */
.locked-notice-icon {
  display: inline-block;      /* keep it on the same line as text */
  vertical-align: middle;     /* align its middle with the text baseline */
  margin: 0 4px;              /* small gap on either side */
}

/* 4. If you need to clear floats or other context */
.clear {
  clear: both;
}

@media (max-width: 600px) {
  .artec-file-title {
    font-size: 14px;
  }
  .artec-file-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

.upcoming-events {
  background-color: #333;
  padding: 10px 20px 50px;
}

.upcoming-events h2 {
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: left;
  float: left;
  width: 100%;
  margin: 0 10px 10px;
}

.upcoming-events .red-underline {
  width: 100%;
  height: 2px;
  background: #b01f29;
  margin: 8px 0 24px;
  clear: both;
}

.upcoming-events .events-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.upcoming-events .event-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 215px;
  max-width: 100%;
}

.upcoming-events .card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.upcoming-events .card-image {
  flex: none;
  height: 250px;
  overflow: hidden;
}

.upcoming-events .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upcoming-events .card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
}

.upcoming-events .card-details h3 {
  color: #192756;
  font-size: 0.8rem;
  line-height: 1.2;
  margin: 0 0 4px;
  width: 100%;
}

.upcoming-events .card-details p {
  color: #333;
  font-size: 0.5rem;
  margin: 0 0 2px;
  padding: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .upcoming-events .event-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 480px) {
  .upcoming-events .event-card {
    flex: 0 0 90%;
  }
}
.upcoming-events .card-details h3 {
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}
@media (max-width: 767px) {
  .artec-news-section {
    display: none !important;
  }
}
.artec-news-section {
  width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}
.artec-news-section h2 {
  color: #333;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.artec-news-section .red-underline {
  width: 60px;
  height: 2px;
  background: #b01f29;
  margin-bottom: 24px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 20px;
}

.news-thumb img {
  width: 283px;
  height: 283px;
  object-fit: cover;
  border-radius: 5px;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date-row {
  margin-bottom: 8px;
  justify-content: flex-end;
  display: flex;
  gap: 4px;
}

.news-content h3 {
  text-align: center;
  margin: 0 0 10px;
  color: #192756;
  font-size: 1.2rem;
}

.news-content p {
  flex: 1;
  margin: 0 0 12px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Style Read-more in the News section */
.artec-news-section .artec-buttons .artec-button {
  background: #1B2757;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  transition: background 0.3s ease;
}
.artec-news-section .artec-buttons .artec-button:hover {
  background: #B22A31;
}

.news-separator {
  height: 1px;
  background: #ccc;
  margin: 20px 0;
}

/* Ensure the buttons container sits at the bottom and aligns right */
.artec-news-section .news-content {
  display: flex;
  flex-direction: column;
}

.artec-news-section .artec-buttons {
  margin-top: auto;            /* push buttons to bottom */
  display: flex;
  justify-content: flex-end;   /* align buttons to the right */
  width: 100%;
}

/* Kill any stray floats on the button itself */
.artec-news-section .artec-button {
  float: none !important;
}
.artec-news-section .red-underline {
  display: block;       /* ensure it’s a full-width block */
  width: 100% !important;  /* span the entire section width */
  height: 2px;
  background: #b01f29;
  margin: 8px 0 24px;
  box-sizing: border-box;
}
/* GENERAL CONTAINER FIX */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero {
  position: relative;
  width: 100%;
  height: 695px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 1150px) {
  .hero {
    height: 400px;
  }
  .hero .hero-slogan {
    font-size: 14px;
  }
  .hero .hero-subtitle-box {
    padding: 10px 20px;
  }
  .hero .hero-subtitle {
    font-size: 18px;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.hero-slogan {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
}

.hero-subtitle-box {
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  display: inline-block;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

.spacer {
  height: 5px;
  background-color: #333;
}

.sub-header {
  background-color: #333;
  padding: 15px 0;
}

.sub-header .container {
  color: #fff;
}

.sub-header-title {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 4px;
}

.sub-header p {
  font-size: 18px;
  text-align: left;
  margin: 0;
  padding-bottom: 20px;
}

.sub-header-border {
  width: 100%;
  height: 2px;
  background-color: #AF2029;
  margin-bottom: 20px;
}

.menu-header {
  margin-top: 40px;
  margin-bottom: 20px;
}

.menu-header .container {
  text-align: left;
}

.menu-header-title {
  font-size: 22px;
  color: #333;
  display: inline-block;
  margin-bottom: 8px;
}

.menu-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px auto;
  max-width: 1240px;
}

.card {
  width: 120px;
  height: 220px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;

}

.card:hover {
  transform: translateY(-3px);
}

.card-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.card-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-title {
  font-size: 12px !important;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
}

.card-link {
  font-size: 12px;
  padding: 4px 6px;
  background-color: #192756;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;
}

.card-link:hover {
  background-color: #f37022;
}

.page-content {
  padding: 20px;
}
/* Editor Styles */

.ajax-disabled,
.ajax-disabled:disabled {
  background: #b8b8b8 !important;
  color: #ededed !important;
  pointer-events: none !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  position: relative;
}

.ajax-spinner {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 9px;
  vertical-align: middle;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #888;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}


.artec-download-error {
  display: block;  /* or inline-block */
  color: red;
  margin-left: 5px; /* spacing */
  font-weight: bold;
}

	.ccus {
  border: 1px solid #192954;
  border-radius: 25px;
		padding: 20px; 
}

/* === SEARCH RESULTS === */
.search-results-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.search-card{
  background:#fff;
  border:1px solid #ccc;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,.1);
  display:flex;
  flex-direction:column;
  transition:transform .2s ease;
}
.search-card:hover{ transform:translateY(-3px); }

.search-card__thumb img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.search-card__content{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}

.search-card .artec-button{
  align-self:flex-start;
}

/* === ARTEC PAGINATION === */
.artec-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:40px 0;
  flex-wrap:wrap;
  font-size:15px;
}

.artec-pagination a,
.artec-pagination span{
  min-width:38px;
  padding:8px 12px;
  text-align:center;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fff;
  color:#333;
  text-decoration:none;
  transition:all .25s ease;
}

.artec-pagination a:hover,
.artec-pagination a:focus{
  background:#1B2757;   
  color:#fff;
  border-color:#1B2757;
}

.artec-pagination .current{
  background:#b01f29;  
  color:#fff;
  border-color:#b01f29;
  font-weight:bold;
}

@media(max-width:480px){
  .artec-pagination{
    gap:4px;
    font-size:14px;
  }
  .artec-pagination a,
  .artec-pagination span{
    padding:6px 10px;
  }
}
/* === 404 PAGE === */
.nf-404{
  max-width:960px;
  margin:60px auto;
  padding:0 20px;
  text-align:center;
  font-family:inherit;
}

.nf-columns{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
}

.nf-left,
.nf-right{
  flex:1 1 320px;
}

.nf-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  border-right:1px solid #ccc;
  padding-right:40px;
}

.nf-logo img{
  max-height:90px;
  width:auto;
}

.nf-btn{
  display:inline-block;
  padding:14px 26px;
  background:#2e375a;
  color:#fff;
  border-radius:30px;
  text-decoration:none;
  font-size:14px;
  transition:background .25s;
}
.nf-btn:hover{ background:#b22a31; }

.nf-right{
  padding-left:40px;
}
.nf-title{
  font-size:32px;
  color:#a12f2f;
  margin:0 0 10px;
  text-transform:uppercase;
}
.nf-text{
  font-size:17px;
  color:#474747;
  line-height:1.45;
}

/* --- Search bar --- */
.nf-search{
  margin:50px auto 0;
  max-width:520px;
  display:flex;
  gap:0;
}
.nf-search input{
  flex:1;
  padding:14px 16px;
  font-size:15px;
  border:1px solid #ccc;
  border-radius:4px 0 0 4px;
  outline:none;
}
.nf-search button{
  padding:0 26px;
  font-size:15px;
  background:#1b2757;
  color:#fff;
  border:none;
  border-radius:0 4px 4px 0;
  cursor:pointer;
  transition:background .25s;
}
.nf-search button:hover{ background:#b22a31; }

/* --- Mobile stacking --- */
@media(max-width:680px){
  .nf-columns{
    flex-direction:column;
    gap:30px;
  }
  .nf-left{
    border-right:none;
    border-bottom:1px solid #ccc;
    padding:0 0 20px;
  }
  .nf-right{
    padding:0;
  }
}
