/*
Theme Name: 2025 Child
Template: twentytwentyfive
*/

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* CUSTOM */

.vdp-tabs ul, .vdp-playlist ul { list-style: none; }
.vdp-tabs ul li::before, .vdp-playlist ul li::before { content: none; }
.vdp-tabs ol, .vdp-playlist ol { color: inherit; }
.vdp-tabs ol li::before, .vdp-playlist ol li::before { color: inherit; }

/* Responsive contact button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Auto-scale text & padding */
  font-size: clamp(14px, 3.2vw, 18px);
  padding: clamp(8px, 1.6vw, 12px) clamp(14px, 3.2vw, 20px);
  line-height: 1.2;

  /* Prevent forced circle styles */
  width: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0;
  white-space: nowrap;
  border-radius: 9999px !important; /* pill, not circle */
  box-sizing: border-box;
}

/* Optional: slightly tighter on very small phones */
@media (max-width: 360px) {
  .btn-contact {
    font-size: clamp(13px, 4vw, 16px);
    padding: clamp(7px, 2.5vw, 10px) clamp(12px, 5vw, 16px);
  }
}
