:root {
    --guide-hero-from: #eef4ff;
    --guide-hero-to: #ffffff;
}

[data-bs-theme="dark"] {
    --guide-hero-from: #172036;
    --guide-hero-to: var(--bs-body-bg);
}

html {
    scroll-padding-top: 80px;
}

.brand-logo {
    height: 36px;
    width: auto;
}

/* The logo has a white background, so frame it in dark mode */
[data-bs-theme="dark"] .brand-logo {
    background: #fff;
    padding: 3px 6px;
    border-radius: .375rem;
}

.hero,
.page-header {
    background: linear-gradient(180deg, var(--guide-hero-from), var(--guide-hero-to));
}

.hero {
    margin-bottom: 2.5rem;
}

/* Home section cards */
.section-card,
.video-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.section-card:hover,
.video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bs-box-shadow);
}

.icon-tile {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Get Started */
.steps-nav {
    top: 80px;
}

.steps-nav .nav-link {
    color: var(--bs-body-color);
    padding: .4rem .75rem;
    font-size: .925rem;
}

.steps-nav .nav-link.active {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
}

.step-number {
    flex: 0 0 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.min-w-0 {
    min-width: 0;
}

/* Trim the gap under the last list, table or callout in a section */
.step-body > :last-child,
.step-body > .table-responsive:last-child > .table {
    margin-bottom: 0;
}

.guide-table th {
    white-space: nowrap;
}

.guide-table td:first-child {
    white-space: nowrap;
}

/* Video thumbnails */
.video-thumb {
    background: linear-gradient(135deg, #3b5bdb, #7048e8);
    overflow: hidden;
}

.video-thumb img,
.video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    background: #fff;
}

.video-thumb .play-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease;
}

.video-card:hover .play-icon {
    transform: scale(1.1);
}

.video-thumb .duration {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
}

.row > .col-5 .video-thumb {
    border-radius: var(--bs-card-inner-border-radius) 0 0 var(--bs-card-inner-border-radius);
}

.row > .col-5 .play-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
}
