/* ============================================================
 * Concept Document Components
 * ============================================================ */


/* ------------------------------------------------------------
 * Header
 * ------------------------------------------------------------ */

.concept-tagline {
    margin-top: -0.75em !important;
    margin-bottom: 1em !important;
    font-size: 1.25em;
    line-height: 1.4 !important;
}

.concept-principle {
    margin: 2.5em 0;
    padding: 1.25em 1.5em;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.7 !important;
    font-style: italic;
}

.concept-statement {
    margin: 2.5em 0;
    padding: 1em 1.25em;
    border-left: 4px solid currentColor;
}

.concept-statement p {
    margin: 0;
}

.concept-statement p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------
 * Concept Question
 * ------------------------------------------------------------ */

.concept-question {
    margin: 2.5em 0;
    padding: 1.5em 1.75em;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.concept-question p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6 !important;
}

.concept-question p + p {
    margin-top: 1em;
}


/* ------------------------------------------------------------
 * Interactive Model
 * ------------------------------------------------------------ */

.model-example {
    margin: 2.5em 0 3.5em 0;
    padding: 1.25em 0 1.5em 0;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.model-example h4 {
    margin-top: 0;
    margin-bottom: 0.75em;
}

.model-description {
    margin-bottom: 1.25em !important;
}

.model-viewer {
    margin: 1.5em 0 1em 0;
    overflow: hidden;
}

.model-viewer iframe {
    display: block;
    width: 600px;
    max-width: 100%;
    height: 300px;
    border: 0;
}

.model-source {
    margin-top: 0.75em !important;
    margin-bottom: 0 !important;
    font-size: 0.9em;
}


/* ------------------------------------------------------------
 * Architecture Diagram
 * ------------------------------------------------------------ */

.architecture-diagram {
    margin: 2.5em 0 3em 0;
    text-align: center;
}

.architecture-diagram svg {
    display: inline-block;
    max-width: 100%;
    height: auto;
}


/* ------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------ */

@media (max-width: 700px) {

    .concept-statement,
    .concept-question {
        padding: 1em;
    }

    .model-example {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .model-viewer iframe {
        width: 100%;
        height: 300px;
    }

}
