﻿/* =========================================================
   BROCHURE PAGE
   ========================================================= */

.brochure-page {
    width: 100%;
}


/* =========================================================
   LANGUAGE SELECTOR
   ========================================================= */

.brochure-language-selector {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 35px;
    padding: 10px 0;
}


/* =========================================================
   LANGUAGE CARD
   ========================================================= */

.brochure-language-card {
    flex: 1 1 130px;
    min-width: 120px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px 10px 14px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    color: #333333;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}


    /* Hover */

    .brochure-language-card:hover {
        color: #333333;
        text-decoration: none;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.14);
        border-color: #00A2C2;
    }


    /* Selected */

    .brochure-language-card.selected {
        border-color: #00A2C2;
        background-color: #f7fdff;
        box-shadow: 0 7px 20px rgba(0,0,0,0.14);
    }


        /* Selected indicator */

        .brochure-language-card.selected::after {
            content: "";
            position: absolute;
            left: 20%;
            right: 20%;
            bottom: -1px;
            height: 5px;
            background: #00A2C2;
            border-radius: 3px 3px 0 0;
        }


/* =========================================================
   FLAG
   ========================================================= */

.brochure-flag-wrapper {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}


.brochure-flag {
    max-width: 75px;
    max-height: 48px;
    width: auto;
    height: auto;
    /*    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
*/
    border: none;
    box-shadow: none;
    transition: transform 0.25s ease;
}


.brochure-language-card:hover
.brochure-flag {
    transform: scale(1.05);
}


/* =========================================================
   LANGUAGE NAME
   ========================================================= */

.brochure-language-name {
    text-align: center;
    line-height: 1.3;
}


.brochure-language-english-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
}


.brochure-language-native-name {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #777777;
}


/* =========================================================
   LANGUAGE CONTENT
   ========================================================= */

.brochure-language-content {
    width: 100%;
    min-height: 200px;
    margin-bottom: 45px;
    transition: opacity 0.2s ease;
}


    /* Japanese */

    .brochure-language-content.language-ja {
        font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    }


/* =========================================================
   CONTENT INNER
   ========================================================= */

.brochure-content-inner {
    width: 100%;
}

/*Might need to remove this...*/
.blockquote {
    color: #00A2C2;
}

/* =========================================================
   PDF BROCHURE CONTENT
   ========================================================= */

.ih-advert {
    width: 100%;
    color: #000000;
    /* Font intentionally NOT set here - inherits Lato from body (site.css).
       Do not reintroduce a font-family override on this class. */
    font-size: 18px;
    line-height: 1.18;
}

    .ih-advert p {
        margin: 0 0 16px 0;
    }


/* ---------------------------------------------------------
   HEADER / LOGO / TITLE
   (Accepted layout, migrated from english.html - client-approved,
   applies to all languages sharing this markup)
   --------------------------------------------------------- */

.ih-advert-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 25px;
}

.ih-header-layout-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.ih-header-logo-wrapper {
    align-self: stretch;
    display: flex;
    align-items: center;
}

    .ih-header-logo-wrapper img {
        height: 100%;
        width: auto;
        max-height: 110px; /* Limits the logo height to scale cleanly next to the typography footprint */
        object-fit: contain;
        display: block;
    }

.ih-header-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; /* Centers headings on the page */
}

    /* No color declared - h1/h2 inherit blue from site.css's global heading rule */
    .ih-header-text-group h1 {
        margin: 0;
        font-size: 3.5em;
        line-height: 1.1;
    }

    .ih-header-text-group h2 {
        margin: 5px 0 0 0;
        font-size: 1.5em;
        font-weight: normal;
    }


/* ---------------------------------------------------------
   BLUE TEXT
   --------------------------------------------------------- */

.ih-blue-bold {
    color: #00A2C2;
    font-weight: 700;
}


/* ---------------------------------------------------------
   QUOTE
   (Accepted styling migrated from english.html)
   --------------------------------------------------------- */

.ih-advert blockquote.ih-quote {
    margin: -16px 0 35px;
    padding: 10px 20px;
    background: transparent;
    color: #00A2C2;
    font-style: normal;
    font-weight: normal;
    font-size: 1.8em;
    line-height: 1.6;
    text-align: center;
}


/* ---------------------------------------------------------
   CONTINUED OVERLEAF
   --------------------------------------------------------- */

.ih-continued {
    text-align: right;
    margin-top: -10px !important;
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   WORKING HOLOGRAPHICALLY - TWO COLUMNS
   --------------------------------------------------------- */

.ih-two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 45px;
    margin: 14px 0 24px 0;
}

.ih-issues {
    margin: 0;
}


/* ---------------------------------------------------------
   SECTION HEADINGS
   Now applied to <h3> tags (was <p class="ih-blue-bold
   ih-section-heading">), so color comes free from site.css's
   global h1-h6 rule - no longer declared here.
   font-size/line-height override Bootstrap's larger default
   h3 sizing to match the surrounding body copy visually.
   Margins kept at the values that were ALREADY rendering here
   via !important - english.html's coded 30px/15px never
   actually took effect against these, so they were never the
   "accepted" numbers. !important kept deliberately: other
   language pages rely on it to beat base/Bootstrap heading
   margins with no english.html-style override to fall back on.)
   --------------------------------------------------------- */

.ih-section-heading {
    font-size: 18px;
    line-height: 1.18;
    font-weight: 600;
    margin-top: 22px !important;
    margin-bottom: 14px !important;
}


/* ---------------------------------------------------------
   TESTIMONIALS
   (Accepted styling migrated from english.html)
   --------------------------------------------------------- */

.ih-testimonials {
    margin: 20px 0 30px 0;
}

.ih-testimonial {
    color: #00A2C2;
    /* Gap AFTER an author line, before the next testimonial's
       quote - kept clearly bigger than the quote-to-author gap
       below so each pair reads as grouped, not evenly spaced. */
    margin: 0 0 30px 0;
}

/* Scoped to the author line only. ".ih-testimonial strong/em"
       (the whole wrapping div) also matched <strong>/<em> used for
       emphasis INSIDE the quote text itself - see the Simone and
       Anna testimonials - and was incorrectly flattening that back
       to normal weight/style. */
.ih-testimonial-author strong,
.ih-testimonial-author em {
    font-style: normal;
    font-weight: normal;
    color: inherit;
}

.ih-testimonial-author {
    /* color intentionally not set here - inherits #00A2C2 from
       the parent .ih-testimonial, which already sets it */
    display: block;
    font-size: 0.85em;
    font-weight: normal;
    font-style: normal;
    margin-top: 5px;
    padding: 0;
}

/* Custom quote marks for testimonial text.
   Selector scoped under .ih-testimonial (not just the bare class)
   so its "margin: 0" actually wins. A bare ".ih-testimonial-quote"
   (1 class) has LOWER specificity than ".ih-advert p" (1 class +
   1 tag), so that rule's 16px bottom margin was silently winning
   and pushing the author line further from its own quote than
   from the next testimonial's. */
.ih-testimonial .ih-testimonial-quote {
    quotes: none;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #000000;
    font-style: normal;
    font-weight: normal;
    line-height: 1.6;
    text-align: left;
}

.ih-testimonial-quote::before {
    content: "\201C";
    font-weight: bold;
    margin-right: 0;
    padding-right: 0;
}

.ih-testimonial-quote::after {
    content: "\201D";
    font-weight: bold;
    margin-left: 0;
    padding-left: 0;
}

/* ---------------------------------------------------------
   GERMAN TESTIMONIAL QUOTATION MARKS
   --------------------------------------------------------- */

.language-de .ih-testimonial-quote::before {
    content: "\201E";
}

.language-de .ih-testimonial-quote::after {
    content: "\201C";
}


/* ---------------------------------------------------------
   FINAL COURSE INFORMATION
   --------------------------------------------------------- */

.ih-course-info {
    font-size: 22px;
    margin-top: 42px !important;
    text-align: center;
}

    .ih-course-info strong {
        color: #00A2C2;
    }


/* ---------------------------------------------------------
   NO BOOTSTRAP BLOCKQUOTE LINE
   --------------------------------------------------------- */

.ih-advert blockquote {
    border: 0;
    padding: 0;
    margin: 0;
}


/* ---------------------------------------------------------
   MOBILE
   NOTE: The migrated header (.ih-advert-header etc.) has no
   mobile-specific rules yet. The old .ih-advert-logo /
   .ih-advert-title mobile overrides below were for the
   RETIRED header markup and have been removed as dead code.
   Please check the new header on a narrow viewport - it may
   need its own mobile stacking rule (not guessed at here).
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .ih-advert {
        font-size: 16px;
    }

    .ih-two-column-list {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .ih-course-info {
        font-size: 18px;
    }
}

/* =========================================================
   LANGUAGE ERROR
   ========================================================= */

.brochure-language-error {
    padding: 30px;
    text-align: center;
    background: #f8f8f8;
    border-radius: 6px;
    color: #777777;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.brochure-contact-section {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 35px 20px;
    background: #f7f7f7;
    border-radius: 10px;
}


.brochure-contact-inner {
    max-width: 900px;
    margin: 0 auto;
}


.brochure-contact-heading {
    text-align: center;
    margin-bottom: 30px;
}


    .brochure-contact-heading h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }


    .brochure-contact-heading p {
        color: #777777;
    }


/* =========================================================
   FORM
   ========================================================= */

.brochure-form-group {
    margin-bottom: 20px;
}


    .brochure-form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
    }


/*
   Your global site.css currently limits input,
   select and textarea to max-width: 280px.

   For this form we deliberately override that.
*/

.brochure-contact-section input,
.brochure-contact-section textarea,
.brochure-contact-section select {
    width: 100%;
    max-width: none;
}


.brochure-form-submit {
    text-align: center;
    margin-top: 25px;
}


    .brochure-form-submit button {
        min-width: 150px;
    }


/* =========================================================
   FORM RESPONSE
   ========================================================= */

.brochure-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}


.brochure-form-success {
    background: #eaf7ea;
    border: 1px solid #b7dfb7;
    color: #397439;
}


.brochure-form-error {
    background: #f9eeee;
    border: 1px solid #e2bcbc;
    color: #9a3a3a;
}

/* =========================================================
   Styling for the bullet points
   ========================================================= */
.ih-benefits,
.ih-issues {
    list-style: none;
    padding-left: 0;
}

    .ih-benefits > li,
    .ih-issues > li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 6px;
    }

        .ih-benefits > li::before,
        .ih-issues > li::before {
            content: "☯";
            position: absolute;
            left: 0;
            top: -2px;
            font-size: 18px;
            line-height: 1.4;
        }

        /* Smaller yin-yang for sub-items */
        .ih-benefits > li > ul {
            list-style: none;
            padding-left: 25px;
            margin-top: 5px;
        }

            .ih-benefits > li > ul > li {
                position: relative;
                padding-left: 22px;
                margin-bottom: 3px;
            }

                .ih-benefits > li > ul > li::before {
                    content: "☯";
                    position: absolute;
                    left: 0;
                    top: 0;
                    font-size: 13px;
                    line-height: 1.5;
                }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .brochure-language-selector {
        justify-content: center;
        gap: 10px;
    }


    .brochure-language-card {
        flex: 1 1 120px;
        max-width: none;
        min-width: 110px;
    }


    .brochure-contact-section {
        padding: 25px 15px;
    }
}
