/* MinuteBrief custom layer */
:root {
    color-scheme: light;
}

body {
    font-feature-settings: "ss01" 1, "cv01" 1;
}

.text-balance {
    text-wrap: balance;
}

.line-clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.site-header-scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-link {
    position: relative;
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 2px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.mobile-menu-button.is-open [data-menu-line="top"] {
    top: 0.375rem;
    transform: rotate(45deg);
}

.mobile-menu-button.is-open [data-menu-line="middle"] {
    opacity: 0;
}

.mobile-menu-button.is-open [data-menu-line="bottom"] {
    top: 0.375rem;
    transform: rotate(-45deg);
}

.prose p + p {
    margin-top: 1rem;
}

.prose > * + * {
    margin-top: 1rem;
}

.prose h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #0f172a;
}

.prose h3 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #0f172a;
}

.prose p,
.prose li {
    font-size: 1rem;
    line-height: 1.875rem;
    color: #334155;
}

.prose ul,
.prose ol {
    padding-left: 1.5rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.prose blockquote {
    border-left: 4px solid #cbd5e1;
    padding-left: 1rem;
    color: #475569;
}

.article-content {
    scroll-margin-top: 6rem;
}

.article-content h2,
.article-content h3 {
    scroll-margin-top: 6rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1.25rem;
}

.article-content iframe,
.article-content video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 1.25rem;
}

.article-content figure {
    margin: 2rem 0;
}

.article-content figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #64748b;
}

html {
    scroll-behavior: smooth;
}
