/* Travel Pilot - site polish (loaded on every page by includes/header.php) */

/* Homepage: Exclusive Offers cards - same size, tidy images */
.tp-offers-section .tp-offer-card{height:100%;display:flex;flex-direction:column}
.tp-offers-section .tp-offer-card .tp-offer-media{position:relative;display:block;aspect-ratio:4/3;height:auto!important;min-height:0!important;overflow:hidden}
.tp-offers-section .tp-offer-card .tp-offer-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tp-offers-section .tp-offer-body{flex:1;display:flex;flex-direction:column}
.tp-offers-section .tp-offer-bottom{margin-top:auto}

/* Homepage: heading weight matches the other sections */
.tp-why-section h2{font-weight:800!important;letter-spacing:-.02em}

/* Homepage: blog cards - same image ratio, link pinned to the bottom */
.tp-blog-section .tp-blog-card{height:100%;display:flex;flex-direction:column}
.tp-blog-section .tp-blog-card .tp-blog-media{position:relative;display:block;aspect-ratio:16/10;height:auto!important;min-height:0!important;overflow:hidden}
.tp-blog-section .tp-blog-card .tp-blog-media img{position:absolute;inset:0;width:100%;height:100%;min-height:0!important;object-fit:cover;object-position:center top}
.tp-blog-section .tp-blog-body{flex:1;display:flex;flex-direction:column}
.tp-blog-section .tp-blog-body .tp-text-link{margin-top:auto;padding-top:10px}

/* Floating WhatsApp button sits above the reCAPTCHA badge */
body #tp-ai-chat{right:16px!important;bottom:92px!important}
@media(max-width:767px){body #tp-ai-chat{right:12px!important;bottom:88px!important}}

/* Footer logo on the dark background */
.footer img.logo{background:transparent!important;border-radius:0!important;padding:0!important;height:auto;max-width:210px}
