/* Magazine styles are scoped to the native blog templates. */
.drblog {
    background: #101014;
    line-height: 1.75;
}
.drblog .drblog-heading h1 {
    margin-bottom: 0;
    text-wrap: balance;
}
.drblog .drblog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}
.drblog .drblog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.drblog .drblog-card,
.drblog .drblog-sidebar > section {
    background: #1b1b22;
    border: 1px solid #36303f;
    border-radius: 16px;
    overflow: hidden;
}
.drblog .drblog-card {
    transition: border-color .2s ease;
}
.drblog .drblog-card:hover,
.drblog .drblog-card:focus-within {
    border-color: #9879bc;
}
.drblog .drblog-featured {
    grid-column: 1 / -1;
    border-color: #8064a8;
    background: radial-gradient(ellipse at top right, #382946, transparent 72%), #1b1b22;
}
.drblog .drblog-featured .drblog-image img {
    aspect-ratio: 16 / 9;
}
.drblog .drblog-featured h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}
.drblog .drblog-card-content,
.drblog .drblog-sidebar > section {
    padding: clamp(18px, 3vw, 28px);
}
.drblog .drblog-card h2 a {
    text-decoration: none;
}
.drblog .drblog-card h2 a:hover {
    color: #d8c3f4;
}
.drblog .drblog-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.drblog .drblog-sidebar h2 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.drblog .drblog-sidebar ul {
    margin: 0;
    padding-inline-start: 1.15em;
}
.drblog .drblog-sidebar li + li {
    margin-top: .4em;
}
.drblog .drblog-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.drblog .drblog-search input {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    background: #101014;
    color: #fff;
    border: 1px solid #776685;
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
}
.drblog .drblog-search button {
    background: #725792;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    font: inherit;
    cursor: pointer;
}
.drblog .drblog-search button:hover {
    background: #5b4278;
}
.drblog .drblog-hero-image img {
    border-radius: 16px;
}
.drblog .drblog-body {
    font-size: clamp(1rem, 1.7vw, 1.125rem);
}
.drblog .drblog-body :is(video, iframe, figure) {
    max-width: 100%;
}
.drblog .drblog-body :is(.wp-block-embed-youtube, .wp-block-embed-vimeo) iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.drblog .drblog-body .drblog-recommendation {
    margin-block: 32px;
    padding: clamp(18px, 3vw, 28px);
    border-inline-start: 3px solid #9879bc;
    border-radius: 8px;
    background: #211b2a;
}
@media (max-width: 900px) {
    .drblog .drblog-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 600px) {
    .drblog .drblog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    .drblog .drblog-card {
        transition: none;
    }
}
