/*
Theme Name: UNU Kaltim v2
Theme URI: https://unu-kaltim.ac.id/
Author: UNU Kaltim
Author URI: https://unu-kaltim.ac.id/
Description: Custom block theme for Universitas Nahdlatul Ulama Kalimantan Timur with a teal, orange, and white palette inspired by the official logo.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 8.2
Version: 2.0.0
Text Domain: unu-kaltim
*/

/*
 * Front-end base styles.
 *
 * These replace the handful of rules the theme previously inherited from the
 * Twenty Twenty-Five parent stylesheet, kept here so the theme is self-contained.
 */

a {
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus-visible) {
	outline-width: 3px !important;
	outline-style: solid !important;
	outline-color: var(--wp--preset--color--campus-gold, #fdba12) !important;
	outline-offset: 3px;
}

/* Keep submenu outlines inside the popover. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

.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. */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/* Make the "more" link a block level element on the front. */
.more-link {
	display: block;
}

/* Prevent scrollbars on long preformatted lines. */
:where(pre) {
	overflow-x: auto;
}
