/* Shared presentation for tariff cards outside the homepage.  The HTML,
   offer data, filters and tracked destinations deliberately remain unchanged. */

.deal-card,
.quick-pick,
.article-deal {
  border: 1px solid #dce6df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(4, 41, 30, .065);
}

.deal-card {
  min-height: 0;
  padding: 18px;
  gap: 12px !important;
  border: 1.5px solid #BBDDF7;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(16, 43, 62, .05);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.deal-card:hover,
.deal-card:has(.card-stretch-link:hover),
.deal-card:focus-within {
  border-color: #83C3F4;
  box-shadow: 0 5px 15px rgba(16, 43, 62, .08);
  transform: none;
}

.quick-pick:hover,
.article-deal:hover {
  border-color: #b8d6c0;
  box-shadow: 0 16px 30px rgba(4, 41, 30, .11);
}

.deal-card:focus-within {
  outline: 3px solid rgba(0, 102, 221, .22);
  outline-offset: 2px;
}

.deal-card .deal-heading {
  min-height: 27px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D8EAF9;
}

.deal-card .provider-link,
.quick-pick-provider b,
.article-deal > b {
  color: #075d4e !important;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 850;
}

.deal-card .deal-card-badge,
.quick-pick > span,
.article-deal > .pill {
  border: 0;
  background: #eaf5ed;
  color: #075d4e;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}
.deal-card .deal-card-badge { position: static; margin-left: auto; }

.deal-card .deal-name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.deal-card .deal-hero {
  display: grid;
  gap: 8px;
  padding: 3px 0 0 !important;
  border: 0;
}

.deal-card .deal-hero > div:first-child { grid-row: 2; }
.deal-card .data-amount { grid-row: 1; text-align: left; }
.deal-card .data-amount b {
  color: #102b3e;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: clamp(28px, 2.2vw, 34px);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: 1;
}
.deal-card .data-amount span { display: none; }
.deal-card .fine { display: none; }
.deal-card .price,
.article-deal .deal-price {
  color: #c92d39;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1;
}
.deal-card .price small,
.article-deal .deal-price small {
  color: #59615e;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.deal-card .intro-pricing,
.quick-pick-promo {
  color: #075d4e;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}
.deal-card .commitment,
.deal-card .effective {
  color: #59615e;
  font-size: 13px;
  font-weight: 650;
}

.deal-card .deal-key-facts { gap: 9px; }
.deal-card .network-line {
  color: #59615e;
  font-size: 12px;
}
.deal-card .network-line b { color: #102b3e; }
.deal-card .deal-badges { gap: 6px; }
.deal-card .deal-badges span,
.article-deal .deal-features {
  border: 0;
  border-radius: 9px;
  background: #eff6f0 !important;
  color: #075d4e !important;
  font-size: 11px;
  font-weight: 800;
}
.deal-card .deal-badges span { padding: 7px 8px; }

/* The full comparison remains available through the visible secondary link. */
.deal-card .deal-more { display: none; }

.deal-card .deal-cta-wrap {
  display: grid;
  align-items: start;
  row-gap: 12px;
  margin-top: auto;
}
.deal-card .deal-cta {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  background: #ffd84d !important;
  color: #102b3e !important;
  font-size: 20px;
  font-weight: 700;
}
.quick-pick .button,
.article-deal > a:last-child {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0 !important;
  border-radius: 9px;
  background: #ffd84d !important;
  color: #171b18 !important;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}
.deal-card .deal-cta:hover {
  background: #f4c82f !important;
}
.quick-pick .button:hover,
.article-deal > a:last-child:hover {
  background: #f4c82f !important;
}
.deal-card .deal-external-note { display: none; }
.deal-card .deal-cta-wrap > .deal-details-link {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  color: #0066DD !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  text-align: center;
  text-decoration-line: underline !important;
  text-decoration-color: #0066DD !important;
  text-underline-offset: 2px;
}
.deal-card .deal-cta:focus-visible,
.deal-card .deal-details-link:focus-visible,
.deal-card .card-stretch-link:focus-visible {
  outline: 3px solid #0066DD;
  outline-offset: 3px;
}

.quick-pick {
  min-height: 0;
  padding: 17px;
  gap: 10px;
}
.quick-pick-provider {
  padding-bottom: 11px;
  border-bottom: 1px solid #e2e9e3;
}
.quick-pick strong {
  color: #102b3e;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.055em;
}
.quick-pick strong small {
  color: #c92d39;
  font-size: 22px;
  font-weight: 850;
}
.quick-pick > p:not(.quick-pick-promo) { color: #59615e; font-size: 12px; }

.article-deal {
  min-height: 0;
  padding: 18px;
  gap: 9px;
}
.article-deal > b {
  padding-bottom: 11px;
  border-bottom: 1px solid #e2e9e3;
}
.article-deal > b + span:not(.deal-price) {
  color: #102b3e;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1;
}
.article-deal .deal-meta { color: #59615e; font-size: 12px; }
.article-deal .deal-features {
  align-self: flex-start;
  padding: 7px 8px;
}
.article-deal > a:last-child { margin-top: auto; }
.article-deal-empty > p { color: #59615e; }

@media (max-width: 560px) {
  .deal-card,
  .quick-pick,
  .article-deal { padding: 16px; }
  .deal-card { border-radius: 18px; }
  .deal-card .data-amount b,
  .article-deal > b + span:not(.deal-price),
  .quick-pick strong { font-size: 27px; }
}
