/* 
 Theme Name:   Pamyra25
 Theme URI:    
 Description:  Pamyra Styles as a chiuldthjme of Twenty Twentyfive
 Author:       steven
 Author URI:   
 Template:     twentytwentyfive
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/*
 * Root Vairables
 */

:root {
	--font-weight--bold: 700;
}


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


/*
 * General Styles
 */

strong,
b {
	font-weight: var(--font-weight--bold);
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

.wp-block-template-part{
	max-width: none;
}


/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}


/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.wp-site-blocks>footer,
.wp-site-blocks>.wp-block-cover {
	margin-block-start: 0;
}


/*
 * BASIC
*/

body {
	color: #191714
}

img {
	width: 100%;
	height: 100%;
}

img.card-image {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	object-fit: cover;
}

:where(figure) {
	margin: 0
}

:where(.wp-site-blocks)>* {
	margin-block-start: 0;
}
.wp-site-blocks > .is-layout-flow > *{
	margin-block-start: 0;
}

/*
 * HEADER
 */

.wp-site-blocks>header {
	position: sticky;
	top: 0;
	z-index: 999;
}

.wp-site-blocks>header img {
	transition: scale 200ms ease-out;
	transform-origin: left center;
}

@media (min-width: 600px) {

	.wp-site-blocks>header.mini .wp-block-navigation li a {
		padding-top: var(--wp--preset--spacing--20);
		padding-bottom: var(--wp--preset--spacing--20);
		padding-left: var(--wp--preset--spacing--20);
		padding-right: var(--wp--preset--spacing--20);
		font-size: var(--wp--preset--font-size--medium);
		transition: all 200ms ease-out;

	}

	.wp-site-blocks>header .wp-block-navigation li a {
		/* border-bottom: 4px solid transparent; */
		padding-top: var(--wp--preset--spacing--50);
		padding-bottom: var(--wp--preset--spacing--50);
		padding-left: var(--wp--preset--spacing--40);
		padding-right: var(--wp--preset--spacing--40);
		text-decoration: none;
		font-size: var(--wp--preset--font-size--large);
	}

	.wp-site-blocks>header .wp-block-navigation li.current-menu-item a {
		/* border-bottom: 4px solid var(--wp--preset--color--primary); */
		color: var(--wp--preset--color--primary) !important;
		font-weight: 700;
	}






	.wp-site-blocks>header img {
		width: 200px;
	}

	.wp-site-blocks>header.mini img {
		scale: 0.5;
	}
}

@media (max-width: 599px) {

	.wp-site-blocks>header ul,
	.wp-site-blocks>header li {
		width: 100%;
	}

	.wp-site-blocks>header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		padding: var(--wp--preset--spacing--30);
		display: block;
		outline: none;
	}

	.wp-site-blocks>header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .current-menu-item .wp-block-navigation-item__content {
		font-weight: 700;
		color: var(--wp--preset--color--primary);
	}



	.wp-site-blocks>header>div {
		padding-top: var(--wp--preset--spacing--30);
		padding-bottom: var(--wp--preset--spacing--30);
	}

	.wp-site-blocks>header img {
		width: 120px;
	}
}

/*
 * MAIN NAVIGATION
*/



/*
 * MEDIA TEXT BLOCK
*/

.wp-block-media-text {
	overflow: hidden;
}

/*
 * BUTTONS
 */
.wp-block-button>* {
	transition: background-color 0.16s ease-in;
}

.is-style-button {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 1rem 2.25rem;
	border-radius: 30px;
	font-size: var(--wp--preset--font-size--medium);
}

.is-style-button:hover,
.is-style-button:focus {
	background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent);
}

/* Button Variations */
.wp-block-button:not([class*="is-style"])>*:hover,
.wp-block-button:not([class*="is-style"])>*:focus {
	background-color: #000000;
}

.wp-block-button.is-style-primary>*:hover,
.wp-block-button.is-style-primary>*:focus {
	background-color: #178651;
}

.wp-block-button.is-style-error>*:hover,
.wp-block-button.is-style-error>*:focus {
	background-color: #CB3739;
}

/*
* SEPERATORS
*/
.is-style-section-seperator{
	background-size:100% 100% !important;
}


/*
 * ACCODDIONS
 */

ul.is-style-accordion li,
.is-style-accordion > *{
	margin-top: var(--wp--preset--spacing--20);

}

ul.is-style-accordion li .wp-block-post-title,
.is-style-accordion > :first-child {
	position: relative;
	cursor: pointer;
	background-color: var(--wp--preset--color--grey-4);
	padding: var(--wp--preset--spacing--40);
	border-radius: 8px;
}

ul.is-style-accordion li .wp-block-post-title:after,
.is-style-accordion > :first-child:after {
	content: "+";
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -10px;
	height: 20px;
	line-height: 20px;
	font-size: 32px;
}

ul.is-style-accordion li.expanded h2.wp-block-post-title:after,
.is-style-accordion.expanded > :first-child:after {
	content: "-"
}

ul.is-style-accordion li .entry-content,
.is-style-accordion > :last-child {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in;
	margin:0;
	margin-left: var(--wp--preset--spacing--40);
	margin-right: var(--wp--preset--spacing--40);
}

ul.is-style-accordion li .entry-content> :first-child,
.is-style-accordion > :last-child> :first-child {
	padding-top: var(--wp--preset--spacing--30);
}

ul.is-style-accordion li .entry-content> :last-child,
.is-style-accordion > :last-child> :last-child {
	padding-bottom: var(--wp--preset--spacing--30);
}


/*
 * STICKY BOXES
 */

.is-style-sticky {
	position: sticky;
	top: 100px;
}

div:has(> .is-style-sticky) {
	height: 100%;
}

/*
  * Headings
  */

/* display headings */
h1.is-style-text-display {
	font-size: var(--wp--preset--font-size--xx-large);
}

h2.is-style-text-display {
	font-size: var(--wp--preset--font-size--x-large);
}

h3.is-style-text-display {
	font-size: var(--wp--preset--font-size--large);
}

h4.is-style-text-display {
	font-size: var(--wp--preset--font-size--medium);
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child):not(.is-style-card h3),
h4:not(:first-child) {
	margin-block-start: var(--wp--preset--spacing--50) !important;
}

h2 + .is-style-text-subtitle{
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--50);
	color:var(--wp--preset--color--grey-1);
}

/*
  * TABLES
  */

/* default table */
.wp-block-table {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--grey-3);
}

.wp-block-table td,
.wp-block-table th,
.wp-block-table thead {
	border: 0;
	font-size: var(--wp--preset--font-size--medium);
}

/* regular */
.wp-block-table.is-style-regular table thead th {
	/* background-color: var(--wp--preset--color--contrast); */
	/* color: var(--wp--preset--color--base); */
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--grey-3);
}

.wp-block-table.is-style-regular table tr:not(:last-child) {
	border-bottom: 1px solid var(--wp--preset--color--grey-3);
}

/* black head */
.wp-block-table.is-style-dark table thead th {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-align: left;
}

.wp-block-table.is-style-dark table tr:not(:last-child) {
	border-bottom: 1px solid var(--wp--preset--color--grey-3);
}

/* stripes */
.wp-block-table.is-style-stripes table tr:nth-child(odd) {
	background-color: var(--wp--preset--color--grey-3);
}

.wp-block-table.is-style-stripes table thead th {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-align: left;
}

/*
  * Lists
  */

/* checklist */
.wp-block-list.is-style-checkmark-list li {
	padding-left: 0;
	position: relative;
	list-style-type: none;
}

.wp-block-list.is-style-checkmark-list li:before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	position: absolute;
	left: -26px;
	top: 8px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMjEgMjEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xhc3M9IiI+PGc+PGcgZmlsbD0iIzAwYmEwMCI+PHBhdGggZD0iTTYuMzM4IDE1LjU5OCAxOC4xNTQgMy43ODJhLjE4My4xODMgMCAwIDEgLjI1OCAwbC4zMjcuMzI2LjAwMy4wMDQuNzAzLjcwMi4wMDMuMDA0LjMyNy4zMjZjLjA3LjA3LjA3LjE4NyAwIC4yNThMNy45NTggMTcuMjJhLjE4My4xODMgMCAwIDEtLjI1OCAwbC0uMzI2LS4zMjctLjAwNC0uMDAzLS43MDItLjcwMy0uMDA0LS4wMDMtLjMyNi0uMzI3YS4xODMuMTgzIDAgMCAxIDAtLjI1OHoiIGZpbGw9IiMyMGJmNzQiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiMwMGJhMDAiIGNsYXNzPSIiPjwvcGF0aD48cGF0aCBkPSJtNy43IDE3LjIxOC02LjQ3NS02LjQ3NGEuMTgzLjE4MyAwIDAgMSAwLS4yNTlsLjMyNy0uMzI2LjAwMy0uMDAzLjcwMy0uNzAzLjAwMy0uMDAzLjMyNy0uMzI3YS4xODMuMTgzIDAgMCAxIC4yNTggMGw2LjQ3NSA2LjQ3NWEuMTgzLjE4MyAwIDAgMSAwIC4yNThsLS4zMjcuMzI3LS4wMDMuMDAzLS43MDMuNzAzLS4wMDMuMDAzLS4zMjcuMzI2YS4xODMuMTgzIDAgMCAxLS4yNTggMHoiIGZpbGw9IiMyMGJmNzQiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiMwMGJhMDAiIGNsYXNzPSIiPjwvcGF0aD48L2c+PC9nPjwvc3ZnPg==);
	background-size: contain;
	background-repeat: no-repeat;
}

/* arrow */

.wp-block-list.is-style-arrow li {
	padding-left: 0;
	position: relative;
	list-style-type: none;
}

.wp-block-list.is-style-arrow li:before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	position: absolute;
	left: -32px;
	top: 0;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgYXJpYS1oaWRkZW49InRydWUiIGZvY3VzYWJsZT0iZmFsc2UiPjxwYXRoIGQ9Ik0xMC42IDZMOS40IDdsNC42IDUtNC42IDUgMS4yIDEgNS40LTZ6Ij48L3BhdGg+PC9zdmc+);
	background-size: contain;
	background-repeat: no-repeat;
}

/*
 * BREADCRUMB
 */
.breadcrumb p {
	font-size: var(--wp--preset--font-size--medium);
}

.breadcrumb a {
	text-decoration: none;
}

/*
 * CARDS
 */

.is-style-card h3 a {
	text-decoration: none;
}

.is-style-card h3 a:hover {
	text-decoration: underline;
}

/*
 * PAGINATION
 */
.pagination .page-numbers {
	font-size: var(--wp--preset--font-size--medium);
	text-decoration: none;
}

.pagination .page-numbers:not(:first-child) {
	margin-left: var(--wp--preset--spacing--20);

}

.pagination .page-numbers:not(.next):not(.prev) {
	border: 1px solid var(--wp--preset--color--grey-3);
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 30px;
	line-height: 40px;

}

.pagination .page-numbers:not(.next):not(.prev).current {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
}