:root {
    --doc-version-selector-border-color: var(--gray-400);
    --doc-sidebar-menu-section-color: var(--gray-700);
    --doc-sidebar-menu-link-color: var(--gray-600);
    --doc-search-results-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --doc-content-embedded-sidebar-toc-marker-color: var(--gray-300);
    --doc-content-embedded-sidebar-toc-color: var(--gray-600);
    --doc-section-separator-border-color: var(--gray-300);
    --doc-item-hover-background: var(--gray-100);
    --doc-action-background: var(--gray-50);
    --sidebar-toc-marker-color: var(--gray-400);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.dark-theme {
    --doc-version-selector-border-color: var(--gray-600);
    --doc-sidebar-menu-section-color: var(--gray-300);
    --doc-sidebar-menu-link-color: var(--gray-400);
    --doc-search-results-box-shadow: 0 25px 50px -12px #000;
    --doc-content-embedded-sidebar-toc-marker-color: var(--gray-600);
    --doc-content-embedded-sidebar-toc-color: var(--gray-400);
    --doc-section-separator-border-color: var(--gray-500);
    --doc-item-hover-background: var(--gray-700);
    --doc-action-background: var(--gray-700);
    --sidebar-toc-marker-color: var(--gray-500);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
}

body[data-is-doc-page] .page-container,
body[data-doc-book='the-fast-track'] .page-container {
    max-width: unset;
}
@media (min-width: 1400px) {
    body[data-is-doc-page] .page-container,
    body[data-doc-book='the-fast-track'] .page-container {
        max-width: 1400px;
    }
}
body[data-is-doc-page] .content-sidebar-wrapper,
body[data-doc-book='the-fast-track'] .content-sidebar-wrapper {
    align-items: start; /* needed for the sticky contents of the sidebar */
}
body[data-is-doc-page] aside.sidebar,
body[data-doc-book='the-fast-track'] aside.sidebar {
    height: 100%; /* needed for the sticky contents of the sidebar */
}
@media (min-width: 992px) {
    body[data-is-doc-page] aside.sidebar .doc-sidebar-sticky,
    body[data-doc-book='the-fast-track'] aside.sidebar .doc-sidebar-sticky {
        position: sticky;
        top: 10px;
        overflow-y: auto;
        overscroll-behavior: contain; /* needed to not scroll the entire page when reaching the end of this sidebar scroll */
        height: 100vh; /* needed for the sticky contents of the sidebar */
        padding-right: 5px; /* adds some breathing space for long TOCs that show their own scrollbar */
    }
}

body[data-is-doc-page] aside.sidebar .toctree-title,
body[data-doc-book='the-fast-track'] aside.sidebar .toctree-title {
    color: var(--text-muted-color);
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 5px;
}
@media (min-width: 992px) {
    body[data-is-doc-page] .content-sidebar-wrapper,
    body[data-doc-book='the-fast-track'] .content-sidebar-wrapper {
        grid-template-columns: 250px 1fr;
        grid-column-gap: 25px;
    }
}

@media (min-width: 1400px) {
    body[data-is-doc-page] .content-sidebar-wrapper,
    body[data-doc-book='the-fast-track'] .content-sidebar-wrapper {
        grid-column-gap: 30px;
    }
}

.content-sidebar-wrapper.content-sidebar-wrapper-left .content {
    order: 1;
}
.content-sidebar-wrapper.content-sidebar-wrapper-left .sidebar {
    order: -1;
}

body[data-is-doc-page] .configuration-block .configuration-tabs,
body[data-doc-book='the-fast-track'] .configuration-block .configuration-tabs {
    margin: 0 0 10px 0;
    padding: 2px !important;
}
body[data-is-doc-page] .configuration-block .configuration-tabs li + li,
body[data-doc-book='the-fast-track'] .configuration-block .configuration-tabs li + li {
    margin-top: 0 !important;
}
body[data-is-doc-page] .highlight-symfony,
body[data-doc-book='the-fast-track'] .highlight-symfony {
    padding: 0;
}
body[data-is-doc-page] .highlight-symfony img,
body[data-doc-book='the-fast-track'] .highlight-symfony img {
    box-shadow: inset 0 0 0 1px var(--text-muted-color);
    margin-bottom: 0;
}
body[data-is-doc-page] .highlight-symfony a,
body[data-is-doc-page] .ui-prose .highlight-symfony a:hover,
body[data-doc-book='the-fast-track'] .highlight-symfony a body[data-doc-book='the-fast-track'] .highlight-symfony a:hover {
    border: 0;
    color: inherit;
}

aside.sidebar .page-menu {
    margin-bottom: 20px;
}
aside.sidebar .page-menu a {
    display: flex;
    align-items: center;
    padding: 4px 0 4px 4px;
}
aside.sidebar .page-menu svg {
    height: 22px;
    width: 22px;
    color: var(--text-muted-color);
    margin-right: 8px;
    stroke-width: 1.75;
}

aside.sidebar .doc-sidebar-menu .toctree-wrapper.toctree-size-xl {
    column-count: 1;
}

aside.sidebar .doc-sidebar-menu .toctree {
    --level-1-right-padding: 6px;
    --level-1-left-padding: 12px;
    --doc-toctree-active-background: var(--link-color);
    --doc-toctree-active-color: var(--white);

    font-size: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dark-theme aside.sidebar .doc-sidebar-menu .toctree {
    --doc-toctree-active-background: var(--gray-300);
    --doc-toctree-active-color: var(--gray-700);
}

aside.sidebar .doc-sidebar-menu .toctree li {
    border-radius: 4px;
    margin: 0;
    padding: 0;
    position: relative;
}
aside.sidebar .doc-sidebar-menu .toctree li::marker {
    content: '';
}

aside.sidebar .doc-sidebar-menu .toctree li.section-title {
    color: var(--doc-sidebar-menu-section-color);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    padding-left: 0;
    text-transform: uppercase;
}
aside.sidebar .doc-sidebar-menu .toctree li.active > a {
    background: var(--doc-toctree-active-background);
    color: var(--doc-toctree-active-color);
}

aside.sidebar .doc-sidebar-menu .toctree li a {
    border: 0;
    border-radius: 4px;
    color: var(--doc-sidebar-menu-link-color);
    display: block;
    padding: 4px 6px 4px 24px;
    word-break: break-word;
    text-decoration: none;
}
aside.sidebar .doc-sidebar-menu .toctree li a::after {
    /* these are the styles of '.stretched-link' */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: '';
    background-color: rgba(0, 0, 0, 0);
}

aside.sidebar .doc-sidebar-menu .toctree.toctree-level-1 > li > a:before {
    color: var(--sidebar-toc-marker-color);
    content: '#';
    position: absolute;
    left: 6px;
}
aside.sidebar .doc-sidebar-menu .toctree.toctree-level-2 > li > a {
    padding-left: 36px;
}
aside.sidebar .doc-sidebar-menu .toctree.toctree-level-2 > li > a:before {
    color: var(--sidebar-toc-marker-color);
    content: '\2022'; /* bullet point */
    position: absolute;
    left: 22px;
}
aside.sidebar .doc-sidebar-menu .toctree.toctree-level-1 > li.active > a:before,
aside.sidebar .doc-sidebar-menu .toctree.toctree-level-2 > li.active > a:before {
    color: var(--doc-toctree-active-color);
}

aside.sidebar .doc-sidebar-menu.doc-sidebar-menu-cloud ul.toctree-level-1 > li > a {
    color: var(--doc-sidebar-menu-section-color);
    font-weight: 600;
    margin-bottom: 12px;
}
aside.sidebar .doc-sidebar-menu.doc-sidebar-menu-cloud ul.toctree-level-1 > li > a:hover {
    color: var(--link-color);
}

aside.sidebar .doc-sidebar-menu.doc-sidebar-menu-cloud ul.toctree-level-2 {
    margin-top: 8px;
}
aside.sidebar .doc-sidebar-menu.doc-sidebar-menu-cloud ul.toctree-level-2 li:last-child {
    padding-bottom: 6px;
}

.breadcrumb-nav,
aside.sidebar {
    display: none;
}
@media (min-width: 992px) {
    .breadcrumb-nav,
    aside.sidebar {
        display: block;
    }
}

#doc-mobile-shortcuts-bar {
    --border-color: var(--gray-200);
    --bar-items-text-color: var(--gray-200);

    align-items: center;
    background: var(--gray-900);
    box-shadow: inset 0 1px 0 0 var(--border-color), 0 0 0 1px var(--page-background);
    color: var(--bar-items-text-color);
    display: flex;
    justify-content: space-between;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 48px;
    width: 100%;
    z-index: 1000;
}
.dark-theme #doc-mobile-shortcuts-bar {
    --border-color: var(--gray-700);
    --bar-items-text-color: var(--gray-400);
}

@media (min-width: 992px) {
    #doc-mobile-shortcuts-bar {
        display: none;
    }
}

#doc-mobile-shortcuts-bar summary,
#doc-mobile-shortcuts-bar button {
    align-items: center;
    display: flex;
    font-size: 15px;
    line-height: 1;
    padding: 0;
}

#doc-mobile-shortcuts-bar svg {
    display: inline-block;
    height: 21px;
    width: 21px;
    margin-right: 4px;
}

#doc-mobile-shortcuts-bar details.toc,
#doc-mobile-shortcuts-bar details.version {
    position: relative;
}
#doc-mobile-shortcuts-bar details.toc ::marker,
#doc-mobile-shortcuts-bar details.version ::marker {
    content: '';
}
#doc-mobile-shortcuts-bar details.toc .toc-contents,
#doc-mobile-shortcuts-bar details.toc .version-contents,
#doc-mobile-shortcuts-bar details.version .version-contents {
    position: absolute;
    background: var(--page-background);
    bottom: 37px;
    border-radius: 4px;
    max-height: 480px;
    overscroll-behavior: contain; /* needed to not scroll the entire page when reaching the end of this element scroll */
    overflow-y: auto;
    padding: 10px;
    width: 300px;
}

#doc-mobile-shortcuts-bar details.toc summary {
    padding: 0 4px 0 8px;
}

#doc-mobile-shortcuts-bar details.toc p.no-toc {
    color: var(--text-color);
    margin: 0;
}

#doc-mobile-shortcuts-bar details.toc ul.toc-contents {
    box-shadow: 0 0 0 1px var(--doc-version-selector-border-color), 6px -3px 10px 5px rgba(0, 0, 0, 0.15);
    left: 3px;
    margin: 0;
}
.dark-theme #doc-mobile-shortcuts-bar details.toc ul.toc-contents {
    box-shadow: 0 0 0 1px var(--doc-version-selector-border-color), 2px -2px 0 3px var(--page-background);
}
#doc-mobile-shortcuts-bar details.toc ul.toc-contents ::marker {
    content: initial;
    color: var(--link-color);
}
#doc-mobile-shortcuts-bar details.toc ul.toc-contents li a {
    border: 0 !important;
}
#doc-mobile-shortcuts-bar details.toc ul.toc-contents li {
    list-style: disc;
    margin: 0 0 6px 13px;
}
#doc-mobile-shortcuts-bar details.toc ul.toc-contents li ul {
    margin: 0.5em 0;
}
#doc-mobile-shortcuts-bar details.toc ul.toc-contents li li {
    list-style: circle;
}

#doc-mobile-shortcuts-bar details.version summary {
    padding: 0 8px 0 4px;
}

#doc-mobile-shortcuts-bar details.version .version-contents {
    --version-border-color: var(--gray-300);
    box-shadow: 0 0 0 1px var(--doc-version-selector-border-color), -6px -3px 10px 5px rgba(0, 0, 0, 0.15);
    right: 3px;
}
.dark-theme #doc-mobile-shortcuts-bar details.version .version-contents {
    --version-border-color: var(--gray-600);
}
.dark-theme #doc-mobile-shortcuts-bar details.version .version-contents {
    box-shadow: 0 0 0 1px var(--doc-version-selector-border-color), -2px -2px 0 3px var(--page-background);
}
#doc-mobile-shortcuts-bar details.version .version-contents p {
    color: var(--text-color);
    font-weight: bold;
    margin: 0;
}
#doc-mobile-shortcuts-bar details.version .version-contents .group-of-versions {
    margin: 4px 0;
    display: grid;
    grid-gap: 8px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
#doc-mobile-shortcuts-bar details.version .version-contents .group-of-versions + p {
    margin-top: 15px;
}
#doc-mobile-shortcuts-bar details.version .version-contents a {
    display: inline-block;
    border: 1px solid var(--version-border-color);
    border-radius: 4px;
    padding: 6px 8px;
    text-align: center;
    line-height: 1.3;
}
#doc-mobile-shortcuts-bar details.version .version-contents a + p {
    margin-top: 10px;
}

.doc-action {
    align-items: center;
    display: inline-flex;
    max-width: 100%;
}
.doc-action svg {
    color: var(--text-muted-color);
    margin: 0 5px 0 0;
}

.doc-action.doc-alternative-selector {
    font-size: 14px;
    margin-bottom: 15px;
    width: 100%;
}
.doc-action.doc-alternative-selector .label {
    color: var(--text-muted-color);
    margin-right: 5px;
}

.ui-prose .doc-action.content-edit {
    border-radius: 2px;
    border: 0;
    color: var(--text-muted-color);
    font-size: var(--font-size-sm);
    margin-top: 0;
    padding: 4px 8px;
}
.ui-prose .doc-action.content-edit:hover,
.ui-prose .ui-prose .doc-action.content-edit:hover {
    background: var(--doc-action-background);
    border: 0;
    color: var(--link-color);
}
.ui-prose .doc-action.content-edit:before {
    background: none;
    padding-left: 0 !important;
}

.doc-backers-wrapper .doc-backer {
    margin: 0;
}
.doc-backers-wrapper p.doc-backer-title {
    font-size: var(--font-size-sm);
    margin-bottom: 10px;
}

.saas-backer {
    background: var(--doc-item-hover-background);
    border-radius: var(--border-radius-md);
    margin: 1rem 0;
    padding: 10px;
}

.doc-backer {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-sm);
    padding: 10px 2px;
    position: relative; /* don't remove it! Needed for stretched links */
}
@media (min-width: 576px) {
    .doc-backer {
        margin-bottom: 15px;
    }
}
.doc-backer + .doc-backer {
    margin-top: 10px;
}
.doc-backer + .doc-backer:before {
    content: '';
    background: var(--ui-border-secondary-color);
    height: 1px;
    width: 100%;
    position: absolute;
    top: -8px;
    z-index: -1;
}

.doc-backer:hover {
    border-radius: var(--ui-border-radius-md);
    outline: 2px solid var(--ui-link-color);
}

.doc-backer .backer_logo a,
.doc-backer .backer_logo a:hover {
    border-bottom: 0;
    color: inherit;
    display: flex;
    text-decoration: none;
}
.doc-backer .backer_logo svg {
    height: auto;
    max-height: 60px;
    max-width: 120px;
    margin: 0 auto;
    width: 100%;
}

.doc-index-page-title-wrapper {
    margin-top: 20px;
}
@media (min-width: 768px) {
    .doc-index-page-title-wrapper {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }
}

.doc-index-top-search-wrapper {
    position: relative;
}
@media (min-width: 768px) {
    .doc-index-top-search-wrapper {
        width: 280px;
    }
}
@media (min-width: 992px) {
    .doc-index-top-search-wrapper {
        width: 360px;
    }
}
@media (min-width: 1200px) {
    .doc-index-top-search-wrapper {
        width: 480px;
    }
}

.doc-index-page-title-wrapper .doc-index-top-search .form-search-results-wrapper {
    background: var(--page-background);
    border: 1px solid var(--doc-section-separator-border-color);
    box-shadow: var(--doc-search-results-box-shadow);
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    right: 0;
    z-index: 100;
}
.doc-index-page-title-wrapper .doc-index-top-search .form-search-results-wrapper .form-search-result-breadcrumb {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.doc-index-links {
    margin-top: 30px;
}
@media (min-width: 992px) {
    .doc-index-links {
        margin-top: 48px;
    }
}

.doc-index-links h2 {
    display: inline-block;
    font-size: 18px;
    margin: 0 0 20px;
}
@media (min-width: 992px) {
    .doc-index-links h2 {
        display: block;
        font-size: 20px;
        margin: 15px 0 10px;
    }
}

.doc-index-links .content-section-icon {
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: -2px;
}
.doc-index-links .content-section-icon svg {
    color: var(--blue-500);
    font-size: 28px;
}

@media (min-width: 992px) {
    .doc-index-links .content-section-icon {
        top: 0;
    }
    .doc-index-links .content-section-icon svg {
        font-size: 36px;
    }
}
.doc-index-links .list-of-contents {
    margin-bottom: 30px;
}
.doc-index-links .list-of-contents ul {
    list-style: none;
    padding-left: 0;
}
.doc-index-links .list-of-contents li {
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    padding: 4px 6px;
    position: relative;
    left: -6px;
}
.doc-index-links .list-of-contents li:hover {
    background: var(--doc-item-hover-background);
    color: var(--link-color);
}
.doc-index-links .list-of-contents li a {
    font-size: 16px;
}
.doc-index-links .list-of-contents span {
    color: var(--text-muted-color);
}
.doc-index-links .list-of-contents .list-of-contents-icon svg {
    color: var(--gray-400);
    height: 21px;
    width: 21px;
}

@media (min-width: 992px) {
    .doc-index-links .list-of-contents li {
        margin-bottom: 0;
    }
}
.doc-index-highlights {
    border: solid var(--doc-section-separator-border-color);
    border-width: 1px 0;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 45px;
    padding: 30px 0;
}
.doc-index-highlights li:last-of-type {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .doc-index-highlights {
        margin-top: 20px;
        margin-bottom: 60px;
        padding: 60px 0;
    }
}
.doc-index-highlight {
    border-radius: var(--border-radius-md);
    margin-bottom: 45px;
    position: relative;
}
.doc-index-highlight:last-of-type {
    margin-bottom: 0;
}

.doc-index-highlight h2 {
    align-items: center;
    display: flex;
    font-size: 18px;
    margin: 0 0 10px;
    position: relative;
}

.doc-index-highlight p {
    font-size: 16px;
    margin-bottom: 0;
}
.doc-index-highlight ul {
    font-size: 15px;
    margin: 10px 0 0;
    padding: 0 0 0 15px;
}
.doc-index-highlight li {
    color: var(--gray-400);
    margin-bottom: 8px;
}
.doc-index-highlight li a {
    color: var(--text-color);
    display: block;
    font-weight: 600;
}
.doc-index-highlight li:hover a,
.doc-index-highlight h2:hover a {
    color: var(--link-color);
}

@media (min-width: 992px) {
    .doc-index-highlight {
        margin-bottom: 0;
        width: 30%;
    }
    .doc-index-highlight h2 {
        font-size: 20px;
        margin: 0 0 10px;
    }
}
.doc-index-highlight .icon {
    margin-right: 15px;
}
.doc-index-highlight .icon svg {
    color: var(--blue-500);
    height: 32px;
    width: 32px;
}

@media (min-width: 992px) {
    .doc-index-highlight .icon {
        top: 0;
    }
    .doc-index-highlight .icon svg {
        height: 36px;
        width: 36px;
    }
}

.doc-index-book,
.doc-index-contributing {
    border-radius: var(--border-radius-md);
    display: flex;
    margin-bottom: 30px;
    padding: 15px;
    position: relative;
}
.doc-index-book img,
.doc-index-contributing img {
    height: 150px;
    margin-right: 30px;
}
.doc-index-book h3,
.doc-index-contributing h3,
.doc-index-book,
.doc-index-contributing h3 a {
    font-size: var(--font-size-md);
}
.doc-index-book p,
.doc-index-contributing p,
.doc-index-book,
.doc-index-contributing a {
    font-size: var(--font-size-sm);
}
.doc-index-book a + a,
.doc-index-contributing a + a {
    margin-left: 15px;
}
.doc-index-contributing a {
    font-weight: 700;
}
.doc-index-book:hover {
    background: var(--doc-item-hover-background);
}
.doc-index-book:hover a,
.doc-index-contributing a:hover {
    color: var(--link-color);
}
.doc-index-contributing .icon {
    align-items: center;
    justify-content: center;
    background: var(--doc-item-hover-background);
    border-radius: 4px;
    display: inline-flex;
    margin-right: 30px;
    height: 100px;
    width: 100px;
}
.doc-index-contributing .icon svg {
    color: var(--gray-400);
    height: 48px;
    width: 48px;
}
.doc-index-extra-resource {
    border-radius: var(--border-radius-md);
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    position: relative;
}
.doc-index-extra-resource:hover {
    background: var(--doc-item-hover-background);
}
.doc-index-extra-resource:hover a {
    color: var(--link-color);
}
.doc-index-extra-resource h4 {
    font-size: 16px;
}
.doc-index-extra-resource .icon {
    color: var(--gray-400);
    margin-right: 15px;
}
.doc-index-extra-resource svg {
    height: 32px;
    width: 32px;
}
.doc-index-extra-resource p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.doc-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin: 30px 0;
    max-width: var(--prose-max-width);
}
.doc-pagination .pagination-item {
    border: 1px solid var(--doc-section-separator-border-color);
    border-radius: var(--border-radius-md);
    flex: 1;
    line-height: var(--line-height-xs);
    list-style: none;
    margin: 0;
    padding: 15px;
    position: relative; /* needed for .stretched-link */
}
.doc-pagination .pagination-item:not(.disabled):hover {
    background: var(--doc-item-hover-background);
}
.doc-pagination .pagination-item:hover a,
.doc-pagination .pagination-item:hover a:hover {
    color: var(--link-color);
}
.doc-pagination .pagination-item::marker {
    content: '';
}
.doc-pagination .pagination-item.pagination-item-next {
    text-align: right;
}
.doc-pagination .pagination-item a,
.doc-pagination .pagination-item a:hover {
    border: none;
    color: inherit;
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}
.doc-pagination .pagination-item span {
    color: var(--text-muted-color);
    font-size: 14px;
}

@media (min-width: 992px) {
    .doc-pagination .pagination-item {
        a {
            font-size: 18px;
        }
        span {
            font-size: 16px;
        }
    }
}

.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors {
    margin-bottom: 20px;
    margin-top: 30px;
}
@media (min-width: 992px) {
    .doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors {
        margin-bottom: 45px;
    }
}

.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors a,
.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors a:hover {
    border: 0;
}

.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors .doc-fasttrack-sidebar-sponsors-intro {
    color: var(--text-muted-color);
    font-size: var(--font-size-sm);
    margin-bottom: 15px;
}

.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors .doc-fasttrack-sidebar-sponsors-logos a {
    display: inline-block;
    margin-bottom: 30px;
}
.doc-fasttrack-sidebar .doc-fasttrack-sidebar-sponsors .doc-fasttrack-sidebar-sponsors-logos a svg {
    max-height: 60px;
    max-width: 140px;
    height: auto;
    width: 100%;
}

.doc-fasttrack-sidebar .highlights {
    display: none;
}
@media (min-width: 992px) {
    .doc-fasttrack-sidebar .highlights {
        display: block;
    }
}

body[data-doc-book='the-fast-track'] [figclass='backer'] {
    margin-bottom: 5px;
}

body[data-doc-book='the-fast-track'] .fast-track-book-version-details {
    margin-top: 44px;
}

body[data-doc-book='the-fast-track'] #company-backers + p ~ figure {
    margin-bottom: 30px;
}

body[data-doc-book='the-fast-track'] .codeblock.hide {
    display: none;
}

.symfony-book-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust size as needed */
    gap: 20px;
}
.symfony-book-logo-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.symfony-book-logo-grid svg {
    width: 100%;
    height: 100%;
    max-height: 60px;
    object-fit: contain; /* Ensures logos are scaled to fit without distortion */
}

body[data-doc-book='the-fast-track'] main {
    counter-reset: substep;
}
body[data-doc-book='the-fast-track'] main .section:not(:first-child) {
    counter-increment: substep;
}

/* the --doc-chapter-number var is set dynamically in the Twig template */
body[data-doc-book='the-fast-track']:not([data-doc-page='index']):not([data-doc-page='preface']) main h1.title::before {
    content: var(--doc-chapter-number) '. ';
}
body[data-doc-book='the-fast-track']:not([data-doc-page='preface']) main h2::before {
    content: var(--doc-chapter-number) '.' counter(substep) ' ';
}

body[data-doc-book='the-fast-track'][data-doc-page='preface'] figure img {
    max-height: 120px;
    max-width: 250px;
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] figure.backer figcaption {
    display: none;
}

body[data-doc-book='the-fast-track'][data-doc-page='preface'] .section h2 ~ p ~ figure ~ ul,
&[data-doc-page='preface'] .section h2 ~ figure ~ ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0 0 0;
    max-width: var(--prose-max-width);
    padding-left: 0;
    text-align: center;
}
@media (min-width: 992px) {
    body[data-doc-book='the-fast-track'][data-doc-page='preface'] .section h2 ~ p ~ figure ~ ul,
    &[data-doc-page='preface'] .section h2 ~ figure ~ ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] .section h2 ~ p ~ figure ~ ul li,
&[data-doc-page='preface'] .section h2 ~ figure ~ ul li {
    margin: 0;
    padding: 30px;
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] .section h2 ~ p ~ figure ~ ul li::marker,
&[data-doc-page='preface'] .section h2 ~ figure ~ ul li::marker {
    content: '';
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] .section h2 ~ p ~ figure ~ ul figure img,
&[data-doc-page='preface'] .section h2 ~ figure ~ ul figure img {
    max-height: 100px;
    max-width: 150px;
}

body[data-doc-book='the-fast-track'][data-doc-page='preface'] figure {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 0;
    max-width: var(--prose-max-width);
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] figure figcaption {
    font-size: var(--font-size-sm);
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] figure figcaption p {
    margin-bottom: 0;
}

body[data-doc-book='the-fast-track'][data-doc-page='preface'] img[figclass='thomas'] {
    max-height: unset;
    max-width: 600px;
}

body[data-doc-book='the-fast-track'][data-doc-page='preface'] .layout-prose ul:first-of-type {
    list-style-type: none;
    margin: 2em 0 3.2em 3em;
    padding: 0;
    column-count: 2;
    column-gap: 1.5em;
}
body[data-doc-book='the-fast-track'][data-doc-page='preface'] .layout-prose ul:first-of-type li::marker {
    content: '';
}

.doc-book-resources {
    display: flex;
}

body[data-doc-book^='internal-'] .layout-prose h1 {
    margin-top: .5em;
}

.doc-newcomers {
    margin-top: 15px;
    position: relative;
}
.doc-newcomers ::marker {
    content: '';
}
.doc-newcomers summary {
    color: var(--link-color);
    text-decoration: none;
    text-underline-offset: 2px;
}
.doc-newcomers summary:hover {
    text-decoration: underline;
}
.doc-newcomers .doc-newcomers-contents {
    background: var(--page-background);
    border: 1px solid var(--doc-section-separator-border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    width: 98%;
    padding: 15px;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 100;
}
.doc-newcomers .doc-newcomers-contents .doc-newcomers-section + .doc-newcomers-section {
    margin-top: 30px;
}
.doc-newcomers .doc-newcomers-contents .doc-newcomers-section svg {
    color: var(--link-color);
    flex-shrink: 0;
    font-size: 28px;
    margin-bottom: 10px;
}
.doc-newcomers .doc-newcomers-contents .doc-newcomers-section p {
    margin: 0;
}
@media (min-width: 768px) {
    .doc-newcomers .doc-newcomers-contents {
        padding: 30px;
        width: 640px;
    }
    .doc-newcomers .doc-newcomers-contents .doc-newcomers-section {
        display: flex;
        align-items: start;
    }
    .doc-newcomers .doc-newcomers-contents .doc-newcomers-section svg {
        margin-bottom: 0;
        font-size: 36px;
    }
    .doc-newcomers .doc-newcomers-contents .doc-newcomers-section p {
        margin: 0 0 0 30px;
    }
}

body[data-doc-reference-root] .section:has(> h2) {
    border-top: 1px solid var(--doc-section-separator-border-color);
    padding-bottom: 1em;
}
body[data-doc-reference-root] h4,
body[data-doc-reference-root] h5 {
    font-size: 20px;
}
body[data-doc-reference-root] .reference-config-path {
    color: var(--text-muted-color);
    font-size: 95%;
    font-weight: 500;
}
