/* Import Poppins from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Global font */
body,
.dpp-form input,
.dpp-form select,
.dpp-form button,
.dpp-details p,
.dpp-card p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  color: #555;
}

/* Form */
.dpp-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.dpp-form input[type="search"],
.dpp-form select {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.dpp-form button {
  padding: 0.5rem 1rem;
  background: #17A589;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.dpp-form button:hover {
  background: #13856c;
}

/* Archive */
.dpp-archive {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.dpp-archive-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.dpp-thumb img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}
.dpp-details {
  flex: 1;
}
/* Title */
.dpp-details h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 0.5rem;
  color: #2C3E50;
}
.dpp-details p {
  margin: 0.25rem 0;
}
.dpp-details span.dashicons {
  margin-right: 0.5rem;
  color: #888;
  vertical-align: middle;
}
.dpp-details p.dpp-doi a {
  color: #17A589;
  text-decoration: none;
}
.dpp-details p.dpp-doi a:hover {
  text-decoration: underline;
}

/* Publication Number (if used) */
.dpp-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 25px;
  color: #17A589;
  margin: 0 0 0.5rem;
}

/* Recent Grid */
.dpp-grid.dpp-recent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dpp-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dpp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.dpp-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: #17A589;
}
.dpp-thumb-recent img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
/* Title */
.dpp-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  margin: 1rem;
  color: #2C3E50;
}
/* Body text */
.dpp-card p {
  margin: 0 1rem 0.5rem;
}
/* Icons */
.dpp-card span.dashicons {
  margin-right: 0.5rem;
  color: #888;
/* Superscript & subscript sizing override */
.dpp-details h3 sup,
.dpp-details h3 sub,
.dpp-card h3 sup,
.dpp-card h3 sub {
  font-size: 0.6em !important;    /* ~60% of the parent text size */
  line-height: 1 !important;
}

.dpp-details h3 sup,
.dpp-card h3 sup {
  vertical-align: super !important;
}

.dpp-details h3 sub,
.dpp-card h3 sub {
  vertical-align: sub !important;
}
