/* Page-specific styles for agricultural-commodity-tokenization-guide. Loaded last, after
   blog-details.css, real-world-asset-tokenization-guide.css and polymarket-tables.css. */

/* blog-details.css draws this pill as dark text on a green fill; the guide CSS already
   resets its background and border, so only the text colour and spacing are fixed here. */
.bx-updated-pill {
  color: #fff;
  font-weight: 400;
  margin-left: 12px;
}

.blog-single-wrap .bx-meta-strip {
  margin-bottom: 34px;
}

/* Traditional vs Tokenized comparison table (base styles: polymarket-tables.css) */
.agri-compare .bx-table-wrap--auto {
  width: 100%;
}

.agri-compare .bx-table th,
.agri-compare .bx-table td {
  text-align: left !important;
}

.agri-compare .bx-table tbody td:first-child {
  width: 26%;
}

/* Icon + text as two flex items: the gap after every tick/cross stays a fixed 10px */
.agri-compare .bx-cell-icon {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.agri-compare .agri-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.agri-compare .bx-cell-icon i {
  font-size: 18px;
  line-height: 1.45;
  flex-shrink: 0;
}

.agri-compare .agri-no {
  color: #c0392b;
}

.agri-compare .agri-yes {
  color: #00897b;
}

.agri-compare .bx-table tbody td:nth-child(3) {
  font-weight: 600;
}

/* Phones: each row becomes a card so the tokenized column is never scrolled out of view */
@media (max-width: 575px) {
  .agri-compare .bx-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .agri-compare .bx-table,
  .agri-compare .bx-table tbody,
  .agri-compare .bx-table tr,
  .agri-compare .bx-table td {
    display: block;
    width: 100% !important;
  }

  .agri-compare .bx-table tbody td {
    padding: 4px 16px 12px !important;
    font-size: 14px !important;
  }

  .agri-compare .bx-table tbody td:first-child {
    padding-top: 14px !important;
    font-size: 15px !important;
    color: #4b1fa0 !important;
  }

  .agri-compare .bx-table tbody td:nth-child(2)::before,
  .agri-compare .bx-table tbody td:nth-child(3)::before {
    display: block;
    margin-bottom: 4px;
    font-family: "Exo 2", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6580;
  }

  .agri-compare .bx-table tbody td:nth-child(2)::before {
    content: "Traditional";
  }

  .agri-compare .bx-table tbody td:nth-child(3)::before {
    content: "Tokenized";
  }
}
