/* outer “card” */
.rich-skin {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;
  color: #6679b0; /* your chosen bluish-ash text color */
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  padding: 28px;
  margin: 26px 0;
  /* Centered radial gradient (equal top/bottom spread) */
  background: radial-gradient(
      circle at 50% 50%,    /* perfectly centered */
      #f5f7ff 0%,           /* light edge */
      #e0e7ff 35%,          /* mid tone */
      #c7d2fe 70%,          /* medium ash-blue */
      #818cf8 100%          /* deep center */
  );
  background-size: 160% 160%;  /* ensures even coverage */
background-position: center; /* centers gradient visually */
}

/* center any heading you already have (no markup change needed) */
.rich-skin :is(h1,h2,h3,.head,.title){
  text-align: center;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  margin: 4px 0 18px 0;
  color: inherit;            /* keep the foreground contrast */
}

/* create a “surface” feel for your existing table */
.rich-skin table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-bg);
  color: var(--surface-ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;          /* rounds corners cleanly */
}

/* table head (uses whatever thead/th you already have) */
.rich-skin thead th{
  background: #f9fafb;
  color: #111827;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

/* table body cells */
.rich-skin tbody td{
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.rich-skin tbody tr:nth-child(even){
  background: #fcfcfd;
}

.rich-skin tbody tr:hover{
  background: #f3f4f6;
}

/* links inside cells (keeps your existing anchors) */
.rich-skin td a{
  text-decoration: none;
  font-weight: 600;
}

/* OPTIONAL download icon without changing markup (pseudo-element)
   add class="download-link" to *existing* download <a>, same cell, no new column */
.rich-skin a.download-link::before{
  content: "⤓";              /* simple glyph; swap if you add Font Awesome */
  display: inline-block;
  margin-right: 8px;
  font-size: 14px;
  line-height: 0;
}

/* if you DO include Font Awesome (CDN above), this makes a richer icon
   (still no format change — just add class to the same <a>) */
.rich-skin a.download-link.fa::before{
  content: "\f019";          /* fa-download */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  display: inline-block;
  margin-right: 8px;
}

.rich-skin .read-more {
  display: inline-block;
  padding: 10px 22px;
  margin-top: 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;

  background-color: #374151;  /* dark ash background */
  color: #ffffff;  !important;           /* pure white text */
  border: none;               /* remove any border */
  outline: none;              /* remove orange outline */
  box-shadow: none;           /* no inner or outer glow */
  cursor: pointer;

  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover state — slightly lighter ash */
.rich-skin .read-more:hover {
  background-color: #4b5563;
  transform: translateY(-2px);
}

/* Remove browser focus ring completely */
.rich-skin .read-more:focus,
.rich-skin .read-more:active {
  outline: none;
  box-shadow: none;
  background-color: #4b5563;
}

/* FINAL override for Read More link */
a.read-more,
.rich-skin a.read-more,
.rich-skin .read-more,
.rich-skin span.gold_bg a.read-more,
span.gold_bg a.read-more {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
}


/* base text inside the skin */
.rich-skin, 
.rich-skin p,
.rich-skin span,
.rich-skin li,
.rich-skin td,
.rich-skin th,
.rich-skin h1,
.rich-skin h2,
.rich-skin h3,
.rich-skin h4,
.rich-skin h5,
.rich-skin h6 {
  color: #6679b0;
}

/* links in all states */
.rich-skin a:link,
.rich-skin a:visited,
.rich-skin a:hover,
.rich-skin a:active {
  color: #6679b0;
}
