/*
Theme Name: Perfect Couple
Theme URI: https://themeforest.net/item/perfect-couple-wedding-wordpress-theme/9149465
Author: Hleb Paltanovich
Author URI: https://www.coffeecreamthemes.com 
Description: Wedding Theme
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfect-couple
Tags: 
*/

html,
body {
  scroll-behavior: smooth;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

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

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

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

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

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

/*
 * Change the position of the more block on the front, by making it a block level element.
*/

body.home .is-position-sticky.at-top > header > .wp-block-group {
  background-color: transparent !important;
}

body.home .wp-block-group.is-position-sticky {
  transition: top 0.4s ease;
  position: fixed;
}

@media (min-width: 600px) {
  .is-position-sticky,
  .is-position-sticky > header > .wp-block-group {
    transition: top 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
  }
  body .wp-block-group.is-position-sticky {
    width: 100%;
  }
  body.home .is-position-sticky .wp-block-navigation,
  body.home .is-position-sticky .wp-block-navigation > ul,
  body.home .is-position-sticky .wp-block-navigation .current-menu-item {
    background: transparent !important;
  }
}

body .is-position-sticky.hidden {
  top: -90px;
  opacity: 0;
}

.admin-bar .is-position-sticky {
  top: 32px;
}

.wp-block-navigation__responsive-container-open {
  padding: 10px;
}
body.home .wp-block-navigation__responsive-container-open::after {
  content: "Menu";
  margin-left: 6px;
  font-family: var(--wp--preset--font-family--open-sans);
}

@media (max-width: 599px) {
  .wp-block-navigation__responsive-container-content,
  .wp-block-navigation__container {
    gap: 20px;
  }

  body .is-position-sticky > header > .wp-block-group {
    padding: 0 !important;
    border-radius: 5px;
  }

  body .wp-block-group.is-position-sticky {
    position: fixed;
    right: var(--wp--style--root--padding-right);
    margin-top: 30px;
  }
  body .wp-block-group.is-position-sticky nav {
    border-radius: 5px;
  }

  .admin-bar .is-position-sticky {
    top: 0;
  }
  .admin-bar .is-position-sticky.at-top {
    top: 46px;
  }
}

.hide-if-empty:empty {
  display: none;
}

.wp-block-post-excerpt__more-link {
  display: inline-block;
  padding-top: 1rem;
  padding-right: 2.25rem;
  padding-bottom: 1rem;
  padding-left: 2.25rem;
  background-color: var(--wp--preset--color--accent-2);
  color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--open-sans);
  font-size: var(--wp--preset--font-size--small);
  text-decoration: none;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
}

.wp-block-query-pagination-numbers {
  word-spacing: 5px;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  display: inline-block;
  border: 1px solid var(--wp--preset--color--accent-2);
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
}

.wp-block-query-pagination .current {
  border-color: inherit;
}

/* Footer */
footer.wp-block-template-part {
  margin-block-start: 0;
}
