/* Start News */
.news-card {
  flex-grow: 1;
  padding: 24px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-container {
  flex: 1 0 0%;
  max-width: 100%;
  height: 500px;
  text-decoration: none;
}

.latest-news-grid {
  display: flex;
  gap: 2rem;
  flex-direction: row;
}

.news-title {
  font-weight: bold;
  color: #06435e !important;
  margin: 0;
  flex-grow: 1;
  overflow: hidden;
  font-size: 20px;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #4a779f;
  text-decoration: none !important;
  flex: 1 1 calc(24% - 1rem);
  justify-content: space-between;
}

.news-date {
  background: #4a779f;
  color: #fff;
  display: inline-block;
  width: 48%;
  padding: 8px;
  font-size: 0.75rem;
}

/* End News */

/* Start Shortcode Header */
.custom-header-wrap-1 {
  color: #fafafa;
  justify-content: center;
  display: flex;
  align-items: center;
  background-color: #06435e;
  width: 100%;
  position: relative;
}

.custom-header-inner-1 {
  width: 70%;
  display: flex;
  padding: 88px 0px;
  min-height: 400px;
  justify-content: space-between;
  gap: 80px;
}

.custom-header-content-1 {
  flex: 3;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-header-wrap-2 {
  justify-content: center;
  display: flex;
  align-items: center;
  background-color: #edf5f8ab;
  width: 100%;
  position: relative;
}


.custom-header-content-2 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 70%;
  padding: 128px 0px;
  min-height: 400px;
  z-index: 10;
}

.custom-header-image-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* End Shortcode Header */

/* Start dot overlay */
.dot-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url("/wp-content/uploads/2025/05/dots-1.png");
  background-repeat: repeat-y;
  background-position: left top;
  opacity: 0.1;
}

.dot-overlay-top::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  content: '';
  background-image: url('/wp-content/uploads/2025/05/dots-1v.png');
  background-position: center bottom;
  z-index: 0;
  opacity: 0.75;
}

/* End dot overlay*/

/* Start Header Buttons*/
.fixed-buttons {
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 1001;
  display: flex;
  gap: 0px;
}

body.admin-bar .fixed-buttons {
  top: 32px;
}

.fixed-buttons a {
  text-decoration: none;
  width: 200px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.fixed-buttons .left-button {
  background-color: #4a779f;
  color: #fafafa;
  border-bottom-left-radius: 10px;
}

.fixed-buttons .right-button {
  background-color: #ea9a27;
  color: #333333;
}

.fixed-buttons a:hover {
  background-color: #fafafa;
  color: #333333;
}

.fixed-buttons .left-button:hover {
  border-bottom: 1px solid #4a779f;
  border-left: 1px solid #4a779f;
}

.fixed-buttons .right-button:hover {
  border-bottom: 1px solid #ea9a27;
}

.fixed-buttons .right-button:hover .doctor-badge {
  color: #fefeff !important;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  ;
  background-color: #000;
  color: #EA9A27;
  border-radius: 50%;
  font-size: 0.8em;
}

@media screen and (max-width: 782px) {
  body.admin-bar .fixed-buttons {
    top: 46px;
  }
}

/* End Header Buttons */
@media (max-width: 768px) {
  .latest-news-grid {
    flex-direction: column;
  }

  .news-item {
    flex: 1 1 100%;
  }

  .custom-header-inner-1 {
    width: 90%;
    padding: 32px 0px;
	gap: 0px;
    flex-direction: column-reverse;
  }

  .custom-header-content-2 {
    width: 90%;
    padding: 32px 0px;
  }

  .dot-overlay::before {
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-image: url("/wp-content/uploads/2025/05/dots-1v.png");
  }
}