/* style.css — Artsy (vilaweb.cat-style)
   Supplementary styles only. All layout uses the mirrored Tailwind utilities
   from artsy-base.css. This file adds the brand mark, the overlay
   open/close states, the mobile menu icon and article typography. */

/* reset for toggle buttons that mirror anchor chrome */
.artsy-btn-reset {
	background: none; border: 0; padding: 0; margin: 0;
	font: inherit; color: inherit; cursor: pointer; text-align: inherit;
}

/* ------------------------------ brand mark ------------------------------ */
.artsy-logo-text {
	display: inline-block;
	font-family: Lora, ui-serif, Georgia, serif;
	font-weight: 900;
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}
@media (min-width: 1280px) {
	.artsy-logo-text { font-size: 1.85rem; }
}
.artsy-logo-h1 { margin: 0; display: flex; justify-content: center; }
footer .artsy-logo-text { color: #fff; font-size: 1.7rem; }

/* main category nav: keep all five items on one line */
.artsy-main-nav {
	gap: 0 0.6rem;
	font-size: 11px;
	letter-spacing: 0;
}
.artsy-main-nav > li { flex: 0 0 auto; }
@media (min-width: 1280px) {
	.artsy-main-nav { gap: 0 0.85rem; font-size: 12px; }
}

/* ------------------------------ overlays -------------------------------- */
#navigation-layer.active,
#search-layer.active {
	transform: translateY(0) !important;
	opacity: 1 !important;
}
#navigation-layer, #search-layer { overflow: hidden; }
body.overflow-hidden { overflow: hidden; }

/* horizontal slide strip without swiper.js */
#navigation-layer .swiper-wrapper {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 1rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
#navigation-layer .swiper-wrapper::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
	#navigation-layer .swiper-wrapper { flex-direction: column; overflow: visible; }
}

/* ------------------------------ header ---------------------------------- */
.header-hidden { transform: translateY(-100%); }
#main-header { transition: transform 0.3s ease; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* mobile burger icon (mirrors .hamburguesa markup) */
.hamburguesa { display: flex; flex-direction: column; gap: 3px; width: 24px; }
.hamburguesa span {
	display: block; height: 2px; width: 100%;
	background-color: currentColor; transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburguesa span:nth-child(2) { width: 70%; }
.hamburguesa span:nth-child(4) { width: 45%; }

/* ------------------------------ accessibility --------------------------- */
.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ------------------------------ article layout -------------------------- */
.entry-content { font-family: Roboto, ui-sans-serif, system-ui, sans-serif; color: #151515; line-height: 1.7; }
.dark .entry-content { color: #fcfcfc; }
.entry-content > p:first-of-type { font-size: 1.125rem; }
.entry-content h2 {
	font-family: Lora, ui-serif, Georgia, serif;
	font-weight: 700; font-size: 1.5rem; line-height: 1.3;
	margin: 2rem 0 0.75rem; scroll-margin-top: 6rem;
}
.entry-content h3 { font-family: Lora, serif; font-weight: 700; font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.entry-content p { margin: 0 0 1rem; }
.entry-content a { color: #ff6600; text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: #cc5200; }
.entry-content ul, .entry-content ol { margin: 0 0 1rem 1.25rem; }
.entry-content li { margin: 0.25rem 0; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.entry-content figcaption { font-size: 0.8125rem; color: #afb2b6; margin-top: 0.5rem; }

/* key facts box */
.key-facts {
	background: #f2f2f2; border-left: 4px solid #ff6600;
	padding: 1.25rem 1.5rem; margin: 1.75rem 0; border-radius: 2px;
}
.dark .key-facts { background: #151515; }
.key-facts-title {
	font-family: Roboto, sans-serif; text-transform: uppercase; font-size: 0.8125rem;
	letter-spacing: 0.04em; font-weight: 700; margin: 0 0 0.5rem;
}
.key-facts ul { margin: 0; padding-left: 1.1rem; }
.key-facts li { margin: 0.3rem 0; }

/* table of contents */
.table-of-contents {
	background: #fff; border: 1px solid #d5d7d9; padding: 1rem 1.25rem 1rem 1.25rem;
	margin: 1.5rem 0 2rem; border-radius: 2px;
}
.dark .table-of-contents { background: #151515; border-color: #2e3338; }
.table-of-contents > p { font-family: Roboto, sans-serif; text-transform: uppercase; font-weight: 700; font-size: 0.8125rem; margin: 0 0 0.5rem; }
.table-of-contents ol { margin: 0 0 0 1.1rem; }
.table-of-contents a { color: #151515; text-decoration: none; }
.dark .table-of-contents a { color: #fcfcfc; }
.table-of-contents a:hover { color: #ff6600; }

/* pull quote */
.pull-quote {
	margin: 2rem 0; padding: 1.5rem 0 1.5rem 1.5rem;
	border-left: 4px solid #ff6600; font-family: Lora, serif;
	font-size: 1.375rem; line-height: 1.4; font-style: italic; color: #151515;
}
.dark .pull-quote { color: #fcfcfc; }
.pull-quote p { margin: 0; }

.source-note { font-size: 0.875rem; color: #6b6f73; }
.source-note a { color: #ff6600; }

/* breadcrumbs + related */
.breadcrumbs { color: #afb2b6; }
.breadcrumbs span[aria-current] { color: #2e3338; }
.dark .breadcrumbs span[aria-current] { color: #fcfcfc; }

/* ------------------------------ forms ----------------------------------- */
.artsy-newsletter-msg { color: #ffd166; }
.artsy-contact { display: flex; flex-direction: column; max-width: 32rem; margin: 1.5rem 0; }
.artsy-contact label { display: flex; flex-direction: column; font-family: Roboto, sans-serif; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; margin-bottom: 1rem; }
.artsy-contact input, .artsy-contact textarea {
	margin-top: 0.35rem; padding: 0.6rem; border: 1px solid #afb2b6;
	font-family: Roboto, sans-serif; font-weight: 400; text-transform: none;
	background: transparent; color: inherit;
}
.artsy-contact button {
	align-self: flex-start; background: #ff6600; color: #fff; border: 0;
	padding: 0.7rem 1.5rem; font-weight: 700; text-transform: uppercase;
	font-family: Roboto, sans-serif; cursor: pointer; border-radius: 2px;
}
.artsy-contact button:hover { background: #cc5200; }
.artsy-contact-msg { color: #ff6600; font-weight: 700; }

/* ---- Floating WhatsApp popup ---- */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:99999;display:flex;align-items:center;gap:10px;text-decoration:none;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.35;outline:none;}
.wa-float-btn{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.24);transition:transform .2s ease,box-shadow .2s ease;flex:0 0 auto;}
.wa-float-btn svg{width:32px;height:32px;display:block;}
.wa-float:hover .wa-float-btn,.wa-float:focus .wa-float-btn{transform:scale(1.07);box-shadow:0 10px 28px rgba(0,0,0,.3);}
.wa-float-pop{display:block;max-width:235px;background:#fff;color:#141414;border-radius:12px;padding:12px 14px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:13px;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .2s ease,transform .2s ease;}
.wa-float-pop strong{display:block;font-size:14px;margin-bottom:2px;}
.wa-float-pop span{display:block;color:#444;}
.wa-float-pop .wa-float-num{color:#128c7e;font-weight:700;margin-top:4px;}
.wa-float:hover .wa-float-pop,.wa-float:focus .wa-float-pop{opacity:1;transform:translateY(0);}
@media (max-width:600px){.wa-float{right:14px;bottom:14px;}.wa-float-btn{width:54px;height:54px;}.wa-float-pop{display:none;}}

/* ---- Footer (ArtFCity-style layout, Artsy theme) ---- */
.artsy-footer {
	background: #0d0d0d;
	color: #b7bbc0;
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
	margin-top: 2.5rem;
}
.artsy-footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 24px 24px;
}
.artsy-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 32px 48px;
}
.artsy-footer-brand { padding-right: 24px; }
.artsy-footer-logo {
	display: inline-block;
	font-family: Lora, ui-serif, Georgia, serif;
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
	text-decoration: none;
	transition: color .2s ease;
}
.artsy-footer-logo:hover { color: #ff6600; }
.artsy-footer-desc {
	max-width: 350px;
	margin: 20px 0 22px;
	font-size: 15px;
	line-height: 1.7;
	color: #b7bbc0;
}
.artsy-footer-email {
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	color: #ff6600;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color .2s ease;
}
.artsy-footer-email:hover { color: #ff9a4d; text-decoration: underline; }
.artsy-footer-col h2 {
	margin: 4px 0 18px;
	font-family: Roboto, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
}
.artsy-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.artsy-footer-col li { margin: 0 0 12px; }
.artsy-footer-col a {
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
	color: #b7bbc0;
	text-decoration: none;
	transition: color .2s ease;
}
.artsy-footer-col a:hover { color: #ff6600; }
.artsy-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: 56px;
	padding-top: 22px;
	padding-right: 72px; /* keeps the legal links clear of the WhatsApp button */
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 14px;
	color: #9a9ea3;
}
.artsy-footer-bottom p { margin: 0; }
.artsy-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.artsy-footer-legal a {
	color: #b7bbc0;
	text-decoration: none;
	transition: color .2s ease;
}
.artsy-footer-legal a:hover { color: #fff; }
.artsy-footer a:focus-visible,
.artsy-footer button:focus-visible {
	outline: 2px solid #ff6600;
	outline-offset: 3px;
}
@media (max-width: 900px) {
	.artsy-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.artsy-footer-brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 600px) {
	.artsy-footer { margin-top: 1.5rem; }
	.artsy-footer-inner { padding: 48px 20px 20px; }
	.artsy-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.artsy-footer-logo { font-size: 2.1rem; }
	.artsy-footer-bottom { margin-top: 40px; padding-right: 0; }
	.artsy-footer-legal { gap: 18px; }
}
