/*
Theme Name: Deamoreboutique
Author: Deamoreboutique
Description: Deamoreboutique is a lightweight block theme built for fast, readable pages.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.7
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, style-variations
Version: 1.0.0
Text Domain: deamoreboutique
*/

/*
 * Font smoothing
 */

 body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Opinionated Style for Anchors.
 * Anchors get a thin underline offset more than default.
 * Headings get slightly different dimensions.
 * Any anchors IN the content are underlined by default, then none on hover.
 * Any anchors OUT of the content behave the opposite.
 * Buttons have no underlines.
 */
a {
	cursor: pointer;
}
:is(h1, h2, h3, h4, h5, h6) a:is(:hover, :focus) {
	text-underline-offset: 0.15em;
	text-decoration-thickness: 0.02em;
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */
.wp-block-button__link {
    	padding: calc(1.2em + 2px) calc(2em + 2px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
    	padding: 1.2em 2em;
}
	
.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-post-comments input[type=submit]:hover,
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	border: 2px solid var(--wp--preset--color--foreground);
    	padding: 1.2em 2em;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	border: 2px solid var(--wp--preset--color--foreground);
}

/* Special Condition for buttons inside of groups where the background color is set to the foreground palette color */
.wp-block-group.has-foreground-background-color .wp-block-button .wp-block-button__link:not(.has-background-color) {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}
.wp-block-group.has-foreground-background-color .wp-block-button .wp-block-button__link:not(.has-background-color):hover {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	border: 2px solid var(--wp--preset--color--background);
}
.wp-block-group.has-foreground-background-color .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background-color) {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
}
.wp-block-group.has-foreground-background-color .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background-color):hover {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 0;
	border-color: var(--wp--preset--color--foreground);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
	padding-left: 1em;
}
.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--typography--font-size--medium);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	line-height: 1.7;
	border:none;
	padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
}

/*
 * Decrease the size of social icons
 */
.wp-block-social-links.is-style-logos-only .wp-social-link svg {
	height: 1em;
	width: 1em;
}

/*
 * Alignment styles, borrowed from Twenty Twenty-Two.
 * 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 {
	padding-left: var(--wp--custom--gap--horizontal);
	padding-right: var(--wp--custom--gap--horizontal);
}

.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'] {
	margin-left: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
	margin-right: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
	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"],
/* We also want to avoid stacking negative margins. */
.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;
}

/* We are unable to style the "cite" element in the quote block */
.wp-block-quote cite {
	font-family: var(--wp--preset--font-family--body-font);
	font-style: italic;
	font-size: 0.9rem;
}

/* The plain quote block has a left-padding that doesn't work well with our design */
.wp-block-quote.is-style-plain {
	padding-left: 0;
}

/** Navigation text-decoration correction **/
.wp-block-navigation:where(:not([class*=has-text-decoration])) a {
	text-decoration-thickness: 1px;
}

/** Navigation sub-menu items **/
.wp-block-navigation .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	text-transform: uppercase;
	font-weight: 500;
	line-height: 2.6;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}

/** Desktop responsive navigation layout **/
.wp-block-navigation.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
	margin: 0 auto;
	max-width: 820px;
	height: 100%;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.wp-block-navigation .wp-block-navigation__responsive-dialog,
.wp-block-navigation .wp-block-navigation__responsive-close {
	height: 100%;
}
.wp-block-navigation.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__container {
	justify-content: center;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close {
	left: 0;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	padding-left: var(--wp--custom--gap--horizontal);
	padding-right: var(--wp--custom--gap--horizontal);
	padding-top: 3vw;
}

header.wp-block-template-part{
  padding: 0 !important;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: 1260px !important;
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content, .items-justified-left{
  justify-content: flex-end;
}

header.wp-block-template-part .wp-block-columns {
  align-items: center !important;
}

.wp-block-post-content > p:first-of-type, body {
  font-size: 1.05em !important;
}

h1{
  text-align: center;
  font-weight: 800;
}

.labels-block {
    background: #222a30;
    padding: 32px 36px;
    position: relative;
    box-shadow: inset 4px 0 0 #2e75a8;
}

.labels-block .wp-block-heading {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding-bottom: 14px;
    position: relative;
}


.labels-block p {
    color: #c7ced4;
    line-height: 1.7;
    margin: 0;
}

.labels-block p a {
    color: #2e75a8;
    text-decoration: none;
    font-weight: 600;
    box-shadow: inset 0 -1px 0 #2e75a8;
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.labels-block p a:hover {
    color: #ffffff;
    box-shadow: inset 0 -1px 0 #ffffff;
}


.wp-block-post-content :is(img, .wp-block-image img){
  border-radius: unset !important;
}


.dress-block {
    background: #222a30;
    padding: 20px 24px;
    box-shadow: inset 4px 0 0 #2e75a8;
}

.dress-block-text .wp-block-heading {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0 0 20px;
    padding-bottom: 16px;
    position: relative;
}

.dress-block-text p {
    color: #c7ced4;
    margin: 0;
}

.dress-block-img {
    padding: 6px;
    background: #1a2025;
    box-shadow: inset 0 0 0 1px #2e75a8;
}

.dress-block-img .wp-block-image {
    margin: 0;
}

.dress-block-img img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(15%) contrast(1.05);
}

@media (max-width: 782px) {
    .dress-block {
        padding: 28px 24px;
    }
}


.dress-block2 {
    background: #222a30;
    padding: 20px 24px;
    box-shadow: inset -4px 0 0 #2e75a8;
}

.dress-block2 .dress-block-img {
    padding: 6px;
    background: #1a2025;
    box-shadow: inset 0 0 0 1px #2e75a8;
}

.dress-block2 .dress-block-img .wp-block-image {
    margin: 0;
}

.dress-block2 .dress-block-img img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(15%) contrast(1.05);
}

.dress-block2 .dress-block-text .wp-block-heading {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0 0 20px;
    padding-bottom: 16px;
    position: relative;
}

.dress-block2 .dress-block-text .wp-block-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    background: #2e75a8;
}

.dress-block2 .dress-block-text p {
    color: #c7ced4;
    line-height: 1.75;
    margin: 0;
}

.dress-block2 .dress-block-text p a {
    color: #2e75a8;
    text-decoration: none;
    font-weight: 600;
    box-shadow: inset 0 -1px 0 #2e75a8;
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.dress-block2 .dress-block-text p a:hover {
    color: #ffffff;
    box-shadow: inset 0 -1px 0 #ffffff;
}

@media (max-width: 782px) {
    .dress-block2 {
        padding: 28px 24px;
    }

    .dress-block2 .dress-block-text .wp-block-heading {
        font-size: 22px;
    }
}

@media (max-width: 650px) {
  .wp-block-post-content tbody td {
    display: block;
    text-align: right;
  }


@media (max-width: 600px){
  ul.wp-block-navigation__container.is-responsive{
    justify-content: flex-start !important;
}
}




.wp-block-table thead tr th{
  text-align: center;
}

.wp-block-table tbody td.has-text-align-center{
  text-align: center;
}


.wp-block-post-content .numer-list {
    list-style: none;
    counter-reset: timeline;
    margin: 0;
    padding: 0;
}

.wp-block-post-content .numer-list li {
    counter-increment: timeline;
    position: relative;
    background: #222a30;
    padding: 20px 28px 20px 76px;
    margin: 0 0 2px;
    color: #c7ced4;
}

.numer-list li::before {
    content: counter(timeline);
    position: absolute;
    left: 24px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: #2e75a8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numer-list li strong {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 782px) {
    .numer-list li {
        padding: 18px 20px 18px 66px;
    }

    .numer-list li::before {
        left: 18px;
        top: 18px;
        width: 28px;
        height: 28px;
    }
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details {
    background: #222a30;
    margin: 0 0 2px;
    box-shadow: inset 4px 0 0 #2e75a8;
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details summary {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 20px 56px 20px 28px;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #2e75a8;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details[open] summary::after {
    content: "−";
}

.wp-block-wpseopress-faq-block-v2 .wp-block-details p {
    color: #c7ced4;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0 28px 24px;
}

@media (max-width: 782px) {
    .wp-block-wpseopress-faq-block-v2 .wp-block-details summary {
        font-size: 16px;
        padding: 16px 50px 16px 20px;
    }

    .wp-block-wpseopress-faq-block-v2 .wp-block-details p {
        padding: 0 20px 20px;
    }
}

/** Categories list block: remove list decoration **/
.wp-block-categories {
	list-style-type: none;
}

/** Post Navigation Styles **/
.deamoreboutique-post-navigation .wp-block-post-navigation-link .post-navigation-link__label {
	font-family: var(--wp--preset--font-family--body-font);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 3;
}
  
  @media (max-width: 650px) {
    .wp-block-post-content tbody td {
      flex-wrap: wrap;
    }
    .wp-block-table thead {
  border-bottom: unset !important;
}
  }
  
@media (max-width: 599px) {
	.deamoreboutique-post-navigation .post-navigation-link__title {
		display: none;
	}
	.deamoreboutique-post-navigation .wp-block-column:nth-of-type(2) {
		display: none;
	}	
	.deamoreboutique-post-navigation .post-navigation-link-previous {
		text-align: left;
	}
	.deamoreboutique-post-navigation .post-navigation-link-next {
		text-align: right;
	}
}


