/*
 * Copyright © 2026 JetBrains s.r.o. and contributors.
 * Use of this source code is governed by the Apache 2.0 license.
 */

/* Prevent table cell content from wrapping */
.md-typeset table:not([class]) td {
    white-space: nowrap;
}

/* Custom social/YT header link */
.md-header__social {
    display: none;
    width: 4.3rem;
}

@media screen and (min-width: 60em) {
    .md-header__social {
        display: block;
        margin-left: 1rem;
    }
}

@media screen and (min-width: 76.25em) {
    .md-header__social {
        margin-left: 1.4rem;
    }
}

.md-header__social-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: .65rem;
    line-height: 1.2;
    outline-color: var(--md-accent-fg-color);
    transition: opacity .25s;
    white-space: nowrap;
}

.md-header__social-link:hover {
    opacity: 0.7;
}

.md-header__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
}

.md-header__social-img {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 2px;
}

/* Clickable site title in header */
.md-header__title-link {
    color: inherit;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.md-header__title-link:hover {
    opacity: 0.7;
}

/* Make GitHub icon bigger to match YT icon */
.md-source__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}
