/* Mikey Gear Cards (stacked) */
.mikey-gear-card{
  display:flex;
  gap:16px;
  align-items:stretch;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:14px;
  margin:14px 0;
}

.mikey-gear-imglink{
  flex:0 0 auto;
  width:140px;
}

.mikey-gear-img{
  width:140px;
  height:140px;
  display:block;
  border-radius:14px;
  object-fit:cover;      /* makes all images same size */
  object-position:center;
  background:rgba(0,0,0,.06);
}

.mikey-gear-content{
  flex:1 1 auto;
  min-width:0;
}

.mikey-gear-title{
  margin:0 0 6px 0;
  font-size:1.1rem;
  line-height:1.25;
}

.mikey-gear-title a{
  text-decoration:none;
}

.mikey-gear-desc{
  margin:0 0 10px 0;
  opacity:.9;
}

.mikey-gear-btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.18);
  text-decoration:none;
  font-weight:700;
}

@media (max-width:600px){
  .mikey-gear-card{ flex-direction:column; }
  .mikey-gear-imglink{ width:100%; }
  .mikey-gear-img{ width:100%; height:220px; }
}

/* MOBILE ONLY: hide hamburger icon, show just MENU text */
@media (max-width: 782px) {

  /* Keep the button visible */
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-open-button {
    display: inline-flex !important;
    align-items: center;
    padding: 10px 14px;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    gap: 0; /* no extra spacing since icon is hidden */
  }

  /* Hide the hamburger (SVG) */
  .wp-block-navigation__responsive-container-open svg,
  .wp-block-navigation__responsive-container-open-button svg {
    display: none !important;
  }

  /* Show text only */
  .wp-block-navigation__responsive-container-open::after,
  .wp-block-navigation__responsive-container-open-button::after {
    content: "MENU";
    font-size: 14px;
  }
}

/* Even recipe-card columns */
.recipe-grid {
	display: flex;
	align-items: stretch;
}

.recipe-grid > .wp-block-column {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Keep headings aligned */
.recipe-grid h3 {
	min-height: 3.2em;
	margin-top: 0;
}

/* Make every image the same shape */
.recipe-grid .wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* Keep captions more consistent */
.recipe-grid figcaption {
	min-height: 3em;
}

/* Let the description fill the available space */
.recipe-grid > .wp-block-column > p.has-medium-font-size {
	flex-grow: 1;
}

/* Push every button to the bottom */
.recipe-grid .wp-block-buttons {
	margin-top: auto;
	padding-top: 15px;
}

/* Stack normally on phones */
@media (max-width: 781px) {
	.recipe-grid {
		display: block;
	}

	.recipe-grid h3,
	.recipe-grid figcaption {
		min-height: 0;
	}
}