/* Kigwa Ridge School public-site corrections — mobile first. */
:root {
    --kigwa-navy: #17234d;
    --kigwa-navy-dark: #101735;
    --kigwa-green: #75c83b;
    --kigwa-green-dark: #347321;
    --kigwa-pink: #b0005f;
    --kigwa-gold: #f8c900;
    --kigwa-ink: #252a35;
    --kigwa-body: #4f5868;
    --kigwa-muted: #687284;
    --kigwa-surface: #f5f8fb;
    --kigwa-border: #dfe5eb;
    --kigwa-shadow: 0 18px 45px rgba(23, 35, 77, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.template-color-10 {
    min-width: 320px;
    background: #fff;
    color: var(--kigwa-body);
    font-family: Gilroy, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.template-color-10 h1,
body.template-color-10 h2,
body.template-color-10 h3,
body.template-color-10 h4,
body.template-color-10 h5,
body.template-color-10 h6 {
    color: var(--kigwa-navy);
    letter-spacing: -0.02em;
}

body.template-color-10 img {
    max-width: 100%;
}

body.template-color-10 a:focus-visible,
body.template-color-10 button:focus-visible,
body.template-color-10 input:focus-visible,
body.template-color-10 textarea:focus-visible,
body.template-color-10 select:focus-visible {
    outline: 3px solid var(--kigwa-gold) !important;
    outline-offset: 3px;
}

body.template-color-10 .container {
    width: min(100% - 32px, 1200px);
    padding-right: 0;
    padding-left: 0;
}

.section-padding,
.section-padding-dark {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}

.section-padding-top,
.section-padding-top-150,
.section-padding-top-190,
.section-padding-top-200,
.section-padding-top-250,
.section-padding-top-320 {
    padding-top: 56px !important;
}

.section-padding-bottom,
.section-padding-bottom-80,
.section-padding-bottom-100,
.section-padding-bottom-120,
.section-padding-bottom-160,
.section-padding-bottom-180,
.section-padding-bottom-200 {
    padding-bottom: 56px !important;
}

.section-padding-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.text-primary,
.text-primary-three,
.theme-color,
.primary-three,
.about-content .title span,
.download-app-content .title span,
.section-title .title span,
.link mark {
    color: var(--kigwa-green-dark) !important;
}

.bg-primary,
.bg-primary-three,
.btn-primary {
    background-color: var(--kigwa-green-dark) !important;
}

.btn-primary {
    border-color: var(--kigwa-green-dark) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--kigwa-navy) !important;
    border-color: var(--kigwa-navy) !important;
}

.link {
    color: var(--kigwa-navy);
    font-weight: 700;
}

.link mark {
    background: transparent;
}

/* Header and navigation */
.header-section {
    background: #fff;
    border-bottom: 1px solid var(--kigwa-border);
    box-shadow: 0 4px 20px rgba(23, 35, 77, 0.06);
}

.header-section .header-inner {
    height: auto !important;
    min-height: 76px !important;
}

.header-section .header-inner > .container,
.header-section .header-inner > .container > .row {
    min-height: inherit;
}

.header-logo,
.header-logo a {
    display: grid;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    place-items: center;
}

.header-logo a img {
    grid-area: 1 / 1;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    padding: 3px !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1;
}

.header-logo .light-logo {
    display: none !important;
}

.header-right > .inner {
    gap: 8px;
    margin: 0;
}

.header-social {
    align-items: center;
    gap: 5px;
}

.header-social a,
.footer-social-inline a {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 1px solid var(--kigwa-border);
    border-radius: 50%;
    color: var(--kigwa-navy);
    font-size: 17px;
    place-items: center;
}

.header-social a:hover,
.header-social a:focus,
.footer-social-inline a:hover,
.footer-social-inline a:focus {
    background: var(--kigwa-green-dark);
    border-color: var(--kigwa-green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.header-mobile-menu-toggle {
    padding: 10px 0 10px 14px;
}

.header-mobile-menu-toggle .toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--kigwa-border);
    border-radius: 12px;
    background: #fff;
}

.header-mobile-menu-toggle .toggle i {
    left: 11px;
    width: 20px;
}

.site-main-mobile-menu {
    z-index: 99999;
}

.site-main-mobile-menu-inner {
    width: min(88vw, 360px);
}

.mobile-menu-header {
    min-height: 78px;
    padding: 7px 18px;
    border-bottom: 1px solid var(--kigwa-border);
}

.mobile-menu-logo a,
.mobile-menu-logo img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.site-mobile-menu > ul > li > a,
.site-mobile-menu .sub-menu li a {
    min-height: 46px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: var(--kigwa-navy);
    font-size: 16px;
}

.site-mobile-menu .menu-toggle {
    display: grid;
    min-width: 46px;
    min-height: 46px;
    place-items: center;
}

.menu-text-muted {
    display: block;
    padding: 10px 20px;
    color: var(--kigwa-muted);
}

/* Homepage hero */
.home-page .intro11-slider-wrap,
.home-page .intro11-slider,
.home-page .intro11-slider .swiper-wrapper {
    height: auto;
}

.home-page .intro11-section {
    height: auto !important;
    min-height: 0;
    padding: 42px 0 50px !important;
    background: linear-gradient(160deg, #eef5f8 0%, #f9fbfc 100%);
}

.home-page .intro11-content {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: center !important;
}

.home-page .hero-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--kigwa-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-page .intro11-content .title {
    margin-bottom: 16px;
    color: var(--kigwa-navy);
    font-size: clamp(34px, 10vw, 56px);
    line-height: 1.06;
}

.home-page .hero-summary {
    max-width: 540px;
    margin: 0 auto 24px;
    color: var(--kigwa-body);
    font-size: 17px;
    line-height: 1.55;
}

.home-page .hero-cta {
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
}

.home-page .hero-cta i {
    margin-left: 8px;
}

.home-page .intro-image {
    overflow: hidden;
    border-radius: 18px;
    background: #dce8ed;
    box-shadow: var(--kigwa-shadow);
}

.home-page .intro-image img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.home-page .main-slider-nav {
    display: none;
}

/* Homepage content */
.home-page .about-content .sub-title,
.home-page .section-title-four .sub-title {
    color: var(--kigwa-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-page .about-content .title,
.home-page .download-app-content .title,
.home-page .section-title-four .title {
    font-size: clamp(30px, 8vw, 46px) !important;
    line-height: 1.14;
}

.home-page .about-content p,
.home-page .download-app-content p,
.home-page .section-title-four p {
    color: var(--kigwa-body);
    font-size: 16px;
    line-height: 1.75;
}

.home-page .about-image,
.home-page .download-app-image {
    margin-bottom: 34px;
}

.home-page .about-image-one,
.home-page .download-app-image {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--kigwa-shadow);
}

.home-page .about-image-one img,
.home-page .download-app-image > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.home-page .about-image-two,
.home-page .about-image .shape,
.home-page .download-app-image .shape,
.introduction-image {
    display: none !important;
}

.home-page .mx-accordion .card {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--kigwa-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(23, 35, 77, 0.06);
}

.home-page .mx-accordion .card-header {
    background: #fff;
}

.home-page .mx-accordion .acc-btn {
    min-height: 52px;
    padding: 15px 48px 15px 18px;
    color: var(--kigwa-navy);
    font-size: 16px;
}

.home-page .mx-accordion .acc-btn:not(.collapsed) {
    background: var(--kigwa-green-dark);
    color: #fff;
}

.home-page .mx-accordion .card-body {
    padding: 20px;
    color: var(--kigwa-body);
    font-size: 15px;
}

.home-page .funfact-section {
    background-color: var(--kigwa-surface) !important;
}

.home-page .funfact {
    padding: 22px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 35, 77, 0.07);
}

.home-page .funfact .number {
    color: var(--kigwa-green-dark);
}

.home-page .funfact .text {
    color: var(--kigwa-navy);
}

.home-page .ebook-section {
    background: var(--kigwa-pink) !important;
}

.home-page .ebook-section .title,
.home-page .ebook-section p {
    color: #fff !important;
}

.home-page .ebook-section p {
    max-width: 700px;
    margin: 12px auto 0;
}

.home-page .section-title-four {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: 34px;
    margin-left: auto;
}

.home-page .event.primary-three,
.blog-2,
.course.box-shadow {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--kigwa-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 35, 77, 0.08);
}

.thumbnail .image,
.thumbnail .image img {
    display: block;
    width: 100%;
}

.thumbnail .image img,
.blog-2 .thumbnail img,
.event .thumbnail img,
.course .thumbnail img {
    height: auto !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.home-page .event.primary-three .info {
    min-height: 170px;
    padding: 20px;
    background: #fff;
}

.home-page .event.primary-three .info .date {
    color: var(--kigwa-green-dark);
    font-weight: 700;
}

.home-page .event.primary-three .info .title,
.home-page .event.primary-three .info .title a {
    color: var(--kigwa-navy);
}

.home-page .newsletter-bg-image {
    padding: 28px 20px;
    border: 1px solid var(--kigwa-border);
    border-radius: 16px;
    background-color: var(--kigwa-surface);
}

.home-page .newsletter-content-wrap {
    margin-bottom: 20px;
}

.home-page .newsletter-form-area form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.home-page .newsletter-form-area input {
    min-width: 0;
    min-height: 50px;
    color: var(--kigwa-ink);
}

.home-page .newsletter-form-area .form-submit {
    position: static;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kigwa-green-dark);
    color: #fff;
}

.home-page .testimonial-section {
    padding-top: 56px;
}

.home-page .testimonial-kitchen {
    min-height: 100%;
    border-radius: 14px;
    background: var(--kigwa-gold);
    color: var(--kigwa-navy-dark);
}

.home-page .testimonial-kitchen p,
.home-page .testimonial-kitchen .name,
.home-page .testimonial-kitchen .position {
    color: var(--kigwa-navy-dark);
}

/* Public list and detail pages */
.page-title-section {
    padding: 54px 0;
    background: linear-gradient(145deg, #eef5f8, #fff);
}

.page-title-section .page-title {
    padding: 0;
}

.page-title-section .title {
    font-size: clamp(34px, 9vw, 52px);
}

.intro8-section-wrap .intro8-section {
    min-height: 280px;
    padding: 74px 0 !important;
    background-position: center;
}

.blog-2 .info,
.course.box-shadow .info {
    padding: 20px;
}

.blog-2 .info .title,
.course.box-shadow .info .title {
    font-size: 22px;
}

.overview-course-video {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--kigwa-surface);
}

.overview-course-video img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.course-overview,
.sidebar-entry-course-info,
.sidebar-entry-event-info {
    border-radius: 14px;
}

.course-overview :is(img, iframe, video),
.event-content :is(img, iframe, video),
.blog-details-content :is(img, iframe, video) {
    max-width: 100%;
}

.course-overview iframe,
.contact-map {
    width: 100%;
    max-width: 100%;
}

.contact-map {
    min-height: 360px;
    border: 0;
    border-radius: 14px;
}

.contact-info,
.contact-form,
.faq-content-area {
    border-radius: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.newsletter-form-area input {
    width: 100%;
    min-height: 50px;
    border-color: #bbc5d0;
    border-radius: 8px;
    background: #fff;
}

.entry-course-share .share-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-course-share .share-media .share-label {
    margin-right: 2px;
}

.entry-course-share .share-media .share-list {
    position: static;
    display: flex;
    width: 100%;
    padding: 6px;
    transform: none;
    visibility: visible;
    opacity: 1;
}

.entry-course-share .share-media .share-list::before {
    display: none;
}

.entry-course-share .share-media .share-list a {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--kigwa-navy);
    font-size: 17px;
    place-items: center;
}

.entry-course-share .share-media:hover .share-list {
    transform: none;
}

.event-page-banner {
    min-height: 360px;
    background-position: center;
    background-size: cover;
}

.pagination {
    flex-wrap: wrap;
    gap: 5px;
}

/* Footer */
.footer-section {
    padding: 56px 0 28px;
    background: var(--kigwa-navy-dark) !important;
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 26px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.footer-brand:hover {
    color: #fff;
}

.footer-brand img {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

.footer-section .footer-widget-title {
    color: #fff;
}

.footer-section .footer-widget-content,
.footer-section .footer-widget-content p,
.footer-section .footer-widget-content a {
    color: #d9deea;
}

.footer-section .footer-widget-content a:hover,
.footer-section .footer-widget-content a:focus {
    color: #fff;
}

.footer-social-inline {
    gap: 10px;
    margin: 24px 0 0;
}

.footer-social-inline a {
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff !important;
}

.footer-social-inline a i {
    font-size: 17px;
}

.footer-section .copyright,
.footer-section .copyright .text-info {
    color: #c4cad8 !important;
}

.footer-section .copyright a {
    color: #a9e577;
}

.scroll-top {
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--kigwa-green-dark);
    line-height: 48px;
}

@media (min-width: 576px) {
    body.template-color-10 .container {
        width: min(100% - 48px, 1200px);
    }

    .home-page .newsletter-bg-image {
        padding: 36px;
    }
}

@media (min-width: 768px) {
    .home-page .about-image-two {
        display: block !important;
    }

    .home-page .about-image-two img {
        width: 210px;
        height: 260px !important;
        border: 8px solid #fff;
        border-radius: 14px;
        object-fit: cover;
    }

    .entry-course-share .share-media .share-list {
        width: auto;
    }

    .footer-section .copyright {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .section-padding,
    .section-padding-dark {
        padding-top: 88px !important;
        padding-bottom: 88px !important;
    }

    .section-padding-top,
    .section-padding-top-150,
    .section-padding-top-190,
    .section-padding-top-200,
    .section-padding-top-250,
    .section-padding-top-320 {
        padding-top: 88px !important;
    }

    .section-padding-bottom,
    .section-padding-bottom-80,
    .section-padding-bottom-100,
    .section-padding-bottom-120,
    .section-padding-bottom-160,
    .section-padding-bottom-180,
    .section-padding-bottom-200 {
        padding-bottom: 88px !important;
    }

    .home-page .intro11-section {
        min-height: 620px;
        padding: 70px 0 !important;
        background: linear-gradient(90deg, #eef5f8 0%, #eef5f8 68%, #fff 68%, #fff 100%);
    }

    .home-page .intro11-content {
        margin: 0;
        padding-right: 34px;
        text-align: left !important;
    }

    .home-page .hero-summary {
        margin-right: 0;
        margin-left: 0;
        font-size: 18px;
    }

    .home-page .intro-image img {
        aspect-ratio: 4 / 3;
    }

    .home-page .about-image,
    .home-page .download-app-image {
        margin-bottom: 0;
    }

    .home-page .about-content p,
    .home-page .download-app-content p,
    .home-page .section-title-four p {
        font-size: 17px;
    }

    .home-page .newsletter-content-wrap {
        margin-bottom: 0;
    }

    .home-page .testimonial-section {
        padding-top: 78px;
    }

    .intro8-section-wrap .intro8-section {
        min-height: 440px;
        padding: 130px 0 !important;
    }
}

@media (min-width: 1200px) {
    .header-section .header-inner {
        min-height: 88px !important;
    }

    .header-logo,
    .header-logo a,
    .header-logo a img {
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        height: 74px !important;
        min-height: 74px !important;
        max-height: 74px !important;
    }

    .site-main-menu > ul {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .site-main-menu > ul > li > a {
        padding: 32px 10px;
        color: var(--kigwa-navy);
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }

    .site-main-menu > ul > li:hover > a,
    .site-main-menu .sub-menu li:hover > a {
        color: var(--kigwa-green-dark);
    }

    .site-main-menu .sub-menu {
        border-top: 3px solid var(--kigwa-green-dark);
    }

    .home-page .intro11-section {
        min-height: 660px;
    }

    .home-page .main-slider-nav {
        display: flex;
    }

    .introduction-image {
        display: block !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
