/*
Theme Name: Jackson Signs
Description: Clean Theme
Author: Jackson Signs
Author URI: https://www.signshopbrantford.com/
Version: 1.0
*/

/* ============================================
   Jackson Signs – Hero & advanced styles
   ============================================ */

/* Hero section – gradient background, compact height */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
}

/* Hero content layout: side-by-side on large screens */
.hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 3rem;
    align-items: center;
  }
}

/* Headline stagger (optional animation) */
.hero__eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero__headline {
  /* Fallback for browsers that don’t support background-clip: text */
  color: #fff;
}

/* Gradient text – showcases design quality */
.hero__headline-text {
  color: #fff;
  letter-spacing: -0.02em;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero__headline-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

/* Ampersand as a design accent */
.hero__headline-amp {
  display: inline-block;
  margin: 0 0.08em;
  font-weight: 700;
  font-style: italic;
  color: #ea751a;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero__headline-amp {
    background: linear-gradient(135deg, #f4ba77 0%, #ea751a 50%, #db5b10 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero__subline {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero__copy {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* Site header – slightly wider than max-w-7xl for extra nav item */
.site-header__container {
  width: 100%;
  max-width: calc(80rem + 0.5in);
}

/* Hero trust factors / callouts */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
}

.hero-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.hero-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(253, 237, 214, 0.95);
}

.hero-trust__text {
  white-space: nowrap;
}

@media (max-width: 479px) {
  .hero-trust__text {
    white-space: normal;
  }
}

/* ---- Quote / Question box (hero CTA card) ---- */
.hero-quote-box {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 30px -10px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .hero-quote-box {
    padding: 1.75rem 2rem 2rem;
  }
}

.hero-quote-box__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.hero-quote-box__text {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Hero quote form */
.hero-quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Two fields per row (Name+Email, Phone+Company) */
.hero-quote-form__row-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.hero-quote-form__row-pair > .hero-quote-form__row {
  min-width: 0;
}

.hero-quote-box .hero-quote-form .hero-quote-form__row-pair {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.hero-quote-box .hero-quote-form .hero-quote-form__row-pair .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.hero-quote-box .hero-quote-form .hero-quote-form__row-pair .wpcf7-form-control-wrap input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-quote-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-quote-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.hero-quote-form__input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.5;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-quote-form__input::placeholder {
  color: #94a3b8;
}

.hero-quote-form__input:hover {
  border-color: #cbd5e1;
}

.hero-quote-form__input:focus {
  outline: none;
  border-color: #ea751a;
  box-shadow: 0 0 0 3px rgba(234, 117, 26, 0.2);
}

.hero-quote-form__interest-display {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.5;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.hero-quote-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.25rem;
  padding-right: 2rem;
}

.hero-quote-form__textarea {
  height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px);
  min-height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px);
  max-height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px);
  resize: none;
  overflow-y: auto;
  box-sizing: border-box;
}

.hero-quote-form__actions {
  margin-top: 0.25rem;
}

.hero-quote-form__actions .hero-quote-box__btn {
  width: 100%;
}

@media (min-width: 400px) {
  .hero-quote-form__actions .hero-quote-box__btn {
    width: auto;
  }
}

.hero-quote-form__actions--dual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem 0.65rem;
  align-items: stretch;
}

.hero-quote-form__action-cell {
  display: flex;
  align-items: stretch;
  min-width: 0;
  margin: 0;
}

.hero-quote-form__action-cell--upload {
  grid-column: 1;
  grid-row: 1;
}

.hero-quote-form__action-cell--submit {
  grid-column: 2;
  grid-row: 1;
}

.hero-quote-form__upload-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-quote-form__upload-file .wpcf7-form-control-wrap {
  margin: 0;
  padding: 0;
}

.hero-quote-form__upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.875rem;
  margin: 0;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
}

.hero-quote-form__file-name {
  display: block;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
  word-break: break-word;
}

.hero-quote-form__action-cell .wpcf7-form-control-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0 !important;
  padding: 0;
}

.hero-quote-form__action-cell .wpcf7-submit {
  width: 100%;
  min-height: 2.875rem;
  margin: 0 !important;
  box-sizing: border-box;
  line-height: 1.25;
}

/* Legacy markup fallback when filename still sits inside .hero-quote-form__upload */
.hero-quote-form__actions--dual .hero-quote-form__upload {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.hero-quote-form__actions--dual .hero-quote-form__upload > .hero-quote-form__file-name {
  display: none;
}

.hero-quote-form__actions--dual .hero-quote-form__submit-wrap {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.hero-quote-box__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 400px) {
  .hero-quote-box__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-quote-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}

.hero-quote-box__btn--primary {
  background: #ea751a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(234, 117, 26, 0.35);
}

.hero-quote-box__btn--primary:hover {
  background: #db5b10;
  color: #fff;
  transform: translateY(-1px);
}

.hero-quote-box__btn--secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.hero-quote-box__btn--secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.hero-quote-box__phone {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
}

.hero-quote-box__phone a {
  font-weight: 600;
  color: #ea751a;
  text-decoration: none;
}

.hero-quote-box__phone a:hover {
  text-decoration: underline;
}

/* Subtle entrance (optional – reduce motion respected) */
@media (prefers-reduced-motion: no-preference) {
  .hero__content {
    animation: heroFadeUp 0.6s ease-out both;
  }

  .hero-quote-box {
    animation: heroFadeUp 0.6s ease-out 0.15s both;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient mask and tint stay in inline/custom for Tailwind compatibility */
.gradient-mask {
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.hero-tint {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.65) 45%,
    rgba(15, 23, 42, 0.48) 100%
  );
}

/* ============================================
   What We Offer – editorial / NYC–LA
   ============================================ */
.offer {
  background: #fff;
}

.offer__header {
  background: #0f172a;
  padding: 3rem 1.5rem 3.5rem;
}

@media (min-width: 640px) {
  .offer__header {
    padding: 4rem 1.5rem 4.5rem;
  }
}

@media (min-width: 1024px) {
  .offer__header {
    padding: 4.5rem 2rem 5rem;
  }
}

.offer__header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .offer__header-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .offer__header-inner {
    max-width: 48rem;
    padding: 0 2rem;
  }
}

.offer__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.offer__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}

@media (min-width: 640px) {
  .offer__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .offer__title {
    font-size: 3.5rem;
    letter-spacing: -0.04em;
  }
}

.offer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 1rem;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .offer__tagline {
    font-size: 1rem;
    margin-top: 1.25rem;
  }
}

.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 1.5rem 4rem;
  }
}

@media (min-width: 1024px) {
  .offer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 2rem 5rem;
  }
}

.offer-card {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:last-child {
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .offer-card {
    border: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 2px;
  }

  .offer-card:hover {
    border-color: rgba(234, 117, 26, 0.4);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
}

.offer-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.offer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card__img {
  transform: scale(1.04);
}

.offer-card__number {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .offer-card__number {
    top: 1rem;
    right: 1rem;
    font-size: 1.75rem;
    color: #e2e8f0;
    text-shadow: none;
  }
}

.offer-card__body {
  padding: 1.25rem 1rem 1.5rem;
}

@media (min-width: 640px) {
  .offer-card__body {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

.offer-card__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 0.5rem;
  transition: color 0.2s ease;
}

.offer-card:hover .offer-card__title {
  color: #ea751a;
}

@media (min-width: 640px) {
  .offer-card__title {
    font-size: 1.25rem;
  }
}

.offer-card__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.offer-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ea751a;
  transition: color 0.2s ease;
}

.offer-card:hover .offer-card__link {
  color: #db5b10;
}

/* ============================================
   More Ways We Can Help (pricing-block style)
   ============================================ */
.more-ways {
  background: #0f172a;
  padding: 3.5rem 1rem 4rem;
}

@media (min-width: 640px) {
  .more-ways {
    padding: 4rem 1.5rem 5rem;
  }
}

@media (min-width: 1024px) {
  .more-ways {
    padding: 5rem 2rem 6rem;
  }
}

.more-ways__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.more-ways__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 auto 0.5rem;
  letter-spacing: -0.02em;
}

.more-ways__title::after {
  content: '';
  display: block;
  width: 100%;
  max-width: 18rem;
  height: 8px;
  margin: 0.75rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%2371b8e6' stroke-width='3' stroke-linecap='round' d='M0 4 Q25 0 50 4 T100 4 T150 4 T200 4'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 8px;
}

@media (min-width: 640px) {
  .more-ways__title {
    font-size: 2rem;
  }

  .more-ways__title::after {
    margin-top: 0.875rem;
    max-width: 22rem;
  }
}

@media (min-width: 1024px) {
  .more-ways__title {
    font-size: 2.25rem;
  }
}

.more-ways__tagline {
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 auto 2.5rem;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .more-ways__tagline {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
}

.more-ways__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .more-ways__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.more-ways__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border: none;
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.12), 0 8px 32px -8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.more-ways__card:hover {
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.18), 0 16px 48px -12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Middle card: dark (same as section background) */
.more-ways__card--dark {
  background: #1e3a5f;
  color: #fff;
}

.more-ways__card--dark .more-ways__card-title {
  color: #fff;
}

.more-ways__card--dark .more-ways__card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.more-ways__card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #f1f5f9;
}

.more-ways__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.more-ways__card-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.more-ways__card-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

/* Full-width button inside each card */
.more-ways__card-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: #ea751a;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.more-ways__card:hover .more-ways__card-btn {
  background: #db5b10;
}

.more-ways__card--dark .more-ways__card-btn {
  color: #0f172a;
  background: #fff;
}

.more-ways__card--dark:hover .more-ways__card-btn {
  background: #f1f5f9;
}

.more-ways__cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .more-ways__cta {
    margin-top: 3rem;
  }
}

.more-ways__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #ea751a;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.more-ways__cta-btn:hover {
  background: #db5b10;
}

/* Trusted brands logos */
.trusted-brands__container {
  width: 100%;
  max-width: calc(80rem + 1.5in);
}

.trusted-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}

@media (min-width: 640px) {
  .trusted-brands {
    gap: 1.5rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .trusted-brands {
    gap: 1.75rem 2.75rem;
  }
}

.trusted-brands__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.trusted-brands__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(148, 163, 184, 0.58);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.trusted-brands__item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -22px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}

.trusted-brands__item:hover::after {
  opacity: 0;
}

.trusted-brands__logo {
  position: relative;
  z-index: 1;
  display: block;
  height: 3rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  filter: grayscale(1) saturate(0.2) brightness(1.02);
  transition: filter 0.35s ease, transform 0.35s ease;
}

@media (min-width: 640px) {
  .trusted-brands__logo {
    height: 3.35rem;
    max-width: 8.5rem;
  }
}

@media (min-width: 1024px) {
  .trusted-brands__item {
    padding: 0.75rem 1rem;
  }

  .trusted-brands__logo {
    height: 3.75rem;
    max-width: 9.75rem;
  }
}

.trusted-brands__item:hover .trusted-brands__logo {
  filter: none;
  transform: scale(1.03);
}

/* Shop All page */
.hero--shop-all {
  background:
    radial-gradient(circle at 82% 10%, rgba(234, 117, 26, 0.24), transparent 38%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
}

.shop-all-cats__head {
  margin-bottom: 0.5rem;
}

.shop-all-cats__label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea751a;
}

.shop-all-cats__title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.2vw + 1.1rem, 2.8rem);
  line-height: 1.12;
  color: #0f172a;
}

.shop-all-cats__intro {
  margin: 0.9rem auto 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.shop-all-cats__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .shop-all-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .shop-all-cats__grid--bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, auto);
    gap: 1.25rem;
  }
}

.shop-all-cats__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 1024px) {
  .shop-all-cats__grid--bento .shop-all-cats__card {
    min-height: 21rem;
  }
}

.shop-all-cats__grid--bento .shop-all-cats__card--featured {
  position: relative;
}

@media (min-width: 1024px) {
  .shop-all-cats__grid--bento .shop-all-cats__card--featured {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 100%;
  }

  .shop-all-cats__grid--bento .shop-all-cats__card:not(.shop-all-cats__card--featured) {
    grid-column: span 5;
    min-height: 13.5rem;
  }
}

.shop-all-cats__card:hover {
  transform: translateY(-4px);
  border-color: #f4ba77;
  box-shadow: 0 20px 35px -22px rgba(15, 23, 42, 0.45);
}

.shop-all-cats__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #cbd5e1;
}

@media (min-width: 1024px) {
  .shop-all-cats__grid--bento .shop-all-cats__card--featured .shop-all-cats__media {
    aspect-ratio: auto;
    height: 100%;
  }
}

.shop-all-cats__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shop-all-cats__card:hover .shop-all-cats__media img {
  transform: scale(1.04);
}

.shop-all-cats__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.shop-all-cats__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ea751a;
}

@media (min-width: 1024px) {
  .shop-all-cats__grid--bento .shop-all-cats__card--featured {
    border-color: #f5d8bd;
    box-shadow: 0 24px 45px -30px rgba(15, 23, 42, 0.55);
  }

  .shop-all-cats__grid--bento .shop-all-cats__card--featured .shop-all-cats__body {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 0.9rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.7));
    backdrop-filter: blur(3px);
  }

  .shop-all-cats__grid--bento .shop-all-cats__card--featured h3,
  .shop-all-cats__grid--bento .shop-all-cats__card--featured p {
    color: #f8fafc;
  }

  .shop-all-cats__grid--bento .shop-all-cats__card--featured .shop-all-cats__kicker {
    color: #f4ba77;
  }
}

.shop-all-cats__body h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  color: #0f172a;
}

.shop-all-cats__body p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.shop-all-cats__body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: #ea751a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.shop-all-cats__card:hover .shop-all-cats__body span {
  background: #db5b10;
}

/* Signs & Displays template */
.signs-display-hero {
  background:
    radial-gradient(circle at 90% 12%, rgba(234, 117, 26, 0.2), transparent 34%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
}

.signs-product-grid__head {
  max-width: 54rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.signs-product-grid__label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea751a;
}

.signs-product-grid__title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.2vw + 1.1rem, 2.8rem);
  line-height: 1.12;
  color: #0f172a;
}

.signs-product-grid__intro {
  margin: 0.9rem auto 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.signs-product-grid__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .signs-product-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .signs-product-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

.signs-product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.signs-product-card:hover {
  transform: translateY(-4px);
  border-color: #f4ba77;
  box-shadow: 0 20px 35px -24px rgba(15, 23, 42, 0.4);
}

.signs-product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #cbd5e1;
  overflow: hidden;
}

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

.signs-product-card:hover .signs-product-card__media img {
  transform: scale(1.04);
}

.signs-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  flex-grow: 1;
}

.signs-product-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #0f172a;
}

.signs-product-card__title-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.signs-product-card__title-link:hover {
  color: #db5b10;
}

.signs-product-card__title-link:focus-visible {
  outline: 2px solid #ea751a;
  outline-offset: 2px;
}

.signs-product-card__body p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  flex-grow: 1;
}

.signs-product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.68rem 0.95rem;
  border-radius: 0.5rem;
  background: #ea751a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.signs-product-card__btn:hover {
  background: #db5b10;
}

/* Advertising flags single template */
.flags-hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(244, 186, 119, 0.24), transparent 34%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
}

.flags-sections__head {
  margin-bottom: 2rem;
}

.flags-sections__label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea751a;
}

.flags-sections__title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.2vw + 1.1rem, 2.8rem);
  line-height: 1.12;
  color: #0f172a;
}

.flags-sections__intro {
  margin: 0.9rem auto 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.flags-feature {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px -22px rgba(15, 23, 42, 0.5);
}

@media (min-width: 900px) {
  .flags-feature {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 32px;
  }

  .flags-feature--reverse .flags-feature__media {
    order: 2;
  }

  .flags-feature--reverse .flags-feature__content {
    order: 1;
  }
}

.flags-sections .flags-feature:last-of-type {
  margin-bottom: 0;
}

.flags-feature__media {
  min-height: 240px;
}

.flags-feature__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.flags-feature__content {
  padding: 1.15rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .flags-feature__content {
    padding: 1.5rem 1.4rem 1.55rem;
  }
}

.flags-feature__kicker {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ea751a;
}

.flags-feature__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.5vw + 0.95rem, 2rem);
  line-height: 1.2;
  color: #0f172a;
}

.flags-feature__copy {
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.7;
  font-size: 0.97rem;
}

.flags-feature__copy + .flags-feature__title {
  margin-top: 1rem;
}

.flags-feature__actions {
  margin-top: 1.1rem;
}

.flags-feature__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  background: #ea751a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.flags-feature__btn:hover {
  background: #db5b10;
}

/* CF7 bridge: preserve existing hero quote form styling */
.hero-quote-box .wpcf7,
.hero-quote-box .wpcf7 form {
  width: 100%;
}

.hero-quote-box .hero-quote-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.hero-quote-box .hero-quote-form .wpcf7-spinner {
  margin: 8px 0 0;
}

.hero-quote-box .hero-quote-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.hero-quote-box .hero-quote-form textarea,
.hero-quote-box .hero-quote-form #cf7-message,
.hero-quote-box .hero-quote-form textarea.hero-quote-form__textarea {
  height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px) !important;
  min-height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px) !important;
  max-height: calc((0.9375rem * 1.5 * 3) + 1rem + 2px) !important;
  resize: none !important;
  overflow-y: auto;
  box-sizing: border-box;
}

.hero-quote-box .wpcf7 form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.hero-quote-box .hero-quote-form .wpcf7-form-control-wrap.project-media + .wpcf7-not-valid-tip {
  margin-top: 4px;
}

/* Blog category archive */
.blog-archive__head {
  margin-bottom: 2rem;
}

.blog-archive__label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea751a;
}

.blog-archive__title {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.2vw + 1.1rem, 2.8rem);
  line-height: 1.12;
  color: #0f172a;
}

.blog-archive__intro {
  margin: 0.9rem auto 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.blog-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .blog-archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #f4ba77;
  box-shadow: 0 20px 35px -24px rgba(15, 23, 42, 0.4);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #cbd5e1;
  overflow: hidden;
}

.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.04);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  flex-grow: 1;
}

.blog-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.blog-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #0f172a;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #db5b10;
}

.blog-card__excerpt {
  margin: 0;
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.68rem 0.95rem;
  border-radius: 0.5rem;
  background: #ea751a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-card__link:hover {
  background: #db5b10;
}

.blog-archive__pagination {
  margin-top: 1.5rem;
}

.blog-archive__pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.blog-archive__pagination .page-numbers a,
.blog-archive__pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-archive__pagination .page-numbers .current {
  background: #ea751a;
  border-color: #ea751a;
  color: #fff;
}

.blog-archive__empty {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}

.blog-archive__empty h3 {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: #0f172a;
}

.blog-archive__empty p {
  margin: 0.75rem 0 0;
  color: #475569;
}

.blog-archive__empty a {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #fff;
  background: #ea751a;
  font-weight: 600;
}

/* WordPress content image alignment helpers */
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 100%;
}

.alignleft,
.alighleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 100%;
}

.alignnone {
  float: none;
  margin: 0 0 1rem;
  max-width: 100%;
}

@media (max-width: 640px) {
  .alignright,
  .alignleft,
  .alighleft {
    float: none;
    display: block;
    margin: 0 0 1rem;
  }
}

/* Shared rich text styles for posts/pages */
.content-rich {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.content-rich > *:first-child {
  margin-top: 0;
}

.content-rich > *:last-child {
  margin-bottom: 0;
}

.content-rich h2 {
  margin: 2rem 0 0.75rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.5rem, 1.3vw + 1.05rem, 2rem);
  line-height: 1.2;
  color: #0f172a;
}

.content-rich h3 {
  margin: 1.5rem 0 0.65rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.2rem, 0.95vw + 0.95rem, 1.55rem);
  line-height: 1.28;
  color: #0f172a;
}

.content-rich p {
  margin: 0 0 1rem;
  color: #475569;
}

.content-rich ul,
.content-rich ol {
  margin: 0 0 1.1rem 1.15rem;
  color: #475569;
}

.content-rich li {
  margin: 0.35rem 0;
  padding-left: 0.2rem;
}

.content-rich strong {
  color: #0f172a;
  font-weight: 700;
}

.content-rich a {
  color: #ea751a;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.content-rich a:hover {
  color: #db5b10;
}

.content-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* Contact page */
.contact-page {
  background: #f8fafc;
}

.contact-page__inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .contact-page__inner {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  }
}

.contact-page__form-pane {
  padding: 2rem 1.25rem;
  background: #f3f4f6;
}

@media (min-width: 640px) {
  .contact-page__form-pane {
    padding: 2.5rem 2rem;
  }
}

.contact-page__info-pane {
  padding: 2rem 1.25rem;
  background: #2b2f36;
  color: #e2e8f0;
}

@media (min-width: 640px) {
  .contact-page__info-pane {
    padding: 2.5rem 2rem;
  }
}

.contact-page__heading {
  margin: 0 0 1.25rem;
  font-family: "Outfit", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.35rem;
  color: #0f172a;
}

.contact-page__heading--light {
  color: #f8fafc;
}

.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-page__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-page__row-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .contact-page__row-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-page__label {
  font-size: 0.95rem;
  color: #1f2937;
}

.contact-page__input {
  width: 100%;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  border-radius: 0.2rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-page__input:focus {
  outline: none;
  border-color: #ea751a;
  box-shadow: 0 0 0 3px rgba(234, 117, 26, 0.2);
}

.contact-page__textarea {
  min-height: 210px;
  resize: vertical;
}

.contact-page__actions {
  margin-top: 0.4rem;
}

.contact-page__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #e5e7eb;
  color: #111827;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.45rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-page__submit:hover {
  background: #d1d5db;
}

.contact-page__info-block {
  margin: 0 0 1rem;
  line-height: 1.55;
  font-size: 1.05rem;
}

.contact-page__info-pane a {
  color: #e2e8f0;
  text-decoration: none;
}

.contact-page__info-pane a:hover {
  color: #f8fafc;
  text-decoration: underline;
}

.contact-page__divider {
  width: 100%;
  height: 1px;
  background: rgba(226, 232, 240, 0.18);
  margin: 1.6rem 0;
}

.contact-page__info-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.contact-page__hours {
  margin: 1.6rem 0 0;
  color: #cbd5e1;
  line-height: 1.6;
}

/* NextGEN Gallery – Signs Gallery page */
.jackson-gallery-page__stage {
  margin-top: 2.25rem;
  padding: clamp(0.75rem, 1.5vw, 1.15rem);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.35);
}

.jackson-gallery-page .ngg-clear,
.jackson-gallery-page br.ngg-clear {
  display: none;
}

/* Legacy + modern thumbnail grid */
.jackson-gallery-page .ngg-galleryoverview,
.jackson-gallery-page [id^="ngg-gallery-"],
.jackson-gallery-page .ngg-gallery,
.jackson-gallery-page .ngg-pro-mosaic,
.jackson-gallery-page .ngg-thumbnails {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

@media (min-width: 640px) {
  .jackson-gallery-page .ngg-galleryoverview,
  .jackson-gallery-page [id^="ngg-gallery-"],
  .jackson-gallery-page .ngg-gallery,
  .jackson-gallery-page .ngg-pro-mosaic,
  .jackson-gallery-page .ngg-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (min-width: 900px) {
  .jackson-gallery-page .ngg-galleryoverview,
  .jackson-gallery-page [id^="ngg-gallery-"],
  .jackson-gallery-page .ngg-gallery,
  .jackson-gallery-page .ngg-pro-mosaic,
  .jackson-gallery-page .ngg-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (min-width: 1100px) {
  .jackson-gallery-page .ngg-galleryoverview,
  .jackson-gallery-page [id^="ngg-gallery-"],
  .jackson-gallery-page .ngg-gallery,
  .jackson-gallery-page .ngg-pro-mosaic,
  .jackson-gallery-page .ngg-thumbnails {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

.jackson-gallery-page .ngg-gallery-thumbnail-box,
.jackson-gallery-page [id^="ngg-image-"],
.jackson-gallery-page .ngg-gallery-thumbnail,
.jackson-gallery-page .ngg-thumbnail,
.jackson-gallery-page .ngg-pro-mosaic-item,
.jackson-gallery-page .ngg-gallery-thumbnail-box > div {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jackson-gallery-page .ngg-gallery-thumbnail,
.jackson-gallery-page .ngg-thumbnail,
.jackson-gallery-page .ngg-pro-mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 8px 20px -18px rgba(15, 23, 42, 0.4);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.jackson-gallery-page .ngg-gallery-thumbnail:hover,
.jackson-gallery-page .ngg-thumbnail:hover,
.jackson-gallery-page .ngg-pro-mosaic-item:hover {
  transform: translateY(-2px);
  border-color: #fdba74;
  box-shadow: 0 14px 28px -18px rgba(234, 117, 26, 0.4);
}

.jackson-gallery-page .ngg-gallery-thumbnail a,
.jackson-gallery-page .ngg-thumbnail a,
.jackson-gallery-page .ngg-pro-mosaic-item a {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}

.jackson-gallery-page .ngg-gallery-thumbnail a::after,
.jackson-gallery-page .ngg-thumbnail a::after,
.jackson-gallery-page .ngg-pro-mosaic-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.jackson-gallery-page .ngg-gallery-thumbnail a:hover::after,
.jackson-gallery-page .ngg-thumbnail a:hover::after,
.jackson-gallery-page .ngg-pro-mosaic-item a:hover::after {
  opacity: 1;
}

.jackson-gallery-page .ngg-gallery-thumbnail img,
.jackson-gallery-page .ngg-thumbnail img,
.jackson-gallery-page .ngg-pro-mosaic-item img,
.jackson-gallery-page img.Thumb {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.jackson-gallery-page .ngg-gallery-thumbnail a:hover img,
.jackson-gallery-page .ngg-thumbnail a:hover img,
.jackson-gallery-page .ngg-pro-mosaic-item a:hover img,
.jackson-gallery-page .ngg-gallery-thumbnail:hover img.Thumb {
  transform: scale(1.04);
}

.jackson-gallery-page .ngg-gallery-thumbnail span,
.jackson-gallery-page .ngg-thumbnail span {
  display: none;
}

/* Pagination */
.jackson-gallery-page .ngg-navigation,
.jackson-gallery-page .ngg-paginate,
.jackson-gallery-page .ngg-navigation span {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem !important;
  padding-top: 0.25rem;
}

.jackson-gallery-page .ngg-navigation a,
.jackson-gallery-page .ngg-navigation span.current,
.jackson-gallery-page .ngg-paginate a,
.jackson-gallery-page .ngg-paginate span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jackson-gallery-page .ngg-navigation a:hover,
.jackson-gallery-page .ngg-paginate a:hover {
  border-color: #ea751a;
  color: #ea751a;
}

.jackson-gallery-page .ngg-navigation span.current,
.jackson-gallery-page .ngg-paginate span.current {
  background: linear-gradient(135deg, #ea751a 0%, #f59e0b 100%);
  border-color: transparent;
  color: #fff;
}

/* Slideshow (if enabled) */
.jackson-gallery-page .slideshow,
.jackson-gallery-page .ngg-widget-slideshow,
.jackson-gallery-page .ngg-slideshow {
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.4);
}

.jackson-gallery-page .slideshow img,
.jackson-gallery-page .ngg-widget-slideshow img,
.jackson-gallery-page .ngg-slideshow img {
  width: 100%;
  height: auto;
  display: block;
}

/* Image browser / captions */
.jackson-gallery-page .ngg-imagebrowser,
.jackson-gallery-page .ngg-imagebrowser-nav {
  border-radius: 1rem;
  overflow: hidden;
}

.jackson-gallery-page .ngg-imagebrowser h4,
.jackson-gallery-page .ngg-gallery-title,
.jackson-gallery-page .ngg-album-desc {
  font-family: "Outfit", system-ui, sans-serif;
  color: #0f172a;
}

.jackson-gallery-page .ngg-imagebrowser .pic {
  border-radius: 0.75rem;
  overflow: hidden;
}

.jackson-gallery-page .ngg-imagebrowser .pic img {
  width: 100%;
  height: auto;
  display: block;
}

.jackson-gallery-page .ngg-imagebrowser .ngg-imagebrowser-nav a {
  color: #ea751a;
  font-weight: 600;
  text-decoration: none;
}

.jackson-gallery-page .ngg-imagebrowser .ngg-imagebrowser-nav a:hover {
  color: #c45f12;
  text-decoration: underline;
}

/* Thank you page */
.thank-you-page__editor {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.35);
}

.thank-you-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .thank-you-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .thank-you-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.thank-you-page__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.thank-you-page__card:hover {
  transform: translateY(-3px);
  border-color: #fdba74;
  box-shadow: 0 18px 36px -20px rgba(234, 117, 26, 0.35);
}

.thank-you-page__card-label {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.thank-you-page__card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ea751a;
}
