/*
Theme Name: weathertomorrow-doly-child
Theme URI: https://weathertomorrow.pk/
Template: doly
Author: WeatherTomorrow.pk
Author URI: https://weathertomorrow.pk/
Description: Custom child theme for WeatherTomorrow.pk based on the Doly theme.
Version: 1.0.0.1787055545
Updated: 2026-08-18 12:19:05

*/
/* =========================================================
   WeatherTomorrow - Weather Page Layout
   Doly Child Theme
   ========================================================= */

/* Remove Doly's visual breadcrumb/title banner from pages */
body.page .breadcrumbs-area {
    display: none !important;
}

/* Remove Doly's duplicate entry title from pages */
body.page .entry-header {
    display: none !important;
}

/* Reduce excessive space above page content */
body.page .entry-content {
    padding-top: 10px;
}

/* =========================================================
   WEATHER TOMORROW — HOMEPAGE WEATHER-FIRST DESIGN
   Applies ONLY to the static homepage.
   Does NOT affect city/weather pages.
   ========================================================= */

/* 1. Remove the theme's duplicate page/breadcrumb title area
   from the homepage only. */
body.home .breadcrumbs-area,
body.home .entry-header {
    display: none !important;
}

/* 2. Reduce the large empty space between the menu and
   the weather widget on the homepage. */
body.home .site-main,
body.home .main-content,
body.home .content-area {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* 3. Keep the homepage weather widget centered and clean. */
body.home .wpwe-search-widget {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* 4. Remove unnecessary top margin from the widget if
   the theme adds spacing around the page content. */
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 5. Keep the weather search area comfortable on desktop. */
@media (min-width: 992px) {
    body.home .wpwe-search-widget {
        width: 100%;
    }
}

/* 6. Give the homepage a little breathing room on mobile. */
@media (max-width: 767px) {
    body.home .site-main,
    body.home .main-content,
    body.home .content-area {
        padding-top: 12px !important;
    }

    body.home .wpwe-search-widget {
        width: 100% !important;
    }
}

/* WeatherTomorrow.pk Footer Navigation */
.wt-footer {
    width: 100%;
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    background: #f7f7f7;
}

.wt-footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.wt-footer-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.wt-footer-nav a:hover {
    text-decoration: underline;
}

.wt-footer-separator {
    color: #999;
}

.wt-footer-copyright {
    color: #777;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 600px) {
    .wt-footer-nav {
        gap: 6px;
    }

    .wt-footer-nav a {
        font-size: 13px;
    }

    .wt-footer-copyright {
        font-size: 12px;
    }
}