/* Brand Footer and Structure */
.pkp_brand_footer {
  display: none;
}

.pkp_structure_footer_wrapper {
  color: #ffffff;
  background: #008421;
}

/* Submission Block */
.submission-block {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.submission-block h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #008421;
}

.submission-block p {
  font-size: 1rem;
  color: #1C1C1C;
  margin-bottom: 1.2rem;
}

.submission-block .submit-btn {
  background-color: #008421;
  color: #fff;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.submission-block .submit-btn:hover {
  background-color: #006f1c;
}

/* Section + Link Blocks */
.section {
  margin: 20px;
}

h2 {
  border-bottom: 2px dotted #000;
  padding-bottom: 10px;
}

.container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.link-box {
  border: 1px solid #000;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  flex: 1 1 calc(33.333% - 40px);
  box-sizing: border-box;
  background-color: #ffffff;
}

.link-header {
  background-color: #1C1C1C;
  color: #ffffff;
  padding: 10px;
  font-weight: bold;
}

.link-content,
.link-content2 {
  padding: 10px;
}

.link-content {
  height: 250px;
}

.link-content2 {
  height: 150px;
}

.link-footer {
  background-color: #008421;
  color: white;
  padding: 10px;
}

.link-footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.link-footer a:hover {
  text-decoration: underline;
}

/* Expert Team */
.expert-team {
  background: linear-gradient(to bottom, #008421, #004d00);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 0;
}

.expert-team h2 {
  margin: 0 0 20px;
}

/* Editorial CTA Button */
.editorial-team {
  background-color: #1C1C1C;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

.editorial-team:hover {
  background-color: #2b2b2b;
}

/* Meet the Editors Button */
.meet-editors-button {
  display: inline-block;
  background-color: #008421;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.meet-editors-button:hover {
  background-color: #006f1c;
}

/* Homepage Image + About Block */
.pkp_structure_main {
  display: flex;
}

.homepage_image {
  flex: 0 0 30%;
}

.homepage_image img {
  width: 100%;
  height: auto;
}

.homepage_about {
  flex: 0 0 70%;
  padding-left: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .link-box {
    flex: 1 1 calc(45% - 40px);
  }
}

@media (max-width: 768px) {
  .link-box {
    flex: 1 1 100%;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .expert-team {
    padding: 20px 10px;
  }

  .editorial-team {
    font-size: 14px;
    padding: 8px 16px;
  }

  .block_make_submission .content {
    height: 300px;
  }

  .editorial-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .editorial-table img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .link-header, .link-footer {
    padding: 8px;
  }

  .link-content,
  .link-content2 {
    padding: 8px;
    height: auto;
  }

  .editorial-team {
    font-size: 12px;
    padding: 6px 12px;
  }

  .block_make_submission .content {
    height: 200px;
  }

  .meet-editors-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}
