/* Homepage content only: the existing hero is intentionally outside this scope. */
.home-hub [data-home-pending] { opacity: 0; }
@media (prefers-reduced-motion: reduce), print { .home-hub [data-home-pending] { opacity: 1; } }
.home-hub { width: min(1440px, 100%); margin: 0 auto; padding: 64px var(--pad) 80px; box-sizing: border-box; color: var(--color-text); }
.home-hub__section { margin: 0 0 72px; scroll-margin-top: 130px; }
.home-hub__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-hub h2 { margin: 8px 0 0; font: 800 clamp(28px, 3vw, 42px)/1.12 Manrope, sans-serif; letter-spacing: -.035em; }
.home-hub__links { display: flex; flex-wrap: wrap; gap: 24px; }
.home-hub__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--ds-grid-gap,24px); }
.home-hub__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--ds-card-radius,20px); background: var(--color-surface); }
.home-hub__media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--color-surface-soft); }
.home-hub__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.home-hub__card:hover .home-hub__media img { transform: scale(1.025); }
.home-hub__media img.moto-media-placeholder { object-fit: contain; padding: 40px; box-sizing: border-box; }
.home-hub__card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.home-hub__meta { color: var(--color-text-secondary); font: 500 13px/1.5 Manrope,sans-serif; }
.home-hub h3 { margin: 0; font: 800 21px/1.25 Manrope,sans-serif; letter-spacing: -.02em; }
.home-hub h3 a:hover { color: var(--color-accent); }
.home-hub__card p { margin: 0; color: var(--color-text-secondary); font: 400 15px/1.6 Manrope,sans-serif; }
.home-hub__button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; box-sizing: border-box; border-radius: 999px; background: var(--color-accent); color: #fff; font: 700 14px/1.5 Manrope,sans-serif; width: fit-content; }
.home-hub__button:hover { filter: brightness(.92); }
.home-hub__secondary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font: 600 14px/1.5 Manrope,sans-serif; color: var(--color-accent); }
.home-hub__ad { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 20px; box-sizing: border-box; border: 1px dashed var(--color-border-strong); border-radius: 18px; color: var(--color-text-muted); background: var(--color-surface-soft); font: 500 14px/1.5 Manrope,sans-serif; margin-bottom: 72px; }
.home-hub__lead { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--color-surface-dark); color: #fff; border-radius: 24px; overflow: hidden; }
.home-hub__lead-image { min-height: 420px; }
.home-hub__lead-image img { width: 100%; height: 100%; object-fit: cover; }
.home-hub__lead-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: 40px; }
.home-hub__lead h2 { font-size: clamp(26px,2.8vw,38px); }
.home-hub__lead p { margin: 0; color: var(--color-text-inverse-muted); font: 400 16px/1.65 Manrope,sans-serif; }
.home-hub__topics { margin-bottom: 24px; }
.home-hub__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(0 0 0 / 15%); }
.home-hub__play .moto-icon { --ds-icon-size: 54px; }
.home-hub__catalog { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--color-surface-dark); color: #fff; border-radius: 24px; overflow: hidden; }
.home-hub__catalog > div { padding: 44px; }
.home-hub__catalog img { width: 100%; height: 380px; object-fit: cover; }
.home-hub__catalog p, .home-hub__subscription p, .home-hub__cooperation p { margin: 20px 0 24px; max-width: 520px; font: 400 17px/1.65 Manrope,sans-serif; }
.home-hub__catalog p { color: var(--color-text-inverse-muted); }
.home-hub__card--club .home-hub__media img { object-fit: contain; padding: 24px; box-sizing: border-box; }
.home-hub__subscription { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 24px; background: var(--color-surface); border: 1px solid var(--color-border); }
.home-hub__covers { display: flex; justify-content: center; align-items: center; min-height: 300px; }
.home-hub__covers img { width: 45%; max-width: 200px; max-height: 320px; object-fit: contain; filter: drop-shadow(0 14px 12px rgb(0 0 0 / 18%)); transform: rotate(-9deg); }
.home-hub__covers img + img { margin-left: -35px; transform: rotate(8deg); }
.home-hub__cooperation { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 40px; border-top: 1px solid var(--color-border); margin-bottom: 0; }
.home-hub__cooperation .home-hub__button { flex-shrink: 0; }
.home-hub__empty { color: var(--color-text-secondary); }
@media(max-width:1000px) { .home-hub__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-hub__lead-copy { padding: 28px; } .home-hub__catalog > div { padding: 28px; } .home-hub__subscription { gap: 24px; padding: 28px; } }
@media(max-width:620px) {
 .home-hub { padding-top: 32px; padding-bottom: 48px; }
 .home-hub__section, .home-hub__ad { margin-bottom: 44px; }
 .home-hub__heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
 .home-hub__button { width: 100%; text-align: center; }
 .home-hub__links { width: 100%; flex-direction: column; gap: 12px; }
 .home-hub__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 12px; scrollbar-width: thin; }
 .home-hub__grid > .home-hub__card { min-width: 0; scroll-snap-align: start; }
 .home-hub__lead, .home-hub__catalog, .home-hub__subscription { grid-template-columns: minmax(0,1fr); }
 .home-hub__lead-image { min-height: 0; aspect-ratio: 16/10; }
 .home-hub__lead-copy, .home-hub__card-body, .home-hub__catalog > div { padding: 24px; }
 .home-hub__catalog img { height: 240px; }
 .home-hub__covers { min-height: 220px; }
 .home-hub__subscription { padding: 24px; gap: 32px; }
 .home-hub__cooperation { flex-direction: column; align-items: flex-start; gap: 8px; }
 .home-hub__ad { min-height: 100px; }
}
@media(prefers-reduced-motion:reduce) { .home-hub__media img { transition: none; } }

.home-hub__heading > .home-hub__button { flex-shrink: 0; }

.home-hub__card--product .home-hub__media img { object-fit: contain; padding: 20px; box-sizing: border-box; }

.home-hub__about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 16px 40px; border-bottom: 1px solid var(--color-border); }
.home-hub__about h2 { margin: 0 0 24px; max-width: 600px; }
.home-hub__about-copy p { margin: 0 0 20px; color: var(--color-text-secondary); font: 400 17px/1.7 Manrope,sans-serif; }
.home-hub__about-copy p:first-of-type { color: var(--color-text); }
@media(max-width:760px) { .home-hub__about { grid-template-columns: minmax(0,1fr); gap: 12px; padding-block: 0 32px; } .home-hub__about h2 { margin-bottom: 20px; } .home-hub__about-copy p { font-size: 16px; } }

@media(min-width:1001px) { .home-hub__grid--news { grid-template-columns: repeat(3,minmax(0,1fr)); } }

/* Scroll scene: the covers meet above the About section. */
.home-hub .home-hub__subscription { display: flex; flex-direction: column; gap: 8px; padding: 32px 24px 44px; text-align: center; overflow: hidden; }
.home-hub__subscription > div:last-child { max-width: 650px; }
.home-hub__subscription p { margin-inline: auto; }
.home-hub__subscription .home-hub__button { margin-inline: auto; }
.home-hub .home-hub__covers { position: relative; display: block; width: 100%; height: clamp(280px, 32vw, 420px); min-height: 0; }
.home-hub .home-hub__covers img { position: absolute; left: 50%; top: 50%; width: clamp(145px, 19vw, 245px); max-width: none; height: 78%; max-height: none; object-fit: contain; margin: 0; transform: translate(-50%, -50%) translateX(calc(-28% - var(--cover-travel, 0px))) rotate(calc(-8deg - var(--cover-turn, 0deg))); }
.home-hub .home-hub__covers img + img { z-index: 1; transform: translate(-50%, -50%) translateX(calc(28% + var(--cover-travel, 0px))) rotate(calc(8deg + var(--cover-turn, 0deg))); }
@media (prefers-reduced-motion: reduce), print {
 .home-hub .home-hub__covers { --cover-travel: 0px !important; --cover-turn: 0deg !important; }
}

.home-hub__about > .home-hub__covers { overflow: hidden; height: clamp(360px, 38vw, 520px); }
.home-hub__about > .home-hub__covers img { width: clamp(180px, 21vw, 290px); }
@media(max-width:760px) {
 .home-hub__about > .home-hub__covers { height: 340px; }
 .home-hub__about > .home-hub__covers img { width: clamp(170px, 48vw, 220px); }
}

/* Home calendar introduction and compact event cards (XSL 762). */
.home-events__hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); background:var(--color-surface); border:1px solid var(--color-border); border-radius:24px; overflow:hidden; }
.home-events__intro { padding:32px; display:flex; flex-direction:column; align-items:flex-start; }
.home-events__eyebrow { color:var(--color-accent); font:800 13px/1.4 Manrope,sans-serif; text-transform:uppercase; }
.home-hub .home-events h2 { margin:12px 0 18px; font-size:clamp(30px,3vw,48px); letter-spacing:-.04em; }
.home-events__intro > p { margin:0 0 28px; color:var(--color-text-secondary); font:500 18px/1.5 Manrope,sans-serif; }
.home-events__cta { gap:22px; }
.home-events__cta > span { font-size:28px; line-height:1; }
.home-events__facts { display:flex; align-items:center; gap:22px; width:100%; margin-top:auto; padding-top:32px; }
.home-events__facts > * + * { border-left:1px solid var(--color-border-strong); padding-left:22px; }
.home-events__facts strong { display:block; font:800 30px/1.1 Manrope,sans-serif; }
.home-events__facts span,.home-events__facts a { color:var(--color-text-secondary); font:500 12px/1.5 Manrope,sans-serif; }
.home-events__facts a:hover { color:var(--color-accent); }
.home-events__visual { position:relative; min-height:400px; display:flex; align-items:center; justify-content:flex-end; padding:32px; overflow:hidden; border-radius:22px; background:var(--color-surface-dark); }
.home-events__background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:38% center; }
.home-events__visual::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgb(0 0 0 / 20%),transparent); pointer-events:none; }
.home-events__slogan { position:absolute; z-index:1; top:22px; left:26px; margin:0; color:#fff; font:italic 600 clamp(19px,2vw,28px)/1.4 Manrope,sans-serif; text-shadow:0 2px 12px #000; transform:rotate(-6deg); }
.home-events__calendar { position:relative; z-index:2; width:300px; max-width:100%; padding:20px; margin-top:50px; border-radius:22px; background:rgb(255 255 255 / 95%); color:#171717; box-shadow:0 12px 40px rgb(0 0 0 / 18%); }
.home-events__calendar[hidden] { display:none; }
.home-events__calendar-nav { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; }
.home-events__calendar-nav strong { font:800 13px/1.4 Manrope,sans-serif; text-transform:uppercase; text-align:center; }
.home-events__calendar-nav button { flex-shrink:0; width:34px; height:34px; border:0; border-radius:50%; background:#f0f0f0; color:#171717; font-size:25px; cursor:pointer; }
.home-events__week,.home-events__days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; text-align:center; }
.home-events__week { margin-bottom:8px; color:#858585; font:500 11px/1.4 Manrope,sans-serif; }
.home-events__days { grid-template-rows:repeat(6,30px); height:195px; }
.home-events__days > * { position:relative; display:grid; place-items:center; min-height:30px; border-radius:6px; font:600 12px/1 Manrope,sans-serif; }
.home-events__days .is-event { color:inherit; text-decoration:none; }
.home-events__days .is-event:hover { background:var(--color-surface-soft, #f0f0f0); }
.home-events__dots { position:absolute; bottom:3px; left:0; right:0; display:flex; justify-content:center; gap:2px; }
.home-events__dots i { width:4px; height:4px; border-radius:50%; background:var(--color-accent); }
.home-events__days .is-today { outline:1px solid var(--color-accent); outline-offset:-1px; }
.home-events__calendar-link { display:block; margin-top:14px; color:#666; text-align:center; font:600 11px/1.4 Manrope,sans-serif; }
.home-events__list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:22px; }
.home-events__card { display:flex; gap:16px; align-items:center; min-width:0; padding:12px; border:1px solid var(--color-border); border-radius:18px; background:var(--color-surface); color:var(--color-text); transition:border-color .2s,box-shadow .2s; }
.home-events__card:hover { border-color:var(--color-border); box-shadow:var(--ds-card-shadow-hover); }
.home-events__thumb { width:84px; flex:0 0 84px; height:112px; border-radius:9px; overflow:hidden; background:var(--color-surface-soft); }
.home-events__thumb img { width:100%; height:100%; object-fit:cover; }
.home-events__thumb img.moto-media-placeholder { object-fit:contain; padding:10px; }
.home-events__body { min-width:0; flex:1; }
.home-events__date { display:block; color:var(--color-accent); font:700 12px/1.4 Manrope,sans-serif; margin-bottom:7px; }
.home-hub .home-events h3 { font:800 16px/1.3 Manrope,sans-serif; letter-spacing:-.02em; overflow-wrap:anywhere; }
.home-events__body p { margin:7px 0 0; color:var(--color-text-secondary); font:500 12px/1.4 Manrope,sans-serif; overflow-wrap:anywhere; }
.home-events__arrow { font:400 26px/1 Manrope,sans-serif; }
.home-events :is(a,button):focus-visible { outline:2px solid var(--color-accent); outline-offset:3px; }
@media(max-width:1100px) { .home-events__hero { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); } .home-events__intro { padding:24px; } .home-events__visual { padding:20px; } .home-events__facts { gap:12px; } .home-events__facts > * + * { padding-left:12px; } .home-events__list { gap:12px; } .home-events__card { gap:10px; } .home-events__thumb { width:64px; flex-basis:64px; height:90px; } }
@media(max-width:820px) { .home-events__hero { grid-template-columns:1fr; } .home-events__visual { min-height:360px; } .home-events__list { grid-template-columns:1fr; } .home-events__thumb { width:80px; flex-basis:80px; height:100px; } .home-events__intro > p { max-width:560px; } }
@media(max-width:480px) { .home-events__intro { padding:24px 20px; } .home-events__visual { padding:20px; justify-content:center; } .home-events__calendar { margin-top:85px; } .home-events__slogan { font-size:21px; } .home-events__facts { gap:10px; } .home-events__facts > * + * { padding-left:10px; } }

.home-events__list-heading { display:none; }
@media(max-width:820px) {
 .home-events__hero { display:block; border:0; border-radius:0; background:none; overflow:visible; }
 .home-events__intro { min-height:330px; padding:32px 24px; border-radius:20px; color:#fff; background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.18)),url('/templates/template75/img/moto-expedition.png') center/cover; }
 .home-hub .home-events h2 { margin:0 0 18px; color:#fff; font-size:clamp(30px,6vw,42px); }
 .home-events__intro > p { max-width:380px; color:#fff; font-size:17px; line-height:1.55; margin-bottom:24px; }
 .home-events__cta { margin-top:auto; }
 .home-events__visual { display:block; min-height:0; margin-top:20px; padding:0; border-radius:0; background:none; overflow:visible; }
 .home-events__background,.home-events__visual::after { display:none; }
 .home-events__calendar { width:100%; max-width:none; margin:0; padding:22px 18px; border:1px solid var(--color-border); border-radius:18px; background:var(--color-surface); color:var(--color-text); box-shadow:none; }
 .home-events__calendar-nav { margin-bottom:18px; }
 .home-events__calendar-nav strong { font-size:17px; text-transform:none; }
 .home-events__calendar-nav button { width:38px; height:38px; background:var(--color-surface-soft); color:var(--color-text); }
 .home-events__week { padding:12px 0; margin-bottom:10px; border-radius:9px; background:var(--color-surface-soft); color:var(--color-text-secondary); font-size:12px; }
 .home-events__days { grid-template-rows:repeat(6,38px); height:243px; }
 .home-events__days > * { font-size:14px; }
 .home-events__list-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:28px; }
 .home-hub .home-events__list-heading h3 { font-size:21px; }
 .home-events__list-heading a { flex-shrink:0; color:var(--color-accent); font:600 12px/1.4 Manrope,sans-serif; }
 .home-events__list { margin-top:14px; gap:10px; }
 .home-events__card { padding:10px; gap:14px; border-radius:16px; }
 .home-events__thumb { width:100px; flex-basis:100px; height:86px; }
 .home-events__body p { margin-top:5px; }
}
@media(max-width:380px) {
 .home-events__intro { padding:26px 18px; }
 .home-events__calendar { padding:18px 12px; }
 .home-events__thumb { width:76px; flex-basis:76px; }
 .home-events__card { gap:10px; }
 .home-hub .home-events__list-heading h3 { font-size:18px; }
}

/* Keep the calendar anchor visible below the fixed header. */
#home-events{scroll-margin-top:110px}

/* Contact request in the homepage contact section. */
.home-hub__cooperation { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 64px; }
.home-hub__contact-details, .home-contact { min-width: 0; }
@media (max-width: 900px) {
  .home-hub__cooperation { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Editorial office map below the address and phone. */
.home-hub__contact-map { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--ds-card-radius, 20px); background: var(--color-surface-soft); }
.home-hub__contact-map iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 560px) {
  .home-hub__contact-map iframe { height: 280px; }
}
@media (min-width: 901px) {
  .home-hub__cooperation { align-items: stretch; }
  .home-hub__contact-details { display: flex; flex-direction: column; }
  .home-hub__contact-map { position: relative; flex: 1; min-height: 280px; }
  .home-hub__contact-map iframe { position: absolute; inset: 0; height: 100%; }
}
