
.site-footer .footer-heading {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

html[data-theme="light"] .site-footer {
  background: #f8f6f2 !important;
  color: #121212;
}

html[data-theme="light"] .site-footer .absolute.bg-gradient-to-r {
  opacity: 0.75;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 42px;
}

.footer-main {
  padding: 64px 0 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 3fr);
  align-items: start;
  gap: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-brand img {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 300px;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
}

.footer-brand .flex {
  gap: 10px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 44px;
}

.footer-col h4 {
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li,
.footer-col .space-y-2\.5 > * + * {
  margin-top: 16px;
}

.footer-col a,
.footer-col p,
.site-footer__bottom p {
  color: var(--muted);
}

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

.site-footer__bottom {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  line-height: 1.6;
}

.floating-button {
  position: fixed;
  right: 24px;
  left: auto !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  z-index: 50;
}

.floating-button--whatsapp {
  bottom: calc(24px + var(--albo-floating-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px));
}

.floating-button--theme {
  bottom: calc(88px + var(--albo-floating-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px));
}

.floating-button--top {
  bottom: calc(152px + var(--albo-floating-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px));
}


.floating-stack {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--albo-floating-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 24px;
  z-index: 50;
}

.floating-stack .floating-button {
  position: relative;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  inset-inline-end: auto !important;
  margin: 0 !important;
}

html[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .site-footer h4,
html[data-theme="light"] .site-footer .footer-heading {
  color: var(--accent);
}

html[data-theme="light"] .site-footer__bottom {
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

.floating-button {
  margin: 0 !important;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  inset-inline-end: 24px;
}

.floating-button--whatsapp,
.floating-button--theme,
.floating-button--top {
  left: auto !important;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .site-nav__toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .site-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(232, 99, 10, 0.28);
}

html[data-theme="light"] .site-nav__mobile-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .site-nav__mobile-links a {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .site-nav__mobile-links a:hover,
html[data-theme="light"] .site-nav__mobile-links a:focus-visible {
  background: rgba(15, 23, 42, 0.075);
  color: var(--text);
}

html[data-theme="light"] .site-nav__mobile-cta {
  box-shadow: 0 16px 34px rgba(232, 99, 10, 0.18);
}

html[data-theme="light"] .site-nav__desktop a:hover,
html[data-theme="light"] .site-nav__desktop-links .current-menu-item > a,
html[data-theme="light"] .site-nav__desktop-links .current_page_item > a,
html[data-theme="light"] .site-nav__mobile-links .current-menu-item > a,
html[data-theme="light"] .site-nav__mobile-links .current_page_item > a {
  color: var(--text);
}

.site-nav__desktop-links .menu,
.site-nav__mobile-links .menu {
  display: contents;
}

.site-nav__mobile {
  position: static;
}

.site-nav__mobile-panel {
  left: 0;
  right: 0;
  top: calc(100% - 1px);
}

.site-nav__desktop-links .menu-item,
.site-nav__mobile-links .menu-item {
  list-style: none;
}

.site-nav__desktop-links .current-menu-item > a,
.site-nav__desktop-links .current_page_item > a,
.site-nav__mobile-links .current-menu-item > a,
.site-nav__mobile-links .current_page_item > a {
  color: var(--text);
}

.blog-hero {
  margin-bottom: 28px;
}

.single-post .blog-hero .hero-copy h1,
.single-post .blog-hero .hero-copy h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.blog-section + .blog-section {
  margin-top: 34px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-button {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-button:hover,
.category-button.is-active {
  transform: translateY(-2px);
  border-color: rgba(232, 99, 10, 0.35);
  background: linear-gradient(135deg, rgba(232, 99, 10, 0.18), var(--panel));
}

.category-button__title {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.category-button__meta {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.blog-card__media {
  display: block;
  color: inherit;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 22px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.blog-card__category {
  color: var(--accent);
  font-weight: 700;
}

.blog-card__title {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.blog-card__title a:hover {
  color: var(--accent);
}

.blog-card__excerpt {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
}

.blog-card__link::after {
  content: "→";
}

.pagination-shell {
  margin-top: 28px;
}

.pagination-shell .nav-links,
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pagination-shell .page-numbers,
.pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
}

.pagination-shell .page-numbers.current,
.pagination .page-numbers.current,
.pagination-shell .page-numbers:hover,
.pagination .page-numbers:hover {
  color: var(--text);
  border-color: rgba(232, 99, 10, 0.32);
  background: rgba(232, 99, 10, 0.12);
}

.empty-state {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  background: linear-gradient(135deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.blog-single-layout {
  margin-top: 28px;
}

.post-cover {
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-toc[hidden] {
  display: none !important;
}

.article-toc__toggle {
  display: none;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.article-toc__toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.article-toc__toggle-icon::before,
.article-toc__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.article-toc__toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.article-toc__body[hidden] {
  display: none !important;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.article-toc li {
  margin: 0;
}

.article-toc a {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  transition: color 0.2s ease;
}

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

.article-toc__subitem {
  padding-left: 14px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-body h2 {
  margin-top: 32px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.article-body h3 {
  margin-top: 26px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.article-body p,
.article-body li,
.article-body blockquote {
  color: var(--muted);
  line-height: 1.8;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  scroll-margin-top: 148px;
}

.article-body a {
  color: var(--accent);
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.post-taxonomies {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.post-taxonomies__group {
  color: var(--muted);
  line-height: 1.7;
}

.post-comments-shell {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.comments-area .comment-list {
  display: grid;
  gap: 16px;
  margin: 16px 0 24px;
  padding-left: 22px;
}

.comments-area .comment-body {
  background: linear-gradient(135deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
}

.comments-area .comment-meta,
.comments-area .comment-metadata,
.comments-area .comment-awaiting-moderation,
.comments-area .logged-in-as,
.comments-area .comment-notes,
.comments-area .form-allowed-tags {
  color: var(--muted);
}

.comments-area .comment-reply-link,
.comments-area .comment-edit-link,
.comments-area .comment-metadata a {
  color: var(--accent);
}

.comments-area textarea,
.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"] {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
}

.comments-area label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text);
}

.comments-area .comment-form p {
  margin-bottom: 16px;
}

.comments-submit {
  border: 0;
  cursor: pointer;
}

.page-content-shell {
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .category-strip,
  .blog-card-grid,
  .site-footer__grid,
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }

  .category-button {
    min-height: 96px;
  }

  .blog-card__body {
    padding: 18px;
  }

  .blog-card__title {
    font-size: 1.28rem;
  }

  .site-footer__inner {
    padding: 0 22px;
  }

  .footer-main {
    padding: 52px 0 32px;
  }

  .site-footer__grid,
  .footer-main,
  .footer-brand,
  .footer-col,
  .site-footer__bottom {
    text-align: center;
  }

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

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand p {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .flex {
    justify-content: center;
  }

  .footer-links-grid {
    justify-items: center;
    gap: 26px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col ul,
  .footer-col .space-y-2\.5,
  #footer-contact .space-y-2\.5 {
    display: grid;
    justify-items: center;
  }

  .footer-col li,
  .footer-col a,
  .footer-col p {
    text-align: center;
  }

  .floating-stack {
    right: calc(18px + env(safe-area-inset-right, 0px)) !important;
    inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 22px;
  }

  .floating-button {
    right: auto !important;
    inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 48px;
    min-height: 48px;
    transform-origin: center center;
    box-sizing: border-box;
  }

  .floating-button--whatsapp,
  .floating-button--theme,
  .floating-button--top {
    right: calc(18px + env(safe-area-inset-right, 0px)) !important;
    inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    margin: 0 !important;
    translate: none !important;
  }

  .floating-button svg {
    display: block;
  }

  .floating-button--whatsapp,
  .floating-button--theme,
  .floating-button--top {
    bottom: auto !important;
  }

  .single-post .blog-hero .hero-copy h1,
  .single-post .blog-hero .hero-copy h2 {
    font-size: clamp(1.6rem, 6.8vw, 2.15rem);
    line-height: 1.14;
  }
}

@media (max-width: 1023px) {
  .noise::after {
    display: none !important;
  }

  .site-header,
  .legal-topbar,
  .site-nav__mobile-panel,
  .glass,
  .glass-light,
  .ios-glass {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header,
  .legal-topbar {
    background: rgba(10, 10, 10, 0.96) !important;
  }

  html[data-theme="light"] .site-header,
  html[data-theme="light"] .legal-topbar {
    background: rgba(255, 255, 255, 0.97) !important;
  }

  .site-nav__mobile-panel {
    position: fixed !important;
    background: rgba(12, 12, 12, 0.985) !important;
    top: 91px !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }

  html[data-theme="light"] .site-nav__mobile-panel {
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16) !important;
  }

  html[data-theme="light"] .site-nav__mobile-links a {
    color: var(--text) !important;
    background: rgba(15, 23, 42, 0.045) !important;
  }

  html[data-theme="light"] .site-nav__mobile-cta {
    box-shadow: 0 16px 34px rgba(232, 99, 10, 0.18) !important;
  }

  body.mobile-menu-open .floating-button {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .article-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 2px;
    font-size: 1.12rem;
    font-weight: 700;
  }

  .article-toc.is-collapsed .article-toc__toggle {
    margin-bottom: 0;
  }

  .article-toc.is-collapsed .article-toc__toggle-icon::after {
    opacity: 1;
  }

  .article-toc:not(.is-collapsed) .article-toc__toggle {
    margin-bottom: 16px;
  }

  .article-toc:not(.is-collapsed) .article-toc__toggle-icon::after {
    opacity: 0;
  }

  .article-body h2,
  .article-body h3,
  .article-body h4 {
    scroll-margin-top: 126px;
  }

  .blog-card,
  .category-button,
  .empty-state,
  .meta-card,
  .legal-content,
  .legal-aside__box,
  .comment-body {
    box-shadow: none !important;
  }

  * {
    background-attachment: scroll !important;
  }
}

.blog-card__media:focus-visible,
.blog-card__link:focus-visible {
  outline: 2px solid rgba(232, 99, 10, 0.7);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  [data-sticky-toc] {
    position: sticky;
    top: 112px;
  }
}
