@import url(font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Pattaya|Work+Sans:400,200,300);
@import url(https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap);
/* MINE */

@font-face {
	font-family: "Antique";
	font-style: normal;
	font-weight: normal;
	src: local("?"), url("../fonts/antique-olive-lt-nord-italic.woff") format("woff"), url("../fonts/antique-olive-lt-nord-italic.ttf") format("truetype");
}

.detalles {
	cursor: pointer;
}

.stretch {
	display: inline-block;
	-webkit-transform: scale(0.7, 1);
	/* Safari and Chrome */
	-moz-transform: scale(0.7, 1);
	/* Firefox */
	-ms-transform: scale(0.7, 1);
	/* IE 9 */
	-o-transform: scale(0.7, 1);
	/* Opera */
	transform: scale(0.7, 1);
	/* W3C */
}

.btn {
	flex: 1 1 auto;
	margin: 10px;
	padding: 30px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
}

.btn2 {
	flex: 1 1 auto;
	margin: 10px;
	padding: 30px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
}

.btn:hover {
	background-position: right center;
	/* change the direction of the change here */
}

.btn-1 {
	background-image: linear-gradient(to right, #C0A062 0%, #fda085 51%, #C0A062 100%);
}

.btn-cerrar {
	background-image: linear-gradient(to right, #C0A062 0%, #fda085 51%, #D84239 100%);
}

/*Menu Secciones*/

.circle {
	list-style: none;
	position: relative;
	display: inline-block;
	width: 100px;
	height: 100px;
	font-family: "helvetica neue", helvetica, arial, sans-serif;
	font-size: 13px;
	text-align: center;
}

@media screen and (max-width: 1680px) {
	.circle {
		width: 115px;
		height: 115px;
	}
	.round span:hover {
		opacity: .85;
		font-size: 18px !important;
	}
}

@media screen and (max-width: 1280px) {
	.circle {
		width: 90px;
		height: 90px;
	}
	.round span:hover {
		opacity: .85;
		font-size: 14px !important;
	}
}

@media screen and (max-width: 1010px) {
	.circle {
		width: 60px;
		height: 60px;
	}
	.round span:hover {
		opacity: .85;
		font-size: 12px !important;
	}
}

@media screen and (max-width: 736px) {
	.circle {
		width: 50px;
		height: 50px;
	}
	.round span:hover {
		opacity: .85;
		font-size: 9px !important;
	}
}

@media screen and (max-width: 480px) {
	.circle {
		width: 40px;
		height: 40px;
	}
	.round span:hover {
		opacity: .85;
		font-size: 8px !important;
	}
}

@-moz-keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}

@-webkit-keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}

@-o-keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}

.round {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	padding-top: 0px;
	text-decoration: none;
	text-align: center;
	font-size: 25px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
	letter-spacing: -.065em;
	font-family: "Hammersmith One", sans-serif;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	box-shadow: 2px 2px 7px rgba(0, 0, 0, .2);
	border-radius: 300px;
	z-index: 1;
	border-width: 4px;
	border-style: solid;
}

.round:hover {
	width: 130%;
	height: 130%;
	left: -15%;
	top: -15%;
	font-size: 33px;
	padding-top: 0px;
	-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
	-o-box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
	-moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
	box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
	z-index: 2;
	border-size: 10px;
	-webkit-transform: rotate(-360deg);
	-moz-transform: rotate(-360deg);
	-o-transform: rotate(-360deg);
	transform: rotate(-360deg);
}

a.green {
	color: rgba(0, 63, 71, 1);
	border-color: rgba(0, 63, 71, .2);
}

a.green:hover {
	color: rgba(1, 151, 171, 1);
}

.round span.round {
	display: block;
	opacity: 0;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	font-size: 1px;
	border: none;
	padding: 40% 20% 0 20%;
	color: #fff;
}

.round span:hover {
	opacity: .85;
	font-size: 16px;
	-webkit-text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
	-moz-text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
	-o-text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
	text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}

.green span {
	background: rgba(0, 63, 71, .7);
}

/* scarfs */

.columns {
	margin-top: -20px;
}

.wrapper {
	margin: 0 auto -35px;
	width: 20%;
	position: relative;
	z-index: 999;
	top: 10px;
	pointer-events: none;
}

.wrapper .str3 a { pointer-events: auto; }

.str3 .str_item {
	font-size: 0;
	line-height: 0
}

.str3 img {
	opacity: 1;
	width: 50px;
	margin-top: 20px;
	margin-right: 25px;
	vertical-align: top;
}

.str3 img:hover {
	opacity: 1
}

.str3.str_wrap.str_active {
	background-image: url('../../images/grupos/back_large.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;
}

.str3.str_wrap {
	background-image: url('../../images/grupos/back_large.png');
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
}

@media screen and (max-width: 1280px) and (min-width: 980px) {
	.wrapper {
		width: 23%;
	}
	.str3 img {
		opacity: 1;
		width: 40px;
		margin-top: 20px;
	}
}

@media screen and (max-width: 980px) and (min-width: 800px) {
	.wrapper {
		width: 33%;
	}
	.str3.str_wrap {
		background-image: url('../../images/grupos/back_medium.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.str3.str_wrap.str_active {
		background-image: url('../../images/grupos/back_medium.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.str3 img {
		opacity: 1;
		width: 40px;
		margin-top: 20px;
	}
}

@media screen and (max-width: 800px) and (min-width: 768px) {
	.wrapper {
		width: 26%;
	}
	.str3 img {
		opacity: 1;
		width: 35px;
		margin-top: 20px;
	}
}

@media screen and (max-width: 768px) and (min-width: 360px) {
	.wrapper {
		width: 20%;
	}
	.str3.str_wrap {
		background-image: url('../../images/grupos/back_small.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.str3.str_wrap.str_active {
		background-image: url('../../images/grupos/back_small.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
	}
	.str3 img {
		opacity: 1;
		width: 30px;
		margin-top: 15px;
	}
}

@media screen and (max-width: 360px) and (min-width: 320px) {
	.wrapper {
		width: 20%;
	}
	.str3 img {
		opacity: 1;
		width: 25px;
		margin-top: 10px;
	}
	.image {
		margin-bottom: 2em;
	}
}

@media screen and (max-width: 320px) {
	.wrapper {
		width: 20%;
	}
	.str3.str_wrap {
		background-image: url('../../images/grupos/back_small.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
		margin-top: 5px;
	}
	.str3.str_wrap.str_active {
		background-image: url('../../images/grupos/back_small.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-color: transparent;
		margin-top: 5px;
	}
	.str3 img {
		opacity: 1;
		width: 25px;
		margin-top: 5px;
	}
	.image {
		margin-bottom: 2em;
	}
}

/*
	Radius by TEMPLATED
	templated.co @templatedco
	Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/

/* Reset */

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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

p {
	font-size: 18px;
}

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;
}

body {
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* Box Model */

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Basic */

@-ms-viewport {
	width: device-width;
}

@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}
}

body {
	background: #fbf8f3;
}

body.is-loading *, body.is-loading *:before, body.is-loading *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}

/* Type */

body {
	background-color: #fbf8f3;
	color: #444;
}

body, input, select, textarea {
	font-family: "Work Sans", sans-serif;
	font-size: 13pt;
	font-weight: 300;
	line-height: 1.65;
}

@media screen and (max-width: 1680px) {
	body, input, select, textarea {
		font-size: 11pt;
	}
}

@media screen and (max-width: 1280px) {
	body, input, select, textarea {
		font-size: 11pt;
	}
}

@media screen and (max-width: 980px) {
	body, input, select, textarea {
		font-size: 12pt;
	}
}

@media screen and (max-width: 736px) {
	body, input, select, textarea {
		font-size: 12pt;
	}
}

@media screen and (max-width: 480px) {
	body, input, select, textarea {
		font-size: 12pt;
	}
}

a {
	text-decoration: none;
	outline: 0;
}

a:hover {
	text-decoration: none;
}

strong, b {
	font-weight: 300;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 0.5em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h2 {
	font-size: 3em;
}

h3 {
	font-size: 1.35em;
}

h4 {
	font-size: 1.1em;
}

h5 {
	font-size: 0.9em;
}

h6 {
	font-size: 0.7em;
}

sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}

sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}

blockquote {
	border-left: solid 4px;
	font-style: italic;
	margin: 0 0 2em 0;
	padding: 0.5em 0 0.5em 2em;
}

code {
	border-radius: 4px;
	border: solid 1px;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0.25em;
	padding: 0.25em 0.65em;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0 2em 0;
}

pre code {
	display: block;
	line-height: 1.75;
	padding: 1em 1.5em;
	overflow-x: auto;
}

hr {
	border: 0;
	border-bottom: solid 1px;
	margin: 2em 0;
}

hr.major {
	margin: 3em 0;
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

input, select, textarea {
	color: #555;
}

a {
	color: #e74c3c;
}

strong, b {
	color: #555;
}

h1, h2, h3, h4, h5, h6 {
	color: #555;
}

blockquote {
	border-left-color: rgba(144, 144, 144, 0.25);
}

code {
	background: rgba(144, 144, 144, 0.075);
	border-color: rgba(144, 144, 144, 0.25);
}

hr {
	border-bottom-color: rgba(144, 144, 144, 0.25);
}

/* Box */

.box {
	border-radius: 4px;
	border: solid 1px;
	margin-bottom: 2em;
	padding: 1.5em;
}

.box> :last-child, .box> :last-child> :last-child, .box> :last-child> :last-child> :last-child {
	margin-bottom: 0;
}

.box.alt {
	border: 0;
	border-radius: 0;
	padding: 0;
}

.box {
	border-color: rgba(144, 144, 144, 0.25);
}

/* Button */

input[type="submit"], input[type="reset"], input[type="button"], button, .button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	border-radius: 4px;
	border: 0;
	cursor: pointer;
	display: inline-block;
	font-weight: 300;
	height: 2.85em;
	line-height: 2.95em;
	padding: 0 2.5em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

input[type="submit"].icon, input[type="reset"].icon, input[type="button"].icon, button.icon, .button.icon {
	padding-left: 1.35em;
}

input[type="submit"].icon:before, input[type="reset"].icon:before, input[type="button"].icon:before, button.icon:before, .button.icon:before {
	margin-right: 0.5em;
}

input[type="submit"].alt, input[type="reset"].alt, input[type="button"].alt, button.alt, .button.alt {
	background: #FFF;
	color: #e74c3c;
}

input[type="submit"].fit, input[type="reset"].fit, input[type="button"].fit, button.fit, .button.fit {
	display: block;
	margin: 0 0 1em 0;
	width: 100%;
}

input[type="submit"].small, input[type="reset"].small, input[type="button"].small, button.small, .button.small {
	font-size: 0.8em;
}

input[type="submit"].big, input[type="reset"].big, input[type="button"].big, button.big, .button.big {
	font-size: 1.35em;
}

input[type="submit"].disabled, input[type="submit"]:disabled, input[type="reset"].disabled, input[type="reset"]:disabled, input[type="button"].disabled, input[type="button"]:disabled, button.disabled, button:disabled, .button.disabled, .button:disabled {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	opacity: 0.25;
}

@media screen and (max-width: 480px) {
	input[type="submit"], input[type="reset"], input[type="button"], button, .button {
		padding: 0;
	}
}

/* Form */

form {
	margin: 0 0 2em 0;
}

label {
	display: block;
	font-size: 0.9em;
	font-weight: 300;
	margin: 0 0 0 0;
}

input[type="text"], input[type="password"], input[type="email"], select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	border-radius: 4px;
	border: none;
	border: solid 1px;
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1em;
	text-decoration: none;
	width: 100%;
}

input[type="text"]:invalid, input[type="password"]:invalid, input[type="email"]:invalid, select:invalid, textarea:invalid {
	box-shadow: none;
}

.select-wrapper {
	text-decoration: none;
	display: block;
	position: relative;
}

.select-wrapper:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

.select-wrapper:before {
	content: '\f078';
	display: block;
	height: 2.75em;
	line-height: 2.75em;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 2.75em;
}

.select-wrapper select::-ms-expand {
	display: none;
}

input[type="text"], input[type="password"], input[type="email"], select {
	height: 2.75em;
}

textarea {
	padding: 0.75em 1em;
}

input[type="checkbox"], input[type="radio"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: block;
	float: left;
	margin-right: -2em;
	opacity: 0;
	width: 1em;
	z-index: -1;
}

input[type="checkbox"]+label, input[type="radio"]+label {
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 300;
	padding-left: 2.4em;
	padding-right: 0.75em;
	position: relative;
}

input[type="checkbox"]+label:before, input[type="radio"]+label:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

input[type="checkbox"]+label:before, input[type="radio"]+label:before {
	border-radius: 4px;
	border: solid 1px;
	content: '';
	display: inline-block;
	height: 1.65em;
	left: 0;
	line-height: 1.58125em;
	position: absolute;
	text-align: center;
	top: 0;
	width: 1.65em;
}

input[type="checkbox"]:checked+label:before, input[type="radio"]:checked+label:before {
	content: '\f00c';
}

input[type="checkbox"]+label:before {
	border-radius: 4px;
}

input[type="radio"]+label:before {
	border-radius: 100%;
}

::-webkit-input-placeholder {
	opacity: 1.0;
}

:-moz-placeholder {
	opacity: 1.0;
}

::-moz-placeholder {
	opacity: 1.0;
}

:-ms-input-placeholder {
	opacity: 1.0;
}

.formerize-placeholder {
	opacity: 1.0;
}

label {
	color: #555;
}

input[type="text"], input[type="password"], input[type="email"], select, textarea {
	background: rgba(144, 144, 144, 0.075);
	border-color: rgba(144, 144, 144, 0.25);
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
	border-color: #e74c3c;
	box-shadow: 0 0 0 1px #e74c3c;
}

.select-wrapper:before {
	color: rgba(144, 144, 144, 0.25);
}

input[type="checkbox"]+label, input[type="radio"]+label {
	color: #444;
}

input[type="checkbox"]+label:before, input[type="radio"]+label:before {
	background: rgba(144, 144, 144, 0.075);
	border-color: rgba(144, 144, 144, 0.25);
}

input[type="checkbox"]:checked+label:before, input[type="radio"]:checked+label:before {
	background-color: #e74c3c;
	border-color: #e74c3c;
	color: #ffffff;
}

input[type="checkbox"]:focus+label:before, input[type="radio"]:focus+label:before {
	border-color: #e74c3c;
	box-shadow: 0 0 0 1px #e74c3c;
}

::-webkit-input-placeholder {
	color: #bbb !important;
}

:-moz-placeholder {
	color: #bbb !important;
}

::-moz-placeholder {
	color: #bbb !important;
}

:-ms-input-placeholder {
	color: #bbb !important;
}

.formerize-placeholder {
	color: #bbb !important;
}

/* Icon */

.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}

.icon:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

.icon>.label {
	display: none;
}

/* Image */

.image {
	border-radius: 4px;
	border: 0;
	display: inline-block;
	position: relative;
	border: none;
}

.image img {
	border-radius: 4px;
	display: block;
}

.image.left, .image.right {
	max-width: 40%;
}

.image.left img, .image.right img {
	width: 100%;
}

.image.left {
	float: left;
	/*margin: 0 1.5em 1em 0;*/
	top: 0.25em;
}

.image.left>div {
	float: left;
}

.image.right {
	float: right;
	/*margin: 0 0 1em 1.5em;*/
	top: 0.25em;
}

.image.right>div {
	float: right;
}

.image.fit {
	display: inline;
	margin: 0 0 2em 0;
	width: 50%;
	clear: both;
}

.image.fit img {
	width: 100%;
}

.image.main {
	display: block;
	margin: 0 0 3em 0;
	width: 100%;
}

.image.main img {
	width: 100%;
}

/* List */

ol {
	list-style: decimal;
	margin: 0 0 2em 0;
	padding-left: 1.25em;
}

ol li {
	padding-left: 0.25em;
}

ul {
	list-style: disc;
	margin: 0 0 2em 0;
	padding-left: 1em;
}

ul li {
	padding-left: 0.5em;
}

ul.alt {
	list-style: none;
	padding-left: 0;
}

ul.alt li {
	border-top: solid 1px;
	padding: 0.5em 0;
}

ul.alt li:first-child {
	border-top: 0;
	padding-top: 0;
}

ul.icons {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.icons li {
	display: inline-block;
	padding: 0 1em 0 0;
}

ul.icons li:last-child {
	padding-right: 0;
}

ul.icons li .icon:before {
	font-size: 2em;
}

ul.actions {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.actions li {
	display: inline-block;
	padding: 0 1em 0 0;
	vertical-align: middle;
}

ul.actions li:last-child {
	padding-right: 0;
}

ul.actions.small li {
	padding: 0 0.5em 0 0;
}

ul.actions.vertical li {
	display: block;
	padding: 1em 0 0 0;
}

ul.actions.vertical li:first-child {
	padding-top: 0;
}

ul.actions.vertical li>* {
	margin-bottom: 0;
}

ul.actions.vertical.small li {
	padding: 0.5em 0 0 0;
}

ul.actions.vertical.small li:first-child {
	padding-top: 0;
}

ul.actions.fit {
	display: table;
	margin-left: -1em;
	padding: 0;
	table-layout: fixed;
	width: calc(100% + 1em);
}

ul.actions.fit li {
	display: table-cell;
	padding: 0 0 0 1em;
}

ul.actions.fit li>* {
	margin-bottom: 0;
}

ul.actions.fit.small {
	margin-left: -0.5em;
	width: calc(100% + 0.5em);
}

ul.actions.fit.small li {
	padding: 0 0 0 0.5em;
}

@media screen and (max-width: 480px) {
	ul.actions {
		margin: 0 0 2em 0;
	}
	ul.actions li {
		padding: 1em 0 0 0;
		display: block;
		text-align: center;
		width: 100%;
	}
	ul.actions li:first-child {
		padding-top: 0;
	}
	ul.actions li>* {
		width: 100%;
		margin: 0 !important;
	}
	ul.actions li>*.icon:before {
		margin-left: -2em;
	}
	ul.actions.small li {
		padding: 0.5em 0 0 0;
	}
	ul.actions.small li:first-child {
		padding-top: 0;
	}
}

dl {
	margin: 0 0 2em 0;
}

dl dt {
	display: block;
	font-weight: 300;
	margin: 0 0 1em 0;
}

dl dd {
	margin-left: 2em;
}

ul.alt li {
	border-top-color: rgba(144, 144, 144, 0.25);
}

/* Columns */

.columns {
	position: relative;
	-moz-column-count: 4;
	-webkit-column-count: 4;
	column-count: 4;
	-moz-column-gap: 1em;
	-webkit-column-gap: 1em;
	column-gap: 1em;
	clear: both;
}

.columns .image {
	position: relative;
	display: inline-block;
	margin: 0 0 .5em;
	width: 100%;
	overflow: hidden;
}

.columns .image img {
	-moz-transition: -moz-transform 0.2s ease-in-out;
	-webkit-transition: -webkit-transform 0.2s ease-in-out;
	-ms-transition: -ms-transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3D(0, 0, 0);
}

.columns .image:hover img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

@media screen and (max-width: 736px) {
	.columns {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
}

@media screen and (max-width: 480px) {
	.columns {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
}

/*panioletasSearch*/

.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
  }
  .overlay:target {
	visibility: visible;
	opacity: 1;
  }
  
  .popup {
	margin: 70px auto;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	width: 30%;
	position: relative;
	transition: all 5s ease-in-out;
  }
  
  .popup h2 {
	margin-top: 0;
	color: #333;
	font-family: Tahoma, Arial, sans-serif;
  }
  .popup .close {
	position: absolute;
	top: 20px;
	right: 30px;
	transition: all 200ms;
	font-size: 30px;
	font-weight: bold;
	text-decoration: none;
	color: #333;
  }
  .popup .close:hover {
	color: #06D85F;
  }
  .popup .content {
	max-height: 30%;
	overflow: auto;
  }
  
  @media screen and (max-width: 700px){
	.box{
	  width: 70%;
	}
	.popup{
	  width: 70%;
	}
  }

.emergentContent{
	display: flex;
}

#buscador{
	flex: 50%;
}

#contenidoBuscado{
	flex: 50%;
}



/* Preview */

#preview {
	position: relative;
	padding: 1em;
}

#preview .inner {
	max-width: 70em;
	margin: 0 auto;
}

#preview .image {
	margin: 0;
}

/* Layout no-vertical (imagen arriba): mostrarla como banner con altura controlada
   para evitar que ocupe casi toda la pantalla. */
#preview:not(.vertical) .inner > .image.fit {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto 1.5em auto;
	overflow: hidden;
	border-radius: 4px;
}

#preview:not(.vertical) .inner > .image.fit img {
	width: 100%;
	height: 280px;
	max-height: 32vh;
	object-fit: cover;
	object-position: center;
	display: block;
}

@media screen and (max-width: 736px) {
	#preview:not(.vertical) .inner > .image.fit img {
		height: 180px;
	}
}

#preview.vertical .inner {
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
}

#preview.vertical .inner .image {
	-ms-flex: 1 1 calc(100% - 50px);
	flex: 1 1 calc(100% - 50px);
	max-width: 100%;
	width: 50%;
}

#preview.vertical .inner .content {
	-ms-flex: 1 1 calc(100% - 50px);
	flex: 1 1 calc(100% - 50px);
	max-width: 100%;
	width: 50%;
}

#preview .nav {
	-moz-transition: background-color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	position: fixed;
	height: 2em;
	width: 2em;
	background: #fff;
	border-radius: 100%;
	line-height: 2em;
	top: 50%;
	font-size: 1.75em;
	text-align: center;
	z-index: 10003;
}

#preview .nav:hover {
	background: #FFF;
}

#preview .nav.previous {
	left: -.4em;
}

#preview .nav.next {
	right: -.4em;
}

#preview .content {
	padding: 3em 2em;
}

#preview .content header h2 {
	font-size: 2.5em;
	color: #e74c3c;
}

@media screen and (max-width: 1680px) {
	#preview .inner {
		max-width: 64em;
	}
}

@media screen and (max-width: 980px) {
	#preview.vertical .inner {
		-moz-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 736px) {
	#preview .content {
		padding: 2em;
	}
	#preview .content header h2 {
		font-size: 2em;
	}
}

/* Section/Article */

section.special, article.special {
	text-align: center;
}

header p {
	position: relative;
	margin: 0 0 1.5em 0;
}

header h2+p {
	font-size: 1.25em;
	margin-top: -1em;
}

header h3+p {
	font-size: 1.1em;
	margin-top: -0.8em;
}

header h4+p, header h5+p, header h6+p {
	font-size: 0.9em;
	margin-top: -0.6em;
}

header p {
	color: #bbb;
}

/* Table */

.table-wrapper {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

table {
	margin: 0 0 2em 0;
	width: 100%;
}

table tbody tr {
	border: solid 1px;
	border-left: 0;
	border-right: 0;
}

table td {
	padding: 0.75em 0.75em;
}

table th {
	font-size: 0.9em;
	font-weight: 300;
	padding: 0 0.75em 0.75em 0.75em;
	text-align: left;
}

table thead {
	border-bottom: solid 2px;
}

table tfoot {
	border-top: solid 2px;
}

table.alt {
	border-collapse: separate;
}

table.alt tbody tr td {
	border: solid 1px;
	border-left-width: 0;
	border-top-width: 0;
}

table.alt tbody tr td:first-child {
	border-left-width: 1px;
}

table.alt tbody tr:first-child td {
	border-top-width: 1px;
}

table.alt thead {
	border-bottom: 0;
}

table.alt tfoot {
	border-top: 0;
}

table tbody tr {
	border-color: rgba(144, 144, 144, 0.25);
}

table tbody tr:nth-child(2n+1) {
	background-color: rgba(144, 144, 144, 0.075);
}

table th {
	color: #555;
}

table thead {
	border-bottom-color: rgba(144, 144, 144, 0.25);
}

table tfoot {
	border-top-color: rgba(144, 144, 144, 0.25);
}

table.alt tbody tr td {
	border-color: rgba(144, 144, 144, 0.25);
}

/*panioletaSearcher*/

#panioletaSearcher {
	transition: background 0.25s ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(15, 25, 35, 0.72);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 10001;
	padding: 24px;
	box-sizing: border-box;
	font-family: 'Work Sans', sans-serif;
}

/* --- Tarjeta del grupo --- */
#panioletaSearcher .grupo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	background: #FBF5E5;
	border-radius: 14px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	cursor: default;
	color: #2A2A2A;
}

/* Header oscuro con filtros - separado visualmente del grupo */
#panioletaSearcher .grupo-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: linear-gradient(135deg, #0F3B66 0%, #15497d 100%);
	color: #fff;
	flex-wrap: wrap;
}

#panioletaSearcher .grupo-card-top-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: rgba(255, 255, 255, 0.85);
}

#panioletaSearcher .grupo-card-top-title i {
	color: #EEA226;
}

#panioletaSearcher .grupo-card-filters {
	display: flex;
	gap: 8px;
	flex: 1 1 100%;
	justify-content: flex-end;
	flex-wrap: wrap;
	max-width: 80%;
}

#panioletaSearcher .grupo-card-filters select {
	min-width: 150px;
	max-width: 100%;
	padding: 9px 36px 9px 14px;
	font-size: 0.95em;
	font-family: inherit;
	font-weight: 500;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.12);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 18px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	cursor: pointer;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	line-height: 1.2;
	transition: background-color 0.15s, border-color 0.15s;
}

#panioletaSearcher .grupo-card-filters select:hover,
#panioletaSearcher .grupo-card-filters select:focus {
	background-color: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

#panioletaSearcher .grupo-card-filters select option {
	color: #2A2A2A;
	background: #fff;
}

#panioletaSearcher .grupo-card-close {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1em;
	flex-shrink: 0;
	transition: background 0.15s;
	padding: 0;
	position: absolute !important;
    top: 1% !important;
    right: 2% !important;
}

#panioletaSearcher .grupo-card-close:hover {
	background: rgba(255, 255, 255, 0.25);
}

#panioletaSearcher .grupo-card-close i {
	line-height: 1;
}

/* Hero - identidad del grupo */
#panioletaSearcher .grupo-card-hero {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 24px 18px;
	background: #FBF5E5;
	border-bottom: 3px solid #EEA226;
}

#panioletaSearcher .grupo-card-escudo {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
}

#panioletaSearcher .grupo-card-escudo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}

#panioletaSearcher .grupo-card-escudo.empty {
	background: rgba(238, 162, 38, 0.12);
	border: 2px dashed rgba(238, 162, 38, 0.5);
	border-radius: 8px;
}

#panioletaSearcher .grupo-card-escudo.empty::after {
	content: "Sin escudo";
	color: #9c8c5a;
	font-size: 0.7em;
	font-style: italic;
	text-align: center;
	padding: 0 4px;
}

#panioletaSearcher .grupo-card-titulos {
	flex: 1 1 auto;
	min-width: 0;
}

#panioletaSearcher .grupo-card-estado {
	display: inline-block;
	background: #53C137;
	color: #fff;
	font-size: 0.72em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 6px;
}

#panioletaSearcher .grupo-card h2#grupoCardTitulo {
	margin: 0;
	font-size: 1.65em;
	color: #0F3B66;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.3px;
}

#panioletaSearcher .grupo-card-lema {
	margin: 4px 0 0;
	color: #8a7a4f;
	font-style: italic;
	font-size: 1.2em;
	font-weight: 600;
}

/* Cuerpo - info */
#panioletaSearcher .grupo-card-body {
	padding: 6px 8px 8px;
	overflow-y: auto;
	flex: 1 1 auto;
	background: #FBF5E5;
}

#panioletaSearcher .grupo-card-empty {
	margin: 18px 16px;
	padding: 18px;
	background: #fff4d6;
	border-left: 4px solid #EEA226;
	color: #6b5a2b;
	border-radius: 8px;
	font-style: italic;
	font-size: 0.95em;
	line-height: 1.45;
}

#panioletaSearcher .grupo-info-list {
	list-style: none;
	margin: 0;
	padding: 6px 16px 12px;
}

#panioletaSearcher .grupo-info-row {
	display: grid;
	grid-template-columns: 32px 1fr;
	grid-template-rows: auto auto;
	grid-template-areas:
		"icon label"
		"icon value";
	align-items: center;
	gap: 2px 14px;
	padding: 12px 4px;
	border-bottom: 1px dashed rgba(15, 59, 102, 0.12);
}

#panioletaSearcher .grupo-info-row:last-child {
	border-bottom: none;
}

#panioletaSearcher .grupo-info-icon {
	grid-area: icon;
	grid-row: span 2;
	align-self: center;
	justify-self: center;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35em;
	color: #0F3B66;
}

/* Colores temáticos por icono / red social */
#panioletaSearcher .grupo-info-icon .fa-facebook-official { color: #1877F2; }
#panioletaSearcher .grupo-info-icon .fa-instagram         { color: #E1306C; }
#panioletaSearcher .grupo-info-icon .fa-tiktok            { color: #000000; } /* TikTok */
#panioletaSearcher .grupo-info-icon .icon-tiktok {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: #000000;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/></svg>") no-repeat center / contain;
}
#panioletaSearcher .grupo-info-icon .fa-youtube-play      { color: #FF0000; }
#panioletaSearcher .grupo-info-icon .fa-envelope          { color: #d44638; }
#panioletaSearcher .grupo-info-icon .fa-map-marker        { color: #EA4335; }
#panioletaSearcher .grupo-info-icon .fa-clock-o           { color: #53C137; }
#panioletaSearcher .grupo-info-icon .fa-phone             { color: #25D366; }
#panioletaSearcher .grupo-info-icon .fa-user              { color: #0F3B66; }
#panioletaSearcher .grupo-info-icon .fa-globe             { color: #0F3B66; }

#panioletaSearcher .grupo-info-label {
	grid-area: label;
	color: #6b6357;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.78em;
	letter-spacing: 0.7px;
	line-height: 1;
}

#panioletaSearcher .grupo-info-value {
	grid-area: value;
	color: #2A2A2A;
	font-size: 1.15em;
	font-weight: 500;
	line-height: 1.35;
	word-break: break-word;
}

#panioletaSearcher .grupo-info-value a {
	color: #0F3B66;
	text-decoration: none;
	border-bottom: 1px solid rgba(15, 59, 102, 0.3);
	transition: color 0.15s, border-color 0.15s;
}

#panioletaSearcher .grupo-info-value a:hover {
	color: #EEA226;
	border-bottom-color: #EEA226;
}

#panioletaSearcher .grupo-info-value a i {
	font-size: 0.85em;
	margin-left: 4px;
}

/* Footer eliminado: el modal se cierra con la X o con click fuera. */

#panioletaSearcher .button.hidden {
	display: none;
}

#panioletaSearcher.hide, #panioletaSearcher.preview {
	transition: background 0.2s ease-in-out;
	background: none;
	height: 0;
	padding: 0;
	overflow: hidden;
}

#panioletaSearcher.hide .grupo-card,
#panioletaSearcher.preview .grupo-card {
	display: none;
}

/* Responsive */
@media screen and (max-width: 600px) {
	#panioletaSearcher {
		padding: 12px;
	}
	#panioletaSearcher .grupo-card {
		max-width: 100%;
		max-height: 95vh;
		border-radius: 12px;
	}
	#panioletaSearcher .grupo-card-top {
		padding: 12px 14px;
	}
	#panioletaSearcher .grupo-card-top-title {
		flex: 1 1 auto;
		order: 0;
		font-size: 0.8em;
	}
	#panioletaSearcher .grupo-card-close {
		order: 1;
		margin-left: auto;
	}
	#panioletaSearcher .grupo-card-filters {
		order: 2;
		flex: 1 1 100%;
		justify-content: stretch;
	}
	#panioletaSearcher .grupo-card-filters select {
		flex: 1 1 0;
		min-width: 0;
		font-size: 0.9em;
	}
	#panioletaSearcher .grupo-card-hero {
		gap: 14px;
		padding: 18px 18px 14px;
	}
	#panioletaSearcher .grupo-card-escudo {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}
	#panioletaSearcher .grupo-card h2#grupoCardTitulo {
		font-size: 1.3em;
	}
	#panioletaSearcher .grupo-card-lema {
		font-size: 0.9em;
	}
	#panioletaSearcher .grupo-info-list {
		padding: 6px 12px 12px;
	}
	#panioletaSearcher .grupo-info-value {
		font-size: 1.05em;
	}
}

@media screen and (max-width: 380px) {
	#panioletaSearcher .grupo-card-top-title span {
		display: none;
	}
}

/* Header */

#header {
	-moz-transition: background 1s ease-in-out, height 0.2s ease-in-out;
	-webkit-transition: background 1s ease-in-out, height 0.2s ease-in-out;
	-ms-transition: background 1s ease-in-out, height 0.2s ease-in-out;
	transition: background 1s ease-in-out, height 0.2s ease-in-out;
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	display: -ms-flexbox;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	background: rgba(254, 254, 254, 0.85);
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: 10001;
}

#header .inner {
	-moz-transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
	-webkit-transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
	-ms-transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
	transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	display: -ms-flexbox;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	background: #2E2270;
	border-radius: 100%;
	width: 35em;
	height: 35em;
	padding: 4em;
	text-align: center;
	box-shadow: 0 0 0 1em #FFF;
	cursor: default;
}

#header .inner .content {
	-moz-transition: opacity 1s ease-in-out;
	-webkit-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
	opacity: 1;
}

#header .inner .content h1 {
	font-size: 4em;
	font-family: 'Pattaya', sans-serif;
	margin: 0 0 .25em 0;
	color: #fff;
}

#header .inner .content h2 {
	font-size: 1.5em;
	color: #fff;
	margin: 0 0 1em 0;
}

#header .inner .button {
	-moz-transition: background 1s ease-in-out;
	-webkit-transition: background 1s ease-in-out;
	-ms-transition: background 1s ease-in-out;
	transition: background 1s ease-in-out;
	margin: 0;
	border-radius: 30px;
}

#header .inner .button.hidden {
	display: none;
	cursor: pointer;
}

#header .inner.hidden {
	display: none;
}

#header.hide, #header.preview {
	-moz-transition: background 0.2s ease-in-out, height 1s ease-in-out;
	-webkit-transition: background 0.2s ease-in-out, height 1s ease-in-out;
	-ms-transition: background 0.2s ease-in-out, height 1s ease-in-out;
	transition: background 0.2s ease-in-out, height 1s ease-in-out;
	background: none;
	height: 0;
}

#header.hide .inner, #header.preview .inner {
	height: 6em;
	width: 6em;
	padding: 2em;
}

#header.hide .inner .content, #header.preview .inner .content {
	opacity: 0;
}

#header.hide .inner .content h1, #header.preview .inner .content h1 {
	display: none;
}

#header.hide .inner .content h2, #header.preview .inner .content h2 {
	display: none;
}

#header.hide .button.big, #header.preview .button.big {
	display: none;
}

#header.hide .button.hidden, #header.preview .button.hidden {
	text-decoration: none;
	padding-top: 1.5em;
	padding-left: 0;
	padding-right: 0;
	background: none;
	display: inline-block;
}

#header.hide .button.hidden:before, #header.preview .button.hidden:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

#header.hide .button.hidden:before, #header.preview .button.hidden:before {
	/* content: '\f015'; */
	content: url(../../images/fl.png);
	color: #FFF;
	font-size: 1.5em;
}

#header.hide .button.hidden span, #header.preview .button.hidden span {
	display: none;
}

@media screen and (max-width: 736px) {
	#header .inner {
		width: 25em;
		height: 25em;
		font-size: .75em;
		padding: 3em;
	}
}

@media screen and (max-width: 480px) {
	#header .inner {
		width: 26em;
		height: 26em;
		padding: 2em;
		font-size: .65em;
	}
	#header .inner .button {
		padding-left: 2em;
		padding-right: 2em;
	}
}

/* Main */

#main {
	padding: 2em;
}

#main .inner {
	max-width: 100%;
}

#footer {
	-moz-transition: bottom 0.2s ease;
	-webkit-transition: bottom 0.2s ease;
	-ms-transition: bottom 0.2s ease;
	transition: bottom 0.2s ease;
	position: fixed;
	bottom: -20em;
	color: #FFF;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 9999;
}

#footer.show {
	bottom: 0;
}

#footer .info {
	position: relative;
	display: inline-block;
	text-decoration: none;
	border-radius: 50% 50% 0 0;
	background: #e74c3c;
	width: 3em;
	height: 3em;
	margin-bottom: -1.75em;
	color: #FFF;
	font-size: 1.25em;
	padding-top: .35em;
}

#footer .info span {
	display: none;
}

#footer .inner {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-moz-align-items: stretch;
	-webkit-align-items: stretch;
	-ms-align-items: stretch;
	align-items: stretch;
	display: -ms-flexbox;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	position: relative;
	z-index: 10003;
	background: #e74c3c;
	padding: 2em;
	height: 20em;
}

#footer .inner .content, #footer .inner .copyright {
	width: 50%;
	text-align: left;
	color: rgba(255, 255, 255, 0.75);
	padding: 2em;
	display: inline-block;
}

#footer .inner .content h3, #footer .inner .copyright h3 {
	color: #FFF;
	font-size: 1.75em;
}

#footer .inner .content a, #footer .inner .copyright a {
	color: #FFF;
}

#footer .inner .content a:hover, #footer .inner .copyright a:hover {
	color: rgba(255, 255, 255, 0.75);
}

#footer .inner .content p, #footer .inner .copyright p {
	margin: 0;
}

#footer .inner .copyright ul {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-bottom: 1em;
}

@media screen and (max-width: 980px) {
	#footer {
		position: relative;
		bottom: 0;
	}
	#footer .inner {
		height: auto;
		display: block;
	}
	#footer .inner .content, #footer .inner .copyright {
		display: block;
		width: 100%;
		text-align: center;
	}
	#footer .info {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	#footer .inner {
		padding: 2em;
	}
	#footer .inner .content, #footer .inner .copyright {
		padding: 1em;
	}
}

/* ============================================================
   METRO TILES (Windows 8 inspired) — mosaico de la home
   ============================================================ */

.metro-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	grid-auto-flow: dense;
	gap: 10px;
	padding: 10px;
	width: auto;
	margin: 0 -2em;
	box-sizing: border-box;
}

@media (min-width: 1600px) {
	.metro-grid {
		grid-template-columns: repeat(6, 1fr);
		grid-auto-rows: 200px;
	}
}

.metro-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	transition: transform 120ms ease-out, box-shadow 120ms ease-out, filter 200ms ease-out;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	-webkit-user-select: none;
	user-select: none;
	border-radius: 14px;
}

/* Asegura que los hijos multimedia (video/iframe) respeten las esquinas */
.metro-tile.metro-media > video,
.metro-tile.metro-media > iframe,
.metro-tile > img {
	border-radius: inherit;
}

.metro-tile:hover {
	filter: brightness(1.08);
	box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.metro-tile:active {
	transform: scale(0.97);
}

.metro-tile.metro-wide {
	grid-column: span 2;
}

.metro-tile.metro-tall {
	grid-row: span 2;
}

.metro-tile.metro-large {
	grid-column: span 2;
	grid-row: span 2;
}

/* Tile que contiene un iframe o un video — sin padding, contenido full-bleed */
.metro-tile.metro-media {
	padding: 0;
	background: #000;
	cursor: default;
}

.metro-tile.metro-media > video,
.metro-tile.metro-media > iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.metro-tile.metro-media:hover {
	filter: none;
}

.metro-tile.metro-media:active {
	transform: none;
}

/* Label flotante para tiles de medios — link al recurso externo */
.metro-label-link {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	padding: 8px 14px;
	background: rgba(0,0,0,0.65);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.85em;
	font-weight: 500;
	border-top-right-radius: 4px;
	transition: background 150ms ease-out;
	pointer-events: auto;
}

.metro-label-link:hover {
	background: rgba(0,0,0,0.85);
}

.metro-label-link i {
	margin-right: 6px;
}

.metro-tile .metro-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
	z-index: 0;
}

.metro-tile .metro-icon,
.metro-tile .metro-text {
	position: relative;
	z-index: 1;
}

.metro-tile .metro-icon {
	font-size: 2.4em;
	line-height: 1;
	opacity: 0.95;
}

.metro-tile .metro-text h3 {
	margin: 0 0 4px 0;
	font-size: 1.05em;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: #fff;
}

.metro-tile .metro-text p {
	margin: 0;
	font-size: 0.78em;
	font-weight: 300;
	opacity: 0.85;
	line-height: 1.3;
}

.metro-tile.metro-wide .metro-icon { font-size: 3em; }
.metro-tile.metro-wide .metro-text h3 { font-size: 1.25em; }
.metro-tile.metro-large .metro-icon { font-size: 3.6em; }
.metro-tile.metro-large .metro-text h3 { font-size: 1.5em; }
.metro-tile.metro-large .metro-text p { font-size: 0.9em; }
.metro-tile.metro-tall .metro-text h3 { font-size: 1.15em; }

/* Paleta Metro (Windows 8 inspired) */
.metro-cobalt   { background-color: #0050EF; }
.metro-cyan     { background-color: #1BA1E2; }
.metro-teal     { background-color: #00ABA9; }
.metro-emerald  { background-color: #008A00; }
.metro-green    { background-color: #2DA445; }
.metro-amber    { background-color: #F0A30A; color: #1a1a1a !important; }
.metro-amber .metro-text h3, .metro-amber .metro-text p { color: #1a1a1a; }
.metro-orange   { background-color: #FA6800; }
.metro-red      { background-color: #E51400; }
.metro-crimson  { background-color: #A20025; }
.metro-pink     { background-color: #F472D0; color: #1a1a1a !important; }
.metro-pink .metro-text h3, .metro-pink .metro-text p { color: #1a1a1a; }
.metro-magenta  { background-color: #D80073; }
.metro-violet   { background-color: #AA00FF; }
.metro-indigo   { background-color: #1F2E5C; }
.metro-mauve    { background-color: #76608A; }
.metro-steel    { background-color: #647687; }
.metro-dark     { background-color: #1F1F1F; }

/* Cuando la tile tiene imagen de fondo, asegurar contraste */
.metro-tile[style*="background-image"] .metro-text h3,
.metro-tile[style*="background-image"] .metro-text p {
	text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Responsivo: en pantallas medianas pasamos a 3 columnas, luego 2, luego 1 */
@media (max-width: 1280px) {
	.metro-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 800px) {
	.metro-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 150px;
		padding: 12px;
		gap: 8px;
	}
	.metro-tile.metro-wide { grid-column: span 2; }
	.metro-tile.metro-large { grid-column: span 2; grid-row: span 2; }
	.metro-tile.metro-tall { grid-row: span 2; }
	.metro-tile .metro-icon { font-size: 2em; }
	.metro-tile .metro-text h3 { font-size: 0.95em; }
}

@media (max-width: 480px) {
	.metro-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 130px;
	}
	.metro-tile { padding: 12px; }
}

/* Reset: como .metro-grid reemplaza al viejo .columns, neutralizamos los
   estilos heredados de .columns sobre los hijos directos metro */
.columns.metro-grid > .metro-tile { width: auto; padding-left: 18px; padding-right: 18px; }

/* Tile de la Bandera de la asociación: contener la imagen entera (no recortar) */
.metro-tile.bandera-tile {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	justify-content: flex-end;
}
.metro-tile.bandera-tile .metro-text h3,
.metro-tile.bandera-tile .metro-text p {
	text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* === Cuadro de Honor tile: texto centrado === */
.metro-tile.cuadro-honor-tile {
	justify-content: center;
	align-items: center;
	text-align: center;
}
.metro-tile.cuadro-honor-tile .metro-text {
	width: 100%;
	position: absolute;
    top: 26px;
    left: -4px;
}

/* === Álbum Fotográfico tile: scrim para legibilidad sobre imagen clara === */
.metro-tile.album-tile {
	justify-content: flex-end;
}
.metro-tile.album-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0) 62%);
	border-radius: inherit;
	z-index: 0;
}
.metro-tile.album-tile .metro-text h3,
.metro-tile.album-tile .metro-text p {
	text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}

/* === Tile de Programa Scout: texto anclado arriba a la derecha === */
.metro-tile.programa-tile .metro-text {
	position: absolute;
	top: 18px;
	right: 18px;
	left: auto;
	max-width: 75%;
	text-align: right;
}
.metro-tile.programa-tile .metro-text h3,
.metro-tile.programa-tile .metro-text p {
	text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}

/* === Tile de Cumpleaños con animación embebida (reemplaza birthday.swf) === */
.metro-tile.birthday-tile {
	padding: 0;
	background: #0a1838;
	cursor: default;
	overflow: hidden;
}
.metro-tile.birthday-tile:hover { filter: none; }
.metro-tile.birthday-tile:active { transform: none; }

.birthday-tile .bd-stage {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 110%, rgba(58,166,255,0.18), transparent 60%),
		linear-gradient(180deg, #0a1838 0%, #061026 100%);
}

.birthday-tile .bd-balloons {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}
.birthday-tile .bd-balloons-back  { z-index: 1; }
.birthday-tile .bd-balloons-front { z-index: 3; }

.birthday-tile .bd-balloon {
	position: absolute;
	bottom: -60px;
	will-change: transform;
	animation: bd-rise var(--bd-dur, 7s) linear forwards;
	filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

@keyframes bd-rise {
	0%   { transform: translate3d(0, 0, 0); opacity: 0; }
	8%   { opacity: 1; }
	50%  { transform: translate3d(calc(var(--bd-sway, 20px) * 1), calc(var(--bd-rise, -300px) * 0.5), 0); }
	100% { transform: translate3d(calc(var(--bd-sway, 20px) * -0.5), var(--bd-rise, -300px), 0); opacity: 1; }
}

.birthday-tile .bd-text-wrap {
	position: absolute;
	left: 0; right: 0;
	top: 50%;
	transform: translateY(-50%);
	padding: 4px 16px 22px 8px;
	text-align: left;
	pointer-events: none;
	max-height: calc(100% - 12px);
	z-index: 2;
}

.birthday-tile .bd-text {
	color: #fff;
	font-family: 'Comic Neue', 'Comic Sans MS', 'Marker Felt', 'Bradley Hand', cursive;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	min-height: 1.2em;
	text-shadow: 0 2px 3px rgba(0,0,0,0.7);
	transition: opacity 0.5s ease;
	white-space: nowrap;
	overflow: visible;
}

.birthday-tile .bd-text.bd-fade-out { opacity: 0; }

.birthday-tile .bd-char {
	display: inline-block;
	opacity: 0.15;
	transform: translateY(-180%) scale(5);
	transform-origin: 50% 50%;
	transition:
		opacity 0.8s ease-out,
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
	color: #fff;
	will-change: transform, opacity;
}
.birthday-tile .bd-char.bd-in {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.birthday-tile .bd-char.bd-space {
	transition: none;
	transform: none;
	opacity: 1;
}

.birthday-tile .bd-label {
	position: absolute;
	bottom: 8px;
	left: 12px;
	color: rgba(255,255,255,0.85);
	font-size: 1em;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 2px rgba(0,0,0,0.6);
	pointer-events: none;
}
.birthday-tile .bd-label i { margin-right: 0.35em; color: #ff9eb5; }

@media (prefers-reduced-motion: reduce) {
	.birthday-tile .bd-balloon { animation-duration: 0.001s; opacity: 0; }
	.birthday-tile .bd-text { transition: none; }
	.birthday-tile .bd-char { transition: none; transform: none; opacity: 1; }
}

/* === Botón fijo de Inicio en páginas de detalle === */
.home-btn {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 10005;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55em 1.1em;
    background: #2E2270;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.04em;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.home-btn i { font-size: 1.05em; }
.home-btn:hover { background: #3a2c8c; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.home-btn:active { transform: translateY(0); }
@media screen and (max-width: 736px) {
    .home-btn { top: 10px; left: 10px; padding: 0.45em 0.9em; font-size: 0.85em; }
    .home-btn span { display: none; }
}

/* cuadroDeAdelanto =========================================================
   Cuadro de honor de insignias máximas.
   Render: assets/js/cuadro-de-adelanto.js
   Fragmento HTML: includes/cuadro-de-adelanto.html
   Paleta alineada con .section-page (texto #2b2b2b, acento #e74c3c).
   =========================================================================== */

.ca-root {
	margin-top: 1.5em;
	color: #2b2b2b;
}
.ca-intro { margin-bottom: 1em; color: #4a4a4a; }

.ca-filters {
	position: sticky;
	top: 0;
	z-index: 5;
	background: #fff8e1;
	border: 1px solid #f0d999;
	border-radius: 10px;
	padding: 0.85em 1em;
	margin: 0 auto 1.6em auto;
	max-width: 44em;
	display: flex;
	flex-direction: column;
	gap: 0.65em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ca-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
}
.ca-filter-label {
	font-size: 0.78em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d3b;
	font-weight: 700;
	min-width: 5em;
}

/* Select de año --------------------------------------------------------- */
.ca-year-select {
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	color: #1a1a1a;
	background: #fff;
	border: 1px solid #e74c3c;
	border-radius: 6px;
	padding: 0.35em 1.8em 0.35em 0.7em;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e74c3c' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.6em center;
	width: auto;
}
.ca-year-select:focus { outline: 2px solid rgba(231,76,60,0.35); outline-offset: 1px; }

/* Chips de insignia ----------------------------------------------------- */
.ca-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
	flex: 1 1 auto;
}
.ca-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 70px;
	padding: 0 0 8px;
	box-sizing: border-box;
	border: 0;
	background: transparent;
	color: #2b2b2b;
	font: inherit;
	cursor: pointer;
	line-height: 1;
	transition: transform 0.1s ease, filter 0.15s ease;
	flex: 0 0 68px;
}
.ca-chip:hover { transform: scale(1.06); }
.ca-chip:active { transform: scale(0.96); }
/* Indicador de selección: subrayado rojo que crece bajo la opción activa. */
.ca-chip::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 78%;
	height: 3px;
	border-radius: 2px;
	background: #e74c3c;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.22s ease;
}
.ca-chip.is-active::after {
	transform: translateX(-50%) scaleX(1);
}
.ca-chip img {
	width: 58px;
	height: 58px;
	object-fit: contain;
	display: block;
}

/* Tooltip CSS — muestra el nombre de la insignia al hacer hover/focus. */
.ca-chip-tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: #2b2b2b;
	color: #fff;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.3em 0.6em;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 10;
}
.ca-chip-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #2b2b2b;
}
.ca-chip:hover .ca-chip-tooltip,
.ca-chip:focus-visible .ca-chip-tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Buscador y limpiar ---------------------------------------------------- */
.ca-search-input {
	flex: 1 1 18em;
	padding: 0.45em 0.85em;
	background: #fff;
	border: 1px solid #e0d0a3;
	border-radius: 999px;
	color: #2b2b2b;
	font: inherit;
	font-size: 0.9em;
}
.ca-search-input:focus {
	outline: none;
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}
.ca-search-input::placeholder { color: #9a9a9a; }

.ca-clear {
	margin-left: auto;
	padding: 0.4em 0.95em;
	border-radius: 999px;
	border: 1px solid #e0d0a3;
	background: #fff;
	color: #8a6d3b;
	font: inherit;
	font-size: 0.85em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.ca-clear:hover { background: #fff3c8; border-color: #d4b878; }

/* Bloque del año -------------------------------------------------------- */
.ca-timeline { display: block; }

.ca-year-block { margin-top: 0.5em; }
.ca-year-header {
	display: flex;
	align-items: baseline;
	gap: 0.8em;
	margin: 0 0 1.2em 0;
	padding-bottom: 0.5em;
	border-bottom: 2px solid #e74c3c;
}
.ca-year-header h3 {
	margin: 0;
	font-size: 2em;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.02em;
	border: none;
	padding: 0;
}
.ca-year-count {
	font-size: 0.9em;
	color: #6b6b6b;
	font-variant-numeric: tabular-nums;
}

.ca-insignia-group {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 1.4em;
	align-items: start;
	margin-bottom: 2em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #f0e3c1;
}
.ca-insignia-group:last-child { border-bottom: none; padding-bottom: 0; }

.ca-insignia-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5em;
	margin: 0;
	font-size: 1em;
	font-weight: 700;
	color: #1a1a1a;
	position: sticky;
	top: 8em;
}
.ca-insignia-title img {
	width: 100%;
	max-width: 170px;
	height: auto;
	object-fit: contain;
	display: block;
}
.ca-insignia-title span:not(.ca-insignia-count) {
	display: block;
	font-size: 1.05em;
	line-height: 1.2;
}
.ca-insignia-count {
	font-size: 0.78em;
	color: #6b6b6b;
	background: #fff8e1;
	border: 1px solid #f0d999;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Tarjetas de galardonado ---------------------------------------------- */
.ca-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.7em;
}
.ca-card {
	display: flex;
	gap: 0.8em;
	padding: 0.7em 0.9em;
	background: #fff;
	border: 1px solid #ead9b3;
	border-left: 3px solid #e74c3c;
	border-radius: 6px;
	align-items: center;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.ca-card:hover {
	background: #fffaf0;
	border-color: #d4b878;
	border-left-color: #c0392b;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.ca-card-img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	flex: 0 0 46px;
}
.ca-card-img-empty {
	background: #f5ebd0;
	border-radius: 4px;
}
.ca-card-body { min-width: 0; flex: 1 1 auto; }
.ca-card-name {
	font-weight: 700;
	line-height: 1.25;
	font-size: 0.97em;
	color: #1a1a1a;
	overflow-wrap: anywhere;
}
.ca-card-meta {
	font-size: 0.8em;
	color: #6b6b6b;
	margin-top: 0.2em;
	font-variant-numeric: tabular-nums;
}

.ca-empty {
	padding: 2em 1.5em;
	text-align: center;
	color: #8a6d3b;
	background: #fff8e1;
	border: 1px dashed #e0c982;
	border-radius: 8px;
}

@media screen and (max-width: 736px) {
	.ca-filter-label { min-width: 100%; }
	.ca-counter { margin-left: 0; }
	.ca-cards { grid-template-columns: 1fr; }
	.ca-year-header h3 { font-size: 1.5em; }
	.ca-year-select { flex: 1 1 auto; }
	.ca-insignia-group {
		grid-template-columns: 1fr;
		gap: 0.8em;
	}
	.ca-insignia-title {
		flex-direction: row;
		justify-content: flex-start;
		position: static;
	}
	.ca-insignia-title img {
		max-width: 64px;
	}
	.ca-chip { width: 60px; height: 62px; flex: 0 0 60px; }
	.ca-chip img { width: 50px; height: 50px; }
}


/* ============================================================================
   Álbum Fotográfico — galería de álbumes de Google Photos
   Paleta y patrón alineados con .ca-* (Cuadro de Honor).
   ============================================================================ */

.af-root {
	margin-top: 1.5em;
	color: #2b2b2b;
}
.af-intro { margin-bottom: 1em; color: #4a4a4a; }

.af-filters {
	position: sticky;
	top: 0;
	z-index: 5;
	background: #fff8e1;
	border: 1px solid #f0d999;
	border-radius: 10px;
	padding: 0.85em 1em;
	margin: 0 auto 1.6em auto;
	max-width: 44em;
	display: flex;
	flex-direction: column;
	gap: 0.65em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.af-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
}
.af-filter-label {
	font-size: 0.78em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d3b;
	font-weight: 700;
	min-width: 5em;
}
.af-year-select {
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	color: #1a1a1a;
	background: #fff;
	border: 1px solid #e74c3c;
	border-radius: 6px;
	padding: 0.35em 1.8em 0.35em 0.7em;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e74c3c' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.6em center;
	width: auto;
}
.af-year-select:focus { outline: 2px solid rgba(231,76,60,0.35); outline-offset: 1px; }

/* Chips de sección (emblema, no texto) --------------------------------- */
.af-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
	flex: 1 1 auto;
}
.af-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 70px;
	padding: 0 0 8px;
	box-sizing: border-box;
	border: 0;
	background: transparent;
	color: #4a3a1a;
	font: inherit;
	cursor: pointer;
	line-height: 1;
	transition: transform 0.1s ease, filter 0.15s ease;
	flex: 0 0 68px;
}
.af-chip:hover { transform: scale(1.06); }
.af-chip:active { transform: scale(0.96); }
/* Indicador de selección: subrayado rojo que crece bajo la opción activa. */
.af-chip::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 78%;
	height: 3px;
	border-radius: 2px;
	background: #e74c3c;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.22s ease;
}
.af-chip.is-active::after {
	transform: translateX(-50%) scaleX(1);
}
.af-chip img {
	width: 58px;
	height: 58px;
	object-fit: contain;
	border-radius: 50%;
	display: block;
	box-sizing: border-box;
}
/* 'General' no tiene emblema de sección: la flor de lis blanca se coloca
   sobre un círculo #2E2270 para que resalte como los demás emblemas. */
.af-chip[data-section="general"] img {
	background: #2E2270;
	padding: 8px;
}
.af-chip-label {
	padding: 0 0.4em;
	font-size: 0.82em;
	font-weight: 600;
	text-align: center;
	color: #2E2270;
}

/* Tooltip — muestra el nombre de la sección al hacer hover/focus. */
.af-chip-tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: #2E2270;
	color: #fff;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.3em 0.6em;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 10;
}
.af-chip-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #2E2270;
}
.af-chip:hover .af-chip-tooltip,
.af-chip:focus-visible .af-chip-tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.af-clear {
	margin-left: auto;
	padding: 0.4em 0.95em;
	border-radius: 999px;
	border: 1px solid #e0d0a3;
	background: #fff;
	color: #8a6d3b;
	font: inherit;
	font-size: 0.85em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.af-clear:hover { background: #fff3c8; border-color: #d4b878; }

/* Grid de tarjetas ----------------------------------------------------- */
.af-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.af-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #8a6d3b;
	padding: 2em 0;
	font-style: italic;
}

.af-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ead7a0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.af-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.12);
	border-color: #e74c3c;
}
.af-card-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: #f4ead0;
	display: block;
}
.af-card-img-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c0a256;
	font-size: 2.5em;
}
.af-card-body {
	padding: 0.7em 0.85em 0.85em;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}
.af-card-date {
	font-size: 0.72em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d3b;
	font-weight: 700;
}
.af-card-title {
	font-size: 0.98em;
	font-weight: 600;
	color: #2b2b2b;
	line-height: 1.25;
}
.af-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em;
	margin-top: 0.25em;
}
.af-card-tag {
	display: inline-block;
	font-size: 0.72em;
	padding: 0.1em 0.5em;
	background: #fff3c8;
	color: #6f5520;
	border-radius: 999px;
	font-weight: 600;
}

@media (max-width: 736px) {
	.af-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
	.af-filter-label { min-width: 4em; }
	.af-chip { width: 60px; height: 62px; flex: 0 0 60px; }
	.af-chip img { width: 50px; height: 50px; }
}

/* ============================================================================
   Calendario de Actividades — "Escudos bordados" (parches cosidos + pins)
   ============================================================================ */

.cal-root { margin-top: 1.2em; color: #3a2c1c; font-size: 16px; line-height: normal; }

/* Portada */
.cal-cover {
	text-align: center; color: #e9c877; padding: 1.5em 1.2em 1.6em;
	background: linear-gradient(135deg, #3a1e12, #5a2d1a);
	border: 2px solid #7a4a2a; border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3); position: relative; overflow: hidden;
}
.cal-cover::after {
	content: ""; position: absolute; inset: 8px; border: 1px solid rgba(233,200,119,0.35);
	border-radius: 10px; pointer-events: none;
}
.cal-cover-kicker { font-size: 1.05em; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #e9c877; }
.cal-cover-year { font-size: 2.7em; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.cal-cover-intro { max-width: 44em; margin: 0.7em auto 0; color: #f0dcae; line-height: 1.5; font-size: 0.92em; }

/* Tablero */
.cal-board {
	position: relative; margin-top: 1.6em; 
	padding: 2em 1.3em;
	background: linear-gradient(135deg, #3a1e12, #5a2d1a);
	border: 2px solid #7a4a2a; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	display: flex; flex-wrap: wrap; gap: 2em 1.6em; justify-content: center; 
	align-items: center;
}
.cal-board::after {
	content: ""; position: absolute; inset: 8px; border: 1px solid rgba(233,200,119,0.35);
	border-radius: 10px; pointer-events: none;
}
.cal-empty { width: 100%; text-align: center; color: #c9ad78; font-style: italic; padding: 1.5em 0; }
.cal-row-break { flex-basis: 100%; width: 100%; height: 0; margin: 0; }

/* ===================== ESCUDO BORDADO (actividad) ===================== */
.cal-patch {
	position: relative; width: 240px; padding: 1.35em 1.25em 1.4em; border-radius: 16px; color: #fff; overflow: hidden;
	text-align: left;
	background-image:
		repeating-linear-gradient(74deg, rgba(255,255,255,0.12) 0 1px, rgba(0,0,0,0.05) 1px 3px),
		var(--grad, linear-gradient(135deg,#8E2DE2,#4A00E0));
	box-shadow: 0 13px 24px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.3), inset 0 -6px 12px rgba(0,0,0,0.22);
	transform: rotate(var(--rot, 0deg)); transition: transform 0.15s ease;
}
.cal-patch:hover { transform: rotate(0deg) scale(1.04); z-index: 4; }
/* las ya cosidas ya no se mueven: están fijas en la tela */
.cal-patch.is-past, .cal-patch.is-past:hover { transform: rotate(var(--rot, 0deg)); }
/* borde merrow: aro con puntada satinada en diagonal */
.cal-patch::before {
	content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 7px;
	background: repeating-linear-gradient(45deg, #ffffff 0 2px, #d7d7d7 2px 4px, #f4f4f4 4px 6px);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
/* cosido con PUNTO CRUZ solo en las que ya pasaron (dos diagonales cruzadas) */
.cal-patch.is-past::after {
	content: ""; position: absolute; inset: -4px; border-radius: 19px; padding: 8px;
	background:
		repeating-linear-gradient(45deg, #111 0 2.5px, transparent 2.5px 9px),
		repeating-linear-gradient(-45deg, #111 0 2.5px, transparent 2.5px 9px);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	filter: drop-shadow(0 1px 0 rgba(255,255,255,0.25)); pointer-events: none;
}
.cal-patch.is-past { overflow: visible; filter: saturate(0.78) brightness(0.92); box-shadow: 0 3px 7px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -6px 12px rgba(0,0,0,0.22); }
/* círculo del mes, flotado a la derecha — con fondo bordado y doble aro */
.cal-postmark {
	float: right; width: 62px; height: 62px; margin: 0.1em 0 0.4em 0.7em; border-radius: 50%;
	color: rgba(255,255,255,0.95);
	background:
		repeating-linear-gradient(-30deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 3px),
		rgba(0,0,0,0.16);
	border: 2px solid rgba(255,255,255,0.85);
	display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.05;
	font-size: 0.6em; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
	transform: rotate(-12deg); shape-outside: circle(52%); position: relative; z-index: 2;
}
/* ícono como marca de agua, abajo a la derecha */
.cal-bgicon { position: absolute; right: 8px; bottom: 3px; font-size: 4em; color: rgba(255,255,255,0.16); pointer-events: none; z-index: 0; }
.cal-root .cal-patch-title {
	position: relative; z-index: 1; margin: 0.1em 0 0.35em; font-size: 1.2em; font-weight: 800; color: inherit; padding-left: 0;
	line-height: 1.2; overflow-wrap: break-word; text-shadow: 0 1px 0 rgba(0,0,0,0.45), 0 0 2px rgba(0,0,0,0.35);
}
.cal-patch-desc { position: relative; z-index: 1; margin: 0; font-size: 0.88em; line-height: 1.4; color: rgba(255,255,255,0.95); overflow-wrap: break-word; text-shadow: 0 1px 1px rgba(0,0,0,0.35); }
.cal-secs { position: relative; z-index: 1; clear: both; display: flex; gap: 0.3em; margin-top: 0.55em; flex-wrap: wrap; justify-content: flex-start; padding: 0; border: 0; }
.cal-secs img { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.9); box-shadow: 0 0 0 2px rgba(255,255,255,0.4); }
.cal-secs img.cal-sec-all { background: #2E2270; padding: 3px; box-sizing: border-box; }
/* listón "Próxima" en la esquina inferior derecha */
.cal-ribbon-tag {
	position: absolute; z-index: 3; font-size: 0.56em; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
	bottom: 16px; right: -32px; transform: rotate(-45deg);
	background: #ffd200; color: #4b134f; padding: 0.3em 3.2em; box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* ===================== PIN DE ESMALTE (efeméride) ===================== */
.cal-pin-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.55em; width: 164px; }
.cal-pin {
	position: relative; width: 142px; height: 142px; border-radius: 50%;
	background: conic-gradient(from 210deg, #8a6320, #f6e4a6, #c99b3a, #fff4cf, #a97c2b, #e9c877, #b8862f, #f6e4a6, #8a6320);
	box-shadow: 0 7px 16px rgba(0,0,0,0.55), inset 0 0 6px rgba(0,0,0,0.4);
	display: flex; align-items: center; justify-content: center;
	transform: rotate(var(--rot, 0deg)); transition: transform 0.15s ease;
}
.cal-pin:hover { transform: rotate(0deg) scale(1.05); z-index: 4; }
.cal-pin-wrap.is-past .cal-pin:hover { transform: rotate(var(--rot, 0deg)); z-index: auto; }
.cal-pin-face {
	position: relative; width: 80%; height: 80%; border-radius: 50%; overflow: hidden;
	background: radial-gradient(circle at 38% 30%, #514aa8, #2E2270 55%, #201b52);
	box-shadow: inset 0 3px 9px rgba(0,0,0,0.55), inset 0 -2px 5px rgba(255,255,255,0.12), 0 0 0 2px rgba(120,90,30,0.6);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.05em;
	color: #f0d98a; text-align: center; padding: 0.3em;
}
.cal-pin-face::after {
	content: ""; position: absolute; top: 7%; left: 12%; width: 55%; height: 32%; border-radius: 50%;
	background: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0)); transform: rotate(-18deg); pointer-events: none;
}
.cal-pin-face i { font-size: 1.5em; color: #f6e0a0; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.cal-root .cal-pin-title { font-size: 0.82em; font-weight: 800; color: #f0d98a; padding-left: 0; line-height: 1.12; margin: 0.1em 0.2em 0; overflow-wrap: break-word; text-shadow: 0 1px 1px rgba(0,0,0,0.5); }
.cal-pin-month { font-size: 0.66em; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.92; }
.cal-pin-wrap.is-past .cal-pin { filter: saturate(0.85) brightness(0.9); }
.cal-pin-wrap.is-past { opacity: 0.85; }

@media (max-width: 560px) {
	.cal-patch { width: 100%; }
	.cal-pin-wrap { width: 142px; }
}
