/* Modern restyle of the course price block (overrides original inline styles). */
.iy-modern .iy-pricing{max-width:1160px;margin:0 auto;padding:72px 20px;font-family:TildaSans,Arial,sans-serif}
.iy-modern .iy-h2{font-family:TildaSans,Arial,sans-serif;font-size:40px;line-height:1.15;font-weight:700;color:#1d2b44;text-align:center;margin:0 0 40px;letter-spacing:-.01em}
.iy-modern .iy-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;border:0;padding:0}
.iy-modern .iy-row{display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:28px 24px;margin:0;background:#fff;border:1px solid #e3e9f2;border-radius:18px;box-shadow:0 2px 6px rgba(24,103,219,.04);transition:transform .2s,box-shadow .2s,border-color .2s}
.iy-modern .iy-row:hover{transform:translateY(-3px);border-color:#bcd2f5;box-shadow:0 16px 36px -14px rgba(24,103,219,.35)}
.iy-modern .iy-row:first-child{background:linear-gradient(160deg,#1867db,#0f4fb0);border-color:transparent;color:#fff}
.iy-modern .iy-info{display:flex;flex-direction:column-reverse;gap:10px;padding:0;margin:0}
.iy-modern .iy-title{font-size:21px;line-height:1.25;font-weight:700;color:#1d2b44;margin:0}
.iy-modern .iy-note{font-size:14px;line-height:1.45;color:#6b7a90;margin:0}
.iy-modern .iy-side{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:12px;padding:0;margin:0;min-width:0}
.iy-modern .iy-price{font-size:40px;line-height:1;font-weight:800;color:#1867db;margin:0 0 6px;letter-spacing:-.02em}
.iy-modern .iy-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.iy-modern .iy-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 10px;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none;color:#fff;margin:0;transition:filter .2s}
.iy-modern .iy-btn:hover{filter:brightness(1.08)}
.iy-modern .iy-action-hint{font-size:12px;color:#8a97ab;text-align:center;margin:0}
.iy-modern .gift-btn{margin:4px 0 0;height:44px;border-radius:10px;background:transparent;border:1.5px solid #1867db;color:#1867db;font-weight:600}
.iy-modern .gift-btn::before{content:"🎁 "}
.iy-modern .gift-btn:hover{background:#1867db;color:#fff}
.iy-modern .iy-row:first-child .iy-title,.iy-modern .iy-row:first-child .iy-price{color:#fff}
.iy-modern .iy-row:first-child .iy-note,.iy-modern .iy-row:first-child .iy-action-hint{color:rgba(255,255,255,.75)}
.iy-modern .iy-row:first-child .gift-btn{background:#d5e825;border-color:#d5e825;color:#000}
.iy-modern .iy-row:first-child .gift-btn:hover{background:#e6ff03}
@media (max-width:640px){.iy-modern .iy-pricing{padding:48px 16px}.iy-modern .iy-h2{font-size:28px;margin-bottom:28px}.iy-modern .iy-price{font-size:34px}}
/* Layout: featured group card on top, four individual options below. */
.iy-modern .iy-list{grid-template-columns:repeat(4,1fr)}
.iy-modern .iy-row:first-child{grid-column:1/-1;flex-direction:row;align-items:center;padding:32px 36px}
.iy-modern .iy-row:first-child .iy-info{flex:1;max-width:520px}
.iy-modern .iy-row:first-child .iy-title{font-size:26px}
.iy-modern .iy-row:first-child .iy-side{width:320px;flex:none}
@media (max-width:1000px){.iy-modern .iy-list{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.iy-modern .iy-list{grid-template-columns:1fr}.iy-modern .iy-row:first-child{flex-direction:column;align-items:stretch;padding:28px 24px}.iy-modern .iy-row:first-child .iy-side{width:auto}}
.iy-modern a.iy-btn,.iy-modern a.iy-btn:hover{color:#fff!important}
/* Two options only: show them side by side as equal cards. */
.iy-modern .iy-list:has(> .iy-row:nth-child(2):last-child){grid-template-columns:1fr 1fr}
.iy-modern .iy-list:has(> .iy-row:nth-child(2):last-child) .iy-row:first-child{grid-column:auto;flex-direction:column;align-items:stretch;padding:28px 24px}
.iy-modern .iy-list:has(> .iy-row:nth-child(2):last-child) .iy-row:first-child .iy-side{width:auto}
@media (max-width:640px){.iy-modern .iy-list:has(> .iy-row:nth-child(2):last-child){grid-template-columns:1fr}}
.iy-modern .iy-row{align-items:stretch;text-align:left}
.iy-modern .iy-list:has(> .iy-row:nth-child(2):last-child) .iy-row{align-items:stretch}
.iy-modern .iy-side{align-items:stretch!important}
.iy-modern .iy-info,.iy-modern .iy-price{text-align:left}
