.hd-installation {
    --hdi-gold: #f4b400;
    --hdi-dark: #2c2c2c;
    color: var(--hdi-dark);
    padding: 20px 0 55px
}

.hd-installation * {
    box-sizing: border-box
}

.hd-installation [hidden] {
    display: none !important
}

.hd-installation .hdi-heading {
    text-align: center;
    margin: 24px 0 30px
}

.hd-installation h1 {
    font-size: 34px;
    font-weight: 750;
    text-transform: uppercase
}

.hd-installation h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px
}

.hd-installation h1:after,
.hd-installation h2:after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background: var(--hdi-gold);
    margin: 12px auto 0
}

.hd-installation h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0
}

.hd-installation p {
    line-height: 1.65;
    margin: 0 0 10px
}

.hdi-cover,
.hdi-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px
}

.hdi-editor {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere
}

.hdi-editor iframe {
    max-width: 100%
}

.hdi-section {
    margin-top: 42px
}

.hdi-benefits,
.hdi-steps,
.hdi-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 25px 0
}

.hdi-benefits article,
.hdi-steps article {
    padding: 22px 16px;
    border: 1px solid #e8e4db;
    border-radius: 10px;
    background: #fff;
    text-align: center
}

.hdi-benefits img {
    width: 64px;
    height: 64px;
    object-fit: contain
}

.hdi-slogan {
    background: #2c2c2c;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700
}

.hdi-tools {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px
}

.hdi-tools label {
    display: grid;
    gap: 5px;
    font-size: 14px
}

.hdi-tools input,
.hdi-tools select {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 12px;
    background: #fff
}

.hdi-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.hdi-nav a {
    padding: 9px 14px;
    border: 1px solid #e5d7ad;
    border-radius: 5px;
    color: #333;
    background: #fffaf0
}

.hdi-nav a:hover {
    background: #f4b400
}

.hdi-group {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 20px;
    scroll-margin-top: 130px
}

.hd-installation .hdi-group h3 {
    margin: 0;
    padding: 14px 18px;
    background: #fff1c7;
    border-left: 4px solid #f4b400
}

.hdi-group table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: auto;
    font-size: 15px
}

.hdi-group th {
    background: #2c2c2c;
    color: #fff;
    text-align: left
}

.hdi-group th,
.hdi-group td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee
}

.hdi-group tr:nth-child(even) {
    background: #fafafa
}

.hdi-group th:first-child,
.hdi-group td:first-child {
    width: 65px;
    text-align: center
}

.hdi-group th:last-child,
.hdi-group td:last-child {
    text-align: right;
    white-space: nowrap;
    width: 24%
}

.hdi-group td:last-child {
    font-weight: 700;
    color: #805900
}

.hdi-group small {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 12px;
    white-space: normal
}

.hdi-date {
    text-align: center;
    color: #666
}

.hdi-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #fff8e4;
    border: 1px solid #f2d78b;
    border-radius: 8px;
    padding: 20px;
    margin: 12px 0
}

.hdi-package strong {
    font-size: 22px;
    color: #805900
}

.hdi-policy {
    padding: 24px;
    background: #fafafa;
    border-left: 4px solid #f4b400
}

.hdi-steps article>span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4b400;
    font-weight: 700
}

.hdi-steps img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 12px
}

.hdi-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px
}

.hdi-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover;
    transition: transform .35s
}

.hdi-gallery figure:hover img {
    transform: scale(1.04)
}

.hdi-gallery figcaption {
    padding: 8px;
    font-size: 14px
}

.hd-installation details {
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    margin: 10px 0;
    padding: 15px 18px
}

.hd-installation summary {
    cursor: pointer;
    font-weight: 600
}

.hd-installation details p {
    margin: 12px 0 0
}

.hdi-empty {
    text-align: center;
    padding: 20px
}

@media(max-width:767px) {
    .hd-installation h1 {
        font-size: 25px
    }

    .hd-installation h2 {
        font-size: 21px
    }

    .hdi-section {
        margin-top: 30px
    }

    .hdi-benefits,
    .hdi-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .hdi-steps {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .hdi-steps article {
        text-align: left
    }

    .hdi-tools {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .hdi-nav {
        display: none
    }

    .hdi-group th:first-child,
    .hdi-group td:first-child {
        display: none
    }

    .hdi-group th,
    .hdi-group td {
        padding: 10px 9px;
        font-size: 13px
    }

    .hdi-group td:last-child {
        width: auto
    }

    .hdi-package {
        align-items: flex-start;
        flex-direction: column
    }

    .hdi-benefits article {
        padding: 12px 8px
    }

    .hdi-group {
        scroll-margin-top: 85px
    }
}

.hd-installation .hdi-benefits-section h2 {
    color: #c68b00;
    text-transform: uppercase;
    margin-bottom: 58px;
    font-size: 30px
}

.hd-installation .hdi-benefits-section h2:after {
    display: none
}

.hd-installation .hdi-benefits {
    gap: 20px;
    margin: 0 0 24px
}

.hd-installation .hdi-benefits article {
    position: relative;
    background: #fff7e2;
    border: 1px solid #eee1bf;
    border-bottom: 3px solid #f4b400;
    border-radius: 5px;
    padding: 36px 12px 16px
}

.hd-installation .hdi-benefits img {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 56px;
    object-fit: contain
}

.hd-installation .hdi-benefits h3 {
    font-size: 17px;
    text-transform: uppercase;
    margin: 3px 0 5px;
    color: #171717
}

.hd-installation .hdi-benefits p {
    font-size: 14px;
    line-height: 1.45;
    color: #75674e;
    margin: 0
}

.hd-installation .hdi-fees {
    width: 68%;
    margin-left: auto;
    margin-right: auto
}

.hdi-scroll {
    max-height: 580px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: #d4a32c #f5f5f5;
    scrollbar-width: thin;
    padding-right: 8px
}

.hd-installation .hdi-scroll .hdi-group {
    scroll-margin-top: 0
}

.hd-installation .hdi-scroll .hdi-group:last-child {
    margin-bottom: 0
}

.hd-installation .hdi-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px
}

.hd-installation .hdi-gallery-slider.flickity-enabled {
    display: block;
    padding-bottom: 24px
}

.hd-installation .hdi-gallery-slider.flickity-enabled figure {
    width: calc((100% - 48px)/5);
    margin-right: 12px;
    height: auto;
    bottom: auto
}

.hd-installation .hdi-gallery-slider .flickity-prev-next-button {
    width: 32px;
    height: 32px
}

.hd-installation .hdi-gallery-slider .flickity-page-dots {
    bottom: 0
}

.hd-installation .hdi-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    contain-intrinsic-size: none
}

@media(max-width:991px) {
    .hd-installation .hdi-fees {
        width: 100%
    }
}

@media(max-width:767px) {
    .hd-installation .hdi-benefits-section h2 {
        font-size: 23px;
        margin-bottom: 45px
    }

    .hd-installation .hdi-benefits {
        gap: 42px 10px
    }

    .hd-installation .hdi-benefits article {
        padding: 30px 8px 12px
    }

    .hd-installation .hdi-benefits h3 {
        font-size: 14px
    }

    .hd-installation .hdi-benefits p {
        font-size: 13px
    }

    .hd-installation .hdi-benefits img {
        width: 64px;
        height: 48px;
        top: -24px
    }

    .hd-installation .hdi-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .hd-installation .hdi-gallery-slider.flickity-enabled figure {
        width: calc((100% - 10px)/2);
        margin-right: 10px
    }

    .hdi-scroll {
        max-height: 460px;
        padding-right: 4px
    }
}

/* Installation process, FAQ and portrait galleries */
.hd-installation .hdi-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 42px;
    margin: 32px 0 46px
}

.hd-installation .hdi-steps article {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    background: transparent;
    min-width: 0
}

.hd-installation .hdi-steps .hdi-step-number {
    display: grid;
    place-items: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff5d9;
    color: #a87500;
    font-size: 30px;
    font-weight: 750;
    border: 1px solid #f7e8bc
}

.hd-installation .hdi-step-content {
    flex: 1;
    min-width: 0;
    padding: 3px 0
}

.hd-installation .hdi-step-content h3 {
    font-size: 16px;
    line-height: 1.45;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: #242424
}

.hd-installation .hdi-step-content ul {
    list-style: disc outside;
    padding-left: 20px;
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.65
}

.hd-installation .hdi-step-content li {
    margin: 0 0 3px;
    padding: 0
}

.hd-installation .hdi-faq {
    width: 68%;
    margin-left: auto;
    margin-right: auto
}

.hd-installation .hdi-faq details {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e6e3dc;
    border-radius: 8px;
    margin: 12px 0;
    background: #fff;
    transition: border-color .2s, background .2s
}

.hd-installation .hdi-faq summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    list-style: none;
    font-size: 16px;
    line-height: 1.5;
    color: #2c2c2c;
    transition: background .2s, color .2s
}

.hd-installation .hdi-faq summary::-webkit-details-marker {
    display: none
}

.hd-installation .hdi-faq summary::marker {
    content: ''
}

.hd-installation .hdi-faq-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff2cb;
    color: #946600;
    font-size: 19px;
    font-weight: 700
}

.hd-installation .hdi-faq-title {
    flex: 1;
    min-width: 0
}

.hd-installation .hdi-faq-toggle {
    position: relative;
    flex: 0 0 20px;
    height: 20px;
    color: #946600
}

.hd-installation .hdi-faq-toggle:before,
.hd-installation .hdi-faq-toggle:after {
    content: '';
    position: absolute;
    top: 9px;
    left: 3px;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 2px
}

.hd-installation .hdi-faq-toggle:after {
    transform: rotate(90deg);
    transition: transform .2s
}

.hd-installation .hdi-faq details[open] .hdi-faq-toggle:after {
    transform: rotate(0)
}

.hd-installation .hdi-faq details:hover,
.hd-installation .hdi-faq details[open] {
    border-color: #e6b841
}

.hd-installation .hdi-faq summary:hover,
.hd-installation .hdi-faq details[open] summary {
    background: #fff7e2;
    color: #805900
}

.hd-installation .hdi-faq summary:focus-visible {
    outline: 2px solid #a87500;
    outline-offset: -3px
}

.hd-installation .hdi-faq details p {
    margin: 0;
    padding: 15px 20px 18px 62px;
    border-top: 1px solid #f0e8d4;
    font-size: 15px;
    color: #444;
    line-height: 1.75
}

.hd-installation .hdi-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block
}

@media(max-width:991px) {
    .hd-installation .hdi-faq {
        width: 100%
    }
}

@media(max-width:767px) {
    .hd-installation .hdi-steps {
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 24px 0 32px
    }

    .hd-installation .hdi-steps article {
        gap: 12px
    }

    .hd-installation .hdi-steps .hdi-step-number {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 23px
    }

    .hd-installation .hdi-step-content h3 {
        font-size: 14px
    }

    .hd-installation .hdi-step-content ul {
        font-size: 14px
    }

    .hd-installation .hdi-faq summary {
        padding: 12px;
        gap: 9px;
        font-size: 14px
    }

    .hd-installation .hdi-faq details p {
        padding: 12px 15px;
        font-size: 14px
    }
}