.dpa40-course {
    --dpa40-navy: #061d40;
    --dpa40-navy-2: #0b3268;
    --dpa40-gold: #f4b72e;
    --dpa40-ink: #0c294f;
    --dpa40-muted: #5e7288;
    --dpa40-line: #dce5ed;
    --dpa40-bg: #f5f8fb;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 28px 0 72px;
    overflow-x: clip;
    background: var(--dpa40-bg);
    color: var(--dpa40-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.dpa40-course *,
.dpa40-course *::before,
.dpa40-course *::after {
    box-sizing: border-box;
}

.dpa40-course svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dpa40-shell {
    width: min(1500px, calc(100% - 44px));
    margin-inline: auto;
}

.dpa40-hero {
    position: relative;
    min-height: 540px;
    border-radius: 25px;
    isolation: isolate;
}

.dpa40-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d5e0e9;
    border-radius: 25px;
    background: #dce5ec;
    box-shadow: 0 18px 50px rgba(11, 43, 77, 0.13);
}

.dpa40-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.dpa40-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 29, 64, 0.08), transparent 56%);
    pointer-events: none;
}

.dpa40-photo-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #8396a8;
    font-size: 48px;
    font-weight: 900;
}

.dpa40-hero-copy {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    display: block;
    width: 46%;
    min-width: 590px;
    overflow: hidden;
    border-radius: 25px 0 0 25px;
    clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
    background: linear-gradient(108deg, rgba(6, 29, 64, 0.995) 0%, rgba(6, 29, 64, 0.98) 78%, rgba(6, 29, 64, 0.91) 100%);
    color: #fff;
}

.dpa40-hero-copy::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -48px;
    width: 320px;
    height: 250px;
    opacity: 0.08;
    background-image:
        linear-gradient(30deg, transparent 24%, #fff 25%, #fff 26%, transparent 27%, transparent 74%, #fff 75%, #fff 76%, transparent 77%),
        linear-gradient(150deg, transparent 24%, #fff 25%, #fff 26%, transparent 27%, transparent 74%, #fff 75%, #fff 76%, transparent 77%);
    background-size: 66px 110px;
}

.dpa40-copy-inner {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 34px 112px 34px 48px;
}

.dpa40-category {
    display: inline-flex;
    min-height: 38px;
    align-self: flex-start;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid var(--dpa40-gold);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.dpa40-category svg {
    width: 18px;
    height: 18px;
}

.dpa40-copy-inner h1 {
    display: grid;
    max-width: 600px;
    gap: 3px;
    margin: 18px 0 0 !important;
    color: #fff !important;
    font-size: clamp(38px, 3vw, 50px) !important;
    font-weight: 900 !important;
    line-height: 1.03 !important;
    letter-spacing: -0.04em !important;
    text-wrap: balance;
}

.dpa40-copy-inner h1 span {
    display: block;
}

.dpa40-meta {
    display: flex;
    align-items: center;
    margin-top: 22px;
}

.dpa40-meta > div {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.dpa40-meta > div:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
}

.dpa40-meta > div > span {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    color: var(--dpa40-gold);
}

.dpa40-meta svg {
    width: 25px;
    height: 25px;
}

.dpa40-meta p {
    display: grid;
    min-width: 0;
    gap: 3px;
    margin: 0;
}

.dpa40-meta small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 750;
}

.dpa40-meta strong {
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
}

.dpa40-meta em {
    color: var(--dpa40-gold);
    font-style: normal;
    letter-spacing: 1px;
}

.dpa40-summary {
    display: -webkit-box;
    max-width: 560px;
    margin: 20px 0 0;
    padding-top: 17px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.dpa40-booking {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 20 !important;
    display: block !important;
    width: 400px !important;
    max-width: calc(100% - 40px) !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
    border: 1px solid var(--dpa40-gold);
    border-radius: 21px;
    background: linear-gradient(180deg, #0a2c5a 0%, #061d40 100%);
    color: #fff;
    box-shadow: 0 18px 46px rgba(3, 18, 40, 0.28);
    animation: dpa40Glow 4.5s ease-in-out infinite;
}

.dpa40-booking > header {
    display: flex !important;
    min-height: 64px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    padding: 15px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dpa40-booking > header h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.dpa40-booking > header > span {
    max-width: 142px;
    padding: 7px 11px;
    border: 1px solid rgba(244, 183, 46, 0.9);
    border-radius: 999px;
    color: #ffd66a;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
}

.dpa40-booking-body {
    padding: 0 18px 15px;
}

.dpa40-price {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dpa40-price > div {
    display: grid;
    gap: 2px;
}

.dpa40-price b {
    color: #fff;
    font-size: 14px;
}

.dpa40-price small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 700;
}

.dpa40-price strong {
    color: #fff;
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
}

.dpa40-price ins {
    text-decoration: none;
}

.dpa40-price del {
    display: none;
}

.dpa40-booking-form {
    margin-top: 13px;
}

.dpa40-booking-form > label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.dpa40-booking-row {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
}

.dpa40-quantity {
    display: grid;
    grid-template-columns: 33px 40px 33px;
    height: 43px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.dpa40-quantity button,
.dpa40-quantity input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
}

.dpa40-quantity button {
    background: #eef3f7 !important;
    color: #08244a !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    cursor: pointer;
}

.dpa40-quantity input {
    width: 40px !important;
    height: 43px !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: textfield;
    background: #fff !important;
    color: #08244a !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.dpa40-book-button {
    min-height: 43px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--dpa40-gold) !important;
    color: #08244a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.dpa40-book-button:hover {
    background: #e1a71f !important;
}

.dpa40-capacity {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dpa40-capacity > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10.5px;
}

.dpa40-capacity strong {
    color: #fff;
    font-size: 10.5px;
}

.dpa40-progress {
    height: 5px;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.dpa40-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--dpa40-gold);
}

.dpa40-state {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(108, 174, 231, 0.4);
    border-radius: 11px;
    background: #153e70;
}

.dpa40-state strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.dpa40-state p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11.5px;
    line-height: 1.4;
}

.dpa40-booking-details {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(244, 183, 46, 0.45);
}

.dpa40-booking-details h3 {
    margin: 0 0 9px !important;
    color: var(--dpa40-gold) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.dpa40-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.dpa40-detail-tile {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.dpa40-detail-tile > span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: var(--dpa40-gold);
}

.dpa40-detail-tile svg {
    width: 19px;
    height: 19px;
}

.dpa40-detail-tile p {
    display: grid;
    min-width: 0;
    gap: 2px;
    margin: 0;
}

.dpa40-detail-tile small {
    color: rgba(255, 255, 255, 0.59);
    font-size: 8px;
    font-weight: 750;
}

.dpa40-detail-tile strong {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 9.5px;
    font-weight: 850;
    line-height: 1.25;
}

.dpa40-details-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.dpa40-calendar-after-booking {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 8px 9px;
    border: 1px solid rgba(244, 183, 46, 0.3);
    border-radius: 9px;
    background: rgba(244, 183, 46, 0.07);
}

.dpa40-calendar-after-booking > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--dpa40-gold);
}

.dpa40-calendar-after-booking svg {
    width: 19px;
    height: 19px;
}

.dpa40-calendar-after-booking p {
    display: grid;
    gap: 2px;
    margin: 0;
}

.dpa40-calendar-after-booking strong {
    color: #fff;
    font-size: 9.5px;
}

.dpa40-calendar-after-booking small {
    color: rgba(255, 255, 255, 0.67);
    font-size: 8px;
    line-height: 1.3;
}

.dpa40-content {
    padding-top: 48px;
}

.dpa40-tabs {
    display: flex;
    min-height: 54px;
    align-items: stretch;
    border-bottom: 1px solid #d5e0e8;
}

.dpa40-tabs button {
    position: relative;
    min-width: 145px;
    padding: 0 24px;
    border: 0;
    background: transparent;
    color: #65788c;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.dpa40-tabs button.is-active,
.dpa40-tabs button:hover {
    color: var(--dpa40-ink);
}

.dpa40-tabs button.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--dpa40-gold);
}

.dpa40-panel {
    padding-top: 14px;
}

.dpa40-panel[hidden] {
    display: none !important;
}

.dpa40-overview-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.76fr;
    gap: 14px;
}

.dpa40-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--dpa40-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 43, 77, 0.07);
}

.dpa40-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 8px;
}

.dpa40-card-title > span {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 50%;
    background: var(--dpa40-navy);
    color: var(--dpa40-gold);
}

.dpa40-card-title svg {
    width: 23px;
    height: 23px;
}

.dpa40-card-title h2 {
    margin: 0 !important;
    color: var(--dpa40-ink) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

.dpa40-rich {
    padding: 0 18px 14px;
    color: #465d73;
    font-size: 13.5px;
    line-height: 1.55;
}

.dpa40-rich > :first-child {
    margin-top: 0;
}

.dpa40-rich > :last-child {
    margin-bottom: 0;
}

.dpa40-rich h1,
.dpa40-rich h2,
.dpa40-rich h3 {
    color: var(--dpa40-ink);
    font-size: 15px;
}

.dpa40-rich ul {
    margin: 8px 0;
    padding-left: 20px;
}

.dpa40-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 18px 16px;
    padding-top: 13px;
    border-top: 1px solid var(--dpa40-line);
}

.dpa40-highlights > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    min-width: 0;
    gap: 8px;
    padding: 0 10px;
    border-right: 1px solid var(--dpa40-line);
}

.dpa40-highlights > div:first-child {
    padding-left: 0;
}

.dpa40-highlights > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.dpa40-highlights > div > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--dpa40-navy);
    color: var(--dpa40-gold);
}

.dpa40-highlights svg {
    width: 19px;
    height: 19px;
}

.dpa40-highlights p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.dpa40-highlights strong {
    font-size: 11px;
}

.dpa40-highlights small {
    color: #687d91;
    font-size: 9.5px;
    line-height: 1.35;
}

.dpa40-table {
    overflow-x: auto;
    padding: 0 18px 16px;
}

.dpa40-table table {
    width: 100%;
    min-width: 450px;
    border: 0 !important;
    border-collapse: collapse !important;
    color: #40566d;
    font-size: 11px;
}

.dpa40-table th {
    padding: 8px 9px !important;
    border: 0 !important;
    background: var(--dpa40-navy) !important;
    color: #fff !important;
    font-weight: 850 !important;
    text-align: left !important;
}

.dpa40-table td {
    padding: 8px 9px !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e8ee !important;
    background: #fff !important;
}

.dpa40-table tr:last-child td {
    border-bottom: 0 !important;
}

.dpa40-table th:first-child,
.dpa40-table td:first-child {
    width: 76px;
    font-weight: 850;
    text-align: center !important;
}

.dpa40-summary-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px 17px 15px;
}

.dpa40-summary-list > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    min-width: 0;
    gap: 7px;
    padding: 9px 5px;
    border-bottom: 1px solid var(--dpa40-line);
}

.dpa40-summary-list > div > span {
    color: var(--dpa40-ink);
}

.dpa40-summary-list svg {
    width: 20px;
    height: 20px;
}

.dpa40-summary-list p {
    display: grid;
    gap: 2px;
    margin: 0;
}

.dpa40-summary-list small {
    color: #718397;
    font-size: 9px;
}

.dpa40-summary-list strong {
    font-size: 10.5px;
    line-height: 1.25;
}

.dpa40-empty-card {
    padding: 14px 18px;
    color: #6b7e92;
    font-size: 13px;
}

.dpa40-full-card {
    min-height: 245px;
}

.dpa40-date-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px 18px 20px;
}

.dpa40-date-panel-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--dpa40-line);
    border-radius: 11px;
    background: #f8fafc;
}

.dpa40-date-panel-item > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--dpa40-navy);
    color: var(--dpa40-gold);
}

.dpa40-date-panel-item svg {
    width: 21px;
    height: 21px;
}

.dpa40-date-panel-item p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.dpa40-date-panel-item small {
    color: #718397;
    font-size: 10px;
}

.dpa40-date-panel-item strong {
    font-size: 13px;
}

.dpa40-booking-panel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 12px 20px 22px;
}

.dpa40-booking-panel-content h3 {
    margin: 0;
    color: var(--dpa40-ink);
    font-size: 20px;
}

.dpa40-booking-panel-content p {
    margin: 6px 0 0;
    color: var(--dpa40-muted);
    font-size: 13px;
}

.dpa40-booking-panel-content button {
    min-height: 43px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--dpa40-gold);
    color: var(--dpa40-ink);
    font-weight: 900;
    cursor: pointer;
}

.dpa40-quiz {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 15px 18px;
    border: 1px solid var(--dpa40-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 43, 77, 0.07);
}

.dpa40-quiz-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dpa40-quiz-heading > span {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 50%;
    background: var(--dpa40-navy);
    color: var(--dpa40-gold);
}

.dpa40-quiz-heading svg {
    width: 24px;
    height: 24px;
}

.dpa40-quiz-heading h2 {
    margin: 0 !important;
    color: var(--dpa40-ink) !important;
    font-size: 18px !important;
}

.dpa40-quiz-heading p {
    margin: 3px 0 0;
    color: var(--dpa40-muted);
    font-size: 10px;
}

.dpa40-question > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
}

.dpa40-answers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.dpa40-answers button {
    display: flex;
    min-height: 41px;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid #d8e2ea;
    border-radius: 8px;
    background: #fff;
    color: var(--dpa40-ink);
    font-weight: 750;
    text-align: left;
    cursor: pointer;
}

.dpa40-answers button b {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    border: 1px solid #b9c7d4;
    border-radius: 50%;
    font-size: 10px;
}

.dpa40-answers button span {
    overflow-wrap: anywhere;
}

.dpa40-answers button.is-correct {
    border-color: #22a367;
    background: #eefaf3;
}

.dpa40-answers button.is-wrong {
    border-color: #d96c64;
    background: #fff3f2;
}

.dpa40-quiz-result {
    display: grid;
    gap: 8px;
}

.dpa40-feedback {
    min-height: 58px;
    padding: 12px;
    border-radius: 9px;
    background: #edf3f7;
    color: #526a80;
    font-size: 11px;
    line-height: 1.45;
}

.dpa40-feedback.is-correct {
    background: #e9f8ee;
    color: #147a49;
}

.dpa40-feedback.is-wrong {
    background: #fff1f0;
    color: #a33c36;
}

.dpa40-next-question {
    justify-self: start;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #cbd8e2;
    border-radius: 8px;
    background: #fff;
    color: var(--dpa40-ink);
    font-size: 10.5px;
    font-weight: 850;
    cursor: pointer;
}

.dpa40-next-question:hover {
    border-color: var(--dpa40-gold);
}

.dpa40-booking.is-focus {
    animation: dpa40Focus 0.8s ease;
}

.dpa40-booking:focus-within {
    box-shadow: 0 0 0 3px rgba(244, 183, 46, 0.2), 0 18px 46px rgba(3, 18, 40, 0.28);
}

@keyframes dpa40Glow {
    0%, 100% { box-shadow: 0 18px 46px rgba(3, 18, 40, 0.28), 0 0 0 0 rgba(244, 183, 46, 0.08); }
    50% { box-shadow: 0 18px 46px rgba(3, 18, 40, 0.28), 0 0 18px 3px rgba(244, 183, 46, 0.22); }
}

@keyframes dpa40Focus {
    50% { box-shadow: 0 0 0 7px rgba(244, 183, 46, 0.22), 0 18px 46px rgba(3, 18, 40, 0.28); }
}

.dpa-cbs-calendar {
    margin: 20px 18px 18px;
    padding: 18px;
    border: 1px solid #d8e4ed;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fbfd, #eef5fa);
}

.dpa-cbs-calendar-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dpa-cbs-calendar-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    background: #08264b;
    color: #f4b72e;
}

.dpa-cbs-calendar-icon svg {
    width: 22px;
    height: 22px;
}

.dpa-cbs-calendar-heading > div {
    display: grid;
    gap: 3px;
}

.dpa-cbs-calendar-heading strong {
    color: #0c294f;
    font-size: 16px;
    line-height: 1.2;
}

.dpa-cbs-calendar-heading small {
    color: #65798d;
    font-size: 11.5px;
    line-height: 1.35;
}

.dpa-cbs-calendar-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.dpa-cbs-calendar-button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #d4e0e9;
    border-radius: 9px;
    background: #fff;
    color: #0c294f;
    text-decoration: none !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dpa-cbs-calendar-button:hover {
    transform: translateY(-2px);
    border-color: #f4b72e;
    box-shadow: 0 8px 18px rgba(11, 43, 77, 0.1);
    color: #0c294f;
}

.dpa-cbs-calendar-button span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 8px;
    background: #0a315f;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.dpa-cbs-calendar-button b {
    font-size: 10.5px;
    line-height: 1.2;
}

.dpa-cbs-calendar-note {
    margin: 12px 0 0;
    color: #667b8e;
    font-size: 10.5px;
    line-height: 1.45;
}

.dpa-cbs-calendar-compact {
    margin: 12px 0 0;
    padding: 12px;
}

.dpa-cbs-calendar-compact .dpa-cbs-calendar-heading {
    margin-bottom: 10px;
}

.dpa-cbs-calendar-compact .dpa-cbs-calendar-heading small {
    display: none;
}

.dpa-cbs-calendar-compact .dpa-cbs-calendar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dpa-cbs-calendar-compact .dpa-cbs-calendar-button {
    min-height: 38px;
    padding: 6px 8px;
}

.dpa40-calendar-summary {
    padding: 0 14px 14px;
}

.dpa-cbs-order-calendar,
.dpa-cbs-thankyou-calendar {
    margin: 24px 0;
    padding: 22px;
    border: 1px solid #d7e2eb;
    border-radius: 16px;
    background: #f7fafc;
}

.dpa-cbs-order-calendar h2,
.dpa-cbs-thankyou-calendar h2 {
    margin: 0 0 8px;
    color: #08264b;
}

.dpa-cbs-order-calendar > p,
.dpa-cbs-thankyou-calendar > p {
    margin: 0 0 16px;
    color: #5f7488;
}

@media (prefers-reduced-motion: reduce) {
    .dpa40-booking { animation: none; }
    .dpa40-course * { scroll-behavior: auto !important; }
}

@media (max-width: 1320px) {
    .dpa40-shell {
        width: min(1240px, calc(100% - 34px));
    }

    .dpa40-hero {
        min-height: 520px;
    }

    .dpa40-hero-copy {
        width: 48%;
        min-width: 540px;
    }

    .dpa40-copy-inner {
        padding: 30px 76px 30px 36px;
    }

    .dpa40-copy-inner h1 {
        font-size: 36px !important;
    }

    .dpa40-summary {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }

    .dpa40-booking {
        width: 360px !important;
    }

    .dpa40-calendar-after-booking small {
        display: none;
    }

    .dpa40-overview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dpa40-schedule-summary {
        grid-column: 1 / -1;
    }

    .dpa40-summary-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .dpa40-quiz {
        grid-template-columns: 230px minmax(0, 1fr) 220px;
    }
}

@media (max-width: 1100px) {
    .dpa40-course {
        padding-top: 18px;
    }

    .dpa40-hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid #d5e0e9;
        background: #fff;
        box-shadow: 0 18px 50px rgba(11, 43, 77, 0.13);
    }

    .dpa40-photo {
        position: relative;
        height: 390px;
        order: 1;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .dpa40-photo img {
        height: 390px;
    }

    .dpa40-hero-copy {
        position: relative;
        width: 100%;
        min-width: 0;
        order: 2;
        border-radius: 0;
        clip-path: none;
    }

    .dpa40-hero-copy::after {
        display: none;
    }

    .dpa40-copy-inner {
        padding: 32px;
    }

    .dpa40-summary {
        max-width: 760px;
        -webkit-line-clamp: unset;
    }

    .dpa40-booking {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: none !important;
        order: 3;
        border-width: 1px 0 0;
        border-radius: 0;
        box-shadow: none;
        animation: none;
    }

    .dpa40-detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dpa40-calendar-after-booking small {
        display: inline;
    }

    .dpa40-overview-grid {
        grid-template-columns: 1fr;
    }

    .dpa40-schedule-summary {
        grid-column: auto;
    }

    .dpa40-summary-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .dpa40-quiz {
        grid-template-columns: 1fr;
    }

    .dpa40-answers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dpa-cbs-calendar-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .dpa40-shell {
        width: calc(100% - 20px);
    }

    .dpa40-course {
        padding-top: 12px;
    }

    .dpa40-hero {
        border-radius: 17px;
    }

    .dpa40-photo,
    .dpa40-photo img {
        height: 250px;
    }

    .dpa40-copy-inner {
        padding: 25px 18px;
    }

    .dpa40-copy-inner h1 {
        font-size: 36px !important;
    }

    .dpa40-meta {
        display: grid;
        gap: 13px;
    }

    .dpa40-meta > div {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .dpa40-summary {
        font-size: 13px;
    }

    .dpa40-booking > header {
        align-items: flex-start !important;
    }

    .dpa40-booking-row {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .dpa40-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dpa40-tabs {
        overflow-x: auto;
    }

    .dpa40-tabs button {
        min-width: 125px;
        flex: 0 0 auto;
    }

    .dpa40-highlights {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .dpa40-highlights > div {
        padding: 0 !important;
        border: 0;
    }

    .dpa40-summary-list,
    .dpa40-date-panel-grid,
    .dpa-cbs-calendar-actions,
    .dpa-cbs-calendar-compact .dpa-cbs-calendar-actions {
        grid-template-columns: 1fr;
    }

    .dpa40-booking-panel-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .dpa40-answers {
        grid-template-columns: 1fr;
    }

    .dpa40-card-title,
    .dpa40-rich,
    .dpa40-table {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dpa-cbs-calendar-button b {
        font-size: 12px;
    }
}


/* v4.1.2: live booking total */
.dpa40-price [data-dpa40-price-detail] {
    display: block;
    max-width: 220px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.35;
}

.dpa40-price [data-dpa40-live-total] {
    min-width: 96px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transform-origin: right center;
}

.dpa40-price [data-dpa40-live-total].is-updating {
    animation: dpa40-total-update 320ms ease-out;
}

@keyframes dpa40-total-update {
    0% { transform: scale(0.92); color: #ffd166; }
    65% { transform: scale(1.06); color: #ffd166; }
    100% { transform: scale(1); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    .dpa40-price [data-dpa40-live-total].is-updating {
        animation: none;
    }
}
