/* Photography treatment for the existing advisor theme. */
.hero-art:has(.advisor-hero-photo) {
    max-width: 530px;
    margin-inline: auto;
}
.hero-art .advisor-hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border: 9px solid #fff;
    border-radius: 30px;
    box-shadow: 0 24px 65px rgba(17, 35, 74, .18);
}
.profile-card {
    overflow: hidden;
    background: #f6f4ef;
    border: 1px solid #e4e7ee;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(17, 35, 74, .10);
}
.profile-card .advisor-profile-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}
.advisor-gallery-section {
    background: linear-gradient(135deg, #f5f7fc, #faf7f0);
}
.advisor-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 950px;
    margin-inline: auto;
}
.advisor-gallery figure {
    min-width: 0;
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e4e7ee;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(17, 35, 74, .08);
}
.advisor-event-frame {
    overflow: hidden;
    border-radius: 15px;
    background: #f3f4f7;
}
.advisor-event-frame img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: contain;
}
.advisor-gallery figcaption {
    padding: 20px 12px 10px;
}
.advisor-gallery h3 {
    margin: 0 0 8px;
    font-size: 23px;
    color: #14254d;
}
.advisor-gallery figcaption p {
    margin: 0;
    color: #465674;
}
.solution-photo, .plan-photo, .cover-photo, .why-photo, .contact-photo, .service-hero img {
    object-fit: cover;
    filter: saturate(.94) contrast(1.025);
    image-rendering: auto;
}
.why-photo, .contact-photo, .service-hero img {
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(17, 35, 74, .10);
}
.solution, .plan-card, .cover {
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(17, 35, 74, .06);
}
@media (max-width: 760px) {
    .hero-art:has(.advisor-hero-photo) { width: min(100%, 430px); }
    .hero-art .advisor-hero-photo { border-width: 6px; border-radius: 24px; }
    .advisor-gallery { grid-template-columns: 1fr; gap: 22px; }
    .advisor-gallery figure { max-width: 440px; width: 100%; justify-self: center; }
    .advisor-event-frame img { height: auto; max-height: 720px; }
    .advisor-gallery h3 { font-size: 21px; }
}
