/*
Theme Name: Laos Marketplace
Theme URI: https://agencedevoyageaulaos.com/
Description: Thème léger et original de la place de marché « Agence de voyage au Laos » (nécessite l'extension Laos Travel Marketplace).
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.1
Author: Laos Travel Marketplace
License: GPL-2.0-or-later
Text Domain: laos-marketplace
*/

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F7F4ED; color: #172620; font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: #214B3B; }
a:hover { color: #8C6A33; }
h1, h2, h3, h4 { line-height: 1.2; color: #172620; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 244, 237, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #E2DCCD; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.site-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #172620; }
.site-brand__mark { width: 38px; height: 38px; flex: none; }
.site-brand__name { font: 600 1.12rem/1.1 "Fraunces", Georgia, serif; }
.site-brand__name small { display: block; font: 500 .7rem/1.3 "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8C6A33; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: #172620; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: #214B3B; text-decoration: underline; text-decoration-color: #C8A46A; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav__account { display: flex; gap: .6rem; align-items: center; }
.site-nav .ltm-btn, .site-nav .ltm-btn:hover { color: #fff; text-decoration: none; }
.site-nav .ltm-btn--ghost { color: #214B3B; }
.site-nav .ltm-btn--ghost:hover { color: #fff; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-nav__account .ltm-btn { padding: .6rem 1.1rem; font-size: .9rem; }
.site-nav__badge { position: relative; }
.site-nav__badge .ltm-count { position: absolute; top: -8px; right: -12px; }
.nav-toggle { display: none; background: none; border: 1px solid #E2DCCD; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: #172620; }

/* Contenu */
.site-main { min-height: 50vh; }
.page-header { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.page-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0; max-width: 900px; }
.page-header p { color: #55625C; max-width: 760px; font-size: 1.08rem; }
.entry-content { padding-bottom: 4rem; }
.entry-content > *:not(.ltm-dash):not(.ltm-inbox):not(.ltm-directory):not(.ltm-partner) { max-width: 820px; }
.entry-content.is-wide > * { max-width: none !important; }
.entry-content h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.entry-content li { margin-bottom: .4rem; line-height: 1.65; }
.entry-content table { border-collapse: collapse; width: 100%; background: #fff; }
.entry-content table th, .entry-content table td { border: 1px solid #E2DCCD; padding: .6rem .8rem; text-align: left; vertical-align: top; }
.dest-hero { position: relative; color: #fff; padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; overflow: hidden; background: #214B3B; }
.dest-hero__img { position: absolute; inset: 0; }
.dest-hero__img img, .dest-hero__img svg { width: 100%; height: 100%; object-fit: cover; }
.dest-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(15, 30, 24, .7)); }
.dest-hero .ltm-container { position: relative; z-index: 1; }
.dest-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .3rem 0 .6rem; }
.dest-hero p { max-width: 720px; color: rgba(255,255,255,.9); font-size: 1.1rem; }
.dest-hero .ltm-breadcrumbs a, .dest-hero .ltm-breadcrumbs { color: rgba(255,255,255,.85); }
.dest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; padding: 2.5rem 0 4rem; align-items: start; }
.dest-layout .ltm-sticky-card { top: 100px; }

/* Pied de page */
.site-footer { background: #173528; color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #C8A46A; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font: 600 .8rem "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #C8A46A; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; }
.site-footer .site-brand { color: #fff; }
.site-footer__about { font-size: .93rem; line-height: 1.6; max-width: 360px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-grid; place-items: center; }
	.site-nav { position: fixed; inset: 72px 0 auto 0; background: #F7F4ED; flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; border-bottom: 1px solid #E2DCCD; box-shadow: 0 20px 30px rgba(0,0,0,.08); display: none; max-height: calc(100vh - 72px); overflow-y: auto; }
	.ltm-nav-open .site-nav { display: flex; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid #E2DCCD; }
	.site-nav__account { flex-wrap: wrap; padding-top: .6rem; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.dest-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-brand__name small { display: none; }
}
@media (max-width: 640px) {
	.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
