.vgs {
    margin: 2rem auto;
    padding: 0;
}
.vgs_intro_container{
    padding: min(3rem, 6%);
    background-color: #FFFFFF;
    border-radius: .5rem;
}
.vgs_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.vgs_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 0px auto;
}
.bg-white-container{
    background-color: #FFFFFF;
    padding: 3rem;
}
.vgs_cards {
    background-color: #FFFFFF;
    padding: 1.5rem;
    color: #333333;
    border-radius: .5rem;
}
.vgs_icon {
    height: 100%;
    max-height: 60px;
    margin-bottom: 1.5rem;
}
.vgs_icon img {
    height: 100%;
    width: auto;
}
.vgs_heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.vgs_heading_bigger {
    font-size: 2rem;
    font-weight: 600;
}
.vgs_desc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: .875rem;
    margin-bottom: 0;
    color: #888888;
}
.vgs_desc_big{
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}
.vgs_description{
    margin: 3rem auto 0;
    text-align: center;
    padding: 1rem;
    background-color: #f7f7fc;
    border-radius: .5rem;
    width: fit-content;
}
.stage {
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
}
.stage_v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    line-height: normal;
    gap: 1rem;
}
.stage .vgs_readMore {
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: #005f8c;
    background: aliceblue;
    display: inline-flex;
    padding: .75rem 1rem;
    line-height: normal;
    transition: background 300ms;
    border-radius: 4px;
    border: 1px solid #0063cc4d;
}
.stage .vgs_readMore:hover {
    background: #001689;
    color: #FFFFFF;
    border: 1px solid #001689;
}
.stage .vgs_readMore:after {
    font-family: 'FontAwesome', sans-serif;
    font-weight: 300;
    content: "\f105";
    margin-left: 20px;
    color: #005f8c;
    font-size: 18px;
    vertical-align: middle;
    transition: color 200ms;
}
.stage a:hover:after {
    color: #FFFFFF;
}

#modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999999;
    position: fixed;
    background: rgba(0,0,0,0.75);
    transition: all 0.5s;
    display: grid;
    place-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
#modal:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    margin: 0.5em;
    padding: 1.2em;
    background: #ffffff;
    border-radius: 10px;
    width: 90vw;
    max-width: 400px;
    text-align: left;
}
.modal-content .close {
    display: inline-block;
    text-decoration: none;
    background-color: #FFEADD;
    border: 1px solid #E83F25;
    padding: 0.8em 1.2em;
    border-radius: 5px;
    color: #E83F25;
    position: relative;
    font-size: 0.9rem;
    opacity: 1;
    text-shadow: none;
    width: max-content;
    font-weight: 500;
    margin-top: 1rem;
}
.modal-content .close:hover {
    background-color: #E83F25;
    opacity: 1 !important;
    color: #fff;
    text-shadow: none;
}
.modal-content .close:active {
    top: 1px;
}
a.open-modal {
    text-decoration: none;
    background-color: #fff;
    padding: .75rem 1rem;
    border-radius: 4px;
    color: #888;
    position: relative;
    border: 1px solid #ccc;
}
a.open-modal:hover {
    color: black;
    background-color: #fafafa;
}
a.open-modal:active {
    top: 1px;
}
.popup_content {
    padding: 1rem 0 0;
}
.popup_content p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}
.field {
    margin: .5rem 0 1rem;
    height: 45px;
    border-radius: 4px;
    padding: 5px;
    border: 1px solid #ccc;
    display: flex;
    color: #888;
}
.field.active {
    border-color: #7d2ae8;
}
.field i {
    width: 50px;
    font-size: 18px;
    text-align: center;
}
.field.active i {
    color: #7d2ae8;
}
.field input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    color: #888888;
}
.field button {
    color: #005f8c;
    padding: 5px 18px;
    background: aliceblue;
    border: 1px solid #0063cc4d;
    border-radius: .25rem;
}
.field button:hover {
    background: #001689;
    color: #FFFFFF;
}

.carat_img{
    width: 100%;
    height: auto;
}
.carat_img img{
    width: 100%;
    height: auto;
}
.right_content .table{
    font-size: 1.15rem;
}
.did_u_know {
    margin-top: 2rem;
    background-color: aliceblue;
    padding: 1rem;
    border-top: 1px solid #0063cc4d;
    border-bottom: 1px solid #0063cc4d;
    text-align: center;
    color: #005f8c;
}


/*=====Clarity=====*/
/*=====Slider=====*/

.stock-ticker {
  font-size: 15px;
  padding-block: 8px;
  border-block: 1px solid;
  overflow: hidden;
  user-select: none;

  --gap: 20px;
  display: flex;
  gap: var(--gap);
}

.stock-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);

  animation: scroll 60s linear infinite;
}

.stock-ticker:hover ul {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.stock-ticker ul:first-child {
  /* background-color: yellow; */
}

.stock-ticker ul:last-child {
  /* background-color: pink; */
}

.stock-ticker .company,
.stock-ticker .price {
  font-weight: bold;
}

.stock-ticker .price {
  margin-inline: 4px;
}

.stock-ticker .plus::before {
  content: "↑";
}

.stock-ticker .minus::before {
  content: "↓";
}

.stock-ticker .plus .change,
.stock-ticker .plus::before {
  color: #089981;
}

.stock-ticker .minus .change,
.stock-ticker .minus::before {
  color: #f23645;
}
.clarity_comp {
    width: 100%;
    overflow-x: auto;
}

@media only screen and (max-width: 480px){
    .bg-white-container{
        padding: 1rem;
    }
}

/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: 0.9em; /* opinion 3 */
  font-weight: 500;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: "";
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */

  /* most of the rest of this is opinion */
  text-align: center;

  /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
  min-width: 3em;
  max-width: 21em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: 0.3ch;
  box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip=""]::before,
[tooltip=""]::after {
  display: none !important;
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, 0.5em);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}


  :root {
    --premium: #2e7d32;
    --discount: #c62828;
    --base: #1a1a1a;
    --line: #d1d1d1;
    --text-muted: #666;
  }
  .si-wrapper {
    max-width: 800px;
    margin: 0px auto;
    padding: 20px;
  }
  /* Grid System for Vertical Alignment */
  .si-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px 0;
  }
  /* Content Blocks */
  .si-item {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
  }
  .si-title {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--premium);
  }
  .si-value {
    font-size: 1.1rem;
    font-weight: 600;
  }
  .si-type {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
  }
  /* Connector Lines */
  .si-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--premium);
    font-weight: 500;
    padding: 0 10px;
    user-select: none;
  }
  /* Specific Colors */
  .premium-text {
    color: var(--premium);
  }
  .discount-text {
    color: var(--discount);
  }
  .muted-label {
    color: var(--text-muted);
  }
  /* Alignment Utilities */
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .text-center {
    text-align: center;
  }
  /* Responsive adjustments for very small screens */
  @media (max-width: 350px) {
    .si-grid {
      grid-template-columns: 1fr;
    }
    .si-connector {
      display: none;
    } /* Hide lines on tiny screens for clarity */
    .text-right, .text-left {
      text-align: center;
    }
    .si-wrapper {
      padding: 10px;
    }
  }