/* Replace footer logo */
.footer-logo img {
  content: url("https://towncrierafrica.com/wp-content/uploads/2025/09/logo-white.png");
  max-width: 180px;
  height: auto;
}

/* Footer text styling */
.site-footer .contact-info address {
  font-style: normal;
}

.site-footer .contact-info .phone {
  display: none; /* hides phone */
}

.site-footer .contact-info .address::after {
  content: "Halland, Sweden";
  display: block;
}/* Maintain logo proportions */
.site-header .custom-logo {
  max-height: 60px;
  width: auto;
  height: auto;
}/* ------------------------------
   FOOTER FIXES
------------------------------- */

/* Replace footer logo with white logo */
.footer-logo img {
  content: url("https://towncrierafrica.com/wp-content/uploads/2025/09/logo-white.png");
  max-width: 180px;
  height: auto;
}

/* Footer contact info cleanup */
.site-footer .contact-info address {
  font-style: normal;
}

/* Hide phone number */
.site-footer .contact-info .phone {
  display: none;
}

/* Replace address with Halland, Sweden */
.site-footer .contact-info .address {
  display: none;
}
.site-footer .contact-info::after {
  content: "Halland, Sweden";
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-top: 5px;
}

/* ------------------------------
   HEADER LOGO FIX
------------------------------- */

/* Maintain header logo aspect ratio */
.site-header .custom-logo {
  max-height: 60px;  /* adjust to fit header */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ensure nav menu doesn’t overlap */
.site-header .site-branding {
  display: flex;
  align-items: center;
}

/* ------------------------------
   BREAKING NEWS TICKER
------------------------------- */

/* Make sure ticker titles are clean */
.breaking-news-ticker ul li {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0 15px;
  display: inline-block;
  white-space: nowrap;
}

/* Background + spacing for ticker */
.breaking-news-ticker {
  background-color: #000000;
  padding: 5px 10px;
  overflow: hidden;
  white-space: nowrap;
}

/* Smooth scrolling */
.breaking-news-ticker ul {
  animation: ticker-scroll 25s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}/* Hide phone number everywhere */
.contact, .contact-info, .contact-details {
  display: block;
}
.contact p:has(> strong:contains("Phone")),
.contact p:has(> b:contains("Phone")),
.contact-info p:has(> strong:contains("Phone")) {
  display: none !important;
}/* Style a call-to-action button under main email */
.contact a[href*="hello@towncrierafrica.com"]::after {
  content: " — Email the Editorial Desk";
  display: block;
  background: #D4AF37;
  color: #111;
  text-align: center;
  font-weight: 600;
  padding: .6rem 1rem;
  margin-top: .5rem;
  border-radius: 6px;
}.breadcrumb, .breadcrumbs, nav ol {
  list-style: none !important;
  counter-reset: none !important;
  margin: 0;
  padding: 0;
}
.breadcrumb li::before,
.breadcrumbs li::before {
  content: none !important;
}/* ===== Brevo form in Town Crier Africa ===== */

/* Container */
.tca-brevo-wrap,
.tca-brevo-wrap [id^="sib_signup_form"] {
  max-width: 520px;
  margin: 1.5rem auto 0 auto;
  text-align: center;
}

/* Field blocks */
.tca-brevo-wrap .sib_signup_form,
.tca-brevo-wrap [id^="sib_signup_form"] .sib-form,
.tca-brevo-wrap [id^="sib_signup_form"] .sib-form-block {
  text-align: left;
}

/* Labels */
.tca-brevo-wrap label {
  display: block !important;
  font-size: 0.95rem !important;
  color: #374151 !important;
  margin: 0.25rem 0 0.25rem !important;
}

/* Inputs */
.tca-brevo-wrap input[type="email"],
.tca-brevo-wrap input[type="text"],
.tca-brevo-wrap input[type="tel"],
.tca-brevo-wrap select,
.tca-brevo-wrap textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid var(--border-gray, #e5e7eb) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.04) !important;
  margin-bottom: 10px !important;
}

/* Checkbox row (terms) */
.tca-brevo-wrap .sib-terms,
.tca-brevo-wrap .sib-legal,
.tca-brevo-wrap .sib-captcha,
.tca-brevo-wrap .sib-acceptance {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  margin: .5rem 0 0.75rem !important;
}
.tca-brevo-wrap input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
}

/* Submit button */
.tca-brevo-wrap input[type="submit"],
.tca-brevo-wrap button.sib-default-btn,
.tca-brevo-wrap .sib-default-btn {
  background: var(--brand-gold, #E2B94B) !important;
  color: #000 !important;
  border: none !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-block !important;
  transition: transform .2s ease, background .2s ease !important;
  width: auto !important;
}
.tca-brevo-wrap input[type="submit"]:hover,
.tca-brevo-wrap .sib-default-btn:hover {
  background: #D4A74E !important;
  transform: translateY(-2px) !important;
}

/* Success & error messages */
.tca-brevo-wrap .sib-alert-message,
.tca-brevo-wrap .sib-form-message-panel {
  margin-top: 12px !important;
  padding: 12px !important;
  border-radius: 8px !important;
  font-size: .95rem !important;
}
.tca-brevo-wrap .sib-alert-message-success,
.tca-brevo-wrap .sib-success-message {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}
.tca-brevo-wrap .sib-alert-message-error,
.tca-brevo-wrap .sib-error-message {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

/* Remove duplicate long compliance text if Brevo outputs it twice */
.tca-brevo-wrap .sib-compliance-note + .sib-compliance-note {
  display: none !important;
}

/* Reset weird inline paragraph spacing that Brevo sometimes adds */
.tca-brevo-wrap p {
  margin: .25rem 0 !important;
}


