/* ImgDownloadPro – black & white sleek theme
   Accent: oklch(21% 0.034 264.665) */
:root {
  --accent: oklch(21% 0.034 264.665);
  --accent-light: oklch(97% 0.005 264);
}

/* Override orange and colored accents site-wide */
.bg-orange-500,
.bg-orange-600,
.bg-linear-to-tl.from-orange-600.to-orange-500,
.bg-violet-500 {
  background-color: var(--accent) !important;
}

.text-orange-500,
.text-orange-600 {
  color: var(--accent) !important;
}

.border-orange-200 {
  border-color: oklch(90% 0.01 264) !important;
}

.bg-orange-50,
.bg-orange-100,
.bg-linear-to-t.from-orange-50.to-orange-100 {
  background-color: var(--accent-light) !important;
}

.fill-orange-500,
.stroke-orange-500 {
  fill: var(--accent) !important;
  stroke: var(--accent) !important;
}

/* Feature cards – neutral backgrounds */
.bg-orange-100,
.bg-green-100,
.bg-indigo-100,
.bg-pink-100,
.bg-lime-100 {
  background-color: oklch(96% 0.006 264) !important;
}

.bg-green-500,
.bg-indigo-500,
.bg-pink-500,
.bg-lime-500 {
  background-color: var(--accent) !important;
}

/* Give a review button – hover: black bg, white text */
#chrome-store-review-link {
  background-color: #fff;
  color: #111;
  border: 1px solid #d4d4d8;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
#chrome-store-review-link:hover {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

/* Buy Me a Coffee button – default: black bg, white text; hover: white bg, black text */
#buymecoffee-btn {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
#buymecoffee-btn:hover,
#buymecoffee-btn:focus {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}

/* Hero CTA buttons – icon and text on one line */
.hero-cta-link {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}
.hero-cta-link span {
  white-space: nowrap;
}

/* FAQ accordion – pointer cursor on question headers */
details summary {
  cursor: pointer;
}

/* Reserve space for fixed header so content is never hidden under the nav.
   Nav height ≈ logo 40px + py-4 (32px) + border = ~72–80px. 5.5rem = 88px. */
.main-below-fixed-nav {
  padding-top: 5.5rem;
}

/* Homepage hero: content starts below fixed menubar; minimal top padding on desktop */
.hero-below-nav {
  padding-top: 4.5rem;
  min-height: 82vh;
  box-sizing: border-box;
}
.hero-below-nav > .max-w-7xl {
  min-height: calc(82vh - 4.5rem);
  padding-top: 0;
  padding-bottom: 2rem;
  justify-content: center;
}
@media (max-width: 767px) {
  .hero-below-nav {
    padding-top: 6rem;
    min-height: auto;
  }
  .hero-below-nav > .max-w-7xl {
    min-height: min(calc(100vh - 6rem), 800px);
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
}

/* Inner-page article: readable width + spacing between breadcrumb, title, intro */
.main-below-fixed-nav article {
  max-width: 48rem;
}
/* Spacing on all inner pages (with or without article): breadcrumb, h1, first paragraph */
.main-below-fixed-nav nav[aria-label="Breadcrumb"] {
  margin-bottom: 2rem;
}
.main-below-fixed-nav h1 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.main-below-fixed-nav h1 + p {
  margin-bottom: 2.5rem;
}
.main-below-fixed-nav article nav[aria-label="Breadcrumb"] {
  margin-bottom: 2rem;
}
.main-below-fixed-nav article h1 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.main-below-fixed-nav article h1 + p {
  margin-bottom: 2.5rem;
}

/* CTA store buttons: icon and text on same line (Chrome / Firefox) */
.cta-store-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Footer: brand left, PAGES center, SOCIAL right; content left-aligned inside each */
.site-footer {
  margin-top: 0;
}
/* Desktop: 3-column grid – brand (auto) | middle area (1fr) | right area (auto). PAGES block centered, SOCIAL block at right. */
.site-footer .footer-inner {
  display: grid !important;
  grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}
/* PAGES container: centered in the middle column (content inside stays left-aligned) */
.site-footer .footer-pages {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 1rem;
  min-width: 0;
}
/* SOCIAL container: aligned to right edge of footer (content inside stays left-aligned) */
.site-footer .footer-social {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 0;
  min-width: 0;
}
.site-footer .footer-pages p,
.site-footer .footer-social > p {
  text-align: left;
}
.site-footer .footer-pages a,
.site-footer .footer-social a {
  text-align: left;
}
.site-footer .border-x.border-gray-200 .max-w-80 {
  max-width: 100%;
  justify-self: start;
}
@media (max-width: 767px) {
  .site-footer .footer-inner {
    display: flex !important;
    flex-direction: column;
  }
  .site-footer .footer-pages,
  .site-footer .footer-social {
    justify-self: unset;
  }
}

/* Consistent spacing between main content and footer (and before CTA blocks) */
.main-below-fixed-nav > section {
  padding-bottom: 2rem;
}
.main-below-fixed-nav .rounded-xl.bg-orange-500 {
  margin-top: 1rem;
}
