/* Charity Pages Styles */

.font-bold {
  font-weight: 600 !important;
}

/* ======================= CHARITY LOGO  ========================== */

.charity-logo-block {
  margin: 0 auto 40px;
  text-align: center;
}

.charity-logo-block img {
  max-width: 300px;
  height: auto;
}

/* ======================= INFO SECTIONS  ========================== */

.charity-info-section {
  padding: 80px 0;
}

.charity-info-section:nth-child(even) {
  background: #f9f9f9;
}

.charity-info-section .content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-grid.reverse {
  direction: rtl;
}

.info-grid.reverse > * {
  direction: ltr;
}

.info-text h2 {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 25px;
}

.info-text h3 {
  margin-top: 30px;
  font-size: 1.5rem;
  color: var(--teal);
}

.info-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.info-text strong {
  color: var(--teal);
  font-weight: 600;
}

/* List styling with custom bullets */
.info-text ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.info-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.info-text ul li::before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 11px;
  translate: 0 -50%;
  background: url(https://sussexaudiologycentre.co.uk/wp-content/uploads/2025/07/background-ear-left.svg)
    center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.hospice-content ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.hospice-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.hospice-content ul li::before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 11px;
  translate: 0 -50%;
  background: url(https://sussexaudiologycentre.co.uk/wp-content/uploads/2025/07/background-ear-left.svg)
    center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.booking-cta {
  margin: 30px 0;
}

/* ======================= HOSPICE SECTION  ========================== */

.charity-hospice-section {
  background: #f9f9f9;
  padding: 80px 0;
}

.charity-hospice-section .content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hospice-content {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hospice-logo {
  margin-bottom: 40px;
}

.hospice-logo img {
  max-width: 250px;
  height: auto;
}

.hospice-content h2 {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 25px;
}

.hospice-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hospice-content strong {
  color: var(--teal);
  font-weight: 600;
}

/* ======================= CTA SECTION  ========================== */

.charity-cta-section {
  background: var(--teal);
  padding: 80px 20px;
  text-align: center;
}

.charity-cta-section .content {
  max-width: 800px;
  margin: 0 auto;
}

.charity-cta-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.charity-cta-section p {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 35px;
}

/* ======================= SPONSORS SECTION  ========================== */

.charity-sponsors-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.charity-sponsors-section .content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.sponsors-title {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  align-items: center;
  justify-items: center;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
  max-width: 280px;
  min-height: 120px;
  cursor: pointer;
}

.sponsor-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.sponsor-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ======================= RESPONSIVE  ========================== */

@media (max-width: 968px) {
  .info-grid,
  .info-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .info-text {
    order: 1;
  }

  .info-image {
    order: 2;
  }

  .charity-info-section {
    padding: 60px 0;
  }

  .info-text h2,
  .hospice-content h2 {
    font-size: 2rem;
  }

  .charity-hospice-section {
    padding: 60px 0;
  }

  .hospice-content {
    padding: 40px 30px;
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .sponsor-logo:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .charity-logo-block img {
    max-width: 200px;
  }

  .charity-info-section {
    padding: 40px 0;
  }

  .info-text h2,
  .hospice-content h2,
  .charity-cta-section h2 {
    font-size: 1.75rem;
  }

  .info-text h3 {
    font-size: 1.25rem;
  }

  .info-text p,
  .hospice-content p {
    font-size: 1rem;
  }

  .charity-cta-section p {
    font-size: 1.1rem;
  }

  .hospice-content {
    padding: 30px 20px;
  }

  .charity-hospice-section {
    padding: 40px 0;
  }

  .charity-cta-section {
    padding: 60px 20px;
  }

  .charity-sponsors-section {
    padding: 40px 20px;
  }

  .sponsors-title {
    font-size: 1.25rem;
    margin-bottom: 30px;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sponsor-logo,
  .sponsor-logo:last-child {
    max-width: 100%;
    grid-column: auto;
  }
}

/* ======================= UTILITIES  ========================== */

.fadeIn {
  animation: fadeIn 1s ease-in;
}

.delay {
  animation-delay: 0.3s;
}

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

.cf::after {
  content: "";
  display: table;
  clear: both;
}

/* ======================= EASTBOURNE COMMUNITY AWARDS LANDING PAGE ========================== */

.eca-landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  text-align: center;
}

.eca-landing-hero .content {
  max-width: 900px;
  margin: 0 auto;
}

.eca-logo-main {
  margin-bottom: 50px;
}

.eca-logo-main img {
  max-width: 500px;
  width: 100%;
  height: auto;
}

.eca-landing-content h1 {
  font-size: 3.5rem;
  color: var(--teal);
  margin-bottom: 30px;
  font-weight: 700;
}

.eca-date-announce {
  background: white;
  padding: 30px 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  display: inline-block;
}

.eca-opening-date {
  font-size: 2rem;
  color: var(--teal);
  font-weight: 700;
  margin: 0;
}

.eca-landing-info {
  max-width: 700px;
  margin: 0 auto 50px;
}

.eca-landing-info p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.eca-landing-info strong {
  color: var(--teal);
  font-weight: 600;
}

.eca-check-back {
  font-style: italic;
  color: #666;
  margin-top: 30px !important;
}

.eca-sponsors-teaser {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #ddd;
}

.eca-sponsors-teaser p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* Responsive for landing page */
@media (max-width: 768px) {
  .eca-landing-content h1 {
    font-size: 2.5rem;
  }

  .eca-opening-date {
    font-size: 1.5rem;
  }

  .eca-date-announce {
    padding: 20px 30px;
  }

  .eca-logo-main img {
    max-width: 350px;
  }

  .eca-landing-info p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .eca-landing-content h1 {
    font-size: 2rem;
  }

  .eca-opening-date {
    font-size: 1.25rem;
  }

  .eca-logo-main img {
    max-width: 280px;
  }

  .eca-landing-info p {
    font-size: 1rem;
  }
}

/* ======================= EASTBOURNE COMMUNITY AWARDS FULL PAGE ========================== */

/* Hero Section */
.eca-hero {
  background: linear-gradient(135deg, var(--teal) 0%, #4db8bb 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
}

.eca-hero .eca-logo-main {
  margin-bottom: 40px;
}

.eca-hero .eca-logo-main img {
  max-width: 860px;
  width: 100%;
  height: auto;
}

.eca-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.eca-date {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.eca-deadline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.eca-about {
  padding: 80px 20px;
  background: white;
}

.eca-about .content {
  max-width: 1000px;
  margin: 0 auto;
}

.eca-about h2 {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 30px;
  text-align: center;
}

.eca-about p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

/* Category Navigation */
.eca-navigation {
  padding: 40px 20px;
  background: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.eca-navigation .content {
  max-width: 800px;
  margin: 0 auto;
}

.eca-nomination-cta {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.eca-deadline-reminder {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
  text-align: center;
}

.eca-navigation h3 {
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 15px;
  text-align: center;
}

.eca-category-dropdown select {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eca-category-dropdown select:hover,
.eca-category-dropdown select:focus {
  border-color: #1a8a8a;
  box-shadow: 0 2px 8px rgba(76, 184, 187, 0.2);
  outline: none;
}

/* Award Category Sections */
.eca-award-category {
  padding: 60px 20px 5px;
  scroll-margin-top: 120px; /* Account for sticky nav */
  background: #f9f9f9;
}

.eca-award-category:last-of-type {
  padding-bottom: 40px;
}

.eca-award-category .content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ECA Award Card - Unified Container */
.eca-award-category .award-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.eca-award-category .award-header {
  text-align: center;
  padding: 40px 40px 30px;
  margin-bottom: 0;
}

.eca-award-category .award-header h2 {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 20px;
}

.eca-award-category .age-restriction {
  font-size: 1.5rem;
  color: #666;
  font-weight: 400;
}

.eca-award-category .award-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

/* ECA Sponsor Info */
.eca-award-category .sponsor-info {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  padding: 30px 40px 40px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid #e8e8e8;
}

/* Community Champion specific - wider logo column */
#community-champion .sponsor-info {
  grid-template-columns: 400px 1fr;
}

.eca-award-category .sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.eca-award-category .sponsor-logo img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
}

.eca-award-category .sponsor-logos-triple {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.eca-award-category .sponsor-logos-triple img {
  max-width: 200px;
  height: auto;
  max-height: 80px;
}

.eca-award-category .sponsor-logos-stacked {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.eca-award-category .sponsor-logo-full {
  width: 100%;
  text-align: center;
}

.eca-award-category .sponsor-logo-full img {
  max-width: 230px;
  height: auto;
}

.eca-award-category .sponsor-logos-pair {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.eca-award-category .sponsor-logos-pair img {
  max-width: 180px;
  height: auto;
  max-height: 80px;
}

.eca-award-category .sponsor-details {
  flex: 1;
}

.eca-award-category .sponsor-details p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.eca-award-category .sponsor-details strong {
  font-size: 1.2rem;
  color: var(--teal);
}

.eca-award-category .sponsor-details a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.eca-award-category .sponsor-details a:hover {
  text-decoration: underline;
}

/* ECA Nomination Section & Toggle */
.eca-award-category .nomination-section {
  padding-top: 25px;
  padding-bottom: 30px;
  border-top: none;
  text-align: center;
}

.eca-nominate-toggle {
  display: inline-block;
  min-width: 350px;
  margin: 0 auto;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.eca-nominate-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76, 184, 187, 0.3);
}

.eca-nominate-toggle .toggle-icon {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
  font-size: 0.9em;
}

.eca-nominate-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

/* Scoped teal-button for ECA page */
.eca-award-category .teal-button {
  padding-left: 40px;
  padding-right: 40px;
}

/* ECA Nomination Forms */
.eca-award-category .nomination-form {
  background: transparent;
  padding: 25px 40px 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: left;
}

.eca-award-category .nomination-form h3 {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 30px;
  text-align: center;
}

.eca-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.eca-form .form-group {
  margin-bottom: 25px;
}

.eca-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1rem;
}

.eca-form input[type="text"],
.eca-form input[type="email"],
.eca-form input[type="tel"],
.eca-form input[type="number"],
.eca-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.eca-form input:focus,
.eca-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(76, 184, 187, 0.1);
}

.eca-form textarea {
  resize: vertical;
  min-height: 120px;
}

.eca-award-category .char-count {
  display: block;
  text-align: right;
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}

.eca-form button[type="submit"] {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 30px auto 0;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.eca-award-category .form-message {
  margin-top: 20px;
  text-align: center;
  font-size: 1rem;
}

.eca-award-category .form-message p {
  margin: 0;
  padding: 15px;
  border-radius: 6px;
}

/* ECA Organizers Section */
.eca-organizers {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.eca-organizers .content {
  max-width: 800px;
  margin: 0 auto;
}

.eca-organizers .organizer-text {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  font-weight: 500;
}

.organizer-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.organizer-logos img {
  max-width: 200px;
  height: auto;
  max-height: 80px;
}

/* ECA Closing Reminder Section */
.eca-closing-reminder {
  background: white;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #e8e8e8;
}

.eca-closing-reminder .content {
  max-width: 800px;
  margin: 0 auto;
}

.eca-closing-reminder .reminder-text {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 25px;
}

.eca-closing-reminder .reminder-text strong {
  color: var(--teal);
}

.back-to-top-link {
  display: inline-block;
  color: var(--teal);
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 30px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.back-to-top-link:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(76, 184, 187, 0.3);
}

/* Responsive for full awards page */
@media (max-width: 1024px) {
  .eca-award-category .sponsor-info {
    grid-template-columns: 250px 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .eca-hero {
    padding: 60px 20px 40px;
  }

  .eca-hero-content h1 {
    font-size: 2.2rem;
  }

  .eca-hero .eca-logo-main img {
    max-width: 350px;
  }

  .eca-about {
    padding: 60px 20px;
  }

  .eca-about h2 {
    font-size: 2rem;
  }

  .eca-award-category {
    padding: 60px 20px 5px;
  }

  .eca-award-category .award-header h2 {
    font-size: 2rem;
  }

  .eca-award-category .award-header {
    padding: 30px 30px 25px;
  }

  .eca-award-category .sponsor-info {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px 30px 30px;
  }

  .eca-award-category .sponsor-logo {
    padding: 15px;
  }

  .eca-award-category .sponsor-logos-stacked {
    padding: 15px;
  }

  .eca-award-category .sponsor-logo-full img {
    max-width: 240px;
  }

  .eca-award-category .sponsor-logos-pair {
    flex-direction: column;
    gap: 15px;
  }

  .eca-award-category .sponsor-logos-pair img {
    max-width: 160px;
  }

  .eca-award-category .nomination-form {
    padding: 20px 20px 0;
  }

  .eca-nominate-toggle {
    font-size: 1.1rem;
    padding: 14px 25px;
    min-width: 280px;
  }

  .eca-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .eca-organizers {
    padding: 40px 20px;
  }

  .eca-organizers .organizer-text {
    font-size: 1.1rem;
  }

  .organizer-logos img {
    max-width: 180px;
  }

  .eca-closing-reminder {
    padding: 40px 20px;
  }

  .eca-closing-reminder .reminder-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .eca-hero-content h1 {
    font-size: 1.8rem;
  }

  .eca-hero .eca-logo-main img {
    max-width: 280px;
  }

  .eca-about h2 {
    font-size: 1.6rem;
  }

  .eca-award-category .award-header {
    padding: 25px 20px 20px;
  }

  .eca-award-category .award-header h2 {
    font-size: 1.6rem;
  }

  .eca-award-category .sponsor-info {
    padding: 20px;
  }

  .eca-nominate-toggle {
    min-width: 240px;
    font-size: 1rem;
    padding: 12px 20px;
  }

  .eca-award-category .nomination-form {
    padding: 25px 15px;
  }

  .eca-award-category .nomination-form h3 {
    font-size: 1.5rem;
  }

  .eca-nominate-toggle {
    font-size: 1rem;
    padding: 14px 20px;
    max-width: 100%;
  }

  .eca-navigation {
    padding: 20px 15px;
  }

  .eca-organizers {
    padding: 30px 15px;
  }

  .eca-organizers .organizer-text {
    font-size: 1rem;
  }

  .organizer-logos {
    gap: 25px;
  }

  .organizer-logos img {
    max-width: 150px;
    max-height: 60px;
  }

  .eca-closing-reminder {
    padding: 30px 15px;
  }

  .eca-closing-reminder .reminder-text {
    font-size: 1rem;
  }

  .back-to-top-link {
    font-size: 1rem;
    padding: 10px 25px;
  }
}
