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

:root {
    --blue: #3f94d5;
    --blue-dark: #2679b9;
    --ink: #444;
    --muted: #6d6d6d;
    --line: #d8d8d8;
    --paper: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--ink);
    line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff url('/img/notes-texture-petite-2.jpg') repeat;
    background-size: 390px auto;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); }

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: .7rem 1rem;
    color: #fff;
    background: #111;
}
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid #ddd; background: #fff; }
.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 153px;
    padding: 0;
}
.brand-row img { display: block; width: 500px; height: 153px; max-width: 100%; object-fit: contain; }

.main-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    padding-inline: max(0px, calc((100% - 1096px) / 2));
    border-top: 1px solid #ddd;
    background: #f5f5f5;
}
.nav-item { position: relative; }
.main-navigation a, .nav-parent {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    color: #606060;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-stretch: ultra-condensed;
    font-weight: 300;
    line-height: 21px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.nav-parent { justify-content: center; gap: 8px; border: 0; cursor: pointer; font-family: inherit; }
.submenu-arrow { width: 7px; height: 7px; margin-top: -4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.has-submenu.is-open .submenu-arrow { margin-top: 3px; transform: rotate(225deg); }
.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a[aria-current="page"],
.nav-parent:hover,
.nav-parent:focus-visible,
.nav-parent.is-current,
.has-submenu.is-open > .nav-parent { color: #fff; background: #006fb5; }
.submenu {
    display: none;
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    width: 190px;
    background: #f5f5f5;
    box-shadow: 0 3px 6px rgba(0,0,0,.13);
}
.submenu a { min-height: 51px; padding: 15px 22px; }
.submenu a[aria-current="page"] { position: relative; color: #fff; background: #006fb5; box-shadow: inset 4px 0 0 #003f66; font-weight: 600; }
.submenu a[aria-current="page"]::after { margin-left: auto; padding-left: 12px; content: "✓"; font-size: 13px; }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { display: block; }

.menu-toggle { display: none; }
.site-main { width: min(1096px, calc(100% - 38px)); margin: 0 auto; padding: 25px 0 0; }
.page-title-wrap h1 {
    margin: 0 0 19.5px;
    color: #5e5e5e;
    font-family: Raleway, Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 32px;
}
.mobile-section-nav { display: none; }
.inner-page-main {
    width: min(1096px, calc(100% - 38px));
    margin: 0 auto;
    padding-top: 25px;
}
.inner-page-main h1 {
    margin: 0 0 19.5px;
    color: #5e5e5e;
    font-family: Raleway, Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 32px;
}
.mission-main article { min-height: 330px; margin: 0; }
.mission-main p,
.mission-main ul { color: #4f4f4f; font-size: 20px; line-height: 30px; }
.mission-main p { margin: 0 0 30px; }
.mission-main ul { margin: 0 0 30px 60px; padding: 0; }
.autres-main article { height: 108px; margin: 0; }
.autres-main p { margin: 0 0 54px; color: #4f4f4f; font-size: 36px; line-height: 54px; }
.home-main {
    width: min(1300px, 100%);
    margin: 0 auto;
    background: transparent;
}
.home-banner {
    display: block;
    width: 100%;
    aspect-ratio: 13 / 5;
    object-fit: cover;
}
.welcome-message {
    display: flow-root;
    width: min(1096px, calc(100% - 38px));
    margin: 44.5px auto 0;
    padding: 0;
    text-align: center;
}
.welcome-message hr { width: 100%; height: 2px; margin: 6.5px 0 19.5px; border: 0; background: #ccc; }
.welcome-message h1 { margin: 0 0 23.4px; color: #5e5e5e; font-family: Raleway, Arial, sans-serif; font-size: 36px; font-weight: 300; line-height: 36px; }
.welcome-message p { margin: 0 0 30px; color: #4f4f4f; font-size: 20px; line-height: 30px; }
.catalogue { padding-bottom: 19.5px; color: #4f4f4f; font-size: 13px; line-height: 19.5px; }
.catalogue sup {
    position: relative;
    top: -.5em;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
.catalogue > h2 {
    margin: 0 0 23.4px;
    padding: 45px 85.5px;
    color: #fff;
    background: #0693e3;
    font-family: Raleway, Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
}
.catalogue > p.has-white-background-color {
    margin: 0 0 19.5px;
    padding: 16.25px 30.875px;
    background: #fff;
    font-size: 18px;
    line-height: 1.7;
    text-indent: 2em;
}
.catalogue hr {
    height: 2px;
    margin: 6.5px 0 19.5px;
    border: 0;
    background: #0693e3;
}
.wp-block-media-text {
    display: grid;
    grid-template-columns: 26% 1fr;
    align-items: center;
    gap: 0;
    width: 75%;
    margin: 0 auto;
    padding: 0;
}
.catalogue > .wp-block-media-text[style*="25%"] { grid-template-columns: 25% 1fr; }
.wp-block-media-text__media { margin: 0; text-align: center; }
.wp-block-media-text__media img {
    display: inline;
    width: 100%;
    max-width: none;
    margin-bottom: 19.5px;
    border: 1px solid #ddd;
    box-shadow: none;
}
.wp-block-media-text__content { min-width: 0; padding: 0 8%; }
.wp-block-media-text__content > p:first-child { margin: 0 0 36px; color: #4f4f4f; font-size: 24px !important; font-weight: 400; line-height: 36px; }
.francais-catalogue .wp-block-media-text__content > p.has-large-font-size {
    margin-bottom: 54px;
    font-size: 36px !important;
    line-height: 54px;
}
.wp-block-media-text__content p { margin: 0 0 19.5px; }
.wp-block-media-text__content > .wp-block-paragraph:not(:first-child):not(.has-small-font-size) { font-size: 14px; line-height: 1.7; text-indent: 2em; }
.has-small-font-size { color: #4f4f4f; font-size: 13px; }
.wp-block-buttons, .wp-block-file { display: block; margin: 0; }
.wp-block-button__link, .wp-block-file__button {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    margin: 2px 0;
    padding: 8px 18px;
    border: 0;
    color: #fff;
    background: #1a1a1a;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 19.5px;
    text-decoration: none;
}
.wp-block-button__link { background: #0693e3; }
.wp-block-button__link:hover { background: #0077b9; }
.wp-block-file__button:hover { background: #333; }
.site-footer { width: 100%; margin: 0; padding: 0; }
.footer-texture { height: 50px; }
.footer-spacer { height: 37px; border-top: 1px solid #e6e6e6; background: #f5f5f5; }
.footer-bottom { min-height: 42.5px; padding: 10px 0 15px; border-top: 1px solid #333; background: #222; color: #777; font-size: 11px; line-height: 16.5px; }
.site-main + .site-footer .footer-texture { height: 36px; }
.francais-page .francais-catalogue { padding-bottom: 0; }
.francais-page .francais-catalogue > p:last-child { display: none; }
.francais-page .francais-catalogue > hr:last-of-type { margin-bottom: 0; }
.francais-page .francais-catalogue::after { display: block; height: 19.5px; content: ""; }
.francais-page .site-main + .site-footer .footer-texture { height: 49px; }
.education-catalogue > .wp-block-image {
    display: table;
    width: 100%;
    margin: 0;
}
.education-catalogue > .wp-block-image figure { display: table; width: 100%; margin: 0; }
.education-catalogue > .wp-block-image img {
    display: block;
    width: 100%;
    margin-bottom: 19.5px;
}
.education-catalogue > p { margin: 0 0 19.5px; }
.education-catalogue .has-text-align-center { text-align: center; }
.education-catalogue > p.has-text-align-center[style*="font-size:30px"] {
    margin: 0 0 45px;
    font-size: 30px !important;
    line-height: 45px;
}
.piano-catalogue > p { margin: 0 0 19.5px; }
.piano-catalogue .has-text-align-center { text-align: center; }
.piano-catalogue > p.has-text-align-center[style*="font-size:30px"] {
    margin: 0 0 45px;
    font-size: 30px !important;
    line-height: 45px;
}
.piano-catalogue .wp-block-media-text__content > p.has-large-font-size {
    margin-bottom: 54px;
    font-size: 36px !important;
    line-height: 54px;
}
.piano-page .piano-catalogue { padding-bottom: 0; }
.piano-page .site-main + .site-footer .footer-texture { height: 49px; }
.appreciations-content .wp-block-image { width: 100%; margin: 0; }
.appreciations-content .wp-block-image figure { display: table; margin: 0 auto; }
.appreciations-content .wp-block-image img { display: block; max-width: 100%; margin-bottom: 19.5px; }
.appreciations-content .wp-block-image:nth-of-type(1) img { height: 1024.109px; }
.appreciations-content .wp-block-image:nth-of-type(2) img { height: 1023.258px; }
.appreciations-content .wp-block-image:nth-of-type(3) img { height: 1023.352px; }
.appreciations-content hr { height: 2px; margin: 6.5px 0 19.5px; border: 0; background: #0693e3; }
.appreciations-page .site-main + .site-footer .footer-texture { height: 49px; }
.qualifications-content .wp-block-image { width: 100%; margin: 0; }
.qualifications-content .wp-block-image figure { display: table; margin: 0 auto; }
.qualifications-content .wp-block-image img { display: block; width: 790px; height: 1024px; max-width: 100%; margin-bottom: 19.5px; }
.qualifications-page .site-main + .site-footer .footer-texture { height: 49px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1096px, calc(100% - 38px)); margin: 0 auto; }
.footer-bottom a { color: #3188bc; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: #fff; text-decoration: underline; }
.footer-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; font-size: 13px; }

/* Alinéa typographique demandé pour les textes descriptifs. */
.mission-main p,
.about-introduction p,
.about-grid p,
.about-purpose p,
.video-introduction > p:first-child,
.audio-introduction > p:first-child,
.collection-introduction p,
.video-watch-card > p { text-indent: 2em; }

.video-library { padding-bottom: 56px; }
.video-introduction { width: 100%; margin: 0 0 39px; padding: 16.25px 30.875px; background: #fff; text-align: left; font-size: 18px; line-height: 1.7; }
.video-introduction > p:first-child { margin: 0 0 19.5px; color: #4f4f4f; font-size: 20px; line-height: 30px; }
.video-stats { display: flex; gap: 24px; margin: 0 0 19.5px; color: #4f4f4f; }
.video-stats span { font-size: 15px; }
.video-stats strong { margin-right: 4px; color: #0693e3; font-size: 18px; }
.video-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding-top: 13px; border-top: 2px solid #0693e3; }
.video-filter { min-height: 36px; padding: 8px 18px; border: 0; border-radius: 0; color: #fff; background: #777; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; }
.video-filter:hover, .video-filter:focus-visible, .video-filter.is-active { color: #fff; background: #0693e3; }
.video-introduction .video-result { margin: 12px 0 0; color: #555; font-size: 15px; }
.video-year { width: min(1096px, calc(100% - 38px)); margin: 0 auto 52px; }
.video-year[hidden] { display: none; }
.video-year h2 { margin: 0 0 23.4px; padding: 32px 45px; border: 0; color: #fff; background: #0693e3; font-family: Raleway, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 36px; text-align: center; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.video-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ddd; background: #fff; box-shadow: none; }
.video-open { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #111; cursor: pointer; }
.video-open img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.video-open:hover img, .video-open:focus-visible img { transform: scale(1.025); opacity: .82; }
.video-open:focus-visible { outline: 4px solid #1e8fc6; outline-offset: 3px; }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 68px; height: 68px; padding-left: 5px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: rgb(0 0 0 / 62%); font-size: 27px; transform: translate(-50%, -50%); transition: background .2s ease, transform .2s ease; }
.video-open:hover .video-play { background: #167cad; transform: translate(-50%, -50%) scale(1.08); }
.video-number { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: rgb(22 124 173 / 92%); font-size: 14px; font-weight: 800; pointer-events: none; }
.video-card h3 { margin: 0; padding: 16.25px 20px 19.5px; color: #4f4f4f; font-size: 18px; font-weight: 400; line-height: 27px; }
.videos-empty { width: min(1096px, calc(100% - 38px)); margin: 0 auto; padding: 35px; border: 1px solid #ddd; text-align: center; background: #fff; }
.video-modal { width: min(1040px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 6px; color: #fff; background: #111; box-shadow: 0 24px 80px rgb(0 0 0 / 55%); }
.video-modal::backdrop { background: rgb(0 0 0 / 82%); backdrop-filter: blur(3px); }
.video-modal-inner { position: relative; padding: 58px 22px 22px; }
.video-modal h2 { margin: 0 52px 18px 0; color: #fff; font-size: 23px; }
.video-modal video { display: block; width: 100%; max-height: 76vh; background: #000; }
.video-modal-close { position: absolute; top: 10px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgb(255 255 255 / 50%); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; font-size: 31px; line-height: 1; }
.video-modal-close:hover, .video-modal-close:focus-visible { color: #111; background: #fff; }

.audio-library { padding-bottom: 64px; }
.video-details { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; margin: auto 20px 20px; padding: 11px 16px; border: 1px solid #0693e3; color: #006fb5; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.video-details-arrow { flex: 0 0 auto; font-size: 20px; line-height: 1; transition: transform .2s ease; }
.video-details:hover, .video-details:focus-visible { color: #fff; background: #0693e3; box-shadow: 0 7px 18px rgb(6 147 227 / 24%); transform: translateY(-2px); }
.video-details:hover .video-details-arrow, .video-details:focus-visible .video-details-arrow { transform: translateX(4px); }
.video-details:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.video-page-player { width: 100%; margin: 18px 0 24px; background: #000; }
.video-watch { padding-bottom: 64px; }
.video-watch-card { padding: 24px 30px 32px; background: #fff; }
.video-watch-card > p { max-width: 760px; }
.video-breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.audio-introduction { width: 100%; margin: 0 0 39px; padding: 16.25px 30.875px; background: #fff; text-align: left; }
.audio-introduction > p:first-child { margin: 0 0 19.5px; color: #4f4f4f; font-size: 20px; line-height: 30px; }
.audio-stats { display: flex; gap: 24px; margin: 0 0 19.5px; color: #4f4f4f; }
.audio-stats span { font-size: 15px; }
.audio-stats strong { margin-right: 4px; color: #0693e3; font-size: 18px; }
.audio-introduction label { display: block; margin: 0 0 8px; color: #4f4f4f; font-size: 13px; font-weight: 600; }
.song-search { width: 100%; min-height: 46px; padding: 9px 14px; border: 1px solid #aaa; border-radius: 0; background: #fff; color: #222; font: inherit; }
.song-search:focus { outline: 3px solid rgb(30 143 198 / 28%); border-color: #1e8fc6; }
.song-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 0; padding-top: 13px; border-top: 2px solid #0693e3; }
.song-filter { min-height: 36px; padding: 8px 18px; border: 0; border-radius: 0; color: #fff; background: #777; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; }
.song-filter:hover, .song-filter:focus-visible, .song-filter.is-active { color: #fff; background: #0693e3; }
.audio-introduction .song-result { margin: 12px 0 0; color: #555; font-size: 15px; }
.audio-collections { width: min(1096px, calc(100% - 38px)); margin: 0 auto; }
.audio-collection { margin: 0 0 19.5px; border: 0; background: #fff; box-shadow: none; }
.audio-collection summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 30px; color: #fff; background: #0693e3; cursor: pointer; font-family: Raleway, Arial, sans-serif; font-size: 24px; font-weight: 300; }
.audio-collection summary:hover, .audio-collection summary:focus-visible, .audio-collection[open] summary { color: #fff; background: #0077b9; }
.collection-count { flex: 0 0 auto; padding: 4px 10px; border-radius: 0; color: #4f4f4f; background: #fff; font-family: Arial, sans-serif; font-size: 12px; font-weight: 400; }
.song-list { border-top: 1px solid #ddd; }
.song-card { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(280px, 38%); align-items: center; gap: 28px; min-width: 0; padding: 18px; background: #fff; }
.song-card + .song-card { border-top: 1px solid #e6e6e6; }
.song-card:nth-child(even) { background: #fbfbfb; }
.song-information { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.song-icon { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; color: #0693e3; background: transparent; font-size: 20px; font-weight: 700; }
.song-card h2 { margin: 4px 0 0; color: #333; font-size: 16px; line-height: 1.4; }
.song-card p { margin: 7px 0 11px; color: #666; font-size: 13px; line-height: 19.5px; }
.song-pdf { display: inline-flex; align-items: center; min-height: 35px; padding: 8px 18px; color: #fff; background: #1a1a1a; font-size: 13px; font-weight: 500; line-height: 19px; text-decoration: none; }
.song-pdf:hover, .song-pdf:focus-visible { color: #fff; background: #333; }
.song-mp3 { display: inline-flex; align-items: center; min-height: 35px; margin: 5px 0 0 5px; padding: 8px 18px; color: #fff; background: #0693e3; font-size: 13px; font-weight: 500; line-height: 19px; text-decoration: none; }
.song-mp3:hover, .song-mp3:focus-visible { color: #fff; background: #0077b9; }
.bundle-download { display: block; margin-top: 7px; }
.bundle-download a { display: inline-flex; align-items: center; min-height: 35px; padding: 8px 18px; color: #fff; background: #0693e3; font-size: 13px; font-weight: 500; line-height: 19px; text-decoration: none; }
.bundle-download a:hover, .bundle-download a:focus-visible { color: #fff; background: #0077b9; }
.song-card audio { display: none; }
.custom-audio { display: grid; grid-template-columns: 42px 32px minmax(50px, 1fr) 32px 16px minmax(40px, 55px); align-items: center; gap: 6px; width: 100%; min-height: 48px; padding: 7px 10px; border: 1px solid #d7d7d7; background: #f5f5f5; }
.audio-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #0693e3; cursor: pointer; font-size: 14px; }
.audio-toggle:hover, .audio-toggle:focus-visible, .audio-toggle.is-playing { background: #006fb5; }
.audio-toggle:focus-visible, .audio-progress:focus-visible, .audio-volume:focus-visible { outline: 3px solid rgb(6 147 227 / 30%); outline-offset: 2px; }
.audio-time { color: #555; font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.audio-progress, .audio-volume { width: 100%; accent-color: #0693e3; cursor: pointer; }
.audio-progress { min-width: 50px; }
.audio-volume-icon { color: #006fb5; font-size: 18px; text-align: center; }
.song-card[hidden], .audio-collection[hidden] { display: none; }
.songs-empty { padding: 35px; border: 1px solid #ddd; text-align: center; background: #fff; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19.5px; width: 100%; padding-bottom: 58px; }
.collection-card { min-width: 0; border: 1px solid #d7d7d7; background: #fff; }
.collection-card[hidden] { display: none; }
.collection-card a { position: relative; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto auto; gap: 6px 15px; min-height: 100%; padding: 24px; color: #4f4f4f; text-decoration: none; }
.collection-card a:hover, .collection-card a:focus-visible { outline: 0; background: #f4f9fc; box-shadow: inset 0 0 0 3px #0693e3; }
.collection-card-icon { grid-row: 1 / 4; display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: #0693e3; font-size: 24px; }
.collection-card h2 { margin: 0; color: #333; font-family: Raleway, Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 28px; }
.collection-card p { margin: 0; color: #666; font-size: 13px; line-height: 19.5px; }
.collection-card-count { color: #006fb5; font-size: 13px; font-weight: 700; }
.collection-card-action { grid-column: 1 / 3; margin-top: 10px; padding-top: 12px; border-top: 2px solid #0693e3; color: #006fb5; font-size: 13px; font-weight: 700; text-align: right; }
.collection-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: #777; font-size: 13px; }
.collection-breadcrumb a { color: #006fb5; }
.collection-introduction { margin: 0 0 30px; padding: 16.25px 30.875px; background: #fff; }
.collection-introduction p { margin: 0 0 12px; color: #4f4f4f; font-size: 18px; line-height: 28px; }
.collection-introduction strong { display: inline-block; margin-right: 14px; color: #006fb5; }
.collection-pdf { margin-top: 6px; }
.collection-search { margin: 0 0 20px; padding: 20px 30px; border-top: 2px solid #0693e3; background: #fff; }
.collection-search label { display: block; margin: 0 0 8px; color: #4f4f4f; font-size: 13px; font-weight: 600; }
.collection-search .song-result { margin: 10px 0 0; color: #555; font-size: 14px; }
.collection-song-list { margin-bottom: 45px; border: 1px solid #ddd; }
.about-main { padding-bottom: 58px; }
.about-introduction { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 20px; padding: 32px; border-top: 3px solid #0693e3; background: #fff; }
.about-note { display: grid; place-items: center; width: 74px; height: 74px; color: #fff; background: #0693e3; font-size: 40px; }
.about-introduction h2, .about-grid h2, .about-purpose h2 { margin: 0 0 10px; color: #333; font-family: Raleway, Arial, sans-serif; font-weight: 400; }
.about-introduction h2 { font-size: 25px; }
.about-introduction p, .about-grid p, .about-purpose p { margin: 0; color: #555; font-size: 16px; line-height: 26px; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.about-grid article { padding: 25px; border: 1px solid #ddd; background: #fff; }
.about-grid article::before { display: block; width: 42px; height: 3px; margin-bottom: 18px; background: #0693e3; content: ""; }
.about-grid h2, .about-purpose h2 { font-size: 21px; line-height: 27px; }
.about-purpose { padding: 28px 32px; background: #fff; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about-links a { display: inline-flex; align-items: center; min-height: 39px; padding: 9px 17px; color: #fff; background: #0693e3; font-size: 13px; font-weight: 600; text-decoration: none; }
.about-links a:hover, .about-links a:focus-visible { color: #fff; background: #0077b9; }

@media (max-width: 720px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-year h2 { font-size: 24px; }
    .video-introduction { font-size: 16px; }
    .video-stats { flex-direction: column; }
    .video-play { width: 56px; height: 56px; font-size: 22px; }
    .video-modal-inner { padding: 56px 12px 12px; }
    .video-modal h2 { font-size: 18px; }
    .song-list { grid-template-columns: 1fr; }
    .collection-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 38px; }
    .collection-card a { grid-template-columns: 38px minmax(0, 1fr); gap: 6px 12px; padding: 18px; }
    .collection-card-icon { width: 38px; height: 38px; font-size: 20px; }
    .collection-card h2 { font-size: 19px; line-height: 25px; }
    .collection-introduction { margin-bottom: 18px; padding: 18px; }
    .collection-introduction p { font-size: 16px; line-height: 24px; }
    .collection-introduction strong { display: block; margin: 0 0 10px; }
    .collection-pdf { width: 100%; justify-content: center; text-align: center; }
    .collection-search { margin-bottom: 14px; padding: 18px; }
    .collection-search .song-result { font-size: 13px; }
    .collection-song-list { margin-bottom: 32px; }
    .audio-collection summary { font-size: 18px; }
    .song-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px 14px; }
    .song-information { gap: 8px; }
    .song-icon { flex-basis: 24px; width: 24px; height: 24px; }
    .song-card h2 { overflow-wrap: anywhere; }
    .song-mp3 { margin-left: 0; }
    .custom-audio { grid-template-columns: 42px 34px minmax(70px, 1fr) 34px; }
    .audio-volume-icon, .audio-volume { display: none; }
    .audio-stats { flex-direction: column; }
    .about-introduction { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .about-note { width: 56px; height: 56px; font-size: 30px; }
    .about-introduction h2 { font-size: 22px; }
    .about-grid { grid-template-columns: 1fr; gap: 14px; }
    .about-grid article, .about-purpose { padding: 22px; }
    .about-links { flex-direction: column; }
    .about-links a { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
    .collection-breadcrumb { font-size: 12px; }
    .song-search { min-height: 44px; padding-inline: 12px; font-size: 16px; }
    .collection-card a { padding: 15px; }
    .collection-card-action { grid-column: 1 / 3; }
    .custom-audio { grid-template-columns: 40px 32px minmax(42px, 1fr) 32px; gap: 4px; padding: 6px; }
    .audio-toggle { width: 36px; height: 36px; }
    .audio-time { font-size: 10px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
    .site-header { position: relative; }
    .brand-row { justify-content: flex-start; min-height: 82px; padding: 10px 82px 10px 16px; }
    .brand-row img { width: min(260px, 100%); height: auto; max-height: 62px; }
    .menu-toggle {
        display: grid;
        position: absolute;
        right: 18px;
        top: 18px;
        width: 46px;
        height: 46px;
        padding: 10px;
        border: 0;
        border-radius: 4px;
        background: var(--blue);
        place-content: center;
        gap: 5px;
    }
    .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: #fff; }
    .menu-toggle span:not(.sr-only) { transition: opacity .18s ease, transform .18s ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-navigation { display: none; flex-direction: column; align-items: stretch; border-bottom: 1px solid #ddd; }
    .main-navigation.is-open { display: flex; }
    .main-navigation a, .nav-parent { width: 100%; min-height: 46px; padding: 12px 20px; text-align: left; }
    .nav-item { width: 100%; }
    .nav-parent { justify-content: space-between; }
    .submenu { display: none; position: static; width: 100%; border-top: 1px solid #ddd; background: #ececec; box-shadow: none; }
    .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { display: none; }
    .main-navigation.is-open .has-submenu .submenu,
    .has-submenu.is-open .submenu { display: block; }
    .submenu a { padding-left: 38px; font-size: 13px; }
    .submenu a[aria-current="page"] { padding-left: 42px; background: #006fb5; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .site-main { width: min(100% - 28px, 720px); padding-top: 22px; }
    .inner-page-main { width: min(100% - 36px, 720px); padding-top: 22px; }
    .inner-page-main h1 { font-size: 29px; line-height: 32px; }
    .mission-main article { min-height: 0; }
    .mission-main p,
    .mission-main ul { font-size: 18px; line-height: 28px; }
    .mission-main ul { margin-left: 30px; }
    .home-main { width: 100%; overflow: hidden; }
    .home-banner { height: auto; min-height: 0; aspect-ratio: 13 / 5; object-fit: contain; object-position: center; background: #fff; }
    .welcome-message { width: min(100% - 40px, 680px); margin-block: 32px 0; }
    .welcome-message hr { margin-bottom: 17px; }
    .welcome-message h1 { margin-bottom: 18px; font-size: clamp(27px, 5vw, 32px); line-height: 1.15; }
    .welcome-message p { margin-bottom: 26px; font-size: 18px; line-height: 28px; }
    .mobile-section-nav { display: none; }
    .catalogue > h2 { margin-inline: -14px; padding: 24px 18px; font-size: 25px; line-height: 32px; }
    .catalogue > p.has-white-background-color { margin-inline: 0; padding: 15px 18px; }
    .wp-block-media-text { grid-template-columns: 1fr !important; gap: 22px; padding-inline: 0; }
    .wp-block-media-text { width: 100%; }
    .wp-block-media-text__media img { width: min(280px, 78vw); }
    .wp-block-media-text__content { padding: 0; }
    .appreciations-content .wp-block-image img { width: auto; max-width: 100%; height: auto !important; }
    .qualifications-content .wp-block-image img { width: auto; max-width: 100%; height: auto; }
}

@media (max-width: 600px) {
    .home-banner { aspect-ratio: 13 / 5; }
    .welcome-message { width: calc(100% - 32px); margin-top: 26px; }
    .welcome-message hr { height: 2px; margin-bottom: 15px; }
    .welcome-message h1 { margin-bottom: 15px; font-size: 27px; line-height: 32px; }
    .welcome-message p { margin-bottom: 24px; font-size: 17px; line-height: 26px; }
}

@media (max-width: 380px) {
    .brand-row { min-height: 76px; padding-left: 12px; padding-right: 74px; }
    .brand-row img { width: min(220px, 100%); }
    .menu-toggle { right: 14px; top: 15px; width: 44px; height: 44px; }
    .home-banner { aspect-ratio: 13 / 5; }
    .welcome-message { width: calc(100% - 28px); margin-top: 22px; }
    .welcome-message h1 { font-size: 25px; line-height: 30px; }
    .welcome-message p { font-size: 16px; line-height: 25px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* PHPAML single-page deployment demo */
.demo-page {
    min-height: 100vh;
    margin: 0;
    color: #f7f4ff;
    background:
        radial-gradient(circle at 15% 15%, rgba(188, 255, 66, .16), transparent 30rem),
        radial-gradient(circle at 85% 85%, rgba(130, 73, 255, .28), transparent 34rem),
        #100a1f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.demo-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.demo-card {
    width: min(720px, 100%);
    padding: clamp(2rem, 7vw, 5rem);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    background: rgba(27, 17, 52, .78);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
}

.demo-badge {
    display: inline-flex;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #160c28;
    background: #bcff42;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.demo-eyebrow {
    margin: 2.25rem 0 .75rem;
    color: #bcff42;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.demo-card h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: .95;
    letter-spacing: -.065em;
}

.demo-copy {
    max-width: 58ch;
    margin: 2rem 0;
    color: #d3cce2;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
}

.demo-copy code {
    color: #bcff42;
    font-weight: 700;
}

.demo-status {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
}

.demo-status span {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: #bcff42;
    box-shadow: 0 0 0 .35rem rgba(188, 255, 66, .12);
}
