@import url('https://fonts.googleapis.com/css?family=Lora:400,500,600,700,400italic|Open+Sans:400,600,700,400italic&display=swap');

/*
 * Landing page: awards-testimonials
 *
 * Shares the homepage's visual language (Lora/Open Sans, maroon #6b1328,
 * soft-shadowed rounded cards) but is self-contained: this page opts out of
 * _shared.css, so the baseline below is declared here rather than inherited.
 *
 * All rules are scoped under .sa-landing--awards-testimonials so Divi's header
 * and footer styles are untouched. The .ila- element prefix predates the slug
 * rename (the page began life as "ilearn-awards"); it carries no meaning
 * beyond this file.
 */

.sa-landing--awards-testimonials {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #5a5a5b;
    font-size: 15px;
    line-height: 1.7;
    background: #ffffff;
}

.sa-landing--awards-testimonials h1,
.sa-landing--awards-testimonials h2,
.sa-landing--awards-testimonials h3 {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    color: #333333;
    font-weight: 700;
    padding: 0;
}

.sa-landing--awards-testimonials h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.sa-landing--awards-testimonials h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.sa-landing--awards-testimonials .ila-maroon {
    color: #6b1328;
}

/* Layout */
.sa-landing--awards-testimonials .ila-section {
    padding: 72px 6vw;
}

/* Constrain inner content on widescreens while letting section
   backgrounds stay full-bleed */
.sa-landing--awards-testimonials .ila-section > * {
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

.sa-landing--awards-testimonials .ila-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.sa-landing--awards-testimonials .ila-center {
    text-align: center;
}

/* Buttons */
.sa-landing--awards-testimonials .ila-btn {
    display: inline-block;
    background: #6b1328;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 300ms ease, border 300ms ease;
    border: 2px solid #76112d;
    cursor: pointer;
}

.sa-landing--awards-testimonials .ila-btn:hover {
    background: #9e5468;
    border-color: #9e5468;
}

.sa-landing--awards-testimonials .ila-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 #cccccc;
}

.sa-landing--awards-testimonials .ila-stars {
    color: #e8b923;
    letter-spacing: 3px;
}

/* Hero — centered, no image, on the maroon band */
.sa-landing--awards-testimonials .ila-hero {
    padding-top: 80px;
    text-align: center;
}

/* Scoped to .ila-hero so it outranks the generic .ila-maroon-bg p rule */
/* No trailing margin: the copy is the hero's last element, so the section
   padding alone sets the space beneath it */
.sa-landing--awards-testimonials .ila-hero .ila-hero-copy {
    max-width: 680px;
    margin: 0 auto;
    font-size: 17px;
}

/* Divi sets its own link colour globally, hence the !important */
.sa-landing--awards-testimonials .ila-hero-copy a {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sa-landing--awards-testimonials .ila-hero-copy a:hover {
    color: #f4dede !important;
}

/* Maroon band (the hero) */
.sa-landing--awards-testimonials .ila-maroon-bg {
    background: #6b1328;
}

.sa-landing--awards-testimonials .ila-maroon-bg h1,
.sa-landing--awards-testimonials .ila-maroon-bg h2 {
    color: #ffffff;
}

.sa-landing--awards-testimonials .ila-maroon-bg h2 em {
    color: #e7c9c9;
    font-style: italic;
}

.sa-landing--awards-testimonials .ila-maroon-bg p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Awards graphic band (light grey) */
.sa-landing--awards-testimonials .ila-awards {
    background: #eeeeee;
}

.sa-landing--awards-testimonials .ila-awards h2 em {
    color: #6b1328;
    font-style: italic;
}

.sa-landing--awards-testimonials .ila-awards-copy p {
    margin-bottom: 20px;
}

/* The badge graphic's black background is knocked out to transparency and its
   category labels are white, so on a light section it needs a dark plate
   behind it to stay legible. */
.sa-landing--awards-testimonials .ila-awards-img {
    background: #6b1328;
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 0 10px 0 #cccccc;
}

.sa-landing--awards-testimonials .ila-awards-img img {
    display: block;
    width: 100%;
    height: auto;
}

.sa-landing--awards-testimonials .ila-awards-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.sa-landing--awards-testimonials .ila-category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
}

.sa-landing--awards-testimonials .ila-category-list li {
    position: relative;
    padding-left: 24px;
    color: #5a5a5b;
    font-size: 14px;
    line-height: 1.5;
}

/* Darker than the badge gold, which is too pale to read on a light background */
.sa-landing--awards-testimonials .ila-category-list li::before {
    content: '\2605';
    position: absolute;
    left: 0;
    color: #b8860b;
}

/* Video testimonials */
.sa-landing--awards-testimonials .ila-section-intro {
    max-width: 640px;
    margin: 0 auto;
}

/* One gutter value shared by the video row and the testimonial columns below,
   so every gap on the page matches horizontally and vertically */
.sa-landing--awards-testimonials .ila-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: start;
}

/* Uniform landscape tiles. The family clip is 16:9 and the other two are 9:16,
   so the portrait pair pillarboxes inside the frame rather than cropping. */
.sa-landing--awards-testimonials .ila-video-frame {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 0 10px 0 #999999;
}

.sa-landing--awards-testimonials .ila-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Written testimonials — multi-column keeps the odd count from leaving a
   ragged hole in a fixed grid */
/* Shares a centred section with the video row, so the cards opt back out of
   the inherited centring */
.sa-landing--awards-testimonials .ila-testimonial-grid {
    columns: 3;
    column-gap: 24px;
    margin: 24px auto 40px;
    text-align: left;
}

.sa-landing--awards-testimonials .ila-testimonial {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    padding: 26px;
    border: none;
}

.sa-landing--awards-testimonials .ila-testimonial .ila-stars {
    font-size: 14px;
    margin: 0 0 10px;
}

.sa-landing--awards-testimonials .ila-testimonial-quote {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 14px;
}

/* Marks the subject of study so the grid can be scanned at a glance */
.sa-landing--awards-testimonials .ila-testimonial-quote strong {
    font-weight: 700;
    color: #6b1328;
}

.sa-landing--awards-testimonials .ila-testimonial-quote::before {
    content: '\201C';
}

.sa-landing--awards-testimonials .ila-testimonial-quote::after {
    content: '\201D';
}

.sa-landing--awards-testimonials .ila-testimonial-author {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: #6b1328;
}

.sa-landing--awards-testimonials .ila-final-cta {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1100px) {
    .sa-landing--awards-testimonials .ila-testimonial-grid {
        columns: 2;
    }
}

@media (max-width: 860px) {
    .sa-landing--awards-testimonials .ila-section {
        padding: 48px 5vw;
    }

    .sa-landing--awards-testimonials .ila-grid-2,
    .sa-landing--awards-testimonials .ila-awards-grid {
        grid-template-columns: 1fr;
    }

    .sa-landing--awards-testimonials .ila-video-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .sa-landing--awards-testimonials h1 {
        font-size: 34px;
    }

    .sa-landing--awards-testimonials h2 {
        font-size: 26px;
    }
}

@media (max-width: 700px) {
    .sa-landing--awards-testimonials .ila-testimonial-grid {
        columns: 1;
        max-width: 560px;
    }

    .sa-landing--awards-testimonials .ila-category-list {
        grid-template-columns: 1fr;
    }
}
