

body.index-page .main-container,
body.index-page section.centerCol,
body.index-page section.leftCol,
body.index-page section.rightCol {
  background-color: transparent !important;
}

body.index-page .recipe {
    border: 1px solid #2f2b1e;
    background-color: #c3bba2;
    flex: 0 48%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-radius: 8px;
    height: 435px;
}

body.index-page .blog-item {
  display: flex;
  flex-direction: column; /* 🔁 stack image and text vertically */
  align-items: center;
  margin-bottom: 16px;
  text-align: center; /* optional: centers the text */
  max-width: 160px;
  padding: 8px;
}

body.index-page .blog-item a {
  text-decoration: none;
  color: inherit;
}

body.index-page .blog-thumbnail {
  width: 100%;
  max-width: 120px; /* constrain width */
  height: auto;
  border-radius: 6px;
  margin-bottom: 8px;
}

body.index-page .blog-content h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #a14d00;
}

body.index-page .blog-date {
  font-size: 0.85rem;
  color: #644e3b;
}

/* BLOG BUTTON FIXES */
body.index-page .blog-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}

body.index-page .blog-link img.blog-thumbnail {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 0.5em;
  box-shadow: 0 0 4px rgb(0 0 0 / 20%);
}

body.index-page .title-button {
  background-color: #d2b9ab;
  border: 2px;
  padding: 6px 10px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  font-family: Rockwell, serif;
  color: #4e3629;
  transition: background-color 0.2s ease;
  text-align: center;
}

body.index-page .title-button:hover {
  background-color: #e4b792;
}

body.index-page .blog-detail h2 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #5e3e2f;
  text-align: center;
}

body.index-page .blog-detail .blog-date {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1em;
}

body.index-page .blog-detail .blog-image img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 1em auto 1em;
}

body.index-page .blog-detail .closeout-buttons {
  text-align: center;
  margin-top: 2em;
}

body.index-page .blog-detail .close-button {
  background-color: #f5d1b0;
  font-family: Rockwell, serif;
  font-weight: bold;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

body.index-page .blog-detail .close-button:hover {
  background-color: #eec09c;
}

body.index-page .blog-header {
  position: relative;
  text-align: center;
}

body.index-page .blog-header h2 {
  font-size: 2rem;
  color: #5e3b1d;
  margin-bottom: 0.5rem;
}

body.index-page .blog-header .close-box {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #5e3b1d;
  background: none;
  border: none;
}

body.index-page .blog-date {
  color: #7a6652;
  font-style: italic;
  margin-bottom: 1rem;
}


body.index-page .slide-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 600px;
  overflow: hidden;
  margin: 0px 0px 60px;
}


body.index-page #slideshow-placeholder.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

body.index-page #slideshow-placeholder {
  padding-bottom: 2rem; /* or whatever margin you want below slides */
}


body.index-page .slideshow-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: -4rem;
  padding-bottom: 40px;
}

body.index-page .slideshow-controls button {
  font-size: 1.8rem;
  background-color: #f5efe6;
  border: 2px solid #8B3A3A;
  color: #4b2e2e;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  cursor: pointer;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background-color 0.2s ease;
}

body.index-page .slideshow-controls button:hover {
  background-color: #f1d8c4;
}

/*body.index-page .slide-logo-icon {
  height: 2.5em;
  vertical-align: middle;
}
*/
body.index-page .video-demo-wrapper {
  text-align: center;
}

/* body.index-page #video-modal::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: -1;
} */

body.index-page #video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1300px;
  height: 760px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgb(0 0 0 / 60%);
  padding: 10px;
  text-align: center;
}

body.index-page #video-modal iframe {
  width: 1280px;
  height: 720px;
  border: none;
  display: block;
  margin: 0 auto;
}

body.index-page .close-video-modal {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 2rem;
  color: #533;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}


body.index-page .slide-left-stack .slide-step-label {
  align-self: center;
}

/*body.index-page .slide-image-stack, .large-feature-image, .slide-featured-image {
  display: flex;
  flex-direction: column;
  align-items: center; /* 👈 This is what centers the label 
}*/

body.index-page .slide-5-feature-image {
  width: 650px;
  max-width: 90vw;
  margin: 0 auto;
}

body.index-page .slide-5-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
}

/* Slide 6 logo row styling */
body.index-page .slide-tech-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

body.index-page .slide-tech-logo-row img {
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 1px 2px rgb(0 0 0 / 10%));
}

/* Slide 6 logo row styling */
body.index-page .slide-tech-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

body.index-page .slide-tech-logo-row img {
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 1px 2px rgb(0 0 0 / 10%));
}


#slideshow-placeholder.fade-in {
  animation: fadeInSlide 0.6s ease-in-out;
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.index-page .slideshow-controls button {
  font-family: Rockwell, Georgia, serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #4b2e2e;
  background-color: #f5efe6;
  border: 2px solid #8B3A3A;
  padding: 0.6rem 1.2rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* --- Unified slideshow cleanup for brass-framed layout --- */
body.index-page .slide-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  max-width: none;
  max-height: none;
  transform: none;
  padding: 0 !important;
}

body.index-page .slide-card-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.index-page .slide-image-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

body.index-page .slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* so brass border is fully visible */
  border: none;
}

body.index-page .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.35);
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

/* ────────────────────────────────────────────────
   WHAT WE DO SECTION — scoped only to index page
   ──────────────────────────────────────────────── */

body.index-page #what-we-do-section,
body.index-page #how-it-works-section,
body.index-page #featured-user-section,
body.index-page #creator-bio-section,
body.index-page #pressroom-section,
body.index-page #subscription-overview-section,
body.index-page #privacy-philosophy-section,
body.index-page #mini-faq-section,
body.index-page #personas-section,
body.index-page #why-not-mobile-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  max-width: 1000px;  /* matches centerCol width */
  box-sizing: border-box;
}



/* Paragraph styling */
body.index-page #what-we-do-placeholder p,
body.index-page #how-it-works-placeholder p,
body.index-page #subscription-overview-placeholder p,
body.index-page #privacy-philosophy-placeholder p,
body.index-page #personas-placeholder p,
body.index-page #why-not-mobile-placeholder p {
  margin: 0 0 1rem 0;
}

/* ────────────────────────────────────────────────
   WHAT WE DO — FINAL VISUAL STYLING
   Matches blog-entry look + plate header
   ──────────────────────────────────────────────── */

   body.index-page #what-we-do-placeholder,
   body.index-page #how-it-works-placeholder,
    body.index-page #featured-user-placeholder,
    body.index-page #creator-bio-placeholder,
    body.index-page #pressroom-placeholder,
    body.index-page #subscription-overview-placeholder,
    body.index-page #privacy-philosophy-placeholder,
    body.index-page #mini-faq-placeholder,
    body.index-page #personas-placeholder,
    body.index-page #why-not-mobile-placeholder {
    background-color: #cfc6b0;
    border: 2px solid #6b5a43;
    border-radius: 18px;
    padding: 30px 40px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 18%);
    font-family: Rockwell, "Roboto Slab", serif;
    font-size: 1.2rem;
    color: #4b3218;
    line-height: 1.55;
    text-align: left;
}

  /* Hero banner overlay: match the 'What We Do' copy box styling */
  body.index-page #ios-app-banner-overlay {
    background-color: #cfc6b0;
    border: 2px solid #6b5a43;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 18%);
    font-family: Rockwell, "Roboto Slab", serif;
    font-size: 0.95rem;
    color: #4a3524;
    line-height: 1.55;
    text-align: center;
  }

  body.index-page #ios-app-banner-overlay .ios-app-overlay-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  body.index-page #ios-app-banner-overlay .ios-app-overlay-copy {
    flex: 1 1 160px;
    min-width: 0;
  }

  body.index-page #ios-app-banner-overlay .ios-app-overlay-qr {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 10px;
    border: 2px solid #6b5a43;
    background-color: #cfc6b0;
  }

  body.index-page #ios-app-banner-overlay .ios-app-overlay-actions {
    margin-top: 12px;
  }

  body.index-page #ios-app-banner-overlay .mobile-banner-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    /* Match the site's button look (similar to the index alert OK button) */
    background-color: #e8c99e;
    border: 2px solid #000;
    color: #000;
    font-family: Rockwell, monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
    text-shadow: 1px 1px 4px rgb(255 255 255 / 100%),
                 -1px -1px 4px rgb(255 255 255 / 100%),
                 0 0 6px rgb(255 255 255 / 100%);
  }

  body.index-page #ios-app-banner-overlay .mobile-banner-button:hover {
    background-color: #edd5b2;
  }


/* Brass-style header plate (similar to blog headers) */
body.index-page #what-we-do-placeholder h2,
body.index-page #how-it-works-placeholder h2,
body.index-page #featured-user-placeholder h2,
body.index-page #creator-bio-placeholder h2,
body.index-page #pressroom-placeholder h2,
body.index-page #subscription-overview-placeholder h2,
body.index-page #privacy-philosophy-placeholder h2,
body.index-page #mini-faq-placeholder h2,
body.index-page #personas-placeholder h2,
body.index-page #why-not-mobile-placeholder h2 {
  font-family: Rockwell, serif;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.4px;
  color: #322114;
  background: linear-gradient(#d2aa86, #bf8e68);
  border: 2px solid #6f4527;
  border-radius: 12px;
  padding: 8px 16px;
  text-shadow: 0 1px 0 rgb(255 255 255 / 35%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 55%),
    0 3px 10px rgb(0 0 0 / 15%);
  transition: background .18s ease, box-shadow .18s ease, transform .08s ease;
}

/* Recent Recipes heading — match brass header plate style */
body.index-page #public-recipes-placeholder h2.recent-recipes-title {
    font-family: Rockwell, serif;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.4px;
    color: #322114;
    background: linear-gradient(#d2aa86, #bf8e68);
    border: 2px solid #6f4527;
    border-radius: 12px;
    padding: 8px 16px;
    width: 100%;
    margin: 10px 0 16px;
    text-shadow: 0 1px 0 rgb(255 255 255 / 35%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 55%),
      0 3px 10px rgb(0 0 0 / 15%);
}


/* Paragraph text — matches blog reading flow */
body.index-page #what-we-do-placeholder p,
body.index-page #how-it-works-placeholder p,
body.index-page #subscription-overview-placeholder p,
body.index-page #privacy-philosophy-placeholder p,
body.index-page #personas-placeholder p,
body.index-page #why-not-mobile-placeholder p {
  font-family: Rockwell, "Roboto Slab", serif;
  font-size: 1.05rem;
  color: #4a3524;
  line-height: 1.55;
  margin: 0 0 1rem 0;
}

/* ────────────────────────────────────────────────
   WHAT WE DO — IMAGE/TEXT BLOCKS
   Alternating left/right layout
   ──────────────────────────────────────────────── */

body.index-page #what-we-do-placeholder .wwd-block,
body.index-page #how-it-works-placeholder .wwd-block,
body.index-page #subscription-overview-placeholder .wwd-block,
body.index-page #privacy-philosophy-placeholder .wwd-block,
body.index-page #personas-placeholder .wwd-block,
body.index-page #why-not-mobile-placeholder .wwd-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0;
}

body.index-page #what-we-do-placeholder .wwd-block img,
body.index-page #how-it-works-placeholder .wwd-block img,
body.index-page #subscription-overview-placeholder .wwd-block img,
body.index-page #privacy-philosophy-placeholder .wwd-block img,
body.index-page #personas-placeholder .wwd-block img,
body.index-page #why-not-mobile-placeholder .wwd-block img {
  width: auto;
  max-width: 256px;
  max-height: 256px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  object-fit: cover;
}

body.index-page #what-we-do-placeholder .wwd-block .wwd-text,
body.index-page #how-it-works-placeholder .wwd-block .wwd-text,
body.index-page #subscription-overview-placeholder .wwd-block .wwd-text,
body.index-page #privacy-philosophy-placeholder .wwd-block .wwd-text,
body.index-page #personas-placeholder .wwd-block .wwd-text,
body.index-page #why-not-mobile-placeholder .wwd-block .wwd-text {
  width: 58%;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a3524;
}

/* reverse layout */
body.index-page #what-we-do-placeholder .wwd-image-right,
body.index-page #how-it-works-placeholder .wwd-image-right,
body.index-page #subscription-overview-placeholder .wwd-image-right,
body.index-page #privacy-philosophy-placeholder .wwd-image-right,
body.index-page #personas-placeholder .wwd-image-right,
body.index-page #why-not-mobile-placeholder .wwd-image-right {
  flex-direction: row;   /* text left, image right */
}


/* mobile friendly */
@media (max-width: 780px) {
  body.index-page #what-we-do-placeholder .wwd-block,
  body.index-page #how-it-works-placeholder .wwd-block,
  body.index-page #subscription-overview-placeholder .wwd-block,
  body.index-page #privacy-philosophy-placeholder .wwd-block,
  body.index-page #personas-placeholder .wwd-block,
  body.index-page #why-not-mobile-placeholder .wwd-block {
    flex-direction: column;
    align-items: center;
  }
  body.index-page #what-we-do-placeholder .wwd-block img,
  body.index-page #how-it-works-placeholder .wwd-block img,
  body.index-page #what-we-do-placeholder .wwd-block .wwd-text,
  body.index-page #how-it-works-placeholder .wwd-block .wwd-text,
  body.index-page #subscription-overview-placeholder .wwd-block .wwd-text,
  body.index-page #privacy-philosophy-placeholder .wwd-block .wwd-text,
  body.index-page #personas-placeholder .wwd-block .wwd-text,
  body.index-page #why-not-mobile-placeholder .wwd-block .wwd-text {
    width: 100%;
  }
}


/* ===========================================
   UNIFIED SECTION WRAPPER FOR ALL CONTENT BOXES
   (what-we-do, featured-user, creator-bio, future sections)
   =========================================== */

/* FEATURED USER: adopt What-We-Do column spacing */
body.index-page .featured-user-layout {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

body.index-page .featured-user-profile,
body.index-page .featured-user-recipe {
  flex: 1;
}

body.index-page .featured-user-photo img {
  max-width: 256px;
  border-radius: 6px;
  display: block;
  margin-bottom: 20px;
}

/* Featured User – unified layout */
body.index-page .featured-user {
  display: flex;
  flex-direction: column;
}

body.index-page .featured-user-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

body.index-page .featured-user-profile,
body.index-page .featured-user-recipe {
  flex: 1;
}

body.index-page .featured-user-photo img {
  max-width: 256px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  margin-bottom: 16px;
}

body.index-page .featured-user-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

body.index-page .featured-user-tagline {
  font-weight: 600;
  margin-bottom: 12px;
}

body.index-page .featured-recipe-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

body.index-page .featured-recipe-link {
  font-weight: 600;
  color: #c2692a;
  text-decoration: underline;
}

@media (max-width: 780px) {
  body.index-page .featured-user-layout {
    flex-direction: column;
  }
}

body.index-page.page-index .featured-user-recipe-image {
    margin: 18px 0 16px 0;
    text-align: center;
}

body.index-page.page-index .featured-user-recipe-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

/* Center the creator bio image */
body.index-page #creator-bio-placeholder .creator-bio-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

body.index-page #creator-bio-placeholder img {
  display: block;
  max-width: 520px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

body.index-page .press-release-entry {
  margin-bottom: 36px;
}

body.index-page .press-divider {
  border: none;
  border-top: 1px solid #8a6a4a;
  margin: 24px 0;
}


/* ────────────────────────────────────────────────
   Recent Public Recipes (left column)
   Reuses mobile recipe-tile styling
   ──────────────────────────────────────────────── */

body.index-page #public-recipes-placeholder .public-recipes-placeholder {
  max-height: 1000px;
  overflow-y: auto;
  padding: 8px 8px 10px 8px;
}

/* Tile container – same as mobile .mobile-recipe-tile */
body.index-page #public-recipes-placeholder .mobile-recipe-tile {
  background-color: #fffdf7;
  border: 1px solid #e0caa5;
  border-radius: 8px;
  margin-bottom: 12px;
  padding-left: 12px;
  font-family: "Rockwell", monospace;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

/* Hover effect for public recipe tiles */
/* Amplified hover effect for public recipe tiles */
body.index-page #public-recipes-placeholder .mobile-recipe-tile:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30),
              0 0 6px rgba(200, 154, 104, 0.45); /* brass glow */
  border-color: #b8864a; /* deeper brass */
  background-color: #fff7e8; /* stronger warm lift */
}

/* Thumbnail zoom */
body.index-page #public-recipes-placeholder .mobile-recipe-tile:hover .mobile-recipe-thumb img {
  transform: scale(1.08);
}

body.index-page #public-recipes-placeholder .mobile-recipe-thumb img {
  transition: transform 0.22s ease;
}



body.index-page #public-recipes-placeholder .mobile-recipe-tile {
  transition: transform 0.22s ease,
              box-shadow 0.22s ease,
              border-color 0.22s ease,
              background-color 0.22s ease;
}



/* Text column */
body.index-page #public-recipes-placeholder .mobile-recipe-text {
  flex: 1 1 auto;
  min-width: 0;
}

body.index-page #public-recipes-placeholder .mobile-recipe-text h3 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: #aa7529;
}

body.index-page #public-recipes-placeholder .mobile-recipe-text p {
  font-size: 13px;
  color: #634535;
  margin: 4px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Thumbnail column */
body.index-page #public-recipes-placeholder .mobile-recipe-thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0caa5;
  background-color: #f3e2c2;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.index-page #public-recipes-placeholder .mobile-recipe-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional “no recipes yet” message */
body.index-page #public-recipes-placeholder .public-recipes-empty {
  font-family: Rockwell, "Roboto Slab", serif;
  font-size: 0.95rem;
  color: #5a4127;
  padding: 4px 2px;
}

/* =========================================================
   Homepage section navigation tabs (index page only)
   ========================================================= */

body.index-page #homepage-nav-section {
  margin-top: 10px;
}

/* container row for the tabs inside the brass frame */
body.index-page .homepage-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  padding-left: 0;
  margin: -18px 0 4px; /* pulls tabs up toward the pipe strip */
}

/* overlapping layout, cloned from MyBox look */
body.index-page .homepage-tabs.overlap-tabs {
  white-space: nowrap;
}

/* individual tab buttons */
body.index-page .homepage-tab {
  background-image: url('/images/tabs/steamtabprod.png');
  background-repeat: no-repeat;
  background-size: 140px 100px;
  background-position: center top;
  background-color: transparent;

  height: 100px;         /* matches art */
  min-width: 155px;
  max-width: 160px;

  padding: 30px 0px 5px 0;
  font-family: Rockwell, monospace;
  color: #ffe66d;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  margin-top: 34px;  /* aligns text within tab art */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;

  /* beefed-up “glowy brass” text, cloned from MyBox */
  text-shadow:
    0 0 2px #000,
    0 1px 2px #2b1a0d,
    0 0 6px rgba(255, 235, 130, 0.9),
    0 0 14px rgba(255, 220, 120, 0.7),
    0 0 28px rgba(255, 200, 80, 0.5);
}

/* overlap effect so tabs interlock like the MyBox strip */
body.index-page .homepage-tabs.overlap-tabs .homepage-tab {
  margin-left: -55px;
  z-index: 1;
}

body.index-page .homepage-tabs.overlap-tabs .homepage-tab:first-child {
  margin-left: 0;
}

/* hover + active states (only for the overlapping strip) */
body.index-page .homepage-tabs.overlap-tabs .homepage-tab:hover {
  filter: brightness(1.08);
  z-index: 10;       /* bring the hovered tab above its neighbors */
}

body.index-page .homepage-tabs.overlap-tabs .homepage-tab.active {
  z-index: 5;        /* above base, below hover */
}

/* -------------------------------------------------
   Homepage nav frame: pipe background under tabs
   ------------------------------------------------- */
body.index-page .brass-frame#homepage-nav-placeholder-frame > .bf-grid::before {
  content: "";
  position: absolute;
  inset: var(--bf-plate-inset, 0);
  z-index: 0;
  pointer-events: none;

  /* geometry tuned similarly to MyBox strip */
  width: 91.5%;
  margin-left: 40px;
  margin-top: 36px;
  margin-bottom: 38px;
  border-radius: var(--bf-radius, 0);

  background-image: url("/images/buttonpipebackground.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: contain;
}

/* keep nav content above the decorative strip */
body.index-page .brass-frame#homepage-nav-placeholder-frame > .bf-content {
  position: relative;
  z-index: 1;
}


