.gdc-mcq {
    margin-top: 26px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.gdc-mcq-layout {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 16px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.gdc-mcq-layout__sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.gdc-mcq-widget {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.92);
    border-radius: 14px;
    padding: 14px 14px 8px;
    margin: 0 0 14px 0;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}

.gdc-mcq-widget__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

@media (max-width: 1020px) {
    .gdc-mcq-layout {
        grid-template-columns: 1fr;
    }

    .gdc-mcq-layout__sidebar {
        position: static;
        top: auto;
    }
}

.gdc-mcq__heading {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.25;
}

.gdc-mcq__list {
    margin: 0;
    padding-left: 22px;
}

.gdc-mcq-q {
    margin: 0 0 18px;
}

.gdc-mcq-q__text {
    margin: 0 0 10px;
    font-weight: 600;
    color: #0f172a;
}

.gdc-mcq-q__options {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

.gdc-mcq-q__options li {
    margin: 0 0 8px;
    color: #111827;
}

.gdc-mcq-q__opt-label {
    font-weight: 700;
    margin-right: 8px;
}

.gdc-mcq__actions {
    margin-top: 14px;
}

.gdc-mcq__btn {
    appearance: none;
    border: 0;
    background: #1d4ed8;
    color: #ffffff;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.gdc-mcq__btn:hover,
.gdc-mcq__btn:focus-visible {
    background: #1e40af;
    outline: none;
}

.gdc-mcq__after {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
}

.gdc-mcq__wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.gdc-mcq__wa-btn:hover,
.gdc-mcq__wa-btn:focus-visible {
    background: #15803d;
    outline: none;
}

.gdc-mcq-answers__title {
    margin: 18px 0 10px;
    font-size: 18px;
}

.gdc-mcq-answers__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.gdc-mcq-answer {
    font-weight: 700;
    color: #dc2626;
    text-decoration: underline;
}

.gdc-mcq-answers__image {
    margin-top: 12px;
}

.gdc-mcq-answer-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
}

.gdc-mcq-answers__pre {
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: #0b1220;
    color: #e5e7eb;
    overflow: auto;
}

.gdc-mcq-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.gdc-mcq-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.62);
}

.gdc-mcq-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: min(460px, 100%);
    margin: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.38);
    max-height: calc(100vh - 36px);
    overflow: auto;
}

.gdc-mcq-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #0f172a;
}

.gdc-mcq-modal__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.2;
}

.gdc-mcq-modal__form {
    display: grid;
    gap: 12px;
}

.gdc-mcq-field span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.gdc-mcq-field input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.7);
    border-radius: 12px;
    padding: 11px 12px;
}

.gdc-mcq-modal__submit {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.gdc-mcq-modal__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gdc-mcq-modal__note {
    margin: 0;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.7);
}

.gdc-mcq-modal__error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    font-weight: 600;
}

.gdc-mcq-req {
    color: #dc2626;
}

@media (max-width: 640px) {
    .gdc-mcq-modal__dialog {
        max-width: none;
    }
}

.gdc-mcq-related {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.gdc-mcq-related__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.25;
}

.gdc-mcq-related__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gdc-mcq-related__item {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    color: inherit;
}

.gdc-mcq-related__item:hover,
.gdc-mcq-related__item:focus-visible {
    border-color: rgba(37, 99, 235, 0.4);
    outline: none;
}

.gdc-mcq-related__item-title {
    font-weight: 700;
    color: #0f172a;
}

@media (max-width: 640px) {
    .gdc-mcq-related__list {
        grid-template-columns: 1fr;
    }
}

.gdc-mcq-dir {
    margin-top: 22px;
}

.gdc-mcq-dir__intro {
    margin: 0 0 14px;
    color: rgba(15, 23, 42, 0.78);
    line-height: 1.6;
}

.gdc-mcq-dir__download {
    margin: 14px 0 18px;
    text-align: center;
}

.gdc-mcq-dir__download-title {
    margin: 0 0 10px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
}

.gdc-mcq-dir__download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    background: #f97316;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.gdc-mcq-dir__download-btn:hover,
.gdc-mcq-dir__download-btn:focus-visible {
    background: #ea580c;
    outline: none;
}

.gdc-mcq-dir__section {
    margin-top: 16px;
}

.gdc-mcq-dir__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

.gdc-mcq-dir__grid {
    display: grid;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.28);
}

.gdc-mcq-dir__grid--cols-1 {
    grid-template-columns: 1fr;
}

.gdc-mcq-dir__grid--cols-2 {
    grid-template-columns: 1fr 1fr;
}

.gdc-mcq-dir__grid--cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.gdc-mcq-dir__grid--cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.gdc-mcq-dir__item {
    padding: 12px 14px;
    background: rgba(238, 242, 255, 0.7);
    color: #6d28d9;
    text-decoration: none;
    border-right: 1px solid rgba(148, 163, 184, 0.55);
    border-bottom: 1px solid rgba(148, 163, 184, 0.55);
    font-weight: 600;
}

.gdc-mcq-dir__item:hover,
.gdc-mcq-dir__item:focus-visible {
    background: rgba(224, 231, 255, 0.9);
    text-decoration: underline;
    outline: none;
}

.gdc-mcq-dir__item--span {
    grid-column: 1 / -1;
    border-right: 0;
}

.gdc-mcq-dir__grid--cols-1 .gdc-mcq-dir__item {
    border-right: 0;
}

.gdc-mcq-dir__grid--cols-2 .gdc-mcq-dir__item:nth-child(2n) {
    border-right: 0;
}

.gdc-mcq-dir__grid--cols-3 .gdc-mcq-dir__item:nth-child(3n) {
    border-right: 0;
}

.gdc-mcq-dir__grid--cols-4 .gdc-mcq-dir__item:nth-child(4n) {
    border-right: 0;
}

.gdc-mcq-dir__grid--cols-1 .gdc-mcq-dir__item:last-child {
    border-bottom: 0;
}

.gdc-mcq-dir__grid--cols-2 .gdc-mcq-dir__item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.gdc-mcq-dir__grid--cols-3 .gdc-mcq-dir__item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.gdc-mcq-dir__grid--cols-4 .gdc-mcq-dir__item:nth-last-child(-n + 4) {
    border-bottom: 0;
}

@media (max-width: 640px) {
    .gdc-mcq-dir__grid {
        grid-template-columns: 1fr !important;
    }

    .gdc-mcq-dir__item {
        border-right: 0;
    }

    .gdc-mcq-dir__item:last-child {
        border-bottom: 0;
    }
}

.gdc-mcq-grid {
    margin-top: 22px;
}

.gdc-mcq-grid__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
    color: #0f172a;
}

.gdc-mcq-grid__items {
    display: grid;
    gap: 16px;
}

.gdc-mcq-grid__items--cols-1 {
    grid-template-columns: 1fr;
}

.gdc-mcq-grid__items--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gdc-mcq-grid__items--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gdc-mcq-grid__items--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gdc-mcq-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gdc-mcq-card:hover,
.gdc-mcq-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.1);
    outline: none;
}

.gdc-mcq-card__thumb {
    background: rgba(226, 232, 240, 0.7);
}

.gdc-mcq-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gdc-mcq-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(15, 23, 42, 0.75);
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.25), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.18), transparent 55%),
        rgba(226, 232, 240, 0.65);
}

.gdc-mcq-card__body {
    padding: 14px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gdc-mcq-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    color: #0f172a;
}

.gdc-mcq-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.gdc-mcq-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #1d4ed8;
    font-weight: 800;
}

.gdc-mcq-card__muted {
    color: rgba(15, 23, 42, 0.72);
    font-weight: 700;
}

.gdc-mcq-card__excerpt {
    margin: 0;
    color: rgba(15, 23, 42, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

.gdc-mcq-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 900;
    width: max-content;
}

.gdc-mcq-card:hover .gdc-mcq-card__btn,
.gdc-mcq-card:focus-visible .gdc-mcq-card__btn {
    background: #111827;
}

.gdc-mcq-grid__items--cols-3 .gdc-mcq-card,
.gdc-mcq-grid__items--cols-4 .gdc-mcq-card {
    grid-template-columns: 1fr;
}

.gdc-mcq-grid__items--cols-3 .gdc-mcq-card__thumb,
.gdc-mcq-grid__items--cols-4 .gdc-mcq-card__thumb {
    height: 170px;
}

@media (max-width: 960px) {
    .gdc-mcq-grid__items--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gdc-mcq-grid__items--cols-3,
    .gdc-mcq-grid__items--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gdc-mcq-grid__items {
        grid-template-columns: 1fr !important;
    }

    .gdc-mcq-card {
        grid-template-columns: 1fr;
    }

    .gdc-mcq-card__thumb {
        height: 170px;
    }
}

.gdc-mcq-chapters {
    margin-top: 22px;
}

.gdc-mcq-chapters--full {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.gdc-mcq-chapters__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
    color: #0f172a;
}

.gdc-mcq-chapters__grid {
    display: grid;
    gap: 16px;
}

.gdc-mcq-chapters__grid--cols-1 {
    grid-template-columns: 1fr;
}

.gdc-mcq-chapters__grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gdc-mcq-chapters__grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gdc-mcq-chapters__grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gdc-mcq-chapters__grid--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gdc-mcq-chapters__grid--cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gdc-mcq-chapter {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gdc-mcq-chapter:hover,
.gdc-mcq-chapter:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.12);
    outline: none;
}

.gdc-mcq-chapter__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(226, 232, 240, 0.7);
    overflow: hidden;
}

.gdc-mcq-chapter__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 220ms ease;
}

.gdc-mcq-chapter:hover .gdc-mcq-chapter__img,
.gdc-mcq-chapter:focus-visible .gdc-mcq-chapter__img {
    transform: scale(1.08);
}

.gdc-mcq-chapter__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(15, 23, 42, 0.75);
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.25), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.18), transparent 55%),
        rgba(226, 232, 240, 0.65);
}

.gdc-mcq-chapter__caption {
    padding: 12px 14px;
    font-weight: 900;
    color: #0f172a;
}

@media (max-width: 960px) {
    .gdc-mcq-chapters__grid--cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gdc-mcq-chapters__grid--cols-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gdc-mcq-chapters__grid--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gdc-mcq-chapters__grid--cols-4,
    .gdc-mcq-chapters__grid--cols-5,
    .gdc-mcq-chapters__grid--cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gdc-mcq-chapters__grid {
        grid-template-columns: 1fr !important;
    }
}
