/* Isolated styles for the Musikkunde tiles. Prefix mkt- avoids Adaptable theme collisions. */
.block_musikkunde_tiles,
.block_musikkunde_tiles .content,
.block_musikkunde_tiles .content > div {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
.mkt-tiles {
    --mkt-cyan: #00a9bd;
    --mkt-violet: #7652bd;
    --mkt-orange: #d87932;
    --mkt-gold: #b88a18;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
.mkt-intro { display: block; width: 100%; margin: 0 0 1rem; color: #46515a; font-size: 1.05rem; line-height: 1.55; }
.mkt-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}
.mkt-tile { min-width: 0; width: 100%; box-sizing: border-box; overflow: hidden; border: 1px solid rgba(20,35,45,.09); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(20,35,45,.09); }
.mkt-tile:hover { box-shadow: 0 7px 20px rgba(20,35,45,.14); }
.mkt-cyan { --mkt-accent: var(--mkt-cyan); --mkt-bg: #e1f7fa; --mkt-border: #9cdee6; }
.mkt-violet { --mkt-accent: var(--mkt-violet); --mkt-bg: #f0eafd; --mkt-border: #c9b9ed; }
.mkt-orange { --mkt-accent: var(--mkt-orange); --mkt-bg: #fff0e3; --mkt-border: #f2c59e; }
.mkt-gold { --mkt-accent: var(--mkt-gold); --mkt-bg: #fff7dc; --mkt-border: #ead28c; }
.mkt-tile-toggle, .mkt-ivi {
    appearance: none;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) 14px;
    align-items: center;
    column-gap: 1.25rem;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: 154px;
    margin: 0;
    padding: 1.5rem 1.6rem;
    border: 0;
    border-left: 7px solid var(--mkt-accent);
    border-radius: 0;
    background: var(--mkt-bg);
    color: var(--mkt-accent);
    text-align: left;
    text-decoration: none;
    white-space: normal;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.35;
    cursor: pointer;
    box-shadow: none;
}
.mkt-tile-toggle:hover, .mkt-tile-toggle:focus, .mkt-ivi:hover, .mkt-ivi:focus { color: var(--mkt-accent); text-decoration: none; outline: 3px solid color-mix(in srgb, var(--mkt-accent) 35%, transparent); outline-offset: -4px; }
.mkt-symbol-svg { display: block; flex: none; width: 72px !important; height: 72px !important; max-width: none !important; color: var(--mkt-accent); }
.mkt-title { display: block; min-width: 0; width: auto; color: var(--mkt-accent); font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 700; line-height: 1.35; overflow-wrap: break-word; word-break: normal; white-space: normal; }
.mkt-chevron, .mkt-external { display: block; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; justify-self: center; }
.mkt-tile-toggle[aria-expanded="true"] .mkt-chevron { transform: rotate(225deg); }
.mkt-course-panel { box-sizing: border-box; width: 100%; padding: 1rem; background: #fbfcfd; border-top: 1px solid var(--mkt-border); }
.mkt-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.mkt-course-link { box-sizing: border-box; display: flex; align-items: center; min-width: 0; min-height: 66px; padding: .9rem 1rem; border-radius: 11px; background: #fff; color: #34434d; border: 1px solid #dce3e7; border-left: 4px solid var(--mkt-accent); font-size: 1rem; font-weight: 600; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; box-shadow: 0 1px 3px rgba(20,35,45,.04); }
.mkt-course-link:hover, .mkt-course-link:focus { color: var(--mkt-accent); border-color: var(--mkt-accent); background: var(--mkt-bg); text-decoration: none; }
.mkt-empty { margin: .35rem; color: #65727a; font-size: .95rem; }
.mkt-ivi .mkt-external { transform: rotate(45deg); border: 0; border-top: 3px solid currentColor; border-right: 3px solid currentColor; }
@media (max-width: 767.98px) {
    .mkt-card-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .mkt-tile-toggle, .mkt-ivi { grid-template-columns: 60px minmax(0, 1fr) 12px; min-height: 112px; padding: 1rem 1.1rem; column-gap: .9rem; }
    .mkt-symbol-svg { width: 56px !important; height: 56px !important; }
    .mkt-title { font-size: 1.08rem; }
    .mkt-course-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mkt-tile, .mkt-course-link, .mkt-chevron { transition: none; } }
