@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_18pt-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  color: #1a1a1a;
  line-height: 1.6;
}

strong {
  font-weight: 700;
}

.header {
  /*background: */
  /*  url('/assets/images/girlands_4.gif');  */
  /*background-size: contain;*/
  /*background-repeat: repeat-x;*/

  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  background-position: top left; 
  
  background: linear-gradient(to right, #f4f4f4, #eaeaea);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);              
  padding: 20px 20px;
  backdrop-filter: blur(3px);                             
  /*border-bottom: 1px solid rgba(0, 0, 0, 0.05);           */
}

@media (max-width: 449px) {
  .header {
      /*background: */
      /*  url('/assets/images/girlands_4.gif');  */
      /*background-size: contain;*/
      /*background-repeat: repeat-x;*/
    
      /*background-size: cover;*/
      /*background-repeat: no-repeat;*/
      background-position: top left; 
      
      background: linear-gradient(to right, #f4f4f4, #eaeaea);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);              
      padding: 20px 20px;
      backdrop-filter: blur(3px);                             
      /*border-bottom: 1px solid rgba(0, 0, 0, 0.05);           */
  }
}

.logo-container {
  display: flex;
  align-items: flex-start;
  text-align: center;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.logo {
  height: 80px;
  width: auto;
}

.logo-sticky {
  display: block;
  width: 60px;
  height: auto;
  margin: 10px 25px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-sticky:hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .logo {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .logo {
    height: 60px;
  }
}

@media (max-width: 380px) {
  .logo {
    height: 45px;
  }
}

.company-info {
  width: 90%;
  /*color: #FFE5B4 ;*/
}

/*.company-info {*/
/*  width: 90%;*/
/*  animation: colorChange 5s infinite alternate;*/
/*}*/

/*@keyframes colorChange {*/
/*  0% {*/
/*    color: #FFCC99;*/
/*  }*/
/*  50% {*/
/*    color: #FFE5B4;*/
/*  }*/
/*  100% {*/
/*    color: #FFFFFF;*/
/*  }*/
/*}*/

.company-info h1 {
  margin: 0;
  font-size: 2.0rem;
  color: #0d3b66;
}

.company-type {
  font-size: 0.9rem;
  color: #999;
}

.company-contact {
  font-size: 0.9rem;
  color: #555;
}

.company-info p {
  margin: 0;
}

.tel-link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.tel-link:hover {
  text-decoration: underline;
}

.lang-switch {
  min-width: 7%;
}

.lang-switch .lang {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
  color: #145da0;
}

.lang-switch .lang:last-child {
  margin-right: 10px;
}

.lang-switch .lang:hover {
  text-decoration: underline;
}

.selected-lang {
  /*display: inline-block;*/
  /*font-weight: bold;*/
  margin-right: 10px;
  /*color: #145da0;*/
  /*padding: 0 10px;*/
  /*background-color: #e0eaf6;*/
  /*border-radius: 4px;*/
}

.top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1600px;
}

.top-menu li a {
  display: block;
  background-color: #145da0;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.top-menu li a:hover,
.top-menu li a:focus {
  background-color: #1e81b0;
  color: white;
}

.sidebar {
  display: flex;
  flex-wrap: wrap;
  background-color: #0d3b66;
  padding: 24px 20px;
  justify-content: center;
  text-align: center;
  /*position: sticky;*/
  top: 0;
  z-index: 100;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
}

.sidebar.stuck {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sticky-extra {
  display: none;
}

.sidebar.stuck .sticky-extra {
  display: block;
}

.sidebar a {
  color: white;
  text-decoration: none;
  margin: 8px 12px;
  width: 100px;
  padding: 10px 15px;
  background-color: #145da0;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.sidebar a:hover {
  background-color: #1e81b0;
}

.sticky-extra a {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.content {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
}

.main-text {
  flex: 2;
  min-width: 250px;
  font-size: 1rem;
}

.sidebar-images {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-images img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

.footer {
  background-color: #0d3b66;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

.footer a {
  color: #f7d794;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background-color: #145da0;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  display: block;
  margin: 8px 12px;
}

.dropdown-toggle:hover {
  background-color: #1e81b0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  text-align: left;
  top: 100%;
  left: 12px;
  background-color: #145da0;
  border-radius: 6px;
  padding: 8px 0;
  min-width: 160px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
}

.dropdown-menu a:hover {
  background-color: #1e81b0;
}

.dropdown-divider {
  height: 1px;
  background-color: #ffffff33;
  margin: 5px 0;
}

.carousel-container {
  width: 100%;
  background-color: #0d3b66;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.carousel-inner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.carousel-inner .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.carousel-inner .item.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

/*.carousel-inner {*/
/*  position: relative;*/
/*  width: 100%;*/
/*  overflow: hidden;*/
/*}*/

/*.carousel-inner .item {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  width: 100%;*/
/*  display: none;*/
/*  transition: transform 0.6s ease-in-out;*/
/*}*/

/*.carousel-inner .active {*/
/*  position: relative;*/
/*  display: block;*/
/*  transform: translateX(0);*/
/*}*/

.carousel-inner .next {
  transform: translateX(100%);
}

.carousel-inner .prev {
  transform: translateX(-100%);
}

.carousel-inner .next.left,
.carousel-inner .prev.right {
  transform: translateX(0);
}

.carousel-inner .active.left {
  transform: translateX(-100%);
}

.carousel-inner .active.right {
  transform: translateX(100%);
}

.carousel-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.carousel-control.left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.carousel-control.right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
}

.carousel-control:hover {
  opacity: 0.9;
  text-decoration: none;
}

.icon-prev::before {
  content: "‹";
}

.icon-next::before {
  content: "›";
}

.icon-prev,
.icon-next {
  font-size: 40px;
  line-height: 1;
  user-select: none;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid white;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .active {
  background: white;
}

.carousel-indicators-wrapper {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 5px;
  border-radius: 12px;
  z-index: 15;
}

.carousel-indicators-wrapper:hover {
  opacity: 0.9;
}

.carousel-caption {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  text-align: center;
}

.carousel-caption,
.carousel-caption a {
  color: #f4f4f4;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.9);
  font: inherit;
  text-decoration: none;
}

.carousel-caption a:hover {
  text-decoration: underline;
}

.carousel-pause {
  display: none; 
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 16px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  z-index: 16;
  position: absolute;
}

.carousel-pause.show-pause {
  display: block;
}

.features {
  padding: 40px 40px;
  background: linear-gradient(to top, #145da0, #0d3b66);
  /*border-top: 1px solid rgba(255, 255, 255, 0.05);*/
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
  color: #ffffff;
}

.features-divider-container {
  height: 1px;
  background: #145da0;
  width: 100%;
}

.features-divider {
  max-width: 1600px;
  margin: 0 auto;
  border-bottom: 1px solid #0d3b66;
}

.features-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: flex-start; 
  gap: 20px;          
  flex: 1 1 300px;
  text-align: left;          
  padding: 6px 10px;
}

.feature-icon {
  position: relative;
  width: 100px;
  height: 100px;
  align-self: center;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ffffff22;
  flex-shrink: 0;
}

.feature-icon:not(img)::after {
  content: "✓";
  position: absolute;
  top: auto;
  bottom: 0px;
  right: 0px;
  background-color: #28a745; 
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.feature-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  gap: 4px; 
  padding: 0;
  margin: 0;
}

.feature-title {
  font-size: 1.2rem;
  margin: 0;          
  font-weight: 600;
  color: #ffffff;
}

.feature-text {
  font-size: 0.95rem;
  margin: 0;         
  line-height: 1.4;   
  color: #dfefff;
}


.feature:hover .feature-icon {
  background-color: #ffffff33;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.product-section {
  background: linear-gradient(to bottom, #145da0, #0d3b66);
  padding: 60px 40px;
}

.product-diagnostics-section {
  background: transparent;
  padding: 0;
}

.product-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;           /* stretch all to equal height */
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.product-diagnostics-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

/*.product-container {*/
/*  width: 100%;*/
/*  max-width: 1200px;*/
/*  margin: 0 auto;*/
/*  display: flex;*/
/*  align-items: flex-start;*/
/*  min-height: 325px;*/
/*  flex-wrap: wrap;*/
/*  justify-content: space-between;*/
/*  gap: 20px;  */
/*}*/

.vaccine-description-card {
    max-height: 100px;
    overflow: auto;
    text-overflow: ellipsis;
    white-space: normal;
}

.diagnostics-description-card {
    max-height: 120px;
    overflow: auto;
    text-overflow: ellipsis;
    white-space: normal;
}

@media (max-width: 1024px) {
    .product-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      min-height: 325px;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;  
    }
}

@media (max-width: 635px) {
    .product-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      min-height: 325px;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;  
    }

    .product-diagnostics-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: stretch;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .vaccine-description-card {
        max-height: 500px;
        overflow: auto;
        text-overflow: ellipsis;
        white-space: normal;
    }

    .diagnostics-description-card {
        max-height: 500px;
        overflow: auto;
        text-overflow: ellipsis;
        white-space: normal;
    }    
    
}

/*.product-inner {*/
/*  border: 1px solid #145da0;*/
/*  padding: 5px;*/
/*  border-radius: 4px;*/
  /*margin-bottom: 15px;*/
/*}*/

.product-inner {
  border: 1px solid #145da0;
  border-radius: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  box-sizing: border-box;
}

.product-inner img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-inner h3, .product-dose h3, .product-docs h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #0d3b66;
}

.product-inner p {
  font-size: 0.95rem;
  color: #333;
}

.product-content {
  flex: 1;      
}

.product-footer {
  margin-top: 10px;
}

.product-divider {
  border: none;
  border-top: 1px solid #145da0;
  margin: 0 15px 10px 15px;
}

/*.product-divider {*/
/*  border: none;*/
/*  border-top: 1px solid #145da0;*/
/*  margin: 0 15px;*/
/*}*/

/*.product-card {*/
/*  background: linear-gradient(to right, #f4f4f4, #eaeaea);*/
/*  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);  */
/*  border-radius: 6px;*/
/*  padding: 5px;*/
/*  flex: 0 0 250px;*/
/*  width: 250px;*/
/*  min-height: 325px;*/
/*  text-align: center;*/
/*  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
/*  transition: transform 0.3s ease;*/
/*}*/

.product-card {
  background: linear-gradient(to right, #f4f4f4, #eaeaea);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);  
  border-radius: 6px;
  padding: 5px;
  flex: 0 0 250px;
  width: 250px;   
  min-height: 350px;
  display: flex;    
  align-items: stretch; 
  text-align: center;
  transition: transform 0.3s ease;
}

/*.product-card img {*/
/*  width: 100%;*/
/*  height: auto;*/
/*  border-radius: 0px;*/
/*  margin-bottom: 15px;*/
/*  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
/*}*/

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-card a:hover img {
  opacity: 0.8;
}

.product-card h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
  color: #0d3b66;
}

.product-card h3 a {
  font-size: 1.2rem;
  color: #0d3b66;
  text-decoration: none;
  display: inline-block;
}

.product-card h3 a:hover {
  color: #1e81b0; 
  text-decoration: none; 
}

.product-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 5px; 
  border-radius: 4px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/*.btn {*/
/*  display: inline-block;*/
/*  padding: 8px 16px;*/
/*  margin: 15px;*/
/*  border-radius: 4px;*/
/*  text-decoration: none;*/
/*  color: white;*/
/*  font-weight: 600;*/
/*}*/

/*.btn:hover {*/
/*  transform: scale(1.05);*/
/*  transition: all 0.3s ease;*/
/*}*/

.btn.green {
  background-color: #28a745;
}

.btn.blue {
  background-color: #145da0;
}

.btn.orange {
  background-color: #f4a261;
}

.btn.lime {
  background-color: #80c904;
}

.btn.cyan {
  background-color: #1ebbd7;
}

.btn.purple {
  background-color: #6a5acd;
}

.btn:hover {
  opacity: 0.9;
}

.product-search {
  display: none;
  background: linear-gradient(to right, #f4f4f4, #eaeaea);
  border-radius: 6px;
  padding: 0 10px;
  flex: 1 1 auto;
  min-width: 150px;
  max-width: 500px;
  min-height: 345px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.search-title {
  font-size: 1.2rem;
  text-align: center;
  color: #0d3b66;
  margin-bottom: 15px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.text-center {
  align-items: center;
}

.form-group label {
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0d3b66;
}

.form-control {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #d43f3a;
  border: none;
  color: white;
  padding: 10px 16px;
  margin: 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  width: 110px;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}


.pharmacy-services {
  background: linear-gradient(to top, #145da0, #0d3b66);
  padding: 0px 40px;
  color: #ffffff;

}

.pharmacy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: flex-start;
  width: 100%;
}

.new-products {
  flex: 1 1 299px;
  width: 300px;
  max-width: 455px;
  text-align: left;
}

.services-tabs {
  flex: 3 3 300px;
  min-width: 300px;
  max-width: 700px;
  text-align: left;
}

h3 {
  color: #ffffff;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
    .thumbnail-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 20px;
    }
}

.thumb img {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  background: #ffffff11;
}

.thumb:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.tabs li {
  padding: 8px 12px;
  border: 1px solid #ffffff55;
  color: #ffffff;
  cursor: pointer;
  border-radius: 4px;
  background: transparent;
  font-weight: bold;
}

.tabs li.active {
  background: #ffffff33;
  border-color: #ffffffaa;
}

.tab-content {
  display: none;
  margin-top: 20px;
  color: #e0f2ff;
}

.tab-content.active {
  display: block;
}

.tabs li:hover {
  border: 1px solid white;
}

.services-tabs-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-tabs-images img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  background: #ffffff11;
}

.thumb-small img {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  background: #ffffff11;
}

.media-object-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 20px;
}

.media-left img:hover {
  transform: scale(1.03);
  transition: all 0.3s ease;
}

.media {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.media-left img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  /*background-color: #ffffff22;*/
}

.media-body {
  flex: 1;
}

.media-heading {
  margin: 0 0 5px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.media-body abbr {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  margin-right: 4px;
}

.media-body a {
  color: #aeefff;
  text-decoration: none;
}

.media-body a:hover {
  text-decoration: underline;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.section-title {
  margin: 20px 0 10px 0
}

.social-links {
  margin-top: 25px;
}

.social-links a {
  display: inline-block;
  margin-left: 10px;
}

.social-links img {
  width: 24px;
  height: 24px;
  /*filter: brightness(0) invert(1); */
  transition: opacity 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.15);
  transition: all 0.3s ease;
}

.subhero {
  /*background: linear-gradient(to top, #145da0, #0d3b66);*/
  background: #145da0;
  color: #fff;
  padding: 24px 20px;
  /*border-top: 1px solid rgba(255, 255, 255, 0.06);*/
  /*border-bottom: 1px solid rgba(0, 0, 0, 0.05);*/
}
.subhero-inner { max-width: 1200px; margin: 0 auto; }
.subhero h2 { margin: 0 0 6px; font-weight: 700; }

.breadcrumb {
  background: transparent;
  font-size: 0.9rem;
  padding: 8px 20px;
  margin: 0 auto 20px auto;
  max-width: 1200px;
  color: #555;
}

.breadcrumb a {
  color: #145da0; 
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.crumb-sep {
  margin: 0 0.5rem;
  color: #888;
}

.breadcrumb .current {
  font-weight: 600;
  color: #333; 
}


.page { max-width: 1200px; margin: 30px auto 60px; padding: 0 20px; }

.about-intro { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.about-col { flex: 1 1 360px; }
/*.about-media img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }*/

.about-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.15),   
    0 8px 20px rgba(0, 0, 0, 0.10),  
    0 0 0 4px rgba(255, 255, 255, 0.6) inset; 
}

.about-guarantee {
    /*font-weight: 500;*/
    /*color: #007bff;*/
}

.product-cover img {
    border-radius: 8px;
}

.about-intro .about-col h3 {
  color: #0d3b66;
  margin-top: 0;
}

.about-intro .about-col p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1em;
}

.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.fact { display: flex; gap: 12px; align-items: flex-start; background: #f9f9f9; border-radius: 8px; padding: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.fact-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #28a745; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.fact-body h4 { margin: 0 0 4px; color: #0d3b66; font-size: 1.05rem; }
.fact-body p { margin: 0; color: #444; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; }

.values-card { background: #ffffff; border-radius: 8px; padding: 16px 18px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.values-card h3 { margin: 0 0 8px; color: #0d3b66; }
.values-list { margin: 0; padding-left: 0; list-style: none; }
.values-list li { margin: 6px 0; color: #333; }
.values-list .tick { color: #28a745; margin-right: 8px; font-weight: 700; }

.about-timeline h3 { color: #0d3b66; margin-bottom: 8px; }
.timeline { margin: 0; padding-left: 18px; }
.timeline li { margin: 6px 0; color: #333; }

.about-cta { margin: 40px 0 10px; text-align: center; }
.about-cta h3 { margin: 0 0 6px; color: #0d3b66; }
.about-cta p { margin: 8px 0; }

.about-link {
  color: #145da0;
  text-decoration: none;
  font-weight: 500;
}

.about-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-facts { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-facts { grid-template-columns: 1fr; }
}

.product-list {
  margin: 16px 0 24px;
  padding-left: 20px;
  list-style: none;
}

.product-list li {
  position: relative;
  padding-left: 26px; 
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-weight: bold;
}


.catalog-filter {
  max-width: 1200px; margin: 0 auto 10px; padding: 0 20px;
}
.catalog-filter input[type="search"] {
  width: 100%; max-width: 520px;
  padding: 8px 12px;
  border: 1px solid #ccd6e0; border-radius: 6px;
  font: inherit;
}
.catalog-filter .hint { display: block; margin-top: 6px; color: #777; }

/*.catalog-index {*/
/*  max-width: 1200px; margin: 0 auto 16px; padding: 0 20px;*/
/*  display: flex; flex-wrap: wrap; gap: 8px;*/
/*}*/
/*.catalog-index a {*/
/*  background: #e9f1f9; color: #0d3b66;*/
/*  text-decoration: none; font-weight: 600; font-size: .9rem;*/
/*  padding: 6px 10px; border-radius: 6px;*/
/*}*/
/*.catalog-index a:hover { background: #dbe9f4; }*/

.catalog-index {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-index a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;        
  background: #f1f7fb;
  color: #0d3b66;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #c9deec;
  transition: background .2s, transform .15s;
}

.catalog-index a:hover {
  background: #dbe9f4;
  /*transform: translateY(-1px);*/
}

.catalog-index a:active {
  background: #c4dbee;
  /*transform: translateY(0);*/
}

.catalog-index a::before {
  content: "";
  font-size: 0.9em;
  opacity: 0.7;
}

.product-catalog {
  max-width: 1200px; margin: 10px auto 50px; padding: 0 20px;
  display: grid; gap: 14px;
}

.catalog-group {
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  padding: 0 0 10px;
  overflow: hidden;
}
.catalog-group summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 12px 14px;
  background: linear-gradient(to right, #eef4fb, #e9f1f9);
  border-bottom: 1px solid #e7edf4;
  display: flex; align-items: center; justify-content: space-between;
}
.catalog-group summary::-webkit-details-marker { display: none; }
.catalog-group .group-title {
  font-weight: 700; color: #0d3b66;
}
.catalog-group .group-count {
  font-size: .9rem; color: #668; opacity: .8;
}

.catalog-list {
  margin: 10px 14px 0; padding-left: 18px;
  columns: 3; column-gap: 28px;
}
.catalog-list li {
  break-inside: avoid; 
  margin: 4px 0;
  line-height: 1.35;
}
.catalog-list a {
  color: #145da0; text-decoration: none;
}
.catalog-list a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .catalog-list { columns: 2; }
}
@media (max-width: 640px) {
  .catalog-list { columns: 1; }
}




.product-page .product-top {
  display: grid;
  grid-template-columns: 720px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 30px;
  /*padding: 0 20px;*/
}

@media (max-width: 980px) {
  .product-page .product-top { grid-template-columns: 1fr; }
}

.product-gallery { display: grid; gap: 10px; }

.product-cover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f5f8;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  /*box-shadow:*/
  /*  0 4px 8px rgba(0, 0, 0, 0.15),*/
  /*  0 8px 20px rgba(0, 0, 0, 0.10),*/
  /*  0 0 0 4px rgba(255, 255, 255, 0.6) inset;*/
}
.product-cover .pg-main {
  width: 100%; height: auto; display: block;
}

.product-thumbs { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 8px; 
    flex-wrap: wrap;
}
.product-thumbs img {
  width: 100%; height: 68px; object-fit: cover; border-radius: 4px;
  cursor: pointer; opacity: .9; border: 1px solid transparent;
}
.product-thumbs img:hover { opacity: 1; }
.product-thumbs img.active { border-color: #145da0; }

.product-facts {
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  padding: 14px 16px;
}
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 10px; padding: 8px 0; }
.facts dt { margin: 0; font-weight: 600; color: #0d3b66; }
.facts dd { margin: 0; color: #333; }
@media (max-width: 640px) {
  .facts > div { grid-template-columns: 1fr; }
}
.pg-main, .zoomable {
  cursor: zoom-in;
}

.product-dose { max-width: 1200px; margin: 0 auto 20px; 
    /*padding: 0 20px; */
    
}
.dose-table-wrap {
  background: #fff; border: 1px solid #e7edf4; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.dose-table { width: 100%; border-collapse: collapse; }
.dose-table th, .dose-table td { padding: 10px 12px; }
.dose-table th {
  background: linear-gradient(to right, #eef4fb, #e9f1f9);
  color: #0d3b66; text-align: left; font-weight: 700;
  border-bottom: 1px solid #e7edf4;
}
.dose-table tr:nth-child(even) td { background: #fafbfc; }

.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.tab-content-divider {
  border: none;
  border-top: 1px solid #145da0;
}

.doc-tabs li {
  padding: 8px 14px;
  border: 1px solid #c0c7cf;   
  background: #ffffff;         
  color: #0d3b66;              
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
}

.doc-tabs li:hover {
  background-color: #e9f1f9;   
  border-color: #145da0;
}

.doc-tabs li.active {
  background-color: #145da0;      
  color: #ffffff;
  border-color: #145da0;
}

.product-docs {
  max-width: 1200px;
  margin: 10px auto 60px;
  /*padding: 0 20px;*/
}

.product-docs .tabs {
  gap: 8px;
}

.product-docs .tab-content {
  max-width: 1200px;
  border-radius: 8px;
  background-color: #ffffff;    
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.doc-preview {
  margin-top: 10px;
}

.doc-list {
  margin: 0;
  list-style: none;
  padding-left: 18px;
}

.doc-list a {
    /*color: #145da0;*/
    color: white;
    text-decoration: none;
}

.doc-links {
    margin: 0;
    list-style: none;
    padding-left: 18px;
}

.doc-links a:hover {
    text-decoration: none;
}

.doc-A4-container .links-list {
    text-align: center;
}

.links-list a {
    color: #145da0;
    text-decoration: none;
}

.links-list a:hover {
    text-decoration: underline;
}

.doc-list a:hover {
    text-decoration: none;
}

.doc-grid {
  display: flex;
  flex-wrap: wrap;        
  gap: 20px;              
  justify-content: flex-start;
}

.doc-A4-container {
  flex: 0 1 143px;          
}

.doc-item {
  flex: 0 1 113px;          
  text-align: center;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 8px;
}

.doc-A4-item {
  flex: 0 1 130px; 
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

.doc-A4-item:hover, .doc-item:hover {
  background-color: #f2f2f2;  
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.doc-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1.4;   
  color: #333;           
  /*font-weight: 500;*/
  /*transition: color 0.2s ease;*/
}

.doc-link:hover {
  /*color: #145da0;     */
  text-decoration: none;
}

.doc-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.doc-name {
  font-size: 0.9rem;
  word-break: break-word;
  width: 100%;
}

.doc-A4-icon {
  width: 100px;
  height: 141px;
  margin-bottom: 8px;
  border: 1px solid #c0c7cf;
}

.review {
  background: linear-gradient(to right, #eef4fb, #e9f1f9);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
  color: #0d3b66;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  display: none; align-items: center; justify-content: center;
  z-index: 2000; padding: 20px;
}
.lightbox.open { display: flex; }
.lb-inner { position: relative; max-width: 95vw; max-height: 90vh; width: 960px; background: #111; border-radius: 8px; }

.lb-stage { overflow: hidden; position: relative; width: 100%; height: 70vh; display: flex; align-items: center; justify-content: center; }
#lb-image { max-width: none; transform-origin: center center; }
#lb-image {
  cursor: grab;        
  border-radius: 8px;
}
#lb-image:active {
  cursor: grabbing;    
}
.lb-controls {
  display: flex; gap: 8px; justify-content: center; padding: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.lb-controls button {
  background: #222; color: #fff; border: 1px solid #333; border-radius: 6px; padding: 6px 10px; cursor: pointer;
}
.lb-controls button:hover { background: #2a2a2a; }

/*#lb-image img {*/
/*  -webkit-user-drag: none;*/
/*  user-select: none;*/
/*  -webkit-user-select: none;*/
/*  -ms-user-select: none;*/
/*  touch-action: none; */
/*}*/

#lb-image {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  touch-action: none;     
  cursor: grab;
}


.lb-stage {
  touch-action: none;         
  overscroll-behavior: contain;
}

.important-info {

  padding: 10px 12px;
  margin-bottom: 10px;

  background-color: #fff3cd;
  color: #856404;           
  border: 1px solid #ffeeba;
  /*padding: 12px 16px;*/
  border-radius: 6px;
  /*font-size: 0.95rem;*/
  /*margin: 20px 0;*/
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.important-info strong {
  font-weight: 700;
}

.important-info time {
  font-weight: 600;
}

.instruction-important-info {
  display: flex;
  /*align-items: flex-start;*/
  align-items: center;
  background-color: #e8f4fa;     
  color: #084c61;                
  border-left: 6px solid #0d6efd;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.info-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.instruction-important-info strong {
  font-weight: 700;
}

.instruction-important-info time {
  font-weight: 600;
}

.product-species {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
  justify-content: flex-start;
}

.species-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*width: 80px;*/
  text-align: center;
  font-size: 0.85rem;
  color: #0d3b66;
}

.species-icon {
  filter: drop-shadow(0px 20px 15px rgba(0, 0, 0, 0.05))
}

.species-icon img {
  display: block;
  margin-bottom: 6px;
}

.links-list.valid-to {
    padding: 2px 8px;
    margin-top: 5px;
    border-radius: 6px;
    font-size: 0.9em;
}

.links-list.certificate-valid {
  background-color: #d4edda; 
  color: #155724;            
}

.links-list.certificate-expired {
  background-color: #f8d7da;  
  color: #721c24;            
}



.contacts-stack {
  max-width: 1100px;
  margin: 20px auto;
  padding: 18px 20px;
  background:
    linear-gradient(0deg, #ffffff, #ffffff) padding-box,
    repeating-linear-gradient(45deg, rgba(13,59,102,.03) 0 10px, rgba(13,59,102,.05) 10px 20px);
  border: 1px solid #e7edf4;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.contacts-topcard { margin-top: 28px; }

.contacts-title {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  padding-left: 25px;
  color: #0d3b66;
  font-size: 1.25rem;
}
.contacts-title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 10px; height: 1.1em;
  background: #145da0;
  border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(0,0,0,.08);
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.contacts-subtitle { margin: 8px 0 6px; color: #145da0; }
.contacts-ul { margin: 0; padding-left: 18px; list-style: none;}

.contacts-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.contacts-right {
  /*--page-bg: #ffffff;*/
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /*background: var(--page-bg);*/
}

.contacts-hero {
  position: relative;
  margin: 0;
  height: 100%;
  isolation: isolate;
  background-color: #f4f4f4;
}
.contacts-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.98) contrast(1.02);
}
.contacts-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--page-bg) 0%,
    var(--page-bg) 15%,
    rgba(255,255,255,0) 45%
  );
}

.hours-chips {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hs-chip {
  appearance: none;
  border: 1px solid rgba(13,59,102,.18);
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #0d3b66;
  padding: 6px 10px;
  border-radius: 999px;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.hs-chip:hover {
  border-color: #1e81b0; 
  background: rgba(255,255,255,1);
}

.hs-chip.active {
  border-color: #145da0;
  background: #145da0;
  color: #ffffff;
}

.hs-chip:focus-visible {
  outline: 2px solid #1e81b0;
  outline-offset: 2px;
}

.contacts-agent {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}
.contacts-agent .agent-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.contacts-agent .agent-meta { line-height: 1.25; font-size: .95rem; }
.contacts-agent .agent-meta span { display: block; color: #4b5563; font-size: .85rem; }
.contacts-agent .agent-meta a { color: #145da0; text-decoration: none; font-size: .85rem; }
.contacts-agent .agent-meta a:hover { text-decoration: underline; }

[hidden] { display: none !important; }

@media (max-width: 730px) {
  .contacts-two { grid-template-columns: 1fr; }
}

.contacts-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.contacts-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e7edf4;
  background: #f8fafc;
  text-decoration: none;
  color: #0d3b66;
  transition: background .2s, transform .15s;
}
.contacts-social-link:hover { background: #eef6ff; transform: translateY(-1px); }
.contacts-social-link img { width: 20px; height: 20px; display: block; }
.contacts-social-link::before,
.contacts-social-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 50%;
  transform: translateY(-50%);
}
.contacts-social-link::before { left: -6px; }
.contacts-social-link::after  { right: -6px; }

.contacts-link-ul a {
  color: #145da0;
  text-decoration: none;
  font-weight: 500;
}

.contacts-link-ul a:hover,
.contacts-link-ul a:focus {
  text-decoration: underline;
}

.show-internal-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #145da0;
  text-decoration: none;
  cursor: pointer;
}

.show-internal-link:hover {
  text-decoration: underline;
}

.internal-phones {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 0.85rem;
}

.internal-phones li {
  margin-bottom: 4px;
}

.internal-phones .tel-link:hover:not(.tel-ext) {
  text-decoration: underline;
}

.internal-phones .tel-ext {
  color: #555;
  cursor: default;
  text-decoration: none;
}

.internal-note {
  font-size: 0.8rem;
  color: #6b7280;              
  margin-top: 4px;
  font-style: italic;
}

.contacts-addressmap { 
    margin-top: 28px; 
}
.contacts-addressmap .contacts-title { margin-bottom: 12px; }

.contacts-addressmap-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.contacts-address-card,
.contacts-mapcard{
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  padding: 14px 16px;
}

.contacts-address{ font-style: normal; color:#374151; line-height:1.5; margin: 6px 0 10px; }
.contacts-address-meta{ margin-top: 8px; }
.contacts-address-meta .tel-link{ color:#0d3b66; text-decoration:none; }
.contacts-address-meta .tel-link:hover{ text-decoration:underline; }

.contacts-address-actions{
  display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px;
}
.btn-route{
  display:inline-block;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid #145da0;
  background:#0d3b66;
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.btn-route:hover{ background:#1e81b0; }
.btn-route.ghost{
  background:#f8fafc;
  color:#0d3b66;
  border-color:#e7edf4;
}
.btn-route.ghost:hover{ background:#eef6ff; }

.contacts-map-embed{
  border-radius:10px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.contacts-map-embed iframe{
  display:block; width:100%; height:360px; border:0;
}
.contacts-map-note{
  margin:8px 2px 0;
  font-size:.9rem;
  color:#6b7280;
}

@media (max-width: 900px){
  .contacts-addressmap-grid{ grid-template-columns: 1fr; }
  .contacts-map-embed iframe{ height: 320px; }
}

.contacts-locations {
  margin: 28px auto;
}

.contacts-locations .contacts-title {
  margin: 0 0 16px;
  color: #0d3b66;
  font-size: 1.25rem;
  position: relative;
  padding-left: 25px;
}

padding-left: 25px;

.contacts-locations .contacts-title::before{
  content:"";
  position:absolute; left:0; top:.35em;
  width:10px; height:1.1em; background:#145da0; border-radius:2px;
}

.loc-grid{
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 960px){
  .loc-grid{ grid-template-columns: 1fr; }
}

.loc-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.loc-item{
  text-align:left;
  background: rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 0;
  border-radius: 14px;
  padding: 16px 16px 16px 46px;
  cursor: pointer;
  position: relative;
  color: #0d3b66;
}
.loc-item:hover{
  background: rgba(255,255,255,.9);
}
.loc-item.active{
  background: rgba(13,59,102,.06);
}

.loc-title{
  display:block;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.loc-address{
  display:block;
  color:#475569;
  font-size: .95rem;
  line-height: 1.4;
}

.loc-dot{
  position:absolute;
  left:16px; top:21px;
  width:12px; height:12px;
  border-radius:50%;
  background:#145da0;
  box-shadow: 0 0 0 3px rgba(20,93,160,.15);
}
.loc-item.active .loc-dot{
  background:#0d3b66;
  box-shadow: 0 0 0 4px rgba(13,59,102,.18);
}

.loc-mapwrap{}
.loc-map{
  position:relative;
  border-radius: 16px;
  overflow:hidden;
}
.loc-map iframe{
  display:block;
  width:100%;
  height:520px;
  border:0;
}
@media (max-width: 960px){
  .loc-map iframe{ height: 420px; }
}

.loc-map.is-fading iframe{
  opacity:.25;
  transition: opacity .18s linear;
}
.loc-map iframe.map-ready{
  opacity:1;
  transition: opacity .18s linear;
}

.contacts-hero #hours-photo {
  display: block;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

.contacts-hero #hours-photo.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce){
  .contacts-hero #hours-photo{
    transition: none;
  }
}

.loc-download .show-internal-link {
  margin: 5px 0;
}

.show-download-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #145da0;
  text-decoration: none;
  cursor: pointer;
}

.show-download-link:hover {
  text-decoration: underline;
}






.contact-message{
  display:flex;
  justify-content:center;
  max-width:1600px;  
}

.message-card{
  width:100%;
  background: rgba(13, 59, 102, .06);
  border:1px solid #e7edf4;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  padding:20px 20px 22px;
}

.message-title{
  margin:0 0 16px;
  color:#0d3b66;
  font-size:1.25rem;
  letter-spacing:.2px;
}

.message-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px 24px;
  align-items:start;
}

.mf-column{ display:flex; flex-direction:column; gap:14px; }

.mf-column--message{ min-height: 100%; }

.mf-field{ display:flex; flex-direction:column; gap:6px; }
.mf-field label{
  font-weight:600;
  color:#145da0;
  font-size:.92rem;
}

.mf-field input,
.mf-field textarea{
  padding:10px 12px;
  border:1px solid #cfd8e3;
  border-radius:8px;
  background:#fff;
  font:inherit;
  color:#0f172a;
  line-height:1.4;
}

.mf-field--fill textarea{
  min-height: 200px;
  resize: vertical;       
}

.mf-field input:focus,
.mf-field textarea:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(20,93,160,.15);
}

.mf-utility{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:16px;
  align-items:end;
  margin-top:6px;
}

.mf-captcha{
  display:flex;
  align-items:center;
  gap:10px;
}
.mf-captcha-img{
  display:block;
  width:120px; height:46px; 
  border:1px solid #cfd8e3; border-radius:6px;
  background:#f8fafc;
}
.mf-captcha-input{
  width:160px;
  padding:10px 12px;
  border:1px solid #cfd8e3;
  border-radius:8px;
  background:#fff;
  font:inherit;
}
.mf-captcha-refresh{
  appearance:none;
  border:1px solid #cfd8e3;
  background:#f9fafb;
  color:#0d3b66;
  padding:10px 12px;
  border-radius:8px;
  cursor:pointer;
}
.mf-captcha-refresh:hover{ background:#eef6ff; }

.mf-actions{ display:flex; justify-content:flex-end; }

.mf-btn {
  appearance: none;
  border: none;
  background: #28a745;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.4px;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(13, 59, 102, 0.25);
}

.mf-btn:hover {
  /*background: #1e81b0;*/
  opacity: 0.9;
}

.mf-error{
  margin-top:4px;
  padding:6px 10px;
  background: rgba(220,53,69,.10);
  border-left:4px solid #dc3545;
  color:#b4232a;
  font-size:.9rem;
  border-radius:4px;
}

.mf-success {
  margin-top: 4px;
  padding: 6px 10px;
  background: rgba(25, 135, 84, .10); 
  border-left: 4px solid #198754;     
  color: #146c43;                     
  font-size: .9rem;
  border-radius: 4px;
}


@media (max-width: 900px){
  .message-form{ grid-template-columns:1fr; }
  .mf-utility{ grid-template-columns:1fr; justify-items:stretch; }
  .mf-actions{ justify-content:center; }
  .mf-captcha{ justify-content:center; flex-wrap:wrap; }
}

.mf-field select {
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: #0f172a;
}

.mf-field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,93,160,.15);
}




.newsfeed-wrap{padding:24px 16px 56px;background:#f4f7fb;}
.newsfeed{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.newsfeed-head{    
    color: #0d3b66;
    margin-top: 0;
}

.news-item{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  padding:12px;
  background:#fff;
  border:1px solid #e7edf4;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  
}
.news-item:hover{box-shadow:0 6px 18px rgba(0,0,0,.08)}
.news-media{
  position:relative;overflow:hidden;border-radius:10px;background:#e8eef6
}
.news-media img{
  width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;display:block;
  
}
.news-media img:hover  {
    transform:scale(1.035)
}

.news-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.news-title{
  margin:0;font-size:1.05rem;font-weight:700;color:#145da0;line-height:1.25;
  overflow-wrap:anywhere;
}

.news-title a {
  text-decoration: none;
  color: inherit;
}

.news-title a:hover {
  text-decoration: underline;
}

.news-meta{display:flex;align-items:center;gap:10px;font-size:.85rem;color:#64748b}
.news-date{font-variant-numeric:tabular-nums}
.news-desc{color:#334155;line-height:1.4;margin:2px 0 6px;max-height:3.8em;overflow:hidden}
.news-more{
  margin-top:auto;align-self:flex-start;
  color:#145da0;text-decoration:none;border-bottom:1px dotted #145da0;
  padding-bottom:1px;
}
.news-more:hover{color:#0d3b66;border-bottom-color:#0d3b66}

.news-upcoming {
  display: inline-block;
  background: #145da0;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}


@media (max-width:720px){
  .news-item{grid-template-columns:1fr;gap:10px}
  .news-media img{aspect-ratio:16/9}
}



.article {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}

.article-head {
  margin-bottom: 20px;
}

.article-title {
  font-size: 2rem;
  color: #0d3b66;
  margin-bottom: 10px;
  line-height: normal;
}

.article-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
}

.article-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.article-hero figcaption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
}

.article-content p {
  line-height: 1.6;
  margin: 1em 0;
}

.article-content h3 {
  margin-top: 1.5em;
  color: #145da0;
}

.article-content blockquote {
  border-left: 4px solid #145da0;
  padding-left: 14px;
  color: #333;
  margin: 1em 0;
  font-style: italic;
}

.article-footer {
  margin-top: 30px;
}

.article-content ul {
  margin: 1em 0;
  padding-left: 1.4em;
  list-style: none;   
}

.article-content ul li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1.2em;
  line-height: 1.5;
  color: #333; 
  font-size: 1rem;
}

.article-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #145da0;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.2;
}

.article-content ul ul {
  margin: 0.4em 0;
  padding-left: 1.6em;
}

.article-content ul ul li::before {
  content: "–"; 
  color: #0d3b66;
  font-weight: normal;
}

.patents-hero {
  padding: 28px 20px 18px;
  background: linear-gradient(to right, #f4f7fb, #ffffff);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.patents-hero-inner {
  max-width: 1200px; margin: 0 auto;
}
.patents-hero h1 {
  margin: 0 0 6px; color: var(--brand); font-size: 1.8rem; line-height: 1.2;
}
.patents-hero p {
  margin: 0; color: #425466; max-width: 72ch;
}

.patents-page {
  padding: 28px 16px 60px;
}
.patents-wrap {
  max-width: 1200px; margin: 0 auto;
}

.patents-grid {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.patent-card {
  width: 260px;
  /*border: 2px solid var(--brand);*/
  /*border-radius: 10px;*/
  /*background: #ffffff;*/
  /*box-shadow: 0 6px 18px rgba(13,59,102,.08);*/
  box-shadow: 0 10px 24px rgba(13,59,102,.12);
  /*padding: 8px;  */
}

.patent-frame {
    border: 1px solid #28a745;
    /* border-radius: 6px; */
    /* padding: 3px; */
    /* background: #28a745; */
    aspect-ratio: 210 / 297;
    display: block;
    overflow: hidden;
}

.patent-img {
  width: 100%; height: 100%;
  object-fit: contain;          
  display: block;
  image-rendering: auto;
  -webkit-user-drag: none;
}

.patent-card:hover { box-shadow: 0 15px 24px rgba(13,59,102,.12); }

@media (max-width: 540px) {
  .patent-card { width: 200px; }
}


.license-lb-page {
  /*margin-left: auto;        */
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(13,59,102,.08);
  color: #e6eef7;
  border: 1px solid rgba(230,238,247,.15);
  font-size: 0.9rem;
  line-height: 1;
}

.license-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

@media (max-width: 610px) {
    .license-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
    }
}

.license-container {
  flex: 0 1 243px;
}

.license-item {
  flex: 0 1 auto;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.license-item:hover {
  background-color: #f2f2f2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.license-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1.4;
  color: #333;
}

.license-link:hover {
  text-decoration: none;
}

.license-icon {
  width: 243px;
  height: 345px;
  object-fit: cover;
  border: 2px solid #c0c7cf;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
}

.license-name {
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  word-break: break-word;
  display: block;
  margin-top: 5px;
}

.license-valid {
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.license-valid-true {
  background-color: #d4edda;
  color: #155724;
}

.license-valid-false {
  background-color: #f8d7da;
  color: #721c24;
}

.license-download {
  text-align: center;
  margin-top: 6px;
}

.license-download a {
  color: #145da0;
  font-weight: 600;
  text-decoration: none;
}

.license-download a:hover {
  text-decoration: underline;
}

.license-zoomable {
  cursor: zoom-in;
}


.license-valid { 
  margin-top: 6px; padding: 3px 8px; border-radius: 6px; font-size: .85rem;
}
.license-valid-true  { background:#d4edda; color:#155724; }
.license-valid-false { background:#f8d7da; color:#721c24; }

.license-lightbox {
  position: fixed; inset: 0; padding: 20px;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.75); z-index: 2000;
}
.license-lightbox.open { display: flex; }

.license-lb-inner {
  position: relative;
  background: #111; border-radius: 10px;
  max-width: 92vw; max-height: 92vh;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

.license-lb-stage {
  position: relative;
  width: 100%;
  height: 70vh;
  
  /*width: min(82vw, 960px); */
  /*aspect-ratio: 210 / 297; */
  max-height: 80vh;        
  /*margin: 16px;*/
  overflow: hidden;
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: #0b0b0b;
  border-radius: 8px;
}

#license-lb-image {
  max-width: none;
  transform-origin: center center;
  -webkit-user-drag: none;
  user-select: none; -webkit-user-select: none; -ms-user-select: none;
  touch-action: none;
  cursor: grab;
  border-radius: 6px;
}
#license-lb-image:active { cursor: grabbing; }

.license-lb-controls {
  display: flex; gap: 8px; justify-content: center; padding: 10px 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.license-lb-controls button {
  background: #1b1b1b; color: #fff; border: 1px solid #2a2a2a;
  border-radius: 6px; padding: 6px 10px; cursor: pointer;
}
.license-lb-controls button:hover { background: #242424; }

.license-status a {
  color: #155724;
  /*font-weight: 600;*/
  text-decoration: none;
  /*border-bottom: 1px dotted currentColor;*/
  /*margin-left: 6px;*/
  /*transition: color .2s ease, border-color .2s ease;*/
}

.license-status a:hover {
  text-decoration: underline;
}


.registry-body {
    margin: 25px auto;
}

.registry-group {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 10px;*/
    margin-left: 25px;
}

.registry-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.registry-columns {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 20px;
}

.registry-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.registry-item {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-items: baseline;
    gap: 20px;
}

.registry-short-item .registry-item {
    display: grid;
    grid-template-columns: 15% 1fr;
    align-items: baseline;
    gap: 20px;
}

.registry-title {
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    padding-left: 25px;
    color: #0d3b66;
    font-size: 1.25rem;
}

.registry-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 10px;
    height: 1.1em;
    background: #145da0;
    border-radius: 2px;
    box-shadow: 2px 2px 0 rgba(0,0,0,.08);
}

.registry-subtitle {
    /*min-width: 155px;*/
    margin: 0;
    color: #145da0;
    font-size: 0.9rem;
    font-weight: bold;
}

.long-subtitle {
    /*min-width: 220px;*/
}

.registry-value {
    margin-left: 20px;
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
    display: inline;
}

@media (max-width: 768px) {
    .registry-columns {
        display: flex;
        gap: 5px;
        flex-direction: column;
    }
    
    .registry-short-item .registry-item {
        display: grid;
        grid-template-columns: 35% 1fr;
        align-items: baseline;
        gap: 20px;
    }
    
    .registry-group {
        margin-left: 0;
    }    

    .registry-value {
        margin-left: 7px;
    }

    .registry-column {
        width: 100%;
    }
}

@media print {
    .sidebar, .breadcrumb, .footer, .search-info-box {
        display: none;
    }
    .subhero, .subhero-inner, .page {
        padding: 5px;
    }
    .page {
        margin: 5px 0;
    }
}

@page {
    size: auto;
    margin: 20mm;
}

.qr-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;    
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 3000;
}

.qr-popup-overlay.open {
  display: flex;
}

.qr-popup-content {
  max-width: 85vw;
  max-height: 85vh;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  touch-action: none;
}

.qr-popup-img {
  display: block;
  width: 100%;
  height: auto;      
  object-fit: contain; 
  background: #fff;    
  border-radius: 12px;
  -webkit-user-drag: none;
  user-select: none;
}

.qr-popup-overlay {
  opacity: 0;
  transition: opacity .25s ease;
}
.qr-popup-overlay.open {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .qr-popup-overlay { transition: none; }
}

@media (min-width: 768px) {
  .qr-popup-content { max-width: 520px; }
}

body.qr-no-scroll {
  overflow: hidden;
  touch-action: none;
}

.diag-list {
    list-style-type: disc;
    margin: 0 0 0 15px;
    padding: 0;
    color: #333;
}

.diag-list li {
    margin-bottom: 8px;
}

.diag-list li::marker {
    color: #1e81b0;
}

.ai-search { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; margin-bottom: 30px; }

.ai-search-col {
  flex: 1 1 360px;
  min-height: 200px;
  padding: 10px;
}

.ai-search .ai-search-col h3 {
  color: #0d3b66;
  margin-top: 0;
}

.ai-search .ai-search-col p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1em;
}

.ai-search .ai-search-col .ai-search-warning {
    color: #c0392b; 
    font-weight: bold; 
    margin-top: 30px; 
}

.ai-search-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%; 
  padding-top: 0px;
  padding-bottom: 0px; 
}

.ai-input-wrapper {
  display: flex;
  gap: 1px;
  width: 100%;
}

.ai-search-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 0.95rem;
  flex: 1; 
  box-sizing: border-box;
}

.ai-search-button {
  background-color: #d43f3a;
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  cursor: pointer;
  box-sizing: border-box;
}

.ai-search-button:hover {
  opacity: 0.9;
}

.search-info-box {
  background-color: #f8f9fa;
  border-left: 4px solid #0d3b66;
  padding: 15px 20px;
  margin-bottom: 0px;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.search-info-box p {
  margin: 0 0 10px 0;
}

.search-info-box ul {
  margin: 10px 0;
  padding-left: 20px;
}

.search-info-box strong {
  color: #d43f3a;
}

.ai-search .ai-search-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ai-response-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

.ai-response-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid transparent;
  border-top: 3px solid #0d3b66;
  border-left: 3px solid #0d3b66;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.ai-response-text {
  font-size: 1rem;
  color: #333;
}

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

#ai-response.loading {
  min-height: 200px;
}

.video-container {
  position: relative;
  margin: 25px 0;
}

.video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-poster,
.video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.video-poster {
  transition: opacity 0.3s ease;
}

/*.video-poster:hover {*/
/*  opacity: 0.8;*/
/*}*/

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.play-button::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 28px solid white;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}

.play-button:hover {
  opacity: 0.8;

  /*transform: translate(-50%, -50%) scale(1.1);*/
  /*background: rgba(0, 0, 0, 0.75);*/
  /*box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);*/
}

.video-element {
  border-radius: 8px;
}
