/* v0.7 home mode: photos + video first, journal continues below. */
html[data-experience="home"] #content-inner.layout {
  display: block;
  max-width: 1360px;
  padding: 2.1rem clamp(18px,2.2vw,34px) 0;
}

html[data-experience="home"] #aside-content {
  display: none !important;
}

html[data-experience="home"] #recent-posts {
  width: 100%;
}

html[data-experience="home"] #content-inner.layout > .media-home,
html[data-experience="home"] #content-inner.layout > .media-home:hover {
  width: 100% !important;
  align-self: stretch !important;
  margin: 0 0 2.8rem;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.media-home-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 8px 12px 4px;
  text-align: center;
}

.media-home-intro h2,
.media-journal-heading h2 {
  margin: 0;
  color: var(--skin-text);
  font-size: clamp(1.65rem,3vw,2.6rem);
  line-height: 1.24;
}

.media-home-intro p,
.media-journal-heading p {
  margin: .65rem auto 0;
  color: var(--skin-muted);
  line-height: 1.75;
}

.media-feature-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: 430px;
  gap: 20px;
}

.media-feature {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #dce5de;
  box-shadow: 0 18px 50px rgba(42,64,52,.12);
  color: #fff !important;
  isolation: isolate;
}

.media-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.05) contrast(.99);
  transition: transform .65s cubic-bezier(.22,.72,.2,1), filter .35s ease;
}

.media-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(14,28,20,0) 40%,rgba(14,28,20,.10) 60%,rgba(14,28,20,.58) 100%);
}

.media-feature:hover img {
  transform: scale(1.035);
  filter: brightness(1.08) saturate(1.08);
}

.media-feature-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 30px;
}

.media-feature-kicker {
  display: block;
  margin-bottom: 5px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: .82;
}

.media-feature h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem,2.2vw,2.1rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.media-feature p {
  max-width: 520px;
  margin: .45rem 0 0;
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  line-height: 1.65;
}

.media-home-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 1.25rem auto 0;
  padding: 14px 18px;
  border: 1px solid var(--skin-border);
  border-radius: 16px;
  background: color-mix(in srgb,var(--skin-card) 78%,transparent);
  box-shadow: var(--skin-shadow-soft);
  backdrop-filter: blur(calc(var(--skin-blur) * .65));
  -webkit-backdrop-filter: blur(calc(var(--skin-blur) * .65));
}

.media-home-note-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb,var(--skin-accent) 12%,transparent);
  color: var(--skin-accent);
}

.media-home-note-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.media-home-note-copy strong {
  color: var(--skin-text);
}

.media-home-note-copy span {
  color: var(--skin-muted);
  font-size: .9rem;
}

.media-journal-heading {
  margin: 3.5rem 0 1.45rem;
  text-align: left;
}

.media-journal-heading h2 {
  font-size: clamp(1.5rem,2.4vw,2.1rem);
}

html[data-experience="home"] #recent-posts > .recent-post-item {
  min-height: 268px;
  margin-bottom: 20px;
  border-radius: 22px !important;
}

html[data-experience="home"] #recent-posts > .recent-post-item .post_cover {
  width: 44%;
}

html[data-experience="home"] #recent-posts > .recent-post-item .recent-post-info {
  padding: 2.15rem 2.4rem;
}

html[data-experience="home"] #recent-posts .article-title {
  color: var(--skin-text) !important;
  font-size: 1.35rem;
}

html[data-experience="home"] #recent-posts .content {
  color: var(--skin-muted) !important;
  line-height: 1.8;
}
