.adamas-loop-section {
    scroll-margin-top: 100px;
}


/* =========================================
   ADAMAS PROCESS CARDS - ARROWS
   ========================================= */
/* Cards need to act as positioning anchors */
.adamas-process-cards > .wp-block-column {
    position: relative;
}

/* Arrow between cards */
.adamas-process-cards > .wp-block-column:not(:last-child)::after {
    content: "→";

    position: absolute;
    top: 50%;
    right: -71px;

    transform: translateY(-50%);

    color: #8fc31f;
    font-size: 54px;
    font-weight: 300;
    line-height: 1;

    pointer-events: none;
    z-index: 5;
}

/* Hide horizontal arrows when cards stack */
@media (max-width: 900px) {
    .adamas-process-cards > .wp-block-column::after {
        display: none;
    }
}
/* ========================================
   ADAMAS DECORATIVE LEAVES
   ======================================== */

body::before,
body::after {
    content: "";
    position: fixed;

    width: clamp(130px, 11vw, 210px);
    height: clamp(130px, 11vw, 210px);

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    pointer-events: none;
    z-index: 20;
}


/* LEFT LEAF */
body::before {
    background-image: url("https://adamasgroup.eu/wp-content/uploads/2026/09/Adamas-leaf-left.png");

    top: 170px;
    left: -45px;
}


/* RIGHT LEAF */
body::after {
    background-image: url("https://adamasgroup.eu/wp-content/uploads/2026/09/Adamas-leaf-right.png");
	
	transform: rotate(-80deg);
    bottom: 130px;
    right: -45px;
}


/* Hide on tablets / mobile */
@media (max-width: 1100px) {
    body::before,
    body::after {
        display: none;
    }
}

/* ========================================
   PROJECT PAGE - PROJECT FILTERS
======================================== */

/* Let Gutenberg control:
   - background
   - padding
   - margin
   - border
   - border radius
   - shadow
*/
.project-filter-card {
  position: relative;
}


/* ========================================
   FORCE FILTER PLUGIN TO FULL WIDTH
======================================== */

.project-filter-card .wpc-filters-widget-main-wrapper,
.project-filter-card .wpc-filters-widget-wrapper,
.project-filter-card .widget_wpc_filters_widget {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}


/* ========================================
   DESKTOP FILTER GRID
======================================== */

/*
   ROW 1:
   Search spans all 5 columns

   ROW 2:
   Five equal filter columns
*/
.project-filter-card .wpc-filters-widget-wrapper {
  display: grid !important;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  column-gap: 20px;
  row-gap: 22px;

  align-items: end;
}


/* Every filter always occupies its full grid cell */
.project-filter-card .wpc-filters-section {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;
  box-sizing: border-box;
}


/* ========================================
   SEARCH - FIRST ROW
======================================== */

/*
   Search takes the complete first grid row,
   but the actual field itself is only 440px wide.
*/
.project-filter-card .wpc-filter-layout-search-field {
  grid-column: 1 / -1;

  width: 440px !important;
  max-width: 100% !important;
}


/* Hide "Search" heading above search input */
.project-filter-card
.wpc-filter-layout-search-field
.wpc-filter-header {
  display: none !important;
}


/* Search internals use entire allocated width */
.project-filter-card .wpc-filter-search-form,
.project-filter-card .wpc-search-field-wrapper {
  width: 100% !important;
}


/* ========================================
   INPUTS + DROPDOWNS
======================================== */

.project-filter-card input[type="search"],
.project-filter-card input[type="text"],
.project-filter-card .wpc-search-field,
.project-filter-card select {
  width: 100% !important;
  max-width: none !important;

  min-height: 48px;

  border: 1px solid #ddd6cc;
  border-radius: 12px;

  background: #ffffff;

  padding: 0 14px;

  font-size: 15px;

  box-sizing: border-box;
}


/* Extra room for search icon */
.project-filter-card .wpc-search-field {
  padding-left: 42px;
}


/* ========================================
   FILTER LABELS
======================================== */

.project-filter-card label,
.project-filter-card .wpc-filter-title {
  display: block;

  margin-bottom: 8px;

  color: #2d2d2d;

  font-size: 14px;
  font-weight: 600;
}


/* Internal content also fills complete column */
.project-filter-card .wpc-filter-content {
  width: 100% !important;
  min-width: 0;
}


/* ========================================
   EMPTY / N.V.T. FILTERS
======================================== */

/*
   Even if Filter Everything replaces the dropdown
   with N.V.T., the filter column keeps exactly
   the same width.
*/
.project-filter-card .wpc-filter-terms-count-0 {
  width: 100% !important;
}


/*
   Keep empty/N.V.T. filters approximately
   the same height as a dropdown.
*/
.project-filter-card
.wpc-filter-terms-count-0
.wpc-filter-content {
  display: flex;
  align-items: center;

  width: 100% !important;
  min-height: 48px;

  box-sizing: border-box;
}


/* ========================================
   ACTIVE FILTER CHIPS
======================================== */

.project-filter-card .wpc-filter-chips-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 10px;

  margin: 20px 0 0 !important;
  padding: 0 !important;

  list-style: none;
}


/* Outer chip */
.project-filter-card .wpc-filter-chip {
  display: inline-flex !important;
  align-items: center;

  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  border-radius: 999px !important;

  list-style: none;
}


/* ========================================
   REMOVE PLUGIN OUTER CHIP STYLING
======================================== */

/*
   Filter Everything can use either an <a>
   or a span[data-wpc-span-link] as the clickable
   outer element.

   Remove all plugin borders/backgrounds here.
*/
.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > a,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > a:hover,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > a:focus,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > a:active,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > span[data-wpc-span-link],

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > span[data-wpc-span-link]:hover,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > span[data-wpc-span-link]:focus,

.project-filter-card
.wpc-filter-chips-list
li.wpc-filter-chip > span[data-wpc-span-link]:active {
  display: inline-flex;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  border-radius: 999px !important;

  text-decoration: none !important;
}


/* ========================================
   VISIBLE ACTIVE FILTER PILL
======================================== */

.project-filter-card .wpc-chip-content {
  display: inline-flex !important;
  align-items: center;

  gap: 7px;

  padding: 8px 14px;

  background: #eef5e8;
  color: #5c7a47;

  border: 1px solid #d8e5cc;
  border-radius: 999px;

  font-size: 14px;
  line-height: 1.2;

  white-space: nowrap;

  box-sizing: border-box;
}


/* Remove X */
.project-filter-card .wpc-chip-remove-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: inherit;
  line-height: 1;
}


/* Normal active-filter hover */
.project-filter-card
.wpc-filter-chip:not(.wpc-chip-reset-all)
a:hover
.wpc-chip-content,

.project-filter-card
.wpc-filter-chip:not(.wpc-chip-reset-all)
span[data-wpc-span-link]:hover
.wpc-chip-content {
  background: #e4efda;
}


/* ========================================
   RESET CHIP
======================================== */

/*
   Reset has NO border at all.
*/
.project-filter-card
.wpc-chip-reset-all
.wpc-chip-content {
  background: transparent !important;
  color: #5c7a47;

  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* Remove all plugin styling from reset link itself */
.project-filter-card
.wpc-filter-chips-list
li.wpc-chip-reset-all > a,

.project-filter-card
.wpc-filter-chips-list
li.wpc-chip-reset-all > a:hover,

.project-filter-card
.wpc-filter-chips-list
li.wpc-chip-reset-all > a:focus,

.project-filter-card
.wpc-filter-chips-list
li.wpc-chip-reset-all > a:active {
  background: transparent !important;

  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* Reset hover */
.project-filter-card
.wpc-chip-reset-all
a:hover
.wpc-chip-content {
  background: #f5f8f2 !important;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

  /*
     Tablet:
     2 filters per row
  */
  .project-filter-card .wpc-filters-widget-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 16px;
    row-gap: 20px;
  }


  .project-filter-card .wpc-filter-layout-search-field {
    grid-column: 1 / -1;

    width: 100% !important;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

  /*
     Mobile:
     Everything stacks
  */
  .project-filter-card .wpc-filters-widget-wrapper {
    grid-template-columns: 1fr;

    row-gap: 18px;
  }


  .project-filter-card .wpc-filter-layout-search-field {
    grid-column: 1;

    width: 100% !important;
  }

}


/* =========================================================
   END PROJECT PAGE - PROJECT FILTERS
   ========================================================= */

/* =========================================================
   CONTACT PAGE - LOCATION NETWORK
   ========================================================= */


/* Remove space between ALL gravity form inputs */
.gform-theme--framework .gform_fields {
    --gf-form-gap-y: 18px;
}

/* Actieve pagina in het hoofdmenu */
.current-menu-item > a,
.current-menu-ancestor > a {
    position: relative;
}

/* Groen lijntje onder actieve pagina */
.current-menu-item > a::after,
.current-menu-ancestor > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #afca0b;
}


/* =========================================================
   END CONTACT PAGE - LOCATION NETWORK
   ========================================================= */


/* =========================================================
   CONTACT PAGE - LOCATION NETWORK
   ========================================================= */

.location-network {
    position: relative;
    padding-top: 55px;
}

/* Horizontal dotted connection */
.location-network::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    border-top: 2px dashed #a8d32a;
    z-index: 0;
}

/* Individual card */
.location-card {
    position: relative;
    z-index: 1;
}

/* Dot above every card */
.location-card::before {
    content: "";
    display: block !important;
    position: absolute;
    
    width: 14px;
    height: 14px;

    top: -42px;
    left: 50%;
    transform: translateX(-50%);

    background: #a8d32a;
    border: 4px solid #f9f7ef;
    border-radius: 50%;

    z-index: 2;
}

/* Small connector between dot and card */
.location-card::after {
    content: "";
    position: absolute;

    top: -26px;
    left: 50%;
    transform: translateX(-50%);

    height: 26px;
    border-left: 1px solid #a8d32a;

    z-index: 0;
}


/* Tablet / mobile */
@media (max-width: 1024px) {

    .location-network {
        padding-top: 0;
    }

    .location-network::before,
    .location-card::before,
    .location-card::after {
        display: none !important;
    }
}

/* =========================================================
   END CONTACT PAGE - LOCATION NETWORK
   ========================================================= */

/* =========================================================
   ALL PAGES - GENERIC CSS
   ========================================================= */

/* =========================================================
   READ MORE ON BOTTOM RIGHT
   ========================================================= */
/* Card becomes positioning reference */
.loop-card {
    position: relative;
    height: 100%;
}

/* Leave room so content cannot overlap Read More */
.loop-card-body {
    padding-bottom: 45px;
}

/* Always bottom-right */
.loop-card-body > .card-read-more {
    position: absolute;
    right: 12px;
    bottom: 10px;
    margin: 0;
    width: auto;
}

/* =========================================================
   END READ MORE ON BOTTOM RIGHT
   ========================================================= */

/* ========================================
   ADAMAS PAGINATION
======================================== */

.adamas-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.adamas-pagination .page-numbers,
.adamas-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 36px;
    height: 36px;
    padding: 0 12px;

    border: 1px solid #a8cf2a;
    border-radius: 999px;

    color: #222;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.adamas-pagination a:hover {
    background-color: #a8cf2a;
    color: #111;
    transform: translateY(-2px);
}

.adamas-pagination .current {
    background-color: #a8cf2a;
    color: #111;
    font-weight: 700;
}

/* Limit Actualiteiten card description */
.actualiteit-card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* ========================================
   GENERIC PARAGRAPH WITH INLINE ICON
======================================== */

.paragraph-with-icon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* If the text + icon are inside a link */
.paragraph-with-icon a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Inline image/icon */
.paragraph-with-icon img {
  display: block !important;
  width: 1em;
  height: 1em;
  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}
/* ========================================
   END GENERIC PARAGRAPH WITH INLINE ICON
======================================== */

/* ========================================
   PILL STYLE
======================================== */

/* Actualiteiten taxonomy pill */
.post-term-pill {
    display: inline-flex !important;
    width: fit-content !important;

    margin: 18px 18px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Actual term */
.post-term-pill a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 8px 14px !important;

    background-color: #a6ce39 !important;
    color: #111 !important;

    border: none !important;
    border-radius: 6px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover */
.post-term-pill:hover {
    transform: translateY(-3px) scale(1.03);
}

.post-term-pill:hover a {
    background-color: #94ba25 !important;

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.15);

    color: #111 !important;
    text-decoration: none !important;
}

/* Prevent underline on focus/visited states */
.post-term-pill a:focus,
.post-term-pill a:visited,
.post-term-pill a:hover {
    color: #111 !important;
    text-decoration: none !important;
}

/* ========================================
   SECONDARY PILL STYLE
======================================== */

.post-term-pill.pill-secondary a {
    background-color: #72c7ee !important;
    color: #163d4d !important;
}

/* Secondary hover */
.post-term-pill.pill-secondary:hover a {
    background-color: #5db8df !important;

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.15);

    color: #163d4d !important;
}

/* Prevent underline / colour changes */
.post-term-pill.pill-secondary a:focus,
.post-term-pill.pill-secondary a:visited,
.post-term-pill.pill-secondary a:hover {
    color: #163d4d !important;
    text-decoration: none !important;
}
/* ========================================
   END PILL STYLE
======================================== */


/* Process card must be the positioning reference */
.process-step-card {
    position: relative;
    overflow: visible;
}

/* Number badge */
.process-step-number {
    position: absolute;
    top: -30px;
    left: -20px;
    z-index: 5;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    margin: 0 !important;
    padding: 0 !important;
}

/* Remove paragraph spacing inside the badge */
.process-step-number p {
    margin: 0 !important;
    line-height: 1;
    font-weight: 700;
}

/* ========================================
   APPLICATION PROCESS CONNECTOR
======================================== */

.process-connector {
    flex: 1 1 0 !important;

    width: auto !important;
    max-width: none !important;
    min-width: 20px !important;

    height: 4px !important;

    margin: 0 10px !important;
    padding: 0 !important;

    border: none !important;

    background-color: transparent !important;

    background-image: radial-gradient(
        circle,
        #a8cf2a 1.5px,
        transparent 1.7px
    ) !important;

    background-size: 8px 4px !important;
    background-repeat: repeat-x !important;
    background-position: center !important;

    opacity: 1 !important;
}

.title-green-line::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    background-color: #a8cf2a;
    margin-top: 10px;
}
.title-green-line-center::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background-color: #a8cf2a;
    margin: 12px auto 0;
}


/* Green line full width of the title text */
.title-green-line-full {
    width: fit-content;
}

.title-green-line-full::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #a8cf2a;
    margin-top: 10px;
}

.commission-process {
    position: relative;
}

.actualiteit-image-wrap {
    position: relative;
}

.actualiteit-type-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.actualiteit-type-badge ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.actualiteit-type-badge li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.actualiteit-type-badge li::marker {
    content: "";
}

.actualiteit-type-badge a {
    display: inline-block;
    background: #a8cf2a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* dotted connecting line */
.commission-process::before {
    content: "";
    position: absolute;
    top: 72px;              /* adjust until line hits icon centers */
    left: 8%;
    right: 8%;
    border-top: 2px dotted #a8cf2a;
    z-index: 0;
}

/* keep every step above the line */
.commission-step {
    position: relative;
    z-index: 1;
}

/* optional: prevent line showing through transparent icon areas */
.commission-step img {
    position: relative;
    z-index: 2;
}

@media (max-width: 782px) {
    .commission-process::before {
        display: none;
    }
}

/*
 * Project card section
 * */
.project-card-image {
    width: 100%;
    overflow: hidden;
}

.project-card-image .wp-block-post-featured-image {
    width: 100%;
    height: 100%;
    margin: 0;
}

.project-card-image .wp-block-post-featured-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-card-image .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   LANGUAGE SWITCHER HEADER
======================================== */
/* ========================================
   HEADER WPML LANGUAGE ALIGNMENT
======================================== */

.header-language {
    display: flex;
    align-items: center;
    align-self: center;

    width: fit-content;
    margin: 0;
    padding: 0;
}

/* Actual WPML block used on this site */
.header-language .wpml-language-switcher-block {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
    min-height: 0;
}

/* Current-language wrapper */
.header-language .current-language-item {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 0;

    line-height: 1;
}

/* Container around the link */
.header-language .current-language-item
.wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 0;

    line-height: 1;
}

/* The actual current-language link */
.header-language .current-language-item
.wp-block-navigation-item__content > a {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 0;

    line-height: 1;
}

/* Flag */
.header-language .current-language-item img,
.header-language .wpml-ls-flag {
    display: block;

    margin: 0 5px 0 0;
    padding: 0;

    vertical-align: middle;
}

/* Dropdown arrow */
.header-language .wp-block-navigation__submenu-icon {
    display: inline-flex;
    align-items: center;

    margin: 0 0 0 4px;
    padding: 0;
}

/* ========================================
   END LANGUAGE SWITCHER HEADER
======================================== */

/* ========================================
   GENERIC BUTTON WITH ICON
======================================== */

/* Generic button with inline icon */
.button-with-icon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Inline icon */
.button-with-icon .wp-block-button__link img {
  display: block;
  object-fit: contain;
  margin: 0;
  flex-shrink: 0;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.reading-time img {
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.reading-time p {
    margin: 0;
}
.full-image-cover .wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center !important;
}

/* =========================================
   GENERIC EQUAL HEIGHT QUERY LOOP CARDS
   ========================================= */

/* Make every Query Loop post stretch to its grid-row height */
.equal-height-grid .wp-block-post-template > li {
    display: flex !important;
    align-items: stretch !important;
}

/* Make any wrapper created inside the post stretch too */
.equal-height-grid .wp-block-post-template > li > * {
    width: 100%;
}

/* Make the actual card fill the complete post */
.equal-height-grid .equal-height-card {
    flex: 1 1 auto !important;
    align-self: stretch !important;

    width: 100% !important;
    height: 100% !important;

    box-sizing: border-box;
}


/* =========================================================
   END ALL PAGES - GENERIC CSS
   ========================================================= */

/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

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

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

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}
