/* Identité des hébergements du Trail de Guerlédan. */
.trail-theme {
    --ink: #12254a;
    --muted: #5c677c;
    --teal: #174ca4;
    --teal-dark: #103673;
    --accent: #d82d3d;
    --line: #dee3ec;
    --soft: #edf1f7;
    background: #f7f8fb;
}
.trail-theme .site-header { background: #10244c; border: 0; }
.trail-theme .header-inner { min-height: 98px; }
.trail-theme .brand, .trail-theme .main-nav a { color: #fff; }
.trail-brand { display: inline-flex; flex-direction: column; gap: 7px; }
.trail-wordmark { display: flex; align-items: baseline; gap: 7px; font-size: clamp(19px, 2.3vw, 28px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -1px; }
.trail-wordmark span:first-child { color: #83b5ff; }
.trail-wordmark span:nth-child(2) { color: #fff; font-size: .65em; }
.trail-wordmark span:last-child { color: #ff6874; }
.trail-brand-caption { color: #c9d4e8; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.4; }
.trail-theme .main-nav { gap: 25px; }
.trail-theme .main-nav a { font-size: 13px; }
.trail-theme .main-nav a:hover, .trail-theme .main-nav a[aria-current="page"] { background: #243e68; color: #fff; }
.trail-theme .main-nav .trail-official-link { border: 1px solid #71809c; padding: 10px 15px; border-radius: 3px; }
.trail-hero { position: relative; isolation: isolate; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: #10244c; color: #fff; }
.trail-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 48%; z-index: -3; }
.trail-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,23,48,.98) 0%, rgba(7,23,48,.91) 30%, rgba(7,23,48,.52) 57%, rgba(7,23,48,.07) 100%); }
.trail-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, #2869d0 0 33.333%, #fff 33.333% 66.666%, #e23446 66.666%); }
.trail-hero-content { padding-block: 70px 75px; }
.trail-kicker { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; margin-bottom: 28px; }
.trail-tricolor { width: 29px; height: 17px; flex: 0 0 29px; transform: skew(-12deg); background: linear-gradient(90deg, #377de5 0 33.333%, #fff 33.333% 66.666%, #ee4050 66.666%); }
.trail-hero h1 { max-width: 760px; font-size: clamp(42px, 5.1vw, 73px); letter-spacing: -.055em; line-height: 1.02; font-weight: 900; margin-bottom: 25px; }
.trail-hero h1 em { font-style: italic; color: #fff; }
.trail-hero-intro { max-width: 470px; font-size: 16px; line-height: 1.8; color: #e2e8f1; margin-bottom: 30px; }
.trail-theme .button { border-radius: 3px; background: #174ca4; }
.trail-theme .button:hover { background: #103673; }
.trail-theme .trail-cta { display: inline-flex; gap: 35px; background: #d82d3d; border: 1px solid #d82d3d; padding: 16px 23px; font-size: 14px; }
.trail-theme .trail-cta:hover { background: #b51e2d; border-color: #b51e2d; }
.trail-event-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #d0d9e9; font-size: 12px; margin-top: 28px; }
.trail-event-meta span + span { border-left: 1px solid #7e8ba2; padding-left: 18px; }
.trail-photo-caption { position: absolute; right: 32px; bottom: 30px; font-size: 9px; letter-spacing: 2px; color: white; text-shadow: 0 1px 8px #000; }
.trail-race-band { background: #10244c; color: white; }
.trail-race-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; font-weight: 800; font-size: 12px; letter-spacing: 1.2px; }
.trail-band-year { color: #a9caff; }
.trail-welcome { padding: 5px 0 50px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.trail-theme .eyebrow { color: #174ca4; letter-spacing: 1.8px; font-size: 11px; }
.trail-welcome > div { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.trail-welcome h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); }
.trail-welcome > div > p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.9; }
.trail-theme .result-count { color: #174ca4; border-color: #c8d6ee; border-radius: 3px; background: #ecf1fa; }
.trail-theme .home-card { border-radius: 5px; border-color: #e0e5ed; box-shadow: 0 5px 18px #12254a05; }
.trail-theme .home-visual { background: #e7ecf4; color: #174ca4; }
.trail-theme .placeholder-mark { color: #174ca4; font-style: normal; }
.trail-theme .home-card .text-link { color: #174ca4; }
.trail-theme .home-card h3 { font-size: 22px; }
.trail-theme .home-card .card-body { border-top: 3px solid #174ca4; }
.trail-theme .page-heading { background: #eaf0f9; border-bottom: 4px solid #d82d3d; }
.trail-theme .stay-panel, .trail-theme .room-card, .trail-theme .panel { border-radius: 5px; }
.trail-theme .site-footer { background: #10244c; border-top: 5px solid #d82d3d; padding-block: 45px; }
.trail-theme .footer-inner > a { color: #fff; }
.trail-theme .footer-inner p, .trail-theme .footer-inner small { color: #c0cce0; }
.trail-theme :focus-visible { outline-color: #ff6874; }
.login-container { max-width: 480px; margin: 60px auto; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; margin-bottom: 6px; font-weight: 700; }
.login-field input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 5px; background: white; }
@media (max-width: 900px) {
    .trail-theme .main-nav { gap: 16px; }
    .trail-theme .main-nav .trail-official-link { display: none; }
    .trail-hero { min-height: 610px; }
    .trail-hero::before { background: linear-gradient(90deg, rgba(7,23,48,.95), rgba(7,23,48,.55)); }
    .trail-welcome > div { gap: 30px; }
    .trail-race-band .container { font-size: 10px; letter-spacing: .7px; }
}
@media (max-width: 600px) {
    .trail-theme .container { width: calc(100% - 36px); }
    .trail-theme .header-inner { min-height: 105px; flex-wrap: wrap; gap: 12px; justify-content: center; padding-block: 17px 12px; }
    .trail-wordmark { font-size: 23px; }
    .trail-brand-caption { font-size: 8px; letter-spacing: 1.5px; }
    .trail-theme .main-nav { width: 100%; justify-content: center; }
    .trail-theme .main-nav a { padding-block: 3px; }
    .trail-hero { min-height: 620px; }
    .trail-hero-image { object-position: 59% center; }
    .trail-hero-content { padding-block: 45px 65px; }
    .trail-kicker { font-size: 9px; letter-spacing: .9px; gap: 8px; }
    .trail-hero h1 { font-size: clamp(37px, 10.5vw, 58px); }
    .trail-hero-intro { font-size: 14px; max-width: 340px; }
    .trail-photo-caption { font-size: 7px; left: 18px; right: auto; bottom: 22px; }
    .trail-race-band .container { flex-wrap: wrap; gap: 8px 16px; padding-block: 17px; }
    .trail-band-year { width: 100%; }
    .trail-welcome > div { grid-template-columns: 1fr; gap: 20px; }
    .trail-welcome { padding-bottom: 30px; margin-bottom: 30px; }
    .trail-theme .section-heading { align-items: start; }
    .trail-theme .section-heading h2 { font-size: 30px; }
    .trail-theme .footer-inner { align-items: start; }
    .login-container { margin-block: 35px; }
}
