/* Styles for content-pricing-opoverride.php (Pricing Table). */

.pricing-plan{
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.pricing-plan,
.pricing-plan-body p,
.pricing-plan-body li{
  color: #212529;
}
.pricing-plan-header{
  padding: 22px;
  text-align: center;
}
.pricing-plan-header h3,
.pricing-plan-header p{
  margin-bottom: 0;
}
.pricing-plan-body{
  flex-grow: 1;
  padding: 26px;
}
.pricing-plan-body .pricing-plan-price{
  margin-bottom: 16px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.pricing-plan-currency{
  font-size: 24px;
  vertical-align: top;
}
.pricing-plan-period{
  font-size: 16px;
  font-weight: 400;
}
.pricing-plan-list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-plan-list li{
  margin-bottom: 8px;
}
.pricing-plan-footer{
  padding: 0 26px 28px;
  text-align: center;
}


/* =====  Tier cards (Tiers and Detailed styles)  ======== */

.tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tier-cards-detailed {
  gap: 22px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
}

.tier-card-label {
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tier-card h3 {
  font-size: 40px;
}
.tier-card-price {
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tier-card-price strong {
  margin-left: 4px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.tier-card-button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

/* Line and link under the cards */
.tier-cards-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}
.tier-cards-foot p {
  margin: 0;
  font-size: 14.5px;
}


/* -----  Tiers: dark cards with a check list (on a dark section)  ----- */

.tier-cards-tiers .tier-card {
  padding: 36px 34px 34px;
  background-color: #191816;
  border: 1px solid #37332e;
  color: #f2eee6;
}
.tier-cards-tiers .tier-card-featured {
  border-color: rgba(207, 111, 9, 0.7);
  box-shadow: inset 0 3px 0 #b45f06;
}
.tier-cards-tiers .tier-card-label {
  color: #cbc4bc;
}
.tier-cards-tiers h3 {
  margin: 12px 0 6px;
  color: #f2eee6;
}
.tier-cards-tiers .tier-card-price {
  margin: 6px 0 18px;
  color: #e3893a;
}
.tier-cards-tiers .tier-card-price strong {
  font-size: 30px;
  color: #f2eee6;
}
.tier-cards-tiers .tier-card-text {
  margin: 0;
  font-size: 15.5px;
  color: rgba(242, 238, 230, 0.76);
}
.tier-cards-tiers .tier-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 30px;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid #2e2b27;
}
.tier-cards-tiers .tier-card-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(242, 238, 230, 0.82);
}
/* Check mark */
.tier-cards-tiers .tier-card-list li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #cf6f09;
  border-bottom: 2px solid #cf6f09;
  transform: rotate(-45deg);
}
.section-text-light .tier-cards-foot p {
  color: rgba(242, 238, 230, 0.7);
}


/* -----  Detailed: white or black cards  ----- */

.tier-cards-detailed .tier-card {
  padding: 40px 38px 36px;
  background-color: #ffffff;
  border: 1px solid #d3cbbf;
  box-shadow: inset 0 3px 0 #b45f06;
  color: #100f0e;
}
.tier-cards-detailed .tier-card-dark {
  background-color: #100f0e;
  border-color: #100f0e;
  color: #f2eee6;
}
.tier-cards-detailed .tier-card-label {
  color: #b45f06;
}
.tier-cards-detailed .tier-card-dark .tier-card-label {
  color: #e3893a;
}
.tier-cards-detailed h3 {
  margin: 12px 0 4px;
}
.tier-cards-detailed .tier-card-price {
  margin: 4px 0 18px;
  color: #b45f06;
}
.tier-cards-detailed .tier-card-dark .tier-card-price {
  color: #e3893a;
}
.tier-cards-detailed .tier-card-price strong {
  font-size: 28px;
  color: #100f0e;
}
.tier-cards-detailed .tier-card-dark .tier-card-price strong {
  color: #f2eee6;
}
.tier-cards-detailed .tier-card-text {
  margin: 0;
  font-size: 16px;
}

/* Two short blocks */
.tier-card-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #d3cbbf;
}
.tier-card-dark .tier-card-roles {
  border-color: #2e2b27;
}
.tier-card-roles div {
  font-size: 14.5px;
  color: #46413b;
}
.tier-card-dark .tier-card-roles div {
  color: rgba(242, 238, 230, 0.74);
}
.tier-card-roles b {
  display: block;
  margin-bottom: 4px;
  font-family: "Charpentier", "Garamond Fill", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: #100f0e;
}
.tier-card-dark .tier-card-roles b {
  color: #f2eee6;
}

.tier-card-list-label {
  display: block;
  margin: 26px 0 4px;
}

/* Check list with lines between */
.tier-cards-detailed .tier-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d3cbbf;
}
.tier-cards-detailed .tier-card-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid #d3cbbf;
  font-size: 15px;
  color: #2e2b27;
}
.tier-cards-detailed .tier-card-dark .tier-card-list {
  border-color: #2e2b27;
}
.tier-cards-detailed .tier-card-dark .tier-card-list li {
  border-color: #2e2b27;
  color: rgba(242, 238, 230, 0.82);
}
.tier-cards-detailed .tier-card-list li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #b45f06;
  border-bottom: 2px solid #b45f06;
  transform: rotate(-45deg);
}
.tier-cards-detailed .tier-card-button {
  padding-top: 28px;
}


/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .tier-cards {
    grid-template-columns: 1fr;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .tier-cards-tiers .tier-card {
    padding: 30px 24px;
  }
  .tier-cards-detailed .tier-card {
    padding: 30px 24px;
  }
  .tier-cards-detailed h3 {
    font-size: 34px;
  }
  .tier-card-roles {
    grid-template-columns: 1fr;
  }
}

/* Tier sections use a slightly smaller heading, italic line kept on one line */
.pricing-style-tiers .section-head h2 {
  font-size: 52px;
}
@media (min-width: 768px) {
  .pricing-style-tiers .section-head h2 em {
    white-space: nowrap;
  }
}
@media (max-width: 1199.98px) {
  .pricing-style-tiers .section-head h2 {
    font-size: 44px;
  }
}
@media (max-width: 767.98px) {
  .pricing-style-tiers .section-head h2 {
    font-size: 34px;
  }
}
