/**
 * Base
 * - Reset the browser
 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	margin: 0px;
}

* {
  box-sizing: border-box;
}

pre {
  overflow: scroll;
}

/**
 * Breakpoints & Media Queries
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Breakpoint mixins
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
@media (min-width: 480px) {
  .wp-block[data-align=left],
  .wp-block[data-align=right],
  .wp-site-blocks .alignleft,
  .wp-site-blocks .alignright {
    max-width: var(--wp--custom--alignment--aligned-max-width);
  }
}
.aligncenter {
  text-align: center;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/*
 * Alignment styles - from TT2
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */
.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-columns.alignfull.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align=full] > .wp-block-group,
.is-root-container .wp-block[data-align=full] > .wp-block-columns.has-background,
.is-root-container .wp-block[data-align=full] > .wp-block-cover {

}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align=full] {
  max-width: unset;
  width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align=full],
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align=full] > *:not(.wp-block-group) .wp-block[data-align=full] {
  margin-left: auto !important;
  margin-right: auto !important;
  width: inherit;
}

/* Spacing for group blocks with a background color. */
.wp-block-group.has-background {
  padding: var(--wp--custom--gap--vertical) var(--wp--custom--gap--horizontal);
}

.has-primary-background-color {
  background-color: var(--wp--custom--color--primary);
}

.has-secondary-background-color {
  background-color: var(--wp--custom--color--secondary) ;
}

.has-foreground-background-color {
  background-color: var(--wp--custom--color--foreground) ;
}

.has-background-background-color {
  background-color: var(--wp--custom--color--background) ;
}

.has-tertiary-background-color {
  background-color: var(--wp--custom--color--tertiary) ;
}

.has-primary-color {
  color: var(--wp--custom--color--primary) ;
}

.has-secondary-color {
  color: var(--wp--custom--color--secondary) ;
}

.has-foreground-color {
  color: var(--wp--custom--color--foreground) ;
}

.has-background-color {
  color: var(--wp--custom--color--background) ;
}

.has-tertiary-color {
  color: var(--wp--custom--color--tertiary) ;
}

@media (max-width: 599px) {
  .wp-site-blocks .site-header .site-brand {
    display: contents;
  }
  .wp-site-blocks .site-header .wp-block-site-logo {
    flex-basis: 100%;
   /* margin-bottom: calc(2 * var(--wp--custom--gap--vertical));
    margin-top: var(--wp--custom--gap--vertical); */
    text-align: center;
  }
}

@media (max-width: 599px) {
  .wp-site-blocks .site-header-linear .site-words-stack-small {
    display: block;
  }
}

:root {
  --wpadmin-bar--height: 46px;
}

.site-footer-container {
  margin-top: auto;
}

@media (min-width: 600px) {
  body.admin-bar {
    --wpadmin-bar--height: 32px;
  }
}
body.admin-bar .wp-site-blocks {
  min-height: calc(100vh - var(--wpadmin-bar--height));
}

.image-no-margin {
  margin: 0;
}
.image-no-margin * {
  vertical-align: bottom;
}

.has-background-no-padding.wp-block-columns.has-background {
  padding: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.gapless-group > * {
  margin-top: 0 !important;
}

/* 
Remove the normalized box-sizing: border-box when used with Woo's quantity field,
because Woo limits the field's width to 50px, 
which leaves no space for the context between 50px and 20px padding and the spinner arrows (that come from type=number)

See: https://github.com/Automattic/wp-calypso/issues/58958#issuecomment-1015263777
*/
.quantity .qty {
  box-sizing: content-box;
}

/**
 * Elements
 * - Styles for basic HTML elemants
 */
a,
.wp-block-navigation a {
  text-underline-offset: 0.15em;
}

a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
  outline: 1px dotted currentcolor;
}

input.wp-block-search__input,
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea,
select {
  background: var(--wp--custom--form--color--background);
  border-radius: var(--wp--custom--form--border--radius);
  box-shadow: var(--wp--custom--form--color--box-shadow);
  color: var(--wp--custom--form--color--text);
  font-family: inherit;
  padding: var(--wp--custom--form--padding);
}
input.wp-block-search__input:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus,
select:focus {
  border-color: var(--wp--custom--form--color--border);
  color: var(--wp--custom--form--color--text);
  outline: 1px dotted currentcolor;
}

input[type=checkbox]:focus,
input[type=submit]:focus,
button:focus {
  outline-offset: 2px;
}
input[type=checkbox]::placeholder,
input[type=submit]::placeholder,
button::placeholder {
  color: var(--wp--custom--form--color--text);
  opacity: 0.66;
}

select {
  font-size: 100%;
}

textarea {
  width: 100%;
}

input[type=checkbox] + label {
  display: inline;
  margin-left: 0.5em;
  line-height: 1em;
}

.wp-block-button:not(.is-style-outline) > a.has-background {
}

.wp-block-calendar table caption {
  color: var(--wp--custom--color--primary);
}
.wp-block-calendar table th {
  background-color: var(--wp--custom--color--tertiary);
  border-color: var(--wp--custom--color--tertiary);
}
.wp-block-calendar table td {
  color: var(--wp--custom--color--primary);
  border-color: var(--wp--custom--color--tertiary);
}

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  font-size: var(--wp--custom--gallery--caption--font-size);
}

.wp-block-image {
  /*
  From what I can tell the below are styles regularly used by themes
  to fix the image block.  I believe these should go into the block's
  default styles.  It's difficult to say how this will land, however
  based on discussion found in (many) related issues here:
  https://github.com/WordPress/gutenberg/issues/28923
  https://github.com/WordPress/gutenberg/issues/29506
  */
  text-align: center;
}

.wp-block-latest-posts .wp-block-latest-posts__post-date,
.wp-block-latest-posts .wp-block-latest-posts__post-author {
  color: var(--wp--custom--latest-posts--meta--color--text);
}

.wp-block-navigation.is-responsive .wp-block-navigation__responsive-container.is-menu-open {
  padding-left: var(--wp--custom--gap--horizontal);
  padding-right: var(--wp--custom--gap--horizontal);
}
.wp-block-navigation.is-responsive ul.wp-block-social-links {
  margin: 0;
  gap: var(--wp--custom--gap--baseline);
}
.wp-block-navigation.is-responsive .is-menu-open {
  font-size: var(--wp--preset--font-size--medium);
}
.wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: var(--navigation-layout-justification-setting, flex-start);
  justify-content: space-between;
  flex-wrap: nowrap;
}
.wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation__container {
  row-gap: 0.5rem;
  align-items: var(--navigation-layout-justification-setting, flex-start);
  flex: unset;
  padding-bottom: 0;
}
.wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation-item {
  align-items: var(--navigation-layout-justification-setting, flex-start);
}
.wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
  font-size: var(--wp--custom--font-sizes--normal);
  padding-bottom: 0;
  padding-left: var(--wp--custom--gap--horizontal);
  padding-top: 0.5rem;
  row-gap: 0.5rem;
}
.wp-block-navigation.is-responsive .is-menu-open ul.wp-block-social-links {
  justify-content: flex-start;
}

/* Additional styling for header-minimal */
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 200;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__container {
  row-gap: 1rem;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
  align-items: flex-start;
  margin: 0 auto;
  max-width: 800px;
  flex-wrap: nowrap;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
  row-gap: 0;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation-item > a:hover {
  text-decoration-line: underline;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation-item.current-menu-item > a {
  text-decoration: underline;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  flex-grow: 1;
  justify-content: center;
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container ul.wp-block-social-links {
  padding-bottom: calc(var(--wp--custom--gap--vertical) * 2);
}
.wp-block-navigation.blockbase-responsive-navigation-minimal.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
  font-size: var(--wp--preset--font-size--medium);
}

/* Additional Styling for header-linear */
.wp-block-navigation.blockbase-responsive-navigation-linear .wp-block-pages-list__item .wp-block-pages-list__item__link:hover,
.wp-block-navigation.blockbase-responsive-navigation-linear .wp-block-navigation-link__content:hover {
  text-decoration: underline;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item a {
  font-size: var(--wp--custom--font-sizes--normal);
  line-height: 50px;
  margin: 0;
  align-items: flex-end;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item {
  font-size: var(--wp--custom--font-sizes--normal);
  line-height: 50px;
  margin: 0;
  align-items: flex-end;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item.has-child .wp-block-pages-list__item__link,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item.has-child .wp-block-navigation-link__content,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item.has-child .wp-block-pages-list__item__link,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item.has-child .wp-block-navigation-link__content {
  margin-right: 0;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item.has-child .wp-block-navigation__submenu-container,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container {
  gap: 0;
  padding: 0 19px 0 0;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item.has-child .wp-block-navigation__submenu-container .wp-block-pages-list__item__link,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-pages-list__item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-pages-list__item__link,
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0;
  font-size: var(--wp--custom--font-sizes--x-small);
  line-height: 40px;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation__container {
  align-items: flex-end;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open.has-modal-open .wp-block-navigation__responsive-container-content {
  flex-direction: row-reverse;
}
.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive .wp-block-navigation__responsive-container.is-menu-open .wp-block-social-links {
  flex-direction: column;
}

p.has-drop-cap:not(:focus)::first-letter {
  font-size: var(--wp--custom--paragraph--dropcap--typography--font-size);
  font-weight: var(--wp--custom--paragraph--dropcap--typography--font-weight);
  margin: var(--wp--custom--paragraph--dropcap--margin);
}

.wp-block-post-author__name {
  font-weight: var(--wp--custom--post-author--font-weight);
}

.wp-block-comments-query-loop form label {
  font-size: var(--wp--custom--form--label--typography--font-size);
  font-weight: var(--wp--custom--form--label--typography--font-weight);
  letter-spacing: var(--wp--custom--form--label--typography--letter-spacing);
}
.wp-block-comments-query-loop form .comment-form-cookies-consent input[type=checkbox]#wp-comment-cookies-consent {
  margin-left: 0;
  margin-top: 1px;
}
.wp-block-comments-query-loop form .comment-form-cookies-consent input[type=checkbox]#wp-comment-cookies-consent + label {
  margin-left: 0;
}

.wp-block-post-template {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-pullquote.is-style-solid-color,
.wp-block-pullquote {
  text-align: var(--wp--custom--pullquote--typography--text-align);
}
.wp-block-pullquote.is-style-solid-color blockquote,
.wp-block-pullquote blockquote {
  padding: 0;
  margin: 0;
}
.wp-block-pullquote.is-style-solid-color blockquote p,
.wp-block-pullquote blockquote p {
  font-size: 1em;
  padding: 0;
  margin: 0;
  line-height: inherit;
}
.wp-block-pullquote.is-style-solid-color blockquote .wp-block-pullquote__citation,
.wp-block-pullquote.is-style-solid-color blockquote cite,
.wp-block-pullquote blockquote .wp-block-pullquote__citation,
.wp-block-pullquote blockquote cite {
  display: block;
  font-size: var(--wp--custom--pullquote--citation--typography--font-size);
  font-style: var(--wp--custom--pullquote--citation--typography--font-style);
  font-weight: var(--wp--custom--pullquote--citation--typography--font-weight);
  margin-top: var(--wp--custom--pullquote--citation--spacing--margin--top);
}
.wp-block-pullquote.is-style-solid-color.is-style-solid-color,
.wp-block-pullquote.is-style-solid-color {
  background-color: var(--wp--custom--color--foreground);
  color: var(--wp--custom--color--background);
}

div.wp-block-query-pagination {
  padding-top: 1.5em;
  justify-content: space-between;
  display: grid;
  grid-template-areas: "prev numbers next";
  grid-template-columns: 1fr 2fr 1fr;
}
@media (max-width: 599px) {
  div.wp-block-query-pagination {
    grid-template-areas: "prev next";
    grid-template-columns: 1fr 1fr;
  }
}
div.wp-block-query-pagination .wp-block-query-pagination-previous {
  justify-self: start;
  grid-area: prev;
}
div.wp-block-query-pagination .wp-block-query-pagination-next {
  justify-self: flex-end;
  grid-area: next;
}
div.wp-block-query-pagination .wp-block-query-pagination-numbers {
  grid-area: numbers;
  justify-self: center;
}
div.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
  text-decoration: underline;
}
@media (max-width: 599px) {
  div.wp-block-query-pagination .wp-block-query-pagination-numbers {
    display: none;
  }
}

.wp-block-quote.is-style-large p,
.wp-block-quote p {
  font-style: unset;
  margin-top: 0px;
}
.wp-block-quote.is-style-large .wp-block-quote__citation,
.wp-block-quote.is-style-large cite,
.wp-block-quote .wp-block-quote__citation,
.wp-block-quote cite {
  font-size: var(--wp--custom--quote--citation--typography--font-size);
  font-style: var(--wp--custom--quote--citation--typography--font-style);
}

.wp-block-search {
  /* Block Styles */
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  padding: var(--wp--custom--form--border--width);
  border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  border-radius: var(--wp--custom--form--border--radius);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
  padding: 0 var(--wp--custom--form--padding);
}
.wp-block-search .wp-block-search__input {
  padding: var(--wp--custom--form--padding);
  border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):hover, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):focus, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color).has-focus,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):hover,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):focus,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color).has-focus {
  --wp--custom--button--color--text: var(--wp--custom--button--hover--color--text);
  --wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
  opacity: 1;
  color: var(--wp--custom--button--color--text);
  background-color: var(--wp--custom--button--color--background);
  border-color: currentcolor;
  border-color: var(--wp--custom--button--border--color);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):hover svg, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color):focus svg, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:not(.has-background):not(.has-text-color).has-focus svg,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):hover svg,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color):focus svg,
.wp-block-search .wp-block-search__button:not(.has-background):not(.has-text-color).has-focus svg {
  fill: var(--wp--custom--button--color--text);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button.has-icon,
.wp-block-search .wp-block-search__button.has-icon {
  line-height: 0;
}
.wp-block-search .wp-block-search__input::placeholder {
  color: var(--wp--custom--form--color--text);
  opacity: 0.66;
}
.wp-block-search.is-style-small-search {
  --wp--custom--button--typography--font-size: calc(0.8 * var(--wp--preset--font-size--small));
}
.wp-block-search.is-style-small-search .wp-block-search__input {
  padding: calc(0.5 * var(--wp--custom--form--padding));
}

.wp-block-separator {
  opacity: var(--wp--custom--separator--opacity);
}
.wp-block-separator:not(.is-style-wide) {
  width: var(--wp--custom--separator--width);
}
.wp-block-separator.is-style-dots {
  /*
  	We can solve this using including the Gutenberg block styles with: add_theme_support( 'wp-block-styles' )
  	but we decided not to add those styles to blockbase because of potential broad impact of those styles.
  */
  width: 100%;
}

p.wp-block-site-tagline {
  margin: 0;
}

.wp-block-file .wp-block-file__button {
  display: inline-block;
}
.wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):hover, .wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):focus, .wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color).has-focus {
  --wp--custom--button--color--text: var(--wp--custom--button--hover--color--text);
  --wp--custom--button--color--background: var(--wp--custom--button--hover--color--background);
  --wp--custom--button--border--color: var(--wp--custom--button--hover--border--color);
  opacity: 1;
  color: var(--wp--custom--button--color--text);
  background-color: var(--wp--custom--button--color--background);
  border-color: currentcolor;
  border-color: var(--wp--custom--button--border--color);
}
.wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):hover svg, .wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color):focus svg, .wp-block-file .wp-block-file__button:not(.has-background):not(.has-text-color).has-focus svg {
  fill: var(--wp--custom--button--color--text);
}

.wp-block-table.is-style-stripes,
.wp-block-table {
  border-bottom: none;
}
.wp-block-table.is-style-stripes figcaption,
.wp-block-table figcaption {
  color: var(--wp--custom--color--primary);
  font-size: var(--wp--custom--table--figcaption--typography--font-size);
  text-align: center;
}
.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th,
.wp-block-table td,
.wp-block-table th {
  border: 1px solid;
  padding: calc(0.5 * var(--wp--custom--gap--vertical)) calc(0.5 * var(--wp--custom--gap--horizontal));
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: var(--wp--custom--color--tertiary);
}

.wp-block-video figcaption {
  margin: var(--wp--custom--video--caption--margin);
  text-align: var(--wp--custom--video--caption--text-align);
}

.post-meta {
  row-gap: var(--wp--custom--gap--baseline) !important;
}

.is-style-post-author-icon,
.is-style-post-date-icon,
.is-style-post-category-icon,
.is-style-post-tag-icon {
  display: flex;
  flex-wrap: wrap;
}
.is-style-post-author-icon:before,
.is-style-post-date-icon:before,
.is-style-post-category-icon:before,
.is-style-post-tag-icon:before {
  align-self: center;
  content: "";
  display: inline-block;
  margin-right: calc(0.5 * var(--wp--custom--gap--baseline));
  height: 16px;
  width: 16px;
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  background-color: currentColor;
}

.is-style-post-author-icon:before {
  -webkit-mask-image: url(svg/post-author.svg);
  mask-image: url(svg/post-author.svg);
}

.is-style-post-date-icon:before {
  -webkit-mask-image: url(svg/post-date.svg);
  mask-image: url(svg/post-date.svg);
}

.is-style-post-category-icon:before {
  -webkit-mask-image: url(svg/post-category.svg);
  mask-image: url(svg/post-category.svg);
}

.is-style-post-tag-icon:before {
  -webkit-mask-image: url(svg/post-tag.svg);
  mask-image: url(svg/post-tag.svg);
}

/*
 * This is a refactored style sheet
 * Currently it is being loaded within ponyfill
 * As ponyfill gets refactored, add the necessary styles here.
 */
/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */
:is(.wp-block-search__button,
.wp-block-button__link):is(:hover,
:active,
:focus) {
  text-decoration: none;
  cursor: pointer;
  color: var(--wp--custom--button--hover--color--text);
  background-color: var(--wp--custom--button--hover--color--background);
  border-color: var(--wp--custom--button--hover--border--color);
}

:is(.wp-block-search__button,
.wp-block-button__link):focus {
  outline: 1.5px dotted var(--wp--preset--color--foreground);
  outline-offset: 3px;
}

:is(.is-style-outline.wp-block-button,
.is-style-outline.wp-block-button__link) {
  color: var(--wp--custom--button--outline--color--text, var(--wp--custom--button--border--color));
}

:is(.is-style-outline > .wp-block-button__link,
.is-style-outline.wp-block-button__link):not(.has-background):hover {
  color: var(--wp--custom--button--outline--hover--color--text, var(--wp--custom--button--color--text));
  background-color: var(--wp--custom--button--outline--hover--color--background, var(--wp--custom--button--color--background));
}




.header-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;        
  align-items: center;
  align-content: center;
}


h1, h2, h3, h4, h5, h6 {
    margin-bottom: 24px !important;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem;      /* 32px */
    font-weight: 400;
  }
h1.has-text-align-center.has-link-color.wp-elements-4ca0d714f0d813cc1bc546f392e5a9cd.wp-block-post-title.has-text-color.has-primary-color {
	font-size: 2rem;      /* 32px */
    font-weight: 400;
	margin-bottom: 12px;
	}
h1.has-link-color.wp-elements-5d5f9395b6bb3da85aeb94ccbe111b01.wp-block-post-title.has-text-color.has-secondary-color {
		font-size: 2rem;      /* 32px */
    font-weight: 400;
	margin-bottom: 12px;
	}
  h2 {
    font-size: 1.5rem;    /* 24px */
    font-weight: 400;
	margin-bottom: 12px;

  }
  h3 {
    font-size: 1.25rem;   /* 20px */
    font-weight: 400;
    margin-bottom: 12px;
  }
  h4 {
    font-size: 1.125rem;  /* 18px */
    font-weight: 400;
	margin-bottom: 12px;
  }
  h5 {
    font-size: 1rem;      /* 16px */
    font-weight: 400;
    margin-bottom: 12px;
  }
  h6 {
    font-size: 0.875rem;  /* 14px */
    font-weight: 400;
	 margin-bottom: 12px;
  }

  /* Текст */
  p {
    font-size: 0.8125rem; /* 13px */
    font-weight: 400;
  }

 
  .wp-block-button__link {
       font-size: 13px !important;
    padding: 8px 16px !important;
    gap: 12px;
  }
	
  .hero-section {
    min-height: 874px !important;
  }
	  .responsive-empty-space {
    height: 56px !important;
  }
	.responsive-empty-space2{
    height: 16px !important;
  }
	.ctablock {
    padding-bottom: 16px !important;
	padding-top: 16px !important;
  }
	.div-ft-st {
    text-align: center;
    padding: 16px 12px !important;
}
	    .cnt-ft-cl {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }
.ft-im-soc, 
.wp-image-253, 
.wp-image-249 {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
	margin-top: 16px;
}	
}







.services-container {
    max-width: 1128px;
    margin: 0 auto;
}

.service {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start; 
    gap: 24px;
}

.service-content {
    flex: 1;
    position: relative;
    align-self: stretch; 
    display: flex;
    flex-direction: column;
	gap: 4px;
}

.desktop-image {
    flex: 1;
    position: relative;
}

.desktop-image::after,
.mobile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.desktop-image img,
.mobile-image img {
    width: 100%;
    object-fit: cover;
    position: relative;
    display: block;
}

.desktop-image img {
    height: 240px;
}

.service h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin: 0!important;
}

.title-text {
    flex-grow: 1;
}

.arrow-icon {
    margin-left: 15px;
}

.service p {
    flex-grow: 1;
	margin: 0;
}

.mobile-image {
    display: none;
    position: relative;
    margin: 10px 0;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .service {
        flex-direction: column;
		gap: 16px;
		margin-bottom: 16px;
    }
    
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }
    
    .mobile-image img {
        height: 180px;
    }
    
    .service-content {
        padding: 0;
        width: 100%;
    }
    
    .service h3 {
    }
}





/* Общие стили */
.mdc-about-section {
}

.mdc-about-container {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.mdc-about-content {
    flex: 1.5;
    min-width: 0;
}

.mdc-desktop-title {
    margin-bottom: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    display: block;
}

.mdc-mobile-title {
    display: none;
}

.mdc-mobile-img-wrap,
.mdc-mobile-img {
    display: none;
}

.mdc-text-content p {
    margin-bottom: 16px;
    line-height: 1.0;
}

.mdc-desktop-img-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.mdc-desktop-img {
    width: 100%;
    height: 383px;
    object-fit: cover;
    display: block;
}

.mdc-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* #00000033 */
    z-index: 1;
}

.mdc-about-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    width: 60%;
}

.mdc-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    text-align: center;
    width: 45%;
    box-sizing: border-box;
}

.mdc-btn-primary {
    background-color: #404040; 
    color: #F5F5F5;
    border: 1px solid #404040;
    border-radius: 0px !important;
}

.mdc-btn-primary:hover {
    background-color: transparent; 
    border: 1px solid #404040; 
    color: #404040;
}

.mdc-btn-secondary {
    background-color: transparent;
    border: 1px solid #404040;
    color: #404040;
    border-radius: 0px !important;
}

.mdc-btn-secondary:hover {
    background-color: #404040; 
    color: #F5F5F5;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .mdc-about-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .mdc-desktop-title {
        display: none;
    }
    
    .mdc-mobile-title {
        display: block;
        white-space: normal;
        margin-bottom: 16px !important;
        order: -1;
    }
    
    .mdc-mobile-img-wrap {
        display: block;
        order: 0;
        width: 100%;
        margin-bottom: 16px;
        position: relative;
    }
    
    .mdc-mobile-img {
        display: block;
        width: 100%;
        height: 317px;
        object-fit: cover;
    }
    
    .mdc-desktop-img-wrap {
        display: none;
    }
    
    .mdc-about-content {
        order: 1;
        width: 100%;
    }
    
    .mdc-about-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: 70%;
    }
    
    .mdc-btn {
        width: 50%;
        max-width: 221px;
    }
}





/* Общие стили */
.services-about-section {}

.services-about-container {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.services-about-content {
    flex: 1.5;
    min-width: 0;
}

.services-desktop-title {
    margin-bottom: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    display: block;
}

.services-mobile-title {
    display: none;
}

.services-mobile-img-wrap,
.services-mobile-img {
    display: none;
}

.services-text-content p {
    margin-bottom: 16px;
    line-height: 1.0;
}

.services-desktop-img-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.services-desktop-img {
    width: 100%;
    height: 743px;
    object-fit: cover;
    display: block;
}

.services-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.services-about-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    width: 70%;
}

.services-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    text-align: center;
    width: 45%;
    box-sizing: border-box;
}

.services-btn-primary {
    background-color: #404040; 
    color: #F5F5F5;
    border: 1px solid #404040;
    border-radius: 0px !important;
}

.services-btn-primary:hover {
    background-color: transparent; 
    border: 1px solid #404040; 
    color: #404040;
}

.services-btn-secondary {
    background-color: transparent;
    border: 1px solid #404040;
    color: #404040;
    border-radius: 0px !important;
}

.services-btn-secondary:hover {
    background-color: #404040; 
    color: #F5F5F5;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .services-about-container {
        flex-direction: column;
        gap: 12px;
    }

    .services-desktop-title {
        display: none;
    }

    .services-mobile-title {
        display: block;
        white-space: normal;
        margin-bottom: 16px;
        order: -1;
    }

    .services-mobile-img-wrap {
        display: block;
        order: 0;
        width: 100%;
        margin-bottom: 16px;
        position: relative;
    }

    .services-mobile-img {
        display: block;
        width: 100%;
        height: 317px;
        object-fit: cover;
    }

    .services-desktop-img-wrap {
        display: none;
    }

    .services-about-content {
        order: 1;
        width: 100%;
    }

    .services-about-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: 70%;
    }

    .services-btn {
        width: 50%;
        max-width: 221px;
    }
}








/* Benefits Section Styles */
.benefits-section {
    padding: 0px 0;
}

.benefits-container {
    max-width: 1128px;
    margin: 0 auto;
}

.benefits-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.benefit-card {
    flex: 1;
    border: 1px solid #AFAFAF;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.benefit-card-image {
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    min-height: 123px;
    padding: 12px 12px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25); /* #00000040 */
    z-index: 1;
}

.benefit-title {
    margin: 0 !important;
    position: relative;
    z-index: 2;
    color: #fff;
	text-align: center;
}
.benefit-title-6 {
	text-align: left;
	color: #F5F5F5;
	margin: 0 !important;
    position: relative;
    z-index: 2;
}

.benefit-card:not(.benefit-card-image) .benefit-title {
    color: #333; /* Default color for non-image cards */
}

.benefit-text {
    margin: 0;
    position: relative;
    z-index: 2;
	text-align: center;
}

/* Mobile Version */
@media (max-width: 768px) {
    .benefits-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .benefit-card {
        padding: 12px 16px;
        gap: 2px;
    }
    
    .benefit-card-image {
        min-height: 81px;
    }
	.head-why-us {
		text-align:left;
	}
}







/* Portfolio Section Styles */
.portfolio-section {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 15px;
}

.portfolio-header {
    display: flex;
    justify-content: center;
    position: relative;
}

.portfolio-title {
    color: #F5F5F5;
    margin: 0;
    text-align: center;
}

/* Desktop Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 5px 5px;
    color: #F5F5F5;
    background: transparent;
    border: 0;
    font-size: 16px;
}

.tab-button:hover {
    font-weight: 700;
}

.tab-button.active {
    color: #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
    padding-bottom: 2px;
    font-weight: 700;
}

/* Mobile Filter */
.mobile-filter {
    display: none;
    position: relative;
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #404040;
    border: none;
    margin-left: 15px;
}

.filter-toggle img {
    width: 24px;
    height: 24px;
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #404040;
    border: 1px solid #404040;
    padding: 16px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-top: 10px;
}

.filter-options {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.filter-column {
    flex: 1;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #F5F5F5;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: normal;
}

.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 8px;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #F5F5F5;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.filter-option input[type="checkbox"]:checked {
    background-color: transparent;
}

.filter-option input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #F5F5F5;
    font-size: 14px;
    font-weight: normal;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.filter-apply, .filter-clear {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
	text-transform: uppercase;
	font-family: var(--wp--preset--font-family--open-sans);
}

.filter-apply {
    background-color: #F5F5F5;
    color: #404040;
    border: none;
	width: 45%;
}

.filter-clear {
    background: none;
    border: 1px solid #F5F5F5;
    color: #F5F5F5;
	width: 45%;
}

/* Gallery Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-item {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-tabs {
        display: none;
    }
    
    .mobile-filter {
        display: block;
    }
    
    .portfolio-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .portfolio-title {
        text-align: left;
		margin-bottom: 0px !important;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item {
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    

}

.load-more-container {
    text-align: center;
    margin-top: 24px;
}

#loadMoreBtn {
    padding: 12px 24px;
    color: #f5f5f5;
    font-size: 13px;
    text-transform: uppercase;
	background-color: #00000000;
	border:1px solid #f5f5f5;
}

#loadMoreBtn:hover {
    background-color: #00000000;
    color: #f5f5f5;
	border:1px solid #f5f5f5;
}

@media (max-width: 768px) {
    #loadMoreBtn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .load-more-container {
        padding: 0 15px;
    }
}













.contact-form-wrapper {
    max-width: 1128px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.form-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.form-top-row .form-field {
    flex: 1 1 calc(25% - 12px);
    min-width: 0;
}

.form-field input {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #888888;
    font-size: 16px;
    background: transparent;
}


.form-message-field textarea {
    width: 100%;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0;
    border: none;
    border-bottom: 1px solid #888888;
    font-size: 16px;
    line-height: 1.5;
    resize: none !important;
    background: transparent;
    overflow: hidden !important;
}


.form-field input::placeholder,
.form-message-field textarea::placeholder {
    color: #4d4b4b;
}


.form-field input:focus,
.form-message-field textarea:focus {
    outline: none;
    border-bottom-color: #000;
}


.form-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    gap: 12px;
}

.file-attach-wrapper {
    flex: 1;
}


.file-attach label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #4d4b4b;
    font-size: 16px;
}

.file-attach label:hover {
    color: #000;
}

.attach-icon {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
    margin-right: 4px;
}

.submit-wrapper {
    position: relative;
    padding-left: 36px; 
	margin-bottom: 20px;
}

.wpcf7-submit {
    padding: 12px 24px !important;
    background: #404040 !important;
    color: #F5F5F5 !important;
    border: none !important;
    font-size: 20px !important;
    text-align: center;
    line-height: normal !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.wpcf7-submit:hover {
    background: #F5F5F5 !important;
    border: 1px solid #404040 !important;
    color: #404040 !important;
}


.wpcf7-spinner {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
}

.codedropz-upload-handler {
    border: 1px dashed #c5c5c5;
    border-radius: 0px;
    position: relative;
}
.codedropz-upload-container {
    padding: 5px 0px;
}
.wpcf7-form .submit-wrapper p {
    margin: 0;
}


.send-dark-bc {
    background: #f5f5f5 !important;
    color: #404040 !important;
    padding: 12px 24px !important;
    border: none !important;
    font-size: 20px !important;
    text-align: center;
    line-height: normal !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}
.send-dark-bc:hover {
    background: #404040 !important;
    border: 1px solid #f5f5f5 !important;
    color: #f5f5f5 !important;
}


@media (max-width: 768px) {
    .form-top-row {
        display: grid;
        gap: 12px;
    }
    
    .form-bottom-row {
        flex-direction: row;
        gap: 16px;
    }
    
    .wpcf7-submit {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .wpcf7-spinner {
        width: 20px;
        height: 20px;
    }
    
    .file-attach label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}










.remodel-about-container {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.remodel-about-content {
    flex: 1.5;
    min-width: 0;
}

.remodel-desktop-title {
    margin-bottom: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    display: block;
}

.remodel-mobile-title {
    display: none;
}

.remodel-mobile-img-wrap,
.remodel-mobile-img {
    display: none;
}

.remodel-text-content p {
    margin-bottom: 16px;
    line-height: 1.0;
}

.remodel-desktop-img-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.remodel-desktop-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.remodel-image-overlay {
    position: absolute;
	height: 600px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.remodel-about-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    width: 60%;
}

.remodel-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    text-align: center;
    width: 45%;
    box-sizing: border-box;
}

.remodel-btn-primary {
    background-color: #404040; 
    color: #F5F5F5;
    border: 1px solid #404040;
    border-radius: 0px !important;
}

.remodel-btn-primary:hover {
    background-color: transparent; 
    border: 1px solid #404040; 
    color: #404040;
}

.remodel-btn-secondary {
    background-color: transparent;
    border: 1px solid #404040;
    color: #404040;
    border-radius: 0px !important;
}

.remodel-btn-secondary:hover {
    background-color: #404040; 
    color: #F5F5F5;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .remodel-about-container {
        flex-direction: column;
        gap: 12px;
    }

    .remodel-desktop-title {
        display: none;
    }

    .remodel-mobile-title {
        display: block;
        white-space: normal;
        margin-bottom: 16px;
        order: -1;
    }

    .remodel-mobile-img-wrap {
        display: block;
        order: 0;
        width: 100%;
        margin-bottom: 16px;
        position: relative;
    }

    .remodel-mobile-img {
        display: block;
        width: 100%;
        height: 317px;
        object-fit: cover;
    }

    .remodel-desktop-img-wrap {
        display: none;
    }

    .remodel-about-content {
        order: 1;
        width: 100%;
    }

    .remodel-about-buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: 70%;
    }

    .remodel-btn {
        width: 50%;
        max-width: 221px;
    }
	.remodel-image-overlay {
	height: 317px;

}
}







.bathroom-about-section {}

.bathroom-about-container {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.bathroom-about-content {
    flex: 1.5;
    min-width: 0;
}

.bathroom-title-desktop {
    margin-bottom: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    display: block;
}

.bathroom-title-mobile {
    display: none;
}

.bathroom-mobile-img-wrap,
.bathroom-mobile-img {
    display: none;
}

.bathroom-text p {
    margin-bottom: 16px;
}

.bathroom-desktop-img-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.bathroom-desktop-img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    display: block;
}

.bathroom-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
    height: 570px;  
}

/* Мобильная версия */
@media (max-width: 768px) {
    .bathroom-about-container {
        flex-direction: column;
        gap: 12px;
    }

    .bathroom-title-desktop {
        display: none;
    }

    .bathroom-title-mobile {
        display: block;
        white-space: normal;
        margin-bottom: 16px;
        order: -1;
    }

    .bathroom-mobile-img-wrap {
        display: block;
        order: 0;
        width: 100%;
        margin-bottom: 16px;
        position: relative;
    }

    .bathroom-mobile-img {
        display: block;
        width: 100%;
        height: 317px;
        object-fit: cover;
    }
	.bathroom-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
	height: 317px; 
}

    .bathroom-desktop-img-wrap {
        display: none;
    }

    .bathroom-about-content {
        order: 1;
        width: 100%;
    }
}








.testimonials-section {
  padding: 32px 16px;
  background-color: #f8f8f8;
}

.testimonial-slide {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-direction: row;
}

.testimonial-img-desktop {
  flex-shrink: 0;
  width: 300px;
  height: auto;
}

.testimonial-img-desktop img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.testimonial-content {
  flex: 1;
}

.testimonial-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonial-name {
  font-weight: bold;
}

.testimonial-stars {
  color: #f7a825;
  font-size: 16px;
  line-height: 1;
}

.testimonial-text {
}

/* Swiper arrows */
.swiper-button-prev,
.swiper-button-next {
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-slide {
    flex-direction: column;
  }

  .testimonial-img-desktop {
    display: none;
  }
}







.testimonials-container {
    display: flex;
    max-width: 1128px;
    margin: 0 auto;
    padding: 0px 0px;
    gap: 40px;
    align-items: center;
}

.testimonial-image-column {
    flex: 0 0 360px;
}

.testimonial-image {
    width: 100%;
    height: auto;
    border-radius: 0px;
    display: none;
    object-fit: cover;
}

.testimonial-image.active {
    display: block;
}

.testimonial-content-column {
    flex: 1;
}

.testimonial-content-column h2 {
    margin-bottom: 30px;
}

.testimonials-slider {
    position: relative;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
    color: #404040;
}

.testimonial-rating {
    color: #FF9D00;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
}

.testimonial-controls {
    display: flex;
    gap: 10px;
}

.testimonial-controls button {
    background: transparent;
    padding: 12px 12px;
    cursor: pointer;
    font-size: 28px;
    color: #404040;
	border: none;
}

.testimonial-controls button:hover {
    background: transparent;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-image-column {
        display: none;
    }
    
    .testimonial-content-column h2 {
        margin-bottom: 12px;
    }
    
    .client-avatar {
        width: 32px;
        height: 32px;
    }
    
    .testimonial-name {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
}






/* Feature Section Styles */
.feature-section {
    padding: 0px 0;
}

.feature-container {
    max-width: 1128px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.feature-card {
    flex: 1;
    border: 1px solid #AFAFAF;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    text-decoration: none; 
    color: inherit;
}

.feature-card-image {
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    min-height: 123px;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25); /* #00000040 */
    z-index: 1;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.feature-title {
    margin: 0 !important;
    position: relative;
    z-index: 2;
    text-align: left;
    flex: 1;
}

.feature-title-image {
    text-align: left;
    color: #F5F5F5;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.feature-card:not(.feature-card-image) .feature-title {
}

.feature-text {
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

.feature-arrow {
    z-index: 2;
    font-size: 24px;
    line-height: 1;
    padding-left: 8px;
    color: #404040;
}

/* Mobile Version */
@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .feature-card {
        padding: 12px 16px;
        gap: 2px;
    }

    .feature-card-image {
        min-height: 81px;
    }

    .feature-text {
        text-align: left;
    }

    .feature-title {
        text-align: left;
    }

    .head-why-us {
        text-align: left;
    }
	.feature-arrow {
    z-index: 2;
    font-size: 16px;
    line-height: 1;
    padding-left: 8px;
    color: #404040;
}
}




.cozy-accordion-title h4 {
    margin: 0 !important;
}





/* Глобально для списка с галочками */
ul.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.checklist li::before {
  content: "✓";
  color: #404040;
  font-weight: 500;
  margin-right: 4px;
}

/* Grid layout */
.location-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1128px;
  margin: 0 auto;
}

/* Column styling */
.location-column {
  border: 1px solid #AFAFAF;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  text-align: left;
}
.location-column h4 {
  margin: 0 0 0 0 !important;
}
.location-column ul.checklist li + li {
    margin-top: 4px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .location-column {
    padding: 12px 16px;
    gap: 2px;
  }
}






.form-white-text input:not([type="submit"]),
.form-white-text textarea {
    color: #f5f5f5 !important;
}

.form-white-text input:not([type="submit"])::placeholder,
.form-white-text textarea::placeholder {
    color: #4d4b4b !important;
    opacity: 1;
}











.about-container {
  max-width: 1128px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

.about-content {
  flex: 1.5;
  min-width: 0;
}

.title-desktop {
  margin: 0 0 24px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.title-mobile {
  display: none;
}

.about-image-mobile,
.about-img-mobile {
  display: none;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.4;
}

.about-image-desktop {
  flex: 1;
  min-width: 0;
  position: relative;
}

.about-img-desktop {
  width: 100%;
  height: 591px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 12px;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
    white-space: normal;
    margin-bottom: 16px;
    order: -1;
  }

  .about-image-mobile {
    display: block;
    order: 0;
    width: 100%;
    margin-bottom: 16px;
    position: relative;
  }

  .about-img-mobile {
    display: block;
    width: 100%;
    height: 317px;
    object-fit: cover;
  }

  .about-image-desktop {
    display: none;
  }

  .about-content {
    order: 1;
    width: 100%;
  }

}









.diagonal-block {
  display: flex;
  max-width: 1128px;
  margin: 0 auto;
  gap: 24px;
  position: relative;
  z-index: 0;
}

.divclbn {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  z-index: 2;
	  position: relative;

}

.divclbn2 {
  flex: 1;
  position: relative;
  z-index: 1;
}

.block-title {
  margin-bottom: 24px;
}

.desktop-title {
  display: block;
  margin: 0 !important;
  margin-bottom: 12px !important;
}

.mobile-title {
  display: none;
  margin: 0 !important;
  margin-bottom: 24px !important;

}

.desktop-img-wrap,
.mobile-img-wrap {
  position: relative;
}

.desktop-img {
  width: 100%;
  height: 553px;
  object-fit: cover;
  display: block;
  z-index: 0;
  position: relative;
}

.mobile-img {
  width: 100%;
  height: 317px;
  object-fit: cover;
  display: none;
  margin-bottom: 12px;
}

.img-overlay-ab-us {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.block-text p {
	margin: 12px 0px;
}

.icon-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.icon-heading h4 {
margin: 0 !important;
}

.btn-row {
  margin-top: 24px;
  text-transform: uppercase;
}

.main-btn {
  padding: 12px 24px;
  text-decoration: none;
  text-align: center;
  border: 1px solid #404040;
  background-color: #404040;
  color: #fff;
  transition: 0.3s ease;
  display: inline-block;
  max-width: 221px;
	font-size: 20px;
}

.main-btn:hover {
  background-color: transparent;
  color: #404040;
}

@media (max-width: 768px) {
  .diagonal-block {
    flex-direction: column;
    gap: 20px;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

  .mobile-img {
    display: block;
  }

  .desktop-img-wrap {
    display: none;
  }

  .btn-row {
    width: 50%;
    display: flex;
    justify-content: flex-start;
	margin-top: 12px;
  }

  .main-btn {
    max-width: none;
	  padding: 8px 16px;
	  font-size: 13px;

  }
.img-overlay-ab-us {
  height: 317px;
}
	.icon-img {
  width: 16px;
  height: 16px;
}
}







/* Clones of original .benefits- classes for .whyus- */

.whyus-section {
    padding: 0px 0;
}

.whyus-container {
    max-width: 1128px;
    margin: 0 auto;
}

.whyus-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.whyus-card-ab-us {
    flex: 1;
    border: 1px solid #AFAFAF;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.whyus-card-image-ab-us {
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    min-height: 123px;
    padding: 12px 12px;
}

.whyus-title {
    margin: 0 !important;
    position: relative;
    z-index: 2;
    text-align: center;
}

.whyus-title-6 {
    text-align: left;
    color: #F5F5F5;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.whyus-card:not(.whyus-card-image) .whyus-title {
color: #404040;
}

.whyus-text {
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (max-width: 768px) {
    .whyus-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .whyus-card-ab-us {
        padding: 12px 16px;
        gap: 2px;
	}
.whyus-card-image-ab-us {
    min-height: 81px;
}
}





.cnt-img img{
	width: 100% !important;
}









.custom-blog-list {
    display: flex;
    flex-direction: column;
    gap: 56px;
	margin-top: 56px;
}

.custom-post-item {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.custom-post-thumbnail img {
    width: 100%;
    height: 317px;
    object-fit: contain;
}

/* Скрываем изображения по умолчанию */
.desktop-only,
.mobile-only {
    display: none;
}

/* Десктопная версия */
@media (min-width: 769px) {
    .desktop-only {
        display: block;
        flex-shrink: 0;
    }

    .mobile-only {
        display: none;
    }

    .custom-post-item {
        flex-direction: row;
        align-items: stretch;
    }

    .custom-post-thumbnail.desktop-only {
        height: 317px;
    }

    .custom-post-content-wrapper {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 12px;
        justify-content: flex-start;
    }

    .custom-post-content.title-block,
    .custom-post-content {
        order: unset;
        width: 100%;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .custom-post-item {
        flex-direction: column;
    }

    .custom-post-content.title-block {
        order: 0;
    }

    .custom-post-thumbnail.mobile-only {
        order: 1;
		margin-bottom: 12px;
        width: 100%;
        object-fit: contain;
    }
	.custom-post-thumbnail.mobile-only img {
	width: 100%;
    height: 220px;
    object-fit: cover;
	} 

    .custom-post-content {
        order: 2;
    }
	.custom-read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #404040;
    color: #f5f5f5;
    font-weight: 500;
	text-transform: uppercase;
}
	.custom-read-more:hover {
    background-color: transparent;
	border: 1px solid #404040;
	color: #404040;
	    padding: 8px 16px;

	
}
}

.custom-post-title {
    margin: 0 !important;
}

.custom-post-excerpt {
    margin: 0 0 12px;
    line-height: 1.0;
}

.custom-read-more {
    display: inline-block;
    padding: 12px 24px;
    background-color: #404040;
    color: #f5f5f5;
    font-weight: 500;
	text-transform: uppercase;
}

.custom-read-more:hover {
    background-color: transparent;
	border: 1px solid #404040;
	color: #404040;
	
}

/* Pagination */
.custom-pagination {
    text-align: center;
    margin-top: 48px;
}

.custom-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.custom-pagination .current {
    background: #4374ba;
    color: #fff;
    font-weight: bold;
}


.wp-block-post-author__content {
    align-content: center;
}

img.avatar.avatar-48.photo {
    border-radius: 50%;
}








.latest-news-wrapper {
    position: relative;
    max-width: 1128px;
    margin: 0 auto;
    overflow: hidden;
}

.latest-news-slider {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.latest-news-item {
    position: relative;
    min-width: 100%;
    padding: 0 0;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.news-thumbnail-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%; 
}

.news-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5;
}

.news-image-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.news-text {
    color: white;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    width: 100%;
}

.news-text h3 {
    margin: 0 0 10px 0;
	color: #f5f5f5;
}

.news-text p {
    margin: 0;
    line-height: 1.0;
		color: #f5f5f5;

}

.news-image-link:hover .news-overlay {
    opacity: 1;
}

.news-image-link:hover .news-text {
    transform: translateY(0);
    opacity: 1;
}

.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.3s ease;
}

.news-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.news-nav svg {
    fill: white;
    width: 24px;
    height: 24px;
}

.news-nav.prev {
    left: 10px;
}

.news-nav.next {
    right: 10px;
}

@media (min-width: 769px) {
    .latest-news-slider {
        flex-wrap: wrap;
        gap: 20px;
        transform: none !important;
        justify-content: center;
    }
    
    .latest-news-item {
        width: calc(33.333% - 14px);
        min-width: auto;
        margin-bottom: 20px;
    }

    .latest-news-item:nth-child(n+4) {
        display: none;
    }
    
    .news-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .latest-news-wrapper {
        padding: 0px 0;
    }
    
    .news-nav {
        display: flex;
        width: 30px;
        height: 30px;
    }
    
    .news-nav svg {
        width: 20px;
        height: 20px;
    }
}


.wpcf7 form.sent .wpcf7-response-output {
    color: #000000;
}






