.home-nav-editor {
    display: none;
}

.home-heading .portada {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    margin: 22px 0 16px;
    text-align: left;
}

.home-resources {
    background: #f8f4e7;
    border: 1px solid #e9dfc3;
    border-top: 4px solid #ebc013;
    border-radius: 8px;
    color: #1b3c48;
    margin-bottom: 28px;
    padding: clamp(16px, 3vw, 32px);
}

.home-resources-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.home-resources-intro h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 8px;
}

.home-resources-intro p {
    color: #34505a;
    font-size: 16px;
    margin: 0;
    max-width: 65ch;
}

.home-resources-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 5px;
    background: #235060;
    color: #fff;
    font-weight: 700;
}

.home-resources-button:hover,
.home-resources-button:focus {
    background: #1b3c48;
    color: #fff;
    text-decoration: underline;
}

.home-resources-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.home-resource {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 100%;
    padding: 10px;
    background: #fff;
    color: #1b3c48;
    border: 1px solid #e2d9c3;
    border-radius: 6px;
}

.home-resource:hover,
.home-resource:focus {
    border-color: #2c5463;
    color: #1b3c48;
}

.home-resource img {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 3px;
    object-fit: cover;
}

.home-resource h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
}

.home-resource p {
    color: #365760;
    margin: 0;
}

.home-resources a:focus-visible,
.home-nav-editor:focus-visible,
.home-section a:focus-visible {
    outline: 3px solid #b58b00;
    outline-offset: 3px;
}

.home-section {
    margin-bottom: 22px;
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid #dbe5e7;
    border-radius: 8px;
    background: #f5f8f8;
    color: #253e48;
    font-size: 16px;
    line-height: 1.6;
}

.home-section h2.portada {
    margin: 0 0 14px;
    font-size: clamp(20px, 2.35vw, 29px);
    line-height: 1.2;
}

.home-section h3.portada {
    margin: 20px 0 10px;
    font-size: 18px;
    line-height: 1.25;
}

.home-section p,
.home-section ul:not(.home-practice-links) {
    max-width: 70ch;
}

.home-section ul:not(.home-practice-links) > li + li {
    margin-top: 4px;
}

.home-section-feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 16px;
}

.home-section-media {
    text-align: center;
}

.home-section-media img {
    max-width: 100%;
    height: auto;
}

.home-section-action,
.home-practice-links a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #91a8af;
    border-radius: 5px;
    background: #fff;
    color: #235060;
    font-size: 15px;
    font-weight: 700;
}

.home-section-action:hover,
.home-section-action:focus,
.home-practice-links a:hover,
.home-practice-links a:focus {
    background: #e7eff0;
    color: #1b3c48;
    text-decoration: underline;
}

.home-course-reviews,
.home-practice-links {
    display: grid;
    gap: 12px;
}

.home-course-reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-course-reviews blockquote {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #dbe5e7;
    border-left: 3px solid #2c5463;
    border-radius: 5px;
    background: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.home-course-reviews blockquote::before,
.home-course-reviews blockquote::after {
    content: none;
}

.home-practice-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 0;
    list-style: none;
}

.home-practice-links a {
    display: block;
}

@media (max-width: 991px) {
    .home-resources-list,
    .home-course-reviews {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-practice-links {
        grid-template-columns: 1fr;
    }

    .home-nav {
        max-width: 100vw;
    }
}

@media (max-width: 360px) {
    .home-heading .portada {
        margin: 12px 0;
    }

    .home-resources {
        padding: 12px;
    }

    .home-section {
        padding: 16px 0;
        border-width: 1px 0 0;
        border-radius: 0;
        background: transparent;
    }
}

@media (max-width: 1199px) {
    .home-nav .navbar-header {
        display: flex;
        align-items: center;
        float: none;
        min-height: 50px;
    }

    .home-nav .navbar-brand {
        float: none;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(14px, 4.4vw, 18px);
        margin: 0;
        padding: 15px 6px 15px 12px;
    }

    .home-nav-editor {
        display: inline-flex;
        flex: none;
        align-items: center;
        min-height: 34px;
        margin-left: auto;
        padding: 4px 8px;
        border: 1px solid #82989e;
        border-radius: 4px;
        color: #fff;
        font-weight: 700;
    }

    .home-nav-editor:hover,
    .home-nav-editor:focus {
        color: #fff;
        background: #2c5463;
    }

    .home-nav .navbar-toggle {
        display: block;
        float: none;
        flex: none;
        margin: 8px 12px 8px 8px;
    }

    .home-nav .navbar-collapse {
        border-top: 1px solid #333;
    }

    .home-nav .navbar-collapse.collapse:not(.in) {
        display: none !important;
    }

    .home-nav .navbar-collapse.in {
        overflow-y: auto !important;
    }

    .home-nav .navbar-nav {
        float: none;
        margin: 7.5px 0;
    }

    .home-nav .navbar-nav > li {
        float: none;
    }

    .home-nav .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .home-nav .home-nav-editor-link {
        display: none;
    }
}
