@charset "utf-8";
/* CSS Document */

/* Présentation des fiches randonnée uniquement. */
.datatourisme-single-rando .datatourisme-single-heading {
	max-width: 1100px;
	margin: 0 auto 24px;
	padding: 0 24px;
}
.datatourisme-single-rando .datatourisme-single-kicker {
	margin: 0 0 8px;
	color: #66745d;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.datatourisme-single-rando .datatourisme-single-heading .entry-title {
	margin: 0;
	color: #263b30;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.12;
}
.datatourisme-single-rando .datatourisme-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
	align-items: start;
	gap: 28px;
	margin: 0 0 26px;
}
.datatourisme-single-rando .datatourisme-single-media-column,
.datatourisme-single-rando .datatourisme-single-info-column {
	min-width: 0;
}
.datatourisme-single-rando .datatourisme-single-info-panel {
	padding: 0 18px;
	border: 1px solid #e1e6df;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(34, 52, 39, .06);
}
.datatourisme-single-rando .datatourisme-single-route-info h2 {
	margin: 0 0 12px;
	color: #304536;
	font-size: 1rem;
	line-height: 1.3;
}
.datatourisme-single-rando .datatourisme-single-info-section {
	padding: 16px 0;
}
.datatourisme-single-rando .datatourisme-single-info-section + .datatourisme-single-info-section {
	border-top: 1px solid #e7ebe6;
}
.datatourisme-single-rando .datatourisme-single-route-info {
	margin: 0;
}
.datatourisme-single-rando .datatourisme-route-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.datatourisme-single-rando .datatourisme-route-info-item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #354239;
	font-size: .92rem;
}
.datatourisme-single-rando .datatourisme-route-info-item > span {
	display: grid;
	gap: 2px;
}
.datatourisme-single-rando .datatourisme-route-info-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: #78856c;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.datatourisme-single-rando .datatourisme-route-info-label {
	color: #68736a;
	font-size: .78rem;
	line-height: 1.15;
}
.datatourisme-single-rando .datatourisme-route-info-item strong {
	font-weight: 700;
	line-height: 1.25;
}
.datatourisme-single-rando .datatourisme-single-locality {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 12px;
	color: #59645d;
	font-size: 1.05rem;
}
.datatourisme-single-rando .datatourisme-location-pin {
	width: 18px;
	height: 18px;
	flex: none;
	fill: #b65a50;
}
.datatourisme-single-rando .datatourisme-single-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #d8dfd8;
	border-radius: 7px;
	background: #fff;
	color: #304b3b;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.datatourisme-single-rando .datatourisme-single-back:hover {
	transform: translateY(-1px);
	border-color: #52745d;
	background: #f4f7f3;
	color: #243d2e;
}
.datatourisme-single-rando .datatourisme-single-back:focus-visible {
	outline: 3px solid #174c64;
	outline-offset: 3px;
}
.datatourisme-single-rando .datatourisme-single-main {
	margin: 0;
}
.datatourisme-single-rando .datatourisme-single-description {
	width: 100%;
	max-width: 100%;
	margin: 0 0 24px;
	color: #343b36;
	font-size: 1.03rem;
	line-height: 1.75;
}
.datatourisme-single-rando .datatourisme-single-description p {
	margin: 0 0 1em;
}
@media (max-width: 640px) {
	.datatourisme-single-rando .datatourisme-single-heading { padding: 0 16px; margin-bottom: 18px; }
	.datatourisme-single-rando .datatourisme-single-info-panel { padding: 0 14px; }
	.datatourisme-single-rando .datatourisme-route-info-grid { grid-template-columns: 1fr; gap: 12px; }
	.datatourisme-single-rando .datatourisme-single-description { font-size: 1rem; line-height: 1.65; }
}
@media (max-width: 760px) {
	.datatourisme-single-rando .datatourisme-single-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 20px; }
}


.agenda_list_item { 
	width: 23.4%;  margin-left: 0.75%; margin-right: 0.75%; margin-bottom: 1.5%; float: left; background: white; border: 1px solid rgba(0, 0, 0, 0.075); border-radius: 4px; color: #ababab;  overflow: hidden; transition: box-shadow 0.1s ease-out, opacity 0.3s ease-in-out; text-align: center;
}
@media only screen and (max-width: 1200px){
	#agenda_content .agenda_list_item { 
		width: 31.8%; 
	}
}

.entry-content {
    max-width: 1300px !important;
}
.event_list_content { padding: 10px 10px 10px 10px; }
.event_list_img { padding: 0px 0px; width:100%; height: 225px; overflow: hidden; text-align:center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-repeat: no-repeat; background-position: center center; }
.event_list_title { height: 75px; overflow: hidden; font-size: 18px; color: #092a42; margin-top:0px !important; }
.event_list_city { height: 30px; font-size: 12px; overflow: hidden; font-weight: bold; }
.event_list_date { font-size: 12px; }
#agenda_content .event_list_descriptif { height: 80px; font-size: 12px; overflow: hidden; font-weight: normal; padding-top: 10px; }
.types, .locality { width: 200px; display: inline-block; margin:0 7.5px; }

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap; 
	margin:10px 7.5px;
	clear:both;
	float:none;
}

.strike > span {
    position: relative;
    display: inline-block;
}

.strike > span:before,
.strike > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
    background: #CCC;
}

.strike > span:before {
    right: 100%;
    margin-right: 15px;
}

.strike > span:after {
    left: 100%;
    margin-left: 15px;
}

.track-info {
  max-height: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* Cartes Randonnées : reprend le langage visuel de l'archive Agenda,
   uniquement sur la page DATAtourisme (ID 36843). */
body.page-id-36843 #agenda_content > div[id^="page"] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}
body.page-id-36843 #agenda_content .agenda_list_item {
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #dce2db;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgb(33 59 49 / 5%);
    color: #213b31;
    text-align: left;
    overflow: hidden;
    position: relative;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
body.page-id-36843 #agenda_content .agenda_list_item > .datatourisme-rando-card-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    border-radius: inherit;
}
body.page-id-36843 #agenda_content .agenda_list_item > .datatourisme-rando-card-media {
    position: relative;
    z-index: 2;
    flex: none;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
}
body.page-id-36843 #agenda_content .agenda_list_item .datatourisme-rando-photo-link {
    display: block;
}
body.page-id-36843 #agenda_content .datatourisme-list-photo-credit,
body.page-id-36843 #agenda_content .event_list_title a,
body.page-id-36843 #agenda_content .event_list_descriptif a {
    position: relative;
    z-index: 2;
}
body.page-id-36843 #agenda_content .datatourisme-list-photo-credit {
    pointer-events: none;
}
body.page-id-36843 #agenda_content .datatourisme-list-photo-credit a {
    pointer-events: auto;
}
body.page-id-36843 #agenda_content .event_list_img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    transition: transform 300ms ease;
}
body.page-id-36843 #agenda_content .datatourisme-list-photo-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 2px 4px;
    border-radius: 7px 0 0 0;
    background: rgb(24 29 26 / 76%);
    color: #fff;
    font-size: 10px;
    line-height: 1.1;
    text-align: right;
    overflow-wrap: anywhere;
    pointer-events: none;
}
body.page-id-36843 #agenda_content .datatourisme-list-photo-credit a {
    color: inherit;
    text-decoration: underline;
    pointer-events: auto;
}
body.page-id-36843 #agenda_content .event_list_content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px;
}
body.page-id-36843 #agenda_content .event_list_content > br:first-child {
    display: none;
}
body.page-id-36843 #agenda_content .event_list_title {
    height: auto;
    margin: 0 !important;
    overflow: visible;
    color: #213b31;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}
body.page-id-36843 #agenda_content .event_list_title a {
    color: inherit;
    text-decoration: none;
}
body.page-id-36843 #agenda_content .event_list_city {
    height: auto;
    margin: 0;
    color: #526258;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}
body.page-id-36843 #agenda_content .event_list_descriptif {
    height: auto;
    margin-top: auto;
    padding: 0;
    color: #46554c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    overflow: visible;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}
body.page-id-36843 #agenda_content .event_list_descriptif p {
    margin: 0;
}
body.page-id-36843 #agenda_content .agenda_list_item:is(:hover, :focus-within) {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 10px 24px rgb(33 59 49 / 16%);
}
body.page-id-36843 #agenda_content .agenda_list_item:is(:hover, :focus-within) :is(.event_list_title, .event_list_title a, .event_list_city) {
    color: #B65A50;
}
body.page-id-36843 #agenda_content .agenda_list_item:is(:hover, :focus-within) > .datatourisme-rando-photo-link .event_list_img {
    transform: scale(1.04);
}
body.page-id-36843 #agenda_content .agenda_list_item:focus-within {
    outline: 3px solid #174c64;
    outline-offset: 3px;
}
@media (max-width: 1024px) {
    body.page-id-36843 #agenda_content > div[id^="page"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    body.page-id-36843 #agenda_content > div[id^="page"] {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    body.page-id-36843 #agenda_content .datatourisme-list-photo-credit {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.page-id-36843 #agenda_content .agenda_list_item,
    body.page-id-36843 #agenda_content .event_list_img,
    body.page-id-36843 #agenda_content .event_list_title,
    body.page-id-36843 #agenda_content .event_list_city,
    body.page-id-36843 #agenda_content .event_list_descriptif {
        transition-duration: 0s !important;
    }
    body.page-id-36843 #agenda_content .agenda_list_item:is(:hover, :focus-within) {
        transform: none;
    }
}

/* Hero Randonnées : composition éditoriale alignée sur la page Recettes. */
body.page-id-36843 .page-header.has-featured-image.rando-hero {
    position: relative; display: flex; width: 100vw; max-width: 100vw; min-height: 390px; height: auto;
    align-items: center; box-sizing: border-box; margin: 0 calc(50% - 50vw) 28px;
    padding: 52px max(6vw, 24px); overflow: hidden; border-radius: 0; background: #293d32; color: #fff; text-align: left;
}
body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-background {
    position: absolute; inset: 0; z-index: 0; opacity: 1;
    background: #293d32 url('/wp-content/themes/listable-child-theme/assets/images/agendas-20261020/hero/agenda-randonnees-nature-1920.webp') center 52% / cover no-repeat !important;
    pointer-events: none;
}
body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-background::after {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(24,38,31,.78) 0%, rgba(24,38,31,.62) 24%, rgba(24,38,31,.34) 40%, rgba(24,38,31,.10) 50%, rgba(24,38,31,0) 58%, rgba(24,38,31,0) 100%);
    content: "";
}
body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-copy { position: relative; z-index: 2; width: min(62%, 720px); margin: 0; text-align: left; }
body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-kicker { margin: 0 0 12px; color: #f0dca8; font-size: .82rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
body.page-id-36843 .page-header.has-featured-image.rando-hero .page-title {
    max-width: 100%; margin: 0; color: #fff; font-family: inherit; font-size: clamp(2.15rem, 4.2vw, 3.7rem);
    font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-align: left; text-shadow: 0 2px 14px rgba(0,0,0,.24);
    text-transform: none; word-break: normal; overflow-wrap: normal; hyphens: none;
}
body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-subtitle { max-width: 620px; margin: 18px 0 0; color: #fff; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; text-shadow: 0 1px 5px rgba(0,0,0,.35); }
@media (max-width: 760px) {
    body.page-id-36843 .page-header.has-featured-image.rando-hero { min-height: 0; display: block; padding: 48px 24px 30px; }
    body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-background { background-image: url('/wp-content/themes/listable-child-theme/assets/images/agendas-20261020/hero/agenda-randonnees-nature-960.webp') !important; background-position: center 52%; }
    body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-background::after { background: linear-gradient(90deg, rgba(24,38,31,.82) 0%, rgba(24,38,31,.70) 28%, rgba(24,38,31,.45) 50%, rgba(24,38,31,.18) 68%, rgba(24,38,31,0) 82%, rgba(24,38,31,0) 100%); }
    body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-copy { width: 100%; }
    body.page-id-36843 .page-header.has-featured-image.rando-hero .page-title { font-size: clamp(2rem, 8vw, 3rem); }
    body.page-id-36843 .page-header.has-featured-image.rando-hero .rando-hero-subtitle { margin-top: 14px; font-size: 1rem; }
}
body.page-id-36843 .datatourisme-rando-agenda-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1300px;
    box-sizing: border-box;
    margin: 0 auto 22px;
    padding: 16px 20px;
    border: 1px solid #dce2db;
    border-radius: 12px;
    background: #faf8f3;
    color: #213b31;
    font: 400 15px/1.55 Arial, Helvetica, sans-serif;
}
body.page-id-36843 .datatourisme-rando-agenda-cta p {
    margin: 0;
}
body.page-id-36843 .datatourisme-rando-agenda-cta a {
    flex: none;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 1px solid #B65A50;
    border-radius: 8px;
    background: #B65A50;
    color: #fff;
    font: 700 14px/1.3 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
body.page-id-36843 .datatourisme-rando-agenda-cta a:is(:hover, :focus-visible) {
    transform: translateY(-1px);
    border-color: #963B35;
    background: #963B35;
    color: #fff;
}
body.page-id-36843 .datatourisme-rando-agenda-cta a:focus-visible {
    outline: 3px solid #174c64;
    outline-offset: 3px;
}
body.page-id-36843 #agenda_archive #agenda_filters {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #dce2db;
    border-radius: 12px;
    background: #faf8f3;
    text-align: left;
}
body.page-id-36843 #agenda_archive #agenda_filters form {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
    align-items: end;
    gap: 12px;
    margin: 0;
}
body.page-id-36843 #agenda_archive .datatourisme-rando-filter-field {
    min-width: 0;
}
body.page-id-36843 #agenda_archive .datatourisme-rando-filter-field label {
    display: block;
    margin: 0 0 6px;
    color: #526258;
    font: 700 12px/1.35 Arial, Helvetica, sans-serif;
}
body.page-id-36843 #agenda_archive .datatourisme-rando-filter-field label.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body.page-id-36843 #agenda_archive #agenda_filters select {
    display: block;
    width: auto;
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 40px 10px 13px;
    border: 1px solid #b7c3b9;
    border-radius: 8px;
    background-color: #fff;
    color: #213b31;
    font: 14px/1.4 Arial, Helvetica, sans-serif;
    text-align: left;
    text-transform: none;
}
body.page-id-36843 #agenda_archive #agenda_filters .datatourisme-rando-filter-field select {
    width: 100%;
}
body.page-id-36843 #agenda_archive #agenda_filters select:focus-visible {
    outline: 3px solid #26734d;
    outline-offset: 2px;
}
body.page-id-36843 #agenda_archive #agenda_filters input[type="hidden"] {
    display: none;
}
body.page-id-36843 .datatourisme-rando-filter-notice {
    margin: -8px 0 18px;
    color: #963B35;
    font: 600 14px/1.5 Arial, Helvetica, sans-serif;
}
body.page-id-36843 #agenda_archive .agenda-pagination {
    width: 100%;
    margin: 24px 0 8px;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link,
body.page-id-36843 #agenda_archive .agenda-pagination-list .agenda-pagination-item {
    display: inline-flex;
    float: none !important;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #b5b5b5;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font: 600 14px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list .is-current {
    border-color: #C62828;
    background: #C62828;
    color: #fff;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link:is(:hover, :focus-visible) {
    border-color: #963B35;
    background: #963B35;
    color: #fff;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link:focus-visible {
    outline: 3px solid #174c64;
    outline-offset: 2px;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list :is(.events_page_link_prev, .events_page_link_next) {
    display: inline-flex; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center; box-sizing: border-box; float: none !important;
    margin: 0 !important; padding: 0 !important; font-size: 0; line-height: 0;
}
body.page-id-36843 #agenda_archive .agenda-pagination-list :is(.events_page_link_prev, .events_page_link_next)::after {
    display: block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; content: "";
}
body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link_next::after { transform: translateX(-1px) rotate(45deg); }
body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link_prev::after { transform: translateX(1px) rotate(225deg); }
body.page-id-36843 #agenda_archive .agenda-pagination-list .is-disabled {
    border-color: #ddd;
    background: #f1f1f1;
    color: #777;
}
body.page-id-36843 #agenda_archive .agenda-pagination-gap {
    padding: 0 2px !important;
    color: #555;
}
@media (min-width: 768px) and (max-width: 1023px) {
    body.page-id-36843 #agenda_archive #agenda_filters form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 768px) and (max-width: 899px) {
}
@media (max-width: 767px) {
    body.page-id-36843 .datatourisme-rando-agenda-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
        padding: 15px;
        font-size: 14px;
    }
    body.page-id-36843 .datatourisme-rando-agenda-cta a {
        width: 100%;
    }
    body.page-id-36843 #agenda_archive #agenda_filters {
        padding: 14px;
    }
    body.page-id-36843 #agenda_archive #agenda_filters form {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    body.page-id-36843 #agenda_archive #agenda_filters select {
        width: 100%;
    }
    body.page-id-36843 #agenda_archive .agenda-pagination {
        margin-top: 18px;
    }
    body.page-id-36843 #agenda_archive .agenda-pagination-list {
        gap: 5px;
    }
    body.page-id-36843 #agenda_archive .agenda-pagination-list .events_page_link,
    body.page-id-36843 #agenda_archive .agenda-pagination-list .agenda-pagination-item {
        min-width: 40px;
        min-height: 40px;
        padding: 7px 9px;
    }
    
}
@media (prefers-reduced-motion: reduce) {
    body.page-id-36843 .datatourisme-rando-agenda-cta a {
        transition: none;
    }
}


/* Rando detail pages: spacing under the back button. */
.datatourisme-single-rando .datatourisme-single-heading > .datatourisme-single-back {
	margin-bottom: 20px;
}
