/* =========================================================
   Digital Collections landing page for EE page body
   Upload as: /assets/css/digital-collections-fullwidth.css
========================================================= */

#global-footer {
  display: none !important;
}

/* Hide the normal EE page title/sidebar area for this landing page */
.sub-nav-block,
.main-content-block > header.block-header,
.main-content-block > h1:first-child,
.main-content-block > .block-header,
.main-content-wrapper h1:first-child:not(.dc-section-title) {
  display: none !important;
}

.main-content-wrapper .container,
.main-content-wrapper .custom-container,
.main-content-wrapper .row,
.main-content-wrapper .main,
.main-content-wrapper .main-content-block {
  max-width: none !important;
  width: 100% !important;
}

.main-content-wrapper .container,
.main-content-wrapper .custom-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-content-wrapper .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dc-page {
  --dc-olive: #283314;
  --dc-olive-mid: #3e4a28;
  --dc-olive-soft: #dae8ba;
  --dc-bronze: #7e571c;
  --dc-stone: #f6f3f2;
  --dc-stone-2: #e4e2e1;
  --dc-text: #4f5149;
  --dc-muted: #6f7169;
  --dc-dark: #1b1c1c;
  --dc-shadow: 0 10px 28px rgba(0,0,0,.06);
  --dc-shadow-hover: 0 16px 36px rgba(0,0,0,.11);

  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--dc-dark);
  font-family: inherit;
}

.dc-page,
.dc-page p,
.dc-page a,
.dc-page input,
.dc-page button {
  font-family: inherit;
}

.dc-page h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}

.dc-page h2,
.dc-page h3,
.dc-kicker,
.dc-label,
.dc-tag,
.dc-button,
.dc-search button,
.dc-section-link {
  font-family: 'Open Sans Condensed', sans-serif;
}

.dc-page a {
  color: inherit;
}

.dc-container {
  box-sizing: border-box;
  max-width: 1480px;
  margin: 0 auto;
  padding: 56px 48px 88px;
}

/* Hero */
.dc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: 64px;
}

.dc-hero-copy {
  min-width: 0;
}

.dc-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--dc-bronze);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dc-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--dc-olive);
  font-size: clamp(42px, 4vw, 70px);
  line-height: 1.02;
  font-weight: 400;
}

.dc-lead {
  max-width: 850px;
  margin: 0 0 30px;
  color: var(--dc-text);
  font-family: 'EB Garamond', serif;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.35;
  font-weight: 400;
}

/* Search box is currently commented out in the HTML, but styles are kept for later use. */
.dc-search {
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #c6c8bb;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.045);
}

.dc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  box-shadow: none;
  padding: 12px 14px;
  font-size: 16px;
}

.dc-search input:focus {
  outline: 0;
}

.dc-search button,
.dc-button {
  display: inline-block;
  border: 1px solid var(--dc-olive);
  background: var(--dc-olive);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
  white-space: nowrap;
}

.dc-search button:hover,
.dc-button:hover {
  background: var(--dc-bronze);
  border-color: var(--dc-bronze);
  transform: translateY(-1px);
}

.dc-search-disabled {
  background: #f3f3f3;
  border-color: #d2d2d2;
  box-shadow: none;
  opacity: .85;
}

.dc-search-disabled input,
.dc-search-disabled button {
  cursor: not-allowed;
}

.dc-search-disabled input {
  background: transparent;
  color: #777;
}

.dc-search-disabled button,
.dc-search button:disabled {
  background: #9aa0a6;
  border-color: #9aa0a6;
  color: #fff !important;
  transform: none;
}

.dc-hero-image {
  position: relative;
  min-width: 0;
}

.dc-hero-image a {
  display: block;
  text-decoration: none !important;
}

.dc-hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--dc-stone-2);
  border-radius: 10px;
  box-shadow: var(--dc-shadow);
}

.dc-floating-note {
  position: absolute;
  left: -34px;
  bottom: -30px;
  max-width: 350px;
  padding: 22px 24px;
  background: #bec1a3;
  border: 1px solid var(--dc-bronze);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--dc-shadow);
}

.dc-floating-note strong {
  display: block;
  color: var(--dc-olive);
  font-family: 'EB Garamond', serif;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
}

/* ESPA Portal band */
.dc-feature-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 72px;
  padding: 30px 34px;
  background: var(--dc-stone);
  border: 1px solid var(--dc-stone-2);
  border-radius: 12px;
  box-shadow: var(--dc-shadow);
}

.dc-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  background: var(--dc-bronze);
  color: #fff;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dc-feature-band h2 {
  margin: 0 0 12px;
  color: var(--dc-olive);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

.dc-feature-band p {
  max-width: 980px;
  margin: 0;
  color: var(--dc-text);
  font-size: 16px;
  line-height: 1.65;
}

/* Collection sections, option C */
.dc-collection-section {
  margin-top: 72px;
}

.dc-collection-section:first-of-type {
  margin-top: 0;
}

.dc-section-header {
  display: block;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--dc-stone-2);
}

.dc-section-header::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--dc-olive-mid);
}

.dc-section-title {
  margin: 0 0 8px;
  color: var(--dc-olive);
  font-family: 'EB Garamond', serif;
  font-size: clamp(34px, 2.6vw, 44px);
  line-height: 1.12;
  font-weight: 400;
}

.dc-section-description,
.dc-section-subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--dc-muted);
  font-size: 17px;
  line-height: 1.65;
}

.dc-section-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--dc-bronze) !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
}

.dc-section-link:hover {
  color: var(--dc-olive) !important;
}

/* Cards */
.dc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.dc-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dc-stone-2);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  height: auto !important;
  min-height: 0 !important;
}

.dc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dc-shadow-hover);
}

.dc-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.dc-card img {
  width: 100%;
  height: 230px !important;
  flex: 0 0 auto;
  object-fit: cover;
  transition: transform .45s ease;
}

.dc-card:hover img {
  transform: scale(1.04);
}

.dc-card-body {
  display: block !important;
  flex: 1 1 auto;
  min-height: 170px;
  padding: 22px 24px 26px !important;
  background: #fff;
}

.dc-tag {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: 12px;
  padding: 4px 9px;
  background: var(--dc-olive-soft);
  color: var(--dc-olive);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dc-card h3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 8px;
  color: var(--dc-dark);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 700;
}

.dc-card p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0;
  color: var(--dc-text);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1250px) {
  .dc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dc-container {
    padding: 42px 28px 68px;
  }

  .dc-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dc-hero-image {
    max-width: 520px;
  }

  .dc-floating-note {
    position: static;
    margin-top: 18px;
    max-width: none;
  }

  .dc-feature-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .dc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dc-container {
    padding: 34px 18px 54px;
  }

  .dc-hero h1 {
    font-size: 38px;
  }

  .dc-lead {
    font-size: 21px;
  }

  .dc-search {
    border-radius: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .dc-search input,
  .dc-search button {
    width: 100%;
  }

  .dc-collection-section {
    margin-top: 54px;
  }

  .dc-grid {
    grid-template-columns: 1fr;
  }

  .dc-card img {
    height: 210px !important;
  }
}
/* Final spacing refinements */
.dc-collection-section {
  margin-top: 90px;
}

.dc-collection-section:first-of-type {
  margin-top: 0;
}

.dc-section-header {
  margin-bottom: 40px;
}

.dc-section-description {
  margin-top: 10px;
}

/* Centered plain-text portal link */
.dc-browse-all {
  text-align: center;
  margin: 42px 0 72px;
}

.dc-all-link {
  color: var(--dc-bronze) !important;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.dc-all-link:hover {
  color: var(--dc-olive) !important;
  text-decoration: none !important;
}

.dc-all-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .25s ease;
}

.dc-all-link:hover span {
  transform: translateX(4px);
}
