.draft-preview {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--tlfl-blue);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgb(17 24 39 / 0.07);
  color: #1f2937;
  max-width: 58rem;
  padding: 1.25rem;
}

.home-dashboard {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(14rem, 1fr) minmax(26rem, 2.25fr) minmax(14rem, 1fr);
  width: 100%;
}

.home-articles {
  min-width: 0;
}

.article-card-link {
  color: inherit;
  display: block;
}

.article-card,
.article-hero {
  background: #111827;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.article-card {
  box-shadow: 0 10px 24px rgb(17 24 39 / 0.15);
}

.article-card-image {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.article-card::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 0.68) 0%, rgb(0 0 0 / 0.42) 42%, rgb(0 0 0 / 0.02) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.article-hero::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 0.86) 0%, rgb(0 0 0 / 0.58) 42%, rgb(0 0 0 / 0.08) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.article-card-overlay,
.article-hero-overlay {
  bottom: 0;
  color: #ffffff;
  left: 0;
  max-width: 38rem;
  padding: clamp(1rem, 4vw, 2rem);
  position: absolute;
  z-index: 1;
}

.article-card-kicker {
  color: #bfdbfe;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.article-card-date {
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
  margin: -0.25rem 0 0.55rem;
}

.article-card h1,
.article-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin: 0 0 0.55rem;
}

.article-hero-overlay .draft-preview-kicker {
  color: #bfdbfe;
}

.article-card h1::after,
.article-hero h1::after {
  display: none;
}

.article-card p,
.article-hero p {
  line-height: 1.45;
  margin: 0;
}

.article-card:hover .article-card-image {
  transform: scale(1.025);
}

.article-card-image {
  transition: transform 180ms ease;
}

.home-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--tlfl-blue);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgb(17 24 39 / 0.07);
  padding: 1rem;
}

.home-panel h2 {
  color: #111827;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.home-panel-subheader {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.home-schedule-empty,
.home-power-rankings-empty {
  color: #4b5563;
  margin: 0;
}

.home-schedule-list {
  display: grid;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.home-schedule-list li {
  padding: 0;
}

.home-schedule-game {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(6.5rem, 1fr) 1rem minmax(6.5rem, 1fr);
  padding: 0.45rem 0.35rem;
  text-decoration: none;
}

.home-schedule-game:visited {
  color: inherit;
}

.home-schedule-game:hover {
  background: rgb(31 85 171 / 0.08);
}

.home-schedule-list li:nth-child(odd) {
  background: #f7f7f7;
}

.home-schedule-team {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  min-width: 0;
  white-space: nowrap;
}

.home-schedule-team:first-child {
  justify-content: flex-start;
}

.home-schedule-team img {
  flex: 0 0 auto;
  height: 1.4rem;
  object-fit: contain;
  width: 1.4rem;
}

.home-schedule-team span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-schedule-at {
  color: #4b5563;
  font-weight: 800;
}

.home-schedule-bye-section {
  border-top: 1px solid #d1d5db;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
}

.home-schedule-bye-section h3 {
  color: #111827;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.45rem;
}

.home-schedule-bye-list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-power-rankings-table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
}

.home-power-rankings-table th,
.home-power-rankings-table td {
  padding: 0.4rem 0.35rem;
  text-align: left;
  vertical-align: middle;
}

.home-power-rankings-table tbody tr:nth-child(odd) {
  background: #f7f7f7;
}

.home-power-rankings-table th:first-child,
.home-power-rankings-table td:first-child {
  text-align: left;
  width: 2.4rem;
}

.home-power-rankings-table th:nth-child(2),
.home-power-rankings-table td:nth-child(2) {
  text-align: left;
}

.home-power-rankings-team {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.4rem;
  min-width: 0;
  text-decoration: none;
}

.home-power-rankings-team:visited,
.home-power-rankings-team:hover,
.home-power-rankings-team:focus {
  color: inherit;
  text-decoration: none;
}

.home-power-rankings-team img {
  flex: 0 0 auto;
  height: 1.4rem;
  object-fit: contain;
  width: 1.4rem;
}

.home-power-rankings-actions {
  display: inline-flex;
  gap: 0.2rem;
}

.home-power-rankings-actions form {
  display: inline-flex;
  margin: 0;
}

.home-power-rankings-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #1f2937;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.55rem;
}

.home-power-rankings-button:hover:not(:disabled) {
  background: #f3f4f6;
}

.home-power-rankings-button:disabled {
  color: #9ca3af;
  cursor: default;
  opacity: 0.55;
}

.article-detail {
  max-width: 100%;
  padding: 1.4rem;
}

.article-detail-header {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.article-detail h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin: 0 0 1rem;
}

.article-detail h1::after {
  margin-bottom: 0.55rem;
}

.article-byline {
  color: #4b5563;
  font-weight: 700;
  margin: 0 0 1rem;
}

.article-byline span {
  display: inline-block;
  margin-left: 0.45rem;
}

.article-byline span::before {
  content: "|";
  margin-right: 0.45rem;
}

.article-deck {
  color: #374151;
  font-size: 1.12rem;
  margin: 0;
}

.article-inline-image {
  margin: 0 0 1.2rem;
  overflow: hidden;
}

.article-inline-image img {
  border-radius: 6px;
  display: block;
  height: auto;
  margin-left: -8%;
  max-width: none;
  width: 116%;
}

.article-inline-image figcaption {
  color: #4b5563;
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.draft-preview-kicker {
  color: var(--tlfl-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.draft-preview h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 0;
}

.draft-preview h2 {
  color: #111827;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.draft-preview p {
  line-height: 1.55;
}

.draft-preview-section {
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
  padding-top: 1rem;
}

.draft-preview-player-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.3rem;
}

.draft-preview-pick-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.draft-preview-pick-list li {
  align-items: start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 4.6rem 1fr;
}

.draft-preview-pick-number {
  background: var(--tlfl-blue-light);
  border-radius: 6px;
  color: var(--tlfl-blue-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 0.55rem;
  text-align: center;
}

.draft-preview-pick-list span:not(.draft-preview-pick-number) {
  color: #4b5563;
  display: block;
  font-size: 0.92rem;
  margin-top: 0.1rem;
}

.draft-preview-player-list li::marker {
  color: var(--tlfl-blue);
  font-weight: 800;
}

.draft-preview-player-list span {
  color: #4b5563;
  display: block;
  font-size: 0.92rem;
  margin-top: 0.1rem;
}

.draft-preview-sources {
  border-top: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.9rem;
  margin: 1rem 0 0;
  padding-top: 0.9rem;
}

@media (max-width: 760px) {
  .home-dashboard {
    grid-template-columns: 1fr;
  }

  .transactions-layout {
    grid-template-columns: 1fr;
  }
}
