@charset "UTF-8";
/*
 * CSS
 * Global
 */
/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowoStarter
 * File: CSS Reset
 */
/* 
 * BOX MODEL
 * Universal Box Sizing - https://css-tricks.com/box-sizing/ 
 */
*, *:before, *:after {
  box-sizing: border-box;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/*
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;

	font: inherit;
	vertical-align: baseline;
}
*/
/* COWOWO CSS RESET =============================================================== */
html, body,
div, span,
h1, h2, h3, h4, h5, h6,
p,
pre, code,
img,
dl, dt, dd,
ol, ul, li,
img {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%; /* for headings, works */
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto; /* The height is added to ensure the aspect ratio of the image is retained. */
  width: 100%;
  display: block;
}

picture {
  display: block;
}

a {
  background: transparent; /* Normalize.css - Remove the gray background color from active links in IE 10. */
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers. - Normalize.css
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ====================================================================================================================== */
/* FORMS                                                                                                                  */
/* ====================================================================================================================== */
/* INFO FRAMWEORK INPUT HOVER FOCUS ACTIVE ETC ----

Write CSS? 

Please don't forget to add :focus and :active styles along with :hover. :focus is important for keyboard and d-pad users.

Iinput ytops _ HOVER &  FOCUS  ar now ok in my framework (and infoOD & fart be)

BUT DSOES ACTIVE still apply to input typoes??????

*/
/* FORMS - iOS etc RESET ======================================= */
input[type=text],
input[type=submit],
input[type=reset],
input[type=button],
input[type=image],
textarea,
select {
  -webkit-appearance: none; /* VIP - to override al i.e. iOS safari stryling */
  border-radius: 0px;
}

input[type=text],
textarea {
  width: 100%;
}

input[type=text],
textarea {
  border: none;
}

label,
input[type=submit],
input[type=button],
button {
  cursor: pointer;
}

button {
  /* RESET */
  /* border-radius: 0px; */ /* ALSO DO FOR IOS ETC */
  /* this cause sglitcthy border color thingee */
  border: 0; /* OK - THIS TAKES CARE OF THE BORDER ASPECT & RADIUS */
  /*outline: 0;*/ /* DOES NOTHING */
  padding: 0; /* OK */
  /* margin: 0; */
  background: none; /* OK, TO DELETE BG COLOR */
}

/* oveflow:hidden; VS clearfix hack VS float:inline-block with font-size issues..... */
/*

I USE overflow:hidden, hwich works the same, UNLESS YOU GET FUCKED UP BY DELETED OVERFLOWING CONTENT.
view-source:http://mattbango.com/demos/hover-zoom/
http://css-tricks.com/snippets/css/clear-fix/

///
to avoid cleafix hack, use display inline block, and then add the vertcal align top..
but ther's the sapcing issue too... several ways to fix that

*/
textarea {
  resize: vertical; /* HAY QUE CONFIGURARLO !!!! */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/* TABLES */
/**
 * Remove most spacing between table cells. (Nomalize.css & Eric Meyer's Reset)
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
* CSS
* Variables - Colors
*/
/* 
 * SASS - VARIABLES - Colors 
 */
/* GENERIC COLORS */
/*
$c_white: #fff; // white
$c_black: #000; // black 
*/
/* 
$c_accent: #03A9F4;

$c_white: #fff; // white
$c_text: #212121;
$c_text_2: #727272;
$c_divider: #B6B6B6;
*/
/*
 * STEP 1 - COLOR DEFINITIONS
 */
:root {
  --c-black: #212121;
  --c-black-alt: #131212;
  --c-white: #ffffff;
  --c-white-alt: #F7F8F3;
  --c-test: #F7F8F3;
  --c-gray-light: #B6B6B6;
  --c-gray-dark: #727272;
  --c-special: #98BC37;
}

/*
 * STEP 2 - COLOR USAGE,IMPLEMENTATION
 */
:root {
  --c-text: var(--c-black);
  --c-text-alt: var(--c-gray-dark);
  --c-text-inv: var(--c-white);
  --c-bg: var(--c-test);
  /* */
  --c-bg-light: var(--c-gray-light);
  --c-bg-dark: var(--c-gray-dark);
  --c-accent: var(--c-special);
  /*
  --c-bg-tails: red; // just a tets 
  --c-text-tails: red; // just a tets 
  */
  --c-bg-tails: var(--c-bg);
  --c-text-tails: var(--c-text);
}

:root {
  color-scheme: light;
}

/* IMPLEMENTATION, IS THEME AGOSTIC */
body {
  background: var(--c-bg-alt);
  color: var(--c-text);
  /* */
  transition: background-color 0.3s, color 0.3s; /* not good, because it loads on page load and makes a flash */ /* OBS, BUT STIL HAS A FLASH ... */
}

header#header {
  transition: background-color 0.3s;
}

/*
 *
 * CSS Custom Properties aka CSS Variables
 * 
 * font-sizes
 * etc
 *
 */
/* 
* VARIABLES - Font size - TODO - S&D !!!
*/
/*
$fs_xxl: 34px; // 
$fs_xl: 28px;
$fs_l: 20px;
$fs_m: 16px;
$fs_s: 12px;
*/
/*
 * STEP 1 - DEFINITIONS - DO GOLDEN RATIO SUSTE, 1.618 - CHECK IN THE STYLEGYUDIE FOR HEADERS !!! 
 */
:root {
  --fs-xxxl: 48px;
  --fs-xxl: 34px;
  --fs-xl: 28px;
  --fs-l: 1.2rem;
  --fs-m: 16px;
  --fs-s: 12px;
}

/*
 * STEP 2 - USAGE, IMPLEMENTATION
 */
:root {
  /* — Capa 1: PRIMITIUS — */
  --renova-green-400: #B6D454;
  --renova-green-500: #98BC37;
  --renova-green-600: #84A52C;
  --renova-green-700: #5E771D;
  --renova-green-950: #16200B;
  --renova-ink: #1C1B16;
  --renova-gray-700: #444444;
  --renova-gray-500: #6B6A60;
  --renova-forest-950:#21271B;
  --renova-forest-900:#2E3724;
  --renova-paper-50: #FAF8F1;
  --renova-paper-100: #F2EEE2;
  --renova-paper-200: #E7E1D1;
  /* — Capa 2: SEMÀNTICS — */
  --bg: var(--renova-paper-50);
  --surface: #FFFFFF;
  --surface-alt: var(--renova-paper-100);
  --text: var(--renova-ink);
  --muted: var(--renova-gray-500);
  --primary: var(--renova-green-500);
  --primary-hover: var(--renova-green-600);
  --on-primary: var(--renova-green-950);
  --accent: var(--renova-green-700);
  --accent-on-dark: var(--renova-green-400);
  --dark: var(--renova-forest-950);
  --dark-2: var(--renova-forest-900);
  --border: var(--renova-paper-200);
  --line: rgba(28, 27, 22, 0.14);
  --radius: 4px;
  --radius-lg: 22px;
  --shadow-soft: 0 22px 60px -24px rgba(33, 39, 27, 0.30);
  --container: 1240px;
  --container-text: 760px;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 
 * CSS 
 * Branding reset - use the site's qaccent color to personalize some features
 */
/* 
 * STYLE IMPLEMENTATIONS 
 *
 * 1 - (text) selection
 * 2 - caret (input) - chekc del historial css tricks...
 * 3 - marker (li) - copy form moss
 *


 4 - SROLL BAR - https://css-tricks.com/custom-scrollbars-in-webkit/


 5) checbox color ... 


*/
/* 
 * 1 - (TEXT) SELECTION - aka tuypohgraphy ... 
 */
::-moz-selection {
  background-color: var(--c-accent);
  color: white;
} /* Code for Firefox */
::selection {
  background-color: var(--c-accent);
  color: white;
}

/* 
 * 2 - caret (input)  
 */
input, textarea {
  caret-color: var(--c-accent);
}

/* 
 * 3 - marker (li)
 */
li::marker {
  color: var(--c-accent);
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Sass - Layout
 */
/*
 * SASS - VARIABLES - LAYOUT - BREAK-POINTS 
 */
/*
 * SASS - VARIABLES - LAYOUT - SPACING
 */
/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Sass - Layout
 */
/* SPACINGS */
/* 
 * SASS - MIXINS - LAYOUT - line clamp / clamps // css clamps 
 */
/*
 * SASS - MIXINS - LAYOUT - RESPONSIVE
 */
/* 
 * SASS - MIXINS - LAYOUT - PADDING
 */
/* 
 * SASS - MIXINS - LAYOUT - MARGIN
 */
/* 
 * SASS - MIXINS - IMAGES
 */
/* 
 * SASS - MIXINS - IMAGES - ASPECT RATIOS
 */
/* 
 * SASS - MIXINS - SIMPLE SHAPES
 */
/* 
 * SASS - MIXINS - TEXT
 */
/* 
 *
 * CARDS
 *
 */
/* CSS Document - SASS */
/* Front-End */
/*
 * Author: Carl Johansson @carlwebdev
 * Project: wp-cowowo
 * File: Typography
 */
blockquote {
  border-left: 3px solid #999;
  background-color: #ccc;
  padding: 12px;
}

/*  TEXT: GENERAL TYPOGRAPHY ======================== */
/* 
 * FONTS - FONT-FACE
 */
/* 
 * SASS - VARIABLES - FONTS - "IMPORT" GOOGLE FONTS
 */
/*
// ideas de font size y line height
body{
  font-size:100%;
  line-height: 1.5;
}
*/
body {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  color: var(--c-text);
  font-size: 16px;
  /* line-height: $baseSpacing; */
}

a,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 24px;
}
p:last-of-type {
  margin-bottom: 0px;
}

/*  Typography - Headers ======================== */
/*
h1, h2, h3, h4, h5, h6 {
	margin: 10px 0 5px 0;
	// font-family: Arial, Helvetica, sans-serif;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight : normal;
	margin-top: 0px;
	// letter-spacing: -1px;

	}


h1 {font-size: 32px;}
h2 {font-size: 28px;}
h3 {font-size: 24px;}
h4 {font-size: 20px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}

*/
/*
h1 {
	font-size:4rem;
	// font-family: Arial, Helvetica, sans-serif;
	line-height:1.4;
	color:#000;
	margin-bottom:0.2em;
	}

h2 {
	font-size:2.5rem;
	line-height:1.2;
	color: #222;
	margin-bottom:.5em;
	margin-top:.5em;
	}

h3 {
	font-size : 1.75rem;
	line-height : 1.3; 
	color: #333;
	margin-bottom : 0.3em;
	letter-spacing: -1px;
	}

h4 {
font-size:1.5rem;
	line-height:1.25; 
	color:#444;
	margin-bottom:0.5em;
	}

h5 {
font-size:1.25rem; 
	color:#555;
	margin-bottom:1.25em;
	}

h6 {
	// font-size:1rem; 
	color:#666;

	font-size: $fontsizeMedium; 
	}
*/
/*  TEXT: ANCHORS ======================== */
a {
  /*color : #cc1122; */
  /*
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  */
}

/*
a:visited {color:#ee3344; }
a:focus {outline:thin dotted; color:rgb(0,0,0);}
a:hover, a:active {outline:0; color:#dd2233;}
*/
/** Text / TEXT FORMAT **/
/*
b, strong, .s {font-weight: bolder;} // VS bold ...
i, em, .i {font-style: italic;}
*/
/*  TEXT - PARAGRAPHS ======================== */
/* and do sth perhaps for p's firts line and first word stufff */
/* CSS HYPHENATION */
/*
p {
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}		
*/
/* ADD CODE, PRE, SMAPEL, XMP ETC ETC ETC */
/*

CSS FILE FOR TYPOGRAPHYS...

h headings

p ....

then, 

cursive

pre/code stuff

superscript, subscript ewtc

*/
/*
 * Project: elcatala.cat
 * Area: Front
 * File: TYPOGRAPHY - HTML-EDITOR
 */
.m_htmleditor {
  /*
  &.case_dark {
  	// background-color: $c_black_2; // TEMP
  	background-color: #252525;
  	color: $c_white;
  	a {color: inherit;} // TEST
  	}
  */
}
.m_htmleditor p {
  margin-bottom: 12px;
}
.m_htmleditor a {
  font-weight: bold;
}
.m_htmleditor a:hover {
  text-decoration: underline;
}
.m_htmleditor {
  /*
      * LISTS
      */
}
.m_htmleditor ul {
  margin-left: 24px;
  margin-bottom: 24px;
  list-style: disc;
}
.m_htmleditor ul li {
  margin-bottom: 10px;
}
.m_htmleditor ul li ul {
  margin-top: 10px;
}
.m_htmleditor {
  /*	
    h2 { // se usa en legalpages !!! was
        font-size: 28px;
        margin-top:24px;
        margin-bottom:24px;
        }

    h3 { // se usa en legalpages !!! was
        font-size: 20px;
        // color: #f00;
        margin-top:24px;
        // margin-bottom:12px;
  		margin-bottom:6px;
        // color: $c_blue;
        }
    */
}
.m_htmleditor h1 {
  font-size: 32px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.m_htmleditor h2 {
  font-size: 28px;
  margin-top: 24px;
  margin-bottom: 18px;
}
.m_htmleditor h3 {
  font-size: 24px;
  margin-top: 24px;
  margin-bottom: 6px;
  margin-bottom: 12px;
}
.m_htmleditor h4 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 36px;
  margin-bottom: 12px;
}
.m_htmleditor h5 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 6px;
}
.m_htmleditor h6 {
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 6px;
}
.m_htmleditor {
  /*
   * MEDIA INSERTADO EN EL HTMLEDITOR
   */
}
.m_htmleditor img {
  width: 100%;
  display: block;
  margin-top: 48px;
  margin-bottom: 48px;
  margin-block: 48px;
}
.m_htmleditor iframe {
  width: 100%;
  margin-top: 48px;
  margin-bottom: 48px;
  margin-block: 48px;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Dev temp stuff
 */
.dev_hide {
  display: none;
}

/*
*, *:before, *:after {
  // outline: 1px solid red; // TODO - CHOOSE A MORE NEUTRAL COLOR !!! 
  // outline: 1px solid red !important; // not all tags where getitng te outline for some odd reason... 
  outline: 1px solid #999 !important; // not all tags where getitng te outline for some odd reason... 
}

*, *:before, *:after {
  background-color: rgba(240,243,196,0.50)
}
*/
/* CSS Document - SASS */
/* Front-End */
/* STYLEGUIDE */
#demo_wrapper {
  background-color: #ccc;
}

#w_fonts {
  font-size: var(--fs-xl);
}

.fonts_item:nth-of-type(1) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
}
.fonts_item:nth-of-type(2) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
}
.fonts_item:nth-of-type(3) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
}
.fonts_item:nth-of-type(4) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
}
.fonts_item:nth-of-type(5) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: bold;
}
.fonts_item:nth-of-type(6) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
}
.fonts_item:nth-of-type(7) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
}
.fonts_item:nth-of-type(8) {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
}

#w_colors {
  overflow: hidden;
}

.colors_item {
  float: left;
  width: 10.75%;
  padding-top: 10.75%;
  margin-right: 2%;
  margin-bottom: 2%;
}
.colors_item:nth-of-type(8n) {
  margin-right: 0%;
}
.colors_item {
  /*
  &:nth-of-type(1) {background-color: $c_primary_dark;}	
  &:nth-of-type(2) {background-color: $c_primary;}	
  &:nth-of-type(3) {background-color: $c_primary_light;}	
  &:nth-of-type(4) {background-color: $c_white;}	
  &:nth-of-type(5) {background-color: $c_accent;}	
  &:nth-of-type(6) {background-color: $c_text;}	
  &:nth-of-type(7) {background-color: $c_text_2;}	
  &:nth-of-type(8) {background-color: $c_divider;}	
  */
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Buttons
 */
/* BELONGS HERE IN FORMS IN RESET FILE  / class="css_submit_button" */
/* USE css style for submit button (input) inseide generic_links */
.css_submit_button {
  cursor: pointer;
  border: none;
  border: 2px solid #000;
  padding: 0.2rem 0.5rem;
  background-color: #bdbec0; /* GRISACEO */
  font-family: "Antonio", sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: #000;
}

.css_submit_button:hover {
  background-color: #000;
  color: #0d80a1;
}

input[type=submit].css_submit_button:disabled {
  background: #dddddd;
  color: #F00;
  cursor: default;
}

/* do sass for colors, and for interactiuon behaviours - UI */
/* do sass for interactiuon behaviours - UI */
/* UI ELEMENTS / move to buttons file ================================================================================== */
.buttonStyleX, .button, .buttonChip, .card_blog .info ul.post_categories_list a, .buttonBig, .card_blog .info .link a, .card_blog_2 .info .link a, .card_blog_1 .info .link a, a.section_link, .section_link_container a, .buttonMedium, input[type=submit],
input[type=reset], .buttonSmall, .card_blog .info .tags a, .card_blog .info .category a, .card_blog_2 .info .tags a, .card_blog_2 .info .category a, .card_blog_1 .info .tags a, .card_blog_1 .info .category a, .sidebar_content aside.widget_tag_cloud .tagcloud a {
  /*
  background-color:$c_primary_dark;
  &:hover {background-color: $c_primary;}		
  */
  background-color: var(--c-accent);
}
.buttonStyleX:hover, .button:hover, .buttonChip:hover, .card_blog .info ul.post_categories_list a:hover, .buttonBig:hover, .card_blog .info .link a:hover, .card_blog_2 .info .link a:hover, .card_blog_1 .info .link a:hover, a.section_link:hover, .section_link_container a:hover, .buttonMedium:hover, input[type=submit]:hover,
input[type=reset]:hover, .buttonSmall:hover, .card_blog .info .tags a:hover, .card_blog .info .category a:hover, .card_blog_2 .info .tags a:hover, .card_blog_2 .info .category a:hover, .card_blog_1 .info .tags a:hover, .card_blog_1 .info .category a:hover, .sidebar_content aside.widget_tag_cloud .tagcloud a:hover {
  background-color: #60f;
}

.button, .buttonChip, .card_blog .info ul.post_categories_list a, .buttonBig, .card_blog .info .link a, .card_blog_2 .info .link a, .card_blog_1 .info .link a, a.section_link, .section_link_container a, .buttonMedium, input[type=submit],
input[type=reset], .buttonSmall, .card_blog .info .tags a, .card_blog .info .category a, .card_blog_2 .info .tags a, .card_blog_2 .info .category a, .card_blog_1 .info .tags a, .card_blog_1 .info .category a, .sidebar_content aside.widget_tag_cloud .tagcloud a {
  cursor: pointer;
  transition: width 1s linear;
  font-weight: bold;
  color: var(--c-white);
  padding: 0.6em 1em;
  border-radius: 6px;
}

.buttonSmall, .card_blog .info .tags a, .card_blog .info .category a, .card_blog_2 .info .tags a, .card_blog_2 .info .category a, .card_blog_1 .info .tags a, .card_blog_1 .info .category a, .sidebar_content aside.widget_tag_cloud .tagcloud a {
  font-size: var(--fs-s);
}

.buttonMedium, input[type=submit],
input[type=reset] {
  font-size: var(--fs-m);
}

.buttonBig, .card_blog .info .link a, .card_blog_2 .info .link a, .card_blog_1 .info .link a, a.section_link, .section_link_container a {
  font-size: var(--fs-l);
}

.buttonChip, .card_blog .info ul.post_categories_list a {
  padding: 0.2em 0.6em;
  font-size: var(--fs-s);
}

/* MUST BE CALLED BEFORE FORMS, AS CERTAIN FOMR ELEMENTS CALL BUTOTN STYLES */
/*
* cowoBoilerplate
* Built by cowowo.cat
* Author: Carl Johansson @carlwebdev 
* Project: XXX
* File: Forms
* Filename: _forms_layout.scss
*/
.l_gridBase_50_50 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.l_gridBase_50_50 .col {
  background-color: white;
  box-shadow: 0px 0px 8px 2px #ccc;
  padding: 24px;
}
.l_gridBase_50_50 .col:hover {
  cursor: pointer;
  box-shadow: 0px 0px 4px 0px #ccc;
  transition: box-shadow 0.4s linear;
}

form {
  max-width: 400px;
  /* display: block; */
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
}
/* SASS PARTIAL - FORM LAYOUTS is not the ame as form elements */
.formLine {
  overflow: hidden; /* if submit is floated (right)) */
  margin-bottom: 24px;
}
.formLine:last-of-type {
  margin-bottom: 0px;
}

/*
* cowoBoilerplate
* Built by cowowo.cat
* Author: Carl Johansson @carlwebdev 
* Project: XXX
* File: Forms
* Filename: _forms.scss
*/
/* ====================================================================================================================== */
/* FORMS                                                                                                                  */
/* ====================================================================================================================== */
/* INFO FRAMWEORK INPUT HOVER FOCUS ACTIVE ETC ----

Write CSS? 

Please don't forget to add :focus and :active styles along with :hover. :focus is important for keyboard and d-pad users.

Iinput ytops _ HOVER &  FOCUS  ar now ok in my framework (and infoOD & fart be)

BUT DSOES ACTIVE still apply to input typoes??????

*/
/* 
 * FORM ELEMENTS 
 */
label {
  color: var(--c-text-alt);
  font-size: var(--fs-m);
}
label {
  cursor: pointer; /* for lables triggering checkboxes and radio buttons :-) */
}

input[type=range] {
  width: 100%;
}

input[type=text],
input[type=email],
input[type=password],
textarea,
select,
input[type=file] {
  width: 100%;
  border: 3px solid var(--c-accent);
}

select {
  padding: 2px 5px;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
  padding: 12px 24px;
}

input[type=submit],
input[type=reset] {
  border: none;
}

/*
input[type=reset] {
	@extend .buttonSmall;
	}
*/
/*
// THIS IS TOO BRAOD, CANNOT BE, NOW HAS CONFLICT WITH NMY HEADER BUTOTN S!!!
button { // necesita mismos tratamientos que input type submit // reset etc
	@extend .buttonMedium;
  // width:125px;
	}	
*/
/* UI 
 * FOCUS and ANIMATIONS +
 */
input[type=text],
input[type=email],
input[type=password],
select,
textarea {
  transition: width 1s linear;
}

/* UI
 * HOVER must be before ACTIVE 
 */
input[type=text]:hover,
input[type=email]:hover,
input[type=password]:hover,
select:hover,
textarea:hover {
  background: #ff9999;
  /* border: 1px solid #D3D3D3; */
}

/* UI
 * ACTIVE must be after HOVER 
 */
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
  outline: none; /* VIP - wait a minute !! accesibility !!!!!!!!!!!!!!!!!!!!!!!!*/
  background-color: var(--c-white);
  border: 3px solid #60f;
}

/* & meter lo de los checkboxes !!!!!!!!!!!!!!!!!!!!!! */
/* ADD ALSO PLACEHOLDER TEXT THINGEES !!!!!!!!! */
/* UI 
 * DISABLED FORM ELEMENTS 
 */
/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Forms - file button hack
 */
/* 
 * FORM HACKS - input image / checkbox / select // SEEK AND DESTROOOY! - no creo que esté siendo usado en este cms, pspaaad !!! 
 */
/* FORM - label covering input[type=file] */
/* HTML FOR THIS:
<label class="filebutton">
Browse For File!
<span><input type="file" id="myfile" name="myfile"></span>
</label>
*/
label.filebutton {
  display: inline-block;
  margin-top: 1px;
  position: relative;
  overflow: hidden;
  height: 32px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  background-color: var(--c-accent);
}
label.filebutton span input {
  cursor: pointer;
  /* _cursor: hand; */
  z-index: 999;
  position: absolute;
  /* top: -2px; */
  top: -4px;
  left: -9999px;
  opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "alpha(opacity=0)";
}

/* FRAMEWORK - input type image */
/* input[type=file] & label trick */
/* THE HTML
        <label class="filebutton">
        Seleccionar arxiu
        <span><input type="file" name="doiser" id="dosier" /></span>
        </label>
*/
label.filebutton_NOT {
  width: 120px;
  height: 40px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0 5px;
}

label.filebutton_NOT:hover {
  background-color: #ddd;
}

label_NOT span input {
  z-index: 999;
  line-height: 0;
  /* font-size: 50px; */
  font-size: 15px;
  position: absolute;
  /* top: -2px; */
  top: -4px;
  /* left: -700px; */
  left: -245px;
  opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "alpha(opacity=0)";
  cursor: pointer;
  /* _cursor: hand; */
  margin: 0;
  padding: 0;
}

/* END OF - FORM - label covering input[type=file] */
/* CSS Document - FRONT-END */
/* ====================================================================================================================== */
/* TABLES                                                                                                                 */
/* ====================================================================================================================== */
/** Tables **/
/*

.p, table.p tr td {padding: 10px;}
.pmin, table.pmin tr td  {padding: 3px;}
.pt, table.pt tr td {padding-top: 10px;}
.pl, table.pl tr td {padding-left: 10px;}
.pr, table.pr tr td {padding-right: 10px;}
.pb, table.pb tr td {padding-bottom: 10px;}

.m, table.m tr td {margin: 10px;}
.mmin, table.mmin tr td  {margin: 3px;}
.mt, table.mt tr td {margin-top: 10px;}
.ml, table.ml tr td {margin-left: 10px;}
.mr, table.mr tr td {margin-right: 10px;}
.mb, table.mb tr td {margin-bottom: 10px;}

 */
table#customers {
  border-collapse: collapse;
  width: 100%;
}
table#customers td, table#customers th {
  border: 1px solid #ddd;
  padding: 8px;
}
table#customers tr:nth-child(even) {
  background-color: #f2f2f2;
}
table#customers tr:nth-child(odd) {
  background-color: #fff;
}
table#customers tr:hover {
  background-color: #ddd;
}
table#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--c-accent);
  color: white;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Reset
 * File: Layout - Sticky Footer (Flex)
 */
/* 
Reference Source - STICKY FOOTER - SOLVED BY FLEXBOX 
https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
<body class="Site">
  <header>…</header>
  <main class="Site-content">…</main>
  <footer>…</footer>
</body>
.Site { // MY CASE - apply to #page, and or body
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.Site-content { // MY CASE - apply to #content
  flex: 1;
}
*/
/* body , */
#page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

#page_content {
  flex: 1;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Reset
 * File: Layout
 */
body {
  background-color: var(--c-bg);
}

#page {
  /* PLACEHOLDER */
}

header#header,
footer#footer {
  background-color: var(--c-bg-tails);
  color: var(--c-text-tails);
}

/* 
 * BACKGROUNDS
 * 1) alternate bg colors (etc)
 * 2) scrolL snapping - obs issue with sticky footer flex !
 *
 * SYSTEM ALTERNATING BACKGROUND COLORS  // // DIDNT FIND THIS, SO I BUILT IT AGAIN:active
 */
.backgrounds .background:nth-of-type(odd) {
  background-color: var(--c-bg);
}
.backgrounds .background:nth-of-type(even) {
  background-color: var(--c-bg-alt);
}

/* 
 * VERTICAL SECTIONS
 */
section.pb4 {
  padding-block: 4em;
}

/* 
 * HORIZONTAL SECTIONS - WIDTHS  -todo - renamer as wrapper or frame ..
 */
.frame {
  margin-inline: auto;
  min-width: 320px;
  max-width: 1440px;
  /* HORIZONTAL PADDING */
  padding-left: 48px;
  padding-right: 48px;
  padding-inline: 48px;
  /*
  @include transition(padding-left, $t_slow); // RWD EYE-CANDY
  @include transition(padding-right, $t_slow); // RWD EYE-CANDY
  */
  transition: padding-left 1s linear, padding-right 1s linear;
}
@media only screen and (max-width: 1024px) {
  .frame {
    padding-left: 24px;
    padding-right: 24px;
    padding-inline: 24px;
  }
}
@media only screen and (max-width: 800px) {
  .frame {
    padding-left: 12px;
    padding-right: 12px;
    padding-inline: 12px;
  }
}
.frame.narrow {
  max-width: 1024px;
}
.frame.medium {
  max-width: 1240px;
}
.frame.wide {
  max-width: 1660px;
}
.frame.full {
  max-width: 1920px;
}
.frame.flush {
  padding-left: 0px;
  padding-right: 0px;
  padding-inline: 0px;
}

/*

// RENAME AS page_content (div id)

// in php start / end - really unnnecessary .... and should be class anywasy...
#content { // 
	// min-height:200px; 
	overflow:hidden; // ????????? 
	// background-color: #999;
	@include paddingv($spacing2);

	.inner {} // too unspecific, as there is a frame in between... but could be a different frame... 

	} // content

*/
/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Reset
 * File: Layout
 */
body.noscroll {
  overflow: hidden;
}

html {
  /* START OF BLOCK */
  scroll-behavior: smooth;
  /* END OF BLOCK */
  /* START OF BLOCK */
  /*
  scroll-padding-top: 100px; // AFTER "HEADER IS SMALLERS"
  */
  scroll-padding-top: var(--header-height);
  /* END OF BLOCK */
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Reset
 * File: Layout
 */
/* 
 * BACKGROUNDS
 * 1) alternate bg colors (etc)
 * 2) scrolL snapping - obs issue with sticky footer flex !
 *
 * SYSTEM ALTERNATING BACKGROUND COLORS  // // DIDNT FIND THIS, SO I BUILT IT AGAIN:active
 */
.backgrounds {
  /*  */
  /*NOTE - ITS NICE EVENTHOUG ITS NOT 100% HEOGHT, YA TU SABES,  */
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  height: 100dvh;
}
.backgrounds .background {
  scroll-snap-align: start;
}

/*
.backgrounds { // s_

  // CSS SCROLL SNAPPING
  // https://css-tricks.com/practical-css-scroll-snapping/

  // scroll-snap-type: y mandatory; // vs proximity 


    // START - COPIED FROM CJNET
    // 2 - DONE - TODO - ADD THE SCROLL SNAP BEHAVIOUR TO THE PAGE, AND SEE IF IT WORKS, AND IF IT WORKS, THEN COPY IT - FROM THE DIALOGUE, WOW...
    // TODO-NEXT NOW DO SCROLL, AKA SCROL SANP COPY FOMR DIALO, LAST IMPLEMETATION ANY GOOD - AS CJENT IS THE PERFCT USE CASE FOR VERTICAL SCROLS CNAP BEHAVIOUR ...
    // https://css-tricks.com/practical-css-scroll-snapping/
    // scroll-snap-type: mandatory;
    // scroll-snap-points-y: repeat(300px);
    // scroll-snap-type: y mandatory;

    // scroll-snap-type: y mandatory; // perhaps ony for desktop ??
    scroll-snap-type: y proximity; // LESS AGGRESIVE, VERY NICE, WHEN THERE IS MORE CONTENT THAN SCREEN HEIGHT - ELSE, MANDATORY IS NCE FOR CONTAINED CONTENT
    // height: 100%;
    height: 100dvh; // chatgpt - Ensure that: The height of #l_content is defined and not just 100%. It needs a definitive height to make the overflow content scrollable, or it should inherit a height from its parent that limits its size.
    overflow-y: scroll;
    // END - COPIED FROM CJNET


    .background { // ALL
      scroll-snap-align: start;
    } // ALL

  } // backgrounds
*/
@view-transition {
  navigation: auto;
}
@keyframes pvt-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-40%);
    opacity: 0;
  }
}
@keyframes pvt-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
::view-transition-old(root) {
  animation: pvt-slide-out 0.35s ease-in forwards;
}

::view-transition-new(root) {
  animation: pvt-slide-in 0.35s ease-out forwards;
}

header#header {
  view-transition-name: site-header;
}

footer#footer {
  view-transition-name: site-footer;
}

::view-transition-old(site-header),
::view-transition-new(site-header),
::view-transition-old(site-footer),
::view-transition-new(site-footer) {
  animation: none;
}

/* TESTING CSS FOR SCROLL-DRIVEN ANIMATIONS  */
html,
body,
#page {
  overflow-x: clip;
}

/* Keyframe animation for scroll indicator */
@keyframes scrollProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/* Horizontal Scroll Indicator - CSS Scroll-Driven Animation */
#scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 6px;
  background: #ff6b6b;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: scrollProgress linear forwards;
  animation-timeline: scroll(root);
  /*
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    // right: 0;
    right: -4px;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%231f1f1f' stroke-linecap='round' stroke-linejoin='round' stroke-width='4'%3E%3Cpath d='M14 35c6 3 30 3 36 0'/%3E%3Cpath d='M20 35l-5 7'/%3E%3Cpath d='M44 35l5 7'/%3E%3Ccircle cx='18' cy='47' r='5' fill='%231f1f1f' stroke='none'/%3E%3Ccircle cx='46' cy='47' r='5' fill='%231f1f1f' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
  }
  */
}

/*
 * CONTENT
 *
 * page hero
 * page banner
 * hgroup
 * page title
 * secton title
 * section link
 */
/* 
 * PAGE HERO
 */
.page_hero {
  height: calc(100dvh - var(--header-height));
  /* 
  margin-top: var(--header-height); // Ensure it starts below the header // !!!
  */
  /*
  top: var(--header-height); // Ensure it starts below the header
  position: relative; // Ensure it respects the top value
  */
  /*
  @media only screen and (max-width: $bp_l) {
    height: calc(100dvh - var(--header-height)); // JS CALCULATION
  } // MEDIA-QUERY
  */
  /* */
  overflow: hidden;
  /*
  display: grid;
  place-items: center;
  */
  display: grid;
  place-content: center;
  /*
  img {
    position: absolute;
    inset: 0;
    // height: 100%;
    object-fit: cover;
  }
  */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  /*
  .text {
    // font-size: clamp(1.5rem, 3vw, 3rem); // 1.5rem, 3vw, 3rem - for exampleÇ
    // font-size: clamp(1.5em, 7vw, 8em);
    // font-size: clamp(2.5em, 7vw, 8em);
    font-size: clamp(3em, 7vw, 8em);
    color: var(--c-theme-white);
    text-shadow: 0px 0px 2px var(--c-theme-beige);
  } // text 
  */
}
.page_hero h1 {
  font-size: clamp(4em, 10vw, 6em);
  color: var(--c-bg);
  text-shadow: 0px 0px 2px var(--c-theme-beige);
  text-align: center;
}

/* CSS Document */ /* CSS Document */
.hero_banner___NOT {
  height: calc(100dvh - var(--header-height));
  /* */
  overflow: hidden;
  /*
  display: grid;
  place-items: center;
  */
  display: grid;
  place-content: center;
}
.hero_banner___NOT > * {
  grid-area: 1/1;
}
.hero_banner___NOT img {
  height: 100%;
  object-fit: cover;
}
.hero_banner___NOT .text {
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--c-theme-white);
}

.hero_banner___TAMPOPCO {
  display: grid;
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  height: calc(100dvh - var(--header-height));
  overflow: hidden;
}

.hero_banner___TAMPOPCO img {
  height: 100%;
  object-fit: cover; /* Ensure the image covers the container */
  grid-area: 1/1; /* Place the image in the first grid cell */
  height: calc(100dvh - var(--header-height));
}

.hero_banner___TAMPOPCO .text {
  grid-area: 1/1; /* Place the text in the same grid cell as the image */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Adjust text color for better visibility */
  background: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background for readability */
  padding: 10px; /* Optional: Add padding for better appearance */
  border-radius: 5px; /* Optional: Add border-radius for smoother edges */
  z-index: 1; /* Ensure the text is above the image */
}

.page_banner {
  height: calc(62dvh - var(--header-height));
}
@media only screen and (max-width: 1024px) {
  .page_banner {
    height: calc(100dvh - var(--header-height));
  }
}
.page_banner {
  /* */
  overflow: hidden;
  /*
  display: grid;
  place-items: center;
  */
  display: grid;
  place-content: center;
  /*
  img {
    position: absolute;
    inset: 0;
    // height: 100%;
    object-fit: cover;
  }
  */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /*
  .text {
    font-size: clamp(1.5rem, 3vw, 3rem); // 1.5rem, 3vw, 3rem - for example
    color: var(--c-theme-white);
    text-shadow: 0px 0px 2px var(--c-theme-beige);
  } // text 
  */
}
.page_banner h1 {
  font-size: clamp(2em, 8vw, 5em);
  /*
  color: var(--c-theme-white);
  text-shadow: 0px 0px 2px var(--c-theme-beige); 
  */
  color: var(--c-text-inv);
  text-shadow: 0px 0px 2px var(--c-text);
  text-align: center;
}

/*
 *
 *
 *
 * PAGE
 *
 *
 *
 */
/*
 *
 *
 *
 * SECTION
 *
 *
 *
 */
hgroup {
  /*
  // text-align: center;
  font-size: var(--fs-xl); // create intermediate, for main titles, etc, as h1, anyways.. 
  // padding-block: $spacing; 
  padding-bottom: 1em;
  */
  text-align: center;
  font-size: 2em;
}
hgroup h1 {
  font-size: 1.618em;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--c-accent);
}
hgroup p {
  font-size: 1em;
  font-weight: 300;
}
hgroup p:not(:last-of-type) {
  margin-bottom: 0.5em;
}

/*
 * PAGE - TITLE (h1)
 */
h1.page_title_dynamic {
  /*
  font-size: $fs_xl; // create intermediate, for main titles, etc, as h1, anyways.. 
  font-size: $fs_xxl;
  */
  /*
  padding-block: $spacing; 
  */
  margin-top: unset;
  margin-bottom: unset;
  font-size: var(--fs-xxxl);
  font-weight: normal;
  margin-bottom: 1lh;
}

/*
* SECTION - TITLE (h2)
*/
h2.section_title_dynamic {
  margin-top: unset;
  margin-bottom: 1em;
  font-size: 2em;
  font-weight: normal;
  text-wrap: balance;
}
.section_link_container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-size: 1.618em;
}
.section_link_container a {
  display: inline-block;
  font-size: 1em;
}
.section_link_container p {
  color: var(--c-text-alt);
  font-size: 0.618em;
}
.section_link_container {
  /*
   // centrar el boton
   @media only screen and (max-width: $bp_s) {
    text-align: center;		
    } // MEDIA-QUERY	
  */
}

a.section_link {
  border: var(--s-border);
  outline: 2px solid var(--c-accent);
  margin-inline: auto;
  display: inline-block;
}

/*
 * CSS
 * Layout
 */
/*
 * LAYOUT TEMPLATE
 * PAGE BLOG (POSTS) aka NEWS
 * 
 * Build a specific sidebar "Blog Sidebar" to be used here, and then anothe rone for "Blog Post Sidebar" with more or different widgets  -so copy teh widget system fomr oomg 
and store it somehwere correct
 */
/* layout systems .- tempaltes ........ getting there */
/*
- layout_page_blog
  - sidebar
    - search
    - categories aka the rest
  - main  
    - banner
    - toolbar
    - content...


  TABLET
    - banner
    - toolbar +  dropdowen & search ... or search free...
    - content



*/
/*
add classes for mods a rwd behavioru !! dummY! styel agnoistidc!!
.rwd_hide_tablet {} // l
.rwd_hide_mobile {} // m vs s

.rwd_hide_l {} // means it jumsp at bp_l, good system
.rwd_hide_2 {} 
.rwd_hide_3 {} 

*/
@media only screen and (max-width: 1024px) {
  .rwd_hide_l {
    display: none !important;
  }
}

@media only screen and (max-width: 800px) {
  .rwd_hide_m {
    display: none !important;
  }
}

@media only screen and (max-width: 599px) {
  .rwd_hide_s {
    display: none !important;
  }
}

@media only screen and (max-width: 1200px) {
  .rwd_show_xl {
    display: block !important;
  }
}

@media only screen and (max-width: 1024px) {
  .rwd_show_l {
    display: block !important;
  }
}

@media only screen and (max-width: 800px) {
  .rwd_show_m {
    display: block !important;
  }
}

@media only screen and (max-width: 599px) {
  .rwd_show_s {
    display: none !important;
  }
}

.layout_page_blog {
  display: grid;
  grid-template-columns: 360px 3fr;
  gap: 2em;
}

@media only screen and (max-width: 1200px) {
  .layout_page_blog {
    grid-template-columns: 240px 3fr;
  }
}
@media only screen and (max-width: 1024px) {
  .layout_page_blog {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}
/*
 * 1 - page layouts
 */
/* 
 * 2 - ssame sidebar  - with same tinsg inside .... 
 */
/*
// TODO - FALAT CLASE SPEIOCIF CMPAAR ELMAIN, PAR PODERLE HACER FLEX GAPS POR DEFAULT !!! ASI BANNER_ADD NO TIENE MARHIN BOOTOM !!! 
// .main,
main { // WAS "PLACEHOLDER"
  display: flex;
  flex-direction: column;
  // gap: 2em; // ???
  gap: 0.5em; // ???
} // vs main a secas... 

*/
.layout_page_blog {
  display: flex;
}
.layout_page_blog main {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  /*
  width: 100%; // THE CONTRAIN THATHE SWIPER NEEDED 
  width: 100%;
  max-width: 100%; // its taking uop the hwo parent container, as the parent container ios flexed and not grid!!! aaah !!!
   */
  flex: 1; /* This is shorthand for flex-grow: 1; flex-shrink: 1; flex-basis: 0%; */
  /* Remove width and max-width properties */
  width: calc(100% - 300px);
}
.layout_page_blog .sidebar {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: calc(var(--header-height) + 2em);
  /*
  width: 300px; // Adjust the width as needed
  */
  height: 100vh; /* Ensure the sidebar takes the full height of the viewport */
  overflow-y: auto; /* Add scroll if the content overflows */
  flex: 0 0 300px; /* Fixed width of 250px */
}
.toolbar_sidebar_content .sidebar_content {
  /*
  display: grid;
  // grid-template-columns: repeat(2, 1fr);
  grid-template-columns: repeat(3, 1fr);
  // gap: 2em; // 
  // gap: 1em; // 
  gap: 1.5em; // 
  */
  padding: 1em;
  border: 1px solid #ccc;
  /*
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  */
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  flex-wrap: wrap;
}
.toolbar_sidebar_content .sidebar_content > div:last-of-type {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  align-items: end;
}
.toolbar_sidebar_content .sidebar_content {
  /*
  > div:first-of-type {
    display: none; // TEMP - hide the search form here, for now ...
    // and or make it be fullw idth
  } // first-of-type
  */
}
@media only screen and (max-width: 800px) {
  .toolbar_sidebar_content .sidebar_content {
    grid-template-columns: repeat(2, 1fr);
  }
}
.toolbar_sidebar_content .sidebar_content {
  /*
  @media only screen and (max-width: $bp_s) { 
    grid-template-columns: 1fr; // TODO - MAYBE NOT NECESSARY ??? 
  } // MEDIA-QUERY
  */
}

.sidebar_content {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  /*
  // TODO - tod test to stick the sidebar ... ojo !!!! - lo habia conseguid en el steirerkole last, css del sidebar !!!
  // en steinerportalen:
  // https://steinerportal.webprosjekt.net/pedagogikk

    // THE ISSUE IS TAHT ITS STICKTY TO PARENT, NOT TO WHE PAGE  ... 
  	// http://caniuse.com/#feat=css-sticky
  	position: -webkit-sticky;
  	position: sticky;
  	// top: 0px; // VIP
    // top: var(--header-height); // VIP - tets this, plus an extra ,with calc 
    top: calc(var(--header-height) + 2em);
  */
  /* 
  // background-color: var(--bg-c-gray-light); // c-bg_alt
  // background-color: var(--c-bg-website-alt); // c-bg_alt
  background-color: var(--c-bg-alt); // c-bg_alt
  // border: 1px solid #ccc; // ???? 
  border: 1px solid var(--c-text); // 
  padding: 2em; // TEST 

  align-self: baseline; // FROM STEINERPORTALEN, TO  MAKE IT STICK TO THE TOP, AND NOT TO THE BOTTOM, AS IT WAS DOING ... NOT!

  */
  /* align-self: start */
  /*
  display: grid;
  gap: 2em; //
  */
  /*
  display: flex;
  flex-direction: column;
  gap: 2em; // ??? - this flex was only for the gap ... but h3's are teking care of that at teh memtn ... 
  */
}
.sidebar_content {
  /*
   * SIDEBAR IS REALLY ONLY FOR WIDGETS... o no.... 
   */
  /* WORDPRESS - WIDGET */
}
.sidebar_content h3,
.sidebar_content h3.widget-title {
  font-weight: bold;
  font-size: 14px;
  /*
  margin-bottom: $spacing; 
  margin-top: $spacing2; // WCS
  */
  margin-bottom: 1em;
  margin-top: unset;
}
.sidebar_content div:first-of-type h3,
.sidebar_content aside:first-of-type h3.widget-title {
  margin-top: 0px;
}
.sidebar_content {
  /* WORDPRESS SEARCH WIDGET */
}
.sidebar_content aside.widget_search h3.widget-title {
  display: none;
}
.sidebar_content aside.widget_search span.screen-reader-text {
  display: none;
}
.sidebar_content {
  /* 
   * WORDPRESS WIDGET
   * TAGS - WORDPRESS "TAG CLOUD" 
  */
}
.sidebar_content aside.widget_tag_cloud .tagcloud {
  display: flex;
  gap: 24px;
}
.sidebar_content aside.widget_tag_cloud .tagcloud a {
  display: block;
}
.sidebar_content {
  /*
    form {


      // LAYOUT FOR COMBO SEARCH FORM 

      display: flex;

      // WORDPRESS CODE, INPUT IS INSIDE A LABEL ...
      label {
        flex-grow: 1; // TO MAKE IT STRECTH OUT 
      }
        input[type=search] { 
        } // search
      button[type=submit] { 
      } // submit  



      // ETSO ES LQO UE TENGO QU EEXTEWNDER, ASUQI EY EN FOMRS, PAATR UW SIEA LO MISMSO 



        // 2 - STYLE

        // now for the styke - ovverdide tinsg taht come fomr general fomr fomratting

        // must have les svert padidng here, 
        // and d the whole button sustem...


        // hanging-punctuation: 

        input[type=search] {

          // & placeholder color ...??

          padding-top: 12px;
          padding-bottom: 12px;

          // new: 
          border-top-width: 0px;
          border-left-width: 0px;
          border-right-width: 0px;

          // o si acaso, aqui hay border bototm, y en el caseo del header no hat nada de borders... - mejor solution 

        } // input


        // OBS  HEIGHT MINGLED BY FLEX !!!

        // button[type=submit] { // auqi si que era un input, y no un button .... 
        input[type=submit] { // auqi si que era un input, y no un button .... 
          padding-top: 12px;
          padding-bottom: 12px;

          // // // border: $s_border; // TEST 

          background-color: white;
          color: var(--text-c-gray); // VERY TEMP
          // color: var(--c-black); // VERY TEMP
          // ADD TRANSITION 
          &:hover {
            // color: var(--text-c-gray); 
          } // hover


          // ADD ICON INSTEAD OF THE WORD !!!!!


          // background-image:url(https://form2email.dwbooster.com/images/logo.png);
          // vs conetnt 
          color:transparent; // OK
          // background-image:url(https://form2email.dwbooster.com/images/logo.png);
          // background-image:url(../img/icons/ui/search-24px.svg); // get the materia desig icon, as svg ...
          background-image:url(../../img/icons/ui/search-24px.svg); // get the materia desig icon, as svg ...
          background-repeat: no-repeat;
          background-position: center;
          padding-right: 0px;
          padding-left: 0px;

          &:hover {
            color:transparent; // AKA INHERIT...
            background-color: transparent; // ?? VS NONE ??   
          } // hover


          // MAKING THE LATERAL SERAHC BE EXACTLY HOW IT SHOWULD, AND THEN FOX THE HEADRE ONE AS EWELL, 

          // AND THEN CHECK THE ONE IN THE 404 PAGE 


        } // submit    




  } // form
   */
}
.sidebar_content ul.checkboxes {
  font-size: 14px;
}
.sidebar_content ul.checkboxes li {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.sidebar_content ul.checkboxes li label {
  font-size: unset;
}
.sidebar_content ul.checkboxes li span {
  font-size: unset;
}
.sidebar_content button#clear-filters {
  /*






  @extend %button_outline_medium;  



  */
}
.sidebar_content ul li {
  /*
  margin-right: $spacing05; // TEST 
  &:last-of-type {margin-right:0px;}
  */
}
.sidebar_content ul li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-form-border);
  color: var(--text-c-gray-lighter);
  font-size: 16px;
}
.sidebar_content ul li a:hover {
  text-decoration: underline;
}
.sidebar_content ul li {
  /*
   *  2nd LEVEL 
   */
}
.sidebar_content ul li:hover ul {
  display: block;
}
.sidebar_content ul li ul {
  display: none;
  background-color: var(--c-bg);
  padding-top: 72px;
  padding-right: 48px;
  padding-bottom: 36px;
  position: absolute;
}
.sidebar_content ul li ul li {
  /* 3rd LEVEL */
}
.sidebar_content ul li ul li ul {
  padding-top: 0px;
  position: relative;
  padding-bottom: 0px;
  margin-left: 18px;
}

/*
* Author: Carl Johansson @carlwebdev
* Project: cowo-Reset
* File: Header
*/
/*
#w_headroom {

	}
*/
header#header {
  background-color: rgba(252, 253, 249, 0.95);
  /* START - STICKY */
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
}
@media only screen and (max-width: 1024px) {
  header#header {
    position: relative;
  }
}
header#header {
  /* END - STICKY */
  z-index: 1;
  color: var(--c-white);
}
header#header a, header#header a:visited {
  color: inherit;
}
header#header .inner {
  /*
  // padding: $spacing025; 
    // // // padding-inline: $spacing025; // ???

  // @include paddingv($spacing05);
    // padding-block: $spacing025; 
    // padding-block: $spacing05; 
    padding-block: $spacing075; 
    */
  padding-block: 1em;
  position: relative;
  z-index: 1000;
}

/*
 *
 * HEADER BAR TOP
 *
 */
.header_bar_top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

/*
 *
 * HEADER BAR MAIN
 *
 */
.header_bar_main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

/*
 *
 * HEADER BAR BOTTOM
 *
 */
.header_bar_bottom {
  border: 3px solid var(--c-accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav#lateral {
  display: none;
  position: fixed;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--c-accent);
  border-top-left-radius: 0.4em;
  border-bottom-left-radius: 0.4em;
  padding: 1em;
  font-size: 0.8em;
  z-index: 1;
}
nav#lateral ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
nav#lateral li {
  align-self: center;
}
nav#lateral {
  /*
  img {
      // width: 3em; // 
      width: 4em; //
      margin-inline: auto; 
  }
  */
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Reset
 * File: Header - Components
 */
/*
* HEADER - LOGO
*/
.header_logo {
  flex-shrink: 0;
  margin-right: auto;
  width: 300px;
  max-width: 300px;
}
.header_logo img {
  width: 100%;
  display: block;
  background-color: white;
  padding: 1em;
  border-radius: 0.5em;
}

.slogan {
  font-size: var(--fs-l);
}
.slogan a:hover {
  color: var(--c-accent);
}

@media only screen and (max-width: 800px) {
  .slogan {
    /*
      position:relative;
    text-align:center;
    bottom: $spacing0125;						
      */
  }
}
@media only screen and (max-width: 599px) {
  .slogan span {
    display: block;
  }
}
/* LANGUAGE SELECTOR */
/* OPTIONS - SOCIAL MEDIA */
/* ncopy searech box de header de ssteinerskolen.. */
/* 
 * CSS 
 * Header
 * HEADER BUTTONS
 */
/*
 .header_options_temp {
  // border: 12px solid red; // 
  // border: $s_border; // 
  color: red; //
  display: flex;
  justify-content: center;
  align-items: center; // PRECAUTION
  gap: 1em;
} // header_buttons
*/
/*
// TETS MANUA OVVERDIDE:
button, button span {
    box-sizing: border-box;
  }
*/
/*
button, button span {
  display: inline-block;
  padding: 10px; // Adjust as needed
  border: 1px solid #000; // Adjust as needed 
}
*/
/*
 *
 * HEADER BUTTONS 
 *
 */
.header_buttons {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

button.headericon {
  display: block;
  /*
    // display: none; // UI 
    @media only screen and (max-width: $bp_m) { 
      display: block !important;	
    } // MEDIA-QUERY	
  */
  cursor: pointer;
  /* */
  font-size: 1em;
  /*
  border-color: var(--c-text);
  border-width: 2px;
  border-radius: 100vh; // 
  */
  /*
  // padding: 8px;
  padding:0.25em; // = 8px compared to 2em, whch is 32px, so 1/4, ok
  */
}
button.headericon span {
  display: block;
  /* */
  padding: 0.2em;
  color: var(--c-text);
  border-color: var(--c-text);
  border-width: 2px;
  border-style: solid;
  border-radius: 100vh;
  font-size: 1.6em;
  transition: all 0.5s ease-in-out;
}
button.headericon:hover {
  /*
  background-color: var(--c-text); // middle way gray - CHANGE THIS 
  border-color: var(--c-accent); // NEW
  */
}
button.headericon:hover span {
  background-color: var(--c-text);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
button.headericon {
  /* OLÑD ICON FOTN, NOW IM USING MATERIUAL ICONS !!!! NI PROCESS !!!!!!!!!!!!!!!!!! */
  /*
  .icon { // esto aplica el icon font, solo aki, po rahora, pero lo he usado en otros sitios, y siempre uso el mismo style, osea que metelo como un mixin !!!!! @include icon, ah no!!!! no cal fer res, o no, si que hace falta !!!!!!!!!!
    // background-color: #ff0; // TEST
    display: block;
    height: 1em; // YES !!!!!!!!!!!!
    // font-size: 48px;
    font-size: 32px;
    // color: $c_green;
    color: #fff;
    // @include transition(color, 0.25s);
    // &:hover {color: $c_green_light;	}
    } // icon
  */
  /*
  .icon { // esto aplica el icon font, solo aki, po rahora, pero lo he usado en otros sitios, y siempre uso el mismo style, osea que metelo como un mixin !!!!! @include icon, ah no!!!! no cal fer res, o no, si que hace falta !!!!!!!!!!
    // background-color: #ff0; // TEST
    display: block;
    height: 1em; // YES !!!!!!!!!!!!
    // font-size: 48px;
    font-size: 32px;
    // color: $c_green;
    // color: #fff;
    color: var(--c-white); // TEMP !!!!!!!!!!!!
    // @include transition(color, 0.25s);
    // &:hover {color: $c_green_light;	}
  } // icon
  */
}

[role=trigger_nav] {
  display: none;
}
@media only screen and (max-width: 800px) {
  [role=trigger_nav] {
    display: block !important;
  }
}

/* 
 * CSS 
 * Header
 * HEADER DROPDOWNS - obs, heigh tis defined by teh otyher script ... 
 */
.header_dropdowns {
  /*
  background-color: var(--c-bg-inv); // BETTER NAME, MORE AGNSOTIC
  color: var(--c-text-inv); // should be c-text-inv y punto ....
  */
  background-color: var(--c-bg);
  color: var(--c-text);
}

.header_dropdowns {
  display: none;
  padding-block: 2em;
}

/*
.header_dropdowns.case-nav {
  border: 3px solid red; 
  display:none; // UI - jQuery

  padding-block: 2em;
  border-bottom: 2px solid var(--c-text);
}
.header_dropdowns.case-search {
  border: 3px solid red; 
  display:none; // UI - jQuery

  padding-block: 2em;
  border-bottom: 2px solid var(--c-text);
}
.header_dropdowns.case-language {
  border: 3px solid red; 
  display:none; // UI - jQuery

  padding-block: 2em;
  border-bottom: 2px solid var(--c-text);
}
*/
/* 
 * NAV MAIN..not, aka mobile, aka header_mobile or header.mobile or nav.header-mobile
 */
nav.mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
nav.mobile li:hover {
  /*
  background-color: white;
  color: black;
  */
  /*
  background-color: black;
  color: white;   
  */
  /*
  background-color: $c_black;
  color: $c_white_alt;
  */
  /* 
  background-color: $c_white_alt;          
  color: $c_black;
  */
  /*
  border: 3px solid $c_accent;

  a {
    background-color: $c_white_alt;          
    color: $c_black;
  } // a
  */
}
nav.mobile li a {
  /* PILL */
  display: block;
  padding: 0.4em 1.2em;
  /*


  border-radius: 2em; // TEST 



  */
  border: 3px solid;
  /*
  color: $c_white_alt; // PRECAUTION, BUT NEEDED...
  background-color: $c_black; // PRECAUTION, BUT NEEDED...   
  // border: 2px solid white;
  // border: 2px solid $c_white_alt;  
  */
  font-weight: bold;
  /*
  border: 1px solid $c_white_alt;
  font-weight: 500; // TEST - semibold ...
  */
}
nav.mobile li a:hover {
  text-decoration: none;
  /*
  background-color: white;
  color: black;
  */
  background-color: var(--c-accent);
}
nav.mobile li {
  /*
   * LEVEL 2 
   */
}
nav.mobile li:hover > ul {
  display: flex;
}
nav.mobile li ul {
  display: none;
}
nav.mobile li {
  position: relative;
}
nav.mobile li ul {
  padding: 24px 12px 12px;
  /*



  position: absolute; 
  // left: -24px;
  left: -18px;
  left: -12px;




  */
  border-radius: 0px 0px 24px 24px;
  flex-wrap: nowrap;
  gap: 12px;
  flex-direction: column;
}
nav.mobile li ul li {
  white-space: nowrap;
}
nav.mobile li ul li a {
  /*
  background-color: white;
  color: black;
  */
  /*
  background-color: $c_white_alt;          
  color: $c_black;
  */
  /*            
  background-color: $c_black;
  color: $c_white_alt;            
  */
}
nav.mobile li ul li a:hover {
  /*
  background-color: white;
  color: black;
  */
  /*
  background-color: black;
  color: white;   
  */
  /*
   background-color: $c_black;
   color: $c_white_alt;
  */
  /*
  background-color: $c_white_alt;          
  color: $c_black;
  */
}
nav.mobile li ul li {
  /* 
  &::before { // resetting the blue pseudo line     
    content: ''; // RESET 
    // position: relative; // RESET ??? - nt aa good reset at leats, if cerated those spaces below each anchor inside each li - so test now tihout this .
    right: auto; // RESET ???  
    top: auto; // RESET ??? 

    display: inline-block; 
    vertical-align: middle;
    // float: left;
  } // after	
  */
  /*
   * LEVEL 3 
   */
}
nav.mobile li ul li:hover ul {
  display: block;
}
nav.mobile li ul li ul {
  display: none;
}
nav.mobile li ul li {
  position: relative;
}
nav.mobile li ul li ul {
  background-color: white;
  position: absolute;
  left: 100%;
  top: 0px;
}

/* 
 * CSS 
 * Header
 * HEADER BUTTONS
 */
.header_options_temp {
  color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

/*
// TETS MANUA OVVERDIDE:
button, button span {
    box-sizing: border-box;
  }
*/
/*
button, button span {
  display: inline-block;
  padding: 10px; // Adjust as needed
  border: 1px solid #000; // Adjust as needed 
}
*/
/*
 *
 * HEADER BUTTONS 
 *
 */
.dev_buttons {
  display: flex;
  align-items: center;
  gap: 1em;
}
.dev_buttons.is-vertical {
  flex-direction: column;
  gap: 0.5em;
}

button.devicon {
  display: block;
  /*
    // display: none; // UI 
    @media only screen and (max-width: $bp_m) { 
      display: block !important;	
    } // MEDIA-QUERY	
  */
  cursor: pointer;
  /* */
  font-size: 1em;
  /*
  border-color: var(--c-text);
  border-width: 2px;
  border-radius: 100vh; // 
  */
  /*
  // padding: 8px;
  padding:0.25em; // = 8px compared to 2em, whch is 32px, so 1/4, ok
  */
}
button.devicon span {
  border-color: white;
  border-width: 2px;
  border-style: solid;
  border-radius: 100vh;
  color: white;
  font-size: 2em;
  display: block;
  /* */
  padding: 0.25em;
  transition: all 0.5s ease-in-out;
}
button.devicon:hover {
  /*
  background-color: var(--c-text); // middle way gray - CHANGE THIS 
  border-color: var(--c-accent); // NEW
  */
}
button.devicon:hover span {
  background-color: var(--c-text);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

body.debugging *, body.debugging *:before, body.debugging *:after {
  outline: 1px solid #999 !important;
}

/* PLUGINS */
/* carl demo */
.navbar {
  background-color: #f00;
}

.headroom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.2s ease-in-out;
}

.headroom--unpinned {
  top: -300px;
}

.headroom--pinned {
  top: 0;
}

/*
	from DEMO css file
*/
/*
nav:not(.mm-menu)
{
	display: none;
}
*/
.navicon a {
  /*
  background: center center no-repeat transparent;
  background-image: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC );

  display: block;
  width: 40px;
  height: 40px;
  */
  /*
  position: absolute;
  top: 0;
  left: 10px;
  */
}

/*
	jQuery.mmenu CSS
*/
/*
	jQuery.mmenu oncanvas CSS
*/
.mm-hidden {
  display: none !important;
}

.mm-wrapper {
  overflow-x: hidden;
  position: relative;
}

.mm-menu,
.mm-menu > .mm-panel {
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.mm-menu {
  background: inherit;
  display: block;
  overflow: hidden;
  padding: 0;
}

.mm-panel {
  -webkit-transition: -webkit-transform 0.4s ease;
  -moz-transition: -moz-transform 0.4s ease;
  -ms-transition: -ms-transform 0.4s ease;
  -o-transition: -o-transform 0.4s ease;
  transition: transform 0.4s ease;
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}

.mm-panel.mm-opened {
  -webkit-transform: translate3d(0%, 0, 0);
  -moz-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.mm-panel.mm-subopened {
  -webkit-transform: translate3d(-30%, 0, 0);
  -moz-transform: translate3d(-30%, 0, 0);
  -ms-transform: translate3d(-30%, 0, 0);
  -o-transform: translate3d(-30%, 0, 0);
  transform: translate3d(-30%, 0, 0);
}

.mm-panel.mm-highest {
  z-index: 1;
}

.mm-menu > .mm-panel {
  background: inherit;
  -webkit-overflow-scrolling: touch;
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.mm-menu > .mm-panel.mm-hasheader {
  padding-top: 40px;
}

.mm-menu > .mm-panel:before, .mm-menu > .mm-panel:after {
  content: "";
  display: block;
  height: 20px;
}

.mm-vertical .mm-panel {
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
}

.mm-vertical .mm-listview .mm-panel,
.mm-listview .mm-vertical .mm-panel {
  display: none;
  padding: 10px 0 10px 10px;
}

.mm-vertical .mm-listview .mm-panel .mm-listview > li:last-child:after,
.mm-listview .mm-vertical .mm-panel .mm-listview > li:last-child:after {
  border-color: transparent;
}

.mm-vertical li.mm-opened > .mm-panel,
li.mm-vertical.mm-opened > .mm-panel {
  display: block;
}

.mm-vertical .mm-listview > li > .mm-next,
.mm-listview > li.mm-vertical > .mm-next {
  height: 40px;
  bottom: auto;
}

.mm-vertical .mm-listview > li > .mm-next:after,
.mm-listview > li.mm-vertical > .mm-next:after {
  top: 16px;
  bottom: auto;
}

.mm-vertical .mm-listview > li.mm-opened > .mm-next:after,
.mm-listview > li.mm-vertical.mm-opened > .mm-next:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mm-header {
  border-bottom: 1px solid transparent;
  text-align: center;
  line-height: 20px;
  height: 40px;
  padding: 0 40px;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.mm-header > a {
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.mm-header .mm-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.mm-header .mm-btn {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  z-index: 1;
}

.mm-header .mm-btn:first-child {
  padding-left: 20px;
  left: 0;
}

.mm-header .mm-btn:last-child {
  padding-right: 20px;
  right: 0;
}

.mm-listview,
.mm-listview > li {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0;
}

.mm-listview {
  font: inherit;
  /* font-size: 14px; */
  font-size: 24px;
  font-size: 18px;
}

.mm-listview a,
.mm-listview a:hover {
  text-decoration: none;
}

.mm-listview > li {
  position: relative;
}

.mm-listview > li > a,
.mm-listview > li > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: inherit;
  line-height: 20px;
  display: block;
  padding: 10px 10px 10px 20px;
  margin: 0;
}

.mm-listview > li:not(.mm-divider):after {
  content: "";
  border-bottom-width: 1px;
  border-bottom-style: solid;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.mm-listview > li:not(.mm-divider):after {
  left: 20px;
}

.mm-listview .mm-next {
  background: rgba(3, 2, 1, 0);
  width: 50px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
}

.mm-listview .mm-next:before {
  content: "";
  border-left-width: 1px;
  border-left-style: solid;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.mm-listview .mm-next + a,
.mm-listview .mm-next + span {
  margin-right: 50px;
}

.mm-listview .mm-next.mm-fullsubopen {
  width: 100%;
}

.mm-listview .mm-next.mm-fullsubopen:before {
  border-left: none;
}

.mm-listview .mm-next.mm-fullsubopen + a,
.mm-listview .mm-next.mm-fullsubopen + span {
  padding-right: 50px;
  margin-right: 0;
}

.mm-menu > .mm-panel > .mm-listview {
  margin-left: -20px;
  margin-right: -20px;
}

.mm-menu > .mm-panel > .mm-listview.mm-first {
  margin-top: -20px;
}

.mm-menu > .mm-panel > .mm-listview.mm-last {
  padding-bottom: 20px;
}

.mm-prev:before,
.mm-next:after {
  content: "";
  border: 2px solid transparent;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mm-prev:before {
  border-right: none;
  border-bottom: none;
  left: 20px;
}

.mm-next:after {
  border-top: none;
  border-left: none;
  right: 20px;
}

.mm-divider {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 10px;
  text-transform: uppercase;
  text-indent: 20px;
  line-height: 25px;
}

.mm-listview > li.mm-spacer {
  padding-top: 40px;
}

.mm-listview > li.mm-spacer > .mm-next {
  top: 40px;
}

.mm-listview > li.mm-spacer.mm-divider {
  padding-top: 25px;
}

.mm-menu {
  /* background: #f3f3f3; */
  color: rgba(0, 0, 0, 0.7);
  color: var(--c-text);
  /* color: #fff;  */
}

.mm-menu .mm-header {
  border-color: rgba(0, 0, 0, 0.1);
}

.mm-menu .mm-header > a {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu .mm-header .mm-btn:before,
.mm-menu .mm-header .mm-btn:after {
  border-color: rgba(0, 0, 0, 0.3);
}

.mm-menu .mm-listview > li:after {
  border-color: rgba(0, 0, 0, 0.1);
  /* border-color: #fff;  */
  border-color: var(--c-accent);
}

.mm-menu .mm-listview > li > a.mm-prev, .mm-menu .mm-listview > li > a.mm-next {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu .mm-listview > li > a.mm-prev:before, .mm-menu .mm-listview > li > a.mm-next:after {
  border-color: rgba(0, 0, 0, 0.3);
}

.mm-menu .mm-listview > li > a.mm-prev:after, .mm-menu .mm-listview > li > a.mm-next:before {
  border-color: rgba(0, 0, 0, 0.1);
}

.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu .mm-listview > li.mm-selected > span {
  background: rgba(255, 255, 255, 0.5);
}

.mm-menu.mm-vertical .mm-listview li.mm-opened > a.mm-next,
.mm-menu.mm-vertical .mm-listview li.mm-opened > .mm-panel,
.mm-menu .mm-listview li.mm-opened.mm-vertical > a.mm-next,
.mm-menu .mm-listview li.mm-opened.mm-vertical > .mm-panel {
  background: rgba(0, 0, 0, 0.05);
}

.mm-menu .mm-divider {
  background: rgba(0, 0, 0, 0.05);
}

/*
	jQuery.mmenu offcanvas addon CSS
*/
.mm-page {
  box-sizing: border-box;
  position: relative;
}

.mm-slideout {
  -webkit-transition: -webkit-transform 0.4s ease;
  -ms-transition: -ms-transform 0.4s ease;
  transition: transform 0.4s ease;
}

html.mm-opened {
  overflow: hidden;
  position: relative;
}

html.mm-opened body {
  overflow: hidden;
}

html.mm-opened .mm-page {
  min-height: 100vh;
}

html.mm-background .mm-page {
  background: inherit;
}

#mm-blocker {
  background: rgba(3, 2, 1, 0);
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
}

html.mm-opened #mm-blocker,
html.mm-blocking #mm-blocker {
  display: block;
}

.mm-menu.mm-offcanvas {
  display: none;
  position: fixed;
}

.mm-menu.mm-current {
  display: block;
}

.mm-menu {
  width: 80%;
  min-width: 140px;
  max-width: 440px;
}

html.mm-opening .mm-slideout {
  -webkit-transform: translate(80%, 0);
  -moz-transform: translate(80%, 0);
  -ms-transform: translate(80%, 0);
  -o-transform: translate(80%, 0);
  transform: translate(80%, 0);
}

@media all and (max-width: 175px) {
  html.mm-opening .mm-slideout {
    -webkit-transform: translate(140px, 0);
    -moz-transform: translate(140px, 0);
    -ms-transform: translate(140px, 0);
    -o-transform: translate(140px, 0);
    transform: translate(140px, 0);
  }
}
@media all and (min-width: 550px) {
  html.mm-opening .mm-slideout {
    -webkit-transform: translate(440px, 0);
    -moz-transform: translate(440px, 0);
    -ms-transform: translate(440px, 0);
    -o-transform: translate(440px, 0);
    transform: translate(440px, 0);
  }
}
/*
	jQuery.mmenu autoHeight addon CSS
*/
.mm-menu.mm-top.mm-autoheight, .mm-menu.mm-bottom.mm-autoheight {
  max-height: 80%;
}

.mm-menu.mm-top.mm-autoheight.mm-fullscreen, .mm-menu.mm-bottom.mm-autoheight.mm-fullscreen {
  max-height: 100%;
}

.mm-menu.mm-measureheight > .mm-panel {
  bottom: auto !important;
  height: auto !important;
}

/*
	jQuery.mmenu buttonbars addon CSS
*/
.mm-buttonbar {
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  line-height: 20px;
  overflow: hidden;
  display: block;
  padding: 0;
  margin: 0;
  position: relative;
}

.mm-buttonbar:after {
  content: "";
  display: block;
  clear: both;
}

.mm-buttonbar > * {
  border-left: 1px solid transparent;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  float: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.mm-buttonbar > a {
  text-decoration: none;
}

.mm-buttonbar > input {
  position: absolute;
  left: -1000px;
  top: -1000px;
}

.mm-buttonbar > input:checked + label {
  border-color: transparent !important;
}

.mm-buttonbar > *:first-child,
.mm-buttonbar > input:first-child + * {
  border-left: none;
}

.mm-buttonbar.mm-buttonbar-2 > * {
  width: 50%;
}

.mm-buttonbar.mm-buttonbar-3 > * {
  width: 33.33%;
}

.mm-buttonbar.mm-buttonbar-4 > * {
  width: 25%;
}

.mm-buttonbar.mm-buttonbar-5 > * {
  width: 20%;
}

.mm-header .mm-buttonbar {
  margin-top: 0px;
  margin-left: -30px;
  margin-right: -30px;
}

.mm-footer .mm-buttonbar {
  border: none;
  border-radius: none;
  line-height: 40px;
  margin: -10px -10px 0 -20px;
}

.mm-footer .mm-buttonbar > * {
  border-left: none;
}

.mm-listview > li > .mm-buttonbar {
  margin: 10px 20px;
}

.mm-menu .mm-buttonbar {
  border-color: rgba(0, 0, 0, 0.7);
  background: #f3f3f3;
}

.mm-menu .mm-buttonbar > * {
  border-color: rgba(0, 0, 0, 0.7);
}

.mm-menu .mm-buttonbar > input:checked + label {
  background: rgba(0, 0, 0, 0.7);
  color: #f3f3f3;
}

/*
	jQuery.mmenu counters addon CSS
*/
em.mm-counter {
  font: inherit;
  font-size: 14px;
  font-style: normal;
  text-indent: 0;
  line-height: 20px;
  display: block;
  margin-top: -10px;
  position: absolute;
  right: 50px;
  top: 50%;
}

em.mm-counter + a.mm-next {
  padding-left: 40px;
}

em.mm-counter + a.mm-next + a,
em.mm-counter + a.mm-next + span {
  margin-right: 90px;
}

em.mm-counter + a.mm-fullsubopen {
  padding-left: 0;
}

.mm-vertical > .mm-counter {
  top: 12px;
  margin-top: 0;
}

.mm-vertical.mm-spacer > .mm-counter {
  margin-top: 40px;
}

.mm-nosubresults > .mm-counter {
  display: none;
}

.mm-menu em.mm-counter {
  color: rgba(0, 0, 0, 0.3);
}

/*
	jQuery.mmenu dragOpen addon CSS
*/
html.mm-opened.mm-dragging .mm-menu,
html.mm-opened.mm-dragging .mm-page,
html.mm-opened.mm-dragging .mm-fixed-top,
html.mm-opened.mm-dragging .mm-fixed-bottom,
html.mm-opened.mm-dragging #mm-blocker {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}

/*
	jQuery.mmenu footer addon CSS
*/
.mm-footer {
  background: inherit;
  border-top: 1px solid transparent;
  text-align: center;
  line-height: 20px;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 10px 20px;
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-menu.mm-hasfooter > .mm-panel {
  bottom: 40px;
}

.mm-menu .mm-footer {
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.3);
}

/*
	jQuery.mmenu header addon CSS
*/
.mm-menu > .mm-header {
  background: inherit;
  z-index: 3;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-menu > .mm-header .mm-close:after {
  content: "x";
}

.mm-menu.mm-hassearch > .mm-header {
  top: 40px;
}

.mm-menu.mm-hasheader .mm-panel .mm-header {
  display: none;
}

.mm-menu.mm-hasheader .mm-panel,
.mm-menu.mm-hasheader .mm-fixeddivider {
  top: 40px;
}

.mm-menu.mm-hasheader.mm-hassearch .mm-panel,
.mm-menu.mm-hasheader.mm-hassearch .mm-fixeddivider {
  top: 80px;
}

/*
	jQuery.mmenu dividers addon CSS
*/
.mm-divider > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  line-height: 25px;
}

.mm-divider.mm-opened a.mm-next:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mm-collapsed:not(.mm-uncollapsed) {
  display: none;
}

.mm-fixeddivider {
  background: inherit;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-fixeddivider:after {
  content: none !important;
  display: none !important;
}

.mm-hasdividers .mm-fixeddivider {
  display: block;
}

.mm-menu .mm-fixeddivider span {
  background: rgba(0, 0, 0, 0.05);
}

/*
	jQuery.mmenu searchfield addon CSS
*/
.mm-search,
.mm-search input {
  box-sizing: border-box;
}

.mm-menu > .mm-search {
  background: inherit;
  z-index: 3;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-search {
  height: 40px;
  width: 100%;
  padding: 10px 10px 0 10px;
  position: absolute;
  top: 0;
  left: 0;
}

.mm-search input {
  border: none;
  border-radius: 25px;
  font: inherit;
  font-size: 14px;
  line-height: 25px;
  outline: none;
  display: block;
  width: 100%;
  height: 25px;
  margin: 0;
  padding: 0 10px;
}

.mm-search input::-ms-clear {
  display: none;
}

.mm-panel.mm-hassearch {
  padding-top: 40px;
}

.mm-panel.mm-hassearch.mm-hasheader {
  padding-top: 80px;
}

.mm-panel.mm-hassearch.mm-hasheader .mm-search {
  top: 40px;
}

.mm-noresultsmsg {
  text-align: center;
  font-size: 21px;
  display: none;
  padding: 40px 0;
}

.mm-noresults .mm-noresultsmsg {
  display: block;
}

.mm-noresults .mm-indexer {
  display: none !important;
}

.mm-menu li.mm-nosubresults > a.mm-next {
  display: none;
}

.mm-menu li.mm-nosubresults > a.mm-next + a,
.mm-menu li.mm-nosubresults > a.mm-next + span {
  padding-right: 10px;
}

.mm-menu.mm-hassearch .mm-panel,
.mm-menu.mm-hassearch .mm-fixeddivider {
  top: 40px;
}

.mm-menu .mm-search input {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.7);
}

.mm-menu .mm-noresultsmsg {
  color: rgba(0, 0, 0, 0.3);
}

/*
	jQuery.mmenu sectionIndexer addon CSS
*/
.mm-indexer {
  background: inherit;
  text-align: center;
  font-size: 12px;
  box-sizing: border-box;
  width: 20px;
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: -100px;
  z-index: 3;
  -webkit-transition: right 0.4s ease;
  -moz-transition: right 0.4s ease;
  -ms-transition: right 0.4s ease;
  -o-transition: right 0.4s ease;
  transition: right 0.4s ease;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-indexer a {
  text-decoration: none;
  display: block;
  height: 3.71%;
}

.mm-indexer ~ .mm-panel.mm-hasindexer {
  padding-right: 40px;
}

.mm-hasindexer .mm-indexer {
  right: 0;
}

.mm-hasindexer .mm-fixeddivider {
  right: 20px;
}

.mm-hasheader .mm-indexer {
  top: 50px;
}

.mm-hasfooter .mm-indexer {
  bottom: 50px;
}

.mm-hassearch .mm-indexer {
  top: 50px;
}

.mm-hassearch.mm-hasheader .mm-indexer {
  top: 90px;
}

.mm-menu .mm-indexer a {
  color: rgba(0, 0, 0, 0.3);
}

/*
	jQuery.mmenu toggles addon CSS
*/
input.mm-toggle,
input.mm-check {
  position: absolute;
  left: -10000px;
}

label.mm-toggle,
label.mm-check {
  margin: 0;
  position: absolute;
  bottom: 50%;
  z-index: 2;
}

label.mm-toggle:before,
label.mm-check:before {
  content: "";
  display: block;
}

label.mm-toggle {
  border-radius: 30px;
  width: 50px;
  height: 30px;
  margin-bottom: -15px;
}

label.mm-toggle:before {
  border-radius: 30px;
  width: 28px;
  height: 28px;
  margin: 1px;
}

input.mm-toggle:checked ~ label.mm-toggle:before {
  float: right;
}

label.mm-check {
  width: 30px;
  height: 30px;
  margin-bottom: -15px;
}

label.mm-check:before {
  border-left: 3px solid;
  border-bottom: 3px solid;
  width: 40%;
  height: 20%;
  margin: 25% 0 0 20%;
  opacity: 0.1;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

input.mm-check:checked ~ label.mm-check:before {
  opacity: 1;
}

label.mm-toggle, label.mm-check {
  right: 20px;
}

label.mm-toggle + a,
label.mm-toggle + span {
  padding-right: 80px;
}

label.mm-check + a,
label.mm-check + span {
  padding-right: 60px;
}

a.mm-next + label.mm-toggle, a.mm-next + label.mm-check {
  right: 60px;
}

a.mm-next + label.mm-toggle + a,
a.mm-next + label.mm-toggle + span, a.mm-next + label.mm-check + a,
a.mm-next + label.mm-check + span {
  margin-right: 50px;
}

a.mm-next + label.mm-toggle + a,
a.mm-next + label.mm-toggle + span {
  padding-right: 70px;
}

a.mm-next + label.mm-check + a,
a.mm-next + label.mm-check + span {
  padding-right: 50px;
}

em.mm-counter + a.mm-next + label.mm-toggle, em.mm-counter + a.mm-next + label.mm-check {
  right: 100px;
}

em.mm-counter + a.mm-next + label.mm-toggle + a,
em.mm-counter + a.mm-next + label.mm-toggle + span, em.mm-counter + a.mm-next + label.mm-check + a,
em.mm-counter + a.mm-next + label.mm-check + span {
  margin-right: 90px;
}

.mm-menu label.mm-toggle {
  background: rgba(0, 0, 0, 0.1);
}

.mm-menu label.mm-toggle:before {
  background: #f3f3f3;
}

.mm-menu input.mm-toggle:checked ~ label.mm-toggle {
  background: #4bd963;
}

.mm-menu label.mm-check:before {
  border-color: rgba(0, 0, 0, 0.7);
}

/*
	jQuery.mmenu borderstyle extension CSS
*/
.mm-menu.mm-border-none .mm-listview > li:after,
.mm-listview.mm-border-none > li:after {
  content: none;
}

.mm-menu.mm-border-full .mm-listview > li:after,
.mm-listview.mm-border-full > li:after {
  left: 0 !important;
}

/*
	jQuery.mmenu effects extension CSS
*/
html.mm-effect-slide .mm-menu.mm-offcanvas {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
}

html.mm-effect-slide.mm-opened .mm-menu.mm-offcanvas {
  -webkit-transform: translate3d(-30%, 0, 0);
  -moz-transform: translate3d(-30%, 0, 0);
  -ms-transform: translate3d(-30%, 0, 0);
  -o-transform: translate3d(-30%, 0, 0);
  transform: translate3d(-30%, 0, 0);
}

html.mm-effect-slide.mm-opening .mm-menu.mm-offcanvas {
  -webkit-transform: translate3d(0%, 0, 0);
  -moz-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

html.mm-effect-slide.mm-right.mm-opened .mm-menu.mm-offcanvas {
  -webkit-transform: translate3d(30%, 0, 0);
  -moz-transform: translate3d(30%, 0, 0);
  -ms-transform: translate3d(30%, 0, 0);
  -o-transform: translate3d(30%, 0, 0);
  transform: translate3d(30%, 0, 0);
}

html.mm-effect-slide.mm-right.mm-opening .mm-menu.mm-offcanvas {
  -webkit-transform: translate3d(0%, 0, 0);
  -moz-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

html.mm-effect-zoom-menu .mm-menu.mm-offcanvas {
  -webkit-transition: -webkit-transform 0.4s ease;
  -moz-transition: -moz-transform 0.4s ease;
  -ms-transition: -ms-transform 0.4s ease;
  -o-transition: -o-transform 0.4s ease;
  transition: transform 0.4s ease;
}

html.mm-effect-zoom-menu.mm-opened .mm-menu.mm-offcanvas {
  -webkit-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -moz-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -ms-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -o-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

html.mm-effect-zoom-menu.mm-opening .mm-menu.mm-offcanvas {
  -webkit-transform: scale(1, 1) translate3d(0%, 0, 0);
  -moz-transform: scale(1, 1) translate3d(0%, 0, 0);
  -ms-transform: scale(1, 1) translate3d(0%, 0, 0);
  -o-transform: scale(1, 1) translate3d(0%, 0, 0);
  transform: scale(1, 1) translate3d(0%, 0, 0);
}

html.mm-effect-zoom-menu.mm-right.mm-opened .mm-menu.mm-offcanvas {
  -webkit-transform: scale(0.7, 0.7) translate3d(30%, 0, 0);
  -moz-transform: scale(0.7, 0.7) translate3d(30%, 0, 0);
  -ms-transform: scale(0.7, 0.7) translate3d(30%, 0, 0);
  -o-transform: scale(0.7, 0.7) translate3d(30%, 0, 0);
  transform: scale(0.7, 0.7) translate3d(30%, 0, 0);
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -ms-transform-origin: right center;
  -o-transform-origin: right center;
  transform-origin: right center;
}

html.mm-effect-zoom-menu.mm-right.mm-opening .mm-menu.mm-offcanvas {
  -webkit-transform: scale(1, 1) translate3d(0%, 0, 0);
  -moz-transform: scale(1, 1) translate3d(0%, 0, 0);
  -ms-transform: scale(1, 1) translate3d(0%, 0, 0);
  -o-transform: scale(1, 1) translate3d(0%, 0, 0);
  transform: scale(1, 1) translate3d(0%, 0, 0);
}

html.mm-effect-zoom-panels .mm-menu .mm-panel {
  -webkit-transform: scale(1.5, 1.5) translate3d(100%, 0, 0);
  -moz-transform: scale(1.5, 1.5) translate3d(100%, 0, 0);
  -ms-transform: scale(1.5, 1.5) translate3d(100%, 0, 0);
  -o-transform: scale(1.5, 1.5) translate3d(100%, 0, 0);
  transform: scale(1.5, 1.5) translate3d(100%, 0, 0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition-property: -webkit-transform, left;
  -moz-transition-property: -moz-transform, left;
  -ms-transition-property: -ms-transform, left;
  -o-transition-property: -o-transform, left;
  transition-property: transform, left;
}

html.mm-effect-zoom-panels .mm-menu .mm-panel.mm-opened {
  -webkit-transform: scale(1, 1) translate3d(0%, 0, 0);
  -moz-transform: scale(1, 1) translate3d(0%, 0, 0);
  -ms-transform: scale(1, 1) translate3d(0%, 0, 0);
  -o-transform: scale(1, 1) translate3d(0%, 0, 0);
  transform: scale(1, 1) translate3d(0%, 0, 0);
}

html.mm-effect-zoom-panels .mm-menu .mm-panel.mm-opened.mm-subopened {
  -webkit-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -moz-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -ms-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  -o-transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
  transform: scale(0.7, 0.7) translate3d(-30%, 0, 0);
}

/*
	jQuery.mmenu fullscreen extension CSS
*/
.mm-menu.mm-fullscreen {
  width: 100%;
  min-width: 140px;
  max-width: 10000px;
}

html.mm-opening.mm-fullscreen .mm-slideout {
  -webkit-transform: translate(100%, 0);
  -moz-transform: translate(100%, 0);
  -ms-transform: translate(100%, 0);
  -o-transform: translate(100%, 0);
  transform: translate(100%, 0);
}

@media all and (max-width: 140px) {
  html.mm-opening.mm-fullscreen .mm-slideout {
    -webkit-transform: translate(140px, 0);
    -moz-transform: translate(140px, 0);
    -ms-transform: translate(140px, 0);
    -o-transform: translate(140px, 0);
    transform: translate(140px, 0);
  }
}
@media all and (min-width: 10000px) {
  html.mm-opening.mm-fullscreen .mm-slideout {
    -webkit-transform: translate(10000px, 0);
    -moz-transform: translate(10000px, 0);
    -ms-transform: translate(10000px, 0);
    -o-transform: translate(10000px, 0);
    transform: translate(10000px, 0);
  }
}
html.mm-right.mm-opening.mm-fullscreen .mm-slideout {
  -webkit-transform: translate(-100%, 0);
  -moz-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -o-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}

@media all and (max-width: 140px) {
  html.mm-right.mm-opening.mm-fullscreen .mm-slideout {
    -webkit-transform: translate(-140px, 0);
    -moz-transform: translate(-140px, 0);
    -ms-transform: translate(-140px, 0);
    -o-transform: translate(-140px, 0);
    transform: translate(-140px, 0);
  }
}
@media all and (min-width: 10000px) {
  html.mm-right.mm-opening.mm-fullscreen .mm-slideout {
    -webkit-transform: translate(-10000px, 0);
    -moz-transform: translate(-10000px, 0);
    -ms-transform: translate(-10000px, 0);
    -o-transform: translate(-10000px, 0);
    transform: translate(-10000px, 0);
  }
}
.mm-menu.mm-fullscreen.mm-top, .mm-menu.mm-fullscreen.mm-bottom {
  height: 100%;
  min-height: 140px;
  max-height: 10000px;
}

html.mm-opened.mm-fullscreen .mm-page {
  box-shadow: none !important;
}

/*
	jQuery.mmenu multiline extension CSS
*/
.mm-menu.mm-multiline .mm-listview > li > a,
.mm-menu.mm-multiline .mm-listview > li > span,
.mm-listview.mm-multiline > li .mm-listview > li.mm-multiline > a,
.mm-listview.mm-multiline > li .mm-listview > li.mm-multiline > span {
  text-overflow: clip;
  white-space: normal;
}

/*
	jQuery.mmenu pageshadow extension CSS
*/
.mm-menu.mm-pageshadow:after {
  content: "";
  display: block;
  width: 20px;
  height: 120%;
  position: absolute;
  left: 100%;
  top: -10%;
  z-index: 99;
}

.mm-menu.mm-pageshadow.mm-right:after {
  left: auto;
  right: 100%;
}

.mm-menu.mm-pageshadow.mm-next:after, .mm-menu.mm-pageshadow.mm-front:after {
  content: none;
  display: none;
}

.mm-menu.mm-pageshadow:after {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/*
	jQuery.mmenu position extension CSS
*/
.mm-menu.mm-top,
.mm-menu.mm-bottom {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

.mm-menu.mm-right {
  left: auto;
  right: 0;
}

.mm-menu.mm-bottom {
  top: auto;
  bottom: 0;
}

html.mm-right.mm-opening .mm-slideout {
  -webkit-transform: translate(-80%, 0);
  -moz-transform: translate(-80%, 0);
  -ms-transform: translate(-80%, 0);
  -o-transform: translate(-80%, 0);
  transform: translate(-80%, 0);
}

@media all and (max-width: 175px) {
  html.mm-right.mm-opening .mm-slideout {
    -webkit-transform: translate(-140px, 0);
    -moz-transform: translate(-140px, 0);
    -ms-transform: translate(-140px, 0);
    -o-transform: translate(-140px, 0);
    transform: translate(-140px, 0);
  }
}
@media all and (min-width: 550px) {
  html.mm-right.mm-opening .mm-slideout {
    -webkit-transform: translate(-440px, 0);
    -moz-transform: translate(-440px, 0);
    -ms-transform: translate(-440px, 0);
    -o-transform: translate(-440px, 0);
    transform: translate(-440px, 0);
  }
}
/*
	jQuery.mmenu z-position extension CSS
*/
html.mm-front .mm-slideout {
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  z-index: 0 !important;
}

.mm-menu.mm-front {
  z-index: 1;
}

.mm-menu.mm-front, .mm-menu.mm-next {
  -webkit-transition: -webkit-transform 0.4s ease;
  -ms-transition: -ms-transform 0.4s ease;
  transition: transform 0.4s ease;
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}

.mm-menu.mm-front.mm-right, .mm-menu.mm-next.mm-right {
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}

.mm-menu.mm-top {
  -webkit-transform: translate3d(0, -100%, 0);
  -moz-transform: translate3d(0, -100%, 0);
  -ms-transform: translate3d(0, -100%, 0);
  -o-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.mm-menu.mm-bottom {
  -webkit-transform: translate3d(0, 100%, 0);
  -moz-transform: translate3d(0, 100%, 0);
  -ms-transform: translate3d(0, 100%, 0);
  -o-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

html.mm-opening .mm-menu.mm-front, html.mm-opening .mm-menu.mm-next {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mm-menu.mm-top, .mm-menu.mm-bottom {
  height: 80%;
  min-height: 140px;
  max-height: 880px;
}

/*
	jQuery.mmenu themes extension CSS
*/
.mm-menu.mm-theme-dark {
  background: #333333;
  color: rgba(255, 255, 255, 0.8);
}

.mm-menu.mm-theme-dark .mm-header {
  border-color: rgba(0, 0, 0, 0.15);
}

.mm-menu.mm-theme-dark .mm-header > a {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-header .mm-btn:before,
.mm-menu.mm-theme-dark .mm-header .mm-btn:after {
  border-color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-listview > li:after {
  border-color: rgba(0, 0, 0, 0.15);
}

.mm-menu.mm-theme-dark .mm-listview > li > a.mm-prev, .mm-menu.mm-theme-dark .mm-listview > li > a.mm-next {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-listview > li > a.mm-prev:before, .mm-menu.mm-theme-dark .mm-listview > li > a.mm-next:after {
  border-color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-listview > li > a.mm-prev:after, .mm-menu.mm-theme-dark .mm-listview > li > a.mm-next:before {
  border-color: rgba(0, 0, 0, 0.15);
}

.mm-menu.mm-theme-dark .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu.mm-theme-dark .mm-listview > li.mm-selected > span {
  background: rgba(0, 0, 0, 0.1);
}

.mm-menu.mm-theme-dark.mm-vertical .mm-listview li.mm-opened > a.mm-next,
.mm-menu.mm-theme-dark.mm-vertical .mm-listview li.mm-opened > .mm-panel,
.mm-menu.mm-theme-dark .mm-listview li.mm-opened.mm-vertical > a.mm-next,
.mm-menu.mm-theme-dark .mm-listview li.mm-opened.mm-vertical > .mm-panel {
  background: rgba(255, 255, 255, 0.05);
}

.mm-menu.mm-theme-dark .mm-divider {
  background: rgba(255, 255, 255, 0.05);
}

.mm-menu.mm-theme-dark .mm-buttonbar {
  border-color: rgba(255, 255, 255, 0.8);
  background: #333333;
}

.mm-menu.mm-theme-dark .mm-buttonbar > * {
  border-color: rgba(255, 255, 255, 0.8);
}

.mm-menu.mm-theme-dark .mm-buttonbar > input:checked + label {
  background: rgba(255, 255, 255, 0.8);
  color: #333333;
}

.mm-menu.mm-theme-dark label.mm-check:before {
  border-color: rgba(255, 255, 255, 0.8);
}

.mm-menu.mm-theme-dark em.mm-counter {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-footer {
  border-color: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-fixeddivider span {
  background: rgba(255, 255, 255, 0.05);
}

.mm-menu.mm-pageshadow.mm-theme-dark:after {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.mm-menu.mm-theme-dark .mm-search input {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.mm-menu.mm-theme-dark .mm-noresultsmsg {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark .mm-indexer a {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-dark label.mm-toggle {
  background: rgba(0, 0, 0, 0.15);
}

.mm-menu.mm-theme-dark label.mm-toggle:before {
  background: #333333;
}

.mm-menu.mm-theme-dark input.mm-toggle:checked ~ label.mm-toggle {
  background: #4bd963;
}

.mm-menu.mm-theme-white {
  background: white;
  color: rgba(0, 0, 0, 0.6);
}

.mm-menu.mm-theme-white .mm-header {
  border-color: rgba(0, 0, 0, 0.1);
}

.mm-menu.mm-theme-white .mm-header > a {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-header .mm-btn:before,
.mm-menu.mm-theme-white .mm-header .mm-btn:after {
  border-color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-listview > li:after {
  border-color: rgba(0, 0, 0, 0.1);
}

.mm-menu.mm-theme-white .mm-listview > li > a.mm-prev, .mm-menu.mm-theme-white .mm-listview > li > a.mm-next {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-listview > li > a.mm-prev:before, .mm-menu.mm-theme-white .mm-listview > li > a.mm-next:after {
  border-color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-listview > li > a.mm-prev:after, .mm-menu.mm-theme-white .mm-listview > li > a.mm-next:before {
  border-color: rgba(0, 0, 0, 0.1);
}

.mm-menu.mm-theme-white .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu.mm-theme-white .mm-listview > li.mm-selected > span {
  background: rgba(0, 0, 0, 0.05);
}

.mm-menu.mm-theme-white.mm-vertical .mm-listview li.mm-opened > a.mm-next,
.mm-menu.mm-theme-white.mm-vertical .mm-listview li.mm-opened > .mm-panel,
.mm-menu.mm-theme-white .mm-listview li.mm-opened.mm-vertical > a.mm-next,
.mm-menu.mm-theme-white .mm-listview li.mm-opened.mm-vertical > .mm-panel {
  background: rgba(0, 0, 0, 0.03);
}

.mm-menu.mm-theme-white .mm-divider {
  background: rgba(0, 0, 0, 0.03);
}

.mm-menu.mm-theme-white .mm-buttonbar {
  border-color: rgba(0, 0, 0, 0.6);
  background: white;
}

.mm-menu.mm-theme-white .mm-buttonbar > * {
  border-color: rgba(0, 0, 0, 0.6);
}

.mm-menu.mm-theme-white .mm-buttonbar > input:checked + label {
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

.mm-menu.mm-theme-white label.mm-check:before {
  border-color: rgba(0, 0, 0, 0.6);
}

.mm-menu.mm-theme-white em.mm-counter {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-footer {
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-fixeddivider span {
  background: rgba(0, 0, 0, 0.03);
}

.mm-menu.mm-pageshadow.mm-theme-white:after {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.mm-menu.mm-theme-white .mm-search input {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.6);
}

.mm-menu.mm-theme-white .mm-noresultsmsg {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white .mm-indexer a {
  color: rgba(0, 0, 0, 0.3);
}

.mm-menu.mm-theme-white label.mm-toggle {
  background: rgba(0, 0, 0, 0.1);
}

.mm-menu.mm-theme-white label.mm-toggle:before {
  background: white;
}

.mm-menu.mm-theme-white input.mm-toggle:checked ~ label.mm-toggle {
  background: #4bd963;
}

.mm-menu.mm-theme-black {
  background: black;
  color: rgba(255, 255, 255, 0.6);
}

.mm-menu.mm-theme-black .mm-header {
  border-color: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black .mm-header > a {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-header .mm-btn:before,
.mm-menu.mm-theme-black .mm-header .mm-btn:after {
  border-color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-listview > li:after {
  border-color: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black .mm-listview > li > a.mm-prev, .mm-menu.mm-theme-black .mm-listview > li > a.mm-next {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-listview > li > a.mm-prev:before, .mm-menu.mm-theme-black .mm-listview > li > a.mm-next:after {
  border-color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-listview > li > a.mm-prev:after, .mm-menu.mm-theme-black .mm-listview > li > a.mm-next:before {
  border-color: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu.mm-theme-black .mm-listview > li.mm-selected > span {
  background: rgba(255, 255, 255, 0.3);
}

.mm-menu.mm-theme-black.mm-vertical .mm-listview li.mm-opened > a.mm-next,
.mm-menu.mm-theme-black.mm-vertical .mm-listview li.mm-opened > .mm-panel,
.mm-menu.mm-theme-black .mm-listview li.mm-opened.mm-vertical > a.mm-next,
.mm-menu.mm-theme-black .mm-listview li.mm-opened.mm-vertical > .mm-panel {
  background: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black .mm-divider {
  background: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black .mm-buttonbar {
  border-color: rgba(255, 255, 255, 0.6);
  background: black;
}

.mm-menu.mm-theme-black .mm-buttonbar > * {
  border-color: rgba(255, 255, 255, 0.6);
}

.mm-menu.mm-theme-black .mm-buttonbar > input:checked + label {
  background: rgba(255, 255, 255, 0.6);
  color: black;
}

.mm-menu.mm-theme-black label.mm-check:before {
  border-color: rgba(255, 255, 255, 0.6);
}

.mm-menu.mm-theme-black em.mm-counter {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-footer {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-fixeddivider span {
  background: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-pageshadow.mm-theme-black:after {
  content: none;
  display: none;
}

.mm-menu.mm-theme-black .mm-search input {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.mm-menu.mm-theme-black .mm-noresultsmsg {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black .mm-indexer a {
  color: rgba(255, 255, 255, 0.4);
}

.mm-menu.mm-theme-black label.mm-toggle {
  background: rgba(255, 255, 255, 0.2);
}

.mm-menu.mm-theme-black label.mm-toggle:before {
  background: black;
}

.mm-menu.mm-theme-black input.mm-toggle:checked ~ label.mm-toggle {
  background: #4bd963;
}

/* Mmenu - Side menu */
/*
 * CSS
 * Footer
 */
footer#footer {
  border-top: 3px solid var(--c-accent);
  --footer-gap-v: 3em;
}
footer#footer .inner {
  display: flex;
  flex-direction: column;
  /*
  gap: 2em; // SAME SPACE AS PADDING-BLOCK
  padding-block: 2em; // // SAME SPACE AS PADDING-BLOCK 
  */
  gap: var(--footer-gap-v);
  padding-block: var(--footer-gap-v);
  color: var(--c-text);
}
/*
 * FOOTER BAR TOP
 */
.footer_bar_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*
 * FOOTER BAR MAIN
 */
.footer_bar_main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*
 * FOOTER BAR BOTTOM
 */
.footer_bar_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: Footer - Components
 */
/*
 * Atom
 * Scroll To Top
 */
a.scrollToTop {
  color: inherit;
  cursor: pointer;
}
a.scrollToTop:hover {
  color: var(--c-accent);
}
a.scrollToTop {
  /*
  .icon {
    font-size: 32px;
  }
  */
}
a.scrollToTop span {
  display: block;
  font-size: 3em;
}

.footerContent {
  font-size: var(--fs-l);
}
.footerContent span {
  font-size: var(--fs-m);
}
.footerContent img {
  width: 86px;
  vertical-align: middle;
}

.gridFooter {
  overflow: hidden;
}
.gridFooter .col {
  float: left;
  width: 25%;
  border: 1px solid red;
}

.togglebutton {
  display: none;
}

/*
nav#menuresponsive,
nav#menu_header,
nav#menu_dev,
nav#menu_footer,
*/
nav.nav_header ul.menu {
  /*
  // border: 3px solid var(--c-text); // TETS
  background-color: var(--c-white); // TETS 
  // padding: 3px;    
  */
  display: flex;
  gap: 3px;
}
nav.nav_header ul.menu li.current-menu-item a {
  background-color: var(--c-accent);
  color: var(--c-white);
}
nav.nav_header ul.menu li a {
  display: block;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 1.4em;
  text-wrap: nowrap;
  /*
  &:hover,
  &.is-current {text-decoration: underline;}
  */
  color: var(--c-bg);
  background-color: var(--c-text);
  transition: all 0.4s ease-in-out;
}
nav.nav_header ul.menu li a:hover {
  background-color: var(--c-accent);
  transition-duration: 0.2s;
}
nav.nav_header ul.menu li {
  /*
   *  2nd LEVEL - build it alwasy 3 levesl deep, as precaution, just in case, ya sti sabes 
   */
}
nav.nav_header ul.menu li:hover > ul {
  display: block;
}
nav.nav_header ul.menu li ul {
  display: none;
  position: absolute;
  background-color: var(--c-black);
}
@media only screen and (max-width: 800px) {
  nav.nav_header {
    display: none;
  }
}

/* FOR FOOTER */
nav.nav_footer ul.menu {
  display: flex;
  gap: 1em;
}
nav.nav_footer ul.menu li.current-menu-item a {
  /*          
  background-color: var(--c-accent);
  color: var(--c-white);
  */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
nav.nav_footer ul.menu li a {
  display: block;
  padding: 0.5em 0em;
  font-weight: bold;
  font-size: 1.4em;
  text-wrap: nowrap;
  /*
  &:hover,
  &.is-current {text-decoration: underline;}
  */
  /*
  // color: var(--c-white); // NEW
  color: var(--c-bg); // NEW
  // background-color: var(--c-black);
  // background-color: var(--c-accent);
  background-color: var(--c-text);


  */
  color: var(--c-text);
  transition: all 0.4s ease-in-out;
}
nav.nav_footer ul.menu li a:hover {
  transition-duration: 0.2s;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
nav.nav_footer ul.menu li {
  /*
   *  2nd LEVEL - build it alwasy 3 levesl deep, as precaution, just in case, ya sti sabes 
   */
}
nav.nav_footer ul.menu li:hover > ul {
  display: block;
}
nav.nav_footer ul.menu li ul {
  display: none;
  position: absolute;
  background-color: var(--c-black);
}

/*
 * CSS
 * WP SUBMENU - WORDPRESS
 *
 * MENU - SUBMNEU - 2 BOXES SYSTEMN, NICE COLOR & CENETERD TEXT ETC ...
 */
nav.submenu ul.submenu {
  display: grid;
  gap: 24px;
  --auto-grid-min-size: 20rem;
  grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
}
nav.submenu ul.submenu li {
  aspect-ratio: 1/1;
}
nav.submenu ul.submenu li a {
  display: block;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--c-text);
  font-size: 2em;
  /*


  @include transitionGeneral;


  */
  /*
  background-color: $c_accent;
  &:hover {background-color: $c_accent_dark;}        
  */
  /*
  background-color: var(--primary-color);
  &:hover {background-color: var(--dark-primary-color);}
  */
  background-color: var(--c-accent);
}
nav.submenu ul.submenu li a:hover {
  background-color: var(--c-accent-dark);
}
nav.submenu ul.submenu li.current_page_item a {
  background-color: var(--accent-color);
}
nav.submenu ul.submenu li ul {
  display: none;
}

/*
 * CSS
 * WP Pagination
 */
.w_pagination {
  margin-top: 96px;
  text-align: center;
}

.pagination {
  display: inline-block;
  overflow: hidden;
}
.pagination .page-numbers {
  float: left;
  margin-right: 12px;
  margin-bottom: 12px;
  /*
  background-color: $c_text;
  color: $c_white;	
  */
  /*


  color: $c_text;



  border: 2px solid $c_text;

  */
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  width: 48px;
  /* UI */
  transition: width 1s linear;
}
.pagination .page-numbers:hover {
  /*

    background-color: $c_text;

  */
}
.pagination .page-numbers {
  background-color: white;
  color: black;
  /* UI */
  /*
  background-color: none;
  color: $c_text;
  */
}
.pagination .page-numbers:hover {
  /*
  background-color: #ccc;
  color: $c_text;	
  */
  /*
  background-color: $c_accent;
  color: $c_white;	
  */
  background-color: var(--c-accent);
  color: var(--c-white);
  /*
  background-color: none;
  color: $c_text;	
  */
}
.pagination .page-numbers.current {
  /*
  		background-color: $c_text;
  		// background-color: $c_accent;
  		color: $c_white;
  */
  background-color: var(--c-black);
  color: var(--c-white);
}
.pagination .page-numbers.current:hover {
  background-color: inherit;
  color: inherit;
  /*	
  	background-color: $c_text;
  	// background-color: $c_accent;
  	color: $c_white;	
  */
  background-color: var(--c-black);
  color: var(--c-white);
}

/*
 * CSS
 * WP Post Nav
 *
 * add as molecule as its standalone form blog posts, as it can be used for any kind of posts I guess....
 */
.post_nav {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-block: 12px;
  overflow: hidden;
  font-size: 13px;
  line-height: 15px;
}
.post_nav img {
  width: 32px;
}
.post_nav span {
  display: inline-block;
  vertical-align: middle;
}
.post_nav span.material-icons {
  font-size: 24px;
}
.post_nav .left {
  float: left;
}
.post_nav .left a span:first-of-type {
  -webkit-transition: left 0.3s ease;
  -moz-transition: left 0.3s ease;
  -ms-transition: left 0.3s ease;
  -o-transition: left 0.3s ease;
  transition: left 0.3s ease;
  position: relative;
  left: -6px;
  top: 3px;
}
.post_nav .left img {
  width: 32px;
  /* display: block; */
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
  -ms-transform: rotate(180deg); /* IE 9 */
  -webkit-transform: rotate(180deg); /* Safari 3-8 */
  transform: rotate(180deg);
}
.post_nav .left a:hover span:first-of-type {
  left: -36px;
  left: -12px;
}
.post_nav .right {
  float: right;
}
.post_nav .right a span:last-of-type {
  -webkit-transition: right 0.3s ease;
  -moz-transition: right 0.3s ease;
  -ms-transition: right 0.3s ease;
  -o-transition: right 0.3s ease;
  transition: right 0.3s ease;
  position: relative;
  right: -6px;
  top: 3px;
}
.post_nav .right a:hover span:last-of-type {
  right: -12px;
}
.post_nav {
  position: relative;
}
.post_nav.case-hero {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-block: 0px;
}
.post_nav.case-hero .left {
  position: relative;
  top: 32px;
  left: -140px;
}
.post_nav.case-hero .right {
  position: relative;
  top: 32px;
  right: -140px;
}
@media only screen and (max-width: 1200px) {
  .post_nav.case-hero {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-block: 24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-inline: 24px;
  }
  .post_nav.case-hero .left {
    position: relative;
    top: 0px;
    left: 0px;
  }
  .post_nav.case-hero .right {
    position: relative;
    top: 0px;
    right: 0px;
  }
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: a grid ... 


 * INSTRUCTIONS FOR ANY GRID: 
 * separate grid behavior (wrapper & cols) from item behavior (and its own rwd behavior)

 */
/*
 * Grid - Blog
 */
.grid_blog_special {
  border: 3px solid var(--c-accent);
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 2em;
}

/*
 * Card - Blog - 1
 */
.card_blog_1 {
  grid-row: span 2;
  --card-padding: 16px;
  background-color: var(--c-bg);
  box-shadow: 0px 0px 2px #ccc;
  color: var(--c-text);
}
.card_blog_1 a {
  color: inherit;
}
.card_blog_1 {
  padding: var(--card-padding);
}
.card_blog_1 .image_OBSOLETE {
  /*
  @include bg_img; // not anymore !!!!!!!! do, oif not size, aspect ratio and object firt !!! and dysnamic object fot etc ... 
  @include ar_4_3;
  */
}
.card_blog_1 picture {
  border: 3px solid var(--c-accent);
  background-color: #957DAD;
  overflow: hidden;
}
.card_blog_1 picture img {
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: scale 0.5s ease-in-out;
}
.card_blog_1 picture img:hover {
  scale: 1.1;
}
.card_blog_1 .info {
  padding-top: var(--card-padding);
}
.card_blog_1 .info .category {
  display: flex;
  flex-wrap: wrap;
}
.card_blog_1 .info .category a {
  display: inline-block;
}
.card_blog_1 .info h3 {
  margin-block: 0.4em;
  font-size: 1.618em;
}
.card_blog_1 .info .text {
  font-size: 1em;
}
.card_blog_1 .info .tags {
  margin-block: 1em;
  display: flex;
  flex-wrap: wrap;
}
.card_blog_1 .info .tags a {
  display: inline-block;
}
.card_blog_1 .info .link {
  display: flex;
  flex-direction: column;
}
.card_blog_1 .info .link a {
  align-self: flex-end;
  display: inline-block;
}

/*
 * Card - Blog - 2
 */
.card_blog_2 {
  --card-padding: 16px;
  background-color: var(--c-bg);
  box-shadow: 0px 0px 2px #ccc;
  color: var(--c-text);
}
.card_blog_2 a {
  color: inherit;
}
.card_blog_2 {
  padding: var(--card-padding);
}
.card_blog_2 .image_OBSOLETE {
  /*
  @include bg_img; // not anymore !!!!!!!! do, oif not size, aspect ratio and object firt !!! and dysnamic object fot etc ... 
  @include ar_4_3;
  */
}
.card_blog_2 picture {
  border: 3px solid var(--c-accent);
  background-color: #957DAD;
  overflow: hidden;
}
.card_blog_2 picture img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: scale 0.5s ease-in-out;
}
.card_blog_2 picture img:hover {
  scale: 1.1;
}
.card_blog_2 .info {
  padding-top: var(--card-padding);
}
.card_blog_2 .info .category {
  display: flex;
  flex-wrap: wrap;
}
.card_blog_2 .info .category a {
  display: inline-block;
}
.card_blog_2 .info h3 {
  margin-block: 0.4em;
  font-size: 1.618em;
}
.card_blog_2 .info .text {
  font-size: 1em;
}
.card_blog_2 .info .tags {
  margin-block: 1em;
  display: flex;
  flex-wrap: wrap;
}
.card_blog_2 .info .tags a {
  display: inline-block;
}
.card_blog_2 .info .link {
  display: flex;
  flex-direction: column;
}
.card_blog_2 .info .link a {
  align-self: flex-end;
  display: inline-block;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: a grid ... 


 * INSTRUCTIONS FOR ANY GRID: 
 * separate grid behavior (wrapper & cols) from item behavior (and its own rwd behavior)

 */
/*
 * Grid - Blog
 */
.grid_blog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2em;
}

/*
 * Card - Blog
 */
.card_blog {
  --card-padding: 16px;
  --card-radius: 48px;
  border-radius: var(--card-radius);
  background-color: var(--c-bg);
  box-shadow: 0px 0px 2px #ccc;
  color: var(--c-text);
}
.card_blog a {
  color: inherit;
}
.card_blog {
  padding: var(--card-padding);
}
.card_blog picture {
  border-radius: calc(var(--card-radius) - var(--card-padding));
  /*
  border: $s_border;
  border-width: 1px; // 
  */
  box-shadow: 0px 0px 2px #ccc;
  overflow: hidden;
}
.card_blog picture img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: scale 0.5s ease-in-out;
}
.card_blog picture img:hover {
  scale: 1.1;
}
.card_blog .info {
  padding-top: var(--card-padding);
}
.card_blog .info .category {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.card_blog .info .category a {
  display: inline-block;
}
.card_blog .info ul.post_categories_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.card_blog .info ul.post_categories_list a {
  display: inline-block;
}
.card_blog .info .post_categories_plain {
  font-size: var(--fs-s);
  text-transform: uppercase;
  color: var(--fp-yellow);
  font-weight: bold;
}
.card_blog .info h3 {
  margin-block: 0.4em;
  font-size: 1.618em;
}
.card_blog .info .text {
  font-size: 1em;
}
.card_blog .info .tags {
  margin-block: 1em;
  display: flex;
  flex-wrap: wrap;
}
.card_blog .info .tags a {
  display: inline-block;
}
.card_blog .info .link {
  display: flex;
  flex-direction: column;
}
.card_blog .info .link a {
  align-self: flex-end;
  display: inline-block;
}

/*
 * CSS
 * search
 * grid_results VS the other ne that is simpler
 */
/*
desde eimoe, hacia cowoow
rename blog grid as grid_blog, not grid_posts // nor w_gridPosts
*/
/*
INSTRUCTIONS FOR ANY GRID: 
separate grid behavior (wrapper & cols) from item behavior (and its own rwd behavior)
*/
.wp_search_no_results {
  /*
  background-color: $c_accent;
  color: $c_white;
  */
  background-color: var(--bg-c-gray-light);
  padding: 18px;
  font-size: 24px;
  font-weight: 300;
  /*
  a {
    color: $c_accent;
    @include a_ui_default;
  } // a
  */
}
.wp_search_no_results h2 {
  font-weight: 500;
  margin-bottom: 12px;
}
.wp_search_no_results {
  /*
   * LISTS
   */
}
.wp_search_no_results ul {
  margin-left: 24px;
  margin-bottom: 24px;
  list-style: disc;
}
.wp_search_no_results li {
  margin-bottom: 10px;
}
.wp_search_no_results li ul {
  margin-top: 10px;
}

.grid_results {
  display: grid;
  gap: 48px;
  perspective: 1000px;
  /*
  transform-style: preserve-3d;
  // transform: rotateX(45deg);
  // transform: rotateY(45deg);
  transform: rotateZ(45deg);
  */
}

.card_result {
  /* START - ROTATION */
  transform: rotateX(5deg);
  transition: transform 0.5s ease;
}
.card_result:hover {
  transform: rotateX(0deg);
}
.card_result {
  /* END - ROTATION */
  background-color: white; /* PRECAUTION */
  box-shadow: 0px 4px 4px 2px #999;
  border-radius: 6px;
  overflow: hidden; /* new placement */
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  /* padding: $spacing075; */
}
.card_result .image {
  background-color: green;
  /* border-radius: 3px; */
  /* overflow: hidden; */
}
.card_result .image img {
  width: 100%;
  display: block;
}
.card_result .image {
  /* */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*
  // case-no-image con su padding system, aka use aspect ratio testing css !!!!!!!!!!!!
  &.case-no-image {
    // @include bg_img;
    @include ar_4_3;
  } // case-no-image
  */
}
.card_result .image a {
  display: block;
  height: 100%;
}
.card_result .info {
  /*
  padding-top: 1em;
  padding: $spacing075;
  */
  padding: 18px;
}
.card_result .info .category {
  margin-bottom: 1em;
  /*



  font-size: $fs_card_small; // TEST - NICE SYSTEM !!!! HAVE A GENERIDC FIEL FOR CRDS-




  */
  color: var(--c-gray);
}
.card_result .info .category a {
  color: inherit;
}
.card_result .info .category a:hover {
  text-decoration: underline;
}
.card_result .info .title {
  margin-bottom: 0.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /*


  // TODO - mixin for font_card_title - size, color, wwierght.... - SPECIALLY NOW QUE LO ESTOY REPLICANBDO EN grid_staff . . . . . . . . . .s
  font-size: $fs_card_title;



  */
  font-weight: bold;
}
.card_result .info .title a:hover {
  text-decoration: underline;
}
.card_result .info .specs {
  margin-bottom: 1em;
  color: var(--c-gray);
  display: flex;
  gap: 18px;
}
.card_result .info .text {
  color: var(--c-gray);
  line-height: 1.7em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card_result .info .link {
  margin-top: 1.5em;
  display: flex;
}
.card_result .info .link a {
  /*


  @extend .buttonSmall; // extend anchor style butotn simpe systems....   



  */
}

/*
 * CSS
 * search
 * grid_results_simple VS the other ne that is more complex, comeplete

 as separator, just have an organge line ..... 
  and so some anchor ui inteactivity 

 */
/* 
 * GRID - RESULTS
 */
.grid_results_simple {
  display: grid;
  gap: 24px;
  background-color: white;
}

/* 
 * CARD - RESULTS - SIMPLE - BUT THIS IS NOT SIMPLE ENOUGH, DO I TMORE GOOGLE-LIKE 
 */
.card_result_simple {
  /*
  @include card;
  padding: $spacing075;
  */
  padding-block: 1em;
}
.card_result_simple .category {
  margin-bottom: 1em;
  color: var(--c-gray);
}
.card_result_simple .category a {
  color: inherit;
}
.card_result_simple .category a:hover {
  text-decoration: underline;
}
.card_result_simple .title {
  margin-bottom: 0.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: bold;
}
.card_result_simple .title a:hover {
  text-decoration: underline;
}
.card_result_simple .text {
  color: var(--c-gray);
  line-height: 1.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*
 * Author: Carl Johansson @carlwebdev
 * Project: cowo-Boilerplate
 * File: UI-SOCIAL
 */
/* DO SOME UI - CHANGE SCALE OR STH !!! */
.m_social {
  /*
  outline: 12px solid blue;
  outline-offset: 3px;
  */
}
.m_social ul {
  display: flex;
  gap: 12px;
}
.m_social ul li {
  flex-shrink: 0;
}
.m_social ul li a {
  /* CASE = SQUARED BOXES, NOT GON TO USE THAT RIGHT NOW ... 
  display: block;
  padding: 4px;
  // ui_color_change
  background-color: var(--c-white);
  &:hover {background-color: var(--c-accent);}
  */
  /*
  color: var(--c-text); 
  &:hover {color: var(--c-accent);}
  */
}
.m_social ul li a img {
  width: 32px;
}
.m_social ul li a i {
  display: block;
  font-size: 2em;
  color: var(--c-text);
}
.m_social ul li a i:hover {
  color: var(--c-accent);
}

/* OPTIONS - SOCIAL MEDIA */
.header_social {
  /*
  .m_social ul {
      // display: flex;
      // gap: 18px;
      gap: 6px;
  }
  */
}

.footer_social {
  /*
  // NO NEED FORE THI MM_SOCIAL LAYER...WAIT, NED SOME INETRMEDIATE LAYER, FOR 1 IS FOR THE BASICS, JUST DO UL WITH CLASS, AND THEN HAVE L_'s for situations..
  .m_social ul {
      // display: flex;
      // gap: 18px;
      gap: 6px;
  }
  */
}

/* WP COOKIES POPUP */
.cookie-notice-container {
  border-top: 4px solid white;
  background-color: var(--c-accent) !important;
}

#cookie-notice .cn-button {
  margin-left: 10px;
  background-color: white !important;
  color: var(--c-accent);
  cursor: pointer;
  background-color: var(--c-white);
  font-size: var(--fs-m);
  color: #D92E3E;
  text-transform: uppercase; /* PREACUTION */
  background-image: linear-gradient(to bottom, white, white) !important;
  border-radius: 0px !important;
  text-shadow: none !important;
}

/* CSS Document - FRONT-END */
/* =================================================================== */
/* TABS - Simple jQuery tabs                         				   */
/* =================================================================== */
/*
 * TABS WRAPPER ....    
 */
/*
 * TABS MENU   - design it materlia styla, like the one in the cowoCMS ..  
 */
.jq_tabsMenu ul {
  overflow: hidden;
}

.jq_tabsMenu li {
  float: left;
  width: 100px; /* !!!!!!!!!!!!! */
  text-align: center;
  margin-right: 8px;
  color: #fff;
}

.jq_tabsMenu li a {
  color: inherit;
  display: block; /* */
  padding: 8px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #E64A19;
}

.jq_tabsMenu li.active a {
  background: #FFCCBC;
  color: #E64A19;
}
.jq_tabsMenu li.active a:hover {
  background: #FFCCBC;
  color: #E64A19;
}

.jq_tabsMenu li a:hover {
  background: #999;
  color: var(--c-white);
}

/*
 * THE TABS
 */
#tabs .tab {
  clear: both; /* ????????????? */
  background: #FFCCBC;
  padding: 15px; /* min-height: 200px; */
  min-height: 200px; /* DEMO */
  color: var(--c-white);
}

@media only screen and (max-width: 600px) { /* width is inclusive */
  .jq_tabsMenu li {
    width: 23.5%;
    margin-right: 2%;
    color: #FF0 !important;
  }
  .jq_tabsMenu li:last-of-type {
    margin-right: 0%;
  }
}
@media only screen and (max-width: 380px) { /* width is inclusive */
  .jq_tabsMenu li a {
    font-size: 0.75rem;
  }
}
/* CSS Document */
/* ============================================ */
/* COWOWO ACCORDION                             */
/* ============================================ */
/* CONTAINER */
/* EACH PAIR OF TRIGGER AND HIDDEN SECTION */
.accordion_item {
  background-color: #999;
  margin-bottom: 5px;
}

/* TRIGGER */
.accordion_top {
  background-color: #FFCCBC;
}

.accordion_top.active {
  background-color: #0f0 !important;
}

/* HIDDEN SECTION */
.accordion_bottom {
  background-color: #E64A19;
  height: 50px;
  /* display:none; */
}

/* CSS Document */
/* ============================================ */
/* COWOWO DROPDOWN                              */
/* ============================================ */
/* DESIGN */
.genericDropdownItem {
  clear: both;
  overflow: hidden;
  margin-bottom: 10px;
}

.genericDropdownItem:last-of-type {
  margin-bottom: 0px;
}

/* TOP */
.genericDropdownItem_top {
  position: relative; /* for the trigger */
  padding-top: 5px;
  background-color: #999;
  min-height: 50px;
}

.genericDropdownItem_top_trigger {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background-color: #999;
  font-weight: bold;
}

.genericDropdownItem_top_trigger:hover,
.genericDropdownItem_top_trigger.is_active {
  background-color: #999; /* TESTING NEW THING */ /* SASS IT !!!!!!!!!!!!!! */
  color: var(--c-white);
}

/* BOTTOM */
.genericDropdownItem_bottom {
  background-color: #E64A19;
  min-height: 100px;
}

/* FUNCTION */
.jq_dropdown { /* THE PARENT OF EACH DROPDOWN TOP/BOTTOM PAIR */ }

.jq_dropdown_shown.is_active {
  background-color: #999;
}

.jq_dropdown_trigger {
  cursor: pointer;
}

.jq_dropdown_trigger.is_active {
  background-color: #E64A19;
  color: var(--c-white);
}

.jq_dropdown_trigger.is_active:hover {
  color: #000;
}

.jq_dropdown_hidden {
  display: none;
}

/*
 * cowo-Boilerplate
 * CSS
 * cowo-gridlist // NOT ANYMORE 
 * ui_gridlist
 */
/* MIXIN TO DECLARE-CSS-COUNTER */
.ui_gridlist_items ul li::before {
  counter-increment: gridlist; /* Increment the value of section counter by 1 */
  /* content: "# " counter(section) ": "; */ /* Display the word 'Section ', the value of section counter, and a colon before the content of each h3 */
  /* content: "# " counter(section); */
  /* content: counter(section);  */
  content: "Item " counter(gridlist);
}

.ui_gridlist {
  /* PLACEHOLDER */
}

/*
 * cowo-gridlist
 * menu
 */
.ui_gridlist_menu {
  display: flex;
  margin-bottom: 12px;
}
.ui_gridlist_menu ul {
  display: flex;
  gap: 1em;
}
.ui_gridlist_menu li {
  text-align: center;
  color: var(--c-text);
  border: 3px solid var(--c-accent);
}
.ui_gridlist_menu li a {
  display: block; /* */
  padding: 0.6em 1em;
  background: #E64A19;
  color: inherit;
}
.ui_gridlist_menu li.is-active a {
  background: #FFCCBC;
  color: #E64A19;
}
.ui_gridlist_menu li.is-active a:hover {
  background: #FFCCBC;
  color: #E64A19;
}
.ui_gridlist_menu li a:hover {
  background: #999;
  color: var(--c-text);
}
.ui_gridlist_menu li button {
  background-color: red;
}
.ui_gridlist_menu li button.is-active {
  background-color: green;
}

/*
 * cowo-gridlist
 * items
 */
.ui_gridlist_items {
  border: 12px solid black;
}
.ui_gridlist_items ul li {
  background-color: var(--c-bg-dark);
  color: var(--c-text-inv);
  border: 3px solid var(--c-accent);
  padding: 24px;
  padding: 3em;
}
.ui_gridlist_items ul.is-list {
  display: grid;
  gap: 1em;
}
.ui_gridlist_items ul.is-list li {
  /* LAYOUT */
  /*
  margin-bottom: $spacing05;
    :last-of-type {margin-bottom: 0px;}
  */
}
.ui_gridlist_items ul.is-grid {
  /* LAYOUT - CSS GRID */
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 COLUMNS */
  gap: 1em;
}
.ui_gridlist_items ul.is-grid li {
  /* PLACEHOLDER */
}

/* CSS Document - FRONT-END */
/* =================================================================== */
/* LIGHTBOX ME                                       				   */
/* =================================================================== */
.lightboxme_trigger {
  cursor: pointer;
  background-color: #999;
  float: left;
  padding: 24px;
  color: #fff;
}
.lightboxme_trigger:hover {
  background-color: #E64A19;
}

.lightboxme_content {
  clear: right;
  display: none;
  background-color: #FFCCBC;
  color: #fff;
  /* width:700px; */
  width: 62%;
  padding: 24px;
}

.lightboxme_content .close {
  cursor: pointer;
  text-align: right;
  margin-bottom: 24px;
}
.lightboxme_content .close:hover {
  color: #999;
}

/*
 * INTERSECTION OBSERVER - copying fomr dialog - the script, plusthe clas name, and the css and the fadin csss...
 *
 * 
 *
 *
 */
.io_fadein_below {
  opacity: 0;
  transform: translateY(100px);
  transition: transform 1s, opacity 1s;
}

.fadeIn {
  opacity: 1;
  transform: translateY(0px);
}

.io_fadein_left {
  opacity: 0;
  transform: translateX(100px);
  transition: transform 1s, opacity 1s;
}

.fadeInLeft {
  opacity: 1;
  transform: translateX(0px);
}

/*
 * RENOVA — BASE · concepte "Atelier Renova" (editorial artesà)
 * Reset fort + escala tipogràfica fluida + sistema de seccions + botons.
 * Aquests estils van al final del global.scss → guanyen el cascade del tema.
 */
/* ── Reset / fonaments ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  /* line-height:0 al body → l'espai en blanc del PHP després de #page no genera
     cap caixa de línia (abans deixava una franja de fons paper sota el footer).
     El line-height de lectura es restaura a #page, que conté tot el contingut. */
  line-height: 0;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* gra de paper subtil sobre tot el lloc (textura artesana) */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

/* Restaura el line-height de lectura per a tot el contingut (#page conté
   header + main + footer); el body queda a 0 per matar la franja final. */
#page {
  line-height: 1.65;
}

/* ── Container ───────────────────────────────────────────────────────────── */
.container {
  width: min(var(--container), 90%);
  margin-inline: auto;
}

/* ── Sistema de seccions ─────────────────────────────────────────────────── */
.section {
  padding: clamp(2.5rem, 4.5vw, 4.25rem) 0;
  position: relative;
}

/* dues seccions CLARES seguides: redueix (no elimina) el padding superior per
   evitar el doble buit; la secció de sota manté una separació moderada.
   S'exclouen les seccions fosques (ba-band, cta) perquè volen aire propi. */
.section + .section:not(.is-dark):not(.ba-band):not(.cta) {
  padding-top: clamp(1.4rem, 2.6vw, 2.4rem);
}

.section--alt {
  background: var(--surface-alt);
}

.section--tight {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

/* Capçalera de secció: índex + eyebrow + títol gran */
.section-head {
  max-width: var(--container-text);
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-intro {
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  max-width: var(--container-text);
  margin: 1rem 0 0;
}

/* ── Tipografia ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  line-height: 1.15;
}

p {
  margin: 0 0 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Paràgraf d'entrada gran (editorial) */
.lede {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
}

/* ── Enllaços ────────────────────────────────────────────────────────────── */
a {
  color: inherit;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease-out);
}
.text-link:hover::after {
  transform: translateX(0.35rem);
}

/* ── Botons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.92rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 26px -12px rgba(94, 119, 29, 0.7);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(94, 119, 29, 0.8);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

/* Variants sobre fons fosc */
.is-dark .btn--ghost,
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.is-dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Índex editorial (01, 02, 03) ────────────────────────────────────────── */
.index-num {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/*
 * RENOVA — HEADER · barra superior fosca + barra principal sobre paper
 * Estilem el markup REAL del tema (header#header, .header_bar_main, #menu_header).
 */
/* ── Contenidor header sticky ────────────────────────────────────────────── */
/* header#header (0,1,1) per guanyar el z-index:1 del tema i quedar SOBRE el hero */
header#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header#header .frame.wide {
  padding: 0;
}
header#header {
  /* padding-block:0 → la barra fosca de contacte arriba a la vora superior
     (el tema posava ~17px de padding vertical a .inner → franja clara a dalt) */
}
header#header .inner {
  width: min(var(--container), 92%);
  margin-inline: auto;
  padding-block: 0;
}

/* ── Barra superior (renova: contacte + idiomes) ─────────────────────────── */
.site-header__top {
  background: var(--dark);
  color: #EDEBE0;
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
}

.site-header__top-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

.header-contact-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-contact-link {
  color: #EDEBE0;
  text-decoration: none;
  font-weight: 500;
}
.header-contact-link:hover {
  color: var(--accent-on-dark);
}

.header-contact-hours {
  color: rgba(237, 235, 224, 0.6);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-social-link {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #EDEBE0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}
.header-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Barra principal: logo | nav | opcions ───────────────────────────────── */
#header .header_bar_main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

#header .header_logo {
  width: auto; /* anul·la el width:300px del tema */
  max-width: none;
}
#header .header_logo img, #header .header_logo .custom-logo {
  width: clamp(120px, 12vw, 150px);
  height: auto;
  display: block;
  /* anul·la la caixa blanca del starter (_header_components.scss): el logo és PNG transparent */
  background: transparent;
  padding: 0;
  border-radius: 0;
}
#header .header_logo a {
  display: inline-block;
  line-height: 0;
}

#header .header_options_temp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

#header .header_buttons {
  display: flex;
  gap: 0.2rem;
}

#header .headericon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s var(--ease-out);
}
#header .headericon:hover {
  background: var(--surface-alt);
}
#header .headericon .material-symbols-outlined {
  font-size: 1.4rem;
}

/* La hamburguesa NOMÉS apareix sota el breakpoint de nav (la resta, amagada).
   Especificitat #header .header_buttons … per guanyar a #header .headericon. */
#header .header_buttons .nav-toggle {
  display: none;
}

/* ── Navegació responsive (canvi a <= 980px) ─────────────────────────────── */
@media (max-width: 980px) {
  /* mostra la hamburguesa */
  #header .header_buttons .nav-toggle {
    display: inline-flex;
  }
  /* el menú principal passa a panell desplegable full-width a sota del header.
     left:50% + translateX(-50%) + 100vw → trenca el contenidor .inner (92%) */
  #header nav#menu_header {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0 1rem;
  }
  #header.nav-open nav#menu_header {
    display: block;
  }
  #header nav#menu_header ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--container), 92%);
    margin-inline: auto;
  }
  #header nav#menu_header ul li a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  #header nav#menu_header ul li a::after {
    display: none;
  }
  #header nav#menu_header ul li:last-child a {
    border-bottom: none;
  }
}
/* ── Desplegable de cerca (full-width sota el header) ────────────────────── */
#header #search-dropdown {
  display: block; /* guanya el .header_dropdowns{display:none} del tema */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 0 1.5rem;
  z-index: 5;
}

#header #search-dropdown[hidden] {
  display: none;
}

#header #search-dropdown .frame {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* Cercador estilitzat: input + botó en línia, dins una "pastilla" unificada */
#header #search-dropdown .renova-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#header #search-dropdown .renova-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(152, 188, 55, 0.18);
}

#header #search-dropdown .renova-search__label {
  flex: 1 1 auto;
  display: flex;
  margin: 0;
}

#header #search-dropdown .renova-search__field {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.95rem 1.4rem;
  font: inherit;
  color: var(--text);
}

#header #search-dropdown .renova-search__field:focus {
  outline: none;
  box-shadow: none;
}

#header #search-dropdown .renova-search__field::placeholder {
  color: var(--text-muted, #8a857a);
}

#header #search-dropdown .renova-search__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  margin: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0 1.6rem;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

#header #search-dropdown .renova-search__submit:hover,
#header #search-dropdown .renova-search__submit:focus {
  background: var(--primary-dark, #7ea22e);
}

#header #search-dropdown .renova-search__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

#header #search-dropdown .renova-search__icon {
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  #header #search-dropdown .renova-search__submit span {
    display: none;
  }
  #header #search-dropdown .renova-search__submit {
    padding: 0 1.15rem;
  }
}
/* ── Responsive (barra superior) ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .header-contact-hours {
    display: none;
  }
  .site-header__top-inner {
    font-size: 0.78rem;
    gap: 0.6rem;
  }
  #header .header_bar_main {
    min-height: 66px;
  }
}
/*
 * RENOVA — HERO · editorial, fons fosc forest amb brillantor verda
 */
.hero {
  position: relative;
  background: var(--dark);
  color: #F6F4EC;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
  /* brillantor verda + degradat de profunditat */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 78% 18%, rgba(152, 188, 55, 0.22), transparent 60%), linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  z-index: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero h1, .hero h2, .hero h3 {
  color: #F8F6EE;
}
.hero .eyebrow {
  color: var(--accent-on-dark);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__content {
  max-width: 38ch;
}

.hero h1 {
  margin-bottom: 1.4rem;
}

.hero__content > p {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(246, 244, 236, 0.82);
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Punts clau: filera amb filet superior, estil editorial */
.hero__highlights {
  margin: 2.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(246, 244, 236, 0.16);
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero__highlights li {
  position: relative;
  padding-left: 1.7rem;
  color: rgba(246, 244, 236, 0.8);
  font-size: 0.98rem;
}
.hero__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 0 4px rgba(182, 212, 84, 0.18);
}

/* Mèdia: imatge alta amb marc i petita etiqueta */
.hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media {
  /* fina línia verda interior */
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* ── Hero compacte (pàgines interiors): clar, editorial ─────────────────── */
.hero--compact {
  background: var(--surface-alt);
  color: var(--text);
  /* el header és sticky (ja ocupa el seu espai): no cal tant padding superior */
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(2.25rem, 3.5vw, 3rem);
}
.hero--compact::before {
  background: radial-gradient(50% 70% at 85% 10%, rgba(152, 188, 55, 0.1), transparent 60%);
}
.hero--compact h1, .hero--compact h2, .hero--compact h3 {
  color: var(--text);
}
.hero--compact .eyebrow {
  color: var(--accent);
}
.hero--compact .hero__content {
  max-width: var(--container-text);
}
.hero--compact .hero__content > p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
  .hero__media {
    aspect-ratio: 16/11;
    order: -1;
  }
  .hero__content {
    max-width: none;
  }
}
/*
 * RENOVA — CARDS & blocs editorials: sectors, serveis, procés, confiança, testimonis
 */
/* ── Graella genèrica ────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

/* ── Targeta editorial ───────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
}
.card {
  /* filet verd que creix a dalt en hover */
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.4s var(--ease-out);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}
.card:hover::before {
  width: 100%;
}

/* Targeta-sector amb índex gran */
.card--feature {
  padding-top: clamp(2rem, 3vw, 2.8rem);
}
.card--feature .card__index {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1;
  color: var(--primary);
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

/* ── Llista de serveis (editorial, amb filets) ───────────────────────────── */
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.service-list li {
  position: relative;
  padding: 1.15rem 0.5rem 1.15rem 2.4rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--text);
}
.service-list li::before {
  content: "↗";
  position: absolute;
  left: 0.4rem;
  color: var(--accent);
  font-family: var(--font-body);
}

/* ── Procés: passos numerats (timeline) ──────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  counter-reset: step;
}

.process-card {
  position: relative;
  padding-top: 2.6rem;
  border-top: 2px solid var(--line);
}
.process-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.process-card::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.process-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ── Confiança: checklist editorial ──────────────────────────────────────── */
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
  max-width: var(--container-text);
}

.trust-list li {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.02rem;
}
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Testimonis: cita editorial ──────────────────────────────────────────── */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.testimonials-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
}

.testimonial-card--featured {
  background: var(--dark);
  color: #F4F2EA;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
}

.testimonial-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin: 0 0 1.3rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.45rem);
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 1.3rem;
  text-wrap: balance;
}

.testimonial-card--featured .testimonial-quote {
  color: #F8F6EE;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem);
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.testimonial-context {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-card--featured .testimonial-name {
  color: #F8F6EE;
}

.testimonial-card--featured .testimonial-context {
  color: rgba(244, 242, 234, 0.65);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .cards,
  .process-grid,
  .service-list {
    grid-template-columns: 1fr;
  }
}
/*
 * RENOVA — Gallery · graella editorial amb caption sobreposat i filtres pill
 */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.3rem);
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  cursor: zoom-in;
  aspect-ratio: 4/5;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item {
  /* vel inferior per llegir el caption */
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 14, 0.6), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.gallery__item:hover::after {
  opacity: 1;
}
.gallery__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 1rem 1.1rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Filtres ─────────────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease-out);
}
.filter-btn:hover {
  border-color: var(--text);
}

.filter-btn.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .gallery__item figcaption {
    opacity: 1;
    transform: none;
  }
  .gallery__item::after {
    opacity: 0.7;
  }
}
/*
 * RENOVA — Before/After Slider · la peça central (transformació abans/després)
 * Mànec gran amb agafador, etiquetes editorials, marc net.
 */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.comparison-card {
  background: transparent;
  border: none;
  padding: 0;
}
.comparison-card h3 {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
}

/* ── El slider ───────────────────────────────────────────────────────────── */
.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-alt);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.ba-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

/* Capa superior: ocupa TOT el slider i es revela amb clip-path (la imatge queda FIXA,
   mai s'escala). El JS ajusta clip-path: inset(0 X% 0 0) segons el desplaçador. */
.ba-slider__after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.ba-slider__after-wrap .ba-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* etiquetes */
.ba-slider__label {
  position: absolute;
  top: 0.9rem;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(33, 39, 27, 0.72);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.ba-slider__label--before {
  left: 0.9rem;
}

.ba-slider__label--after {
  right: 0.9rem;
  background: var(--primary);
  color: var(--on-primary);
}

/* control range invisible a sobre */
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 4;
  opacity: 0;
  cursor: ew-resize;
}

/* mànec: línia + agafador rodó central */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.ba-slider__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.ba-slider__handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}
/*
 * RENOVA — CTA + Formulari de pressupost (CF7) + mapa · editorial
 */
/* ── Bloc CTA (capçalera del bloc de contacte) ──────────────────────────── */
.cta {
  background: var(--dark);
  color: #F4F2EA;
}
.cta h2 {
  color: #F8F6EE;
}
.cta .eyebrow {
  color: var(--accent-on-dark);
}

.cta__wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
}
.cta__wrap p {
  color: rgba(244, 242, 234, 0.72);
}

.cta__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ── Formulari ───────────────────────────────────────────────────────────── */
.quick-form {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}
.quick-form h2, .quick-form h3 {
  color: var(--text);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  margin-bottom: 0.3rem;
}
.quick-form .section-intro {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.quick-form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.3rem;
  max-width: none;
  margin: 0;
}

.quick-form .wpcf7-form p {
  margin: 0;
}

.quick-form .wpcf7-form label {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.quick-form .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.quick-form .wpcf7-form input:not([type=submit]):not([type=file]),
.quick-form .wpcf7-form select,
.quick-form .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.quick-form .wpcf7-form input:focus,
.quick-form .wpcf7-form select:focus,
.quick-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(152, 188, 55, 0.18);
}

.quick-form .wpcf7-form .full {
  grid-column: 1/-1;
}

/* fitxer */
.quick-form .wpcf7-form input[type=file] {
  width: 100%;
  font-size: 0.88rem;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
}

.quick-form .wpcf7-form input[type=file]::file-selector-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  padding: 0.5rem 1rem;
  margin-right: 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}

.quick-form .wpcf7-form input[type=file]::file-selector-button:hover {
  background: var(--surface-alt);
}

/* enviar */
.quick-form .wpcf7-form input[type=submit] {
  grid-column: 1/-1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 999px;
  padding: 0.92rem 2rem;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(94, 119, 29, 0.7);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.quick-form .wpcf7-form input[type=submit]:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* missatges CF7 */
.quick-form .wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.82rem;
  font-weight: 500;
  color: #c5221f;
  margin-top: 0.2rem;
}

.quick-form .wpcf7-form .wpcf7-response-output {
  grid-column: 1/-1;
  margin: 0;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
}

.quick-form .wpcf7-form .wpcf7-spinner {
  align-self: center;
}

/* ── Contacte: formulari + mapa en 2 columnes (layout "split") ───────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
}

.contact-split .quick-form {
  margin-top: 0;
}

.contact-split .contact-map {
  display: flex;
  flex-direction: column;
}

.contact-split .map-embed-wrap {
  margin-top: 0;
  flex: 1;
} /* el mapa omple l'alçada */
.contact-split .map-embed-wrap iframe {
  height: 100%;
}

@media (max-width: 860px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}
/* ── Mapa ────────────────────────────────────────────────────────────────── */
.map-embed-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.map-embed-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 360px;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.map-actions {
  margin: 1.2rem 0 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .cta__wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .quick-form .wpcf7-form {
    grid-template-columns: 1fr;
  }
  .map-embed-wrap iframe {
    min-height: 280px;
  }
}
/*
 * RENOVA — Footer · fosc forest, editorial, 4 columnes
 */
footer#footer.site-footer {
  position: relative;
  background: var(--dark);
  color: #EDEBE0;
  padding: clamp(1rem, 1.6vw, 1.4rem) 0 clamp(0.6rem, 0.9vw, 0.8rem);
  /* el tema posava .inner { padding-block: 3em; gap: 3em } via aquesta variable */
  --footer-gap-v: 1rem;
  /* filet verd superior */
}
footer#footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent 70%);
}
footer#footer.site-footer a {
  color: #EDEBE0;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
footer#footer.site-footer a:hover {
  color: var(--accent-on-dark);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.7rem;
}

.footer-col__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}

/* Col 1: logo */
.footer-col--logo .custom-logo-link {
  display: inline-block;
}
.footer-col--logo img.custom-logo {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin: 1.1rem 0 0;
  color: rgba(237, 235, 224, 0.6);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 26ch;
}

/* Col 2: socials */
.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}

/* Col 3: contacte */
.footer-contact-line {
  margin: 0 0 0.55rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(237, 235, 224, 0.78);
}

/* Col 4: menú legal vertical (#footer per guanyar al nav del tema) */
#footer .footer-col--legal .nav_footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#footer .footer-col--legal .nav_footer a {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  color: rgba(237, 235, 224, 0.78);
}

/* copyright (opacitat 0.7 per complir contrast AA 4.5:1 sobre el fosc) */
#footer .footer_bar_bottom {
  color: rgba(237, 235, 224, 0.7);
  font-size: 0.86rem;
}

#footer .footer_bar_bottom p {
  margin: 0;
}

/* scroll-to-top a dalt del footer: discret, alineat a la dreta, poc aire */
#footer .footer_bar_top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.4rem;
}

/* ── Banda Kit Digital / NextGenerationEU ────────────────────────────────── */
.footer-kitdigital {
  background: #ffffff;
  padding: clamp(0.4rem, 0.8vw, 0.6rem) 0;
  border-top: 1px solid var(--border);
}
.footer-kitdigital .container {
  display: flex;
  justify-content: center;
}
.footer-kitdigital__img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 64px; /* manté els logotips a una alçada raonable */
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-kitdigital__img {
    max-height: none;
  } /* en mòbil que es vegi sencer */
}
/*
 * RENOVA — EXTRES: nav principal, idiomes, WhatsApp, lightbox, scroll-reveal,
 *                  indicador de scroll, accessibilitat
 */
/* ── Menú principal (markup del tema, net i editorial) ───────────────────── */
#header nav#menu_header ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

#header nav#menu_header ul li a {
  position: relative;
  background: transparent;
  color: var(--text);
  padding: 0.4rem 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
  /* subratllat animat */
}
#header nav#menu_header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.28s var(--ease-out);
}
#header nav#menu_header ul li a:hover {
  color: var(--accent);
}
#header nav#menu_header ul li a:hover::after {
  width: 100%;
}

#header nav#menu_header .current-menu-item > a,
#header nav#menu_header .current_page_item > a {
  color: var(--accent);
}
#header nav#menu_header .current-menu-item > a::after,
#header nav#menu_header .current_page_item > a::after {
  width: 100%;
}

/* ── Selector d'idiomes (a la barra fosca) ───────────────────────────────── */
.header-langs {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.7rem;
}

.header-lang-link {
  color: rgba(237, 235, 224, 0.6);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease-out);
}
.header-lang-link:hover {
  color: #EDEBE0;
}

.header-lang-link.is-active {
  color: var(--accent-on-dark);
}

/* ── WhatsApp flotant ────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ── Lightbox de galeria ─────────────────────────────────────────────────── */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  line-height: normal; /* el body té line-height:0; el lightbox viu fora de #page */
}

.lightbox::backdrop {
  background: rgba(20, 24, 14, 0.92);
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 0;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

/* ── Indicador de progrés de scroll ──────────────────────────────────────── */
#scroll-indicator {
  background: linear-gradient(90deg, var(--renova-green-500), var(--renova-green-400));
}

/* ── Botó "tornar amunt" del footer ──────────────────────────────────────── */
footer#footer a.scrollToTop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #EDEBE0;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
footer#footer a.scrollToTop:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}

/* ══ SCROLL-REVEAL ════════════════════════════════════════════════════════
 * Les seccions i ítems amb [data-reveal] entren amb fade-up quan són visibles.
 * El JS (ui_reveal.js) afegeix .is-visible via IntersectionObserver.
 * Stagger via --reveal-i (índex) per a graelles. */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Bàner "development site" de WPML: ocupa espai al final del document.
   L'amaguem (desapareix sol amb la llicència de producció de WPML). */
.otgs-development-site-front-end {
  display: none !important;
}

/* ── Accessibilitat / focus ──────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role=button]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/*
 * RENOVA — "ATELIER": components d'alt impacte (estil awwwards/godly)
 * Hero immersiu · tipografia cinètica · cursor lima · magnètic · marquee ·
 * manifest · scroll horitzontal · banda abans/després full-bleed.
 */
/* ── Cursor lima: anella fina que segueix el cursor NATIU (no l'amaga) ────── */
/* Sobre elements clicables s'ENCONGEIX a un punt (no es fa gran). */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: transparent;
  opacity: 0.5;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.22s var(--ease-out), height 0.22s var(--ease-out), opacity 0.22s var(--ease-out), background 0.22s var(--ease-out);
}

.cursor-ring.is-active {
  width: 9px;
  height: 9px;
  background: var(--primary);
  opacity: 0.85;
}

/* ── Tipografia cinètica (revelat paraula a paraula) ─────────────────────── */
.kinetic--ready .kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 0.92;
}

.kinetic--ready .kw__in {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.85s var(--ease-out);
}

.kinetic--ready.is-in .kw__in {
  transform: translateY(0);
}

/* ── HERO IMMERSIU (pantalla completa) ───────────────────────────────────── */
.hero--immersive {
  position: relative;
  /* alçada exacta: viewport menys el header sticky (var fixada per JS) */
  min-height: calc(100svh - var(--header-h, 120px));
  display: grid;
  align-items: end;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background: var(--dark);
  color: #F6F4EC;
  overflow: hidden;
}
.hero--immersive::before {
  display: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 24, 14, 0.92) 0%, rgba(20, 24, 14, 0.55) 45%, rgba(20, 24, 14, 0.2) 100%), linear-gradient(0deg, rgba(20, 24, 14, 0.85) 0%, transparent 55%);
}

.hero--immersive .hero__inner {
  position: relative;
  z-index: 2;
  max-width: min(52rem, 92%);
}

.hero--immersive .eyebrow {
  color: var(--accent-on-dark);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #F8F6EE;
  margin: 0 0 1.3rem;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-on-dark);
}

.hero__sub {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(246, 244, 236, 0.82);
}

.hero--immersive .hero__actions {
  margin-top: 2rem;
}

/* cue de scroll */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(246, 244, 236, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(var(--accent-on-dark), transparent);
  animation: cueLine 1.8s ease-in-out infinite;
}

@keyframes cueLine {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
/* ── MARQUEE (ticker editorial) ──────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--dark);
  color: #F4F2EA;
  padding: clamp(1rem, 2vw, 1.6rem) 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem);
  letter-spacing: -0.01em;
}

.marquee__dot {
  color: var(--accent-on-dark);
  font-size: 1.4rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
/* ── MANIFEST (statement gran) ───────────────────────────────────────────── */
.statement {
  background: var(--bg);
}

.statement__text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.8rem, 1rem + 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0;
  text-wrap: balance;
}
.statement__text em {
  font-style: italic;
  color: var(--accent);
}

/* ── FIGURES (xifres reals) ──────────────────────────────────────────────── */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.figure__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem);
  line-height: 1;
  color: var(--text);
}

.figure__num .figure__suffix {
  color: var(--accent);
}

.figure__label {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ── SCROLL HORITZONTAL (treballs) ───────────────────────────────────────── */
.hscroll {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  margin: 0 calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  scrollbar-width: thin;
  cursor: grab;
}
.hscroll.is-grabbing {
  cursor: grabbing;
}
.hscroll::-webkit-scrollbar {
  height: 4px;
}
.hscroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.hscroll > * {
  flex: 0 0 clamp(260px, 30vw, 400px);
  scroll-snap-align: start;
}

.hscroll .gallery__item {
  aspect-ratio: 3/4;
  margin: 0;
}

/* pista del drag */
.drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── BANDA ABANS/DESPRÉS full-bleed ──────────────────────────────────────── */
.ba-band {
  background: var(--dark);
  color: #F4F2EA;
}
.ba-band h2, .ba-band .section-head h2 {
  color: #F8F6EE;
}
.ba-band .eyebrow {
  color: var(--accent-on-dark);
}
.ba-band .section-intro {
  color: rgba(244, 242, 234, 0.7);
}
.ba-band .comparison-card h3 {
  color: #F4F2EA;
}
.ba-band {
  /* xifres en clar sobre la banda fosca */
}
.ba-band .figures {
  border-top-color: rgba(255, 255, 255, 0.16);
}
.ba-band .figure__num {
  color: #F8F6EE;
}
.ba-band .figure__num .figure__suffix {
  color: var(--accent-on-dark);
}
.ba-band .figure__label {
  color: rgba(244, 242, 234, 0.6);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero--immersive .hero__inner {
    max-width: none;
  }
  .figures {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    text-align: left;
  }
}
/*
 * COMPONENTS - UI
 */
/* MODULES */
/* 
 * COMPONENTS - ATOMS 
 */
