/* Native Almaty contact blocks: the same directory treatment as Astana. */
.miras-almaty-content .miras-almaty-contact-directory {
    padding-block: 44px 0;
    background: #fff;
}
.miras-almaty-content .miras-almaty-contact-directory > .miras-almaty-contact-container {
    padding-inline: 0;
}
.miras-almaty-content .miras-almaty-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.miras-almaty-content .miras-almaty-contact-grid > .miras-almaty-contact-card {
    height: 100%;
    min-height: 0;
    padding: 20px;
    border: 1px solid #dfe7ee;
    border-top: 2px solid #c6a044;
    background: #fff;
}
.miras-almaty-content .miras-almaty-contact-card > h3 {
    margin: 0 0 8px;
    color: #153052;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
}
.miras-almaty-content .miras-almaty-contact-card .miras-almaty-contact-actions {
    gap: 0;
    margin: 0;
}
.miras-almaty-content .miras-almaty-contact-card p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
}
.miras-almaty-content .miras-almaty-contact-card a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 4px 10px 32px;
    color: #234680;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.miras-almaty-content .miras-almaty-contact-card a::before {
    content: '';
    position: absolute;
    inset-inline-start: 2px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #b18c32;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    transform: translateY(-50%);
}
.miras-almaty-contact-card a[href^="tel:"]::before { mask-image: url('../icons/phosphor/phone.svg'); }
.miras-almaty-contact-card a[href^="mailto:"]::before { mask-image: url('../icons/phosphor/envelope-simple.svg'); }
.miras-almaty-contact-card a[href*="wa.me/"]::before { mask-image: url('../icons/social/whatsapp.svg'); }
.miras-almaty-contact-card a[href*="2gis.kz/"]::before { mask-image: url('../icons/phosphor/map-pin.svg'); }
.miras-almaty-content .miras-almaty-contact-card a:is(:hover, :focus-visible) {
    color: #0d46a6;
    background: #f5f8fc;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.miras-almaty-contact-address .miras-almaty-icon { display: none; }
.miras-almaty-content .miras-almaty-contact-address .miras-almaty-contact-actions {
    color: #667486;
    margin-bottom: 16px;
}
.miras-almaty-content .miras-almaty-contact-address .miras-almaty-contact-actions p { color: inherit; }
@media (max-width: 1100px) {
    .miras-almaty-content .miras-almaty-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .miras-almaty-content .miras-almaty-contact-directory { padding-top: 32px; }
    .miras-almaty-content .miras-almaty-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .miras-almaty-contact-card { transition: border-color 160ms ease; }
    .miras-almaty-contact-card a { transition: color 160ms ease, background-color 160ms ease; }
}
.miras-almaty-content .miras-almaty-contact-grid > .miras-almaty-contact-card:is(:hover, :focus-within) { border-color: #c6a044; }
