/* MUVIC white theme with a burgundy header. */
/* Load after the existing page and shared styles. */
html[data-theme="muvic-light"] {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #24212a;
  --muted: #615963;
  --line: #e4dde0;
  --brand: #8b2332;
  --brand2: #925300;
  --shadow: 0 8px 26px rgba(49, 29, 38, .065);
  --muvic-bg: #ffffff;
  --muvic-text: #24212a;
  --muvic-muted: #615963;
  --muvic-line: #e4dde0;
  --muvic-brand: #8b2332;
  --muvic-brand2: #925300;
}
html[data-theme="muvic-light"] body,
html[data-theme="muvic-light"] .guestbook-page {
  background: #fff;
  color: var(--text);
}
html[data-theme="muvic-light"] .site-header {
  color: var(--text);
  background: rgba(255, 255, 255, .96);
  border-color: var(--line);
  box-shadow: 0 3px 20px rgba(49, 29, 38, .035);
}
html[data-theme="muvic-light"] :is(.site-nav a, .site-mobile-nav a) {
  color: var(--text);
}
html[data-theme="muvic-light"] :is(.site-nav a:hover, .site-nav a[aria-current="page"], .site-mobile-nav a:hover, .site-mobile-nav a[aria-current="page"]) {
  background: #f5edef;
  color: #8b2332;
  box-shadow: none;
}
html[data-theme="muvic-light"] :is(.language-switcher a:hover, .site-action:hover, .site-menu-toggle:hover) {
  background: #f5edef;
}
html[data-theme="muvic-light"] .language-switcher a[aria-current="page"] {
  background: #fff4dc;
  border-color: #b18a42;
}
html[data-theme="muvic-light"] :is(.card, .item, .stat, .intro, .guestbook-panel, .guestbook-entry) {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
html[data-theme="muvic-light"] .preview {
  background: linear-gradient(145deg, #fff, #faf4f1);
}
html[data-theme="muvic-light"] .preview .scan { opacity: .04; }
html[data-theme="muvic-light"] #exposicio-destacada {
  background: linear-gradient(150deg, #fffaf6, #ffffff) !important;
  border-color: #d2b9b7 !important;
}
html[data-theme="muvic-light"] #escoles .card {
  background: linear-gradient(115deg, #faf0f1, #fff9ee) !important;
  border-color: #e3ccbd !important;
}
html[data-theme="muvic-light"] :is(.edu-hero, .edu-card--family) {
  background: #fff9f2;
}
html[data-theme="muvic-light"] .edu-eyebrow { color: #8b2332; }
html[data-theme="muvic-light"] .edu-card--family { border-color: #dbc4a7; }
html[data-theme="muvic-light"] :is(.lead, .sub, .kicker, .caption, .pill, .tag, .personBio, .identityNotice, .note, .indexMeta, .foldBody, .lbTitle, .lbBtn, .footer, .footer p, .footer a, .edu-card p, .edu-contact p, .edu-contact li) {
  color: var(--muted);
}
html[data-theme="muvic-light"] :is(h1, h2, h3, h4, .miniTitle, .collabName, .personName, .identityNotice strong, .pill b, .guestbook-author) {
  color: var(--text);
}
html[data-theme="muvic-light"] :is(.btn, .chip, .tag, .pill, .site-action, .site-menu-toggle, .site-mobile-nav a, .indexYear, .indexItem, .lbBtn) {
  background: #faf7f8;
  border-color: var(--line);
  color: #49313a;
}
html[data-theme="muvic-light"] :is(.btn:hover, .chip:hover, .lbBtn:hover, .indexItem:hover) {
  background: #f4e9ed;
  border-color: #c8a7b2;
}
html[data-theme="muvic-light"] .btn.primary {
  background: #8b2332;
  border-color: #8b2332;
  color: #fff;
}
html[data-theme="muvic-light"] .btn.primary:hover { background: #6f1725; }
html[data-theme="muvic-light"] .identityNotice {
  background: #fff8e9;
  border-color: #e3d2ac;
  border-left-color: #a66b12;
}
html[data-theme="muvic-light"] :is(.mediaCard, .collabBanner, .tile, .saga-grid .tile) {
  border-color: var(--line);
  background: #f7f5f5;
}
html[data-theme="muvic-light"] .saga-grid .tile img { background: #f7f5f5; }
html[data-theme="muvic-light"] .saga-grid .photo-caption { color: var(--muted); }
html[data-theme="muvic-light"] :is(.footer, .caption, .lbTop, .guestbook-page .footer) {
  border-color: var(--line);
}
html[data-theme="muvic-light"] :is(.lbCard, #sagaLightbox, dialog) {
  background: #fff;
  color: var(--text);
  border-color: #cabdc4;
}
html[data-theme="muvic-light"] :is(.lbBody img, #sagaImage) { background: #f7f5f5; }
html[data-theme="muvic-light"] [style*="color:rgba(242,242,246"],
html[data-theme="muvic-light"] [style*="color: rgba(242,242,246"] {
  color: #514952 !important;
}
html[data-theme="muvic-light"] .guestbook-intro,
html[data-theme="muvic-light"] .guestbook-help,
html[data-theme="muvic-light"] .guestbook-meta,
html[data-theme="muvic-light"] .guestbook-context,
html[data-theme="muvic-light"] .guestbook-form small {
  color: var(--muted);
}
html[data-theme="muvic-light"] .guestbook-form input:not([type="checkbox"]),
html[data-theme="muvic-light"] .guestbook-form textarea {
  background: #fff;
  color: var(--text);
  border-color: #a899a0;
}
html[data-theme="muvic-light"] .guestbook-button.secondary {
  color: #49313a;
  border-color: #c9bac1;
  background: #fff;
}
html[data-theme="muvic-light"] .guestbook-reply { background: #faf4f1; }
html[data-theme="muvic-light"] .guestbook-notice { background: #fff8e9; }
html[data-theme="muvic-light"] :is(.agendaCard p, .agendaMeta dd, .objList li, .chev, .newsBody, .teamRole, .teamText p) {
  color: #514952;
}
html[data-theme="muvic-light"] :is(.teamCard, .personCard) { background: #fff; border-color: var(--line); }
html[data-theme="muvic-light"] .muvic-skip-link { background: #8b2332; color: #fff; }
html[data-theme="muvic-light"] :is(main p, main li, main dd, main dt, .specLine) { color: #514952; }
html[data-theme="muvic-light"] .cap { background: rgba(26,19,24,.8); color: #fff; }

/* Burgundy accents for the white theme. */
html[data-theme="muvic-light"]:root {
  --brand: #7b1e2d;
  --brand2: #7b1e2d;
  --muvic-brand: #7b1e2d;
  --muvic-brand2: #7b1e2d;
  --line: #e5d5da;
  --muvic-line: #e5d5da;
}
html[data-theme="muvic-light"]:root :is(main h1, main h2, main h3, main .miniTitle) {
  color: #741d30;
}
html[data-theme="muvic-light"]:root :is(.kicker, .edu-eyebrow) { color: #824151; }
html[data-theme="muvic-light"]:root :is(.chip, .tag, .pill) {
  color: #741d30;
  background: #fff8fa;
  border-color: #dfc5cd;
}
html[data-theme="muvic-light"]:root :is(.chip:hover, .btn:hover) {
  background: #f7e8ed;
  border-color: #b8798b;
}
html[data-theme="muvic-light"]:root .btn.primary {
  background: #7b1e2d;
  border-color: #7b1e2d;
  color: #fff;
}
html[data-theme="muvic-light"]:root .btn.primary:hover { background: #601424; }
html[data-theme="muvic-light"]:root #exposicio-destacada {
  background: linear-gradient(145deg, #fff5f8, #ffffff) !important;
  border-color: #c494a3 !important;
}
html[data-theme="muvic-light"]:root .identityNotice {
  background: #fcf1f4;
  border-color: #e4c8d1;
  border-left-color: #8b233d;
}
html[data-theme="muvic-light"]:root #escoles .card {
  background: linear-gradient(115deg, #faedf1, #fff8fa) !important;
  border-color: #dfbdc8 !important;
}
html[data-theme="muvic-light"]:root :is(.edu-hero, .edu-card--family) { background: #fcf2f5; }
html[data-theme="muvic-light"]:root .footer {
  border-top: 2px solid #8b233d;
  background: #fcf6f8;
}

/* Burgundy site header. */
html[data-theme="muvic-light"]:root .site-header {
  --muvic-text: #fff;
  --muvic-muted: #f2dfe5;
  --text: #fff;
  --muted: #f2dfe5;
  background: #651b28;
  border-bottom-color: #651b28;
  color: #fff;
  box-shadow: 0 4px 20px rgba(62,14,29,.13);
}
html[data-theme="muvic-light"]:root .site-brand__logo {
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
html[data-theme="muvic-light"]:root .site-brand strong { color: #fff; }
html[data-theme="muvic-light"]:root .site-brand span { color: #f2dfe5; }
html[data-theme="muvic-light"]:root :is(.site-nav a, .site-mobile-nav a, .language-switcher a) {
  color: #fff;
}
html[data-theme="muvic-light"]:root :is(.site-action, .site-menu-toggle, .site-mobile-nav a) {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.30);
  color: #fff;
}
html[data-theme="muvic-light"]:root .site-mobile-nav { padding-top: 10px; }
html[data-theme="muvic-light"]:root .language-switcher a:hover {
  background: rgba(255,255,255,.12);
}
html[data-theme="muvic-light"]:root .language-switcher a[aria-current="page"] {
  background: #fff3f6;
  border-color: #fff3f6;
  color: #651b28;
}

/* Header hover, current-page and keyboard-focus states. */
html[data-theme="muvic-light"]:root :is(.site-nav a:hover, .site-nav a[aria-current="page"], .site-mobile-nav a:hover, .site-mobile-nav a[aria-current="page"]) {
  background: #fff3f6;
  border-color: #fff3f6;
  color: #651b28;
}
html[data-theme="muvic-light"]:root :is(.site-action:hover, .site-menu-toggle:hover) {
  background: #fff3f6;
  color: #651b28;
}
html[data-theme="muvic-light"]:root .site-header :focus-visible {
  outline-color: #ffcf86;
}
