html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.admin-status-badge {
  display: inline-block;
  min-width: 78px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.admin-status-badge--published {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.admin-status-badge--draft {
  background: #e5e7eb;
  color: #374151;
  border: 1px solid #d1d5db;
}

.admin-language-badge {
  display: inline-block;
  min-width: 72px;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.12rem 0.2rem 0.12rem 0;
  text-align: center;
}

.admin-language-badge--default {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.admin-language-badge--active {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.admin-language-badge--inactive {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  color: #374151;
}

.admin-image-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.admin-image-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.admin-image-preview {
  align-items: center;
  background:
    linear-gradient(45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(-45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f8fafc 75%),
    linear-gradient(-45deg, transparent 75%, #f8fafc 75%);
  background-color: #eef2f7;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  display: flex;
  height: 150px;
  justify-content: center;
  padding: 14px;
}

.admin-image-preview img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.admin-image-card-body {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
}

.admin-image-card-body strong,
.admin-image-card-body code {
  overflow-wrap: anywhere;
}

.admin-image-card-body code {
  color: #0f766e;
  white-space: normal;
}

.admin-section-filter {
  border: 0;
  border-radius: 8px;
  color: #334155;
  margin-bottom: 6px;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.admin-section-filter:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.admin-section-filter.active {
  background: #e0f2fe;
  border-left: 4px solid #0ea5e9;
  color: #075985;
  font-weight: 700;
  padding-left: 0.75rem;
}

.admin-section-filter.active .text-muted {
  color: #0c4a6e !important;
}

.public-articles-page {
  background: #f6f8fb;
  color: #172033;
  margin-bottom: 0;
}

body.public-page,
body.public-articles-page {
  margin: 0;
}

body.public-page .navbar-brand .banner-logo img,
body.public-articles-page .navbar-brand .banner-logo img {
  height: auto;
  max-width: 280px;
  width: 280px;
}

body.public-page .sub-banner {
  background-color: #07162d;
  background-image:
    linear-gradient(90deg, rgba(7, 22, 45, 0.96), rgba(7, 22, 45, 0.74)),
    url("/assets/images/sub-bannerbackgroung.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.public-page .footer-section,
body.public-articles-page .footer-section {
  overflow: hidden;
}

.public-articles-header {
  background: #0e1630;
  color: #fff;
  padding-bottom: 84px;
}

.public-articles-title,
.public-article-detail-title {
  max-width: 820px;
  padding: 72px 0 0;
}

.public-articles-title span,
.public-article-detail-title time {
  display: inline-block;
  color: #77e6c6;
  font-weight: 700;
  margin-bottom: 12px;
}

.public-articles-title h1,
.public-article-detail-title h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.public-articles-title p,
.public-article-detail-title p {
  color: #d9e3f5;
  font-size: 20px;
  line-height: 1.7;
}

.public-articles-main,
.public-article-detail-main {
  padding: 72px 0;
}

.public-article-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.public-article-card {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 31, 54, 0.08);
}

.public-article-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e5e9f2;
  overflow: hidden;
}

.public-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-article-card-body {
  padding: 28px;
}

.public-article-card time {
  color: #667085;
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}

.public-article-card h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.public-article-card h2 a {
  color: #172033;
  text-decoration: none;
}

.public-article-card p {
  color: #5b6475;
  line-height: 1.7;
}

.public-read-more,
.public-back-link {
  color: #00a884;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.public-empty-state {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  padding: 42px;
  text-align: center;
}

.public-article-hero-image {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 48px;
  box-shadow: 0 24px 60px rgba(20, 31, 54, 0.18);
}

.public-article-content {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  font-size: 19px;
  line-height: 1.85;
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(28px, 5vw, 62px);
}

.public-article-content img {
  height: auto;
  max-width: 100%;
}

.public-article-content figure,
.public-custom-content figure {
  max-width: 100%;
}

.public-article-content img,
.public-custom-content img {
  height: auto !important;
  max-width: 100% !important;
}

.public-article-content img[style],
.public-custom-content img[style] {
  width: auto;
}

.public-article-content iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.public-content-panel,
.public-contact-panel {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 31, 54, 0.08);
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(28px, 5vw, 58px);
}

.public-content-panel h2 {
  color: #172033;
  font-size: 34px;
  line-height: 1.18;
  margin-bottom: 22px;
}

.public-content-panel p {
  color: #5b6475;
  font-size: 19px;
  line-height: 1.8;
}

.public-contact-form label {
  color: #172033;
  font-weight: 700;
}

.public-contact-form .form-control {
  border-color: #d8deea;
  border-radius: 8px;
  min-height: 52px;
}

.public-contact-form textarea.form-control {
  min-height: 180px;
}

.contact-section .need-section {
  margin-left: 0;
}

.contact-section .need_content {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  width: 100%;
}

.contact-section .need_content h3,
.contact-section .need_content > p {
  text-align: center;
}

.contact-template-form .field-validation-error {
  display: block;
  font-size: 14px;
  margin: -10px 0 14px;
  text-align: left;
}

.contact-consent {
  color: #172033;
  margin: 4px 0 12px;
  text-align: left;
}

.contact-section .need_content .contact-consent input[type="checkbox"] {
  appearance: auto;
  display: inline-block;
  height: 18px;
  margin: 4px 10px 0 0;
  padding: 0;
  vertical-align: top;
  width: 18px;
}

.contact-consent label {
  color: #172033;
  display: inline-block;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: calc(100% - 34px);
  vertical-align: top;
}

.contact-turnstile {
  display: flex;
  justify-content: center;
  margin: 4px 0 22px;
}

.public-blog-section .public-empty-state {
  margin-top: 24px;
}

.public-blog-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.public-blog-card {
  height: 100%;
  position: relative;
}

.public-blog-card .image {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.public-blog-card .image::after {
  background: rgba(5, 21, 35, 0.36);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background 0.3s ease-in-out;
  z-index: 1;
}

.public-blog-card:hover .image::after {
  background: rgba(5, 21, 35, 0.46);
}

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

.public-blog-card .content {
  align-items: flex-start;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  left: 0;
  margin-top: 0;
  min-height: 100%;
  padding: 44px 30px 32px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.study-section .public-blog-card .content {
  margin-top: 0;
  padding: 44px 30px 32px;
}

.public-blog-card .content span {
  flex: 0 0 auto;
}

.public-blog-card .content h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  flex: 0 0 auto;
  overflow: hidden;
}

.public-blog-card .content .circle {
  flex: 0 0 auto;
  margin-top: 4px;
  margin-bottom: 8px;
}

.about-section .about_content .read_more,
.service-section .service_content .read_more,
.choose-section .choose_content .read_more {
  margin-top: 12px;
}

.choose-section .choose_content ul li span {
  display: inline-block;
}

.choose-section .choose_content ul li small {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  font-size: 15px;
  line-height: 1.5;
  margin: 4px 0 0 64px;
}

.partner-section {
  background-color: #eafcfe;
  padding: 20px 0 72px;
  position: relative;
  text-align: center;
}

.partner-section .partner ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 80px;
}

.partner-section .partner li {
  display: block;
  margin: 0;
}

.partner-section .partner figure {
  margin: 0;
}

.partner-section .partner img {
  display: block;
  max-height: 70px;
  max-width: 150px;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}

.partner-section .partner img:hover {
  filter: brightness(0.2);
  transform: translateY(-5px);
}

.public-custom-section {
  background: #fff;
  padding: 80px 0 42px;
}

.partner-section + .public-custom-section {
  padding-top: 70px;
}

.public-custom-section + .faq-section {
  padding-top: 54px;
}

.public-custom-content {
  color: #172033;
  margin: 0;
  max-width: none;
}

.public-custom-content h5 {
  margin-bottom: 10px;
}

.public-custom-content h2 {
  margin-bottom: 24px;
}

.public-custom-content p {
  color: var(--e-global-color-text);
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 18px;
}

.public-custom-content img,
.public-custom-content iframe {
  max-width: 100%;
}

.public-custom-content iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

#aboutTestimonials {
  border-radius: 100px;
  color: var(--e-global-color-white) !important;
  display: inline-block;
  position: relative;
  text-align: center;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

#aboutTestimonials .carousel-control-prev,
#aboutTestimonials .carousel-control-next {
  background: var(--e-global-color-very-dark-mostly-black-blue);
  border: 1px solid #404e60;
  border-radius: 100px;
  color: var(--e-global-color-white);
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  height: 60px;
  line-height: 60px;
  opacity: 1;
  padding: 0 10px;
  position: relative;
  width: 60px;
}

#aboutTestimonials .carousel-control-prev {
  left: -33px;
  top: 184px;
}

#aboutTestimonials .carousel-control-next {
  right: -28px;
  top: 110px;
}

#aboutTestimonials .carousel-control-prev:hover,
#aboutTestimonials .carousel-control-next:hover {
  background-image: linear-gradient(to right, #082e45 0%, #17677e 51%, #249cb3 100%);
  color: var(--e-global-color-white);
}

@media (min-width: 992px) {
  .testimonial-section + .partner-section {
    margin-top: -72px;
    padding-bottom: 48px;
    padding-top: 0;
  }

  .partner-section + .public-custom-section {
    padding-top: 52px;
  }

  .public-custom-section {
    padding-bottom: 14px;
  }

  .public-custom-section + .faq-section {
    padding-top: 20px;
  }
}

@media (max-width: 1199px) {
  #aboutTestimonials .carousel-control-next {
    font-size: 18px;
    height: 55px;
    line-height: 55px;
    right: -60px;
    top: 114px;
    width: 55px;
  }

  #aboutTestimonials .carousel-control-prev {
    font-size: 18px;
    height: 55px;
    left: 2px;
    line-height: 55px;
    top: 180px;
    width: 55px;
  }
}

@media (max-width: 991px) {
  #aboutTestimonials .carousel-control-next {
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    right: -32px;
    top: 92px;
    width: 50px;
  }

  #aboutTestimonials .carousel-control-prev {
    font-size: 16px;
    height: 50px;
    left: -20px;
    line-height: 50px;
    top: 154px;
    width: 50px;
  }
}

@media (max-width: 767px) {
  .partner-section .partner ul {
    gap: 24px 40px;
  }

  .partner-section {
    padding: 40px 0 64px;
  }

  .public-custom-section {
    padding: 56px 0;
  }

  .partner-section + .public-custom-section {
    padding-top: 56px;
  }

  .public-custom-section + .faq-section {
    padding-top: 8px;
  }

  .public-custom-content {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  .public-custom-content p,
  .public-custom-content li,
  .public-custom-content td,
  .public-custom-content th {
    font-size: 16px;
    line-height: 24px;
  }

  .public-custom-content > h5,
  .public-custom-content > h2 {
    text-align: center;
  }

  .choose-section .choose_content ul li small {
    margin-left: 0;
  }

  .about-section {
    padding-top: 54px;
  }

  .about-section .about_wrapper {
    display: none;
  }

  #aboutTestimonials .carousel-control-next {
    height: 46px;
    line-height: 46px;
    right: -63px;
    top: 118px;
    width: 46px;
  }

  #aboutTestimonials .carousel-control-prev {
    height: 46px;
    left: 14px;
    line-height: 46px;
    top: 174px;
    width: 46px;
  }
}

@media (max-width: 575px) {
  .public-custom-content {
    font-size: 14px;
    line-height: 20px;
  }

  .public-custom-content p,
  .public-custom-content li,
  .public-custom-content td,
  .public-custom-content th {
    font-size: 14px;
    line-height: 20px;
  }

  #aboutTestimonials .carousel-control-next {
    right: -28px;
    top: 148px;
  }

  #aboutTestimonials .carousel-control-prev {
    left: -20px;
    top: 204px;
  }
}
