/* SPOTLIGHT — latest news (4) + CTA on a dark curves canvas */

.spotlight {
    --spot-accent: #be8e59;
    --spot-accent-hover: #957149;
    --spot-ink: #151515;
    --spot-white: #ffffff;
    width: 100%;
    padding: 72px 0 80px;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-color: #151515;
    background-image: url("../admin/uploads/site_settings/curves.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

@media screen and (max-width: 1080px) {
    .spotlight {
        padding: 56px 0 64px;
    }
}

@media screen and (max-width: 767px) {
    .spotlight {
        padding: 48px 0 52px;
    }
}

@media screen and (max-width: 560px) {
    .spotlight {
        padding: 40px 0 44px;
    }
}

@media screen and (max-width: 440px) {
    .spotlight {
        padding: 32px 0 36px;
    }
}

.spotlight_inner {
    width: min(1240px, calc(100% - 8%));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1200px) {
    .spotlight_inner {
        width: calc(100% - 72px);
    }
}

@media screen and (max-width: 1080px) {
    .spotlight_inner {
        width: calc(100% - 64px);
    }
}

@media screen and (max-width: 767px) {
    .spotlight_inner {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 440px) {
    .spotlight_inner {
        width: calc(100% - 32px);
    }
}

.spotlight_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    margin: 0 0 48px;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight.is-visible .spotlight_header {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 767px) {
    .spotlight_header {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 32px;
        gap: 16px;
    }
}

.spotlight_intro {
    min-width: 0;
}

.spotlight_label {
    margin: 0 0 10px;
    color: var(--spot-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.spotlight_heading {
    margin: 0;
    color: var(--spot-white);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.55rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.18;
}

.spotlight_heading span {
    color: var(--spot-accent);
}

.spotlight_explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: var(--spot-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight_explore:hover,
.spotlight_explore:focus-visible {
    color: var(--spot-accent-hover);
    transform: translateX(4px);
}

.spotlight_explore_icon {
    width: 18px;
    height: 18px;
    display: block;
}

.spotlight_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 48px;
}

@media screen and (max-width: 1080px) {
    .spotlight_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        margin: 0 0 36px;
    }
}

@media screen and (max-width: 560px) {
    .spotlight_grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 0 28px;
    }
}

.spotlight_card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(0.12s + var(--spot-i, 0) * 0.08s);
}

.spotlight.is-visible .spotlight_card {
    opacity: 1;
    transform: translateY(0);
}

.spotlight.is-visible .spotlight_card:hover {
    transform: translateY(-8px);
}

.spotlight_card_visual {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.spotlight_card_media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #1c1c1c;
}

.spotlight_card_media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight_card:hover .spotlight_card_media img {
    transform: scale(1.1);
}

.spotlight_card_icon {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--spot-accent);
    border-radius: 50%;
    background: #151515;
    transform: translate(-50%, 50%);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media screen and (max-width: 440px) {
    .spotlight_card_icon {
        width: 54px;
        height: 54px;
    }
}

.spotlight_card:hover .spotlight_card_icon {
    background: var(--spot-accent);
    transform: translate(-50%, 50%) scale(1.06);
}

.spotlight_card_icon_svg {
    width: 24px;
    height: 24px;
    color: var(--spot-accent);
    transition: color 0.3s ease;
}

.spotlight_card:hover .spotlight_card_icon_svg {
    color: #ffffff;
}

.spotlight_card_body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 190px;
    padding: 42px 22px 22px;
    background: var(--spot-white);
    border-radius: 0 0 18px 18px;
    box-sizing: border-box;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.35s ease;
}

.spotlight_card:hover .spotlight_card_body {
    box-shadow: 0 26px 42px rgba(0, 0, 0, 0.28);
}

@media screen and (max-width: 440px) {
    .spotlight_card_body {
        min-height: 0;
        padding: 38px 18px 18px;
    }
}

.spotlight_card_hit {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: 18px;
}

.spotlight_card_title {
    margin: 0 0 10px;
    color: var(--spot-ink);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .spotlight_card_title {
        font-size: 0.96rem;
    }
}

@media screen and (max-width: 440px) {
    .spotlight_card_title {
        font-size: 0.92rem;
    }
}

.spotlight_card_copy {
    margin: 0 0 18px;
    color: #4f4f4f;
    font-family: "Lato", sans-serif;
    font-size: 0.92rem;
    line-height: 1.55;
}

.spotlight_card_arrow {
    position: relative;
    z-index: 5;
    width: 22px;
    margin-top: auto;
    color: var(--spot-accent);
    transition: transform 0.3s ease, color 0.3s ease;
}

.spotlight_card_arrow_icon {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.spotlight_card:hover .spotlight_card_arrow {
    color: var(--spot-accent-hover);
    transform: translateX(4px);
}

.spotlight_cta {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 20px;
    isolation: isolate;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.spotlight.is-visible .spotlight_cta {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 767px) {
    .spotlight_cta {
        min-height: 240px;
        border-radius: 16px;
    }
}

@media screen and (max-width: 440px) {
    .spotlight_cta {
        min-height: 0;
        border-radius: 14px;
    }
}

.spotlight_cta_media {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    transform: scale(1.04);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.spotlight_cta:hover .spotlight_cta_media {
    transform: scale(1.08);
}

.spotlight_cta_tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.spotlight_cta_layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
    gap: 36px 48px;
    align-items: center;
    padding: 48px 40px;
}

@media screen and (max-width: 1200px) {
    .spotlight_cta_layout {
        gap: 28px 36px;
        padding: 40px 32px;
    }
}

@media screen and (max-width: 1080px) {
    .spotlight_cta_layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 28px;
    }
}

@media screen and (max-width: 767px) {
    .spotlight_cta_layout {
        padding: 32px 24px;
        gap: 24px;
    }
}

@media screen and (max-width: 440px) {
    .spotlight_cta_layout {
        padding: 24px 16px;
        gap: 20px;
    }
}

.spotlight_cta_copy {
    max-width: 36em;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

form.spotlight_form.site_form {
    --form-accent: #be8e59;
    --form-accent-deep: #957149;
    --form-gap: 16px;
    --form-control-h: 50px;
    --form-radius: 10px;
    --form-pad-x: 16px;
    --form-ink: #ffffff;
    --form-muted: #989898;
    --form-line: rgba(255, 255, 255, 0.16);
    --form-line-strong: rgba(190, 142, 89, 0.55);
    --form-fill: rgba(21, 21, 21, 0.62);
    --form-fill-focus: rgba(21, 21, 21, 0.86);
    --form-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    min-width: 0;
    padding: 32px;
    border: 1px solid rgba(190, 142, 89, 0.32);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.78) 0%, rgba(21, 21, 21, 0.48) 100%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

@media screen and (max-width: 1200px) {
    form.spotlight_form.site_form {
        padding: 28px;
    }
}

@media screen and (max-width: 767px) {
    form.spotlight_form.site_form {
        padding: 24px 22px;
        border-radius: 16px;
        --form-control-h: 48px;
    }
}

@media screen and (max-width: 440px) {
    form.spotlight_form.site_form {
        padding: 20px 16px;
        border-radius: 14px;
        --form-gap: 12px;
        --form-pad-x: 14px;
    }
}

form.spotlight_form.site_form .form_group {
    margin-bottom: 16px;
}

form.spotlight_form.site_form .form_group:last-child {
    margin-bottom: 0;
}

form.spotlight_form.site_form .form_group_double {
    margin-top: 6px;
    margin-bottom: 0;
}

form.spotlight_form.site_form .form_group_double .form_group_full {
    justify-content: stretch;
}

form.spotlight_form.site_form .form_field input,
form.spotlight_form.site_form .form_field select,
form.spotlight_form.site_form .form_field textarea {
    border-radius: var(--form-radius);
    border-color: var(--form-line);
    background-color: var(--form-fill);
    background-image: none;
    color: #ffffff;
    font-size: 0.92em;
}

form.spotlight_form.site_form .form_field textarea {
    min-height: 108px;
}

form.spotlight_form.site_form .form_field input::placeholder,
form.spotlight_form.site_form .form_field textarea::placeholder {
    color: #989898;
}

form.spotlight_form.site_form .form_field select {
    color: #989898;
    background-image:
        linear-gradient(45deg, transparent 50%, #989898 50%),
        linear-gradient(135deg, #989898 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 2px),
        calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

form.spotlight_form.site_form .form_field select:valid,
form.spotlight_form.site_form .form_field select.is-filled {
    color: #ffffff;
}

form.spotlight_form.site_form .form_field input:hover,
form.spotlight_form.site_form .form_field select:hover,
form.spotlight_form.site_form .form_field textarea:hover {
    border-color: rgba(190, 142, 89, 0.55);
}

form.spotlight_form.site_form .form_field input:focus,
form.spotlight_form.site_form .form_field select:focus,
form.spotlight_form.site_form .form_field textarea:focus {
    border-color: #be8e59;
    background-color: var(--form-fill-focus);
    box-shadow: 0 0 0 3px rgba(190, 142, 89, 0.18);
}

form.spotlight_form.site_form .form_field:focus-within::before {
    background: #be8e59;
}

.spotlight_cta_label {
    margin: 0 0 12px;
    color: var(--spot-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.spotlight_cta_heading {
    margin: 0 0 12px;
    color: var(--spot-white);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.spotlight_cta_text {
    margin: 0 0 22px;
    max-width: 34em;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

@media screen and (max-width: 1080px) {
    .spotlight_cta_copy {
        max-width: none;
        width: 100%;
        text-align: center;
    }

    .spotlight_cta_label,
    .spotlight_cta_heading,
    .spotlight_cta_text {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

.spotlight_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--spot-accent);
    color: var(--spot-ink);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

form.spotlight_form.site_form .spotlight_cta_btn.gen_btn,
form.spotlight_form.site_form .gen_btn {
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--spot-accent);
    color: var(--spot-ink);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    filter: none;
}

.spotlight_cta_btn:hover,
.spotlight_cta_btn:focus-visible,
form.spotlight_form.site_form .spotlight_cta_btn.gen_btn:hover,
form.spotlight_form.site_form .gen_btn:hover,
form.spotlight_form.site_form .spotlight_cta_btn.gen_btn:focus-visible,
form.spotlight_form.site_form .gen_btn:focus-visible {
    background: var(--spot-accent-hover);
    color: var(--spot-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
    filter: none;
}

.spotlight_cta_btn_icon {
    width: 18px;
    height: 18px;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .spotlight_header,
    .spotlight_card,
    .spotlight_cta,
    .spotlight_card_media img,
    .spotlight_cta_media,
    .spotlight_explore,
    .spotlight_cta_btn,
    .spotlight_card_icon,
    .spotlight_card_arrow {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
