.npl-blog-glass-plate {
  padding: 90px 0px 0px 12.2%;
  position: relative;
  height: 245px;
  margin-bottom: 60px;
}

.npl-blog-glass-plate h1 {
  font-size: clamp(var(--fourteen), 8vw, var(--sixtySix));
  font-style: italic;
  font-weight: var(--menuWeight);
  color: var(--7a);
  font-family: "libre baskerville";
}

/* header  */
.popShow {
  border: none;
  outline: none;
  height: 100vh;
  width: 100%;
  background-color: transparent;
  /* opacity: 0.8; */
  z-index: 999;
}

.background-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(123, 118, 118, 0.9);
  opacity: 0.8;
  z-index: 1;
}

.classsection {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3/2;
  /* background-color: var(--gray2); */
  max-width: 740px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: relative;
  z-index: 2;
}

.class-insideField legend {
  position: absolute;
  top: -13px;
  right: 30px;
}

.class-insideField {
  height: 100%;
  padding: 20px;
  background-color: var(--41);
}

.class-insideField fieldset {
  padding: 5px;
  position: relative;
  height: 100%;
}

.popbutton {
  background-color: var(--41);
  outline: none;
  border: none;
  cursor: pointer;
  color: var(--df);
}

.popcontent {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.popcontent p,
.popcontent ul li {
  font-family: var(--barlow);
  font-size: clamp(0.6rem, 2vw, var(--fifteen));
  line-height: var(--barlowHeight);
  font-weight: var(--menuWeight);
  color: #000000;
}

.popcontent ul {
  padding: 0 25px;
}

.popdownload {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border: none;
  border-top: 1px solid var(--df);
  border-bottom: 1px solid var(--df);
  padding: 5px 0;
}

.popdownload p {
  font-family: "libre baskerville";
  font-size: 1.5rem;
  font-style: italic;
  color: var(--df);
}

.popdownload button {
  border: none;
  outline: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: transparent;
}

.popdownload img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .classsection {
    height: fit-content;
    width: 100%;
  }

  .class-insideField {
    height: fit-content;
  }

  .popcontent {
    padding: 10px;
    justify-content: center;
    gap: 5px;
  }
}

.npl-update-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(15px, 1fr) 240px;
  max-width: 1185px;
  margin: 0 0 0 11%;
}

.npl-update-header {
  grid-column: 1;
  max-width: 740px;
  margin: 0 0 0 2.5%;
  display: flex;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}

.npl-update-dot {
  color: var(--gray2);
  position: relative;
}

.npl-update-dot::before {
  content: "•";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translate(-50%, -55%);
  color: var(--gray2);
  font-size: var(--thirtySix); /* Customize bullet size independently */
  line-height: 1;
}
.npl-update-header li a {
  font-size: var(--twentyFive);
  font-weight: var(--dblXl);
  color: var(--gray2);
  font-family: var(--barlow);
  line-height: var(--barlowHeight);
  cursor: pointer;
  opacity: 1;
}

.npl-update-header li a:hover {
  opacity: 0.85;
}

.npl-update-header li .npl-update-active {
  color: var(--7b);
  opacity: 1 !important;
}

.npl-blog-section-p {
  max-width: 740px;
  font-size: var(--twentyTwo);
  font-family: var(--libre);
  line-height: var(--libreHeight);
  font-style: italic;
  color: black;
  font-weight: var(--sm);
}
/* end header */

.npl-blog-section {
  display: grid;
  width: 100%;
  max-width: 1300px;
  grid-template-columns: minmax(0px, 740px);
  padding: 60px 0 40px 0;
  font-size: 20px;
  gap: 40px;
  font-family: "libre baskerville";
  font-weight: 300;
  /* height: 130px; */
  color: gray;
  margin-left: 13.2%;
}

.npl-blog-section-category-headings {
  /* grid-column: 2; */
  grid-column: 1;
}

.npl-blog-section-category-box {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  border: none;
  border-top: 1px solid var(--gray2);
  border-bottom: 1px solid var(--gray2);
}

.npl-blog-all-blogs {
  font-weight: var(--xl);
  font-family: var(--barlow);
  font-size: var(--eighteen);
  color: var(--7b);
}

.npl-blog-section-category-box button {
  outline: none;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.npl-blog-icon-all {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: var(--sm);
  font-family: var(--barlow);
  font-size: var(--eighteen);
  visibility: hidden;
}

.npl-blog-icon-all img {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.npl-blog-icon-all p {
  font-size: var(--eighteen);
  font-weight: var(--xl);
  color: var(--gray2);
}

.npl-blog-section-resource {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.npl-same-container {
  display: flex;
  flex-direction: column;
  gap: 90px;
  height: 100%;
  max-height: 1472px;
  justify-content: space-between;
}

.npl-sort-brochure {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 90px;
  justify-content: space-between;
}

.npl-blog-section-brochure {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
}

.npl-blog-section-brochure a {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.8;
  width: fit-content;
}

.npl-blog-section-brochure a:hover {
  opacity: 1;
}

.npl-blog-section-brochure a h1 {
  font-size: var(--twentyFive);
  font-weight: var(--xl);
  color: var(--71);
  font-family: var(--barlow);
}

.npl-blog-section-brochure a img {
  width: var(--medButton);
  height: var(--medButton);
  object-fit: cover;
}

.npl-blog-section-brochure p,
.npl-press-room-subscribe p {
  font-size: var(--fourteen);
  font-weight: var(--menuWeight);
  font-family: var(--libre);
  line-height: var(--libreHeight);
}

.npl-blog-section-sort {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
}

.npl-blog-section-sort-underline {
  border: none;
  padding: 5px;
  border-bottom: 1px solid var(--7b);
}

.npl-blog-section-sort-underline p,
.npl-blog-list-contribute p a,
.npl-blog-update-year .npl-update-archive p {
  color: var(--71);
  font-weight: var(--menuWeight);
  font-family: var(--libre);
  line-height: var(--libreHeight);
}

.npl-blog-section-sort p,
.npl-blog-section-resource p {
  font-style: italic;
}

.npl-blog-section-sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.npl-blog-section-sort-buttons button {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1px 3px;
  font-size: var(--fourteen);
  font-family: "Barlow";
  outline: none;
  border: none;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  /* transition: 0.3s ease-in-out; */
  font-weight: 200;
}

.custom-button[data-color="gray"].clicked {
  background-color: var(--7a);
  color: white;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
  /* transition: 0.3s ease-in-out; */
}

.custom-button:hover {
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}

.npl-blog-section-input-button {
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  color: black;
}

.npl-blog-update-year {
  display: flex;
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: black;
}

button:hover {
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .npl-update-header li a {
    font-size: clamp(var(--sixteen), 4vw, var(--twentyFive));
  }
  .npl-update-header {
    gap: 20px;
  }
  .npl-update-dot::before {
    left: -10px;
  }
}
