/* Alaska Business Spotlight Manager 1.0.10: preserve Divi tile design + background-only zoom */
.akbiz-spotlights-grid {
    display: grid;
    grid-template-columns: repeat(var(--akbiz-columns, 3), minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    width: 100%;
}
.akbiz-spotlight-card {
    position: relative;
    display: flex;
    min-width: 0;
    background: #171717;
    color: #fff;
    overflow: hidden;
}
.akbiz-spotlight-card[hidden] { display: none !important; }
.akbiz-spotlight-card__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    width: 100%;
    min-height: var(--akbiz-height-desktop, 445px);
    height: var(--akbiz-height-desktop, 445px);
    box-sizing: border-box;
    color: #fff;
    text-decoration: none !important;
    cursor: pointer;
    background-color: var(--akbiz-background, #181818);
}
/* Scale the visual asset, never the content (industry heading, title, or CTA). */
.akbiz-spotlight-card__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--akbiz-background, #181818);
    background-image: linear-gradient(to bottom, rgba(0,0,0,.03) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,.48) 100%), var(--akbiz-image, none);
    background-size: cover;
    background-position: center center, var(--akbiz-image-position, center center);
    transform: scale(1);
    transform-origin: center center;
    transition: transform 450ms ease;
    pointer-events: none;
    will-change: transform;
}
.akbiz-spotlight-card__visual[data-blend="soft-light"]::before { background-blend-mode: normal, normal; }
.akbiz-spotlight-card__visual[data-blend="overlay"]::before { background-blend-mode: normal, normal; }
@media (hover: hover) and (pointer: fine) {
    .akbiz-spotlight-card:hover .akbiz-spotlight-card__visual::before { transform: scale(1.07); }
    .akbiz-spotlight-card:hover .akbiz-spotlight-card__hover-video { transform: scale(1.07); }
}
.akbiz-spotlight-card:focus-within .akbiz-spotlight-card__visual::before { transform: scale(1.07); }
.akbiz-spotlight-card:focus-within .akbiz-spotlight-card__hover-video { transform: scale(1.07); }
.akbiz-spotlight-card__industry {
    position: absolute;
    top: 17px;
    left: 17px;
    right: 17px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: calc(100% - 34px);
    min-height: 32px;
    padding: 7px 12px 7px 11px;
    background: rgba(15, 18, 21, .83);
    border-left: 4px solid #bf1e1e;
    box-shadow: 0 2px 12px rgba(0,0,0,.16);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.akbiz-spotlight-card__industry h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    letter-spacing: .085em;
    text-transform: uppercase;
    text-align: left;
}
.akbiz-spotlight-card__bottom {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 20% 10px 30px;
    text-align: center;
}
.akbiz-spotlight-card__name {
    margin: auto 0 20px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    text-align: center;
    text-shadow: 0 2px 7px rgba(0,0,0,.55);
    overflow-wrap: normal;
}
.akbiz-spotlight-card__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: none;
    min-height: 43px;
    padding: 10px 19px;
    background: #bf1e1e;
    border: 2px solid #bf1e1e;
    border-radius: 0;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    text-transform: uppercase;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    clip-path: polygon(0 0,100% 0,100% 100%,14px 100%,0 calc(100% - 14px));
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.akbiz-spotlight-card__cta:hover,
.akbiz-spotlight-card__cta:focus-visible {
    color: #bf1e1e !important;
    background: #fff;
    border-color: #fff;
}
.akbiz-spotlight-card__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.akbiz-spotlight-card__hover-video {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transform: scale(1);
    transition: opacity .3s ease, transform 450ms ease;
}
.akbiz-spotlight-card:hover .akbiz-spotlight-card__hover-video,
.akbiz-spotlight-card:focus-within .akbiz-spotlight-card__hover-video { opacity: 1; }
.akbiz-spotlights-grid:not([data-akbiz-ready]) { visibility: hidden; }
@media (max-width: 1200px) {
    .akbiz-spotlight-card__name { font-size: clamp(27px, 3.6vw, 44px) !important; }
}
@media (max-width: 980px) {
    .akbiz-spotlights-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .akbiz-spotlight-card__visual { min-height: var(--akbiz-height-tablet, 425px); height: var(--akbiz-height-tablet, 425px); }
    .akbiz-spotlight-card__bottom { padding-top: 30%; }
    .akbiz-spotlight-card__name { font-size: 40px !important; }
}
@media (max-width: 600px) {
    .akbiz-spotlights-grid { grid-template-columns: minmax(0,1fr); }
    .akbiz-spotlight-card__visual { min-height: var(--akbiz-height-mobile, 440px); height: var(--akbiz-height-mobile, 440px); }
    .akbiz-spotlight-card__bottom { padding-top: 50%; }
    .akbiz-spotlight-card__name { font-size: 30px !important; }
    .akbiz-spotlight-card__industry { top: 14px; left: 14px; right: 14px; max-width: calc(100% - 28px); }
    .akbiz-spotlight-card__industry h3 { font-size: 11px !important; }
}

/* Clear, stable inset border on hover and keyboard focus; does not affect card sizing. */
.akbiz-spotlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    border: 4px solid #bf1e1e;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}
.akbiz-spotlight-card:hover::after,
.akbiz-spotlight-card:focus-within::after { opacity: 1; }

/* One full-card link; preserve the original CTA appearance and keyboard focus treatment. */
.akbiz-spotlight-card__visual:hover,
.akbiz-spotlight-card__visual:focus,
.akbiz-spotlight-card__visual:visited { color: #fff !important; text-decoration: none !important; }
.akbiz-spotlight-card__visual:focus-visible { outline: 3px solid #ffffff; outline-offset: -7px; }
.akbiz-spotlight-card__visual:hover .akbiz-spotlight-card__cta,
.akbiz-spotlight-card__visual:focus-visible .akbiz-spotlight-card__cta { color: #bf1e1e !important; background: #fff; border-color: #fff; }
