/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

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

div.index-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 100vh;
  min-height: 680px;
}

div.important-residents-container {
  width: 65%;
  background: url("https://ukmerge.lt/images/photos/photo-1.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  border-right: 1px solid rgba(255, 255, 255, .99);
  padding: 50px 85px 50px 130px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

div.important-residents-container:before {
  background: rgb(38, 70, 145);
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(38, 70, 145, 1)), to(rgba(247, 247, 248, 0)));
  background: -o-linear-gradient(bottom,rgba(38,70,145,1) 0%,rgba(247,247,248,0) 100%);
  background: linear-gradient(0deg, rgba(38, 70, 145, 1) 0%, rgba(247, 247, 248, 0) 100%);
  /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#264691",endColorstr="#f7f7f8",GradientType=1); */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 600px;
  content: '';
  z-index: -1;
}

div.important-residents-container .descr {
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
}

div.index-container .title {
  font-size: 30px;
  color: white;
  line-height: 1.6;
  margin-bottom: 10px;
}

div.important-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -30px;
}

div.important-list div.important-list-item {
  padding: 0 30px;
  width: 44%;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

div.index-container .action {
  font-size: 14px;
  margin-top: 10px;
}

.ext_button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 3.571em;
  line-height: 1em;
  padding: 0 2.714em;
  position: relative;
  text-decoration: none !important;
}

.ext_button.white-style {
  color: white;
  background: transparent;
  font-weight: 500;
}

.ext_button.bordered {
  border: 1px solid #cecece;
}

div.important-bussines-container {
  width: 35%;
  background: url("https://ukmerge.lt/images/photos/photo-2.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  padding: 50px 130px 50px 100px;
}

div.important-bussines-container:before {
  background: rgb(38, 70, 145);
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(38, 70, 145, 1)), to(rgba(247, 247, 248, 0)));
  background: -o-linear-gradient(bottom,rgba(38,70,145,1) 0%,rgba(247,247,248,0) 100%);
  background: linear-gradient(0deg, rgba(38, 70, 145, 1) 0%, rgba(247, 247, 248, 0) 100%);
  /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#264691",endColorstr="#f7f7f8",GradientType=1); */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 600px;
  content: '';
  z-index: -1;
}

div.important-bussines-container .descr {
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
}

div.index-container .title {
  font-size: 30px;
  color: white;
  line-height: 1.6;
  margin-bottom: 10px;
}

div.important-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -30px;
}

div.important-list.solo div.important-list-item {
  width: 100%;
}

div.important-list .important-item {
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, .99);
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
  position: relative;
  z-index: 1;
}

div.important-list .important-item:before {
  background: rgba(255, 255, 255, .99);
  position: absolute;
  top: 0;
  left: -10px;
  right: -10px;
  bottom: -1px;
  content: '';
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

a {
  text-decoration: none;
  outline: none;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

section {
  padding: 60px 0;
}

div.container {
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

div.container:before {
  content: '';
  display: table;
}

div.titled-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-bottom: 30px;
}

.custom-title-1 {
  margin-bottom: 1em;
  font-size: 36px;
  color: rgb(20 24 36 / 99%);
  font-weight: 700;
  line-height: 1.3;
}

.nomarg {
  margin: 0 !important;
}

div.titled-line .action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

ul.titled-list {
  list-style: none;
  margin: 0 -15px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

ul.titled-list>li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

div.titled-line .action a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  letter-spacing: .05em;
}

ul.titled-list>li>a {
  font-size: 14px;
  padding: 5px 15px;
  color: rgb(90 93 101 / 99%);
  
}

div.news-list {
  position: relative;
}

.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

div.show-more {
  padding-top: 40px;
  font-size: 14px;
  text-align: center;
}

.ext_button.red-style.bordered {
  border: 1px solid rgb(191 2 7 / 99%);
  background: white;
}

.ext_button.red-style {
  color: rgb(191 2 7 / 99%);
  font-weight: 500;
}

.ext_button.red-style:hover {
  color: rgba(255, 255, 255, .99);
  background: rgb(191 2 7 / 99%) !important;
}

section.relevant-section {
  background: #f7f7f7;
}

.custom-title-1 {
  margin-bottom: 1em;
  font-size: 36px;
  color: rgb(20 24 36 / 99%);
  font-weight: 700;
  line-height: 1.3;
}

.tac {
  text-align: center;
}

div.relevant-list-container {
  margin-bottom: -30px;
}

div.relevant-container .descr {
  font-size: 18px;
  /* font-family: var(--ff-1); */
  padding-top: 90px;
}

div.relevant-container .descr .title {
  font-size: 30px;
  color: rgb(20 24 36 / 99%);
  line-height: 1.3;
  margin-bottom: 1em;
}

.pure-g, .relevant-container {
  display: flex;
}

/* .pure-g {
  margin-left: -15px;
  margin-right: -15px;
  font-family: inherit;
}

.pure-g {
  letter-spacing: -.31em;
  text-rendering: optimizespeed;
  font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
} */

.activity-areas-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 15px;
  grid-column-gap: 30px;
}

.activity-areas-item .title em.fa, .activity-areas-item .title i.fa {
  margin-right: 10px;
}

.activity-areas-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100px;
  padding: 0 30px 0 25px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  -webkit-box-shadow: 0 0 20px 0 rgba(90, 93, 101, .1);
  box-shadow: 0 0 20px 0 rgba(90, 93, 101, .1);
  margin-bottom: 30px;
}

.activity-areas-item .title {
  font-size: 18px;
  color: rgb(20 24 36 / 99%);
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.activity-areas-item>em, .activity-areas-item>i {
  color: rgb(191 2 7 / 99%);
  margin-left: 5px;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

.activity-areas-item .title em.fa img, .activity-areas-item .title i.fa img {
  height: 50px;
}

div.about-us-container .descr .title {
  width: 470px;
  font-size: 36px;
  color: rgb(20 24 36 / 99%);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1em;
}

/* Chat bubble styles for conversation history */
.chat-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #f9fafb;
}

.chat-bubble.left {
  align-self: flex-start;
  border-bottom-left-radius: 0; /* Remove radius on avatar side */
  max-width: 600px; /* Limit bubble width */
}

.chat-bubble.right {
  align-self: flex-end;
  background: #2563eb; /* blue-600 */
  border-color: #2563eb;
  border-bottom-right-radius: 0; /* Remove radius on avatar side */
  max-width: 600px; /* Limit bubble width */
}

.chat-bubble__author {
  font-weight: 600;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.chat-bubble.right .chat-bubble__author {
  color: #e0e7ff; /* light blue for user messages */
}

.chat-bubble__text {
  color: #111827;
  line-height: 1.5;
}

.chat-bubble.right .chat-bubble__text {
  color: #ffffff; /* white text for user messages */
}

/* Links in chat bubbles */
.chat-bubble__text a {
  text-decoration: underline;
  font-weight: 600;
}

.chat-bubble.left .chat-bubble__text a {
  color: #2563eb; /* blue for AI message links */
}

.chat-bubble.left .chat-bubble__text a:hover {
  color: #1d4ed8; /* darker blue on hover */
}

.chat-bubble.right .chat-bubble__text a {
  color: #e0e7ff; /* light blue for user message links */
}

.chat-bubble.right .chat-bubble__text a:hover {
  color: #ffffff; /* white on hover */
}

.chat-bubble__text p {
  margin: 0 0 0.5em 0;
}

.chat-bubble__text p:last-child {
  margin-bottom: 0;
}