body {
	background-color: var(--body-bgc);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

.custom-bg {
	background-color: #ccc;
}


main a {
	color: inherit;
}
main a:hover {
	color: inherit;
}

main ol,
main ul {
	margin: var(--space-s) var(--space-s);
}

/* hide translation anchors */
html[lang="en"] main section > a,
#c1, #c7 {
	display: none;
}

@media screen and (max-width: 70rem) {
	#c123 {
		grid-column: screen-inset-start/screen-inset-end;
	}
}




.btn.primary {
	border: 1px solid #000;
	border-radius: 3rem;
	padding: .5rem 3rem;
	cursor: pointer;
	background-color: #000;
	color: #eee;
	transition: all .2s ease-in-out;

	&:hover {
		background-color: #0001;
		color: #000;
	}
}





.img-txt > div { margin-inline-end: 0; }
.txt-img > div { margin-inline-start: 0; }

.img-txt > div * + *,
.txt-img > div * + * {
	margin-block-start: var(--space-3xs);
}




/* ------------------------------------------------------------------------- */ /* caballero accordion collapsible */

section details {
	position:relative;
	overflow:hidden;
	max-width: 100%;
	--detailContentHeight:auto;
	border-top:1px solid #6f614d88;
}
section details:last-child {
	border-bottom:1px solid #6f614d88;
}


section summary {
	text-align: left;
	font-size: var(--step--2);
	font-weight: 350;
	position:relative;
	display:block; /* turns off the open indicator on modern UA's */
	padding: 1rem 2em .5em .5rem;
	background-color : var(--main-bgc);
	cursor : pointer;
	z-index : 1;
	transition: .2s background-color ease-in-out;
}

section summary::-webkit-details-marker {
	display:none;
}

section summary:hover {
	background-color : var(--h1---bgc);
}

section summary:focus {
	outline:none;
}

section summary:after {
	position:absolute;
	top:.5rem;
	right:1rem;
	content: '+';
	display:inline-block;
	color: inherit;
	font-size : 1.5rem;
	transition:transform 0.2s;
}

section details[open]:not(.closed) > summary {
	background-color : var(--h1---bgc);
}

section details[open]:not(.closed) > summary:after {
	transform-origin: center center;
	transform: rotateZ(45deg);
}

section details > div {
	overflow:hidden; /* wrap margins */
	transition:margin-top 0.3s;
	padding: 0 1rem 1rem .5rem;
}
section details > div > * {
	margin-top: .66rem;
}
section details > div > * > *:first-child:is(h2,h3,h4,h5,h6) {
	display: none;
}


section details.closed > div {
	margin-top:var(--detailContentHeight);
}



.accordion p:has(a.btn) {
	text-align: left;
	margin-block: 2rem 4rem;
}





/* ------------------------------------------------------------------------- */ /* specifics */

.arrow-list {
	list-style: none;
	margin: var(--space-s) 0;
}

.arrow-list a  {
	position: relative;
	display: inline-block;
	padding: 9px 9px 9px 160px;
	text-decoration: none;
	line-height: 1.3;
	margin-right: -10px;
	border: none;
	color: inherit;
	transition: 0.3s ease;
	text-decoration: none;
}
.arrow-list a:hover {
  color: #6f614d;
}

.arrow-list .arrow {
  position: absolute;
  display: block;
  height: 2px;
  background-color: #6f614d;
  width: 120px;
  margin: .66rem 0 0;
  transition: 0.3s ease;
  left: 0;
  top: 0.65em;
}

.arrow-list li > a:first-child:hover .arrow {
  width: 140px;
}

.arrow-list .arrow::before,
.arrow-list .arrow::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: #fff;
  right: -2px;
  top: 0;
  transform-origin: right center;
  transform: rotate(-45deg);
  transition: 0.2s ease;
}

.arrow-list .arrow::before,
.arrow-list .arrow::after {
  background-color: #6f614d;
  width: 10px;
  height: 2px;
}

.arrow-list .arrow::after {
  transform: rotate(45deg);
}

.arrow-list a h3 {
	display: inline-block;
	font-size: 1.25rem;
	font-style: normal;
}

@media (max-width: 40rem) {
  .arrow-list li > a:first-child {
    padding: 5px 5px 5px 60px;
    margin-right: -5px;
  }
 .arrow-list .arrow {
    width: 80px;
    transform: scale(0.6);
    transform-origin: left top;
    margin: 4px 0 0;
  }
  .arrow-list a h3 {
	 display: inline;
  }
}
