.ap-editorial-card {
    background:#151525;
    border:1px solid #353a5a;
    border-radius:18px;
    overflow:hidden;
    height:100%;
    transition:transform .2s,border-color .2s
}

.ap-editorial-card:hover {
    transform:translateY(-4px);
    border-color:#4289ff
}

.ap-editorial-card .post-card__thumb img {
    display:block;
    width:100%;
    aspect-ratio:430/220;
    object-fit:cover
}

.ap-editorial-card .post-card__content {
    padding:24px
}

.ap-editorial-card .post-card__title a {
    color:#fff
}

.ap-editorial-card .post-card__content p {
    color:#c9bfd5
}

.ap-editorial-card .read-more {
    color:#8caaff
}

/* Contact page: standalone premium layout, without breadcrumb hero or map. */
.ap-contact-page {
    position: relative;
    min-height: 70vh;
    padding: clamp(62px, 7vw, 108px) 0 clamp(75px, 8vw, 120px);
    overflow: hidden;
    background: radial-gradient(ellipse at 82% 10%, rgba(107, 49, 166, .21), transparent 43%),
                radial-gradient(ellipse at 7% 70%, rgba(31, 78, 186, .18), transparent 47%),
                linear-gradient(135deg, #081527 0%, #0c1127 55%, #160c23 100%);
    color: #ecedff;
}
.ap-contact-page .ap-contact-intro {
    max-width: 720px;
    margin: 0 auto clamp(34px, 4vw, 55px);
}
.ap-contact-eyebrow {
    display: inline-block;
    margin-bottom: 11px;
    color: #bba0ff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .075em;
}
.ap-contact-intro h1 {
    margin-bottom: 15px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}
.ap-contact-intro p {
    color: #bfc9e1;
    font-size: clamp(1rem, 1.25vw, 1.13rem);
    line-height: 1.65;
}
.ap-contact-panel {
    height: 100%;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid #354568;
    border-radius: 19px;
    background: linear-gradient(150deg, #152344, #17172f);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .17);
}
.ap-contact-panel-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.ap-contact-panel-icon {
    display: grid;
    flex: 0 0 45px;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #66599e;
    border-radius: 12px;
    background: #292750;
    color: #c1b2ff;
    font-size: 22px;
}
.ap-contact-panel-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.12rem, 1.8vw, 1.4rem);
    font-weight: 700;
}
.ap-contact-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ap-contact-form .form-group { margin-bottom: 20px; }
.ap-contact-form label {
    display: block;
    margin-bottom: 9px;
    color: #e6eaff;
    font-weight: 600;
}
.ap-contact-form .custom-icon-field { position: relative; }
.ap-contact-form .custom-icon-field > i { color: #a6b3d9; }
.ap-contact-form .form--control {
    width: 100%;
    border: 1px solid #435379;
    border-radius: 10px;
    background: #0f1b35;
    color: #f6f6ff;
}
.ap-contact-form .form--control::placeholder { color: #91a1c2; }
.ap-contact-form .form--control:focus {
    border-color: #a17bfa;
    background: #14213e;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(138, 97, 247, .17);
}
.ap-contact-form textarea.form--control { min-height: 170px; }
.ap-contact-form .btn--base {
    min-height: 49px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(105deg, #284be8, #773bdb 58%, #e03e96);
    color: #fff;
    font-weight: 700;
}
.ap-contact-form .btn--base:hover { filter: brightness(1.12); color: #fff; }
@media (max-width: 991px) {
    .ap-contact-panel { height: auto; }
}

@media(prefers-reduced-motion:reduce) {
    .ap-editorial-card {
        transition:none
    }

}
