/* Two expandable sections per tariff, shared by the home and pricing pages. */
.pricing-grid .price-card { align-self: start; }
.pricing-grid .price-card-inner { display: flex; flex-direction: column; gap: 16px; min-height: 370px; padding: 30px 22px 24px; }
.pricing-grid .price-card h2, .pricing-grid .price-card h3 { font-size: 23px; line-height: 1.7; margin: 0; white-space: normal; }
.pricing-grid .price { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 4px 0 12px; white-space: normal; }
.pricing-grid .price .plan-duration { display: block; font-size: 12px; font-weight: 400; color: #5d6878; line-height: 1.9; }
.pricing-grid .plan-details { border: 1px solid #cddff0; border-radius: 12px; min-width: 0; }
.pricing-grid .plan-details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 12px; color: #174b7c; background: #f3f8fe; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.9; list-style: none; cursor: pointer; }
.pricing-grid .plan-details summary::-webkit-details-marker { display: none; }
.pricing-grid .plan-details summary > .icon { flex: 0 0 20px; }
.pricing-grid .plan-details summary svg { width: 20px; height: 20px; }
.pricing-grid .plan-details[open] summary { border-radius: 12px 12px 0 0; }
.pricing-grid .plan-details[open] summary > .icon { transform: rotate(180deg); }
.pricing-grid .plan-details summary:focus-visible { outline: 3px solid #ff8b37; outline-offset: 3px; }
.pricing-grid .plan-detail-content { text-align: right; padding: 12px; }
.pricing-grid .plan-detail-content h3 { display: block; font-size: 15px; line-height: 1.9; margin: 10px 0; }
.pricing-grid .plan-detail-content .plan-information-list { display: block; list-style: decimal; padding: 0 22px 0 0; margin: 10px 0; border: 0; }
.pricing-grid .plan-detail-content .plan-information-list li { display: list-item; list-style: decimal; min-height: 0; height: auto; margin: 7px 0; padding: 0; font-size: 13px; font-weight: 400; line-height: 2; white-space: normal; overflow-wrap: anywhere; }
.pricing-grid .plan-detail-content p { border: 0; padding: 0; margin: 10px 0; font-size: 13px; font-weight: 400; line-height: 2; white-space: normal; }
.pricing-grid .price-card .button { margin-top: auto; height: auto; min-height: 46px; white-space: normal; line-height: 1.7; }
.pricing-payment-note, .pricing-expiry-note { max-width: 1028px; margin: 22px auto 0; color: #5d6878; font-size: 13px; line-height: 2; text-align: center; }
.pricing-expiry-note { padding: 16px; border-radius: 12px; background: #fff5e9; color: #74431e; }
.coach-card.coach-card-featured{background:#fff9e8;border-color:#e8bd58;position:relative}
.coach-tariff-badge{position:absolute;inset-inline-start:12px;top:12px;padding:3px 10px;border-radius:20px;background:#ffe6a4;color:#704915;font-size:11px;font-weight:700}
.coach-promotion{display:flex;align-items:center;gap:20px;margin-block:36px;padding:24px;border:1px solid #d1e1f3;border-radius:20px;background:#f2f8ff}
.coach-promotion-photo{width:80px;height:80px;flex:0 0 80px;border-radius:16px;overflow:hidden}.coach-promotion-photo img{width:100%;height:100%;object-fit:cover}
.coach-promotion>div:nth-child(2){flex:1;min-width:0}.coach-promotion h2{font-size:20px}.coach-promotion p{font-size:14px;overflow-wrap:anywhere}.coach-promotion>div>span{font-size:12px;color:#5d6878}
@media(max-width:600px){.coach-promotion{flex-wrap:wrap;padding:18px;gap:14px}.coach-promotion>.button{width:100%}.coach-promotion h2{font-size:18px}}
@media(max-width:760px) { .pricing-grid .price-card-inner { min-height: 0; padding: 24px 18px; } .pricing-grid .price-card h2, .pricing-grid .price-card h3 { font-size: 22px; } .pricing-grid .plan-detail-content h3 { font-size: 15px; } }
.homepage-promotions{margin-block:36px 64px}.homepage-promotions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.homepage-promotions .section-heading p{font-size:14px;color:#626c79;margin-top:10px}.homepage-promotions .coach-card{position:relative;border-color:#c6daec}
.coach-card.coach-card-pro{background:#edf7ff;border-color:#82b9eb}.coach-card-pro .coach-tariff-badge{background:#2476b8;color:#fff}
.coach-profile-tariff{display:inline-block;border-radius:20px;padding:4px 14px;margin:12px 0;background:#fff1cb;color:#704915;font-size:13px}.coach-profile-tariff[data-tariff=pro]{background:#e4f2ff;color:#185687}
@media(max-width:1024px){.homepage-promotions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.homepage-promotions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.homepage-promotions .section-heading{align-items:flex-start;gap:14px}.homepage-promotions .section-heading h2{font-size:24px}.homepage-promotions .text-link{font-size:12px}.homepage-promotions{margin-block:24px 40px}}
@media(max-width:480px){.homepage-promotions-grid{grid-template-columns:minmax(0,1fr)}.homepage-promotions .section-heading{flex-direction:column}}

/* The tariff badge sits opposite the raised profile photo. */
.coach-tariff-badge{inset-inline-start:auto;inset-inline-end:12px}
