/* =============================================
   悠悠吧导航 — 手机优先重构
   ============================================= */

:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #64748b;
  --bg-color: #f0f4f8;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

/* =============================================
   头部
   ============================================= */
.header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-bottom: 12px;
}

.header .container {
  display: flex;
  align-items: center;
  padding: 14px 16px 0;
}

/* 导航 — 横向滚动单行 */
.nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  flex-shrink: 0;
}
.nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  background: var(--primary-color);
  color: white;
}

/* =============================================
   主体
   ============================================= */
.main {
  min-height: calc(100vh - 64px - 60px - var(--safe-bottom));
  padding-bottom: calc(24px + var(--safe-bottom));
}

/* Hero / 轮播 */
.hero {
  color: white;
  border-radius: 12px;
  margin: 0 12px 16px;
  overflow: hidden;
  height: clamp(132px, 22vw, 178px);
  background: linear-gradient(135deg, var(--primary-color), #60a5fa);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

.hero:empty {
  background: linear-gradient(135deg, var(--primary-color), #60a5fa);
}

.hero--carousel {
  padding: 0;
  background: linear-gradient(135deg, var(--primary-color), #60a5fa);
}

.hero-carousel,
.hero-carousel-track,
.hero-slide,
.hero-slide-bg,
.hero-slide-content {
  height: 100%;
  min-height: 0;
}

.hero-carousel {
  position: relative;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide-content h2 {
  font-size: clamp(1.15rem, 3.8vw, 1.55rem);
}

.hero-slide-content p {
  font-size: clamp(0.86rem, 2.8vw, 1rem);
  max-width: 26em;
  margin: 0 auto;
}

/* 轮播关闭时隐藏整个区域 */
#heroBannerSection.hero-hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.hero-carousel {
  position: relative;
  height: 100%;
}

.hero-carousel-track {
  position: relative;
}

.hero-carousel-track--multi {
  height: 100%;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.42s ease, visibility 0.42s ease, transform 0.42s ease;
  z-index: 0;
}

.hero-slide--enter-left {
  transform: translateX(-12px);
}

.hero-slide--enter-right {
  transform: translateX(12px);
}

.hero-carousel-track--multi .hero-slide {
  position: absolute;
  inset: 0;
  padding: 24px 16px;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: translateX(0);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(96, 165, 250, 0.85));
}

.hero-slide--has-image .hero-slide-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.18) 0%,
    rgba(15, 23, 42, 0.52) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide-content:has(h2:empty):has(p:empty) {
  display: none;
}

.hero-slide-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-slide-content h2:empty,
.hero-slide-content p:empty {
  display: none;
}

.hero-slide-content p {
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.hero-dots .hero-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dots .hero-dot--active {
  background: #fff;
  transform: scale(1.15);
}

/* 分类区域 */
.categories {
  padding: 0 12px;
}

/* 分类筛选提示栏 */
.filter-tip-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.filter-tip-bar strong {
  font-weight: 600;
}

.filter-tip-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.filter-tip-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   分类区块
   ============================================= */
.category-section {
  margin-bottom: 24px;
}

.category-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.category-header--sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(240, 244, 248, 0.98), rgba(240, 244, 248, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.category-header-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.category-icon {
  font-size: 1.5rem;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-desc {
  color: var(--text-secondary);
  margin-left: auto;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.subcategory-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.subcategory-nav::-webkit-scrollbar {
  display: none;
}

.subcategory-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.subcategory-chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* 子分类标题 */
.subcategory-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 资源网格 */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* =============================================
   资源卡片
   ============================================= */
/* 全局链接去下划线 */
a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
}

/* 资源卡片容器 */
.resource-card-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.resource-card-wrapper:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-hover);
}

.resource-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 图标区域 */
.resource-icon-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 20px 12px;
  flex-shrink: 0;
}

.resource-icon-wrapper img,
.resource-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* 资源文字内容 */
.resource-content {
  padding: 0 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  flex: 1;
}

.resource-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.resource-name,
.resource-desc,
.resource-title,
.resource-card,
.subcategory-chip,
.nav-item,
.category-title,
.category-desc,
.tag,
.claim-btn {
  text-decoration: none !important;
}

.resource-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.resource-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}

.tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-color);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* 操作按钮区域 */
.resource-action {
  display: flex;
  justify-content: center;
  padding: 14px 16px 18px;
  margin-top: auto;
  flex-shrink: 0;
}

/* 领取按钮 */
.claim-btn {
  width: 100%;
  max-width: 200px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.claim-btn:active {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  transform: scale(0.95);
}

/* =============================================
   底部
   ============================================= */
.footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 20px 16px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding-bottom: calc(20px + var(--safe-bottom));
}

/* =============================================
   Toast 提示（通用）
   ============================================= */
#toast-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: calc(40px + var(--safe-bottom));
}

.toast {
  background: rgba(30, 41, 59, 0.92);
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100vw - 40px);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   领取弹窗（手机专用）
   ============================================= */
.claim-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.claim-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.claim-modal {
  background: white;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 0 0 calc(20px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.claim-modal-overlay.show .claim-modal {
  transform: translateY(0);
}

.claim-modal-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 12px auto 0;
}

.claim-modal-resource {
  padding: 16px 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.claim-modal-resource-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.claim-modal-resource-info {
  flex: 1;
  min-width: 0;
}

.claim-modal-resource-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim-modal-resource-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.claim-modal-actions {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.claim-modal-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.claim-modal-copy-btn:active {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  transform: scale(0.97);
}

.claim-modal-copy-btn.copied {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.claim-modal-jump-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.claim-modal-jump-btn:active {
  background: var(--primary-dark);
  transform: scale(0.97);
}

.claim-modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.claim-modal-divider::before,
.claim-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.claim-modal-divider span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.claim-modal-cancel {
  display: block;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 12px;
  background: var(--bg-color);
  color: var(--text-secondary);
  border: none;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.claim-modal-cancel:active {
  background: #e2e8f0;
}

/* =============================================
   App 模式 — header/footer 隐藏，内容顶头
   ============================================= */
body.app-mode {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 0;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 34%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 38%, #eef2ff 100%);
}

body.app-mode.is-loading::before {
  content: '正在加载内容...';
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(37, 99, 235, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.14), transparent 38%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 42%, #eef2ff 100%);
}

body.app-mode.is-loading .app-shell {
  opacity: 0;
}

.app-mode .header,
.app-mode .footer {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  min-height: 0;
  padding-top: 16px;
  padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

.app-mode .categories {
  padding: 0 12px;
}

.app-mode .hero {
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  height: clamp(132px, 22vw, 178px);
}

.app-mode .category-section {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 14px 12px 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.app-mode .category-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.app-mode .resource-grid {
  gap: 10px;
}

.app-mode .resource-card-wrapper {
  border-radius: 18px;
}

.app-mode .resource-icon-wrapper {
  padding-top: 18px;
}

.app-mode .resource-icon-wrapper img,
.app-mode .resource-icon {
  width: 52px;
  height: 52px;
}


.debug-panel {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5000;
  width: min(92vw, 520px);
  max-height: 80vh;
  overflow: auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.debug-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.debug-panel-body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 250, 252, 0.78);
  border-top: 1px solid rgba(226, 232, 240, 0.92);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.10);
  scrollbar-width: none;
}

.app-tabbar::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
}

.app-tabbar::-webkit-scrollbar {
  display: none;
}

.app-tabbar .nav-item {
  flex: 1 0 0;
  min-width: 0;
  padding: 10px 8px 9px;
  border-radius: 18px;
  background: transparent;
  border: 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.app-tabbar .nav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%) scaleX(0.35);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transition: transform 0.18s ease, background 0.18s ease;
}

.app-tabbar .nav-item.active {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.08);
}

.app-tabbar .nav-item.active::after {
  background: var(--primary-color);
  transform: translateX(-50%) scaleX(1);
}

.app-tabbar .nav-item:active {
  transform: translateY(1px) scale(0.98);
}

/* App 模式下 toast 和弹窗的底部留白减少（预留底部 tabbar 空间） */
.app-mode #toast-layer {
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

/* =============================================
   平板及以上 — 桌面适配
   ============================================= */
@media (min-width: 640px) {
  .header .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
    padding: 0 24px;
    padding-top: 14px;
    padding-bottom: 10px;
    gap: 16px;
  }

  .nav {
    overflow-x: visible;
    flex: 1;
    flex-wrap: wrap;
  }

  .nav-item {
    font-size: 0.9rem;
  }

  .hero {
    border-radius: 0 0 28px 28px;
    margin-bottom: 24px;
  }

  .hero-carousel-track--multi {
    min-height: 200px;
  }

  .hero-slide {
    padding: 48px 24px;
  }

  .hero-carousel-track--multi .hero-slide {
    padding: 48px 24px;
  }

  .hero-slide-content h2 {
    font-size: 1.8rem;
  }

  .hero-slide-content p {
    font-size: 1rem;
  }

  .categories {
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .category-header {
    gap: 12px;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .category-desc {
    font-size: 0.85rem;
    max-width: none;
  }

  .resource-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .resource-card-main {
    padding: 16px;
  }

  .resource-icon {
    width: 56px;
    height: 56px;
  }

  .resource-name {
    font-size: 1rem;
    white-space: normal;
    overflow: visible;
  }

  .resource-desc {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .claim-btn {
    margin: 0 16px 14px;
    padding: 10px 20px;
    border-radius: 22px;
  }

  .claim-modal-overlay {
    align-items: center;
  }

  .claim-modal {
    border-radius: 20px;
    max-width: 420px;
    padding-bottom: 28px;
    margin-bottom: 20px;
  }

  .claim-modal-handle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header .container {
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .hero-slide-content h2 {
    font-size: 2.2rem;
  }

  .resource-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
