/* ============================================================================
   TCV4 INNER · shared footer styling for internal pages (isolated, additive)
   Mirrors the updated homepage footer look (20px font + two-column links +
   90% wide container) without pulling in any homepage-only overrides.
   ============================================================================ */

/* Wide container: 90% width on desktop (matches homepage footer). */
@media (min-width: 992px) {
  .container.tcv4-container-wide {
    max-width: 90% !important;
    width: 90% !important;
  }
}

/* Footer: 20px base font (consistent with the site). */
.threds-footer,
.threds-footer__desc,
.threds-footer__links a,
.threds-footer__copyright p,
.contact-box__value,
.contact-box__label {
  font-size: 20px !important;
}

/* Footer links laid out in two columns. */
.threds-footer__links {
  text-align: right;
}

.threds-footer__links ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 40px;
  justify-content: start;
  text-align: right;
}

/* ============================================================================
   Contact page · file upload field (moved here from inline <style>)
   Scoped to .file-upload-group, so it is inert on pages without that markup.
   ============================================================================ */
.file-upload-group .file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px dashed #bcb6a9;
  border-radius: 14px;
  background: #ffffff10;
  color: #4a3148;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.file-upload-group .file-upload:hover {
  border-color: #b17a3b;
  background: #b17a3b14;
}

.file-upload-group .file-upload__icon {
  display: inline-flex;
  color: #b17a3b;
  flex-shrink: 0;
}

.file-upload-group .file-upload__text {
  font-size: 15px;
  color: #4a4a4a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-group .file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-upload-group .file-upload__hint {
  margin: 8px 2px 0;
  font-size: 13px;
  color: #867b72;
  line-height: 1.6;
}

.file-upload-group .file-upload__error {
  margin: 6px 2px 0;
  font-size: 13px;
  color: #c0392b;
  font-weight: 600;
}

/* ============================================================================
   Contact page · request-type buttons layout
   Desktop: two rows (3 + 2). Mobile: two per row.
   ============================================================================ */
.contact-v2__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-v2__types .type-btn {
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .contact-v2__types {
    grid-template-columns: repeat(2, 1fr);
  }
}