/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: Child theme for Twenty Twenty-Five
Author: WordPress Team
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-child
*/

/*
 * Badge for posts younger than 90 days.
 */
.post-new-badge-wrapper {
	margin-bottom: 0.5rem;
	line-height: 1;
}

.post-new-badge {
	display: inline-block;
	background-color: #ffd700;
	color: #000000;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	vertical-align: middle;
}

/*
 * Custom Site Styles / Layout Adjustments
 */
h1 {
	font-family: 'Fira Code';
	text-decoration: none !important;
	font-weight: bold;
	font-size: 32px;
}

h3, .wp-block-latest-posts__post-title {
	font-family: 'Fira Code';
	text-decoration: none !important;
	font-weight: bold;
	color: #044C80;
	font-size: 28px;
}

.wp-block-latest-posts__post-excerpt {
	background: #ffdfb3 !important;
	padding: 20px;
}

@media only screen and (min-width: 980px){
	iframe {
		width: 500px;
		min-height: 516px;
	}
}

@media only screen and (max-width: 980px){
	iframe {
		max-width: 100% !important;
		min-height: 516px;
	}
}

strong { font-weight: 600;}

.wp-block-latest-posts__featured-image {
	display: none;
}

/* Align Weglot shortcode switcher inside Block Navigation */
.wp-block-navigation-item .country-selector {
    display: inline-flex !important;
    align-items: center;
    padding: 0 10px;
    margin: 0;
    vertical-align: middle;
}

/* Ensure the dropdown menu sits correctly underneath */
.wp-block-navigation-item .country-selector .wp-list-lang {
    top: 100% !important;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
}

