/**
 * Oslik - Joomla site template
 * Look & feel ported from the oslik.eu React/MUI frontend.
 * Built on top of Joomla's bundled Bootstrap 5.3 (asset "bootstrap.css").
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Brand (overridden by template options through an inline style) */
  --o-primary: #6a11cb;
  --o-primary-rgb: 106, 17, 203;
  --o-primary-dark: #5a0fb0;
  --o-secondary: #2575fc;
  --o-secondary-rgb: 37, 117, 252;
  --o-secondary-dark: #1d63d8;
  --o-accent: #f5a623;

  --o-gradient: linear-gradient(90deg, var(--o-primary), var(--o-secondary));
  --o-gradient-135: linear-gradient(135deg, var(--o-primary), var(--o-secondary));
  --o-gradient-dark: linear-gradient(90deg, var(--o-primary-dark), var(--o-secondary-dark));

  --o-font: "Inter", Arial, sans-serif;
  --o-font-heading: "Baloo 2", Arial, sans-serif;
  --o-nav-h: 68px;

  /* Surfaces & text (same names as the React app) */
  --page-bg: linear-gradient(180deg, #fdfcff, #f3f4ff);
  --page-bg-solid: #fdfcff;
  --surface-bg: #ffffff;
  --card-bg: #ffffff;
  --card-glass-bg: rgba(255, 255, 255, 0.6);
  --card-glass-border: rgba(255, 255, 255, 0.8);
  --menu-glass-bg: rgba(255, 255, 255, 0.7);
  --menu-glass-border: rgba(255, 255, 255, 0.4);
  --text-primary: #2b2b2b;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --border-subtle: #ececff;
  --shadow-color: rgba(var(--o-primary-rgb), 0.16);
  --input-bg: #f0edfb;
  --link-color: var(--o-secondary);
  --link-color-rgb: var(--o-secondary-rgb);

  --o-paper: #ffffff;
  --o-divider: rgba(0, 0, 0, 0.12);
  --o-action: rgba(0, 0, 0, 0.54);
  --o-hover: rgba(0, 0, 0, 0.04);
  --o-input-border: rgba(0, 0, 0, 0.23);

  /* MUI elevations */
  --o-shadow-2: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  --o-shadow-4: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  --o-shadow-6: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
  --o-shadow-12: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12);
  --o-shadow-16: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);

  /* Text size inside article cards */
  --o-card-fs: 1.3rem;
  --o-card-lh: 1.6;
}

[data-theme="dark"] {
  --page-bg: linear-gradient(180deg, #14121f, #1b1830);
  --page-bg-solid: #14121f;
  --surface-bg: #1f1c30;
  --card-bg: #201d33;
  --card-glass-bg: rgba(32, 29, 51, 0.7);
  --card-glass-border: rgba(255, 255, 255, 0.08);
  --menu-glass-bg: rgba(28, 25, 46, 0.85);
  --menu-glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f1eefc;
  --text-secondary: rgba(241, 238, 252, 0.65);
  --border-subtle: #2e2a48;
  --shadow-color: rgba(0, 0, 0, 0.45);
  --input-bg: #251f3d;
  --link-color: #8ab4ff;
  --link-color-rgb: 138, 180, 255;

  --o-paper: #201d33;
  --o-divider: rgba(255, 255, 255, 0.12);
  --o-action: rgba(241, 238, 252, 0.7);
  --o-hover: rgba(255, 255, 255, 0.08);
  --o-input-border: rgba(255, 255, 255, 0.23);

  color-scheme: dark;
}

.o-text-normal {
  --o-card-fs: 1.0625rem;
  --o-card-lh: 1.7;
}

/* Bootstrap bridge: core Joomla layouts (forms, alerts, tables…) pick up the Oslik palette */
:root,
[data-bs-theme] {
  --bs-body-font-family: var(--o-font);
  --bs-body-color: var(--text-primary);
  --bs-body-bg: var(--page-bg-solid);
  --bs-emphasis-color: var(--text-primary);
  --bs-secondary-color: var(--text-secondary);
  --bs-secondary-bg: var(--surface-bg);
  --bs-tertiary-bg: var(--input-bg);
  --bs-heading-color: inherit;
  --bs-primary: var(--o-primary);
  --bs-primary-rgb: var(--o-primary-rgb);
  --bs-link-color: var(--link-color);
  --bs-link-color-rgb: var(--link-color-rgb);
  --bs-link-hover-color: var(--link-color);
  --bs-link-hover-color-rgb: var(--link-color-rgb);
  --bs-border-color: var(--border-subtle);
  --bs-border-radius: 0.5rem;
  --bs-border-radius-sm: 0.375rem;
  --bs-border-radius-lg: 1rem;
  --bs-focus-ring-color: rgba(var(--o-secondary-rgb), 0.35);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--o-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--page-bg-solid);
  transition: background-color 0.2s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--o-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

h1, h2, .h1, .h2 {
  font-weight: 800;
}

a {
  color: var(--link-color);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--o-primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--border-subtle);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--o-primary), var(--o-secondary));
  border-radius: 999px;
  border: 2px solid var(--border-subtle);
}

* {
  scrollbar-color: var(--o-primary) var(--border-subtle);
}

:focus-visible {
  outline: 2px solid var(--o-secondary);
  outline-offset: 2px;
}

/* ==========================================================================
   3. Helpers
   ========================================================================== */

.o-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

.o-container--md {
  max-width: 900px;
}

.o-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.oi {
  display: inline-block;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  vertical-align: middle;
}

[data-theme="dark"] .o-show-light,
:root:not([data-theme="dark"]) .o-show-dark {
  display: none !important;
}

.o-skip {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 3000;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--o-primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--o-shadow-6);
}

.o-skip:focus {
  left: 8px;
}

.o-glass {
  background: var(--menu-glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--menu-glass-border);
}

.o-divider {
  margin: 8px 0;
  border: 0;
  border-top: 1px solid var(--o-divider);
  opacity: 1;
}

.o-empty {
  margin: 16px 0;
  color: var(--text-secondary);
  text-align: center;
}

@media (min-width: 600px) {
  .o-container {
    padding-inline: 24px;
  }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.o-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 64px;
  padding: 6px 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--o-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.o-btn .oi {
  width: 20px;
  height: 20px;
}

.o-btn--primary {
  background: var(--o-primary);
  color: #fff;
  box-shadow: var(--o-shadow-2);
}

.o-btn--primary:hover,
.o-btn--primary:focus-visible {
  background: var(--o-primary-dark);
  color: #fff;
  box-shadow: var(--o-shadow-4);
}

.o-btn--gradient {
  background: var(--o-gradient);
  color: #fff;
  box-shadow: var(--o-shadow-2);
}

.o-btn--gradient:hover,
.o-btn--gradient:focus-visible {
  background: var(--o-gradient-dark);
  color: #fff;
  box-shadow: var(--o-shadow-4);
}

.o-btn--outlined {
  padding: 5px 15px;
  border: 1px solid rgba(var(--o-primary-rgb), 0.5);
  background: transparent;
  color: var(--o-primary);
}

.o-btn--outlined:hover {
  border-color: var(--o-primary);
  background: rgba(var(--o-primary-rgb), 0.04);
  color: var(--o-primary);
}

.o-btn--danger {
  padding: 6px 24px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  box-shadow: var(--o-shadow-2);
}

.o-btn--danger:hover {
  background: #f06292;
  color: #fff;
}

.o-btn--block {
  width: 100%;
}

.o-iconbtn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.o-iconbtn:hover {
  background: var(--o-hover);
}

.o-iconbtn--sm {
  width: 34px;
  height: 34px;
  padding: 7px;
}

.o-iconbtn--sm .oi {
  width: 20px;
  height: 20px;
}

.o-iconbtn--muted {
  color: var(--o-action);
}

/* Bootstrap buttons used by core layouts */
.btn {
  --bs-btn-border-radius: 999px;
  --bs-btn-font-family: var(--o-font-heading);
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-line-height: 1.75;
  --bs-btn-padding-x: 16px;
  --bs-btn-padding-y: 6px;
  letter-spacing: 0.02857em;
}

.btn-sm {
  --bs-btn-padding-x: 10px;
  --bs-btn-padding-y: 4px;
  --bs-btn-font-size: 0.8125rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--o-primary);
  --bs-btn-border-color: var(--o-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--o-primary-dark);
  --bs-btn-hover-border-color: var(--o-primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--o-primary-dark);
  --bs-btn-active-border-color: var(--o-primary-dark);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--o-primary);
  --bs-btn-disabled-border-color: var(--o-primary);
  --bs-btn-focus-shadow-rgb: var(--o-primary-rgb);
  box-shadow: var(--o-shadow-2);
}

.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary {
  --bs-btn-color: var(--o-primary);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(var(--o-primary-rgb), 0.5);
  --bs-btn-hover-color: var(--o-primary);
  --bs-btn-hover-bg: rgba(var(--o-primary-rgb), 0.06);
  --bs-btn-hover-border-color: var(--o-primary);
  --bs-btn-active-color: var(--o-primary);
  --bs-btn-active-bg: rgba(var(--o-primary-rgb), 0.12);
  --bs-btn-active-border-color: var(--o-primary);
  --bs-btn-disabled-color: var(--text-secondary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--border-subtle);
  --bs-btn-focus-shadow-rgb: var(--o-primary-rgb);
}

[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline-primary,
[data-theme="dark"] .btn-outline-secondary {
  --bs-btn-color: #c9a6ff;
  --bs-btn-hover-color: #e0ccff;
  --bs-btn-active-color: #e0ccff;
  --bs-btn-border-color: rgba(201, 166, 255, 0.5);
  --bs-btn-hover-border-color: #c9a6ff;
}

.input-group > .btn {
  --bs-btn-border-radius: 4px;
}

/* ==========================================================================
   5. Navbar
   ========================================================================== */

.o-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  color: #fff;
  background: var(--o-gradient);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--o-shadow-2);
  transition: box-shadow 0.25s ease;
}

.o-navbar.is-scrolled {
  box-shadow: var(--o-shadow-6);
}

.o-navbar__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: var(--o-nav-h);
  transition: min-height 0.25s ease;
}

.o-navbar.is-scrolled .o-navbar__inner {
  min-height: 56px;
}

.o-navbar .o-iconbtn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.o-navbar__burger.o-iconbtn {
  width: 48px;
  height: 48px;
  margin-left: -12px;
  margin-right: 12px;
  padding: 12px;
}

.o-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}

.o-brand:hover {
  color: inherit;
}

.o-brand__logo {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 2.4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  object-fit: cover;
  transition: width 0.25s ease, height 0.25s ease;
}

.o-navbar.is-scrolled .o-brand__logo {
  width: 28px;
  height: 28px;
}

.o-brand__text {
  overflow: hidden;
  font-family: var(--o-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-navbar__right {
  display: none;
  align-items: center;
}

.o-navbar__nav {
  display: flex;
  align-items: center;
}

/* Pill-shaped text buttons (menu items, login) */
.o-navbar .o-menu > li > a,
.o-navbar .o-menu > li > .mod-menu__heading,
.o-navbar .o-menu > li > .mod-menu__separator,
.o-navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 8px;
  border-radius: 999px;
  color: inherit;
  font-family: var(--o-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.o-navbar .o-menu > li > a:hover,
.o-navbtn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.o-navbar .o-menu > li.current > a,
.o-navbar .o-menu > li.active > a {
  background: rgba(255, 255, 255, 0.18);
}

@media (min-width: 900px) {
  .o-navbar__burger {
    display: none !important;
  }

  .o-navbar__right {
    display: flex;
  }
}

/* ==========================================================================
   6. Menus (navbar dropdowns, drawer list, footer links)
   ========================================================================== */

.o-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}

.o-menu__toggle .oi {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.o-menu__item.is-open > .o-menu__toggle .oi {
  transform: rotate(180deg);
}

/* Navbar */
.o-navbar .o-menu {
  display: flex;
  align-items: center;
}

.o-navbar .o-menu__item {
  position: relative;
  display: flex;
  align-items: center;
}

.o-navbar .o-menu > .o-menu__item > .o-menu__toggle {
  margin-left: -6px;
}

.o-navbar .o-menu__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  min-width: 220px;
  margin: 6px 0 0;
  padding: 8px 0;
  list-style: none;
  border-radius: 12px;
  color: var(--text-primary);
  box-shadow: var(--o-shadow-12);
}

.o-navbar .o-menu__sub::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.o-navbar .o-menu__item:hover > .o-menu__sub,
.o-navbar .o-menu__item:focus-within > .o-menu__sub,
.o-navbar .o-menu__item.is-open > .o-menu__sub {
  display: block;
}

.o-navbar .o-menu__sub .o-menu__item {
  display: block;
}

.o-navbar .o-menu__sub a,
.o-navbar .o-menu__sub .mod-menu__heading {
  display: flex;
  padding: 6px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}

.o-navbar .o-menu__sub a:hover {
  background: var(--o-hover);
}

.o-navbar .o-menu__sub .current > a {
  background: rgba(var(--o-primary-rgb), 0.08);
  color: var(--o-primary);
}

.o-navbar .o-menu__sub .o-menu__sub {
  position: static;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.o-navbar .o-menu__sub .o-menu__toggle {
  display: none;
}

/* Drawer */
.o-drawer .o-menu__item {
  position: relative;
}

.o-drawer .o-menu a,
.o-drawer .o-menu .mod-menu__heading,
.o-drawer .o-menu .mod-menu__separator {
  display: block;
  padding: 8px 56px 8px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}

.o-drawer .o-menu a:hover {
  background: var(--o-hover);
}

.o-drawer .o-menu .current > a {
  background: rgba(var(--o-primary-rgb), 0.08);
  color: var(--o-primary);
  font-weight: 600;
}

[data-theme="dark"] .o-drawer .o-menu .current > a {
  color: #c9a6ff;
}

.o-drawer .o-menu__toggle {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 32px;
  height: 32px;
  color: var(--o-action);
}

.o-drawer .o-menu__sub {
  display: none;
  margin: 0;
  padding: 0 0 0 16px;
  list-style: none;
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.o-drawer .o-menu__item.is-open > .o-menu__sub {
  display: block;
}

/* Footer */
.o-footer .o-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
}

.o-footer .o-menu a,
.o-footer .o-menu .mod-menu__heading {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
}

.o-footer .o-menu a:hover {
  color: #fff;
  text-decoration: underline;
  opacity: 1;
}

.o-footer .o-menu__toggle,
.o-footer .o-menu__sub {
  display: none;
}

/* ==========================================================================
   7. Navbar search & user menu
   ========================================================================== */

.o-navsearch {
  display: flex;
  align-items: center;
}

.o-navsearch__form {
  display: none;
  align-items: center;
  margin: 0;
  padding: 0 4px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.o-navsearch.is-open .o-navsearch__form {
  display: flex;
}

.o-navsearch.is-open .o-navsearch__open {
  display: none;
}

.o-navsearch__input {
  width: 160px;
  padding: 4px 0 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.o-navsearch__input::placeholder {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.o-navbar__tools {
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .o-navbar__tools--mobile {
    display: none;
  }
}

.o-navbar__search-modules {
  display: flex;
  align-items: center;
  margin-inline: 4px;
}

.o-dropdown {
  position: relative;
  margin-left: 8px;
}

.o-avatar-btn {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.o-avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #bdbdbd;
  color: #fff;
  font-family: var(--o-font);
  font-size: 1.25rem;
  line-height: 1;
}

[data-theme="dark"] .o-avatar {
  background: #757575;
}

.o-avatar--gradient,
[data-theme="dark"] .o-avatar--gradient {
  background: var(--o-gradient);
}

.o-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1300;
  min-width: 220px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--text-primary);
  box-shadow: var(--o-shadow-12);
}

.o-dropdown__panel[hidden] {
  display: none;
}

.o-menuitem {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 6px 16px;
  border: 0;
  background: none;
  color: var(--text-primary);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.o-menuitem:hover {
  background: var(--o-hover);
  color: var(--text-primary);
}

.o-menuitem > .oi {
  width: 20px;
  height: 20px;
  margin-right: 16px;
  color: var(--o-action);
}

.o-menuitem--head {
  padding-block: 10px;
  cursor: default;
}

.o-menuitem--head:hover {
  background: none;
}

.o-menuitem--head strong,
.o-drawer__user-text strong {
  display: block;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.57;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-menuitem--head small,
.o-drawer__user-text small {
  display: block;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.66;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-dropdown__logout,
.o-drawer__logout {
  margin: 0;
}

/* ==========================================================================
   8. Mobile drawer
   ========================================================================== */

.o-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 225ms;
}

.o-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.o-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
}

.o-drawer.is-open .o-drawer__backdrop {
  opacity: 1;
}

.o-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 280px;
  max-width: 85vw;
  overflow-y: auto;
  background: var(--o-paper);
  color: var(--text-primary);
  box-shadow: var(--o-shadow-16);
  transform: translateX(-100%);
  transition: transform 225ms cubic-bezier(0, 0, 0.2, 1);
}

.o-drawer.is-open .o-drawer__panel {
  transform: none;
}

.o-drawer__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--o-gradient);
  color: #fff;
  text-decoration: none;
}

.o-drawer__brand:hover {
  color: #fff;
}

.o-drawer__brand .o-brand__logo {
  width: 32px;
  height: 32px;
}

.o-drawer__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--input-bg);
}

.o-drawer__user-text {
  min-width: 0;
}

.o-drawer__search {
  display: flex;
  align-items: center;
  margin: 16px 16px 8px;
  padding: 0 4px 0 16px;
  border-radius: 999px;
  background: var(--input-bg);
}

.o-drawer__search input {
  flex: 1;
  min-width: 0;
  padding: 4px 0 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.o-drawer__search-modules,
.o-drawer__modules {
  padding: 8px 16px;
}

.o-drawer__nav {
  flex: 1 0 auto;
  padding: 0 0 8px;
}

.o-drawer__nav > .o-menuitem {
  padding: 8px 16px;
}

.o-drawer__account {
  padding: 16px;
}

.o-drawer__logout .o-menuitem {
  justify-content: center;
  padding: 5px 15px;
  border: 1px solid rgba(var(--o-primary-rgb), 0.5);
  border-radius: 999px;
  color: var(--o-primary);
  font-family: var(--o-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75;
}

.o-drawer__logout .o-menuitem > .oi {
  margin-right: 8px;
  color: inherit;
}

body.o-drawer-open {
  overflow: hidden;
}

/* ==========================================================================
   9. Hero banner & pill under it
   ========================================================================== */

.o-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 32px;
  background: var(--o-gradient);
  color: #fff;
}

.o-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.o-hero__blob--1 {
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(4px);
}

.o-hero__blob--2 {
  bottom: -100px;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
}

.o-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.o-hero__img {
  flex-shrink: 0;
  width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.o-hero__title {
  margin: 0 0 24px;
  color: inherit;
  font-family: var(--o-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
}

.o-hero__title.has-subtitle {
  margin-bottom: 8px;
}

.o-hero__subtitle {
  margin: 0 0 24px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
}

.o-hero--modules .o-hero__inner {
  display: block;
  padding-bottom: 32px;
  text-align: inherit;
}

.o-hero--modules a {
  color: #fff;
}

.o-pillbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -28px;
  padding-inline: 16px;
}

.o-pillbar--sticky {
  position: sticky;
  top: var(--o-nav-h);
}

.o-pill,
.o-pillbar .o-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 9.6px 24px;
  border-radius: 999px;
  background: var(--surface-bg);
  color: var(--text-primary);
  box-shadow: 0 14px 30px rgba(var(--o-primary-rgb), 0.22);
}

.o-pill {
  font-weight: 800;
}

.o-pill__icon {
  color: var(--o-primary);
}

@media (min-width: 600px) {
  .o-hero__img {
    width: 140px;
  }

  .o-hero__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 900px) {
  .o-hero {
    padding: 80px 0 0;
  }

  .o-hero__inner {
    flex-direction: row;
    gap: 32px;
    text-align: left;
  }

  .o-hero__img {
    width: 200px;
  }

  .o-hero__title {
    font-size: 3rem;
  }

  .o-hero__subtitle {
    font-size: 1rem;
  }
}

/* ==========================================================================
   10. Page layout
   ========================================================================== */

.o-main {
  min-height: 60vh;
  padding: 40px 0 32px;
  background: var(--page-bg);
}

.no-hero .o-main {
  padding-top: calc(var(--o-nav-h) + 28px);
}

.o-crumbs-top {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.o-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.o-content {
  min-width: 0;
  animation: oFadeIn 0.4s ease;
}

.o-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* In the height-limited sticky sidebar, cards with overflow:hidden (promo) would shrink to nothing. */
.o-sidebar > * {
  flex-shrink: 0;
}

.o-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.o-row--bottom-a,
.o-row--bottom-b {
  margin: 32px 0 0;
}

@media (min-width: 900px) {
  .o-layout.has-right {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  }

  .o-layout.has-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  }

  .o-layout.has-left.has-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  }

  .o-layout.is-sticky .o-sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
    max-height: calc(100vh - 100px);
    margin: -12px;
    padding: 12px 12px 20px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .o-layout.is-sticky .o-sidebar::-webkit-scrollbar {
    display: none;
  }
}

.o-page-title {
  margin: 0 0 24px;
  font-family: var(--o-font-heading);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.235;
}

.o-page-title--center,
.o-lead--center {
  text-align: center;
}

.o-lead {
  margin: 0 0 40px;
  color: var(--text-secondary);
}

.page-header h1,
.page-header h2 {
  margin: 0 0 24px;
  font-size: 2.125rem;
  font-weight: 800;
}

.o-desc {
  margin: 0 0 24px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.o-desc > :last-child {
  margin-bottom: 0;
}

.o-desc img {
  border-radius: 12px;
}

.o-create {
  margin: 16px 0;
  text-align: center;
}

/* ==========================================================================
   11. Article cards
   ========================================================================== */

.o-cards {
  padding: 16px;
}

@media (max-width: 599.98px) {
  .o-cards {
    padding-inline: 0;
  }
}

@media (min-width: 900px) {
  .o-cards--cols-2,
  .o-cards--cols-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .o-cards--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.o-card-wrap {
  position: relative;
  padding: 16px 0 28px;
}

.o-card {
  position: relative;
  padding-top: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--text-primary);
  box-shadow: 0 16px 36px var(--shadow-color);
}

.o-card.is-unpublished {
  border: 2px dashed var(--o-accent);
}

.o-card__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 16px 12px;
}

.o-card__emoji {
  font-size: 1.25rem;
  line-height: 1;
}

.o-card__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: var(--o-font);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-card__title a {
  color: inherit;
  text-decoration: none;
}

.o-card__title a:hover {
  color: inherit;
  text-decoration: underline;
}

.o-card-wrap--article .o-card__title {
  font-size: 1.35rem;
  line-height: 1.35;
  white-space: normal;
}

.o-card__states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 16px 12px;
}

.o-card .item-image,
.o-card > figure {
  float: none;
  margin: 0 16px 16px;
}

.o-card .item-image img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.o-card .item-image figcaption {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.o-card__body {
  margin: 0 16px 16px;
  padding: 20px;
  overflow-wrap: break-word;
  border-radius: 16px;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: var(--o-card-fs);
  line-height: var(--o-card-lh);
}

.o-card__body > :last-child,
.o-card__body .com-content-article__body > :last-child {
  margin-bottom: 0;
}

.o-card__body p {
  margin: 0 0 0.75em;
}

.o-card__body ul,
.o-card__body ol {
  margin: 0 0 0.75em;
  padding-left: 1.4em;
}

.o-card__body a {
  color: var(--link-color);
  text-decoration: underline;
}

.o-card__body img {
  border-radius: 12px;
}

.o-card__body h2 { font-size: 1.6em; }
.o-card__body h3 { font-size: 1.35em; }
.o-card__body h4 { font-size: 1.15em; }
.o-card__body h5,
.o-card__body h6 { font-size: 1em; }

.o-card__body h2,
.o-card__body h3,
.o-card__body h4,
.o-card__body h5,
.o-card__body h6 {
  margin: 1em 0 0.5em;
}

.o-card__body > h2:first-child,
.o-card__body > h3:first-child {
  margin-top: 0;
}

.o-card__body blockquote {
  margin: 0 0 0.75em;
  padding: 0.25em 0 0.25em 1em;
  border-left: 4px solid var(--o-primary);
  color: var(--text-secondary);
}

.o-card__body pre,
.o-card__body code {
  font-size: 0.8em;
}

.o-card__body pre {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-bg);
}

.o-card__body table {
  width: 100%;
  margin-bottom: 0.75em;
  font-size: 0.85em;
}

.o-card__body .item-image,
.o-card__body figure.item-image {
  margin: 0 0 16px;
}

.o-card__body .item-image img {
  border-radius: 12px;
}

.o-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 16px 12px;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.66;
  letter-spacing: 0.03333em;
}

.o-card__meta li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.o-card__meta .oi {
  width: 16px;
  height: 16px;
}

.o-card__actions .o-card__meta {
  margin: 0;
}

.o-card__tags {
  margin: 0 16px 12px;
}

.o-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px 16px;
}

.o-card__actions-start,
.o-card__actions-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.o-card__actions-end {
  margin-left: auto;
}

.o-card__hits {
  display: none;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.o-card__hits .oi {
  width: 18px;
  height: 18px;
}

/* Heart button (plugin "System - Oslik hearts") */
.o-like-wrap {
  position: relative;
  display: inline-block;
}

.o-like {
  padding-inline: 20px;
}

.o-like.is-liked,
.o-like.is-liked:hover {
  background: var(--o-primary);
  opacity: 0.85;
  cursor: default;
}

.o-like-burst {
  position: absolute;
  top: -6px;
  left: 50%;
  font-size: 22px;
  pointer-events: none;
  transform: translateX(-50%);
  animation: oRiseFade 0.8s ease-out forwards;
}

@keyframes oRiseFade {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-46px) scale(1.5);
  }
}

.o-toplist__count--likes .oi {
  color: #e5397d;
}

/* Joke of the day / random joke (module mod_oslikjoke) */
.o-joke-dialog {
  width: min(640px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text-primary);
}

.o-joke-dialog::backdrop {
  background: rgba(20, 12, 50, 0.55);
  backdrop-filter: blur(3px);
}

.o-joke-dialog[open] {
  animation: oJokeIn 0.2s ease-out;
}

@keyframes oJokeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.o-joke-dialog .o-joke {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.o-joke-dialog .o-joke:not(:has(.o-card)) {
  padding: 32px;
  border-radius: 20px;
  background: var(--card-bg);
  text-align: center;
}

.o-joke-dialog .o-card-wrap {
  padding-bottom: 0;
}

/* Room for the close button */
.o-joke-dialog .o-card__titlebar {
  margin-right: 52px;
}

.o-joke-dialog__close {
  position: absolute;
  top: 24px;
  right: 8px;
  z-index: 4;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.o-joke--day .o-card {
  border: 2px solid var(--o-accent);
}

.o-joke .o-card {
  transition: opacity 0.2s ease;
}

.o-joke.is-loading .o-card {
  opacity: 0.55;
}

.o-joke__next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.o-joke__next .oi {
  width: 18px;
  height: 18px;
}

.o-badge-featured {
  position: absolute;
  top: 8px;
  left: 4px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--o-accent);
  color: #5a3d00;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.66;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

.o-badge-featured .oi {
  width: 16px;
  height: 16px;
}

.o-card-tools {
  position: absolute;
  top: 8px;
  right: 4px;
  z-index: 3;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-bg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.o-card-tools a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--o-action);
}

.o-card-tools a:hover {
  background: var(--o-hover);
  color: var(--o-primary);
}

.o-card-tools a .oi {
  width: 20px;
  height: 20px;
}

.o-card-tools [role="tooltip"] {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  display: none;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(97, 97, 97, 0.92);
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1.4;
  white-space: nowrap;
}

.o-card-tools a:hover [role="tooltip"],
.o-card-tools a:focus-visible [role="tooltip"] {
  display: block;
}

@media (min-width: 600px) {
  .o-badge-featured {
    left: 16px;
  }

  .o-card-tools {
    right: 16px;
  }

  .o-card__hits {
    display: flex;
  }
}

.o-article__more {
  display: flex;
  justify-content: center;
  margin: 8px 0 32px;
}

/* Previous / next article (plugin "Content - Page Navigation") */
.o-article__pager {
  margin: -8px 0 16px;
}

.pagenavigation {
  margin: 0;
}

.pagenavigation .pagination {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
}

/* Items shown only as links under a blog */
.o-more {
  margin: 8px 16px 0;
}

.o-more ol,
.o-more ul {
  padding: 0;
  list-style: none;
}

.o-more li {
  margin-bottom: 8px;
}

.o-more li a {
  font-weight: 600;
}

/* ==========================================================================
   12. Chips
   ========================================================================== */

.o-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.o-chips--compact {
  margin: 0;
}

.o-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.o-chip:hover,
.o-chip.is-active {
  border-color: rgba(var(--o-primary-rgb), 0.5);
  background: rgba(var(--o-primary-rgb), 0.06);
  color: var(--text-primary);
}

.o-chip__count {
  color: var(--text-secondary);
  font-weight: 600;
}

.o-chip--card {
  height: 32px;
  padding: 0 12px;
  background: var(--card-bg);
  font-weight: 700;
}

.o-chip--primary {
  height: auto;
  padding: 3px 9px;
  border-color: rgba(var(--o-primary-rgb), 0.5);
  color: var(--o-primary);
  font-family: var(--o-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.02857em;
}

a.o-chip--primary:hover {
  border-color: var(--o-primary);
  background: rgba(var(--o-primary-rgb), 0.04);
  color: var(--o-primary);
}

[data-theme="dark"] .o-chip--primary,
[data-theme="dark"] a.o-chip--primary:hover {
  border-color: rgba(201, 166, 255, 0.5);
  color: #c9a6ff;
}

/* Joomla tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags .list-inline-item {
  margin: 0;
}

.tags a,
.tags .btn {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--o-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
}

.tags a:hover {
  border-color: rgba(var(--o-primary-rgb), 0.5);
  background: rgba(var(--o-primary-rgb), 0.06);
}

/* ==========================================================================
   13. Pagination (gradient bar)
   ========================================================================== */

.o-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.o-pagination .pagination__wrapper,
.o-pagination nav {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.pagination {
  --bs-pagination-border-radius: 4px;
}

.o-pagination .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  padding: 8px;
  list-style: none;
  border-radius: 8px;
  background: var(--o-gradient);
}

.o-pagination .pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin: 0 3px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.43;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.25s ease;
}

.o-pagination .pagination .page-item .page-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.o-pagination .pagination .page-item.active .page-link {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.o-pagination .pagination .page-item.disabled .page-link {
  background: transparent;
  color: #fff;
  opacity: 0.38;
}

.o-pagination__counter {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ==========================================================================
   14. Module chromes & sidebar widgets
   ========================================================================== */

.o-widget {
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--text-primary);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.o-widget__title {
  margin: 0 0 12px;
  font-family: var(--o-font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.o-widget__body > :last-child {
  margin-bottom: 0;
}

.o-widget .mod-list:not(.o-toplist):not(.o-chips) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-widget .mod-list:not(.o-toplist):not(.o-chips) li {
  padding: 4px 0;
}

.o-widget .mod-list a,
.o-plain .mod-list a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.o-widget .mod-list a:hover,
.o-plain .mod-list a:hover {
  text-decoration: underline;
}

.o-widget .o-menu a {
  display: block;
  padding: 4px 0;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.o-widget .o-menu .current > a {
  color: var(--o-primary);
}

.o-widget .o-menu__toggle {
  display: none;
}

.o-widget .o-menu__sub {
  display: block;
  margin: 0;
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Promo banner (chrome "banner" or module class "o-banner") */
.o-promo {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: 0 20px 40px rgba(var(--o-primary-rgb), 0.16);
}

.o-promo__head {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--o-gradient-135);
  color: #fff;
}

.o-promo__blob {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.o-promo__icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}

.o-promo__title {
  position: relative;
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--o-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.334;
}

.o-promo__text {
  position: relative;
  opacity: 0.9;
}

.o-promo__text > :last-child {
  margin-bottom: 0;
}

.o-promo__text p {
  margin: 0 0 0.5em;
}

.o-promo__text a {
  color: #fff;
}

.o-promo__text .btn,
.o-promo__text .o-btn {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--o-primary);
  font-family: var(--o-font-heading);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--o-shadow-2);
}

/* Plain section (chrome "plain", default under the component) */
.o-plain {
  margin-top: 16px;
}

.o-plain__title {
  margin: 0 0 16px;
  font-family: var(--o-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.334;
}

/* Most read ("top") list */
.o-toplist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-toplist a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}

.o-toplist a:hover .o-toplist__title {
  text-decoration: underline;
}

.o-toplist__rank {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--input-bg);
  color: var(--o-primary);
  font-size: 13px;
  font-weight: 800;
}

[data-theme="dark"] .o-toplist__rank {
  color: #c9a6ff;
}

.o-toplist__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-toplist__count {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.o-toplist__count .oi {
  width: 14px;
  height: 14px;
}

/* Related articles */
.o-related {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.o-related__item {
  display: block;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--card-bg);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.o-related__item:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px var(--shadow-color);
}

.o-related__title {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.o-related__intro {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.43;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.o-related__date {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* ==========================================================================
   15. Category tiles
   ========================================================================== */

.o-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 40px;
  padding: 8px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-bg);
  box-shadow: 0 10px 24px rgba(var(--o-primary-rgb), 0.1);
}

.o-filter .oi {
  color: var(--o-primary);
}

.o-filter input {
  flex: 1;
  min-width: 0;
  padding: 4px 0 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.o-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.o-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(var(--o-primary-rgb), 0.16);
  opacity: 0;
  animation: oFadeIn 0.4s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.o-tile:hover,
.o-tile:focus-visible {
  color: #fff;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 34px rgba(var(--o-primary-rgb), 0.3);
}

.o-tile[hidden] {
  display: none;
}

.o-tile--c0 { background: var(--o-primary); }
.o-tile--c1 { background: #a044ff; }
.o-tile--c2 { background: var(--o-secondary); }
.o-tile--c3 { background: #ff5ea6; }
.o-tile--c4 { background: #2b2b8f; }
.o-tile--c5 { background: #ff8a5c; }

.o-tile__blob {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.o-tile__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.o-tile__emoji {
  font-size: 2rem;
  line-height: 1;
}

.o-tile__count {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.66;
  white-space: nowrap;
}

.o-tile__bottom {
  position: relative;
  display: block;
  margin-top: auto;
  padding-top: 16px;
}

.o-tile__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}

.o-tile__desc {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.66;
  opacity: 0.85;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 600px) {
  .o-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .o-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   16. Breadcrumbs
   ========================================================================== */

.o-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-crumbs__item {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--text-secondary);
}

.o-crumbs__item a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
}

.o-crumbs__item a:hover {
  color: var(--o-primary);
}

[data-theme="dark"] .o-crumbs__item a:hover {
  color: #c9a6ff;
}

.o-crumbs__item a .oi {
  width: 18px;
  height: 18px;
}

.o-crumbs__sep.oi {
  width: 16px;
  height: 16px;
  margin: 0 8px;
  opacity: 0.5;
}

.o-crumbs__item.is-current {
  color: var(--text-primary);
}

.o-crumbs__item.is-current > span {
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.o-pillbar .o-crumbs__item.is-current {
  font-weight: 700;
}

/* ==========================================================================
   17. Footer
   ========================================================================== */

.o-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 0 16px;
  border-radius: 24px 24px 0 0;
  background: var(--o-primary);
  color: #fff;
  text-align: center;
}

.o-footer__logo {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  padding: 3.2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  object-fit: cover;
}

.o-footer__tagline {
  margin: 0;
  font-weight: 700;
}

.o-footer__links {
  margin: 12px 0;
}

.o-footer__modules {
  margin: 12px 0;
}

.o-footer__modules a {
  color: #fff;
}

.o-footer__copy {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.66;
  opacity: 0.75;
}

.o-footer__links + .o-footer__copy,
.o-footer__modules + .o-footer__copy {
  margin-top: 0;
}

/* ==========================================================================
   18. Floating buttons & toasts
   ========================================================================== */

.o-fab {
  position: fixed;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--o-shadow-6);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.o-fab--main {
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: var(--o-gradient);
  color: #fff;
}

.o-fab--main:hover,
.o-fab--main:focus-visible {
  background: var(--o-gradient-dark);
  color: #fff;
  transform: scale(1.06);
}

.o-fab--top {
  right: 24px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: var(--surface-bg);
  color: var(--o-primary);
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}

[data-theme="dark"] .o-fab--top {
  color: #c9a6ff;
}

.has-fab .o-fab--top {
  bottom: 88px;
}

.o-fab--top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

@media (min-width: 600px) {
  .o-fab--main {
    right: 32px;
    bottom: 32px;
  }

  .o-fab--top {
    right: 36px;
    bottom: 32px;
  }

  .has-fab .o-fab--top {
    bottom: 104px;
  }
}

.o-toasts {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.o-toast {
  padding: 8px 16px;
  border-radius: 999px;
  background: #323232;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.43;
  box-shadow: var(--o-shadow-6);
  animation: oToastIn 0.25s ease;
}

.o-toast--error {
  background: #d32f2f;
}

/* ==========================================================================
   19. Forms, alerts & Joomla components
   ========================================================================== */

.form-control,
.form-select {
  padding: 12px 14px;
  border: 1px solid var(--o-input-border);
  border-radius: 4px;
  background-color: transparent;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-select {
  padding-right: 36px;
  background-color: transparent;
}

.form-select option {
  background: var(--o-paper);
  color: var(--text-primary);
}

.form-control:hover,
.form-select:hover {
  border-color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--o-primary);
  background-color: transparent;
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--o-primary);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  border-color: #c9a6ff;
  box-shadow: inset 0 0 0 1px #c9a6ff;
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.form-label,
.control-label label,
.col-form-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.control-group {
  margin-bottom: 20px;
}

.control-label {
  margin-bottom: 4px;
}

.form-check-input:checked {
  border-color: var(--o-primary);
  background-color: var(--o-primary);
}

.form-check-input:focus {
  border-color: var(--o-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--o-primary-rgb), 0.25);
}

.star {
  color: #d32f2f;
}

.input-group > .form-control:not(:first-child) {
  border-left-width: 1px;
}

.alert {
  border-radius: 16px;
}

#system-message-container {
  margin-bottom: 16px;
}

#system-message-container:empty {
  display: none;
}

joomla-alert {
  border-radius: 16px !important;
  box-shadow: 0 12px 28px var(--shadow-color);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
}

.card {
  --bs-card-bg: var(--card-bg);
  --bs-card-border-color: var(--border-subtle);
  --bs-card-border-radius: 20px;
}

.list-group {
  --bs-list-group-bg: var(--card-bg);
  --bs-list-group-border-color: var(--border-subtle);
}

/* Contact page (override html/com_contact/contact/default.php) */
.o-contact {
  position: relative;
  max-width: 720px;
}

.o-contact__title {
  margin-bottom: 8px;
}

.o-contact__lead {
  margin-bottom: 24px;
}

.o-contact__lead > :last-child {
  margin-bottom: 0;
}

.o-contact__tools {
  top: 0;
  right: 0;
}

.o-contact__card {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.o-contact__card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* The form's own legend ("Send an Email") repeats the page heading. */
.o-contact__card fieldset > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.o-contact__card .controls:has(> button[type="submit"]) {
  text-align: right;
}

/* Generic component pages get the card look */
.com-users-profile,
.com-users-profile-edit,
.com-tags-tag,
.com-tags-tags,
.com-content-category,
.com-content-archive,
.com-newsfeeds-category {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 12px 28px var(--shadow-color);
}

.com-content-category .category-desc,
.com-tags-tag .category-desc {
  margin-bottom: 16px;
}

/* Smart Search */
.com-finder__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.o-searchbox {
  display: flex;
  flex: 1 1 320px;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  padding: 4px 6px 4px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-bg);
  box-shadow: 0 10px 24px rgba(var(--o-primary-rgb), 0.1);
}

.o-searchbox__icon {
  color: var(--o-primary);
}

.o-searchbox .awesomplete {
  flex: 1;
  min-width: 0;
}

.o-searchbox input {
  width: 100%;
  min-width: 0;
  padding: 8px 0 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.o-search__advanced {
  font-size: 0.8125rem;
}

.com-finder__advanced {
  margin-bottom: 16px;
}

#search-query-explained {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.com-finder__results-list,
#search-result-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.com-finder__results-list > li,
#search-result-list > li {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 16px 36px var(--shadow-color);
}

.result__title {
  margin: 0 0 6px;
}

.result__title .result__title-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-primary);
  text-decoration: none;
}

.result__title-text {
  font-size: 1.15rem;
  font-weight: 800;
}

.result__title-link:hover .result__title-text {
  text-decoration: underline;
}

.result__title-url {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.result__description {
  margin: 8px 0 0;
}

.result__date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

mark,
.highlight {
  padding: 0 2px;
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.28);
  color: inherit;
}

.com-finder__results .com-finder__navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.com-finder__results .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 8px;
  border-radius: 8px;
  background: var(--o-gradient);
}

.com-finder__results .pagination .page-item .page-link {
  min-width: 32px;
  height: 32px;
  margin: 0 3px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  line-height: 32px;
  text-align: center;
}

.com-finder__results .pagination .page-item.active .page-link {
  background: rgba(255, 255, 255, 0.25);
}

.com-finder__results .pagination .page-item.disabled .page-link {
  opacity: 0.38;
}

.result__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.result__title a {
  color: var(--text-primary);
  text-decoration: none;
}

.result__title a:hover {
  text-decoration: underline;
}

.result__taxonomy {
  margin: 8px 0 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  list-style: none;
}

/* Login, registration, password reset: frosted-glass card in the middle of the page */
.o-auth-page .o-main {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px 0;
}

.o-auth-page .o-main > .o-container {
  width: 100%;
}

.o-auth-page .o-content > .com-users-login,
.o-auth-page .o-content > .com-users-registration,
.o-auth-page .o-content > .com-users-remind,
.o-auth-page .o-content > .com-users-reset,
.o-auth-page .o-content > .com-users-logout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--card-glass-border);
  border-radius: 16px;
  background: var(--card-glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.o-auth-page .o-content > .com-users-registration {
  max-width: 520px;
}

.o-auth-page .page-header h1,
.o-auth__title {
  margin: 0;
  font-family: var(--o-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.334;
  text-align: center;
}

.o-auth__subtitle {
  margin-top: -12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

.o-auth form,
.o-auth fieldset,
.o-auth-page .o-content form {
  margin: 0;
}

.o-auth .form-check {
  margin-bottom: 20px;
}

.o-auth__extra {
  margin-bottom: 12px;
}

.o-auth__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 0.875rem;
  text-align: center;
}

.o-auth-page fieldset legend {
  font-size: 1rem;
  font-weight: 700;
}

.o-auth-page .com-users-registration__submit,
.o-auth-page .com-users-reset__submit,
.o-auth-page .com-users-remind__submit {
  display: flex;
  justify-content: center;
}

.o-auth-page .com-users-login__options.list-group {
  display: none;
}

/* ==========================================================================
   20. Error & offline pages
   ========================================================================== */

.o-error-page {
  background: #fafafa;
}

[data-theme="dark"] .o-error-page {
  background: var(--page-bg-solid);
}

.o-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}

.o-error__paper {
  width: 100%;
  max-width: 600px;
  padding: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde2e4, #f9e0f7, #e8eaf6);
  color: #333;
  text-align: center;
}

.o-error__img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.o-error__img--small {
  width: 200px;
}

.o-error__code {
  margin: 16px 0 8px;
  color: #333;
  font-size: 1.5rem;
}

.o-error__text {
  margin: 0 0 0.35em;
  opacity: 0.8;
}

.o-error .o-btn--danger {
  margin-top: 24px;
}

.o-error__modules {
  margin-top: 16px;
}

.o-error__debug {
  margin-top: 16px;
  padding: 16px;
  overflow-x: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #444;
  font-family: monospace;
  font-size: 0.85rem;
  text-align: left;
}

.o-offline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  background: var(--page-bg);
}

.o-offline__card {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--card-bg);
  text-align: center;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.o-offline__logo {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.o-offline__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 12px;
}

.o-offline__title {
  margin: 0 0 0.35em;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.235;
}

.o-offline__text {
  margin: 0 0 24px;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

.o-offline__login summary {
  display: inline-block;
  padding: 4px 5px;
  border-radius: 999px;
  color: var(--o-primary);
  font-family: var(--o-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  opacity: 0.6;
}

.o-offline__login summary::-webkit-details-marker {
  display: none;
}

.o-offline__login[open] summary {
  margin-bottom: 16px;
  opacity: 0.9;
}

.o-offline__login form {
  text-align: left;
}

.o-component {
  padding: 16px;
  background: var(--page-bg-solid);
}

/* ==========================================================================
   21. Animations
   ========================================================================== */

@keyframes oFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes oToastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--o-primary-rgb), 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(var(--o-primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--o-primary-rgb), 0);
  }
}

.fab-pulse {
  animation: fabPulse 2.5s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .o-navbar,
  .o-drawer,
  .o-hero,
  .o-pillbar,
  .o-sidebar,
  .o-footer,
  .o-fab,
  .o-card__actions {
    display: none !important;
  }

  .o-main {
    padding: 0;
    background: none;
  }

  .o-card {
    box-shadow: none;
  }
}
