/* ================================================================
   Tenerife Holiday Home — Custom Styles
   Minimalismo Costero design system
   Overrides Canvas/Bootstrap theme
================================================================ */

/* ----------------------------------------------------------------
   1. Inter Variable Font
---------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------
   2. Design Tokens
---------------------------------------------------------------- */
:root {
  /* Brand colors */
  --thm-primary:      #0EA5E9;
  --thm-primary-dark: #0284C7;
  --thm-bg:           #F8FAFC;
  --thm-surface:      #FFFFFF;
  --thm-fg:           #0F172A;
  --thm-muted:        #64748B;
  --thm-border:       #E2E8F0;
  --thm-accent:       #F59E0B;

  /* Override Canvas theme variables */
  --cnvs-body-font:       'Inter', system-ui, -apple-system, sans-serif;
  --cnvs-primary-font:    'Inter', system-ui, -apple-system, sans-serif;
  --cnvs-secondary-font:  'Inter', system-ui, -apple-system, sans-serif;
  --cnvs-themecolor:      #0EA5E9;
  --cnvs-themecolor-rgb:  14, 165, 233;

  /* Override Bootstrap primary */
  --bs-primary:           #0EA5E9;
  --bs-primary-rgb:       14, 165, 233;
  --bs-link-color:         #0EA5E9;
  --bs-link-color-rgb:     14, 165, 233;
  --bs-link-hover-color:   #0284C7;
  --bs-link-hover-color-rgb: 2, 132, 199;
}

/* ----------------------------------------------------------------
   3. Base typography
---------------------------------------------------------------- */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--thm-bg);
  color: var(--thm-fg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--thm-fg);
}

/* ----------------------------------------------------------------
   4. Navbar overrides
---------------------------------------------------------------- */
#header {
  background-color: var(--thm-surface);
  border-bottom: 1px solid var(--thm-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#header #header-wrap {
  background-color: var(--thm-surface);
}

/* Logo */
.text-logo {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--thm-fg);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  letter-spacing: -0.3px;
  transition: color 0.15s ease;
}

.text-logo:hover {
  color: var(--thm-primary);
  text-decoration: none;
}

@media (min-width: 992px) {
  .text-logo { font-size: 1.4rem; }
}

/* Nav links */
#header .menu-link > div {
  color: var(--thm-muted);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

#header .menu-item:hover > .menu-link > div,
#header .menu-item.current > .menu-link > div {
  color: var(--thm-primary);
}

/* Language selector */
.language-selector .btn-light {
  background-color: var(--thm-surface);
  border: 1px solid var(--thm-border);
  color: var(--thm-fg);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 5px 10px;
}

.language-selector .btn-light:hover {
  background-color: var(--thm-bg);
  border-color: var(--thm-primary);
}

.language-selector .dropdown-menu {
  border: 1px solid var(--thm-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 6px;
}

.language-selector .dropdown-item {
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--thm-fg);
  padding: 6px 10px;
}

.language-selector .dropdown-item:hover {
  background-color: var(--thm-bg);
  color: var(--thm-primary);
}

/* Book Now button in header */
.book-now-btn {
  background-color: var(--thm-primary);
  border-color: var(--thm-primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 6px 14px;
  color: #fff;
  transition: background-color 0.15s ease;
}

.book-now-btn:hover {
  background-color: var(--thm-primary-dark);
  border-color: var(--thm-primary-dark);
  color: #fff;
}

/* HostPro badge visibility */
#hpr-by {
  line-height: 1;
  text-align: right;
}

@media (max-width: 1200px) {
  #hpr-by,
  .book-now-btn { display: none !important; }
}

/* ----------------------------------------------------------------
   5. Hero section
---------------------------------------------------------------- */
.thm-hero {
  padding: 32px 0 0;
  background-color: var(--thm-bg);
}

.thm-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 992px) {
  .thm-hero__grid {
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: start;
  }
}

/* Featured card */
.thm-featured-card {
  position: relative;
  display: block;
  height: 420px;
  max-height: 55vh;
  border-radius: 16px;
  overflow: hidden;
  background-color: #BAE6FD;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thm-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

@media (min-width: 992px) {
  .thm-featured-card { height: 480px; }
}

.thm-featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}

.thm-featured-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--thm-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  z-index: 1;
}

.thm-featured-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 1;
}

.thm-featured-card__location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.thm-featured-card__title {
  color: #fff;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

@media (min-width: 992px) {
  .thm-featured-card__title { font-size: 2rem; }
}

.thm-featured-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.thm-featured-card__price {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.thm-featured-card__cta {
  display: inline-block;
  background-color: #fff;
  color: var(--thm-primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.thm-featured-card__cta:hover {
  background-color: var(--thm-bg);
  color: var(--thm-primary-dark);
}

/* Amenity chips */
.thm-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Side thumbnails */
.thm-hero__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thm-thumb-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background-color: var(--thm-surface);
  border: 1px solid var(--thm-border);
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.thm-thumb-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--thm-primary);
  text-decoration: none;
}

.thm-thumb-card__img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: var(--thm-bg);
}

.thm-thumb-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thm-muted);
  font-size: 1.25rem;
}

.thm-thumb-card__info {
  flex: 1;
  min-width: 0;
}

.thm-thumb-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thm-thumb-card__zone {
  font-size: 0.75rem;
  color: var(--thm-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thm-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: var(--thm-bg);
  border: 1px dashed var(--thm-border);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--thm-primary);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.thm-view-all:hover {
  background-color: #E0F2FE;
  text-decoration: none;
  color: var(--thm-primary-dark);
}

/* Mobile: hero thumbnails as horizontal scroll */
@media (max-width: 991px) {
  .thm-hero__side {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .thm-hero__side::-webkit-scrollbar { display: none; }

  .thm-thumb-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 160px;
    max-width: 160px;
    padding: 8px;
  }

  .thm-thumb-card__img {
    width: 100%;
    height: 90px;
  }

  .thm-view-all {
    min-width: 100px;
    flex-shrink: 0;
  }
}

/* ----------------------------------------------------------------
   6. Benefits section
---------------------------------------------------------------- */
.thm-benefits {
  background-color: var(--thm-surface);
  padding: 48px 0;
  margin-top: 32px;
  border-top: 1px solid var(--thm-border);
  border-bottom: 1px solid var(--thm-border);
}

.thm-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .thm-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.thm-benefit__icon {
  display: block;
  font-size: 2rem;
  color: var(--thm-primary);
  margin-bottom: 12px;
}

.thm-benefit__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin-bottom: 6px;
}

.thm-benefit__desc {
  font-size: 0.875rem;
  color: var(--thm-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   7. Property list section
---------------------------------------------------------------- */
.thm-proplist {
  padding: 48px 0;
}

.thm-proplist__heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--thm-fg);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.thm-proplist__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thm-prop-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background-color: var(--thm-surface);
  border: 1px solid var(--thm-border);
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.thm-prop-row:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--thm-primary);
  text-decoration: none;
}

.thm-prop-row__img-wrap {
  flex-shrink: 0;
}

.thm-prop-row__img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background-color: var(--thm-bg);
}

.thm-prop-row__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thm-muted);
  font-size: 1.5rem;
  background-color: var(--thm-bg);
}

.thm-prop-row__info {
  flex: 1;
  min-width: 0;
}

.thm-prop-row__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin: 0 0 4px;
}

.thm-prop-row__location {
  font-size: 0.8125rem;
  color: var(--thm-muted);
  margin: 0 0 8px;
}

.thm-prop-row__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Amenity chips in list (override hero-style chips) */
.thm-prop-row__chips .thm-amenity-chip {
  background-color: #E0F2FE;
  color: var(--thm-primary);
  border: none;
}

.thm-prop-row__meta {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.thm-prop-row__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--thm-fg);
  margin: 0;
}

.thm-prop-row__period {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--thm-muted);
}

.thm-prop-row__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--thm-primary);
}

/* Mobile: stack layout vertically */
@media (max-width: 575px) {
  .thm-prop-row {
    flex-wrap: wrap;
  }

  .thm-prop-row__img {
    width: 100%;
    height: 180px;
  }

  .thm-prop-row__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

/* ----------------------------------------------------------------
   8. Contact section
---------------------------------------------------------------- */
.thm-contact {
  background-color: var(--thm-bg);
  padding: 56px 0;
  border-top: 1px solid var(--thm-border);
}

.thm-contact__title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--thm-fg);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.thm-contact__lead {
  color: var(--thm-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.thm-contact-card {
  background-color: var(--thm-surface);
  border: 1px solid var(--thm-border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.thm-contact-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thm-contact-card .fbox-content {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--thm-fg);
  font-weight: 500;
}

.thm-contact-card .fbox-content a {
  color: var(--thm-primary);
  text-decoration: none;
  font-weight: 600;
}

.thm-contact-card .fbox-content a:hover {
  color: var(--thm-primary-dark);
  text-decoration: underline;
}

/* Contact icon */
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--thm-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

/* ----------------------------------------------------------------
   9. Markdown content pages (property descriptions)
---------------------------------------------------------------- */
.text-dark h2 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.text-dark h4 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.text-dark ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.text-dark li {
  margin-bottom: 0.375rem;
  color: var(--thm-muted);
  font-weight: 400;
  font-size: 0.9375rem;
}

.text-dark p {
  margin-bottom: 0.875rem;
  color: var(--thm-muted);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   10. Utility
---------------------------------------------------------------- */

/* Card images on property single page */
.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 768px) { .card-img-top { height: 240px; } }
@media (min-width: 992px) { .card-img-top { height: 260px; } }

/* Lodgify widget */
#lodgify-book-now-box {
  margin: 0 auto;
  max-width: 100%;
}

iframe[id^="lodgify-"],
div[id^="lodgify-"],
div[class^="lodgify-"],
div[class*=" lodgify-"] {
  z-index: 9999 !important;
  position: relative;
}

/* Accessibility: focus rings */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--thm-primary);
  outline-offset: 2px;
}

/* Registration numbers — property single page */
.thm-reg-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--thm-muted);
  letter-spacing: 0.02em;
}

/* VV badge — property list/index cards */
.thm-vv-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--thm-muted);
  letter-spacing: 0.02em;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .thm-featured-card,
  .thm-thumb-card,
  .thm-prop-row,
  .thm-contact-card {
    transition: none;
  }
}

/* ----------------------------------------------------------------
   11. Welcome section (property page)
---------------------------------------------------------------- */
.thm-welcome {
  position: relative;
  background-color: var(--thm-primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  overflow: hidden;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .thm-welcome { padding: 120px 0; }
}

.thm-welcome__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.thm-welcome__title {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .thm-welcome__title { font-size: 2.75rem; }
}

@media (min-width: 1200px) {
  .thm-welcome__title { font-size: 3.25rem; }
}

/* ----------------------------------------------------------------
   12. Map wrapper (property page)
---------------------------------------------------------------- */
.thm-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--thm-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.thm-map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ----------------------------------------------------------------
   13. Section divider
---------------------------------------------------------------- */
.thm-divider {
  border: none;
  border-top: 1px solid var(--thm-border);
  margin: 2rem 0;
}

/* ----------------------------------------------------------------
   14. Zone page — hero header
---------------------------------------------------------------- */
.thm-zone-hero {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--thm-primary-dark);
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .thm-zone-hero { height: 360px; }
}

.thm-zone-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.thm-zone-hero__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  z-index: 1;
}

.thm-zone-hero__title {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0;
}

@media (min-width: 768px) {
  .thm-zone-hero__title { font-size: 2.25rem; }
}

/* ----------------------------------------------------------------
   15. Zone page — content and breadcrumb
---------------------------------------------------------------- */
.thm-zone-content {
  font-size: 0.9375rem;
  color: var(--thm-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.thm-zone-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--thm-fg);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.thm-zone-content p {
  margin-bottom: 0.875rem;
}

.thm-breadcrumb {
  font-size: 0.8125rem;
  color: var(--thm-muted);
  margin-bottom: 12px;
}

.thm-breadcrumb a {
  color: var(--thm-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.thm-breadcrumb span:last-child {
  color: var(--thm-fg);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   16. Footer
   Note: all child selectors prefixed with #footer to ensure
   specificity (110) beats Canvas/Bootstrap element rules (1–10).
---------------------------------------------------------------- */
#footer.thm-footer {
  background-color: #0F172A;
  color: rgba(248, 250, 252, 0.65);
  border-top: none;
  padding: 64px 0 0;
  margin-top: 0;
}

/* 3-column grid */
#footer .thm-footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

@media (min-width: 768px) {
  #footer .thm-footer__main {
    grid-template-columns: 5fr 3fr 3fr;
    gap: 40px;
    align-items: start;
  }
}

/* Brand spans full width on mobile, auto on desktop */
#footer .thm-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  #footer .thm-footer__brand {
    grid-column: auto;
  }
}

/* Brand text */
#footer .thm-footer__site-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.4px;
  line-height: 1.15;
  margin-bottom: 8px;
}

#footer .thm-footer__tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

#footer .thm-footer__desc {
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.45);
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

/* Column headings */
#footer .thm-footer__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 16px;
}

/* Link lists */
#footer .thm-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

#footer .thm-footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.6);
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
}

#footer .thm-footer__links a:hover {
  color: #38BDF8;
  text-decoration: none;
}

/* Horizontal rule */
#footer .thm-footer__rule {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.07);
  margin: 56px 0 0;
}

/* Bottom bar */
#footer .thm-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 32px;
  gap: 12px;
  flex-wrap: wrap;
}

#footer .thm-footer__copy {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.35);
  margin: 0;
  line-height: 1.4;
}

/* HostPro badge */
#footer .thm-footer__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.38);
  line-height: 1;
}

#footer .thm-footer__badge a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

#footer .thm-footer__badge-img {
  height: 26px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

#footer .thm-footer__badge a:hover .thm-footer__badge-img {
  opacity: 0.9;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #footer .thm-footer__links a,
  #footer .thm-footer__badge-img {
    transition: none;
  }
}
