/*
Theme Name: Mian Travel
Description: Lightweight block theme for Mian Travel Consultant. Creates the site pages on activation.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mian-travel
License: GPLv2 or later
*/

/* Urdu lines: <p class="ur" lang="ur" dir="rtl"> */
.ur { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.1; direction: rtl; }

.mt-card { border-radius: 14px; box-shadow: 0 6px 24px rgba(11, 24, 70, .08); height: 100%; }
.wp-block-column > .wp-block-image img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.wp-block-media-text__media img { aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.mt-hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(11,24,70,.92) 35%, rgba(11,24,70,.45)) !important; opacity: 1 !important; }
.mt-steps .wp-block-column { counter-increment: step; }
.mt-steps .wp-block-column h3::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .6rem; border-radius: 50%; background: var(--wp--preset--color--gold); color: var(--wp--preset--color--navy); font-size: 1rem; }
.mt-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .mt-header { top: 32px; }
details.wp-block-details { border-bottom: 1px solid #e3e6ef; padding: 1rem 0; }
details.wp-block-details summary { font-weight: 600; cursor: pointer; }

/* Floating WhatsApp button */
.mt-wa { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.mt-wa:hover, .mt-wa:focus { background: #1ebe5b; color: #fff; }
.mt-wa svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 600px) { .mt-wa span { display: none; } .mt-wa { padding: .9rem; } }

/* Show the menu button (instead of a wrapped menu) up to 1100px wide */
@media (max-width: 1100px) {
	.mt-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.mt-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}

/* Instagram profile embed */
/* Height = profile header + 2 rows of 3 square posts, so it scales with width */
.mt-ig-wrap { container-type: inline-size; max-width: 720px; margin: 0 auto; }
.mt-ig { display: block; width: 100%; height: calc(172px + 66.7cqw); border: 0; border-radius: 12px; background: #fff; }
