.deedpoll-resources,
.deedpoll-resources * {
    box-sizing: border-box;
}

.deedpoll-resources {
    --deedpoll-resources-decoration: #d7e7fa;
    --dp-resources-container: 1260px;
    --dp-resource-card-bg: #fff;
    --dp-resource-icon-bg: #073873;
    --dp-resource-title-color: #08285c;
    --dp-resource-link-color: #0a3775;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8fbff;
    color: #08285c;
}

.deedpoll-resources__top {
    position: relative;
    z-index: 2;
    width: calc(100% - 48px);
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 575px minmax(0, 1fr);
    column-gap: 34px;
    align-items: start;
}

.deedpoll-resources__copy {
    position: relative;
    z-index: 2;
    padding-top: 19px;
}

.deedpoll-resources__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    color: #0a3775;
    background: rgba(255,255,255,.82);
    border: 1px solid #9db9de;
    border-radius: 30px;
    font: 700 13px/1 Inter, Arial, sans-serif;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.deedpoll-resources__badge-icon,
.deedpoll-resources__button-icon,
.deedpoll-resources__search-icon,
.deedpoll-resources__card-icon-svg,
.deedpoll-resources__card-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.deedpoll-resources__badge-icon svg,
.deedpoll-resources__button-icon svg,
.deedpoll-resources__search-icon svg,
.deedpoll-resources__card-icon-svg svg,
.deedpoll-resources__card-link-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.deedpoll-resources__title {
    max-width: 555px;
    margin: 22px 0 24px;
    color: #08285c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.9px;
}

.deedpoll-resources__divider {
    width: 204px;
    height: 12px;
    display: flex;
    align-items: center;
    color: #0c3b78;
    margin: 0 0 20px;
}

.deedpoll-resources__divider span {
    height: 1px;
    background: currentColor;
    flex: 1 1 auto;
    position: relative;
}

.deedpoll-resources__divider span:first-child::before,
.deedpoll-resources__divider span:last-child::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: currentColor;
}

.deedpoll-resources__divider span:first-child::before { left: 0; }
.deedpoll-resources__divider span:last-child::after { right: 0; }

.deedpoll-resources__divider b {
    width: 8px;
    height: 8px;
    margin: 0 10px;
    flex: 0 0 auto;
    background: currentColor;
    transform: rotate(45deg);
}

.deedpoll-resources__description {
    color: #526079;
    font: 400 14px/1.5 Inter, Arial, sans-serif;
    margin-bottom: 22px;
}

.deedpoll-resources__actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.deedpoll-resources__button {
    min-height: 45px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-decoration: none;
    color: #fff;
    background: #073873;
    border-radius: 26px;
    font: 700 13px/1 Inter, Arial, sans-serif;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
}

.deedpoll-resources__button:hover {
    color: #fff;
    background: #0a4c93;
    transform: translateY(-1px);
}

.deedpoll-resources__button-icon {
    font-size: 14px;
}

.deedpoll-resources__search {
    width: 342px;
    height: 45px;
    display: flex;
    align-items: center;
    border: 1px solid #c9d7e9;
    border-radius: 25px;
    background: rgba(255,255,255,.74);
    overflow: hidden;
}

.deedpoll-resources__search input {
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    padding: 0 8px 0 21px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #526079;
    font: 400 13px/1 Inter, Arial, sans-serif;
}

.deedpoll-resources__search input::placeholder {
    color: #526079;
    opacity: 1;
}

.deedpoll-resources__search-button {
    width: 48px;
    height: 100%;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: #0a3775;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
}

.deedpoll-resources__hero {
    position: relative;
    z-index: 1;
    height: 348px;
    width: calc(100% + max((100vw - var(--dp-resources-container))/2, 0px));
    overflow: hidden;
    border-radius: 44px 0 0 44px;
}

.deedpoll-resources__hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.deedpoll-resources__cards {
    position: relative;
    z-index: 3;
    width: calc(100% - 48px);
    max-width: 1260px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 29px;
}

.deedpoll-resources__card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--dp-resource-card-bg, #fff);
    border: 1px solid #d3dfee;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16,49,88,.07);
}

.deedpoll-resources__card-image {
    height: 148px;
    overflow: hidden;
    background: #eef3f9;
}

.deedpoll-resources__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.deedpoll-resources__card-icon {
    position: absolute;
    top: 123px;
    left: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--dp-resource-card-accent, var(--dp-resource-icon-bg, #073873));
    box-shadow: 0 0 0 5px #d8e5f5;
    font-size: 17px;
}

.deedpoll-resources__card-body {
    padding: 28px 35px 21px;
    text-align: center;
}

.deedpoll-resources__card-title {
    margin: 3px 0 9px;
    color: var(--dp-resource-card-accent, var(--dp-resource-title-color, #08285c));
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.08;
}

.deedpoll-resources__card-description {
    max-width: 350px;
    margin: 0 auto;
    min-height: 55px;
    color: #536079;
    font: 400 13px/1.35 Inter, Arial, sans-serif;
}

.deedpoll-resources__card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 13px;
    color: var(--dp-resource-card-accent, var(--dp-resource-link-color, #0a3775));
    text-decoration: none;
    font: 700 13px/1 Inter, Arial, sans-serif;
    transition: color .2s ease, gap .2s ease;
}

.deedpoll-resources__card-link:hover {
    color: #1b5ba2;
    gap: 13px;
}

.deedpoll-resources__card-link-icon {
    font-size: 13px;
}

.deedpoll-resources__decoration {
    display: none;
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deedpoll-resources.has-decorations .deedpoll-resources__decoration {
    display: block;
}

.deedpoll-resources__decoration--rings {
    width: 310px;
    height: 310px;
    left: -185px;
    top: -125px;
    border-radius: 50%;
    border: 1px solid var(--deedpoll-resources-decoration);
    opacity: .72;
}

.deedpoll-resources__decoration--rings::before,
.deedpoll-resources__decoration--rings::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--deedpoll-resources-decoration);
}

.deedpoll-resources__decoration--rings::before { inset: 38px; }
.deedpoll-resources__decoration--rings::after { inset: 78px; }

.deedpoll-resources__decoration--dots-left,
.deedpoll-resources__decoration--dots-right {
    width: 150px;
    height: 150px;
    opacity: .62;
    background-image: radial-gradient(circle, var(--deedpoll-resources-decoration) 1.2px, transparent 1.3px);
    background-size: 18px 18px;
}

.deedpoll-resources__decoration--dots-left {
    left: -16px;
    top: 176px;
}

.deedpoll-resources__decoration--dots-right {
    right: 2px;
    top: -8px;
}

@media (max-width: 1200px) {
    .deedpoll-resources__top {
        width: calc(100% - 40px);
        grid-template-columns: minmax(360px, 47%) minmax(0, 1fr);
        column-gap: 26px;
    }
    .deedpoll-resources__title { font-size: 48px; }
    .deedpoll-resources__hero {
        width: calc(100% + 20px);
        margin-right: -20px;
    }
    .deedpoll-resources__cards { width: calc(100% - 40px); }
    .deedpoll-resources__actions { gap: 16px; }
    .deedpoll-resources__search { width: 300px; }
}

@media (max-width: 1024px) {
    .deedpoll-resources__top {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .deedpoll-resources.mobile-hero-first .deedpoll-resources__hero { order: -1; }
    .deedpoll-resources__copy { width: 100%; max-width: 680px; }
    .deedpoll-resources__hero {
        width: calc(100% + 20px);
        margin-right: -20px;
        align-self: stretch;
        border-radius: 34px 0 0 34px;
    }
    .deedpoll-resources__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .deedpoll-resources__top,
    .deedpoll-resources__cards { width: calc(100% - 28px); }
    .deedpoll-resources__copy { padding-top: 8px; }
    .deedpoll-resources__title {
        max-width: none;
        font-size: 40px;
        letter-spacing: -.5px;
    }
    .deedpoll-resources__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .deedpoll-resources__button,
    .deedpoll-resources__search { width: 100%; }
    .deedpoll-resources__hero {
        height: 240px;
        width: calc(100% + 14px);
        margin-right: -14px;
    }
    .deedpoll-resources__cards { grid-template-columns: 1fr; }
    .deedpoll-resources__card-description { min-height: 0; }
}
