@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;700;800&display=swap');
@import url("https://www.xmwire.com/css/lexendsurf.css");

: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;
}
* {
  font-size: 1rem !important; 
}
.preLoadImg { display: none; }

body { display: flex; flex-direction: column; overflow-x: hidden; }
header { order: 1; }
main#contentmain { order: 2; margin-top: 30px; }
footer { order: 3; }

*:focus, *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.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 {
  font-family: var(--prconnect-headline-font);
  text-decoration: none;
  display: inline-block;
}

.headline-col h1 {
  font-weight: 600;
  font-size: 1.5rem !important;
  line-height: 125%;
}

.headline-text {
  font-weight: 600;
  font-size: 18px !important;
  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%;
}
.headline-text:hover {
  text-decoration: underline;
}

@keyframes prconnect-scroll-color {
  from {
    color: var(--prconnect-text);
  }
  to {
    color: var(--prconnect-text-hover);
  }
}

.provider,
.timestamp {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 125%;
  color: #666;
}

.xn-newslines{display:none;}


#contentmain {
  width: 100%;
  position: relative;
  margin-top: var(--prconnect-mobile-margin-top);
}


.article-search input,
.article-search button,
#publishermenu {
  font-family: 'Lexend', sans-serif !important;
  height: 36px !important;
  line-height: 34px !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
  margin-top: 0 !important;
}

.article-search button.search-button {
  font-family: 'Lexend', sans-serif !important;
  height: 36px !important;
  line-height: 34px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 16px !important;
  vertical-align: top !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #EEE !important;
  color: #333 !important;
  border: 1px solid #666 !important;
  border-radius: 4px !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.article-search button.search-button:hover {
  background-color: #FFF !important;
  font-weight: 600;
}

.article-search,
.article-search form,
.article-search .article-search {
  margin: 0 !important;
  padding: 0 !important;
}

div:has(> form):has(> #publishermenu),
div:has(> div > form):has(> div > #publishermenu) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.article-search .row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 !important;
}

.article-search .row::before,
.article-search .row::after {
  display: none;
}

.article-search [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

#publishermenu {
  margin: 1em !important;
  padding: 0 24px 0 8px !important;
  border-radius: 4px;
  border: 1px solid #ccc;
  z-index: 10;
  text-align: left;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 9px auto !important;
}


#contentmain .search-breadcrumb {
  padding: 12px 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 .pagination,
#contentmain .search-pagination,
#contentmain .page-number-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  list-style: none;
}

#contentmain .pagination a:not([aria-label]) {
  pointer-events: none;
  cursor: default;
  border: 0;
}

#contentmain .pagination a[aria-label],
#contentmain .pagination span,
#contentmain .search-pagination a,
#contentmain .search-pagination span,
#contentmain .page-number-row a,
#contentmain .page-number-row span {
  font-family: var(--prconnect-nav-font);
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #777;
  border-radius: 4px;
  background-color: #FFF;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}

#contentmain .pagination a[aria-label]:hover,
#contentmain .search-pagination a:hover,
#contentmain .page-number-row a:hover {
  background-color: #EEE;
  border-color: #555;
}

#contentmain .pagination .active span,
#contentmain .pagination .active a[aria-label],
#contentmain .search-pagination .active {
  background-color: #333;
  color: #FFF;
  border-color: #333;
}

#contentmain .blockchain-button {
  text-align:right;float:right;margin-top:-3.5rem;max-width:30px;max-height:30px;
}


.paid-article-disclaimer {
  display: flex;
  align-items: center; 
  gap: 12px; /* Fixed space between icon and text */
  font-family: var(--prconnect-headline-font);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 150%;
  color: var(--prconnect-text);
  
  width: calc(100% - 2rem);
  margin: 1rem auto;
  padding: 0.5rem;
  box-sizing: border-box;
}

/* Icon created as a separate element so it can NEVER overlap text */
.paid-article-disclaimer::before {
  content: "";
  display: block;
  flex-shrink: 0; /* Prevents icon from squishing on tiny screens */
  width: 32px;
  height: 32px;
  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-size: contain;
  margin-left: 1em;
}

.entry-content {
  font-family: var(--prconnect-article-font);
  font-size: 16px;
  line-height: 1.5;
  padding: 0 1em;
}

.entry-content div {
  margin: 0 auto;

}

.entry-content p + div:has(> table) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  border-left: 4px solid #0066cc !important;
  padding-left: 8px;
  margin-top: 1rem;
}

.entry-content p + div:has(> table) > table {
  width: max-content !important;
  white-space: nowrap !important;
}

.entry-content div img {
  display: block;
  margin: 0 auto;
  max-width: calc(100% - 1em) !important;
  height: auto;
}

.entry-content p img, .entry-content div img {
  padding: 8px; /* Permanent internal space around image */
  background-color: #ffffff; /* Optional: frame color */
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, filter;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.entry-content h4 {
  margin: 0;
  padding: 8px 0; 
  height: auto;
  line-height: 1.4;
  font-size: 1.1rem;
  font-weight: 600;
}

.entry-content p:empty, .entry-content p:has(> br:only-child) {
  display: none;
}

.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 a, .entry-content p a {
  overflow-wrap: anywhere !important;
}


.entry-content p:nth-child(even) {
  xcolor: purple;
  xdisplay: none;
}

.entry-content p + p {
  padding-bottom: 0 !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 p+div:has(>img) {
  max-width: 100% !important;
}


.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;
}


img[alt="comtex tracking"] {
  display:none;
}

#contentmain {
  margin: 0 auto;
  width: calc(100% - 1em);
}



.entry-content div {
    max-width: 100%;
    box-sizing: border-box;
}

.entry-content div iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    box-sizing: border-box;
    margin: 0 auto;
}

.entry-content div p {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.entry-content figure .youtube img{
  width: auto !important;
  height: auto !important;
}

@media (min-width: 576px) {

.entry-content div iframe {
max-width: 800px;
}
  #publishermenu {margin: 0 !important;}
  div:has(> form):has(> #publishermenu),
  div:has(> div > form):has(> div > #publishermenu) {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }


  #contentmain {
    margin-top: var(--prconnect-margin-top);
  }

.entry-content div img {
  cursor: zoom-in;
  max-width: 600px !important;
  max-height: 400px !important;
  width: auto;
  height: auto;
}

.entry-content p img:hover, .entry-content div img:hover {
  cursor: zoom-in;
  transform: scale(1.5);
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.3));
  z-index: 10;
}


  .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 {
    font-family: var(--prconnect-headline-font);
    font-size: 18px !important;
    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-text:hover {
    text-decoration: none;
  }

  .headline-col a:hover .headline-text {
    color: var(--prconnect-text-hover);
  }

  .headline-col a:hover .headline-text::after {
    width: 100%;
  }
}

					