@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;700;800&display=swap');

:root {
  --prconnect-margin-top: 100px;
  --prconnect-mobile-margin-top: 80px;
  --prconnect-headline-font: "Lexend", "Arial", sans-serif;
  --prconnect-nav-font: "Lexend", "Arial", sans-serif;
  --prconnect-article-font: "Lexend", "Arial", sans-serif;
  --prconnect-text-hover: #26D;
  --prconnect-text: #111;
  --prconnect-card-bg: #FFF;
}


.headline-entry.article {
  font-family: var(--prconnect-headline-font);
  color: var(--prconnect-text);
  background-color: var(--prconnect-card-bg);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.headline-entry.article > div:first-child {
  width: 100%;
  flex-shrink: 0;
}

.headline-entry.article > div:first-child:empty {
  display: none;
}

.headline-entry.article img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.3s ease, filter 0.3s ease;
  transform-origin: 5% center;
  position: relative;
  z-index: 1;
  animation: prconnect-scroll-brightness linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes prconnect-scroll-brightness {
  from {
    filter: brightness(0.85);
  }
  to {
    filter: brightness(1);
  }
}

.headline-entry.article img:hover {
  filter: brightness(1);
}

.headline-entry.article:not(:has(img))::before {
  content: "";
  display: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: #e2e8f0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="%2394a3b8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px 48px;
}

.headline-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.headline-col a {
  text-decoration: none;
  display: inline-block;
}

.headline-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--prconnect-text);
  line-height: 1.4;
  position: relative;
  animation: prconnect-scroll-color linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes prconnect-scroll-color {
  from {
    color: var(--prconnect-text);
  }
  to {
    color: var(--prconnect-text-hover);
  }
}

.provider,
.timestamp {
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
}

@media (min-width: 480px) {
  .headline-entry.article {
    flex-direction: row;
    align-items: flex-start;
  }

  .headline-entry.article > div:first-child {
    width: 200px;
    position: relative;
  }

  .headline-entry.article > div:first-child:empty {
    display: block;
  }

  .headline-entry.article:not(:has(img))::before {
    display: block;
    width: 200px;
  }

  .headline-entry.article img {
    width: 200px;
    height: auto;
    animation: none;
    pointer-events: none;
  }

  .headline-entry.article > div:first-child:hover img {
    transform: scale(2);
    filter: brightness(1) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75));
    z-index: 99;
  }

  .headline-text {
    animation: none;
    transition: color 0.25s ease-in-out;
  }

  .headline-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: var(--prconnect-text-hover);
    transition: width 0.25s ease-in-out;
  }

  .headline-col a:hover .headline-text {
    color: var(--prconnect-text-hover);
  }

  .headline-col a:hover .headline-text::after {
    width: 100%;
  }
}

#contentmain,
.container {
  padding: 0 !important;
  margin-top: 0 !important;
}

#contentmain .article {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  cursor: default;
  transition: all 0.25s ease-in-out;
  box-sizing: border-box;
}

#contentmain .article > *,
.entry-content > * {
  margin: 0 1rem !important;
  padding: 0 !important;
  width: calc(100% - 2rem) !important;
  max-width: calc(100% - 2rem) !important;
  box-sizing: border-box;
}

#contentmain .article h1 {
  font-size: 24px !important;
  font-weight: bold;
  font-family: var(--prconnect-headline-font);
  line-height: 1.25;
  margin: 0.5em auto 0 auto !important;
}

#contentmain .article a {
  font-family: var(--prconnect-headline-font);
  font-size: 16px !important;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

#contentmain .article h1 + div:nth-of-type(1) {
  font-family: var(--prconnect-headline-font);
  font-size: 14px !important;
  font-weight: 600;
  color: var(--prconnect-text);
  margin-top: 4px !important;
  margin-bottom: 2px !important;
}

#contentmain .article h1 + div:nth-of-type(1) + div {
  font-family: var(--prconnect-headline-font);
  font-size: 13px !important;
  color: #666666;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

#contentmain .blockchain-button {
  text-align:right;float:right;margin-top:-3.5rem;
}

.paid-article-disclaimer {
  display: grid;
  align-items: center; 
  font-family: var(--prconnect-headline-font);
  font-size: 14px !important;
  font-weight: 600;
  color: var(--prconnect-text);
  width: calc(100% - 5rem);
  margin: 1rem auto;
  padding-left: 3rem;
  min-height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.29 3.86a2 2 0 0 1 3.42 0l8.14 14.14A2 2 0 0 1 20.12 21H3.88a2 2 0 0 1-1.73-2.99z' fill='%23FFC107' stroke='%23B38600' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M12 9v4.5' stroke='%23222222' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.75' r='1.3' fill='%23222222'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 32px 32px;
}

.entry-content {
  font-family: var(--prconnect-article-font);
  font-size: 16px;
  line-height: 1.5;
}

.entry-content p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  overflow-wrap: anywhere !important;
}

.entry-content p + p {
  padding-bottom: 0 !important;
}

.entry-content p:has(+ br + br) {
  margin-bottom: -3rem !important;
}

.entry-content div:has(> br + br) {
  margin-top: -3rem !important;
}


#contentmain .article img, 
.entry-content img,
.entry-content figure {
  max-width: 100% !important;
  height: auto;
  display: block;
  margin: 0.5rem auto !important;
  pointer-events: none;
}

.entry-content div:has(> table),
.entry-content > table {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  margin-left: -3px !important;
  border-left: 4px solid var(--prconnect-text-hover, #2266dd) !important;
  padding-left: 8px !important;
  background: 
    linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 70%) 0 100%,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0)) 0 100%;
  background-repeat: no-repeat;
  background-color: #FFF;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

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

.entry-content div > table {
  border-left: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  background: none !important;
}

.entry-content table th,
.entry-content table td {
  white-space: nowrap;
}

.entry-content ul, 
.entry-content ol {
  padding-left: 1.5rem !important;
}

.entry-content ul li {
  list-style-type: disc;
  line-height: 1.5;
  padding: 0;
  margin: -1em 0;
}

.xn-newslines {
  display: none;
}

#contentmain select, 
#contentmain .search-button, 
#contentmain .form-control {
  font-family: var(--prconnect-nav-font);
  border: 1px solid #999;
  margin-bottom: 1rem;
}

#contentmain .search-breadcrumb {
  padding: 12px 8px 8px 8px;
}

#contentmain .search-breadcrumb a {
  cursor: pointer;
  border: 1px solid #777;
  font-family: var(--prconnect-nav-font);
  padding: 2px 6px;
  border-radius: 8px;
  background-color: #FFF;
}

#contentmain .search-breadcrumb a:hover {
  background-color: #EEE;
}

#contentmain select {
  font-family: var(--prconnect-nav-font);
  width: 50%;
  padding: 4px 8px;
  border-radius: 5px;
  color: #333;
  background-color: #FFF;
  margin-left: 25px;
  margin-top: 0px;
  outline: none !important;
}

#publishermenu {
  width: 100%;
  max-width: 180px;
  border: 1px solid #BBB;
  color: #234;
  font-size: 16px;
  border-radius: 4px;
  display: block;
  margin: 8px auto;
}

img[alt="comtex tracking"] {
  display:none;
}
@media screen and (min-width: 768px) {
  #contentmain {
    margin-top: var(--prconnect-margin-top);
  }

  #contentmain .row {
    margin: 0 auto;
    max-width: 80%;
  }

  #contentmain .article h1 {
    font-size: 28px !important;
  }
}

@media screen and (max-width: 767px) {
  #contentmain {
    width: 100%;
    margin-top: var(--prconnect-mobile-margin-top);
  }

  .entry-content iframe,
  .entry-content video {
    width: 100%;
    height: auto;
  }
}