/**
 * EN blog detail — CI view-blog.php styles scoped under .zc-en-blog.
 * Listing UI uses shared src/styles/blogs-list.css + BlogsListClient (same as DE /blogs).
 */

.zc-en-blog {
  --bs-white: #ffffff;
  --bs-primary: #124463;
  color: #333;
}

.zc-en-blog-sidebar {
  position: sticky;
  top: 100px;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  border: 1px solid #224463;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 23%;
  padding-bottom: 0.75rem;
}

.zc-en-blog-sidebar__title {
  color: #000;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.zc-en-blog-sidebar__item {
  width: 100%;
  padding: 0 0.5rem;
  margin: 0.5rem 0;
}

.zc-en-blog-sidebar .mybtnnewforviewblog {
  color: black;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #224463;
  height: auto;
  display: block;
  text-decoration: none;
  padding: 0.5rem 0.35rem;
  background: #fff;
}

.zc-en-blog-sidebar .mybtnnewforviewblog h5 {
  font-size: 1rem;
  margin: 0;
  color: inherit;
}

.zc-en-blog-sidebar .mybtnnewforviewblog:hover {
  background-color: #224463;
  border: 2px solid white;
  color: white !important;
  box-shadow: 0 0 40px rgba(127, 137, 161, 0.25);
}

.zc-en-blog-sidebar .mybtnnewforviewblog:hover h5 {
  color: white;
}

.zc-en-blog-sidebar__contact {
  text-align: center;
  padding: 0.5rem;
  color: #000;
}

.zc-en-blog-sidebar__contact h5 {
  margin-bottom: 0.5rem;
}

.zc-en-blog-sidebar__contact h6 {
  color: #000;
  font-size: 0.9rem;
}

/* Article */
.zc-en-blog .blog-container,
.zc-en-blog .blog-container * {
  box-sizing: border-box;
}

.zc-en-blog .blog-container {
  max-width: 1320px;
  overflow-x: hidden;
}

.zc-en-blog .content-container {
  max-width: 1100px;
  background-color: var(--bs-white);
  padding: 30px;
  border: 2px solid var(--bs-primary);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  line-height: 1.6;
  color: #333;
}

.zc-en-blog .myheadingforblog {
  font-size: 30pt;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

.zc-en-blog-published,
.zc-en-blog-categories {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.zc-en-blog .blog-post-content {
  font-size: 1.1rem;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.zc-en-blog .blog-post-content img,
.zc-en-blog .blog-post-content video {
  max-width: 100% !important;
  height: auto !important;
  margin-bottom: 20px;
  border-radius: 20px;
  object-fit: cover;
  width: 100% !important;
}

.zc-en-blog .blog-post-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100% !important;
}

.zc-en-blog .blog-post-content table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 24px 0;
}

.zc-en-blog .blog-post-content th,
.zc-en-blog .blog-post-content td {
  padding: 10px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.zc-en-blog .blog-post-content a {
  color: #007bff;
  text-decoration: none;
}

.zc-en-blog .blog-post-content a:hover {
  text-decoration: underline;
}

.zc-en-blog-tags {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.zc-en-blog-tags .tag {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.2rem 0.55rem;
  border: 1px solid #124463;
  border-radius: 4px;
  color: #124463;
  text-decoration: none;
  font-size: 0.9rem;
}

.zc-en-blog-tags .tag:hover {
  background: #124463;
  color: #fff;
}

/* Related services */
.zc-en-blog-related-services__heading {
  text-align: center;
  margin-bottom: 20px;
  color: var(--bs-primary);
}

.zc-en-blog .stars {
  font-size: 24px;
  color: #224463;
}

.zc-en-blog .mybtn {
  color: white;
  background-color: #224463;
  width: 100%;
  border-radius: 10px;
  height: 45px;
  font-size: large;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zc-en-blog .myhovercard {
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
  color: black;
  height: 450px;
  border: 2px solid var(--bs-primary);
}

.zc-en-blog .myhovercard:hover {
  box-shadow: 0 10px 40px rgba(127, 137, 161, 0.5), 0 0 15px rgba(34, 68, 99, 0.4);
  transform: translateY(-5px) scale(1.02);
}

.zc-en-blog .myhovercard .card-img-top {
  object-fit: cover;
  object-position: right;
  border-radius: 8px;
  height: 200px;
  width: 100%;
}

.zc-en-blog .mycardlargetext {
  height: 60px;
  overflow: hidden;
}

.zc-en-blog .myatag {
  color: black !important;
  text-decoration: none;
  display: block;
  height: 100%;
}

/* Recent carousel */
.zc-en-blog-recent h2 {
  color: var(--bs-primary);
  text-align: center;
}

.zc-en-blog #cCarousel,
.zc-en-blog-carousel {
  position: relative;
  max-width: 1100px;
  width: calc(100% - 40px);
  margin: auto;
}

.zc-en-blog #cCarousel .arrow,
.zc-en-blog-carousel .arrow {
  position: absolute;
  top: 42%;
  display: flex;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 1;
  font-size: 26px;
  color: white;
  background: #124463;
  cursor: pointer;
  border: none;
  padding: 0;
}

.zc-en-blog #cCarousel #prev,
.zc-en-blog-carousel #prev {
  left: -35px;
}

.zc-en-blog #cCarousel #next,
.zc-en-blog-carousel #next {
  right: -30px;
}

.zc-en-blog #carousel-vp {
  width: 100%;
  max-width: 1040px;
  height: 500px;
  display: flex;
  align-items: start;
  position: relative;
  overflow: hidden;
  margin: auto 0 10px;
}

.zc-en-blog #cCarousel-inner {
  display: flex;
  position: absolute;
  transition: 0.3s ease-in-out;
  gap: 10px;
  left: 0;
}

.zc-en-blog .aincarusel {
  text-decoration: none;
  color: inherit;
}

.zc-en-blog .cCarousel-item {
  width: 250px;
  height: 470px;
  border: 2px solid #124463;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-sizing: border-box;
  flex-shrink: 0;
}

.zc-en-blog .cCarousel-item img {
  width: 100%;
  object-fit: cover;
  min-height: 220px;
  height: 220px;
  flex-shrink: 0;
}

.zc-en-blog .cCarousel-item .infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  color: black;
  padding: 14px;
  overflow: hidden;
}

.zc-en-blog .cCarousel-item .infos h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 72px;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: black;
  text-align: left;
}

.zc-en-blog .cCarousel-item .infos p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  margin: 0;
  text-align: left;
}

.zc-en-blog .recent-blogs-btn-wrap {
  margin: 24px auto 40px;
}

.zc-en-blog .recent-blogs-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 0 28px;
  height: 50px;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .zc-en-blog-sidebar {
    width: 100%;
    position: static;
  }

  .zc-en-blog .mycontainer .col-lg-4 {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .zc-en-blog .myheadingforblog {
    font-size: 25pt;
  }

  .zc-en-blog .content-container {
    margin: 20px 10px !important;
    padding: 15px !important;
  }

  .zc-en-blog .blog-post-content {
    font-size: 1rem;
    line-height: 1.55;
  }

  .zc-en-blog .blog-post-content table {
    display: block;
    overflow-x: auto;
    table-layout: auto;
    font-size: 13px;
  }

  .zc-en-blog #carousel-vp {
    max-width: 230px;
    height: 430px;
  }

  .zc-en-blog .cCarousel-item {
    width: 230px;
    height: 410px;
  }

  .zc-en-blog .cCarousel-item img {
    min-height: 180px;
    height: 180px;
  }

  .zc-en-blog #cCarousel #prev,
  .zc-en-blog-carousel #prev {
    left: 0;
  }

  .zc-en-blog #cCarousel #next,
  .zc-en-blog-carousel #next {
    right: 0;
  }
}
