/* ========================================================================
   WCA Policy Playbook — Home Hero Widget
   Standalone CSS translation of the live hero's Tailwind/custom treatment.
   Deliberately isolated so the template part does not require Tailwind.
   ======================================================================== */

.wpphw-hero {
    --wpphw-navy: #00113b;
    --wpphw-navy-deep: #000b2c;
    --wpphw-navy-soft: #071d49;
    --wpphw-white: #ffffff;
    --wpphw-copy: #d5d9e3;
    --wpphw-gold: #d0ac6f;
    --wpphw-border: rgba(196, 211, 236, 0.42);
    --wpphw-font-sans: "HN", "Montserrat", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    margin: 0;
    padding: 0;

    color: var(--wpphw-white);
    background:
        radial-gradient(circle at 73% 45%, rgba(24, 70, 132, 0.18) 0, rgba(24, 70, 132, 0) 34%),
        linear-gradient(180deg, var(--wpphw-navy-deep) 0%, var(--wpphw-navy) 31%, #00143e 100%);

    font-family: var(--wpphw-font-sans) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wpphw-hero,
.wpphw-hero *,
.wpphw-hero *::before,
.wpphw-hero *::after {
    box-sizing: border-box;
}

/* Subtle blueprint grid. It gives the section visual depth without requiring
   another image asset and remains intentionally quieter than the mockup. */
.wpphw-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(122, 160, 210, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 160, 210, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;

    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 94%, transparent 100%);
}

.wpphw-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.46;

    background:
        linear-gradient(90deg, transparent 0 9%, rgba(40, 78, 128, 0.08) 9% 10.4%, transparent 10.4% 100%),
        linear-gradient(180deg, transparent 0 68%, rgba(5, 29, 72, 0.38) 68% 69%, transparent 69% 100%);
}

.wpphw-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    /*gap: clamp(46px, 5vw, 92px);*/

    width: min(calc(100% - 64px), 1225px);
    min-height: clamp(650px, 46vw, 770px);
    margin: 0 auto;
    padding: clamp(72px, 6vw, 104px) 0;
}

.wpphw-hero__content,
.wpphw-hero__visual {
    min-width: 0;
}

.wpphw-hero__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.wpphw-hero__logo-wrap {
    width: min(100%, 430px);
    margin: 0 0 24px;
}

.wpphw-hero__logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
}

.wpphw-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    max-width: 100%;
    margin: 0 0 22px !important;
    padding: 8px 17px 8px;

    border: 1px solid var(--wpphw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);

    color: #d7deec !important;
    font-family: Montserrat, var(--wpphw-font-sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.25 !important;
    letter-spacing: 0.115em !important;
    text-transform: uppercase;
}

.wpphw-hero__title {
    max-width: 760px;
    margin: 0 !important;

    color: var(--wpphw-white) !important;
    font-family: var(--wpphw-font-sans) !important;
    font-size: clamp(42px, 3.55vw, 48px) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.055 !important;
    letter-spacing: -0.037em !important;
    text-wrap: balance;
}

.wpphw-hero__subtitle {
    max-width: 710px;
    margin: 10px 0 0 !important;

    color: var(--wpphw-gold) !important;
    font-family: var(--wpphw-font-sans) !important;
    font-size: clamp(29px, 2.45vw, 36px) !important;
    font-weight: 800 !important;
    font-style: italic !important;
    line-height: 1.16 !important;
    letter-spacing: -0.028em !important;
    text-wrap: balance;
}

.wpphw-hero__description {
    max-width: 705px;
    margin: 29px 0 0 !important;

    color: var(--wpphw-copy) !important;
    font-family: Montserrat, var(--wpphw-font-sans) !important;
    font-size: clamp(18px, 1.35vw, 20px) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.57 !important;
    letter-spacing: -0.012em !important;
}

.wpphw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 0;
}

.wpphw-hero__button {
    display: inline-grid !important;
    grid-template-columns: 20px minmax(0, auto) 20px;
    align-items: center;
    column-gap: 14px;

    min-width: 238px;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 18px !important;

    border: 1px solid rgba(10, 26, 52, 0.22) !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.20),
        0 8px 24px rgba(0, 0, 0, 0.10) !important;

    color: #09152b !important;
    font-family: var(--wpphw-font-sans) !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    text-transform: none !important;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}
#wpphw-hero-1{
	margin-top:100px;
}
.wpphw-hero__button:hover {
    transform: translateY(-2px);
    background: #fbfcff !important;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.20),
        0 12px 30px rgba(0, 0, 0, 0.16) !important;
    color: #09152b !important;
}

.wpphw-hero__button:focus-visible {
    outline: 3px solid var(--wpphw-gold) !important;
    outline-offset: 4px;
}

.wpphw-hero__button-icon,
.wpphw-hero__button-arrow {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.wpphw-hero__button-icon svg,
.wpphw-hero__button-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wpphw-hero__button-arrow {
    justify-self: end;
    transition: transform 180ms ease;
}

.wpphw-hero__button:hover .wpphw-hero__button-arrow {
    transform: translateX(3px);
}

.wpphw-hero__button-label {
    white-space: nowrap;
}

.wpphw-hero__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wpphw-hero__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 86, 155, 0.18) 0%, rgba(34, 86, 155, 0) 70%);
    filter: blur(8px);
}

.wpphw-hero__image {
    display: block;
    width: min(100%, 720px);
    height: auto;
    max-height: 590px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.20));
    transform: translateX(1.4%);
}

@media (max-width: 1180px) {
    .wpphw-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 42px;
        width: min(calc(100% - 56px), 1180px);
        min-height: 650px;
    }

    .wpphw-hero__logo-wrap {
        width: min(100%, 385px);
    }

    .wpphw-hero__title {
        font-size: clamp(40px, 4.15vw, 53px) !important;
    }

    .wpphw-hero__subtitle {
        font-size: clamp(27px, 2.9vw, 34px) !important;
    }
}

@media (max-width: 900px) {
	/*
    .wpphw-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
        width: min(calc(100% - 48px), 760px);
        min-height: 0;
        padding: 76px 0 68px;
    }
	*/
	.wpphw-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		width: min(calc(100% - 48px), 760px);
		min-height: 0;
		padding: 76px 0 68px;
		display: flex;
		/*flex-direction: column-reverse;*/
		flex-direction: column;
		gap: 30px;
	}


    .wpphw-hero__content {
        max-width: 656px;
    }

    .wpphw-hero__visual {
        justify-content: flex-start;
    }

    .wpphw-hero__image {
        width: min(100%, 650px);
        max-height: none;
        margin: 0;
        transform: none;
    }
}

@media (max-width: 640px) {
    .wpphw-hero::before {
        background-size: 36px 36px;
        opacity: 0.76;
    }

    .wpphw-hero__inner {
        gap: 40px;
        width: calc(100% - 36px);
        padding: 56px 0 52px;
    }

    .wpphw-hero__logo-wrap {
        width: min(100%, 310px);
        margin-bottom: 21px;
    }

    .wpphw-hero__eyebrow {
        margin-bottom: 19px !important;
        padding: 7px 11px 7px;
        border-radius: 7px;
        font-size: 11px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.09em !important;
    }

    .wpphw-hero__title {
        font-size: clamp(35px, 10.4vw, 43px) !important;
        line-height: 1.07 !important;
        letter-spacing: -0.035em !important;
    }

    .wpphw-hero__subtitle {
        margin-top: 9px !important;
        font-size: clamp(25px, 7.5vw, 31px) !important;
        line-height: 1.18 !important;
    }

    .wpphw-hero__description {
        margin-top: 23px !important;
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    .wpphw-hero__actions {
        margin-top: 27px;
    }

    .wpphw-hero__button {
        width: min(100%, 280px);
        min-height: 56px;
    }
}

@media (max-width: 390px) {
    .wpphw-hero__inner {
        width: calc(100% - 30px);
    }

    .wpphw-hero__title {
        font-size: 34px !important;
    }

    .wpphw-hero__subtitle {
        font-size: 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpphw-hero__button,
    .wpphw-hero__button-arrow {
        transition: none;
    }
}
