/* CannaInsider.EU visual identity: monochrome newsroom, one red heart. */
main img { filter: grayscale(1); }

.masthead .brand {
  max-width: 68%;
  flex-wrap: wrap;
}

.masthead .brand b {
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: -.065em;
}

.church-site .masthead .brand b,
.church-site footer .brand b {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.brand-promise {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 92px;
  gap: 14px;
  align-items: center;
  justify-items: end;
}

.brand-promise p {
  max-width: 420px;
  text-align: right;
  font: bold italic 17px/1.25 var(--serif);
}

.heart-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: center 45%;
  filter: none;
  border: 1px solid #111;
}

@media (max-width: 760px) {
  .masthead .brand { max-width: none; }
  .brand-promise {
    grid-template-columns: 1fr 76px;
    margin-top: 16px;
  }
  .brand-promise p { text-align: left; }
  .heart-logo { width: 76px; height: 76px; }
}

@media (max-width: 560px) {
  .masthead .brand {
    display: block;
    overflow-wrap: anywhere;
  }
  .masthead .brand b,
  .church-site .masthead .brand b {
    font-size: clamp(2rem, 11vw, 2.6rem);
    line-height: .95;
  }
  .masthead .brand span {
    display: block;
    margin-top: 9px;
    letter-spacing: .08em;
  }
  .brand-promise {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 10px;
  }
  .heart-logo { width: 64px; height: 64px; }
  .breaking { align-items: flex-start; flex-wrap: wrap; }
  .score { max-width: 100%; }
  .score span { overflow-wrap: anywhere; }
  .links { flex-wrap: wrap; }
  .upload input { width: 100%; }
  footer a,
  footer p { overflow-wrap: anywhere; }
}

@media (max-width: 390px) {
  .analysis-result {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Keep the native chooser visible and reliable in every supported browser. */
.upload {
  display: block;
  background: transparent;
  padding: 0;
  color: #fff;
}

.upload input {
  position: static;
  inline-size: auto;
  block-size: auto;
  max-width: 100%;
  opacity: 1;
  color: #fff;
  font: 700 13px/1.4 var(--sans);
}

.upload input::file-selector-button {
  margin-right: 12px;
  padding: 12px 18px;
  border: 0;
  background: #fff;
  color: #111;
  font: 800 13px/1 var(--sans);
  cursor: pointer;
}

.upload span { display: none; }
