/* 
 Theme Name:   Pamyra25
 Theme URI:    
 Description:  Pamyra Styles as a chiuldthjme of Twenty Twentyfive
 Author:       steven
 Author URI:   http://contentfactory-v2.localdev
 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;
	--image-path: '/media/'
}


/*
 * 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 {
	outline: none;
}

/* Focus styles */
/* Reset default outlines (we’ll define our own) */
a:focus,
button:focus {
	outline: none;
}

/* Show focus only for keyboard navigation */
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--wp--preset--color--warning);
	outline-offset: 3px;
}

a:not(.wp-element-button):focus-visible {
	outline: 3px solid var(--wp--preset--color--warning);
	border-radius: 4px;
}

/* Active state (while clicking or touching) */
a:active,
button:active {
	transform: scale(0.97);
}

/* Optional hover styles (for mouse users) */
a:not(.wp-element-button):hover,
button:hover {
	text-decoration: underline;
	cursor: pointer;
}

/* .has-global-padding {
	padding: var(--wp--preset--spacing--40);
} */

/* 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
}

article 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
 * and it's scroll behaviour
 */

.wp-site-blocks>header {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
}

.wp-site-blocks>header .has-global-padding {
	padding: 0 !important;
}

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

@media (min-width: 600px) {

	.wp-site-blocks>header.mini ul.wp-block-navigation {
		padding-right: var(--wp--preset--spacing--20);
	}

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

	}

	.wp-site-blocks>header ul.wp-block-navigation {
		padding-right: var(--wp--preset--spacing--40);
	}

	.wp-site-blocks>header .wp-block-navigation li a {
		padding: var(--wp--preset--spacing--40);
		text-decoration: none;
		font-size: var(--wp--preset--font-size--large);
		transition: all 200ms ease-out !important;
	}

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

	.wp-site-blocks>header .wp-block-navigation li.current-menu-item a {
		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.8;
	}
}

@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
 */

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

/* titles */
.is-style-accordion>*> :first-child,
.is-style-accordion-single>*> :first-child {
	position: relative;
	cursor: pointer;
	background-color: var(--wp--preset--color--grey-4);
	padding: var(--wp--preset--spacing--40);
	border-radius: 8px;
}

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

.is-style-accordion>.expanded> :first-child:after,
.is-style-accordion-single>.expanded> :first-child:after {
	content: "-"
}

/* contents */
.is-style-accordion>*> :last-child,
.is-style-accordion-single>*> :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);
}

.is-style-accordion>*> :last-child> :first-child,
.is-style-accordion-single>*> :last-child> :first-child {
	margin-top: var(--wp--preset--spacing--30);
}

.is-style-accordion>*> :last-child> :last-child,
.is-style-accordion-single>*> :last-child> :last-child {
	margin-bottom: var(--wp--preset--spacing--30);
}

.is-style-accordion-single h3 {
	margin: 0;
}


/* open contents in editor */
:where(.editor-styles-wrapper) .is-style-accordion>div> :last-child,
:where(.editor-styles-wrapper) .is-style-accordion-single>div> :last-child {
	max-height: none !important;
}


/*
 * 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):not(h1+h2),
h3:not(:first-child):not(.is-style-card h3):not(.is-style-card--2 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
  */

/* button fixes */
.wp-block-table :where(img[class*=wp-image-]) {
	max-width: none;
}

.wp-block-table td:last-child img {
	float: right;
}


/* 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;
}

.wp-block-media-text.is-style-card>.wp-block-media-text__content {
	padding: var(--wp--preset--spacing--50);
}

aside .wp-block-media-text.is-style-card>.wp-block-media-text__content {
	padding: var(--wp--preset--spacing--30);
}

/*
 * 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);
}


/*
* RATING STARS
*/
.agency-rating p {
	color: var(--wp--preset--color--warning)
}

/*
* COMPLIANZ OVERWRITES
*/

#cmplz-document,
.editor-styles-wrapper .cmplz-unlinked-mode,
#cmplz-document p,
#cmplz-document li,
#cmplz-document td,
.editor-styles-wrapper .cmplz-unlinked-mode p,
.editor-styles-wrapper .cmplz-unlinked-mode li,
.editor-styles-wrapper .cmplz-unlinked-mode td {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 160%;
}

.cmplz-cookiebanner {
	margin: 0 !important;
	border-radius: 0 !important;
	width: 100% !important;
}

.cmplz-cookiebanner .cmplz-title {
	font-size: var(--wp--preset--font-size--large) !important
}

/* Youtube no cookie banner */
.cmplz-blocked-content-notice {
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.8) !important;
	padding: var(--wp--preset--spacing--30) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
}

/* buttons in forms */
.cmplz-accept-service,
.button {
	border-radius: 30px !important;
	padding-top: 1rem !important;
	padding-right: 2.25rem !important;
	padding-bottom: 1rem !important;
	padding-left: 2.25rem !important;
	text-decoration: none !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height: inherit !important;
	border: 0;
}

.cmplz-accept-service {
	background: var(--wp--preset--color--base);
	cursor: pointer;

}

/* privacy text under forms */

.protected {
	position: relative;
	padding-left: 48px;
}

.protected:before {
	display: block;
	content: " ";
	width: 40px;
	height: 40px;
	background: url('/media/2025/08/lock.png');
	position: absolute;
	left: 0;
	top: 0;
	margin-right: 16px;
}

/*
* SMALL BUTTONS IN TABLES
*/
table .button {
	background: var(--wp--preset--color--contrast) !important;
	padding: 4px 16px !important;
	color: var(--wp--preset--color--base) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	white-space: nowrap;
	border: none !important;
}

/*
* MESSAGES
*/
[class*="is-style-message-"] {
	padding-left: 44px;
	position: relative;
	min-height: 40px;
}

[class*="is-style-message-"]::before {
	content: "";
	display: block;
	position: absolute;
	left: 11px;
	top: 9px;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
}

.is-style-message-info::before {
	background: url('/content/themes/pamyra25/assets/images/info-icon.webp');
}

.is-style-message-warning::before {
	background: url('/content/themes/pamyra25/assets/images/warning-icon.webp');
}

.is-style-message-check::before {
	background: url('/content/themes/pamyra25/assets/images/check-icon.webp');
}

/*
* white buttons in inverted sections and covers 
*/
.is-style-cover-dark .wp-block-button:hover a,
.is-style-cover-1 .wp-block-button:hover a {
	background: rgba(255, 255, 255, 0.5s);
}

.is-style-cover-dark .wp-block-button.is-style-outline a,
.is-style-cover-1 .wp-block-button.is-style-outline:hover a {
	border-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--base);
}

/*
* cover blocks
*/
.wp-block-cover {
	background-color: var(--wp--preset--color--grey-4);
}

.wp-block-cover__background {
	background-color: var(--wp--preset--color--contrast);
}

/*
* Padding Fix for First Element after Fixed Header
*/

@media (min-width: 330px) {
	.wp-site-blocks>header+.wp-block-cover,
	.wp-site-blocks>header+.wp-block-group  {
		padding-top: 180px;
		padding-bottom: 110px;
	}
}

/*
* Search Filter Fixes
*/
pam-search {
	width: 100%
}

#search-benefits {
	max-width: none;
	width: auto;
	display: flex;
	align-items: center;
}

#search-benefits p {
	white-space: nowrap;
}

#search-benefits * {
	flex-basis: fit-content !important;
}

/*
* Scroll indicator
*/

.scroll-indicator {
	position: absolute;
	bottom: 0;
	height: 48px;
	width: 24px;
	margin: 50px auto;
	border: 2px solid #fff;
	border-radius: 50px;
	left: 50%;
	margin-left: -15px !important;
	z-index: 5;
}

/* Arrow made of lines */
.arrow {
	position: absolute;
	left: 50%;
	width: 8px;
	height: 8px;
	border-left: 2px solid white;
	border-bottom: 2px solid white;
	transform: translateX(-50%) rotate(-45deg);
	opacity: 0;
	animation: fadeDown 5s infinite ease-in-out;
}

/* First arrow */
.arrow1 {
	top: 27px;
	animation-delay: 1s;
}

/* Arrow slow fade and move */
@keyframes fadeDown {
	0% {
		opacity: 0;
		transform: translate(-50%, -10px) rotate(-45deg);
	}

	40% {
		opacity: 1;
		transform: translate(-50%, 0) rotate(-45deg);
	}

	80% {
		opacity: 0;
		transform: translate(-50%, 0px) rotate(-45deg);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, 0px) rotate(-45deg);
	}
}


/*
* Grid Hacks
*/

ul.is-layout-grid{
	list-style: none;
	padding:0;
}

ul.is-layout-grid article.wp-block-group.is-style-card--2{
	padding: 0;
}
ul.is-layout-grid article.wp-block-group.is-style-card--2 h3 a{
		text-decoration: none;
}
ul.is-layout-grid article{
	height:100%;
}

.is-layout-grid-responsive,
.wp-block-categories-list {
	grid-template-columns: repeat(1, minmax(0, 1fr))
}

@media (min-width: 780px) {

	.is-layout-grid-responsive,
	.wp-block-categories-list {
		grid-template-columns: repeat(2, minmax(0, 1fr))
	}
}

@media (min-width: 1080px) {

	.is-layout-grid-responsive,
	.wp-block-categories-list {
		grid-template-columns: repeat(3, minmax(0, 1fr))
	}
}

/*
* Embeds and videos
*/
.wp-block-cover .wp-block-embed {
	min-width: 300px;
	min-height: 200px;
}

/*
* responsive Hacks
*/
@media (max-width: 320px) {
	footer nav {
		width: 100%
	}

}

@media (max-width: 600px) {
	figure.wp-block-table {
		overflow: scroll;
	}

	figure.wp-block-table>table {
		width: max-content;
	}
}

/*
* Categories List
*/
.wp-block-categories-list {
	display: grid;
	padding: 0;
	gap: 8px;
}

.wp-block-categories-list li.cat-item {
	display: block;
	padding: 16px;
	background: var(--wp--preset--color--grey-4);
	border-radius: 8px;
}

.wp-block-categories-list li.cat-item a {
	text-decoration: none;
}

/*
* Search Filter Inputs
*/
label.control__label {
	padding-bottom: 8px !important;
	font-weight: 400 !important;
}

.shitty-frame__left,
.shitty-frame__right,
.shitty-frame__center {
	border-width: 1px !important;
}

.xxx {
	gap: 16px !important;
}

input {
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 300 !important;
	color: var(--wp--preset--color--contrast) !important;
}

.fnc-error-message {
	font-weight: 400 !important;
}

.fnc-button {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 300;
	padding-top: 1rem;
	padding-right: 2.25rem;
	padding-bottom: 1rem;
	padding-left: 2.25rem;
	height: auto;
	border-radius: 30px;
	color: var(--wp--preset--color--base);
}