.resources-page { overflow-x: hidden; }
.resources-page main { background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hub-hero { position: relative; min-height: 420px; color: #fff; background: linear-gradient(90deg, rgba(3,24,52,.97) 0%, rgba(3,27,58,.85) 46%, rgba(3,26,56,.54) 72%, rgba(3,24,52,.85) 100%), url("../assets/resources/resources-hero.png") center 62% / cover no-repeat; }
.hub-hero__inner { min-height: 420px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.75fr); gap: 56px; align-items: center; padding-block: 52px; }
.hub-hero__copy { max-width: 760px; }
.hub-eyebrow { margin: 0 0 10px; color: #f4b52e; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .73rem; }
.hub-hero h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem,5vw,5.3rem); line-height: .96; letter-spacing: -.035em; }
.hub-hero h1 span { color: #f5b52b; }
.hub-hero__copy > p:last-of-type { max-width: 620px; margin: 18px 0 0; font-size: clamp(1rem,1.5vw,1.32rem); line-height: 1.45; color: #f4f7fb; }
.hub-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 30px; max-width: 720px; }
.hub-pillars > span { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 0 16px; border-right: 1px solid rgba(255,255,255,.28); }
.hub-pillars > span:first-child { padding-left: 0; }
.hub-pillars > span:last-child { border: 0; }
.hub-pillars i { grid-row: 1/3; align-self: center; color: #f5b52b; font-size: 1.55rem; }
.hub-pillars b { font-size: .8rem; }
.hub-pillars small { color: #d7e0ec; font-size: .65rem; }
.hub-hero__message { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; background: rgba(2,17,38,.42); backdrop-filter: blur(3px); }
.hub-hero__message blockquote { margin: 0 0 24px; font: italic 1.22rem/1.5 Georgia,serif; }
.hub-hero__message a, .hub-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 24px; border-radius: 5px; background: #f4b52e; color: #071a3a; font-weight: 800; font-size: .85rem; }

.hub-search { padding: 14px 0; border-bottom: 1px solid #e4e9f0; background: #f6f8fb; }
.hub-search__inner { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(220px,.85fr) 180px; gap: 14px; }
.hub-search label { min-width: 0; }
.hub-search__field { position: relative; }
.hub-search__field i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #09264d; }
.hub-search input, .hub-search select { width: 100%; height: 48px; border: 1px solid #d9e0ea; border-radius: 6px; background: #fff; color: #142947; font: inherit; padding: 0 16px; }
.hub-search input { padding-left: 48px; }
.hub-search input:focus, .hub-search select:focus { outline: 3px solid rgba(223,161,27,.19); border-color: #d49714; }
.hub-search button { border: 0; border-radius: 6px; background: #bd7b00; color: #fff; font-weight: 800; cursor: pointer; }

.hub-section { padding: 64px 0; }
.hub-blogs { background: linear-gradient(#fff,#fbfcfe); }
.hub-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.hub-heading p { margin: 0 0 5px; color: #b97800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.hub-heading h2 { margin: 0; color: #061a3a; font: 700 clamp(1.8rem,3vw,2.65rem)/1.1 Georgia,serif; }
.hub-heading h2::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 9px; background: #d99b17; }
.hub-heading span { display: block; margin-top: 8px; color: #536177; }
.hub-heading > a { flex: none; color: #b97800; font-size: .8rem; font-weight: 800; }
.hub-heading--center { justify-content: center; text-align: center; }
.hub-heading--center h2::after { margin-inline: auto; }

.blog-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.blog-card { min-width: 0; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(5,28,60,.08); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(5,28,60,.13); }
.blog-card__image { position: relative; display: block; aspect-ratio: 16/7; overflow: hidden; background: linear-gradient(135deg,#0c315f,#b67b10); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover img { transform: scale(1.035); }
.blog-card__category { position: absolute; left: 14px; bottom: 0; padding: 7px 11px; background: #f5b52b; color: #061a3a; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.blog-card__body { padding: 17px 18px 15px; }
.blog-card h3 { margin: 0 0 7px; color: #071a3a; font: 700 1.14rem/1.15 Georgia,serif; }
.blog-card__body > p { min-height: 42px; margin: 0 0 12px; color: #536177; font-size: .82rem; line-height: 1.45; }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #748198; font-size: .7rem; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf0f4; }
.blog-card__footer span { color: #607087; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-card__footer a { flex: none; color: #b97800; font-size: .74rem; font-weight: 800; }
.blog-empty { grid-column: 1/-1; padding: 52px 24px; border: 1px dashed #cfd8e4; border-radius: 10px; text-align: center; color: #657287; }
.blog-empty i { color: #d39a20; font-size: 2rem; }
.blog-empty h3 { margin: 12px 0 5px; color: #071a3a; }
.blog-empty p { margin: 0; }

.hub-library { background: #f4f6f9; border-top: 1px solid #e5e9ef; }
.hub-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.library-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; border: 1px solid #dfe5ed; border-radius: 9px; background: #fff; box-shadow: 0 8px 20px rgba(6,27,58,.05); }
.library-card__title { display: flex; gap: 12px; align-items: flex-start; min-height: 76px; }
.library-card__title > i { width: 39px; height: 39px; display: grid; place-items: center; flex: none; border-radius: 6px; background: #bd7b00; color: #fff; }
.library-card h3 { margin: 0; color: #071a3a; font: 700 1.02rem/1.15 Georgia,serif; }
.library-card__title p { margin: 4px 0 0; color: #617086; font-size: .73rem; line-height: 1.35; }
.library-card ul { list-style: none; padding: 0; margin: 8px 0 0; }
.library-card li { border-top: 1px solid #edf0f4; }
.library-card li a { display: flex; align-items: center; gap: 10px; padding: 11px 4px; color: #18304f; font-size: .76rem; }
.library-card li a > span:last-child { margin-left: auto; color: #b97800; }
.library-card li i { color: #e32627; }
.library-card__more { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: #b97800; font-size: .72rem; font-weight: 800; }
.media-tile { position: relative; min-height: 150px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding: 18px; border-radius: 6px; background: linear-gradient(rgba(3,20,44,.2),rgba(3,20,44,.9)), url("../assets/reference/summit-conference-hero.png") center/cover; color: #fff; text-align: center; font-weight: 700; font-size: .82rem; }
.media-tile--faith { background-image: linear-gradient(rgba(3,20,44,.1),rgba(3,20,44,.92)), url("../assets/resources/resources-hero.png"); }
.media-tile__play { position: absolute; inset: 38px auto auto 50%; transform: translateX(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; }
.magazine-tile, .book-tile { display: grid; grid-template-columns: 95px 1fr; gap: 14px; min-height: 150px; align-items: center; }
.magazine-tile img, .book-tile img { width: 95px; height: 135px; object-fit: contain; background: #eee7dc; }
.magazine-tile b, .book-tile b { color: #071a3a; font-size: .82rem; }
.magazine-tile p, .book-tile p { margin: 7px 0; color: #617086; font-size: .73rem; line-height: 1.35; }
.magazine-tile a, .book-tile a { display: inline-flex; padding: 8px 10px; border-radius: 4px; background: #f4b52e; color: #071a3a; font-size: .68rem; font-weight: 800; }
.latest-list a { align-items: flex-start !important; }
.latest-list i { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 4px; background: #eaf0f7; color: #173860 !important; }
.latest-list b, .latest-list small { display: block; }
.latest-list b { color: #152c49; font-size: .75rem; line-height: 1.25; }
.latest-list small { margin-top: 3px; color: #78859a; font-size: .64rem; }

.hub-books { background: #fff; }
.hub-book-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 22px; }
.hub-book-grid article { text-align: center; }
.hub-book-grid img { width: 100%; aspect-ratio: .8; object-fit: contain; padding: 10px; border-radius: 8px; background: #f0ece4; box-shadow: 0 12px 25px rgba(7,26,58,.13); }
.hub-book-grid h3 { min-height: 42px; margin: 14px 0 10px; color: #071a3a; font-size: .85rem; }
.hub-book-grid a { display: inline-flex; padding: 9px 18px; border-radius: 4px; background: #f4b52e; color: #071a3a; font-size: .7rem; font-weight: 800; text-transform: uppercase; }

.hub-cta { padding: 28px 0; color: #fff; background: linear-gradient(90deg,#04152f 0%,#0b3261 64%,#6a4c14 100%); }
.hub-cta .resource-shell { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(280px,.8fr); align-items: center; gap: 36px; }
.hub-cta h2 { margin: 0 0 4px; color: #f5b52b; font: 700 1.55rem Georgia,serif; }
.hub-cta p { margin: 0; color: #dde6f2; font-size: .8rem; }
.hub-cta blockquote { margin: 0; font: italic .86rem/1.5 Georgia,serif; text-align: center; }
.hub-cta cite { display: block; font: 700 .6rem/1.5 sans-serif; text-transform: uppercase; }

@media (max-width: 1100px) {
  .hub-hero__inner { grid-template-columns: minmax(0,1.25fr) minmax(260px,.65fr); gap: 28px; }
  .hub-pillars { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
  .hub-pillars > span:nth-child(2) { border: 0; }
  .hub-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hub-book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hub-cta .resource-shell { grid-template-columns: 1fr auto; }
  .hub-cta blockquote { grid-column: 1/-1; }
}

@media (max-width: 820px) {
  .hub-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hub-hero__message { align-self: auto; padding: 22px; }
  .hub-search__inner { grid-template-columns: 1fr 1fr; }
  .hub-search button { min-height: 46px; grid-column: 1/-1; }
  .blog-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hub-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .hub-hero { min-height: auto; }
  .hub-hero__inner { min-height: auto; padding-block: 42px; }
  .hub-hero h1 { font-size: clamp(2.55rem,12vw,4rem); }
  .hub-pillars { grid-template-columns: 1fr 1fr; }
  .hub-pillars > span { padding: 0 8px; }
  .hub-search__inner, .blog-card-grid, .hub-library-grid { grid-template-columns: 1fr; }
  .hub-search button { grid-column: auto; }
  .hub-heading { align-items: flex-start; flex-direction: column; }
  .hub-heading--center { align-items: center; }
  .hub-book-grid { gap: 14px; }
  .hub-cta .resource-shell { grid-template-columns: 1fr; text-align: center; }
  .hub-cta a { justify-self: center; }
}
