/* Reduce overall header height */
.top-nav-wrapper {
  padding: 6px 0 !important;   /* was likely around 20px or more */
}

/* Align logo and menu vertically in center */
.content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tighten up menu spacing */
.center-main-menu ul.pmenu > li > a {
  padding: 12px 16px !important; /* reduce vertical padding */
  line-height: 0.9;
}

.logofont {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    font-weight: bold;
		letter-spacing: 2px
}

.site-info {
  display: none !important;
}

/* Hide file input, label, and Punch button on desktop ONLY for page ID 58 */
.page-id-58 input[type="file"],
.page-id-58 label,
.page-id-58 button[name="punch"] {
    display: none !important;
}

/* Show all of them again on mobile ONLY for page ID 58 */
@media (max-width: 767px) {
    .page-id-58 input[type="file"],
    .page-id-58 label,
    .page-id-58 button[name="punch"] {
        display: inline-block !important;
    }
}

/* Button shaped links for premiehr page ID 290 */
.premiehr-button-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 28px;
  align-items: stretch;
}

/* Button style */
.premiehr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px; /* pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  transition: transform .08s ease, box-shadow .12s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  background: var(--premiehr-btn-bg, #0b6efd); /* default primary */
  color: var(--premiehr-btn-color, #ffffff);
}

/* Hover/focus */
.premiehr-btn:hover,
.premiehr-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11,110,253,0.12);
  outline: none;
}

/* Secondary look for very long labels */
.premiehr-btn {
  white-space: normal;
  text-align: center;
  padding: 12px 16px;
}

/* Make sure anchor fills the grid cell */
.premiehr-button-links .premiehr-btn {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Responsive tweaks */
@media (max-width: 560px) {
  .premiehr-button-links { gap: 10px; grid-template-columns: 1fr; }
  .premiehr-btn { font-size: 14px; padding: 12px; }
}

/* Apply site-wide */
.wp-block-media-text {
    overflow: hidden; /* keeps image corners rounded */
}

/* Make all pages full-width */
.container,
#content,
#primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
}

.wp-elements-6fd6fc3d3d3405e78beedbfa63db8269,
.wp-elements-867e0351ff92cb9890901f525fddf0ae {
    border-radius: 90px;
    padding: 30px;
}

/* Buttons on page ID 591 */
.page-id-591 .wp-element-button {
    border-radius: 90px;
    padding: 15px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: add hover effect for better interactivity */
.page-id-591 .wp-element-button:hover {
    transform: translateY(-3px);
}

/* Make gallery images smaller and adjust spacing */
.page-id-591 .wp-block-gallery.wp-block-gallery-1 {
    max-width: 90%;
		margin: 0 auto;
}

.page-id-591 .wp-block-gallery.wp-block-gallery-1 .wp-block-image img {
    max-width: 80%;
    height: auto;
		border-radius: 30px;
    margin: 6px auto;
}

/* Apply only to Page ID 31 */
.page-id-31 table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap; /* Prevent columns from wrapping badly */
    border-collapse: collapse;
}

.page-id-31 table th,
.page-id-31 table td {
    white-space: nowrap;
}

.page-id-58 .entry-content figure.wp-block-table table {
    box-shadow: 0 5px 5px rgba(0,0,0,0.5);
}

.page-id-591 h1.entry-title {
  color: #ffffff !important;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.9);
}