.resource-shell {
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
}

.resource-hero { overflow: hidden; padding: 10.5rem 0 6rem; }
.resource-hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr); align-items: center; gap: 4.5rem; }
.resource-hero-copy h1 { max-width: 48rem; margin: 1.6rem 0 0; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.06em; }
.resource-hero-copy > p { max-width: 42rem; margin: 1.5rem 0 0; color: #9ba6bd; font-size: 1rem; line-height: 1.8; }
.resource-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.resource-hero-actions button { border: 1px solid var(--line); cursor: pointer; }
.resource-hero-actions svg, .resource-contribute svg { width: 1rem; height: 1rem; }
.resource-marketplace-note { display: flex; align-items: center; gap: .5rem; font-size: .76rem !important; }
.resource-marketplace-note svg { width: 1rem; height: 1rem; flex: none; color: #4EDCBE; }
.resource-marketplace-note a { color: #7DEACD; font-weight: 800; }
.resource-marketplace-note a:hover { color: white; }

.resource-format-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 1rem; border: 1px solid rgba(255,255,255,.11); border-radius: 1.7rem; background: linear-gradient(145deg, rgba(20,27,51,.88), rgba(9,13,26,.82)); box-shadow: 0 35px 90px rgba(0,0,0,.38); backdrop-filter: blur(20px); }
.resource-format-panel a { display: grid; min-width: 0; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 1.1rem; background: rgba(255,255,255,.025); }
.resource-format-panel a:hover { transform: translateY(-3px); border-color: rgba(26,170,140,.46); background: rgba(255,255,255,.055); }
.resource-format-panel a > span { display: grid; width: 2.55rem; height: 2.55rem; grid-row: span 2; place-items: center; border-radius: .8rem; background: rgba(20,134,110,.11); color: #5EEAC8; }
.resource-format-panel svg { width: 1.1rem; height: 1.1rem; }
.resource-format-panel strong { overflow: hidden; color: white; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.resource-format-panel small { color: #68748c; font-size: .65rem; font-weight: 750; }

.resource-directory { min-height: 42rem; padding: 5rem 0 6.5rem; border-top: 1px solid var(--line); background: #080b16; }
.resource-search { display: flex; max-width: 62rem; align-items: stretch; gap: .75rem; margin: 0 auto; }
.resource-search-field { display: flex; min-width: 0; flex: 1; align-items: center; gap: .7rem; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; background: rgba(255,255,255,.04); padding: .45rem .85rem; }
.resource-search-field:focus-within { border-color: rgba(26,170,140,.68); box-shadow: 0 0 0 4px rgba(20,134,110,.10); }
.resource-search-field svg { width: 1.1rem; height: 1.1rem; flex: none; color: #6b7790; }
.resource-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: .85rem .15rem; color: white; }
.resource-search-field input::placeholder { color: #68738a; }
.resource-search button { border: 0; cursor: pointer; }
.resource-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1rem; color: #647087; font-size: .69rem; }
.resource-popular span { font-weight: 800; }
.resource-popular a { color: #a8b5ca; font-weight: 800; }
.resource-popular a:hover { color: #5EEAC8; }

.resource-types { display: flex; gap: .55rem; margin-top: 2.75rem; padding-bottom: .4rem; overflow-x: auto; }
.resource-types a { flex: none; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; padding: .65rem .95rem; color: #98a3b9; font-size: .72rem; font-weight: 800; }
.resource-types a:hover { border-color: rgba(26,170,140,.46); color: white; }
.resource-types a.is-active { border-color: #1AAA8C; background: rgba(20,134,110,.17); color: white; }

.resource-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-top: 2.25rem; }
.resource-kicker { margin: 0 0 .7rem; color: #4EDCBE; font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.resource-results-heading h2, .resource-contribute h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.resource-results-heading > div > p:last-child { margin: .75rem 0 0; color: #8490a7; font-size: .8rem; }
.resource-clear { display: inline-flex; align-items: center; gap: .4rem; flex: none; color: #7DEACD; font-size: .72rem; font-weight: 800; }
.resource-clear svg { width: .9rem; height: .9rem; }
.resource-clear:hover { color: white; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2rem; }
.resource-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid rgba(255,255,255,.10); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(20,25,45,.94), rgba(12,15,29,.94)); padding: 1.35rem; box-shadow: 0 22px 55px rgba(0,0,0,.2); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.resource-card:hover { transform: translateY(-4px); border-color: rgba(26,170,140,.42); box-shadow: 0 28px 65px rgba(0,0,0,.32); }
.resource-card-top { display: flex; min-height: 1.5rem; align-items: center; justify-content: space-between; gap: .75rem; }
.resource-type { display: inline-flex; align-items: center; gap: .4rem; color: #5EEAC8; font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.resource-type svg { width: .9rem; height: .9rem; }
.resource-type-podcast .resource-type, .resource-type-video .resource-type { color: #72e3ba; }
.resource-type-book .resource-type { color: #ffd078; }
.resource-type-event .resource-type { color: #c4a7ff; }
.resource-host { max-width: 48%; overflow: hidden; color: #68748b; font-size: .63rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.resource-card h3 { margin: 1.1rem 0 0; color: white; font-size: 1.04rem; line-height: 1.45; letter-spacing: -.015em; }
.resource-byline { margin: .45rem 0 0; color: #6f7b92; font-size: .69rem; font-weight: 700; }
.resource-description { min-height: 4.2rem; margin: .8rem 0 0; color: #929db3; font-size: .75rem; line-height: 1.65; }
.resource-metadata { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin: .9rem 0 0; padding: 0; color: #aab5c8; font-size: .68rem; list-style: none; }
.resource-metadata li { position: relative; }
.resource-metadata li + li::before { position: absolute; left: -.62rem; color: #4f5a70; content: "·"; }
.resource-skills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.resource-skills a { border: 1px solid rgba(26,170,140,.18); border-radius: 999px; background: rgba(20,134,110,.07); padding: .3rem .5rem; color: #8FE9D2; font-size: .6rem; font-weight: 800; }
.resource-skills a:hover { border-color: rgba(26,170,140,.42); color: white; }
.resource-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.08); }
.resource-primary-action { display: inline-flex; align-items: center; gap: .35rem; color: #5EEAC8; font-size: .71rem; font-weight: 850; }
.resource-primary-action svg { width: .85rem; height: .85rem; }
.resource-primary-action:hover { color: white; }
.resource-detail-action { color: #8995aa; font-size: .68rem; font-weight: 800; }
.resource-detail-action:hover { color: white; }

.resource-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.resource-pagination a, .resource-pagination > span:not(.resource-page-count) { display: inline-flex; min-height: 2.65rem; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.11); border-radius: .8rem; padding: .6rem .85rem; color: #c6cede; font-size: .72rem; font-weight: 800; }
.resource-pagination a:hover { border-color: rgba(26,170,140,.55); background: rgba(20,134,110,.10); color: white; }
.resource-pagination svg { width: .9rem; height: .9rem; }
.resource-pagination .is-disabled { opacity: .35; }
.resource-page-count { color: #78839a; font-size: .72rem; font-weight: 800; }
.resource-empty { max-width: 40rem; margin: 3rem auto 0; padding: 3.5rem 2rem; border: 1px solid rgba(255,255,255,.11); border-radius: 1.5rem; background: rgba(255,255,255,.03); text-align: center; }
.resource-empty > span { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; margin: 0 auto; border-radius: 1rem; background: rgba(20,134,110,.1); color: #5EEAC8; }
.resource-empty svg { width: 1.35rem; height: 1.35rem; }
.resource-empty h3 { margin: 1.25rem 0 0; font-size: 1.65rem; }
.resource-empty p { max-width: 30rem; margin: .8rem auto 1.5rem; color: #8994aa; font-size: .82rem; line-height: 1.7; }

.resource-contribute { padding: 5.5rem 0; }
.resource-contribute-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
.resource-contribute p:not(.resource-kicker) { max-width: 44rem; margin: 1rem 0 0; color: #626a7c; line-height: 1.75; }
.resource-contribute button { border: 0; cursor: pointer; }

.resource-dialog { width: min(42rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 1.5rem; background: #101526; padding: 0; color: white; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.resource-dialog::backdrop { background: rgba(3,6,14,.78); backdrop-filter: blur(8px); }
.resource-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 1.5rem 0; }
.resource-dialog-head h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.035em; }
.resource-dialog-head > button { display: grid; width: 2.5rem; height: 2.5rem; flex: none; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: .75rem; background: rgba(255,255,255,.035); color: white; cursor: pointer; }
.resource-dialog-head > button:hover { background: rgba(255,255,255,.08); }
.resource-dialog-head svg { width: 1rem; height: 1rem; }
.resource-dialog-intro { margin: 1rem 1.5rem 0; color: #8e99ae; font-size: .78rem; line-height: 1.65; }
.resource-submit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.5rem; }
.resource-form-wide { grid-column: 1 / -1; }
.resource-form-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.resource-form-section[hidden] { display: none; }
.resource-form-field { display: grid; gap: .45rem; color: #c9d1df; font-size: .72rem; font-weight: 800; }
.resource-form-field span { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.resource-form-field small { color: #6e7990; font-size: .6rem; font-weight: 700; }
.resource-form-field input, .resource-form-field select, .resource-form-field textarea { width: 100%; min-height: 2.85rem; border: 1px solid rgba(255,255,255,.13); border-radius: .75rem; outline: 0; background: #0b1020; padding: .7rem .8rem; color: white; font-size: .78rem; }
.resource-form-field textarea { min-height: 5rem; resize: vertical; }
.resource-form-field input:focus, .resource-form-field select:focus, .resource-form-field textarea:focus { border-color: #2FC7A6; box-shadow: 0 0 0 3px rgba(20,134,110,.12); }
.resource-form-status { min-height: 1.4rem; color: #8fa0b9; font-size: .74rem; }
.resource-form-status.is-error { color: #ff9eaa; }
.resource-form-status.is-success { color: #76e2b8; }
.resource-form-actions { display: flex; justify-content: end; gap: .7rem; }
.resource-form-actions button { border: 0; cursor: pointer; }
.resource-form-actions button:disabled { cursor: wait; opacity: .65; }

.resource-detail-main { min-height: 75vh; overflow: hidden; padding: 9.5rem 0 6rem; }
.resource-detail-back { display: inline-flex; align-items: center; gap: .45rem; color: #8c98ae; font-size: .74rem; font-weight: 800; }
.resource-detail-back svg { width: .9rem; height: .9rem; }
.resource-detail-back:hover { color: white; }
.resource-detail-card { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; margin-top: 2rem; border: 1px solid rgba(255,255,255,.11); border-radius: 1.7rem; background: linear-gradient(145deg, rgba(20,27,51,.92), rgba(9,13,26,.9)); padding: clamp(1.5rem, 4vw, 3.25rem); box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.resource-detail-copy h1 { max-width: 50rem; margin: 1.2rem 0 0; font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; }
.resource-detail-byline { margin: .8rem 0 0; color: #7f8ba2; font-size: .78rem; font-weight: 750; }
.resource-detail-description { max-width: 48rem; margin: 1.5rem 0 0; color: #9ca7bb; line-height: 1.8; }
.resource-detail-metadata { display: grid; gap: .65rem; margin: 1.5rem 0 0; padding: 0; color: #c0c9d8; font-size: .75rem; font-weight: 750; list-style: none; }
.resource-detail-metadata li { display: flex; align-items: center; gap: .5rem; }
.resource-detail-metadata svg { width: .9rem; height: .9rem; color: #67dcb2; }
.resource-detail-actions { display: grid; align-self: start; gap: .8rem; border: 1px solid rgba(255,255,255,.09); border-radius: 1.2rem; background: rgba(255,255,255,.025); padding: 1rem; }
.resource-detail-stat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.resource-detail-stat span { display: inline-flex; align-items: center; gap: .45rem; color: white; font-size: .82rem; font-weight: 850; }
.resource-detail-stat svg { width: 1rem; height: 1rem; color: #5EEAC8; }
.resource-detail-stat small { color: #6e7a91; font-size: .62rem; font-weight: 750; text-align: right; }
.resource-detail-actions .button-primary { margin-top: .25rem; }
.resource-detail-actions .button-primary svg, .resource-detail-marketplace svg { width: 1rem; height: 1rem; }
.resource-detail-notice, .resource-detail-unavailable { margin: .2rem 0 0; color: #707c93; font-size: .67rem; line-height: 1.6; }
.resource-detail-unavailable { border: 1px solid rgba(255,185,90,.2); border-radius: .8rem; background: rgba(255,185,90,.06); padding: .8rem; color: #e7bd7b; }
.resource-detail-marketplace { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; margin-top: 1.2rem; border: 1px solid rgba(255,255,255,.09); border-radius: 1.3rem; background: rgba(255,255,255,.025); padding: 1.5rem; }
.resource-detail-marketplace h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.resource-detail-marketplace p:not(.resource-kicker) { margin: .55rem 0 0; color: #7d899f; font-size: .75rem; }

@media (max-width: 1023px) {
  .resource-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .resource-format-panel { max-width: 42rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-detail-card { grid-template-columns: minmax(0, 1fr); }
  .resource-detail-actions { width: min(100%, 30rem); }
}

@media (max-width: 699px) {
  .resource-shell { width: min(100% - 2rem, 80rem); }
  .resource-hero { padding: 8.75rem 0 4.5rem; }
  .resource-hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .resource-format-panel { grid-template-columns: minmax(0, 1fr); }
  .resource-search { flex-direction: column; }
  .resource-search button { width: 100%; }
  .resource-results-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .resource-pagination { gap: .5rem; }
  .resource-page-count { text-align: center; }
  .resource-contribute-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .resource-contribute button { width: 100%; }
  .resource-submit-form, .resource-form-section { grid-template-columns: minmax(0, 1fr); }
  .resource-form-field, .resource-form-wide { grid-column: 1; }
  .resource-form-actions { flex-direction: column-reverse; }
  .resource-form-actions button { width: 100%; }
  .resource-detail-main { padding: 8.25rem 0 4.5rem; }
  .resource-detail-card { gap: 2rem; padding: 1.25rem; }
  .resource-detail-actions { width: 100%; }
  .resource-detail-marketplace { grid-template-columns: minmax(0, 1fr); }
  .resource-detail-marketplace .button-secondary { width: 100%; }
}
