.media-page {
  min-width: 0;
}
.media-youtube [hidden] { display: none !important; }
.media-youtube-status,
.media-youtube-source,
.media-youtube-player-status,
.media-youtube-direct { font-family: "Nunito", "Trebuchet MS", sans-serif; font-size: 14px; line-height: 1.5; }
.media-youtube-status { margin: 12px 0; color: #50613b; }
.media-youtube-preview { width: min(100%, 480px); height: 270px; margin: 12px 0; overflow: hidden; border-radius: 20px; background: #f2f7e8; }
.media-youtube-preview iframe,
.media-youtube-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.media-youtube-source { margin: 16px 0; }
.media-youtube-source a,
.media-youtube-direct { color: #086624; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.media-youtube-card { position: relative; }
.media-youtube-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid white; border-radius: 50%; color: white; background: #1724219c; transform: translate(-50%, -50%); box-shadow: 0 3px 12px #0003; }
.media-youtube-play svg { width: 24px; height: 24px; }
.media-youtube-badge { position: absolute; bottom: 8px; right: 8px; padding: 4px 8px; border-radius: 8px; color: white; background: #172421df; font: 700 11px "Nunito", sans-serif; }
.media-youtube-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 14px; border: 0; border-radius: 24px; background: #fffffc; color: #086624; overflow: auto; box-shadow: 0 16px 60px #0004; }
.media-youtube-dialog::backdrop { background: #102017b8; }
.media-youtube-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.media-youtube-dialog h2 { margin: 0; font: 900 21px var(--font-heading); }
.media-youtube-dialog header button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #eef5d9; color: #086624; font: 32px "Nunito", sans-serif; cursor: pointer; }
.media-youtube-player { width: 100%; height: min(62dvh, 620px); min-height: 200px; overflow: hidden; border-radius: 14px; background: #172421; }
.media-youtube-player-status { margin: 10px 0; color: #50613b; }
.media-youtube-player-status:empty { display: none; }
.media-youtube-direct { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; }
.media-youtube-dialog button:focus-visible,
.media-youtube-source a:focus-visible,
.media-youtube-direct:focus-visible { outline: 3px solid #9444c9; outline-offset: 3px; }
.media-youtube-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body:is([data-view="photos"],[data-view="videos"]) #content-view { background:#fffffc; border-radius:34px; }
.media-page-heading { display:block; margin-bottom:24px; }
.media-heading-icon { display:grid; place-items:center; flex:none; width:66px; height:66px; border-radius:21px; color:white; background:linear-gradient(135deg,#19a9ff,#0056c5); box-shadow:inset 0 1px 0 #fff8,0 5px 12px #0875d425; }
.media-heading-icon .media-icon { width:34px; height:34px; }
.media-page-videos .media-heading-icon { background:linear-gradient(135deg,#b15cff,#6a0ecb); }
.media-page-heading h1 { margin-bottom:6px; color:#086624; }
.media-page-heading .page-intro { font-family:"Nunito","Trebuchet MS",sans-serif; margin:0; font-size:15px; line-height:1.5; }
.media-page-heading .eyebrow { color:#477515; font:900 13px var(--font-heading); margin:0 0 10px; letter-spacing:1px; }
.media-categories { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.media-categories button { min-height:40px; padding:9px 21px; border-radius:25px; background:#f2f7e8; color:#086624; font-size:13px; font-weight:800; }
.media-categories button[aria-pressed="true"] { background:linear-gradient(120deg,#188b26,#80bc0a); color:white; }
.media-social-banner { display:flex; gap:20px; align-items:center; margin-top:14px; padding:16px 24px; border-radius:23px; background:linear-gradient(110deg,#eff6e2,#f7f9ec); }
.media-social-banner-art { flex:none; color:#80b626; transform:rotate(-14deg); }
.media-social-banner-art .media-icon { width:64px; height:64px; stroke-width:1.6; filter:drop-shadow(4px 3px 0 white); }
.media-social-banner h2 { font-family:"Nunito","Trebuchet MS",sans-serif; text-transform:none; font-size:16px; color:#086624; margin-bottom:6px; }
.media-social-banner p { font-size:14px; line-height:1.5; color:#62665a; }
.media-social-banner a { display:flex; align-items:center; justify-content:center; gap:12px; flex:none; margin-left:auto; min-height:52px; padding:12px 24px; border-radius:30px; color:white; background:linear-gradient(110deg,#ff0870,#ff0054); font:900 20px var(--font-heading); text-transform:uppercase; box-shadow:0 4px 8px #ff005425; }
.media-social-banner a:focus-visible { outline:3px solid #9444c9; outline-offset:4px; }
.media-page > .eyebrow {
  margin-bottom: 8px;
  color: #69802d;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.5;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.media-page .page-intro {
  max-width: 760px;
}
.media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}
.media-tabs-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 20px 7px 8px;
  border: 1px solid #eadcbd;
  border-radius: 999px;
  background: #fffaf1;
  color: #50613b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 3px 0 #efe4c766;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.media-tabs-link[aria-current="page"] {
  border-color: #8bbe21;
  background: #eef5d9;
  color: #248b1a;
  box-shadow: 0 3px 0 #82ad2329;
}
.media-tabs-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 2px 2px #ffffff38;
}
.media-tabs-icon-photos {
  background: linear-gradient(135deg, #ff85ae, #ec3c7f);
}
.media-tabs-icon-videos {
  background: linear-gradient(135deg, #bf86e1, #914ac1);
}
.media-tabs-icon .media-icon {
  width: 20px;
  height: 20px;
}
.media-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.media-photo-card {
  display: flex;
  align-self: start;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #248b1a;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 0 #efe4c766;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.media-photo-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  background: #fff9ed;
}
.media-photo-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.media-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fffaf3ee;
  box-shadow: 0 2px 9px #29471b26;
}
.image-dialog[data-gallery="photos"] .dialog-heading { justify-content: flex-end; }
.media-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.media-round {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 0 #4d672112;
}
.media-round .media-icon {
  width: 25px;
  height: 25px;
}
.media-round-purple {
  color: #fff;
  background: linear-gradient(135deg, #bf86e1, #914ac1);
}
.media-round-dark {
  color: #fff;
  background: linear-gradient(135deg, #526064, #263238);
}
.media-round-lime {
  color: #33761a;
  background: #ecf3d7;
}
.media-tour-card,
.media-social-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 23px;
  border: 1px solid #e6d7ef;
  border-radius: 26px;
  background: linear-gradient(140deg, #fbf4ff, #fffaf1);
}
.media-tour-card h2,
.media-social-card h2,
.media-video-card h2 {
  margin: 0;
  color: #258d1a;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
}
.media-tour-card p,
.media-social-card p,
.media-video-card p {
  margin: 0;
  color: #6d7063;
  font-size: 15px;
  line-height: 1.5;
}
.media-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 11px 16px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #83bd19;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 #4d67211a;
  transition: transform 180ms ease, background-color 180ms ease;
}
.media-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.media-video-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #efdfbd;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 0 #efe4c766;
}
.media-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  max-height: 62svh;
  aspect-ratio: 16 / 9;
  background: #22311b;
  object-fit: contain;
}
.media-video-card figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
}
.media-video-card figcaption .media-round { display:none; }
.media-video-card h2 { font-size:17px; }
.media-video-card figcaption p { display:none; }
.media-page-videos>.media-social-card { margin-top:14px; }
.media-video-card figcaption > div {
  min-width: 0;
}
.media-video-card h2 {
  margin-bottom: 6px;
}
.media-duration {
  flex-shrink: 0;
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3f1e8;
  color: #626a52;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}
.media-social-card {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  border-color: #e4dec6;
  background: #faf6eb;
}
.media-social-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
}
.media-handle {
  color: #79874d;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.media-social-card .media-action {
  flex-shrink: 0;
  margin: 0 0 0 auto;
  background: #344b30;
}
.media-photo-card:focus-visible,
.media-tabs-link:focus-visible,
.media-action:focus-visible,
.media-video-card video:focus-visible {
  outline: 3px solid #9444c9;
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .media-tabs-link:hover {
    transform: translateY(-2px);
    border-color: #8bbe21;
    background: #eef5d9;
  }
  .media-photo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #efe4c766;
  }
  .media-action:hover {
    transform: translateY(-2px);
    background: #6ea816;
  }
  .media-social-card .media-action:hover {
    background: #246b29;
  }
}
@media (max-width: 1250px) and (min-width: 1025px) {
  .media-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .media-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .media-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-social-card {
    flex-wrap: wrap;
  }
  .media-social-copy {
    flex: 1;
  }
  .media-social-card .media-action {
    margin-left: 70px;
  }
}
@media (max-width: 619px) {
  .media-social-banner { flex-wrap:wrap; gap:12px; padding:18px; }
  .media-social-banner-art { display:none; }
  .media-social-banner a { width:100%; margin:0; }
  .media-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 16px 0 18px;
  }
  .media-tabs-link {
    flex: 1 1 auto;
    gap: 7px;
    min-height: 48px;
    padding: 6px 10px 6px 6px;
    font-size: 13px;
  }
  .media-tabs-icon {
    width: 31px;
    height: 31px;
  }
  .media-photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    margin-top: 20px;
  }
  .media-photo-image img {
    aspect-ratio: 3 / 2;
  }
  .media-tour-card,
  .media-social-card {
    gap: 13px;
    padding: 20px;
  }
  .media-social-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .media-social-card .media-action {
    margin: 4px 0 0;
  }
  .media-video-card {
    border-radius: 23px;
  }
  .media-video-card figcaption {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px;
  }
  .media-video-card figcaption > div {
    flex: 1 1 calc(100% - 60px);
  }
  .media-video-card h2 {
    font-size: 19px;
  }
  .media-duration {
    margin-left: 60px;
  }
  .media-video-grid {
    grid-template-columns:minmax(0,1fr);
    gap: 17px;
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .media-photo-card,
  .media-tabs-link,
  .media-action {
    transition: none;
  }
}
