/* ===== GLOOB - STYLE PULITO v8000 ===== */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f7fb;
  color: #111;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== TITOLI ===== */
h1 {
  margin: 0;
  font-size: 34px;
  color: #173a8a;
  line-height: 1.05;
}

h2 {
  margin: 26px 0 10px;
  color: #173a8a;
  font-size: 24px;
}

h3 {
  margin: 0;
  color: #173a8a;
}

.sub {
  color: #333;
  font-size: 13px;
  margin-top: 2px;
}

.smallText {
  font-size: 12px;
  color: #333;
  margin-top: 8px;
  line-height: 1.35;
}

ul {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* ===== HEADER ===== */
.topRow {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 10px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

/* ===== LINGUA ===== */
.langSwitch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.langSwitch span {
  cursor: pointer;
  opacity: .45;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all .15s ease;
}

.langSwitch span:hover {
  transform: scale(1.08);
  opacity: 1;
}

.langSwitch span.active {
  opacity: 1;
  color: #fff;
  background: #173a8a;
}

/* ===== INTRO + VIDEO ===== */
.introTop {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
  margin-top: 6px;
}

.introText {
  min-width: 0;
}

.heroVideoBox {
  width: 100%;
  max-width: 390px;
  justify-self: end;
}

.heroVideoWrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid #dbe4ff;
  box-shadow: 0 10px 24px rgba(23, 58, 138, .16);
}

.heroVideoWrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CONTROLLI ===== */
.controlsRow {
  display: flex;
  gap: 16px;
  margin: 18px 0 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.allocBox {
  border: 1px solid #d9e2ff;
  background: #f7f9ff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  min-width: 210px;
}

.controlsInline {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1;
}

.ctrl {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ctrl label {
  display: block;
  font-size: 13px;
  color: #111;
  margin-bottom: 4px;
}

.ctrl input[type="text"] {
  width: 180px;
  padding: 6px 8px;
  border: 1px solid #9ca3af;
  border-radius: 0;
  font-size: 14px;
  background: #fff;
}

.ctrl.capital {
  min-width: 220px;
}

.ctrlBtn {
  display: flex;
  align-items: flex-end;
}

.finalBox {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
}

/* ===== BOTTONI ===== */
.btn {
  background: #132c74;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all .2s ease;
  box-sizing: border-box;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(19, 44, 116, .20);
}

.btnRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
  margin-top: 16px;
}

.btnRow .btn {
  width: 100%;
}

.benchRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}

.benchmarkBtn {
  background: #eef3ff;
  color: #173a8a;
  border: 1px solid #cbd9ff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  transition: all .2s ease;
}

.benchmarkBtn:hover {
  transform: translateY(-1px);
}

.benchmarkBtn.active {
  background: #173a8a !important;
  color: #fff !important;
  border: 2px solid #173a8a !important;
  box-shadow: 0 8px 18px rgba(23, 58, 138, .22);
  transform: translateY(-1px);
}


/* ===== BOX REGOLE ===== */
.dynamicRuleBox {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  font-size: 13px;
  color: #243b6b;
  line-height: 1.5;
}

.dynamicRuleBox.show {
  display: block;
}

.summary {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.summary b {
  font-size: 15px;
}

/* ===== GRAFICI ===== */
.card {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

#chart_main {
  width: 100% !important;
  height: 387px !important;
}

#chart_dd,
#chart_liq {
  width: 100% !important;
  height: 198px !important;
}

.liquidityTitle {
  font-weight: 700;
  margin-bottom: 6px;
  color: #173a8a;
}

/* ===== CONFRONTI ===== */
.bigCompare {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.bigCompare strong {
  color: #173a8a;
}

.comparisonTableBox {
  margin-top: 16px;
  padding: 12px;
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  overflow-x: auto;
}

.comparisonTableHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.comparisonTablePeriod {
  font-size: 13px;
  color: #334;
  font-weight: 700;
}

#comparison_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

#comparison_table th {
  text-align: left;
  padding: 9px 10px;
  background: #173a8a;
  color: #fff;
  font-size: 13px;
}

#comparison_table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

#comparison_table tbody tr:hover {
  background: #eef3ff;
}

#comparison_table td:nth-child(2),
#comparison_table td:nth-child(3),
#comparison_table td:nth-child(4),
#comparison_table th:nth-child(2),
#comparison_table th:nth-child(3),
#comparison_table th:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

/* ===== MISSION ===== */
.missionSection {
  margin-top: 28px;
}

.missionBox {
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #223;
  box-shadow: 0 8px 20px rgba(23, 58, 138, .06);
}

.missionBox p {
  margin: 0 0 14px 0;
}

.missionBox p:last-child {
  margin-bottom: 0;
}

.missionStrong {
  color: #173a8a;
  font-weight: 700;
  font-size: 16px;
}

/* ===== RIGA AZIONI: GIOCO + MISSION ===== */
.pigroActionRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin: 26px 0 14px;
}

.pigroActionBtn,
.pigroActionBtn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  background: #075eea;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
  box-sizing: border-box;
}

.pigroActionBtn:hover {
  background: #034bbd;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(7, 94, 234, .25);
}

.btnMission {
  font-family: inherit;
}


.missionHidden {
  display: none;
}

.missionHidden.show {
  display: block;
}

/* ===== MODAL CONSULENTI ===== */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modalOverlay.show {
  display: flex;
}

.modalBox {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  border: 1px solid #dbe4ff;
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid #eef2ff;
  background: #f7f9ff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.modalTitle {
  margin: 0;
  color: #173a8a;
  font-size: 24px;
}

.modalSub {
  margin-top: 4px;
  color: #334;
  font-size: 13px;
  line-height: 1.45;
}

.modalClose {
  border: none;
  background: #173a8a;
  color: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  flex: 0 0 auto;
}

.modalBody {
  padding: 18px 22px 22px;
}

.advisorGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6px;
}

.advisorCard {
  border: 1px solid #dbe4ff;
  background: #fbfcff;
  border-radius: 14px;
  padding: 16px;
}

.advisorName {
  font-size: 18px;
  font-weight: 700;
  color: #173a8a;
  margin-bottom: 6px;
}

.advisorRole {
  font-size: 13px;
  color: #445;
  margin-bottom: 10px;
  line-height: 1.4;
}

.advisorLine {
  font-size: 13px;
  color: #222;
  line-height: 1.55;
  margin-bottom: 5px;
  word-break: break-word;
}

.advisorLine a {
  color: #173a8a;
  text-decoration: none;
}

.advisorLine a:hover {
  text-decoration: underline;
}

.modalNote {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e8ecff;
  background: #f7f9ff;
  border-radius: 12px;
  font-size: 13px;
  color: #243b6b;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .wrap {
    padding: 14px;
  }

  .topRow {
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
  }

  .introTop {
    grid-template-columns: 1fr;
  }

  .heroVideoBox {
    max-width: 100%;
    justify-self: stretch;
  }

  .advisorGrid {
    grid-template-columns: 1fr;
  }

  .btnRow {
    grid-template-columns: repeat(2, 1fr);
  }

  .finalBox {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  .topRow {
    grid-template-columns: 44px 1fr;
  }

  .logo {
    width: 44px;
    height: 44px;
  }

  .langSwitch {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .controlsRow {
    gap: 12px;
  }

  .controlsInline {
    width: 100%;
  }

  .ctrl.capital {
    min-width: 0;
    width: 100%;
  }

  .ctrl input[type="text"] {
    width: 100%;
  }

  .allocBox {
    min-width: 0;
    width: 100%;
  }

  .btnRow {
    grid-template-columns: 1fr;
  }

  .benchmarkBtn {
    padding: 8px 12px;
  }

  #comparison_table {
    font-size: 13px;
  }

  #comparison_table th,
  #comparison_table td {
    padding: 8px 6px;
  }
}


@media (max-width: 760px) {
  .pigroActionRow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* ===== FASCETTA MERCATI SCORREVOLE ===== */
.marketTicker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  margin: 6px 0 14px;
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 58, 138, .08);
}

.marketTickerLabel {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #173a8a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.marketTickerViewport {
  width: 100%;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(90deg, #f7f9ff, #ffffff);
}

.marketTickerTrack {
  display: flex;
  width: max-content;
  min-width: 100%;
  white-space: nowrap;
}

.marketTickerLoop {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  padding: 0 18px;
  height: 36px;
  animation: marketTickerScroll 55s linear infinite;
}

.marketTicker:hover .marketTickerLoop {
  animation-play-state: paused;
}

.marketTickerItem {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: #1f2937;
}

.marketTickerItem b {
  color: #173a8a;
  font-size: 13px;
}

.marketTickerValue {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.marketTickerChange {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef2ff;
}

.marketTickerChange.up {
  color: #057a39;
  background: #e8f8ef;
}

.marketTickerChange.down {
  color: #b42318;
  background: #fdecec;
}

.marketTickerChange.flat,
.marketTickerMissing {
  color: #64748b;
}

.marketTickerSep {
  color: #94a3b8;
  font-weight: 900;
}

.marketTickerLoading {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  color: #64748b;
  font-size: 13px;
}

@keyframes marketTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 700px) {
  .marketTicker {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .marketTickerLabel {
    height: 28px;
    justify-content: center;
  }

  .marketTickerLoop {
    height: 34px;
    animation-duration: 42s;
  }
}


/* ===== CHI SONO ===== */
.chiSonoSection {
  margin-top: 28px;
}

.chiSonoBox {
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #223;
  box-shadow: 0 8px 20px rgba(23, 58, 138, .06);
}

.chiSonoGrid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.chiSonoPhotoWrap {
  width: 100%;
}

.chiSonoPhoto {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.chiSonoText {
  font-size: 15px;
  line-height: 1.75;
  color: #223;
}

.chiSonoText p {
  margin: 0 0 16px 0;
}

.chiSonoStrong {
  color: #173a8a;
  font-weight: 700;
  font-size: 17px;
}

.chiSonoNote {
  margin-top: 22px;
  padding: 12px 14px;
  background: #eef3ff;
  border: 1px solid #cfdcff;
  border-radius: 10px;
  font-size: 14px;
  color: #173a8a;
  font-weight: 700;
}

.btnChiSono {
  background: #0d9488 !important;
}

.btnChiSono:hover {
  background: #0b8178 !important;
}

@media (max-width: 900px) {
  .chiSonoGrid {
    grid-template-columns: 1fr;
  }

  .chiSonoPhotoWrap {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .pigroActionRow {
    grid-template-columns: 1fr;
  }

  .chiSonoBox {
    padding: 16px;
  }
}



/* ===== COMMUNITY / NEWSLETTER - IL PUNTO DEL PIGRO ===== */
.pigroCommunityBox {
  margin: 18px 0 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f7f9ff 0%, #eef7ff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(23, 58, 138, .06);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
}

.pigroCommunityText h2 {
  margin: 0 0 8px;
  color: #173a8a;
  font-size: 23px;
}

.pigroCommunityText p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #223;
}

.pigroCommunitySmall {
  font-size: 13px !important;
  color: #334 !important;
}

.pigroNewsletterForm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.pigroNewsletterForm input[type="email"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd9ff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

.pigroNewsletterForm button {
  min-height: 42px;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  background: #0d9488;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: all .2s ease;
}

.pigroNewsletterForm button:hover {
  background: #0b8178;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 148, 136, .20);
}

.pigroNewsletterMsg {
  grid-column: 1 / -1;
  min-height: 18px;
  font-size: 13px;
  color: #173a8a;
  font-weight: 700;
}

@media (max-width: 760px) {
  .pigroCommunityBox { grid-template-columns: 1fr; padding: 16px; }
  .pigroNewsletterForm { grid-template-columns: 1fr; }
}


/* ===== SEZIONE NOTIZIE - VERSIONE PRUDENTE ===== */
.newsSection {
  margin: 8px 0 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(23, 58, 138, .08);
}

.newsHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.newsHead h2 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #173a8a;
}

.newsSubtitle {
  font-size: 13px;
  color: #334;
  line-height: 1.35;
}

.newsUpdated {
  font-size: 12px;
  color: #445;
  background: #f7f9ff;
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.newsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.newsCard {
  min-width: 0;
  border: 1px solid #e2e8f0;
  background: #fbfcff;
  border-radius: 12px;
  padding: 12px;
}

.newsSource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
  color: #173a8a;
}

.newsSource a,
.newsSource a:visited {
  color: #173a8a;
  text-decoration: none;
}

.newsSource a:hover {
  text-decoration: underline;
}

.newsStatus {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.newsItem {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid #e8ecff;
}

.newsItem:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.newsItemTitle,
.newsItemTitle:visited {
  display: block;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.newsItemTitle:hover {
  color: #173a8a;
  text-decoration: underline;
}

.newsItemDesc {
  margin-top: 4px;
  font-size: 12px;
  color: #445;
  line-height: 1.35;
}

.newsItemDate {
  margin-top: 5px;
  font-size: 11px;
  color: #64748b;
}

.newsLoading,
.newsEmpty {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #445;
  background: #f7f9ff;
  border: 1px dashed #cbd9ff;
  border-radius: 12px;
  padding: 12px;
}

.newsLegalNote {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .newsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .newsHead {
    flex-direction: column;
  }

  .newsUpdated {
    white-space: normal;
  }

  .newsGrid {
    grid-template-columns: 1fr;
  }
}






/* ===== NOTIZIE FINALI COMPATTE - 3 TESTATE ===== */

.newsSection{
  margin:8px 0 18px !important;
  padding:8px 10px !important;
  background:#ffffff !important;
  border:1px solid #dbe4ff !important;
  border-radius:14px !important;
  box-shadow:0 6px 18px rgba(23, 58, 138, .08) !important;
}

.newsHead{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  margin:0 0 5px !important;
  min-width:0 !important;
}

.newsHead h2{
  margin:0 !important;
  font-size:16px !important;
  line-height:1.1 !important;
  color:#173a8a !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

.newsUpdated{
  position:static !important;
  display:inline-block !important;
  margin:0 !important;
  padding:3px 8px !important;
  font-size:11px !important;
  line-height:1.2 !important;
  color:#334 !important;
  background:#f7f9ff !important;
  border:1px solid #dbe4ff !important;
  border-radius:999px !important;
  white-space:nowrap !important;
  flex:0 1 auto !important;
}

.newsSubtitle,
.newsLegalNote,
.newsItemDesc,
.newsItemDate,
.newsStatus{
  display:none !important;
}

.newsGrid{
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
}

.newsCard{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:5px 8px !important;
  border:1px solid #dbe4ff !important;
  border-radius:7px !important;
  background:#fbfcff !important;
  min-height:auto !important;
  overflow:hidden !important;
}

.newsSource{
  display:block !important;
  flex:0 0 165px !important;
  margin:0 !important;
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  color:#173a8a !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.newsSource a,
.newsSource a:visited{
  color:#173a8a !important;
  text-decoration:none !important;
}

.newsItem{
  display:inline !important;
  padding:0 !important;
  margin:0 !important;
  border:none !important;
  min-width:0 !important;
}

.newsItemTitle,
.newsItemTitle:visited{
  display:inline !important;
  font-size:12px !important;
  font-weight:400 !important;
  color:#111827 !important;
  text-decoration:none !important;
  line-height:1.2 !important;
}

.newsItemTitle:hover{
  color:#173a8a !important;
  text-decoration:underline !important;
}

.newsItem + .newsItem::before{
  content:" • ";
  color:#445;
  margin:0 10px;
}

.newsLoading,
.newsEmpty{
  font-size:12px !important;
  padding:6px 8px !important;
}

@media (max-width: 700px){
  .newsSection{
    padding:8px !important;
  }

  .newsHead{
    gap:8px !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }

  .newsHead h2{
    font-size:15px !important;
  }

  .newsUpdated{
    font-size:10px !important;
    padding:2px 6px !important;
    max-width:calc(100% - 70px) !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .newsCard{
    display:grid !important;
    grid-template-columns:120px 1fr !important;
    gap:6px !important;
    padding:5px 7px !important;
  }

  .newsSource{
    flex:none !important;
    font-size:12px !important;
  }

  .newsItemTitle,
  .newsItemTitle:visited{
    font-size:11px !important;
  }

  .newsItem + .newsItem::before{
    content:" • ";
    margin:0 5px;
  }
}
