/*
Theme Name: Neve Child
Theme URI: https://yoursite.com/
Description: Child theme for Neve
Author: Fabio
Template: neve
Version: 1.0.0
*/

/* You can also add custom CSS here */
/* Stack glossary nav vertically on small screens */
/* Glossary archive: hide author & date meta only */
.post-type-archive-glossary .entry-meta,
.post-type-archive-glossary .nv-meta-list,
.post-type-archive-glossary .posted-by,
.post-type-archive-glossary .posted-on {
  display: none !important;
}
/* Glossary nav formatting */
.nv-single-glossary .glossary-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

.nv-single-glossary .glossary-navigation a {
  text-decoration: none;
  font-weight: 500;
}

.glossary .entry-title{
	margin-top:20px;
}

.nv-iframe-embed{
	margin-bottom:20px;
}

/* On mobile, stack vertically */
@media (max-width: 600px) {
  .nv-single-glossary .glossary-navigation {
    flex-direction: column;
    align-items: stretch;
  }
  .nv-single-glossary .glossary-navigation a {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
  }
}


@media only screen and (max-width: 600px) {
  .nv-single-glossary .glossary-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nv-single-glossary .glossary-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,.08); /* subtle tap target outline */
    border-radius: 6px;
  }

  /* Optional: ensure no floats interfere */
  .nv-single-glossary .glossary-nav-prev,
  .nv-single-glossary .glossary-nav-next {
    float: none !important;
    width: 100%;
  }
}
