/* =========================================================
VELHOBIT WORDPRESS THEME
Estilo: Apple OS-inspired (macOS / iOS Newsroom)
Clean editorial + spacing system + semantic content support
Arquivos separados reais
========================================================= */

@import url("clean.css");
@import url("colors.css");
@import url("base.css");

/* =========================================================
FILE: style.css
========================================================= */

/* Theme Name: VelhoBit OS Clean */

:root {
  /* SYSTEM COLORS */
  --primary: #ad9ad0;
  --accent: #5e5ce6;
  --danger: #ff3b30;

  /* BACKGROUND */
  --bg: #0b0c0f;
  --bg-light: #f5f7fb;

  /* SURFACES */
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --surface-blur: rgba(0, 0, 0, 0.6);
  --border: rgba(255, 255, 255, 0.12);

  /* TEXT */
  --text: #eaf0f6;
  --muted: #9aa4b2;

  /* LAYOUT */
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1060px;

  /* TYPO SCALE (OS STYLE) */
  --h1: clamp(32px, 3.2vw, 48px);
  --h2: clamp(20px, 2.4vw, 26px);
  --body: clamp(14px, 1.2vw, 15px);

  /* SPACING SCALE */
  --s1: 6px;
  --s2: 10px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
}

[data-theme="light"] {
  --bg: var(--bg-light);
  --text: #0b0f14;
  --muted: #4b5563;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --surface-blur: rgba(255, 255, 255, 0.64);
  --border: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html[data-theme="dark"] #disqus_thread {
  background: rgba(0, 0, 0, 1);
}

html[data-theme="light"] #disqus_thread {
  background: rgba(255, 255, 255, 1);
}

#disqus_thread.transparent {
  background: transparent !important;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    system-ui;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: 0.25s ease;
}

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

.container {
  width: min(var(--max), 92%);
  margin: auto;
}

/* =========================
HEADER (OS STYLE)
========================= */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
  z-index: 50;

  .titulo {
    overflow: hidden;
    white-space: nowrap;
    max-width: 64px;
    transition: all 0.7s ease-out;
    display: flex;
    justify-content: flex-start;
    margin-right: 1rem;
    h1 {
      opacity: 0;
      max-width: 0;
      margin: 0;
      transition: all 0.5s;
      font-weight: 700;
      font-style: normal;
      text-transform: uppercase;
      font-size: 1em;
      line-height: 2.3em;
    }
    img {
      height: 64px;
      width: 64px;
      text-align: center;
      cursor: pointer;
    }

    &:hover {
      max-width: 500px;
      h1 {
        opacity: 1;
        max-width: 500px;

        margin-right: 10px;
      }
    }
  }
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.75);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  li {
    a {
      padding: 0 0.86rem;
    }
  }
}

.logo {
  font-weight: 600;
  letter-spacing: -0.3px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  text-decoration: none;
}

.logo-avatar {
  width: 42px;
  height: 42px;

  border-radius: 999px;

  object-fit: cover;
}

.menu a {
  margin: 0 10px;
  font-size: 14px;
  color: var(--muted);
  transition: 0.2s;
}

.menu a:hover {
  color: var(--text);
}

/* =========================
CONTENT LAYOUT (EDITORIAL)
========================= */
.hero {
  padding: 60px 0;
}

h1.title,
.wp-block-heading {
  color: var(--text);
}

article.single {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
  transition: 0.2s ease;

  gap: 1rem;
  align-items: none;
  position: relative;

  textarea {
    max-width: 300px;
  }

  .content {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .title {
    font-size: var(--h2);
    font-weight: 600;
    letter-spacing: -0.4px;
    margin: 0;
    line-height: 1.1;
    color: var(--text);
  }

  .post-content {
    .title {
      color: var(--text);
      font-size: var(--h2);
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.4px;
      margin: 0;
    }
  }
}

/**Fix Code**/
.cm-s-ambiance .CodeMirror-linenumber {
  color: color(display-p3 1 1 1 / 0.5) !important;
}
.my-syntax-highlighter {
  padding: 0;
  border-radius: 0.3rem;
  margin: 1rem 0;

  .CodeMirror {
    font-size: 14px !important;
    pre {
      height: 18px;
    }
  }
}

.meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* =========================
TYPOGRAPHY (FULL SUPPORT)
========================= */
.content {
  font-size: var(--body);
  h1 {
    font-size: var(--h1);
    margin: 20px 0;
  }
  h2 {
    font-size: var(--h2);
    margin: 18px 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    color: var(--text);
  }
}

.content p {
  margin: 14px 0;
}

.content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.content figure {
  margin: 20px auto;
  border-radius: var(--radius);
  overflow: hidden;
  width: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 50vw;
  max-width: 100%;
}

.content > img,
.content > div {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.content figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 12px;
}

.content code {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  max-width: 100%;
  overflow-x: auto;
}

/* =========================
BUTTONS
========================= */
.btn {
  background: var(--primary);
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
PAGINATION
========================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  display: block;
}
.pagination span.current {
  border: none;
  backdrop-filter: brightness(1.5);
  color: var(--primary);
}

/* =========================================================
VELHOBIT FIX CSS
Correções: menu horizontal, grid jornalística, thumbnails
========================================================= */

/* MENU FIX (WP NAV) */
.menu ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.menu li {
  list-style: none;
}

.menu a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.menu a:hover {
  background: rgba(3, 252, 223, 0.12);
}

/* LOGO LINK FEELING */
.logo a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
GRID JORNALÍSTICO (HOME)
========================================================= */

.editorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

/* FEATURED TOP 3 POSTS */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.featured-post {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  transition: 0.2s ease;
}

.featured-post:hover {
  transform: translateY(-3px);
}

.featured-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.featured-content {
  padding: 14px;
  color: var(--text);
}

.featured-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

/* =========================================================
THUMBNAILS (POST LIST)
========================================================= */

.post {
  display: flex;
  gap: 16px;
  align-items: flex-start;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
  transition: 0.2s ease;

  gap: 1rem;
  align-items: none;
  position: relative;

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

  .post-content {
    .title {
      color: var(--text);
      font-size: var(--h2);
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.4px;
      margin: 0;
    }
  }
}

.post-thumb {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  flex: 1;
}

@media (max-width: 640px) {
  .post,
  article.single {
    display: flex;
    flex-direction: column;
  }
  .post-thumb {
    width: 100%;
    height: 180px;
  }
}

.skeleton {
  width: 100%;
  min-height: 64px;
  background: rgba(130, 130, 130, 0.2);
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(8%, rgba(130, 130, 130, 0.2)),
    color-stop(18%, rgba(130, 130, 130, 0.3)),
    color-stop(33%, rgba(130, 130, 130, 0.2))
  );
  background: linear-gradient(
    to right,
    rgba(130, 130, 130, 0.2) 8%,
    rgba(130, 130, 130, 0.3) 18%,
    rgba(130, 130, 130, 0.2) 33%
  );
  background-size: 800px 100px;
  animation: wave-lines 2s infinite ease-out;
}

.hide {
  display: none !important;
}

@keyframes wave-lines {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 920px) and (-webkit-min-device-pixel-ratio: 1),
  screen and (max-width: 920px) {
  body,
  html {
    max-width: 100vw;
    overflow: hidden;
    overflow-y: auto;
  }
  header {
    .titulo {
      max-width: 500px;
      h1 {
        opacity: 1;
        max-width: 500px;

        margin-right: 10px;
      }
    }
  }
  .wrap {
    max-width: 95%;
  }

  .container {
    max-width: 95%;
  }

  .desktop-only {
    display: none !important;
  }

  .area_menu {
    display: block;
  }
}

/**fab-site**/
/** footer **/
.menu-footer {
  display: block;
  position: fixed;
  bottom: 0.5rem;
  left: 0.5em;
  right: 0.5em;

  .base {
    display: flex;
    .glass {
      border-radius: 50px;
      border-radius: 4rem;
      box-shadow:
        0 1rem 2rem rgba(0, 0, 0, 0.1),
        0.1rem 0.1rem 0.1rem rgba(0, 0, 0, 0.1);
      border-bottom: 1px solid var(--border);
      border-left: 1px solid var(--border);
      .content-layer {
        background: var(--surface-blur);
        padding: 0.4rem 1rem;
        position: relative;
        height: auto;
        box-shadow: inset 0 -0.6rem 1rem rgba(0, 0, 0, 0.1);
      }
    }
  }
}

.menu-footer a {
  font-size: 1em;
  padding: 0.3em 0.45em;
  display: inline-block;
  color: var(--text);
}
.menu-footer a:last-child {
  border-right: none;
}

.area_menu {
  position: fixed;
  left: 0;
  right: 0.5rem;
  bottom: 0.5rem;
  overflow: visible;
  height: 2px;
  z-index: 1000;
}

.area_menu {
  display: none;
}

.area_menu .wrap {
  position: relative;
}
.area_menu .wrap {
  max-width: 500px;
}
.fab-site {
  position: absolute;
  bottom: 0;
  right: 0;
}
.fab-site:hover,
.fab-site:active {
  box-shadow:
    0 24px 38px 3px rgba(0, 0, 0, 0.14),
    0 9px 46px 8px rgba(0, 0, 0, 0.12),
    0 11px 15px -7px rgba(0, 0, 0, 0.2);
}
.fab-site a {
  cursor: pointer;
  width: 48px;
  height: 48px;
  border: none;
  font-size: 24px;
  border-radius: 200px;
  color: var(--text);
  text-align: center;
  line-height: 2.1em;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.fab-site a:focus {
  outline: none;
}
.fab-site a.main {
  position: absolute;
  display: block;
  width: 60px;
  height: 60px;
  right: 0;
  bottom: 0;
  z-index: 100;
  line-height: 2.6em;
  text-align: center;

  .glass {
    width: 60px;
    height: 60px;
    border-radius: 200px;
    box-shadow:
      0 1rem 2rem rgba(0, 0, 0, 0.1),
      0.1rem 0.1rem 0.1rem rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .content-layer {
    position: relative;
    background: var(--surface-blur);
  }
}
.fab-site ul {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0;
  padding-right: 5px;
  margin: 0;
  list-style: none;
  z-index: 10;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.fab-site ul li {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: -10%;
  opacity: 0;
  max-height: 0;
}
.fab-site ul li a {
  white-space: nowrap;
  display: block;
  line-height: normal;
  height: auto;
  width: auto;
  margin-right: 0;
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(10px) saturate(2.5) contrast(1.3) brightness(0.5);
  border-radius: 4rem;
  box-shadow: 0 0.2rem 0.4rem #00000040;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  font-size: 16px;
  opacity: 1;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  color: white;
}
.fab-site.show a.main,
.fab-site.show a.main {
  outline: none;
  border-radius: 200px;
  box-shadow: 0 -2rem 15rem 5rem rgba(0, 0, 0, 0.75);
  color: var(--text);
  .content-layer {
    position: relative;
    background: var(--bg);
  }
}
.fab-site.show a.main + ul,
.fab-site.show a.main + ul {
  bottom: 70px;
}
.fab-site.show a.main + ul li,
.fab-site.show a.main + ul li {
  margin-bottom: 10px;
  opacity: 1;
  display: flex;
  justify-content: flex-end;
  max-height: 100px;
}

.glass {
  background: transparent;
  position: relative;

  .ice-layer,
  .liquid-layer,
  .content-layer,
  .border-layer {
    position: absolute;
    border-radius: 100px;
    inset: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
  }

  .ice-layer {
    backdrop-filter: contrast(150%) brightness(100%) saturate(50%) blur(6px);
    margin: 1.5px;
    z-index: 2;

    &.low-ice {
      backdrop-filter: contrast(150%) brightness(100%) saturate(50%) blur(3px);
    }
  }

  .liquid-layer {
    border: 2px solid color(display-p3 1 1 1 / 0.2);
    z-index: 1;

    backdrop-filter: url(#glass-distortion) contrast(60%) brightness(110%)
      saturate(500%);
    overflow: hidden;
    isolation: isolate;

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;

    mask-size: cover;
    -webkit-mask-size: cover;
  }

  .content-layer {
    backdrop-filter: blur(1px);
    z-index: 2;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 920px) and (-webkit-min-device-pixel-ratio: 1),
  screen and (max-width: 920px) {
  body,
  html {
    max-width: 100vw;
    overflow: hidden;
    overflow-y: auto;
  }

  .content figure {
    width: 100%;
  }

  .wrap {
    max-width: 95%;
  }

  .container {
    max-width: 95%;
  }

  .desktop-only {
    display: none !important;
  }

  .area_menu {
    display: block;
  }
}

.sidebar {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin: 1rem 0;

  width: 100%;
  padding: var(--s4);

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );

  border: 1px solid var(--border);
  border-radius: var(--radius);

  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);

  overflow: hidden;
  isolation: isolate;
}

.sidebar::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.sidebar::after {
  content: "";

  position: absolute;
  inset: 1px;

  border-radius: calc(var(--radius) - 1px);

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );

  pointer-events: none;
  z-index: -1;
}

/*
|--------------------------------------------------------------------------
| WIDGET
|--------------------------------------------------------------------------
*/

.sidebar .widget {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: var(--s3);

  padding: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.sidebar .widget:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/*
|--------------------------------------------------------------------------
| TITLES
|--------------------------------------------------------------------------
*/

.sidebar .widget-title,
.sidebar .wp-block-heading,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4 {
  margin: 0;

  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;

  color: var(--text);
}

/*
|--------------------------------------------------------------------------
| TEXT
|--------------------------------------------------------------------------
*/

.sidebar p,
.sidebar span,
.sidebar small,
.sidebar label,
.sidebar li,
.sidebar td,
.sidebar th {
  font-size: var(--body);
  line-height: 1.7;
}

.sidebar p,
.sidebar small,
.sidebar li,
.sidebar label,
.sidebar td {
  color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| LINKS
|--------------------------------------------------------------------------
*/

.sidebar a {
  color: var(--text);

  text-decoration: none;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

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

/*
|--------------------------------------------------------------------------
| LISTS
|--------------------------------------------------------------------------
*/

.sidebar ul,
.sidebar ol {
  display: flex;
  flex-direction: column;
  gap: var(--s2);

  margin: 0;
  padding: 0;

  list-style: none;
}

.sidebar ul li,
.sidebar ol li {
  position: relative;

  padding-left: 18px;
}

.sidebar ul li::before,
.sidebar ol li::before {
  content: "";

  position: absolute;
  top: 11px;
  left: 0;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--primary);

  box-shadow: 0 0 12px rgba(173, 154, 208, 0.6);
}

/*
|--------------------------------------------------------------------------
| SEARCH
|--------------------------------------------------------------------------
*/

.sidebar .search-form,
.sidebar .wp-block-search {
  display: flex;
  gap: var(--s2);
}

.sidebar input[type="search"],
.sidebar input[type="text"],
.sidebar input[type="email"],
.sidebar input[type="url"],
.sidebar input[type="password"],
.sidebar textarea,
.sidebar select {
  width: 100%;
  min-height: 48px;

  padding-inline: var(--s3);

  color: var(--text);

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);

  outline: none;

  backdrop-filter: blur(12px);

  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.sidebar textarea {
  min-height: 140px;
  padding-block: var(--s3);
  resize: vertical;
}

.sidebar input::placeholder,
.sidebar textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.sidebar input:focus,
.sidebar textarea:focus,
.sidebar select:focus {
  border-color: rgba(173, 154, 208, 0.4);

  background: rgba(255, 255, 255, 0.06);

  box-shadow: 0 0 0 4px rgba(173, 154, 208, 0.12);
}

/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/

.sidebar button,
.sidebar input[type="submit"],
.sidebar .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 calc(var(--s3) + 4px);

  font-size: 14px;
  font-weight: 600;

  color: #fff;

  background: linear-gradient(180deg, var(--primary), var(--accent));

  border: 0;
  border-radius: var(--radius-sm);

  cursor: pointer;

  box-shadow: 0 10px 24px rgba(94, 92, 230, 0.28);

  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease;
}

.sidebar button:hover,
.sidebar input[type="submit"]:hover,
.sidebar .wp-block-button__link:hover {
  transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| TABLES
|--------------------------------------------------------------------------
*/

.sidebar table {
  width: 100%;
  border-collapse: collapse;
}

.sidebar table th,
.sidebar table td {
  padding: var(--s2) 0;

  text-align: left;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar table th {
  color: var(--text);
  font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| IMAGES
|--------------------------------------------------------------------------
*/

.sidebar img {
  display: block;

  max-width: 100%;
  height: auto;

  border-radius: var(--radius-sm);
}

/*
|--------------------------------------------------------------------------
| CALENDAR
|--------------------------------------------------------------------------
*/

.sidebar #wp-calendar {
  width: 100%;
}

.sidebar #wp-calendar caption {
  margin-bottom: var(--s3);

  color: var(--text);
  font-weight: 600;
}

.sidebar #wp-calendar a {
  color: var(--primary);
}

/*
|--------------------------------------------------------------------------
| TAG CLOUD
|--------------------------------------------------------------------------
*/

.sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.sidebar .tagcloud a {
  padding: 8px 12px;

  font-size: 13px !important;

  color: var(--text);

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.sidebar .tagcloud a:hover {
  transform: translateY(-1px);

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 255, 255, 0.12);
}

/*
|--------------------------------------------------------------------------
| ACCESSIBILITY
|--------------------------------------------------------------------------
*/

.sidebar a:focus-visible,
.sidebar button:focus-visible,
.sidebar input:focus-visible,
.sidebar textarea:focus-visible,
.sidebar select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {
  .sidebar {
    padding: var(--s3);
  }

  .sidebar .widget {
    padding: 0;
  }
}

/*
|--------------------------------------------------------------------------
| REDUCED MOTION
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
  .sidebar *,
  .sidebar *::before,
  .sidebar *::after {
    transition: none !important;
    animation: none !important;
  }
}
