/* ----------------------------------------
   PARTNER PAGE — GLOBAL STRUCTURE
----------------------------------------- */

.ded-partner-hero {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  color: #444 !important;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.ded-partner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

/* ANDI-specific background placeholder */
.ded-partner-hero--andi .ded-partner-hero-bg {
  background-image: url('/assets/partners/andi-logo.png');
}

.ded-partner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.ded-partner-logo {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.ded-partner-card-logo--family2 {
  background: none !important;
  width: 150px;
}


.ded-partner-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 10px;
}

/* ----------------------------------------
   PARTNER SECTIONS
----------------------------------------- */

.ded-partner-section {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.ded-partner-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

.ded-partner-section p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}

/* ----------------------------------------
   LISTS
----------------------------------------- */

.ded-partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ded-partner-list li {
  background: #f7f7f7;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  margin-left: 10px; /* inset each item */
  line-height: 0.5;
  border-left: 3px solid #ff8521;
}

/* ----------------------------------------
   CTA BUTTON
----------------------------------------- */

.ded-partner-cta {
  text-align: center;
  margin-top: 40px;
}

.ded-button {
  display: inline-block;
  padding: 12px 24px;
  background: #D9C067;
  border: 1px solid #ff8521;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.ded-button:hover {
  background: #ff8521;
}

/* ----------------------------------------
   RESPONSIVE
----------------------------------------- */

@media (max-width: 600px) {
  .ded-partner-logo {
    width: 120px;
  }

  .ded-partner-hero {
    padding: 60px 20px;
  }

  .ded-partner-section h2 {
    font-size: 1.5rem;
  }
}

.ded-partner-hero-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


/* Family Dental Hero Background */
.ded-partner-hero--family .ded-partner-hero-bg {
  background-image: url('/assets/partners/family-dental-staff.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
}

.ded-partner-hero-image {
  width: 100%;
  max-width: 500px;
  margin: 16px auto 0;
  border: 1px solid #123161;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Faculty of Dentistry Hero Background */
.ded-partner-hero--faculty .ded-partner-hero-bg {
  background-image: url('/assets/partners/FoD-tirana-university.png');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
}

.ded-partner-hero--family .ded-partner-hero-bg {
  background-image: url('/assets/partners/family-dental-staff.jpg');
  background-size: cover;
  background-position: center;
}

.ded-partner-hero--faculty .ded-partner-hero-bg {
  background-image: url('/assets/partners/FoD-tirana-university.png');
  background-size: cover;
  background-position: center;
}



