/* Anecdotes Historiques — period hub template (extends article.css) */
.ahx-hub__kicker {
	font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--ahx-gold-light); margin: 0 0 14px;
}
.ahx-hero--hub .ahx-hero__title { font-size: clamp(34px, 5vw, 58px); letter-spacing: .02em; }
.ahx-hero--hub::before { background: linear-gradient(130deg, rgba(28, 28, 28, .62) 71%, rgba(255, 255, 255, 0) 0%); }

/* Gold band */
.ahx-band { background: var(--ahx-gold); padding: clamp(40px, 6vw, 72px) 16px; text-align: center; }
.ahx-band__title {
	font-family: "Nunito", sans-serif; font-weight: 700;
	font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3;
	text-transform: uppercase; color: #fff; margin: 0 auto; max-width: 900px;
}

/* Card blocks: alternate the two dark tones so consecutive blocks stay distinct */
.ahx-hub-block + .ahx-hub-block { background: var(--ahx-dark); }

/* All articles */
.ahx-all { background: var(--ahx-darker); padding: clamp(48px, 7vw, 80px) 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.ahx-all__inner { max-width: 1140px; margin: 0 auto; }
.ahx-all__count { font-weight: 300; color: var(--ahx-muted); font-size: .7em; }
.ahx-all__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px;
}
.ahx-tile { margin: 0; }
.ahx-tile__link { display: block; text-decoration: none; color: var(--ahx-text); }
.ahx-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #2a2a2a; }
.ahx-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .35s ease; opacity: .92; }
.ahx-tile__link:hover .ahx-tile__media img { transform: scale(1.04); opacity: 1; }
.ahx-tile__title {
	display: block; margin-top: 10px; padding-top: 10px;
	border-top: 2px solid var(--ahx-gold);
	font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ahx-text);
}
.ahx-tile__link:hover .ahx-tile__title { color: var(--ahx-gold-light); }

/* Editorial */
.ahx-hub__editorial { background: var(--ahx-dark); }

/* Form section */
.ahx-hub__form { text-align: left; }
.ahx-hub__form::before { background: linear-gradient(220deg, rgba(28, 28, 28, .7) 54%, rgba(255, 255, 255, 0) 0%); }
.ahx-hub__form-inner {
	position: relative; z-index: 1; max-width: 1140px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.ahx-hub__form-text p { color: var(--ahx-text); font-size: 17px; line-height: 1.7; }
.ahx-hub__form-text .ahx-band__title { text-align: left; margin: 0 0 16px; }
.ahx-hub__form-box { background: rgba(20, 20, 20, .85); padding: 28px; color: var(--ahx-text); }
.ahx-hub__form-box label, .ahx-hub__form-box .wpforms-field-label { color: var(--ahx-text) !important; }
.ahx-hub__form-box button[type="submit"] {
	background: var(--ahx-gold) !important; color: #141414 !important; border: 0 !important;
	font-weight: 700; padding: 12px 28px !important; cursor: pointer;
}

/* Closing band */
.ahx-hub__closing { padding: clamp(48px, 7vw, 80px) 16px; }
.ahx-hub__closing .ahx-band__title { position: relative; z-index: 1; }

@media (max-width: 1000px) { .ahx-all__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.ahx-all__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
	.ahx-hub__form-inner { grid-template-columns: 1fr; gap: 28px; }
}
