/* /info and /custom-trips cards — 2026-12 (director t119u, spec section В). Loaded only by info.php and custom-trips.php. */

/* --- /info хуудас: картууд --- */
.ap-info { max-width: 1320px; margin: 0 auto; padding: 56px 24px 80px; }
.ap-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ap-info-grid--sm { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.ap-info-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 40, 60, .07); text-decoration: none; color: #0f2a3c;
    transition: transform .2s, box-shadow .2s;
}
.ap-info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 40, 60, .14); }
.ap-info-card:focus-visible { outline: 3px solid #64a6c4; outline-offset: 3px; }
.ap-info-img { height: 190px; overflow: hidden; background: #eef3f7; }
.ap-info-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ap-info-card:hover .ap-info-img img { transform: scale(1.05); }
.ap-info-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
/* !important: responsive-type.css sets every body h2 to 20-28px !important; the spec's cards use 17/15/22px. */
.ap-info .ap-info-body h2 { font-family: Comfortaa, sans-serif; font-size: 17px !important; line-height: 1.35 !important; font-weight: 700; margin: 0 0 8px; color: #21526d; text-transform: none; }
.ap-info-body p { font-size: 13px; line-height: 1.55; color: #5b6f80; margin: 0; }
.ap-info-more { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: #23b0eb; }
.ap-info-card--sm { flex-direction: row; align-items: center; padding: 18px 20px; gap: 16px; }
.ap-info-card--sm .ap-info-body { padding: 0; }
.ap-info .ap-info-card--sm .ap-info-body h2 { font-size: 15px !important; margin-bottom: 4px; }
.ap-info-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    background: #e8f6fd; color: #23b0eb; display: flex; align-items: center; justify-content: center;
}
.ap-info-arrow { margin-left: auto; color: #9fb0bf; flex-shrink: 0; }
.ap-info-card--sm:hover .ap-info-arrow { color: #23b0eb; }
@media (max-width: 1024px) { .ap-info-grid { grid-template-columns: repeat(2, 1fr); } .ap-info-grid--sm { grid-template-columns: 1fr; } }
@media (max-width: 640px)  { .ap-info-grid { grid-template-columns: 1fr; } }

/* --- /custom-trips: картуудын ард далайн эргийн blur-дсэн дэвсгэр --- */
/* Root-relative URL: this file lives in assets/css/, so a bare "uploads/..." would resolve to assets/css/uploads/. */
.ap-blur-bg { position: relative; overflow: hidden; isolation: isolate; }
.ap-blur-bg::before {
    content: ""; position: absolute; inset: -30px; z-index: -2;
    background: url("/uploads/202610/bd2be9065892c42a986a7dcf5253a7d4.jpg") center / cover no-repeat;
    filter: blur(14px) saturate(1.1); transform: scale(1.05);
}
.ap-blur-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .08); }

/* --- /custom-trips: 2 том карт --- */
.ap-info-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.ap-info-grid--2 .ap-info-img { height: 320px; }
.ap-info .ap-info-grid--2 .ap-info-body { padding: 26px 28px 28px; }
.ap-info .ap-info-grid--2 .ap-info-body h2 { font-size: 22px !important; }
.ap-info-grid--2 .ap-info-body p { font-size: 14px; }
@media (max-width: 768px) { .ap-info-grid--2 { grid-template-columns: 1fr; } .ap-info-grid--2 .ap-info-img { height: 220px; } }
