/* Beethoven Music School - shared page styles (copied from the About pages) + SEO page components */

      /* ===== Beethoven Music School - About Us pages ===== */
      .section-lg { padding-top: 92px; padding-bottom: 92px; }
      .page .container p + p { margin-top: 16px; }
      .bg-soft { background-color: #f6f6f9; }

      /* Headings */
      .heading-with-icon { display: flex; align-items: center; gap: 14px; }
      .heading-with-icon.center-icon { justify-content: center; }
      .heading-with-icon .mdi { font-size: 30px; color: #c5a15b; flex-shrink: 0; }
      .page .sec-h { font-size: 27px; line-height: 1.3; margin-bottom: 14px !important; }
      .page .page-title { font-size: 42px; line-height: 1.2; margin-bottom: 22px !important; }
      .rule-gold { width: 54px; height: 3px; background: #c5a15b; border: 0; margin: 0 0 26px; }
      .rule-gold.center { margin-left: auto; margin-right: auto; }
      .lead-line { font-size: 19px; line-height: 1.75; color: #4a4a52; }
      .readable { max-width: 820px; }
      .readable.center { margin-left: auto; margin-right: auto; }
      .text-gold-bold { color: #c5a15b; font-weight: 700; }

      /* Images */
      .img-frame {
        border-radius: 12px;
        box-shadow: 0 14px 40px rgba(43,43,43,0.13);
        width: 100%;
        height: auto;
        display: block;
      }
      .img-frame-sm { border-radius: 10px; box-shadow: 0 8px 24px rgba(43,43,43,0.10); width:100%; height:auto; display:block; }
      .img-gold-accent { position: relative; }
      .img-gold-accent::after {
        content: ''; position: absolute; left: -16px; bottom: -16px;
        width: 120px; height: 120px; border-left: 4px solid #c5a15b; border-bottom: 4px solid #c5a15b;
        border-radius: 0 0 0 12px; z-index: -1;
      }
      .img-caption { font-size: 13px; color: #8a8a94; margin-top: 12px; font-style: italic; }
      .gallery-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
      .gallery-row > * { flex: 1 1 300px; }

      /* Pull quote */
      .pullquote {
        background: #faf6ec; border: 1px solid #ecdfc2; border-left: 5px solid #c5a15b;
        border-radius: 8px; padding: 30px 34px; margin: 30px 0;
      }
      .pullquote p {
        font-family: "Playfair Display", Georgia, serif; font-style: italic;
        font-size: 21px; line-height: 1.6; color: #2b2b2b; margin: 0;
      }
      .pullquote cite {
        display: block; margin-top: 14px; font-family: "Work Sans", sans-serif;
        font-style: normal; font-size: 13px; letter-spacing: 1.6px;
        text-transform: uppercase; color: #a97f2f; font-weight: 600;
      }
      .statement {
        font-family: "Playfair Display", Georgia, serif; font-size: 23px; line-height: 1.5;
        color: #c5a15b; font-style: italic; margin: 26px 0;
      }

      /* Gold check lists */
      .list-standout { list-style: none; padding: 0; margin: 22px 0; }
      .list-standout > li {
        position: relative; padding: 13px 0 13px 38px; border-bottom: 1px solid #e7e0d2;
        color: #2b2b2b; font-size: 16px; line-height: 1.65;
      }
      .list-standout > li:first-child { border-top: 1px solid #e7e0d2; }
      .list-standout > li::before {
        content: '\F012C'; font-family: 'Material Design Icons';
        position: absolute; left: 0; top: 12px;
        width: 26px; height: 26px; line-height: 26px; text-align: center;
        background: #c5a15b; color: #fff; border-radius: 50%; font-size: 15px;
      }

      /* Feature cards */
      .feature-grid { display: flex; flex-wrap: wrap; gap: 26px; margin: 34px 0 10px; }
      .feature-card {
        flex: 1 1 260px; background: #ffffff; border: 1px solid #e6e1d5; border-radius: 12px;
        padding: 30px 26px; box-shadow: 0 8px 26px rgba(43,43,43,0.05);
        transition: box-shadow .25s ease, transform .25s ease;
      }
      .feature-card:hover { box-shadow: 0 16px 38px rgba(43,43,43,0.10); transform: translateY(-4px); }
      .feature-card .mdi { font-size: 32px; color: #c5a15b; display: block; margin-bottom: 14px; }
      .feature-card h4 { font-size: 19px; margin: 0 0 10px; line-height: 1.35; }
      .feature-card p { margin: 0; color: #55555f; font-size: 15px; line-height: 1.7; }

      /* Photo cards (image + caption) */
      .photo-card {
        background: #fff; border: 1px solid #e6e1d5; border-radius: 12px; overflow: hidden;
        box-shadow: 0 8px 26px rgba(43,43,43,0.06);
        transition: box-shadow .25s ease, transform .25s ease;
      }
      .photo-card:hover { box-shadow: 0 18px 42px rgba(43,43,43,0.12); transform: translateY(-4px); }
      .photo-card img { width: 100%; height: auto; display: block; }
      .photo-card-body { padding: 22px 24px; }
      .photo-card-body h4 { font-size: 18px; margin: 0 0 8px; }
      .photo-card-body p { margin: 0; font-size: 15px; line-height: 1.7; color: #55555f; }

      /* Numbered principles */
      .principle { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #e7e0d2; }
      .principle:last-child { border-bottom: 0; }
      .principle-num {
        flex-shrink: 0; width: 46px; height: 46px; line-height: 46px; text-align: center;
        border-radius: 50%; background: #c5a15b; color: #fff;
        font-family: "Playfair Display", serif; font-size: 19px; font-weight: 700;
      }
      .principle p { margin: 0; font-size: 17px; line-height: 1.6; color: #2b2b2b; font-weight: 600; }

      /* Info box */
      .info-box {
        display: flex; gap: 14px; background: #ffffff; border: 1px solid #ecdfc2;
        border-left: 4px solid #c5a15b; border-radius: 6px; padding: 20px 24px; margin: 24px 0;
        box-shadow: 0 4px 16px rgba(43,43,43,0.04);
      }
      .info-box .mdi { font-size: 22px; color: #c5a15b; flex-shrink: 0; margin-top: 2px; }
      .info-box p { margin: 0; }

      /* Credential panels */
      .cred-box {
        background: #ffffff; border: 1px solid #e6e1d5; border-radius: 10px;
        padding: 26px 28px; margin-bottom: 22px; box-shadow: 0 6px 20px rgba(43,43,43,0.04);
      }
      .cred-box h4 { font-size: 17px; margin: 0 0 6px; color: #2b2b2b; letter-spacing: .3px; }
      .cred-box .rule-gold { width: 40px; margin-bottom: 16px; }
      .cred-list { list-style: none; padding: 0; margin: 0; }
      .cred-list li { position: relative; padding: 8px 0 8px 22px; font-size: 15px; line-height: 1.65; color: #55555f; }
      .cred-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: #c5a15b; }

      /* Stats */
      .stat-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
      .stat { flex: 1 1 200px; text-align: center; padding: 10px; }
      .stat-num { font-family: "Playfair Display", serif; font-size: 42px; color: #c5a15b; line-height: 1.1; }
      .stat-label { font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; color: #6b6b76; margin-top: 8px; }

      /* FAQ */
      .faq-item { border-bottom: 1px solid #e8e9ee; }
      .faq-item:first-child { border-top: 1px solid #e8e9ee; }
      .faq-question {
        display: flex; align-items: center; justify-content: space-between; gap: 15px;
        width: 100%; padding: 20px 5px; background: none; border: none; text-align: left;
        font-family: "Work Sans", sans-serif; font-size: 17px; font-weight: 600; color: #2b2b2b; cursor: pointer;
      }
      .faq-question:hover { color: #c5a15b; }
      .faq-question .faq-icon { flex-shrink: 0; position: relative; width: 16px; height: 16px; }
      .faq-question .faq-icon::before, .faq-question .faq-icon::after { content: ''; position: absolute; background: #c5a15b; transition: transform 0.3s ease; }
      .faq-question .faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
      .faq-question .faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
      .faq-item.active .faq-question .faq-icon::after { transform: translateX(-50%) rotate(90deg) scale(0); }
      .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
      .faq-answer-inner { padding: 0 5px 22px; color: #55555f; line-height: 1.75; }
      .faq-answer-inner p + p { margin-top: 12px; }

      /* Pills */
      .pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
      .pill { background: #faf6ec; border: 1px solid #ecdfc2; border-radius: 40px; padding: 9px 20px; font-size: 14px; font-weight: 600; color: #2b2b2b; }

      /* CTA */
      .cta-inline { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0 6px; }
      .cta-inline-center { justify-content: center; }
      .cta-inline .button { display: inline-flex; align-items: center; justify-content: center; min-width: 230px; padding: 16px 30px; font-size: 14px; line-height: 1.2; text-align: center; }
      .cta-dark .button-primary-outline { border-color: #ffffff; color: #ffffff; }
      .cta-dark .button-primary-outline:hover { background: #c5a15b; border-color: #c5a15b; color: #ffffff; }

      .profile-classic-image { border-radius: 8px; }

      @media (max-width: 767.98px) {
        .page .page-title { font-size: 30px; }
        .page .sec-h { font-size: 22px; }
        .lead-line { font-size: 17px; }
        .pullquote p { font-size: 18px; }
        .statement { font-size: 19px; }
        .img-gold-accent::after { display: none; }
      }
    

      .btn-cta-solid{margin:0 14px 12px 0;}
      .btn-cta-outline,.btn-cta-outline:focus{color:#e2c07f;background-color:transparent;border-color:#c5a15b;margin:0 0 12px 0;}
      .btn-cta-outline:hover,.btn-cta-outline:active{color:#ffffff;background-color:#c5a15b;border-color:#c5a15b;}
    
/* card titles (h3) that keep the look of the old h4 card titles */
.card-h { font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: 19px; line-height: 1.35; margin: 0 0 10px; color: #2b2b2b; letter-spacing: 0; }
.feature-card .card-h { font-size: 19px; }
a.related-card { display: block; color: inherit; text-decoration: none; }
a.related-card:hover .card-h { color: #c5a15b; }
.related-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: #a97f2f; letter-spacing: .3px; }
.readable p + p, .readable p + ul, .readable ul + p { margin-top: 16px; }
.readable h3.sub-h { font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 19px; line-height: 1.4; margin: 28px 0 8px; color: #2b2b2b; }
.col-lg-6 h3.sub-h { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 18px; margin: 24px 0 6px; }
.content-list { margin: 14px 0 0; padding-left: 20px; list-style: disc; color: #55555f; }
.content-list li { margin: 6px 0; line-height: 1.65; }
.teacher-links a { color: #a97f2f; font-weight: 600; }


/* in-content links */
.related-more .mdi { display: inline; font-size: inherit; color: inherit; margin: 0 0 0 4px; }

/* ===== Elegant components for the Grade 5 and Exam Preparation pages ===== */
.el-glance { background: #2b2b2b; color: #fff; padding: 0; }
.el-glance .container { display: flex; flex-wrap: wrap; }
.el-glance-item { flex: 1 1 260px; padding: 34px 30px; border-left: 1px solid rgba(255,255,255,.08); }
.el-glance-item:first-child { border-left: 0; }
.el-glance-big { font-family: "Playfair Display", Georgia, serif; font-size: 34px; line-height: 1.15; color: #c5a15b; }
.el-glance-label { margin-top: 8px; font-size: 14px; letter-spacing: .4px; line-height: 1.6; color: #cfcfd6; }
@media (max-width: 767.98px) { .el-glance-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 24px 6px; } .el-glance-item:first-child { border-top: 0; } }

.el-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: #a97f2f; font-weight: 600; margin-bottom: 10px; }
.el-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.el-head p { color: #6b6b76; }

.el-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.el-topics > .el-topic { flex: 0 1 calc(25% - 16.5px); }
@media (max-width: 1199.98px) { .el-topics > .el-topic { flex-basis: calc(33.333% - 14.667px); } }
@media (max-width: 991.98px) { .el-topics > .el-topic { flex-basis: calc(50% - 11px); } }
@media (max-width: 575.98px) { .el-topics > .el-topic { flex-basis: 100%; } }
.el-topic { position: relative; background: #fff; border: 1px solid #ece4d3; border-radius: 14px; padding: 28px 24px 24px; box-shadow: 0 10px 30px rgba(43,43,43,.05); transition: transform .25s ease, box-shadow .25s ease; }
.el-topic:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,43,43,.10); }
.el-topic-num { font-family: "Playfair Display", Georgia, serif; font-size: 40px; line-height: 1; color: #e9dcc0; position: absolute; top: 18px; right: 22px; }
.el-topic .mdi { font-size: 28px; color: #c5a15b; display: block; margin-bottom: 12px; }
.el-topic h3 { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 17px; line-height: 1.4; margin: 0 0 8px; color: #2b2b2b; }
.el-topic p { margin: 0; font-size: 15px; line-height: 1.65; color: #55555f; }
.el-note { max-width: 820px; margin: 34px auto 0; text-align: center; color: #55555f; font-style: italic; }

.el-steps { list-style: none; margin: 26px 0 0; padding: 0; position: relative; }
.el-steps::before { content: ''; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#c5a15b, rgba(197,161,91,.15)); }
.el-step { position: relative; padding: 0 0 26px 70px; }
.el-step:last-child { padding-bottom: 0; }
.el-step-num { position: absolute; left: 0; top: 0; width: 46px; height: 46px; line-height: 46px; border-radius: 50%; background: #c5a15b; color: #fff; text-align: center; font-family: "Playfair Display", serif; font-size: 19px; font-weight: 700; box-shadow: 0 0 0 6px #fff; }
.bg-soft .el-step-num { box-shadow: 0 0 0 6px #f6f6f9; }
.el-step h3 { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 18px; margin: 10px 0 6px; color: #2b2b2b; }
.el-step p { margin: 0; color: #55555f; line-height: 1.7; }
.el-sticky { position: sticky; top: 110px; }

.el-band { position: relative; padding: 96px 0; text-align: center; color: #fff; background: #1f1f26 center/cover no-repeat; }
.el-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(20,20,26,.72), rgba(20,20,26,.80)); }
.el-band .container { position: relative; }
.el-band blockquote { margin: 0 auto; max-width: 860px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 1.5; color: #fff; }
.el-band blockquote::before { content: '\201C'; display: block; font-size: 80px; line-height: .6; color: #c5a15b; margin-bottom: 18px; }
@media (max-width: 767.98px) { .el-band { padding: 64px 0; } .el-band blockquote { font-size: 22px; } }

.el-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.el-board { background: #fff; border-radius: 14px; border: 1px solid #ece4d3; overflow: hidden; box-shadow: 0 10px 30px rgba(43,43,43,.06); }
.el-board-head { background: #2b2b2b; color: #fff; padding: 22px 26px; }
.el-board-head h3 { color: #fff; font-size: 24px; margin: 0; }
.el-board-head span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: #c5a15b; }
.el-board ul { list-style: none; margin: 0; padding: 18px 26px 24px; }
.el-board li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid #f0ebe0; color: #55555f; line-height: 1.6; }
.el-board li:last-child { border-bottom: 0; }
.el-board li::before { content: '\2713'; position: absolute; left: 0; top: 10px; color: #c5a15b; font-weight: 700; }

.el-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
a.el-photo { display: block; position: relative; border-radius: 14px; overflow: hidden; color: #fff; box-shadow: 0 14px 34px rgba(43,43,43,.14); text-decoration: none; }
a.el-photo img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .5s ease; }
a.el-photo:hover img { transform: scale(1.05); }
a.el-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,20,26,.85)); }
.el-photo-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.el-photo-cap h3 { color: #fff; font-size: 22px; margin: 0 0 4px; }
.el-photo-cap span { font-size: 14px; color: #e9dcc0; }
.el-photo-cap span .mdi { margin-left: 4px; }

.el-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid #ece4d3; border-radius: 14px; overflow: hidden; background: #fff; }
.el-aud { padding: 34px 28px; text-align: center; border-left: 1px solid #ece4d3; }
.el-aud:first-child { border-left: 0; }
.el-aud .mdi { display: inline-block; width: 64px; height: 64px; line-height: 64px; border-radius: 50%; background: #faf6ec; color: #c5a15b; font-size: 28px; margin-bottom: 16px; }
.el-aud h3 { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 18px; margin: 0 0 8px; color: #2b2b2b; }
.el-aud p { margin: 0; color: #55555f; font-size: 15px; line-height: 1.65; }
@media (max-width: 767.98px) { .el-aud { border-left: 0; border-top: 1px solid #ece4d3; } .el-aud:first-child { border-top: 0; } }

.el-callout { display: flex; gap: 22px; align-items: center; background: #faf6ec; border: 1px solid #ecdfc2; border-radius: 14px; padding: 28px 32px; margin-top: 30px; }
.el-callout .mdi { font-size: 34px; color: #c5a15b; flex-shrink: 0; }
.el-callout p { margin: 0; color: #4a4a52; }
.el-callout a { color: #a97f2f; font-weight: 600; }
.el-links a { color: #a97f2f; font-weight: 600; }
.el-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.el-place { background: #fff; border-radius: 14px; border-top: 4px solid #c5a15b; padding: 28px 24px; box-shadow: 0 10px 30px rgba(43,43,43,.06); }
.el-place .mdi { font-size: 28px; color: #c5a15b; display: block; margin-bottom: 12px; }
.el-place h3 { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 17px; margin: 0 0 6px; color: #2b2b2b; }
.el-place address { font-style: normal; font-size: 14px; color: #8a8a94; margin: 0 0 10px; line-height: 1.6; }
.el-place p { margin: 0; font-size: 15px; color: #55555f; line-height: 1.65; }
.el-places-note { text-align: center; max-width: 820px; margin: 30px auto 0; color: #55555f; }
.el-center { text-align: center; max-width: 780px; margin: 0 auto; }
.el-center p { color: #55555f; }
.el-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.el-place { border: 1px solid #ece4d3; border-top: 4px solid #c5a15b; }
.el-btns .button { display: inline-flex; align-items: center; justify-content: center; min-width: 280px; padding: 16px 30px; line-height: 1.2; margin: 0 !important; white-space: nowrap; }
@media (max-width: 575.98px) { .el-btns .button { min-width: 0; width: 100%; white-space: normal; } }

/* photo columns sized to match the text beside them */
.el-intro-media .img-frame { width: 100%; height: 440px; object-fit: cover; }
.el-steps-media { display: flex; }
.el-steps-media > .img-gold-accent { flex: 1 1 auto; display: flex; width: 100%; }
.el-steps-media .img-frame { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
@media (max-width: 991.98px) {
  .el-intro-media .img-frame { height: 320px; }
  .el-steps-media .img-frame { height: 360px; min-height: 0; }
}
/* three cards per row where that divides evenly */
.el-topics-3 > .el-topic { flex-basis: calc(33.333% - 14.667px); }
@media (max-width: 991.98px) { .el-topics-3 > .el-topic { flex-basis: calc(50% - 11px); } }
@media (max-width: 575.98px) { .el-topics-3 > .el-topic { flex-basis: 100%; } }
