|
| 1 | +// Community > Webinars — list grid + single-page hero, built from the |
| 2 | +// site's existing component language (about-page, resources-breadcrumb, |
| 3 | +// resources-category-eyebrow, status-chip, post-content) so this reads as |
| 4 | +// the same site rather than a bolted-on section. |
| 5 | + |
| 6 | +.webinar-grid { |
| 7 | + display: grid; |
| 8 | + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
| 9 | + gap: 1.25rem; |
| 10 | + margin-top: 1rem; |
| 11 | +} |
| 12 | + |
| 13 | +.webinar-empty-state { |
| 14 | + margin-top: 1rem; |
| 15 | + background: $dark-surface; |
| 16 | + border: 1px solid $dark-border; |
| 17 | + border-radius: 10px; |
| 18 | + padding: 1.5rem 1.75rem; |
| 19 | + |
| 20 | + p { |
| 21 | + font-size: 0.9375rem; |
| 22 | + color: $muted; |
| 23 | + line-height: 1.6; |
| 24 | + margin: 0; |
| 25 | + |
| 26 | + a { color: $accent; text-decoration: none; &:hover { text-decoration: underline; } } |
| 27 | + } |
| 28 | +} |
| 29 | + |
| 30 | +// ── Card (list page) ── |
| 31 | +.webinar-card { |
| 32 | + display: flex; |
| 33 | + flex-direction: column; |
| 34 | + background: $dark-card; |
| 35 | + border: 1px solid $dark-border; |
| 36 | + border-radius: 12px; |
| 37 | + overflow: hidden; |
| 38 | + text-decoration: none; |
| 39 | + transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; |
| 40 | + |
| 41 | + &:hover { |
| 42 | + border-color: rgba($accent, 0.3); |
| 43 | + box-shadow: 0 6px 24px rgba($accent, 0.07); |
| 44 | + transform: translateY(-2px); |
| 45 | + } |
| 46 | +} |
| 47 | + |
| 48 | +.webinar-card-image-wrap { |
| 49 | + position: relative; |
| 50 | + border-bottom: 1px solid $dark-border; |
| 51 | + background: $dark-surface; |
| 52 | +} |
| 53 | + |
| 54 | +.webinar-card-image { |
| 55 | + display: block; |
| 56 | + width: 100%; |
| 57 | + height: auto; |
| 58 | + aspect-ratio: 1200 / 627; |
| 59 | + object-fit: cover; |
| 60 | +} |
| 61 | + |
| 62 | +.webinar-card-status { |
| 63 | + position: absolute; |
| 64 | + top: 0.75rem; |
| 65 | + right: 0.75rem; |
| 66 | + background: $dark-bg; |
| 67 | +} |
| 68 | + |
| 69 | +.webinar-card-body { |
| 70 | + padding: 1.25rem 1.25rem 1.5rem; |
| 71 | +} |
| 72 | + |
| 73 | +.webinar-card-date { |
| 74 | + display: block; |
| 75 | + font-size: 0.75rem; |
| 76 | + font-weight: 600; |
| 77 | + letter-spacing: 0.03em; |
| 78 | + color: $accent; |
| 79 | + margin-bottom: 0.5rem; |
| 80 | +} |
| 81 | + |
| 82 | +.webinar-card-title { |
| 83 | + font-size: 1.0625rem; |
| 84 | + font-weight: 700; |
| 85 | + color: $off-white; |
| 86 | + line-height: 1.4; |
| 87 | + margin: 0 0 0.5rem; |
| 88 | +} |
| 89 | + |
| 90 | +.webinar-card-speakers { |
| 91 | + font-size: 0.875rem; |
| 92 | + color: $muted; |
| 93 | + margin: 0; |
| 94 | +} |
| 95 | + |
| 96 | +// ── Single webinar page ── |
| 97 | +.webinar-header { |
| 98 | + max-width: 720px; |
| 99 | + margin-top: 1.5rem; |
| 100 | + margin-bottom: 2.5rem; |
| 101 | + |
| 102 | + h1 { |
| 103 | + font-size: clamp(1.625rem, 4vw, 2.25rem); |
| 104 | + font-weight: 700; |
| 105 | + line-height: 1.3; |
| 106 | + color: $off-white; |
| 107 | + margin: 0 0 1.25rem; |
| 108 | + } |
| 109 | +} |
| 110 | + |
| 111 | +.webinar-meta-row { |
| 112 | + display: flex; |
| 113 | + align-items: center; |
| 114 | + flex-wrap: wrap; |
| 115 | + gap: 0.75rem; |
| 116 | + margin-bottom: 1rem; |
| 117 | +} |
| 118 | + |
| 119 | +.webinar-meta-badge { |
| 120 | + display: inline-flex; |
| 121 | + align-items: center; |
| 122 | + font-size: 0.75rem; |
| 123 | + font-weight: 700; |
| 124 | + letter-spacing: 0.05em; |
| 125 | + text-transform: uppercase; |
| 126 | + color: $accent; |
| 127 | + background: $accent-glow; |
| 128 | + border: 1px solid rgba($accent, 0.3); |
| 129 | + border-radius: 100px; |
| 130 | + padding: 0.25rem 0.7rem; |
| 131 | +} |
| 132 | + |
| 133 | +.webinar-meta-date { |
| 134 | + font-size: 0.875rem; |
| 135 | + color: $muted; |
| 136 | + font-variant-numeric: tabular-nums; |
| 137 | +} |
| 138 | + |
| 139 | +.webinar-speakers { |
| 140 | + list-style: none; |
| 141 | + margin: 0 0 1.5rem; |
| 142 | + padding: 0; |
| 143 | + display: flex; |
| 144 | + flex-wrap: wrap; |
| 145 | + gap: 1rem 2rem; |
| 146 | +} |
| 147 | + |
| 148 | +.webinar-speaker { |
| 149 | + display: flex; |
| 150 | + align-items: center; |
| 151 | + gap: 0.75rem; |
| 152 | +} |
| 153 | + |
| 154 | +.webinar-speaker-photo { |
| 155 | + display: block; |
| 156 | + width: 48px; |
| 157 | + height: 48px; |
| 158 | + border-radius: 50%; |
| 159 | + object-fit: cover; |
| 160 | + border: 2px solid rgba($accent, 0.4); |
| 161 | + flex-shrink: 0; |
| 162 | +} |
| 163 | + |
| 164 | +.webinar-speaker-info { |
| 165 | + display: flex; |
| 166 | + flex-direction: column; |
| 167 | +} |
| 168 | + |
| 169 | +.webinar-speaker-name { |
| 170 | + font-size: 0.9375rem; |
| 171 | + font-weight: 600; |
| 172 | + color: $off-white; |
| 173 | + text-decoration: none; |
| 174 | +} |
| 175 | + |
| 176 | +a.webinar-speaker-name { |
| 177 | + color: $accent; |
| 178 | + &:hover { text-decoration: underline; } |
| 179 | +} |
| 180 | + |
| 181 | +.webinar-speaker-role { |
| 182 | + font-size: 0.8125rem; |
| 183 | + color: $muted; |
| 184 | +} |
| 185 | + |
| 186 | +.webinar-content { |
| 187 | + max-width: 720px; |
| 188 | +} |
0 commit comments