/* Homepage footer markup, with its existing geometry adapted to the catalogue shell. */
.ct-quiz-page .ct-home-footer { background: var(--ct-surface); border-top: 1px solid var(--ct-line); color: var(--ct-ink); font-size: 16px; line-height: 1.75; }
.ct-quiz-page .ct-home-footer .container { width: calc(100% - 48px); max-width: 1200px; margin-inline: auto; }
.ct-quiz-page .ct-home-footer .tp-footer-main { padding-block: 70px 55px; }
.ct-quiz-page .ct-home-footer .tp-footer-main .row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.ct-quiz-page .ct-home-footer .mb-30 { margin-bottom: 30px; }
.ct-quiz-page .ct-home-footer .mb-20 { margin-bottom: 20px; }
.ct-quiz-page .ct-home-footer .mb-15 { margin-bottom: 15px; }
.ct-quiz-page .ct-home-footer .tp-footer-widget-title { color: var(--ct-ink); font-size: 20px; line-height: 1.2; font-weight: 500; }
.ct-quiz-page .ct-home-footer .tp-footer-widget-content p { color: var(--ct-muted); font-size: 16px; line-height: 1.9; margin-bottom: 26px; }
.ct-quiz-page .ct-home-footer .tp-footer-widget-link ul { list-style: none; margin: 0; padding: 0; }
.ct-quiz-page .ct-home-footer .tp-footer-widget-link li:not(:last-child) { margin-bottom: 5px; }
.ct-quiz-page .ct-home-footer .tp-footer-widget-link a { color: var(--ct-muted); font-size: 16px; }
.ct-quiz-page .ct-home-footer .tp-footer-btn a { display: inline-flex; gap: 12px; padding: 12px 28px; border: 2px solid var(--ct-accent); border-radius: 50px; background: var(--ct-accent); color: var(--ct-on-accent); font-size: 16px; font-weight: 600; line-height: 1; }
.ct-quiz-page .ct-home-footer .tp-footer-btn a:hover { background: transparent; color: var(--ct-accent); }
.ct-quiz-page .ct-home-footer .tp-footer-contact > span { display: block; color: var(--ct-muted); font-size: 14px; margin-bottom: 3px; line-height: 1; }
.ct-quiz-page .ct-home-footer .tp-footer-contact > a { display: inline-block; font-size: 21px; font-weight: 500; margin-bottom: 10px; }
.ct-quiz-page .ct-home-footer .tp-footer-contact-mail a { font-size: 16px; }
.ct-quiz-page .ct-home-footer .tp-footer-bottom { padding-block: 20px; border-top: 1px solid var(--ct-line); }
.ct-quiz-page .ct-home-footer .tp-footer-bottom .row { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 24px; }
.ct-quiz-page .ct-home-footer .tp-footer-bottom-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ct-soft); color: var(--ct-accent); font-size: 14px; }
.ct-quiz-page .ct-home-footer .tp-footer-copyright { font-size: 16px; line-height: 24px; color: var(--ct-muted); }
.ct-quiz-page .ct-home-footer .tp-footer-copyright a { color: var(--ct-ink); }
.ct-quiz-page .ct-home-footer a:hover { color: var(--ct-accent); }
.ct-quiz-page .ct-newsletter-form { background: var(--ct-soft); border-color: var(--ct-line); }
.ct-quiz-page .ct-newsletter-form:focus-within { border-color: var(--ct-accent); box-shadow: 0 0 0 3px var(--ct-soft); }
.ct-quiz-page .ct-newsletter-form input[type=email] { color: var(--ct-ink); font-family: Cairo,sans-serif; }
.ct-quiz-page .ct-newsletter-form input::placeholder { color: var(--ct-muted); }
.ct-quiz-page .ct-newsletter-form button { background: var(--ct-accent); color: var(--ct-on-accent); }
.ct-quiz-page .ct-newsletter-form button:hover { background: var(--ct-accent-hover); }
.ct-quiz-page .ct-newsletter-form button:focus-visible { outline-color: var(--ct-accent); }
.ct-quiz-page .ct-quiz-footer-admin { padding-block: 12px; font-size: 12px; color: var(--ct-accent); }
html[data-ct-lesson-theme=dark] .ct-quiz-page .ct-footer-logo img { filter: brightness(0) invert(1); }
@media(min-width:1400px) { .ct-quiz-page .ct-home-footer .container { max-width: 1200px; } }
@media(min-width:992px) and (max-width:1199px) { .ct-quiz-page .ct-home-footer .container { max-width: 960px; } }
@media(max-width:991px) { .ct-quiz-page .ct-home-footer .container { max-width: 720px; }.ct-quiz-page .ct-home-footer .tp-footer-main .row { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .ct-quiz-page .ct-home-footer .container { max-width: 540px; }.ct-quiz-page .ct-home-footer .tp-footer-main .row,.ct-quiz-page .ct-home-footer .tp-footer-bottom .row { grid-template-columns: minmax(0,1fr); }.ct-quiz-page .ct-home-footer .tp-footer-main { padding-block: 50px 25px; }.ct-quiz-page .ct-home-footer .tp-footer-copyright { margin-top: 0; padding-block: 20px; } }
