/* === FULL-WIDTH HEADER IMAGE (Responsive & Centered) === */
.pkp_site_name .is_img img {
  width: 100%;                /* Make image fill full container width */
  height: auto;               /* Maintain aspect ratio */
  max-height: none !important; /* Remove artificial height limit */
  object-fit: cover;          /* Ensures image fills width without distortion */
  object-position: center;    /* Keeps image centered if cropped */
  display: block;             /* Remove inline gaps */
  margin: 0 auto;
}

/* Add optional background container for alignment and contrast */
.pkp_site_name_wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;           /* Ensures image doesn’t overflow */
  margin: 0;
  padding: 0;
}

/* Optional subtle shadow or divider under header */
.pkp_site_name_wrapper::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #1E6292, #164d74);
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  .pkp_site_name .is_img img {
    object-fit: contain;      /* Prevents excessive cropping on tablets */
  }
}

@media (max-width: 768px) {
  .pkp_site_name .is_img img {
    object-fit: contain;
  }
}




/* === Remove Blue Background Behind Header Image === */
.pkp_head_wrapper,
.pkp_site_name_wrapper {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* === Ensure Header Image Fills Full Width and Sits on White (or page) Background === */
.pkp_site_name .is_img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Optional: Remove top blue line or spacing if any */
.pkp_structure_head {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}





/* === Fix Top-Right Menu Text Color (after removing blue background) === */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user_wrapper .pkp_search button,
.pkp_navigation_user_wrapper .pkp_search input {
  color: #1E6292 !important; /* Deep blue (Agrapana Media color) */
  font-weight:700
}

/* On hover – make it slightly darker for contrast */
.pkp_navigation_user_wrapper a:hover {
  color: #164d74 !important;
}

/* Optional: make search icon more visible */
.pkp_navigation_user_wrapper .pkp_search button svg {
  fill: #1E6292 !important;
}






/* === Blue Rectangle Box (Editorial Links - Agrapana Media Style) === */
.blue-box {
  background-color: #1E6292; /* Agrapana Media deep blue */
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin: 10px 0;
  transition: background-color 0.3s ease;
}

/* Remove extra space from paragraphs */
.blue-box p {
  margin: 0;
  padding: 0;
}

/* Divider line between links */
.blue-box a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* semi-transparent white line */
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Remove the last divider */
.blue-box a:last-child {
  border-bottom: none;
}

.blue-box:hover {
  background-color: #164d74; /* darker shade on hover */
}

.blue-box a:hover {
  color: #FFD700; /* gold link color on hover */
  background-color: rgba(255, 255, 255, 0.1); /* soft highlight effect */
}
