/* AMI Mailroom – pricing page layout.
   Basic, Plus and Max are the main plans. The free CRM and the 14-day email
   trial sit in a panel below them. Colours are the ABTA 2026 brand:
   Deep Indigo #1A237E, Gold Ochre #F4A300, pale indigo #EEF0FA, charcoal #333333. */

.mr-plancards.mr-plancards--main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .mr-plancards.mr-plancards--main { grid-template-columns: minmax(0, 1fr); } }
.mr-plancards--main .mr-plancard { border-top: 5px solid #1A237E; }

.mr-freeplans { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: #EEF0FA; border-radius: 16px; }
.mr-freeplans h3 { margin: 0 0 .25rem; color: #1A237E; }
.mr-freeplans__lead { margin: 0 0 1rem; color: #333333; }
.mr-freeplans__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .mr-freeplans__row { grid-template-columns: minmax(0, 1fr); } .mr-freeplans { padding: 1rem; } }
.mr-freeplans__card { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #CCCCCC; border-radius: 12px; }
.mr-freeplans__card h4 { margin: 0; font-size: 1.0625rem; }
.mr-freeplans__card p { margin: 0; color: #555555; font-size: .9375rem; }
.mr-freeplans__card .mr-freeplans__price { color: #333333; font-weight: 700; }
.mr-freeplans__card .dr-button { align-self: flex-start; margin-top: .5rem; }

/* CRM-only plans on the pricing page */
.mr-crmplans { margin: 1.5rem 0; }
.mr-crmplans h3 { margin: 0 0 .25rem; color: #1A237E; }
/* The plan card heading is charcoal, as on the Basic, Plus and Max cards. */
.mr-crmplans .mr-plancard h3 { color: #333333; }
.mr-crmplans__lead { margin: 0 0 1rem; color: #333333; }
.mr-crmplans__choose { white-space: nowrap; }
.mr-crmplans__choose .dr-button { margin: .15rem .35rem .15rem 0; }
@media (max-width: 700px) { .mr-crmplans__choose { white-space: normal; } }
@media (max-width: 700px) {
  #mr-crm-table, #mr-crm-table tbody, #mr-crm-table tr, #mr-crm-table th, #mr-crm-table td { display: block; width: 100%; }
  #mr-crm-table thead { position: absolute; left: -9999px; }
  #mr-crm-table tr { padding: .75rem 0; border-bottom: 1px solid #CCCCCC; }
  #mr-crm-table th[scope="row"], #mr-crm-table td { padding: .1rem 0; border: 0; }
  #mr-crm-table th[scope="row"]::after { content: " contacts"; font-weight: 400; }
  #mr-crm-table td:nth-of-type(1)::before { content: "Monthly: "; color: #555555; }
  #mr-crm-table td:nth-of-type(2)::before { content: "Yearly: "; color: #555555; }
  #mr-crm-table td.mr-crmplans__choose { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .5rem; }
  #mr-crm-table td.mr-crmplans__choose .dr-button { margin: 0; }
}
