/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.0
*/


/*
 Improve touch target size for text links (GenerateBlocks)
 Mobile touch-target fix:
 - Keep links inline-sized (no empty-area clicks)
 - Use parent line-height for accessibility audit geometry
*/
@media (max-width: 768px) {
  .gb-text a {
    display: inline-block; 
    padding: 0 4px;
    min-width: 24px;
    min-height: 24px;
  }
  .gb-text p {
    line-height: 32px;  /* keep separation */
  }
}

/* Body text links: subtle underline, visible on hover */
.dynamic-entry-content a[href] {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 10%, transparent);
  text-underline-offset: 0.12em;
}

.dynamic-entry-content a[href]:hover,
.dynamic-entry-content a[href]:focus-visible {
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
}

/* Post title */
.single h1 {
  word-break: keep-all;
}

/* Subheadings */
.dynamic-entry-content h2,
.dynamic-entry-content h3 {
  word-break: keep-all;
}

/* body text */
.dynamic-entry-content p {
  text-align: left;
  word-break: normal;
  hyphens: none;
}

/* Footer Menu */
.footer-menu a {
    display: inline-block;
    padding: 0;
}

/* Footer Archives (Categories) */
ul.footer-archives {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.footer-archives li {
    margin-bottom: 0.75rem;
}

ul.footer-archives > li.cat-item {
    margin-bottom: 0;
}

ul.footer-archives li:last-child {
    margin-bottom: 0;
}

ul.footer-archives li::marker {
    content: none;
}

ul.footer-archives a {
    color: var(--base-3);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul.footer-archives a:hover,
ul.footer-archives a:focus {
    color: var(--base);
    text-decoration: none;
}
