/* Shared app icons: static pages, live seminars and editorial previews.
   Original publisher artwork is hosted locally; provenance: reference/app-icons.json.
   Icons are decorative. Visible labels and action destinations stay accessible. */
a:is(.provider-google,
 [href^="https://www.google.com/" i], [href^="https://google.com/" i],
 [href^="https://maps.google.com/" i], [href^="https://calendar.google.com/" i],
 [href^="https://docs.google.com/" i], [href^="https://drive.google.com/" i],
 [href^="https://forms.gle/" i])::before {
 --provider-icon: url('/assets/google-g.png');
}
a:is(.provider-apple,
 [href^="https://maps.apple.com/" i], [href^="https://calendar.apple.com/" i],
 [href^="https://www.icloud.com/calendar" i],
 [href^="/api/kalender/"])::before {
 --provider-icon: url('/assets/apple-logo.svg');
}
a:is(.provider-google, .provider-apple,
 [href^="https://www.google.com/" i], [href^="https://google.com/" i],
 [href^="https://maps.google.com/" i], [href^="https://calendar.google.com/" i],
 [href^="https://docs.google.com/" i], [href^="https://drive.google.com/" i],
 [href^="https://forms.gle/" i], [href^="https://maps.apple.com/" i],
 [href^="https://calendar.apple.com/" i], [href^="https://www.icloud.com/calendar" i],
 [href^="/api/kalender/"]) {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 min-height: 44px;
}
a:is(.provider-google, .provider-apple,
 [href^="https://www.google.com/" i], [href^="https://google.com/" i],
 [href^="https://maps.google.com/" i], [href^="https://calendar.google.com/" i],
 [href^="https://docs.google.com/" i], [href^="https://drive.google.com/" i],
 [href^="https://forms.gle/" i], [href^="https://maps.apple.com/" i],
 [href^="https://calendar.apple.com/" i], [href^="https://www.icloud.com/calendar" i],
 [href^="/api/kalender/"])::before {
 content: '';
 display: block;
 flex: 0 0 30px;
 width: 30px;
 height: 30px;
 box-sizing: border-box;
 border: var(--provider-icon-border, 1px solid #e2e7ef);
 border-radius: 5px;
 background-color: var(--provider-icon-background, #fff);
 background-image: var(--provider-icon);
 background-position: center;
 background-repeat: no-repeat;
 background-size: var(--provider-icon-size, 20px 20px);
}

/* Product-specific artwork takes precedence over the general company marks. */
a:is([href^="https://www.google.com/maps" i], [href^="https://google.com/maps" i],
 [href^="https://maps.google.com/" i])::before {
 --provider-icon: url('/assets/app-icons/google-maps.webp');
}
a[href^="https://maps.apple.com/" i]::before {
 --provider-icon: url('/assets/app-icons/apple-maps.webp');
}
a:is([href^="https://calendar.google.com/" i],
 [href^="https://www.google.com/calendar" i], [href^="https://google.com/calendar" i])::before {
 --provider-icon: url('/assets/app-icons/google-calendar.webp');
}
a:is([href^="https://calendar.apple.com/" i], [href^="https://www.icloud.com/calendar" i],
 [href^="/api/kalender/"])::before {
 --provider-icon: url('/assets/app-icons/apple-calendar.webp');
}
a:is([href^="https://www.google.com/maps" i], [href^="https://google.com/maps" i],
 [href^="https://maps.google.com/" i], [href^="https://maps.apple.com/" i],
 [href^="https://calendar.google.com/" i], [href^="https://www.google.com/calendar" i],
 [href^="https://google.com/calendar" i], [href^="https://calendar.apple.com/" i],
 [href^="https://www.icloud.com/calendar" i], [href^="/api/kalender/"])::before {
 --provider-icon-border: 0;
 --provider-icon-background: transparent;
 --provider-icon-size: contain;
 filter: none;
}
