:root {
  --primary: #1b4332;
  --primary-light: #40916c;
  --accent: #f4a261;
  --accent-dark: #e76f51;
  --bg-body: #fafaf8;
  --bg-card: #ffffff;
  --bg-section: #f0f4f0;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --dark-bg-body: #0d1117;
  --dark-bg-card: #161b22;
  --dark-bg-section: #1c2128;
  --dark-text: #e6edf3;
  --dark-border: #30363d;
  --dark-primary: #40916c;
  --section-padding: 80px 0;
  --card-radius: 16px;
  --btn-radius: 8px;
}

html,
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.section {
  padding: var(--section-padding);
}

.text-muted-custom {
  color: var(--text-muted);
}

.site-navbar {
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 248, 0.9);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  overflow: visible;
}

.site-navbar > .container {
  overflow: visible;
}

/* Desktop: collapse is always “open” via flex breakpoint — allow hints to paint outside */
@media (min-width: 992px) {
  .site-navbar .navbar-collapse {
    overflow: visible !important;
  }
}

/* Mobile: only when expanded and not mid-animation */
.site-navbar .navbar-collapse.collapse.show:not(.collapsing) {
  overflow: visible;
}

.site-navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.brand-pill-logo {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.hero {
  padding: 140px 0 100px;
  background:
    radial-gradient(circle at 10% 10%, rgba(64, 145, 108, 0.2), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(244, 162, 97, 0.2), transparent 35%),
    linear-gradient(135deg, #f7fbf8 0%, #eef6f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(64, 145, 108, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
}

.btn-primary-custom {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  border-radius: var(--btn-radius);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible,
.btn-primary-custom:active {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
}

.btn-outline-custom {
  --bs-btn-color: var(--primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--btn-radius);
}

.btn-outline-custom:hover,
.btn-outline-custom:focus-visible,
.btn-outline-custom:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.theme-toggle-btn.btn-outline-custom {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  --bs-btn-color: var(--primary);
}

/* Do not use filled-primary + white icon (moon looked wrong / “white only” on hover). Subtle tint, moon stays dark green. */
.theme-toggle-btn.btn-outline-custom:hover,
.theme-toggle-btn.btn-outline-custom:focus-visible,
.theme-toggle-btn.btn-outline-custom:active {
  background: rgba(27, 67, 50, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  --bs-btn-color: var(--primary);
}

.theme-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 20;
  overflow: visible;
}

.theme-toggle-hint {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  top: auto;
  transform: translateX(-50%);
  z-index: 1090;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: #fafaf8;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.theme-toggle-wrap:hover .theme-toggle-hint,
.theme-toggle-wrap:focus-within .theme-toggle-hint {
  opacity: 1;
  visibility: visible;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
  /* Avoid UA “dark form control” styling hiding strokes when root uses color-scheme: dark */
  color-scheme: light;
  forced-color-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-btn .theme-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  fill: none;
}

/* Paths inherit stroke from <svg> — avoid stroke="currentColor" so hover isn’t same green-on-green as the button fill */
.theme-toggle-btn .theme-icon path {
  fill: none;
  stroke: inherit;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-btn .theme-icon-moon {
  display: block;
  stroke: #1b4332;
}

.theme-toggle-btn.btn-outline-custom:hover .theme-icon-moon,
.theme-toggle-btn.btn-outline-custom:focus-visible .theme-icon-moon,
.theme-toggle-btn.btn-outline-custom:active .theme-icon-moon {
  stroke: #1b4332;
}

.scroll-top-btn {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.scroll-top-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Inner pages: hero strip + readable prose */
.page-hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(64, 145, 108, 0.18), transparent 42%),
    radial-gradient(circle at 100% 30%, rgba(244, 162, 97, 0.14), transparent 40%),
    linear-gradient(160deg, #f4faf6 0%, #fafaf8 45%, #f7f5f2 100%);
  border-bottom: 1px solid var(--border);
}

.page-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.page-hero-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.page-hero-lead {
  color: var(--text-muted);
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.content-prose {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.content-prose h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose p:last-child {
  margin-bottom: 0;
}

.content-prose ul {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.content-prose li {
  margin-bottom: 0.4rem;
}

.content-prose a {
  color: var(--primary-light);
  font-weight: 500;
}

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

.contact-email-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, rgba(64, 145, 108, 0.1), rgba(244, 162, 97, 0.08));
  border: 1px solid var(--border);
}

.contact-email-card a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-all;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.about-stat {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.about-stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  color: var(--primary);
}

.ad-zone {
  border: 1px dashed #b7c8be;
  background: #f4faf6;
  border-radius: 12px;
  color: #4e6759;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.card-clean {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--bg-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.stat-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: var(--bg-card);
  font-size: 0.88rem;
}

.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 145, 108, 0.14);
  color: var(--primary);
}

.badge-soft {
  background: rgba(64, 145, 108, 0.14);
  color: var(--primary);
  border: 1px solid rgba(64, 145, 108, 0.2);
}

/* --- Idea detail pages (ideas/*/*.html) --- */
.idea-page-body {
  background: var(--bg-body);
}

.idea-page .idea-content {
  max-width: 880px;
  padding-bottom: 2rem;
}

.idea-hero {
  position: relative;
  padding: 1.75rem 0 2.5rem;
  margin-bottom: 0.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(64, 145, 108, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(244, 162, 97, 0.16), transparent 50%),
    linear-gradient(165deg, #f3faf5 0%, #fafaf8 42%, #f8f6f2 100%);
  border-bottom: 1px solid var(--border);
}

.idea-hero .container {
  max-width: 880px;
}

.idea-breadcrumb {
  --bs-breadcrumb-divider: "›";
  font-size: 0.88rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.idea-breadcrumb .breadcrumb-item a {
  color: var(--primary);
  font-weight: 500;
}

.idea-breadcrumb .breadcrumb-item.active {
  color: var(--text-muted);
}

.idea-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--primary-light);
  margin: 1.25rem 0 0.5rem;
}

.idea-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.idea-lead {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.idea-pills {
  margin-bottom: 0.25rem;
}

.idea-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.idea-pill-accent {
  background: rgba(64, 145, 108, 0.12);
  border-color: rgba(64, 145, 108, 0.35);
  color: var(--primary);
}

.idea-meta-row {
  margin-top: 1.5rem !important;
}

.idea-meta-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.idea-meta-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.idea-meta-value {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.idea-meta-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.idea-takeaways {
  border: 1px solid rgba(64, 145, 108, 0.28);
  background: linear-gradient(135deg, rgba(64, 145, 108, 0.08), rgba(244, 162, 97, 0.06));
}

.idea-h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.idea-h2-inline {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--primary);
}

.idea-takeaway-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.idea-takeaway-list li {
  margin-bottom: 0.65rem;
}

.idea-takeaway-list li:last-child {
  margin-bottom: 0;
}

.idea-trust-panel {
  border: 1px solid var(--border);
}

.idea-pitfalls-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.idea-pitfalls-list li {
  margin-bottom: 0.65rem;
}

.idea-pitfalls-list li:last-child {
  margin-bottom: 0;
}

.idea-section {
  border: 1px solid var(--border);
}

.idea-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.idea-section-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.idea-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.idea-prose p:last-child {
  margin-bottom: 0;
}

.idea-table-wrap {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.idea-table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
}

.idea-table thead {
  background: rgba(64, 145, 108, 0.1);
}

.idea-table th {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom-color: var(--border);
}

.idea-table td {
  vertical-align: top;
  font-size: 0.95rem;
}

.idea-table-procon th {
  width: 50%;
}

.idea-step-list {
  counter-reset: idea-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.idea-step-list li {
  counter-increment: idea-step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.idea-step-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.idea-step-list li::before {
  content: counter(idea-step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: rgba(64, 145, 108, 0.14);
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idea-tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.idea-tool-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
  color: var(--text-secondary);
  line-height: 1.5;
}

.idea-tool-list li:last-child {
  border-bottom: none;
}

.idea-tool-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary-light);
}

.idea-example-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.idea-example-list li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: rgba(64, 145, 108, 0.06);
  border-left: 3px solid var(--primary-light);
  color: var(--text-secondary);
  line-height: 1.5;
}

.idea-example-list li:last-child {
  margin-bottom: 0;
}

.idea-tip-card {
  padding: 1rem 1.1rem 1rem 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.idea-tip-icon {
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(64, 145, 108, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idea-faq-item {
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.idea-faq-item:last-of-type {
  border-bottom: none;
}

.idea-faq-q {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.idea-faq-a {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.98rem;
}

.idea-related .btn {
  border-radius: 10px;
}

.idea-related-grid {
  border: 1px solid var(--border);
}

.idea-related-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idea-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.idea-disclaimer {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.idea-page .card-clean:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

/* Idea page: sources list + floating share (left rail avoids scroll-to-top on the right) */
.idea-ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.idea-ref-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.55;
}

.idea-ref-list li:last-child {
  border-bottom: none;
}

.idea-ref-list a {
  font-weight: 600;
}

.idea-ref-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 0.2rem;
}

.idea-share-float {
  position: fixed;
  left: max(0.65rem, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
}

.idea-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.idea-share-btn:hover {
  background: rgba(64, 145, 108, 0.12);
  color: var(--primary);
}

.idea-share-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.idea-share-btn.is-copied {
  background: rgba(64, 145, 108, 0.2);
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .idea-share-float {
    left: auto;
    right: max(0.65rem, env(safe-area-inset-right));
    top: auto;
    bottom: 5.25rem;
    transform: none;
    flex-direction: row;
    border-radius: 12px;
    padding: 0.4rem 0.5rem;
  }
}

/* Ideas index */
.ideas-index-hero {
  padding: 2.5rem 0 1.5rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(64, 145, 108, 0.16), transparent 45%),
    linear-gradient(165deg, #f4faf6 0%, #fafaf8 100%);
  border-bottom: 1px solid var(--border);
}

.ideas-index-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
}

.ideas-index-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 36rem;
}

.footer {
  background: #10161f;
  color: #cfd6df;
}

.footer a {
  color: #cfd6df;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #40916c, #1b4332);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
}

.footer-brand-name {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.footer-brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.footer-desc {
  color: #aeb8c6;
  max-width: 420px;
}

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

.footer-social a {
  border: 1px solid #2a3442;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-social a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-social a:hover {
  border-color: #46607d;
  background: rgba(255, 255, 255, 0.04);
}

.footer-heading {
  color: #f5f7fa;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-nav-col {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

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

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  display: inline-block;
}


.footer-divider {
  margin: 1.5rem 0 1rem;
  border-color: #2b3644;
  opacity: 1;
}

.footer-copy {
  color: #b4becc;
  font-size: 0.9rem;
}

.footer-credit {
  color: #8f9bad;
  font-size: 0.85rem;
}

.footer-disclaimer {
  color: #8f9bad;
  font-size: 0.85rem;
  line-height: 1.45;
}

.calculator-result {
  background: #eef7f2;
  border: 1px solid #c9e6d7;
  border-radius: 12px;
  padding: 0.8rem;
}

/* Shared AdSense slot layout (also in calculators.css for hub-only tweaks) */
.calc-ad-label {
  display: none !important;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.35rem;
  width: 100%;
}

.calc-ad-slot {
  min-height: 100px;
  width: 100%;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.calc-ad-slot ins.adsbygoogle {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 300px;
  max-width: 100%;
  min-height: 100px;
}

@media (min-width: 768px) {
  .calc-ad-slot ins.adsbygoogle {
    min-width: 728px;
    min-height: 90px;
  }
}

.currency-select {
  width: auto;
  max-width: 11rem;
  min-width: 7rem;
  font-size: 0.8rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-radius: var(--btn-radius);
}

@media (max-width: 991.98px) {
  .currency-select {
    margin-top: 0.5rem;
    max-width: 100%;
  }
}

/* Navbar site search (ideas index ?q=) */
.nav-site-search {
  margin-top: 0.35rem;
}
@media (min-width: 992px) {
  .nav-site-search {
    margin-top: 0;
  }
  .nav-site-search-input {
    width: 7.5rem;
    min-width: 0;
  }
}
@media (max-width: 991.98px) {
  .nav-site-search-input {
    flex: 1;
    min-width: 0;
  }
}
.nav-site-search-btn {
  padding: 0.25rem 0.45rem;
  line-height: 1;
}

/* Default lazy loading hint for content images sitewide */
img[loading="lazy"] {
  content-visibility: auto;
}
