/*
Theme Name: Jaida
Theme URI: https://wordpress.com/themes/jaida/
Description: A WordPress block theme made for blogging.
Version: 1.0.4
Author: Automattic
Author URI: https://automattic.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jaida
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline
  > .wp-block-button__link:not(.has-background):hover {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--background);
  border-color: var(--wp--preset--color--secondary);
}

/**
 * Currently table styles are only available with 'wp-block-styles' 
 * theme support (block css) thus the following needs to be included
 * since 'wp-block-styles' aren't used for this theme.
 * https://github.com/WordPress/gutenberg/issues/45065
 */
.wp-block-table thead {
  border-bottom: 3px solid;
}
.wp-block-table tfoot {
  border-top: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
  padding: var(--wp--preset--spacing--30);
  border: 1px solid;
  word-break: normal;
}
.wp-block-table figcaption {
  font-size: var(--wp--preset--font-size--small);
  text-align: center;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 0.0625em !important;
  text-underline-offset: 0.15em;
}

.wp-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.footer-pages-grid .wp-block-navigation__container {
  column-count: 2;
  column-gap: 2rem;
}

.wp-overflow-hidden {
	overflow: hidden;
}

@media (max-width: 600px) {
  .footer-pages-grid .wp-block-navigation__container {
    column-count: 1;
  }
}
