/*
Theme Name: ASC Theme
Theme URI:
Author:
Author URI:
Description: Twenty Twenty-Five の子テーマ。
Template: twentytwentyfive
Version: 1.3.18
Requires PHP: 7.2
Text Domain: asc-theme
*/

/*
 * Only show a focus ring for keyboard navigation. Some browsers apply a
 * default outline on plain :focus (e.g. after a mouse click on a link or
 * button); resetting it here and re-declaring :focus-visible afterwards
 * (same specificity, later in the cascade) keeps the keyboard ring from
 * tokens/base.css working while dropping the click-triggered one.
 */
a:focus,
button:focus,
input:focus,
select:focus,
[tabindex]:focus {
	outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--border-focus);
	outline-offset: 2px;
}

/*
 * The parent theme's global styles add a margin-block-start between every
 * top-level block inside a flow/constrained layout (WordPress's default
 * block gap). Our page sections already size their own vertical rhythm via
 * padding, so that extra margin only shows up as a stray gap in the page
 * background whenever two adjacent sections use different background
 * colors. Every custom section pattern renders as a <section>, so reset the
 * gap for that tag specifically without touching normal group blocks.
 */
.is-layout-flow > section,
.is-layout-constrained > section {
	margin-block-start: 0;
}
