/* hover transition exclude admin bar and social icons and tags, give tags a separate 'plain' look*/
a{
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}


a:not(.wp-block-social-link-anchor):not(#wpadminbar a):hover {
    color: var(--wp--preset--color--light-blue) !important;
    text-decoration: none !important;
}

a[rel="tag"] {
    color: inherit;
    text-decoration: none;
}

/* Featured image container for overlay */
.wp-block-query .wp-block-post-featured-image {
    position: relative;
    z-index: 1;
    }
    
    /* Overlay layer */
.wp-block-query .wp-block-post-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(64, 62, 74, 0); /* Transparent by default */
    transition: background 0.4s ease;
    z-index: 2;
    pointer-events: none;
    }
  
  /* Show dark overlay on hover */
.wp-block-query .wp-block-post-featured-image:hover::after {
    background: rgba(64, 62, 74, 0.52);
  }

/* Register cover block style to deduct the navigation size from 100vh */
/* CSS to display the featured image group as full screen on smaller devices */
  .wp-block-cover.is-style-viewport-minus-90, .featured-group {
    min-height: calc(100vh - 90px) !important;
}

/* Allow blocks to snuggle upto each other */
:root :where(.is-layout-flow) > * ,
:where(.wp-site-blocks) > * {
    margin-block-start: 0px;
    margin-block-end: 0;
}