/* -- Instant Roofer CSS -- */

.ir-header {
    padding: 150px 50px;
    background-image: linear-gradient(rgba(15, 15, 15, .7) 0 0), url(/imageserver/AdminMedia/instant_roofer/ir_header_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -20px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 80% 95%, 75% 100%, 25% 100%, 20% 95%, 0 95%);
}
.ir-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.ir-global {
    background-image: linear-gradient(rgba(255, 255, 255, .4) 0 0), url(/imageserver/AdminMedia/instant_roofer/abstract_bg.webp);
    background-size: cover;
    background-position: 40% center;
    background-repeat: no-repeat;
    padding: 100px 3% 50px;
}
.ir-wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.ir-content {
    width: 60%;
    padding: 25px;
}
.ir-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    font-style: italic;
}
.ir-highlight {
    position: relative;
}
.ir-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.ir-content p {
    font-size: 1.025rem;
}
.ir-content h2 + p {
    font-weight: 600;
}
.ir-list {
    list-style: none;
    margin: 35px 0 20px;
    padding: 0;
}
.ir-item {
    position: relative;
    margin-bottom: 15px;
    padding-left: 40px;
}
.ir-num {
    position: absolute;
    top: -1px;
    left: 0;
    border-radius: 50%;
    color: #fff;
    background-color: var(--accent-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}
.ir-item p {
    margin: 0;
}
.ir-widget {
    width: 40%;
    padding: 25px;
}
.ir-widget iframe {
    background-color: #f6f6f6;
    box-shadow: 0 5px 10px #ccc;
}
.ir-poweredby {
    font-size: .9rem;
    text-align: center;
    font-style: italic;
    color: #454545;
    margin-top: 10px;
}

@media (max-width: 981px) {
    .ir-header {
        padding: 120px 20px;
    }
    .ir-header h1 {
        font-size: 2.25rem;
    }

    .ir-global {
        padding-left: 0;
        padding-right: 0;
    }
    .ir-content,
    .ir-widget {
        max-width: 850px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .ir-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ir-content h2 {
        font-size: 2rem;
    }
    .ir-widget {
        padding: 0;
    }
    .ir-widget iframe {
        margin-top: 40px;
    }
}