/* College Craft public brand overrides on the Propaint theme */

:root {
  --cc-primary: #a92121;
  --cc-primary-dark: #8a1a1a;
  --cc-accent: #ffeb38;
  --cc-ink: #212121;
  --cc-muted: #6b7280;
  --cc-surface: #f4f7f7;
  --cc-border: #d9e3e4;
}

/* Theme CSS starts `.page` at opacity:0 until a `.preloader` runs pageTransition.
   This site has no preloader, so without this the homepage is a blank white screen. */
.page {
  opacity: 1;
}

.rd-navbar-brand .brand img,
.rd-navbar-brand .brand-logo-dark,
.rd-navbar-brand .brand-logo-light {
  height: 52px;
  width: auto;
  max-width: 200px;
}

.page .button-primary,
.page .button-primary:focus,
.page .button-primary:active,
.page .button-default,
.page .button-default:focus,
.page .button-default:active,
.cookie-consent-banner .button-primary,
.cookie-consent-banner .button-primary:focus,
.cookie-consent-banner .button-primary:active {
  background-color: var(--cc-primary) !important;
  border-color: var(--cc-primary) !important;
  color: #fff !important;
}
.page .button-primary:hover,
.page .button-default:hover,
.cookie-consent-banner .button-primary:hover {
  background-color: var(--cc-primary-dark) !important;
  border-color: var(--cc-primary-dark) !important;
  color: #fff !important;
}

html .page .text-primary {
  color: var(--cc-primary) !important;
}
.page a.link-default,
.page .contact-link,
.page .breadcrumbs-custom-path a {
  color: var(--cc-primary);
}
.page a.link-default:hover,
.page .contact-link:hover {
  color: var(--cc-primary-dark);
}

.rd-navbar-fixed .rd-nav-item:hover .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.focus .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.active .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.opened .rd-nav-link {
  color: var(--cc-primary) !important;
}

.ui-to-top {
  background: var(--cc-primary) !important;
  color: #fff !important;
}
.ui-to-top:hover,
.ui-to-top:focus {
  background: var(--cc-primary-dark) !important;
  color: #fff !important;
}

.flash {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
}
.flash li {
  max-width: 1200px;
  margin: 0 auto 8px;
  padding: 12px 16px;
  background: #fde8e8;
  border-left: 3px solid var(--cc-primary);
  color: #7f1d1d;
  font-size: 14px;
}
.flash li.error,
.flash li.danger {
  background: #fee2e2;
  border-left-color: #b91c1c;
  color: #991b1b;
}

.form-wrap .errorlist,
.errorlist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: #b91c1c;
  font-size: 13px;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  padding: 1rem 1.25rem;
  background: rgba(17, 24, 28, 0.96);
  border-top: 2px solid var(--cc-primary);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
}
.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-consent-text {
  flex: 1 1 420px;
  color: #d7dee3;
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0;
}
.cookie-consent-text-short {
  display: none;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--cc-primary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.footer-link-btn:hover {
  text-decoration: underline;
  color: var(--cc-primary-dark);
}
.cookie-consent-link {
  color: var(--cc-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-link:hover {
  color: #fff;
}

.legal-prose {
  max-width: 42rem;
}
.legal-prose .legal-lead {
  font-size: 1.05rem;
  color: var(--cc-ink);
  margin-bottom: 1.75rem;
}
.legal-prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}
.legal-prose p {
  margin-bottom: 1rem;
  color: #4b5563;
  line-height: 1.65;
}
.legal-prose .legal-updated {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--cc-muted);
}

.footer-made-by {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
}
.footer-made-by a {
  color: var(--cc-primary);
  text-decoration: underline;
}
.footer-made-by a:hover {
  color: var(--cc-primary-dark);
}

.pref-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--cc-ink);
  cursor: pointer;
}
.pref-check input {
  width: 16px;
  height: 16px;
}

.testimonial-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.testimonial-card blockquote {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--cc-primary);
  font-size: 14px;
}

.choice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.choice-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

.form-label-outside {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .contact-form-section > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    padding: 0.625rem 0.75rem;
    padding-bottom: max(0.625rem, env(safe-area-inset-bottom));
  }
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }
  .cookie-consent-text-short {
    display: inline;
  }
  .cookie-consent-text-full {
    display: none;
  }
  .cookie-consent-text {
    flex: none;
    font-size: 0.8125rem;
    line-height: 1.35;
  }
  .cookie-consent-actions {
    width: 100%;
  }
}
