/* Shared layout for the site's secondary pages. */
.subpage {
    color: #333;
    background: #fff;
}
.subpage .site-nav {
    height: 78px;
    line-height: 78px;
    padding: 0 7%;
    background: rgba(20, 20, 20, .92);
}
.subpage .site-nav .logo { color: #fff; font-size: 22px; font-weight: bold; }
.subpage .site-nav .logo span { color: #ff9900; }
.subpage .navbar { float: right; }
.subpage .navbar li { display: inline-block; margin-left: 34px; }
.subpage .navbar a { color: #fff; transition: color .2s ease; }
.subpage .navbar a:hover, .subpage .navbar a.active { color: #ff9900; }
.page-hero {
    min-height: 330px;
    padding: 95px 7%;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.15)), url('../images/banner-1.jpg') center/cover;
}
.page-hero h1 { font-size: 48px; margin-bottom: 16px; }
.page-hero p { max-width: 650px; color: #f4f4f4; font-size: 18px; line-height: 1.8; }
.page-content { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.page-content h2 { margin-bottom: 18px; font-size: 34px; color: #222; }
.page-content .lead { margin-bottom: 40px; color: #777; line-height: 1.9; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { padding: 30px 26px; border-top: 3px solid #ff9900; background: #fafafa; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.info-card h3 { margin-bottom: 14px; color: #e68100; font-size: 23px; }
.info-card p, .info-card li { color: #666; line-height: 1.9; }
.info-card ul { padding-left: 18px; list-style: disc; }
.timeline { display: grid; grid-template-columns: 160px 1fr; gap: 28px; margin-top: 34px; padding: 25px 0; border-bottom: 1px solid #eee; }
.timeline img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 5px solid #eee; }
.timeline h3 { margin: 6px 0 12px; color: #e68100; }
.timeline p { color: #666; line-height: 1.9; }
.course-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.course-embed { width: 350px; }
.course-grid iframe { display: block; width: 350px; height: 650px; border: 1px solid #eee; background: #f7f7f7; box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.course-embed > a { display: block; padding: 13px 16px; color: #c56e00; text-align: center; background: #fff8ed; }
.course-embed > a:hover { color: #8d4d00; text-decoration: underline; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-list li { margin: 18px 0; color: #555; line-height: 1.8; }
.contact-list strong { display: block; color: #222; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 16px; padding: 15px 16px; border: 1px solid #ddd; border-radius: 3px; font: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .field label { display: block; margin-bottom: 7px; color: #333; font-weight: 700; }
.contact-form .field label span { color: #d87800; }
.contact-form .field input, .contact-form .field textarea { margin-bottom: 16px; }
.form-note { margin-bottom: 20px; color: #888; font-size: 14px; line-height: 1.6; }
.form-status { min-height: 24px; margin-top: 14px; color: #4d7b47; line-height: 1.5; }
.contact-form .button { border: 0; background: #ff9900; cursor: pointer; }
.subpage footer { margin-top: 0; background: #202020; color: #bbb; }
.subpage footer p { margin: 5px 30px; }
@media (max-width: 760px) {
    .subpage .site-nav { height: auto; padding: 18px 22px; line-height: 1.5; }
    .subpage .site-nav .logo { display: block; margin-bottom: 12px; }
    .subpage .navbar { float: none; }
    .subpage .navbar li { margin: 0 18px 0 0; }
    .page-hero { min-height: 260px; padding: 68px 24px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero p { font-size: 16px; }
    .page-content { padding: 48px 20px; }
    .page-content h2 { font-size: 29px; }
    .info-grid, .contact-layout { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 100px 1fr; gap: 18px; }
    .timeline img { width: 96px; height: 96px; }
    .course-embed, .course-grid iframe { width: 100%; max-width: 350px; }
}
