/* ---------------------------------------------------- */
/* .tab-bar / .tab-group moved to css/common.css (shared component) */

.media-row{
      border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

@media (min-width:1200px) {

  .mediaSec {
    padding-top: 7.321vw !important;
    margin-top: 0 !important;
  }

  .mediaSec h5 {
    font-size: 1.464vw;
    padding: 1.757vw 0 !important;
  }

  .media-row {
    row-gap: 3.66vw !important;
    padding: 3.66vw 0 !important;
    border-bottom-left-radius: 2.196vw;
    border-bottom-right-radius: 2.196vw;
  }

  .media-row h2 {
    padding: 0 2.562vw !important;
  }

  .media-row .media-link{
    width: 31.622vw !important;
    padding: 0 2.562vw !important;
  }

  .media-row iframe {
    height: 23.06vw !important;
  }
}

/* ------------------------------------------------------------------------------------- */

.video-container {
  padding: 20px 20px 30px !important;
  border-radius: 30px;
  overflow: hidden;
}

.video-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-container .row {
  align-items: stretch;
}

.video-container .col-md-6,
.video-container .col-md-5 {
  display: flex;
}

.col-md-6 .video-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.col-md-6 .video-card>div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.col-md-4 .video-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-thumb {
  aspect-ratio: 4 / 2;
  height: auto;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  filter: grayscale(100%);
  height: 100%;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.6s ease;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.video-thumb:hover img {
  transform: scale(1.07);
}

.video-thumb:hover::after {
  background: rgba(0, 0, 0, 0.45);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: 0.3s ease;
  background-color: #fff;
}

.play-btn i {
  color: black;
  margin-left: 3px;
}

.video-card a {
  margin-top: 14px;
  text-align: center;
}


/* "What's New" video (media.php, top of page) — the iframe is just a
   thumbnail preview, a transparent overlay link on top opens the same
   video in the Fancybox popup instead of playing inline in the page. */
.whatsNewVideo {
  position: relative;
}

.whatsNewVideo iframe {
  pointer-events: none;
}

.whatsNewVideo-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}



.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.fancybox__toolbar {
  display: none !important;
}

@media (min-width: 1200px) {

  .video-container {
    padding: 1.464vw 1.464vw 2.196vw !important;
    border-radius: 3.66vw;
  }

  .video-card video {
    border-radius: 0.732vw;
  }

  .video-card a {
    margin-top: 1.025vw;
  }

  .play-btn {
    width: 3.66vw;
    height: 3.66vw;
  }
}


/* -------------------------------------------------------------------------- */
.report-card {
  border: 1px solid #464646;
  border-radius: 25px;
  padding: 15px;
  text-align: center;
  height: 100%;
}

.report-card h5 {
  max-width: 80%;
  margin: 0 auto;
  padding: 10px;
}
.report-card h5:hover {
  text-decoration: underline;
}


.report-card img {
  width: 100%;
  height: 280px;
  border-radius: 20px;
}

.blog-card {
  border: 1px solid #464646;
  border-radius: 25px;
  padding: 15px;
  text-align: center;
  height: 100%;
}

.blog-img {
  position: relative;
  /*overflow: hidden;*/
}

.blog-img a {
  display: block;
}

.blog-card img {
  border-radius: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.blog-category {
  display: none;
  position: absolute;
  top: 12%;
  left: 0;
  background: #005D61;
  color: #fff;
  padding: 6px 14px;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
}

.blog-bar {
  background: white;
  color: black;
  border-radius: 20px;
  padding: 5px;
  margin: 15px 0px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .report-card h5 {
    max-width: 80%;
  }

  .report-card img {
    height: 200px;
  }
    .blog-card {
    min-height: 400px;
  }
}

@media (max-width:576px) {
    .blog-card {
    min-height: 360px;
  }

  .report-card h5 {
    max-width: 90%;
  }
}

@media (min-width: 1200px) {
  .report-card {
    padding: 1.098vw;
    border-radius: 1.83vw;
  }

  .report-card h5 {
    max-width: 60%;
    padding: 0.732vw;
  }

  .report-card img {
    height: 20.498vw;
    border-radius: 1.464vw;
  }

  .blog-card {
    border: 0.073vw solid #464646;
    padding: 1.098vw;
    border-radius: 1.83vw;
  }

  .blog-card img {
    height: 12.641vw;
    border-radius: 1.464vw;
  }

  .blog-bar {
    border-radius: 1.464vw;
    padding: 0.366vw;
    margin: 1.098vw 0;
  }
}


/* -------------------------------------------------------------------------------- */

/* ============================================================
   Blog & Media listing cards — title underline uses the same
   mechanic as the "What's New" .border-line: a 1px line under
   EVERY line of the text that grows LEFT → RIGHT on card hover.
   Applies to blog, insight (report) and video cards.
   ============================================================ */
.blog-card .desc,
.report-card .desc,
.video-card .desc {
  display: inline;
  line-height: 1.4;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .desc,
.report-card:hover .desc,
.video-card:hover .desc {
  background-size: 100% 1px;
}


/* ============================================================
   Article share popup (blog-article) — click the share icon to
   reveal a row of circular platform icons (Instagram-style).
   ============================================================ */
.share-btn {
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  transition: color 0.3s ease, transform 0.3s ease;
}

.share-btn:hover {
  color: #e3644b;
  transform: translateY(-2px);
}

.share-btn .reply-icon {
  pointer-events: none;
}

.share-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 16px 14px;
  max-width: min(92vw, 430px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.share-pop.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.share-pop-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}

.share-pop-row::-webkit-scrollbar {
  height: 5px;
}

.share-pop-row::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.share-opt {
  flex: 0 0 auto;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  cursor: pointer;
  color: #efefef;
  text-decoration: none;
  font-size: 12px;
  text-align: center;
}

.share-opt .share-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.share-opt:hover .share-ic {
  background: #4a4a4a;
  transform: translateY(-2px);
}

.share-opt .share-lbl {
  white-space: nowrap;
}

.press-section {
  background: url("../assets/iStock-2216210177.jpg.jpeg") no-repeat center center/cover;
  color: #fff;
  padding: 50px !important;
  position: relative;
}

.press-box .press-download {
  border-bottom: 1px solid #666666;
  padding-bottom: 17px;
  margin-bottom: 10px;
  position: relative;
display:block;
    
}

.press-box li .press-download {
  /*margin-bottom: 0;*/
}


/*.press-box a:last-child .press-download ,*/
.press-box li:last-child .press-download {
  margin-bottom: 0;
}

.press-box .press-download::after {
  content: "";
  width: 38px;
  height: 18px;
  position: absolute;
  top: 30%;
  right: 0;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 767.98px) {
  .press-section {
    padding: 20px 20px !important;
  }
}

@media (max-width: 576px) {
  .press-section {
    padding: 20px 10px !important;
  }
}

@media (min-width: 1200px) {
  .press-section {
    padding: 3.66vw !important;
  }

  .press-box .press-download {
    padding-bottom: 1.28vw;
    margin-bottom: 0.77vw;
    border-bottom: 0.073vw solid #666666;
  }

  .press-box .press-download::after {
    width: 2.782vw;
    height: 1.318vw;
  }

  .press-box {
    padding-top: 1.171vw !important;
  }
}




/* ------------------------------------------------------------------------ */
.blogArticle-left {
  padding: 30px 30px 30px 0px;
}

.blogArticle-right {
  padding: 30px;
}

.blogArticle-right h5,
.blogArticle-right ul li {
  margin-bottom: 18px;
}

.blogArticle-right ul li p {
  display: inline;
  background-image: linear-gradient(white, white);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 0.9s ease;
  padding-bottom: 3px;
}

.blogArticle-right ul li a:hover p {
  background-size: 100% 1px;
}

.blogArticle-right ul li.active p {
  background-size: 100% 1px;
}

@media (min-width:1200px) {
  .blogArticle-left {
    padding: 2.196vw 2.196vw 2.196vw 0;
  }

  .blogArticle-right {
    padding: 2.196vw;
  }

  .blogArticle-right h5,
  .blogArticle-right ul li {
    margin-bottom: 1.318vw;
  }

  .blogArticle-right ul li p {
    background-size: 0% 0.073vw;
    padding-bottom: 0.22vw;
  }

  .blogArticle-right ul li a:hover p {
    background-size: 100% 0.073vw;
  }

  .blogArticle-right ul li.active p {
    background-size: 100% 0.073vw;
  }

}




@media (max-width:991px) {
  .blogArticle-left {
    padding: 20px 10px 20px 0px;
  }

  .blogArticle-right {
    padding: 20px 10px;
  }

}

@media (max-width:576px) {

  .blogArticle-left,
  .blogArticle-right {
    padding: 10px 0px;
  }

  .blogArticle-content {
    width: 100% !important;
  }

}

@media (min-width:768px) {
  .border-r {
    border-right: 1px solid #464646;
  }
}



.blogArticle-img {
  width: 100%;
  height: 400px;
}

.blogArticle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}
@media (max-width:576px){
  .blogArticle-img {
  height: 250px;
}

.blogArticle-img img {
  border-radius: 20px;
}

}

.blogArticle-short {
  padding: 20px 0px;
}

.blogArticle-content {
  width: 85%;
}

.blogArticle-desc,
.blogArticle-desc p,
.blogArticle-desc span,
.blogArticle-desc a {
  font-size: 18px;
}

@media (max-width:1199px) {
.blogArticle-desc,
.blogArticle-desc p,
.blogArticle-desc span,
.blogArticle-desc a {
    font-size: 14px;
}

.blogArticle-desc ul {
    padding-left:25px;
    font-size: 14px;
}

}

@media (min-width:1200px) {
  .blogArticle-img {
    height: 29.283vw;
  }

  .blogArticle-img img {
    border-radius: 2.196vw;
  }

  .blogArticle-content h1 {
    margin-bottom: 0.732vw;
  }

  .blogArticle-short {
    padding: 1.464vw 0px;
  }

  .blogArticle-desc,
  .blogArticle-desc p,
  .blogArticle-desc span,
  .blogArticle-desc a {
    /*font-size: 1.171vw;*/
    font-size: 1.029vw;
  }
  
  .blogArticle-desc ul {
    padding-left:1.471vw;
    font-size: 14px;
}
  
}




.reply-icon {
  transform: scaleX(-1);
  font-size: 50px;
  fill: var(--white);
}

@media (min-width:1200px) {
  .reply-icon {
    font-size: 3.66vw;
  }
}

/* --------------------------Insight & Reports----------------- */

.insights .report-card img{
  height: 200px;
}

.report-card p,
.insights .report-card p{
  margin: 0 auto;
  max-width: 90%;
  width: 100%;
  padding-top:16px ;
}

@media (min-width: 450px) and (max-width: 768px) {

.insights .report-card img{
  height: 250px;
}

}

@media (min-width:1200px){
  .insights .report-card img{
  height: 14.641vw;
}
.report-card p,
.insights .report-card p{
  padding-top:1.171vw ;
}

}