/*
Theme Name:   Virtue Child – Bingley WaW
Theme URI:    https://www.bingleywalkersarewelcome.org.uk/
Description:  Child theme of Virtue holding all Bingley Walkers are Welcome customisations (templates, schema, GA tag, author box, Codegena loader, sticky posts, Download Manager template), so Virtue can be updated safely.
Author:       Cedric Farineau
Template:     virtue
Version:      1.1.4
Requires PHP: 7.4
Text Domain:  virtue-child
*/

/*
 * Virtue loads this file automatically after its own stylesheets (handle "virtue_child").
 * Bump "Version" above whenever you change this file, so browsers and LiteSpeed pick up the new copy.
 *
 * Site-wide custom CSS (homepage icon colours, WPDM/KingComposer fixes, CTA titles, comment title)
 * stays in Theme Options → Custom CSS, which is shared by Virtue and this child theme.
 */


/* ------------------------------------------------------------------
   Icon font: add font-display:swap
   The icon font the site actually uses is declared inside Virtue's virtue.css
   (assets/css/icons.css is not loaded on the front end). This re-declares the same
   font with font-display:swap; as it loads after virtue.css, it takes precedence.
   Paths point to Virtue's own font files.
   ------------------------------------------------------------------ */
@font-face {
	font-family: "kt-font-awesome";
	src: url(../virtue/assets/css/fonts/kt-font-awesome.eot?7wxduc);
	src: url(../virtue/assets/css/fonts/kt-font-awesome.eot?7wxduc#iefix) format("embedded-opentype"),
	     url(../virtue/assets/css/fonts/kt-font-awesome.woff2?7wxduc) format("woff2"),
	     url(../virtue/assets/css/fonts/kt-font-awesome.ttf?7wxduc) format("truetype"),
	     url(../virtue/assets/css/fonts/kt-font-awesome.woff?7wxduc) format("woff"),
	     url(../virtue/assets/css/fonts/kt-font-awesome.svg?7wxduc#kt-font-awesome) format("svg");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}


/* ------------------------------------------------------------------
   Single post header dividers (workflow item 11)
   Replicates the .page-header borders above and below the post title.
   ------------------------------------------------------------------ */
.single-article .post > header {
    border-top: 1px solid rgba(0,0,0,.05);
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: 15px 0;
    margin-bottom: 30px;
}


/* ------------------------------------------------------------------
   Portfolio grid vs drop-down menus (v1.1.3)
   Virtue's virtue.css gives every link inside a portfolio item "z-index: 1000",
   higher than the main menu (#nav-main, 699), so on /photos/ and the galleries
   the photos covered the lower part of the Walks drop-down and its sub-menus.
   "isolation: isolate" keeps those z-indexes inside each photo card, so the
   card's own overlay still works but the menu always stays on top.
   ------------------------------------------------------------------ */
.portfolio_item {
	isolation: isolate;
}
