/*
! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root {
  /* Professional Corporate Color Palette - Navy Blue + Gray */
  --primary-navy: #1e3a5f;
  /* Deep Navy - primary brand color */
  --primary-blue: #2563eb;
  /* Professional Blue - accents */
  --primary-start: #1e3a5f;
  /* Navy for gradients */
  --primary-end: #2563eb;
  /* Blue for gradients */
  --accent-blue: #3b82f6;
  /* Light Blue - secondary accent */
  --accent-slate: #475569;
  /* Slate - neutral accent */
  /* Subtle shadow effects - professional and understated */
  --glow-primary: 0 4px 20px rgba(30, 58, 95, 0.25);
  --glow-red: 0 4px 20px rgba(220, 38, 38, 0.25);
  --glow-amber: 0 4px 20px rgba(217, 119, 6, 0.25);
  --glow-emerald: 0 4px 20px rgba(5, 150, 105, 0.25);
  --glow-slate: 0 4px 20px rgba(71, 85, 105, 0.25);
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* ========================================
     MODERN HEADER - Glassmorphism
     ======================================== */

.header-modern {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 50;
  border-bottom-width: 1px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-color: rgba(30, 58, 95, 0.1);
}

.header-modern.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(30, 58, 95, 0.08);
}

.header-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-logo {
    gap: 0.75rem;
  }
}

.header-logo {
  text-decoration-line: none;
}

.header-logo img {
  height: 2rem;
  width: auto;
}

@media (min-width: 640px) {
  .header-logo img {
    height: 2.5rem;
  }
}

.header-logo-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .header-logo-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.header-logo-text {
  color: var(--primary-navy);
}

.header-logo-accent {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

/* ========================================
     COMPACT LANGUAGE SWITCHER
     ======================================== */

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  border-width: 0px;
  background-color: transparent;
}

.lang-switcher-btn:hover {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.06);
}

.lang-switcher-icon {
  height: 1rem;
  width: 1rem;
}

.lang-switcher-code {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.lang-switcher-arrow {
  height: 0.875rem;
  width: 0.875rem;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.lang-switcher-btn[aria-expanded="true"] .lang-switcher-arrow {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.lang-switcher-dropdown {
  position: absolute;
  right: 0px;
  top: 100%;
  margin-top: 0.5rem;
  display: none;
  border-radius: 0.5rem;
  min-width: 11rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  z-index: 50;
  margin: 0px;
  list-style-type: none;
  padding: 0.375rem;
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lang-switcher-dropdown.open {
  display: block;
}

.lang-switcher-dropdown li {
  list-style-type: none;
}

.lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
  border-radius: 0.375rem;
  text-decoration-line: none;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.lang-switcher-option:hover {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.05);
}

.lang-switcher-option.active {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(37, 99, 235, 0.06);
}

.lang-switcher-flag {
  height: auto;
  width: 1.25rem;
  flex-shrink: 0;
  border-radius: 0.125rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-switcher-name {
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-short {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

.lang-switcher-option.active .lang-switcher-short {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity));
}

.lang-switcher-check {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

/* Legacy mod-languages fallback (if module uses old template) */

.header-nav .mod-languages {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-nav .mod-languages p {
  display: none;
}

.header-nav .mod-languages .btn {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.header-nav .mod-languages .\!btn {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.header-nav .mod-languages .btn {
  border-radius: 0.5rem;
  border-width: 0px;
}

.header-nav .mod-languages .\!btn {
  border-radius: 0.5rem;
  border-width: 0px;
}

.header-nav .mod-languages .btn {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.header-nav .mod-languages .\!btn {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.header-nav .mod-languages .btn {
  background-color: transparent;
}

.header-nav .mod-languages .\!btn {
  background-color: transparent !important;
}

.header-nav .mod-languages .btn:hover {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
}

.header-nav .mod-languages .\!btn:hover {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity));
}

.header-nav .mod-languages .btn:hover {
  background-color: rgba(30, 58, 95, 0.06);
}

.header-nav .mod-languages .\!btn:hover {
  background-color: rgba(30, 58, 95, 0.06) !important;
}

.header-nav .mod-languages ul {
  position: absolute;
  top: 100%;
  right: 0px;
  margin-top: 0.5rem;
  display: none;
  border-radius: 0.5rem;
  z-index: 50;
  min-width: 11rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  margin: 0px;
  list-style-type: none;
  flex-direction: column;
  padding: 0.375rem;
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.12);
}

.header-nav .mod-languages:hover ul,
  .header-nav .mod-languages:focus-within ul,
  .header-nav .mod-languages ul.show {
  display: flex;
}

.header-nav .mod-languages ul li {
  display: block;
  list-style-type: none;
}

.header-nav .mod-languages ul a {
  display: block;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
  border-radius: 0.375rem;
}

.header-nav .mod-languages ul a:hover {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.header-nav .mod-languages ul a {
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background-color: transparent;
}

.header-nav .mod-languages ul a:hover {
  background-color: rgba(30, 58, 95, 0.05);
}

/* Menu items in header */

.header-nav > ul,
  .header-nav > .mod-menu > ul,
  .header-nav > div > ul:not(.mod-languages__list):not(.lang-switcher-dropdown) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.25rem !important;
  margin: 0px;
  list-style-type: none;
  padding: 0px;
}

.header-nav > ul > li,
  .header-nav > div > ul:not(.mod-languages__list):not(.lang-switcher-dropdown) > li {
  display: inline-flex;
  list-style-type: none;
}

body.site .header-nav a {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  border-radius: 0.75rem;
  text-decoration-line: none;
}

body.site .header-nav a:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.06);
}

body.site .header-nav a.active {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Professional CTA Button */

.header-mobile-btn {
  padding: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

@media (min-width: 768px) {
  .header-mobile-btn {
    display: none;
  }
}

.header-mobile-btn {
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.header-mobile-btn:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.06);
}

/* Mobile Menu */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0px;
  right: 0px;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu {
  border-bottom-width: 1px;
}

.mobile-menu > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.mobile-menu {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: none;
  background-color: #ffffff;
  border-color: rgba(30, 58, 95, 0.1);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  margin: 0px;
  list-style-type: none;
  padding: 0px;
}

.mobile-menu ul li {
  list-style-type: none;
}

.mobile-menu a {
  display: block;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity));
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity));
}

.mobile-menu a:last-child {
  border-bottom-width: 0px;
}

.mobile-menu a:hover,
  .mobile-menu a:active {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.04);
}

/* Mobile language switcher */

.mobile-menu .lang-switcher {
  flex-direction: column;
  align-items: stretch;
  margin-top: 0.5rem;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity));
  padding-top: 0.5rem;
  margin-left: 0;
}

.mobile-menu .lang-switcher-btn {
  width: 100%;
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}

.mobile-menu .lang-switcher-dropdown {
  margin-top: 0.25rem;
  width: 100%;
  position: relative !important;
  top: 0 !important;
  right: auto !important;
  left: auto !important;
  box-shadow: none;
  border: 0;
  border-radius: 0.5rem;
  background-color: rgba(30, 58, 95, 0.03);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  min-width: 0;
}

.mobile-menu .lang-switcher-dropdown.open {
  display: block;
}

.mobile-menu .lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  border-radius: 0.5rem;
  border-bottom-width: 0px;
}

.mobile-menu .lang-switcher-option.active {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(37, 99, 235, 0.06);
}

.mobile-menu .lang-switcher-flag {
  width: 1.5rem;
  flex-shrink: 0;
}

.mobile-menu .lang-switcher-name {
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu .lang-switcher-short {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

.mobile-menu .lang-switcher-check {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

/* ========================================
     HERO SECTION - Clean Professional
     ======================================== */

.hero-section {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.hero-section {
  background: #f8fafc;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.02) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.hero-title {
  font-size: 1.5rem;
  line-height: 2rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1;
  }
}

.hero-title {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.hero-title-gradient {
  color: var(--primary-navy);
}

.hero-subtitle {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    margin-bottom: 2rem;
  }
}

.hero-subtitle {
  line-height: 1.625;
}

/* Search Box - Clean */

.hero-search {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}

.hero-search-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-search-container {
    flex-direction: row;
  }
}

.hero-search-container {
  border-radius: 0.5rem;
  padding: 0.375rem;
  background-color: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.15);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.06);
}

.hero-search-container:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.1);
}

.hero-search-input-wrapper {
  position: relative;
  flex: 1 1 0%;
}

.hero-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  height: 1.25rem;
  width: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

.hero-search-input {
  width: 100%;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 2.5rem;
  padding-right: 0.75rem;
}

@media (min-width: 640px) {
  .hero-search-input {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.hero-search-input {
  background-color: transparent;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

@media (min-width: 640px) {
  .hero-search-input {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.hero-search-input::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(148 163 184 / var(--tw-placeholder-opacity));
}

.hero-search-input::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(148 163 184 / var(--tw-placeholder-opacity));
}

.hero-search-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.hero-search-input {
  border-radius: 0.375rem;
}

/* Search Button */

.hero-search-btn {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

@media (min-width: 640px) {
  .hero-search-btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.hero-search-btn {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .hero-search-btn {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.hero-search-btn {
  border-radius: 0.375rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-search-btn {
    width: auto;
  }
}

.hero-search-btn {
  color: #ffffff !important;
  background: var(--primary-navy);
}

.hero-search-btn:hover {
  background: var(--primary-blue);
}

/* ========================================
     SECTION LAYOUT
     ======================================== */

.featured-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .featured-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.featured-section {
  background: #ffffff;
}

.section-header {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

.section-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.section-subtitle {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.pagination-wrapper {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .pagination-wrapper {
    margin-top: 3rem;
  }
}

.pagination-counter {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

/* ========================================
     SITE CARDS GRID
     ======================================== */

.site-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .site-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

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

@media (min-width: 1280px) {
  .site-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.site-cards-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-cards-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ========================================
     SITE CARDS V2 - Clean Design
     ======================================== */

.site-card-v2 {
  border-radius: 0.5rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #ffffff;
  overflow: visible;
  border: 1px solid #e2e8f0;
}

.site-card-v2:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Trust level glow effects on hover */

.site-card-v2--neutral:hover {
  border-color: rgba(71, 85, 105, 0.25);
  box-shadow: var(--glow-slate), 0 20px 40px -12px rgba(0, 0, 0, 0.06);
}

.site-card-v2-screenshot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f1f5f9;
  border-radius: 0.5rem 0.5rem 0 0;
}

.site-card-v2-img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}

.site-card-v2-placeholder {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.site-card-v2-placeholder svg {
  height: 2.5rem;
  width: 2.5rem;
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity));
}

/* Trust Badge */

.site-card-v2-badge {
  border-radius: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  z-index: 10 !important;
}

/* Hide status dot - cleaner look */

.site-card-v2-status-dot {
  display: none;
}

.site-card-v2-body {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  padding: 1rem;
}

.site-card-v2-title {
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.site-card-v2-title a {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.site-card-v2-title a:hover {
  color: var(--primary-blue);
}

.site-card-v2-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-card-v2-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.site-card-v2-score-bar {
  height: 0.375rem;
  width: 4rem;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgba(30, 58, 95, 0.08);
}

.site-card-v2-score-fill {
  height: 100%;
  border-radius: 9999px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.site-card-v2-date {
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

/* ========================================
     TRUST LEVEL STYLES - Clean
     ======================================== */

/* High Risk - Red */

.site-card-v2--high-risk .site-card-v2-score-fill {
  background: #dc2626;
}

/* Suspicious - Amber */

.site-card-v2--suspicious .site-card-v2-score-fill {
  background: #d97706;
}

/* Neutral - Gray */

.site-card-v2-badge--neutral {
  background: #f1f5f9;
  color: #475569;
}

.site-card-v2--neutral .site-card-v2-score-fill {
  background: #64748b;
}

/* Safe - Green */

.site-card-v2--safe .site-card-v2-score-fill {
  background: #059669;
}

/* Unknown - Blue */

.site-card-v2--unknown .site-card-v2-score-fill {
  background: #2563eb;
}

/* ========================================
     TRUST BADGES - ARTICLE PAGE
     ======================================== */

.trust-badge {
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ========================================
     PAGINATION - Professional Style
     ======================================== */

.pagination-minimal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.pagination-minimal ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.pagination-minimal a,
  .pagination-minimal span {
  border-radius: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.pagination-minimal a {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.pagination-minimal a:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
  background-color: rgba(30, 58, 95, 0.06);
}

.pagination-minimal .active {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  background: var(--primary-navy);
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}

.pagination-minimal .disabled {
  cursor: not-allowed;
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity));
}

.pagination-minimal .ellipsis {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

/* Hide icon font spans in pagination - use CSS arrows instead */

.pagination-minimal .page-link span[aria-hidden="true"],
  .pagination-minimal li:first-child span,
  .pagination-minimal li:nth-child(2) span,
  .pagination-minimal li:nth-last-child(2) a span,
  .pagination-minimal li:last-child a span {
  display: none !important;
}

/* Consistent sizing for all pagination buttons */

.pagination-minimal a,
  .pagination-minimal .active a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
}

/* First page link */

.pagination-minimal li:first-child a::before {
  content: "«";
  font-size: 14px;
}

/* Previous page link */

.pagination-minimal li:nth-child(2) a::before {
  content: "‹";
  font-size: 14px;
}

/* Next page link */

.pagination-minimal li:nth-last-child(2) a::before {
  content: "›";
  font-size: 14px;
}

/* Last page link */

.pagination-minimal li:last-child a::before {
  content: "»";
  font-size: 14px;
}

/* Hide disabled pagination items completely */

.pagination-minimal li .page-link.disabled,
  .pagination-minimal li span.page-link {
  display: none;
}

/* Hide list items with only disabled spans (first/prev on page 1) */

.pagination-minimal ul li:has(> span.page-link.disabled) {
  display: none;
}

/* Fallback: hide empty list items using display none on the span */

.pagination-minimal ul li span.disabled {
  display: none !important;
}

/* ========================================
     FOOTER - Professional Design
     ======================================== */

.footer-modern {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .footer-modern {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.footer-modern {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(30, 58, 95, 0.08);
}

.footer-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

.footer-top {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-top {
    margin-bottom: 3rem;
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-brand {
  grid-column: span 2 / span 2;
}

.footer-logo {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-logo {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
}

.footer-logo-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .footer-logo-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.footer-logo-text {
  color: var(--primary-navy);
}

.footer-tagline {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

@media (min-width: 640px) {
  .footer-tagline {
    margin-bottom: 1.5rem;
  }
}

.footer-tagline {
  max-width: 24rem;
  line-height: 1.625;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

body.site .footer-social a {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(30, 58, 95, 0.1);
}

body.site .footer-social a:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  background: var(--primary-navy);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.footer-links > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

body.site .footer-links a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.site .footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(30, 58, 95, 0.08);
}

.footer-copyright {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

body.site .footer-legal a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.site .footer-legal a:hover {
  color: var(--primary-blue);
}

/* ========================================
     ARTICLE PAGE
     ======================================== */

.article-minimal {
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-title {
  margin-bottom: 0.75rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.article-title {
  letter-spacing: -0.025em;
}

.article-subtitle {
  font-size: 1.125rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.article-alert {
  margin-bottom: 2.5rem;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.article-alert--danger {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.8), rgba(254, 202, 202, 0.8));
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.article-alert--warning {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.8), rgba(253, 230, 138, 0.8));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.article-alert--success {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.8), rgba(167, 243, 208, 0.8));
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-alert--info {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.8), rgba(219, 234, 254, 0.8));
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Trust Score Section */

.trust-score-section {
  margin-bottom: 2.5rem;
  border-radius: 0.75rem;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06);
}

.trust-score-bar {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgba(30, 58, 95, 0.08);
}

.trust-score-fill {
  height: 100%;
  border-radius: 9999px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}

.trust-score-labels {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

/* Site Info Grid */

.site-info-grid {
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .site-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-screenshot {
  align-self: flex-start;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: 0 20px 40px -12px rgba(30, 58, 95, 0.1);
}

.site-screenshot img {
  display: block;
  height: auto;
  width: 100%;
}

.site-facts > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.site-fact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.08);
  transition: all 0.2s;
}

.site-fact:hover {
  border-color: rgba(30, 58, 95, 0.15);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.06);
}

.site-fact-icon {
  margin-top: 0.125rem;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.site-fact-label {
  margin-bottom: 0.25rem;
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity));
}

.site-fact-value {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

/* Analysis Content */

.article-content {
  margin-bottom: 2.5rem;
}

.prose {
  font-size: 1.125rem;
  line-height: 1.75rem;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}

.prose h1 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  color: var(--primary-blue);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
}

.prose a:hover {
  color: var(--primary-navy);
  text-decoration-color: rgba(30, 58, 95, 0.5);
}

.prose strong {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

/* Report Button - Professional */

.report-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  color: #ffffff !important;
  background: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.report-btn:hover {
  transform: translateY(-1px);
  background: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  color: #ffffff !important;
}

/* ========================================
     ARTICLE PAGE (About Us, Privacy, etc.)
     ======================================== */

.article-page {
  border-radius: 0.75rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .article-page {
    padding: 3rem;
  }
}

.article-page {
  background-color: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.04);
}

.article-page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.article-page-header h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

@media (min-width: 768px) {
  .article-page-header h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.article-page-header h1 {
  letter-spacing: -0.025em;
}

.article-page-content {
  font-size: 1.125rem;
  line-height: 1.75rem;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}

.article-page-content h1,
  .article-page-content h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-page-content h1:first-child {
  margin-top: 0px;
}

.article-page-content p {
  margin-bottom: 1.5rem;
}

/* ========================================
     SEARCH PAGE
     ======================================== */

.search-results {
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.search-results > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

/* ========================================
     ERROR PAGE
     ======================================== */

.error-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
}

/* ========================================
     UTILITY CLASSES
     ======================================== */

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.float-start {
  float: inline-start;
}

.float-end {
  float: inline-end;
}

.m-0 {
  margin: 0px;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.me-1 {
  margin-inline-end: 0.25rem;
}

.me-2 {
  margin-inline-end: 0.5rem;
}

.me-3 {
  margin-inline-end: 0.75rem;
}

.ms-auto {
  margin-inline-start: auto;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.\!max-w-6xl {
  max-width: 72rem !important;
}

.max-w-4xl {
  max-width: 56rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity));
}

.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity));
}

.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity));
}

.bg-orange-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity));
}

.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity));
}

.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}

.p-0 {
  padding: 0px;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pe-2 {
  padding-inline-end: 0.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.text-center {
  text-align: center;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity));
}

.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / var(--tw-text-opacity));
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.outline {
  outline-style: solid;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ========================================
   BADGE VARIANTS - OUTSIDE @layer for JIT
   ======================================== */

.site-card-v2-badge--high-risk {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.95), rgba(254, 202, 202, 0.95));
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.site-card-v2-badge--suspicious {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(253, 230, 138, 0.95));
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.site-card-v2-badge--neutral {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.95));
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.site-card-v2-badge--safe {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.95), rgba(167, 243, 208, 0.95));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.site-card-v2-badge--unknown {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(219, 234, 254, 0.95));
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Status dots */

.site-card-v2--high-risk .site-card-v2-status-dot {
  background-color: #ef4444;
  color: rgba(239, 68, 68, 0.6);
}

.site-card-v2--suspicious .site-card-v2-status-dot {
  background-color: #f59e0b;
  color: rgba(245, 158, 11, 0.6);
}

.site-card-v2--neutral .site-card-v2-status-dot {
  background-color: #94a3b8;
  color: rgba(148, 163, 184, 0.6);
}

.site-card-v2--safe .site-card-v2-status-dot {
  background-color: #10b981;
  color: rgba(16, 185, 129, 0.6);
}

.site-card-v2--unknown .site-card-v2-status-dot {
  background-color: #3b82f6;
  color: rgba(59, 130, 246, 0.6);
}

/* Score colors */

.score--high-risk {
  color: #dc2626;
}

.score--suspicious {
  color: #d97706;
}

.score--neutral {
  color: #64748b;
}

.score--safe {
  color: #059669;
}

.score--unknown {
  color: #2563eb;
}

/* Score bar fills */

.site-card-v2--high-risk .site-card-v2-score-fill {
  background: linear-gradient(to right, #f87171, #dc2626);
}

.site-card-v2--suspicious .site-card-v2-score-fill {
  background: linear-gradient(to right, #fbbf24, #d97706);
}

.site-card-v2--neutral .site-card-v2-score-fill {
  background: linear-gradient(to right, #94a3b8, #64748b);
}

.site-card-v2--safe .site-card-v2-score-fill {
  background: linear-gradient(to right, #34d399, #059669);
}

.site-card-v2--unknown .site-card-v2-score-fill {
  background: linear-gradient(to right, #60a5fa, #2563eb);
}

/* ========================================
   OVERRIDE JOOMLA DEFAULTS
   ======================================== */

body.site {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 20%, #ffffff 100%);
  color: #334155;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global link styles */

body.site a {
  color: #2563eb;
  transition: color 0.2s;
}

body.site a:hover {
  color: #1e3a5f;
}

/* Header spacing for fixed header */

body.site {
  padding-top: 60px;
}

@media (min-width: 768px) {
  body.site {
    padding-top: 70px;
  }
}

/* Hide default Joomla breadcrumbs on homepage */

.view-featured .container-component > nav[aria-label="Breadcrumbs"] {
  display: none;
}

/* Remove default card styling from sidebar */

.container-sidebar-right .card,
.container-sidebar-left .card {
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* Hide sidebar-right (login form) */

.container-sidebar-right {
  display: none !important;
}

/* Expand main content to full width when sidebar is hidden */

.container-component {
  grid-column: main-start / main-end !important;
}

/* Hide breadcrumbs */

nav[aria-label="Breadcrumbs"],
.container-component > nav:first-child {
  display: none !important;
}

/* Ensure cards container doesn't clip badges */

.container-component,
.container-component > main,
.blog-featured,
.items-row {
  overflow: visible !important;
}

/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}

/* Selection color - professional */

::-moz-selection {
  background-color: rgba(30, 58, 95, 0.15);
  color: #1e3a5f;
}

::selection {
  background-color: rgba(30, 58, 95, 0.15);
  color: #1e3a5f;
}

/* Custom scrollbar - subtle */

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

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Focus styles with ring */

*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
  border-radius: 6px;
}

/* Joomla message styles override */

.alert {
  border-radius: 12px;
  border: 1px solid;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.alert-info {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(219, 234, 254, 0.9));
  border-color: rgba(37, 99, 235, 0.2);
  color: #1e40af;
}

.alert-success {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.9), rgba(167, 243, 208, 0.9));
  border-color: rgba(16, 185, 129, 0.2);
  color: #047857;
}

.alert-warning {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.9));
  border-color: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.alert-danger, .alert-error {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(254, 202, 202, 0.9));
  border-color: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

/* Form inputs with professional focus */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
  background-color: #ffffff;
  border: 2px solid rgba(30, 58, 95, 0.12);
  color: #1e293b;
  border-radius: 8px;
  transition: all 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Buttons override - Professional */

.btn-primary {
  background: #1e3a5f;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  border: 0;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  color: #ffffff !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.05), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(30, 58, 95, 0.15);
  }

  50% {
    box-shadow: 0 0 25px rgba(30, 58, 95, 0.25);
  }
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:justify-between {
    justify-content: space-between;
  }
}

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