/**
Theme Name: CSG × r p. solar
Author: raimundo p. solar
Author URI: 
Description: Canid Specialist Group homemade with love wordpress theme
Version: 1.0
Text Domain: csg-x-rps
**/

/* Reset CSS */
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;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

/**** ROOT ****/
:root {
  --color-black: #141414;
  --color-gray: #333;
  --color-white: #fafafa;
  --color-orange: #d97652;
  --color-s-orange: #d36036;
}

:root {
  --color-primary-alpha03: rgba(0, 0, 0, 0.03);
  --font-size-base: 16px;
  --font-size-h1: 3.5rem;
  --font-size-h2: 2.2rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;
  --line-height-base: 1.5;
  --spacing-base: 1rem;
  --spacing-medium: 1.5rem;
  --spacing-more: 2rem;
  --spacing-big: 3rem;
  --max-width-site: 1200px;
  --max-width-big: 1400px;
  --shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-sans);
  line-height: 1.4rem;
}

h1,
h2 {
  font-family: var(--font-sans);
  line-height: 1.4em;
  margin-bottom: var(--breche-s);
}

h3 {
  line-height: 1.4em;
}

h4 {
  margin: 0 0 0.1em;
}

p {
  line-height: 1.5em;
  margin: 0 0 1em 0;
}

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

address {
  font-style: normal;
  color: var(--color-gray);
  /* margin: 0 0 1em; */
}

/* links */
a {
  color: var(--color-black);
  text-decoration: none;
}
a:visited {
  color: none;
}
a:hover {
  opacity: 1;
}

.link-fire a {
  position: relative;
}
.link-fire a::after {
  background-color: var(--color-s-orange);
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.075em;
  bottom: 0; /* default gap */

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.link-fire a:hover::after,
.link-fire a:focus-visible::after {
  transform: scaleX(1);
}

/* When the nav uses text-m, increase the gap under the text */
.link-fire.text-m a::after {
  bottom: -0.15em;
}
.link-fire a:has(svg)::after {
  display: none;
}

.link-orange a {
  text-decoration: none;
}
.link-orange a:hover,
.link-orange a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--color-s-orange);
  text-underline-offset: 3px;
}

.link-hover a:hover,
.link-hover a:focus-visible {
  color: var(--color-s-orange);
}

.link-pdf {
  color: red;
}

a.link-pdf:hover,
a.link-pdf:focus-visible {
  color: var(--color-s-orange);
  /* text-decoration: none; */
}

/* WG intro: website link only */
#wg-intro a.wg-website-link {
  color: var(--color-black);
  text-decoration: underline;
  text-decoration-color: var(--color-black);
  text-underline-offset: 3px;
}

#wg-intro a.wg-website-link:hover,
#wg-intro a.wg-website-link:focus-visible {
  text-decoration-color: var(--color-s-orange);
}
