/* Sole owner of the approved discovery artwork and its responsive framing. */
/* Preserved cascade: app.css */

.discovery-cover {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: #174d43;
  margin-bottom: 24px;
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.discovery-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.discovery-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(5, 43, 35, 0.91),
    rgba(5, 43, 35, 0.48) 60%,
    rgba(5, 43, 35, 0.1)
  );
  z-index: -1;
}
.discovery-cover h1 {
  font-size: 2rem;
}
.discovery-cover p {
  color: #e4eee8;
  margin-bottom: 22px;
}
@media (max-width: 1000px) {
  .discovery-cover h1 {
    font-size: 1.8rem;
  }}
@media (max-width: 760px) {
  .discovery-cover {
    padding: 24px 20px;
    min-height: 258px;
    border-radius: 18px;
  }
  .discovery-cover h1 {
    font-size: 1.6rem;
    max-width: 240px;
  }
  .discovery-cover p {
    font-size: 0.875rem;
    max-width: 230px;
    margin-bottom: 18px;
  }}
/* Preserved cascade: visual-themes.css */

.discovery-cover {box-shadow:0 8px 25px #172d2114;}
.discovery-cover > img {object-position:38% center;}
.discovery-cover:after {background:linear-gradient(270deg,#112c23e8,#132e2355 65%,#132e2320);}
@media(max-width:700px) { .discovery-cover > img {object-position:30% center;} .discovery-cover:after {background:linear-gradient(0deg,#112c23ed,#132e2340 85%);}}
/* Preserved cascade: travel-experience.css */


/* Approved light campfire banner. Image, decorative contour and copy have separate boxes. */
.discovery-cover{container-type:inline-size;display:block;min-height:0;padding:0;background:#fffdf8;color:#23463c;box-shadow:0 8px 24px #264d3810}
.discovery-landscape{position:relative;min-width:0;overflow:hidden;line-height:0}
.discovery-landscape>img{position:relative;display:block;width:100%;height:auto;aspect-ratio:1942/810;object-fit:cover;object-position:left center}
.discovery-wave{position:absolute;left:0;bottom:-1px;width:100%;height:64px;height:clamp(42px,12cqw,110px);fill:#fffdf8;pointer-events:none}
.discovery-cover:after{display:none}
.discovery-trail{position:absolute;left:0;top:-52px;width:148px;height:148px;pointer-events:none;z-index:-1;overflow:visible}
.discovery-road{fill:none;stroke:#9ca68f;stroke-width:1.6;stroke-dasharray:3 6;stroke-linecap:round}
.discovery-pines{fill:#8ea58b}.discovery-trail circle{fill:#df6a32;stroke:#fffdf8;stroke-width:3}
.discovery-cover .cover-tag{position:static;display:inline-block;max-width:100%;margin-bottom:8px;color:#53745d;background:#f0f5eb;border-color:#dde7d8;backdrop-filter:none}
.discovery-cover h1{max-width:none;font-size:clamp(1.25rem,3vw,1.85rem);line-height:1.65;padding-inline-end:85px;color:#23463c}
.discovery-cover p{max-width:none;margin:6px 0 14px;color:#5b6d61}
.discovery-cover .search-form{position:relative;width:100%;max-width:none;min-width:0;border:1px solid #eeebe2;box-shadow:0 5px 18px #65543c0d;background:#fff}
.discovery-cover .search-field{min-width:0;flex:1}.discovery-cover .search-field input{min-width:0;width:100%;color:#25483d}
.discovery-cover .search-form .btn{flex:none;min-height:44px;background:#c24912;border-color:#c24912;color:#fff}
.discovery-cover .search-form:focus-within{outline:2px solid #c56b3f;outline-offset:3px}

/* Mobile art direction: enlarge the group, cropping only the empty right landscape. */
@media(max-width:760px) {
 .discovery-landscape>img{aspect-ratio:5/3;max-height:320px;object-fit:cover;object-position:left center}
 .discovery-trail{width:110px;height:110px;top:-43px}.discovery-cover h1{padding-inline-end:48px}
 .discovery-cover .cover-tag {display:none}
 .discovery-cover p {margin:4px 0 12px;line-height:1.85}}
.journey-discovery .install-suggestion {color:#285843;min-height:44px;}
@media(max-width:760px) {
  .journey-discovery .cover-tag,.journey-discovery .discovery-cover-copy>p {display:none;}
  .journey-discovery .discovery-cover-copy {padding:12px;}
  .journey-discovery h1 {font-size:1.15rem;margin:0 0 10px;max-width:none;}}
/* Preserved cascade: activation.css */

@media(max-width:760px){
 /* Image framing belongs to travel-experience.css; compact the copy only. */
 .journey-discovery .discovery-cover-copy{padding:10px 12px 12px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .journey-discovery h1{font-size:1.05rem;margin:0}
 .journey-discovery .search-form{grid-column:1/-1}
 .journey-discovery{margin-bottom:12px}
 .journey-discovery .install-suggestion{font-size:.72rem;align-self:flex-start;min-height:44px}}
/* Signed-in discovery gives actual trips room while retaining the same brand image and search. */
@media(max-width:760px){
 .discovery-returning .discovery-landscape>img{aspect-ratio:1942/810;max-height:160px}
 .discovery-returning .discovery-wave{height:42px}
 .discovery-returning .discovery-cover-copy{gap:6px;padding-block:8px}
}
