/**
 * Surreal Homes - Global Custom Styles
 * 
 * Contains all global custom CSS extracted from functions.php
 * Includes: map styles, pagination, taxonomy spacing, sidebar styles
 * 
 * Version: 1.0.0
 * Last Updated: 2025-11-08
 */

/* =============================================================================
   MAP INFOWINDOW IMAGES
   Makes map preview images cover the full card
============================================================================= */
.gm-style-iw img,
.gm-style-iw-c img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* =============================================================================
   PAGINATION STYLES
   Larger tap targets for better mobile usability
============================================================================= */
.pagination a,
.pagination span,
.page-numbers {
    min-width: 44px;
    padding: 10px 14px;
    font-size: 16px;
}

/* =============================================================================
   TAXONOMY PAGE SPACING
   Adds proper spacing between navigation and content on location pages
============================================================================= */
body.tax-province-state .site-main,
body.tax-neighborhood .site-main,
body.tax-property-city .site-main {
    padding-top: 40px !important;
}

/* Backup method - add margin to container */
body.tax-province-state .container:first-of-type,
body.tax-neighborhood .container:first-of-type,
body.tax-property-city .container:first-of-type {
    margin-top: 40px !important;
}

/* =============================================================================
   SIDEBAR BLOCKQUOTE STYLING
   Tones down the sidebar blockquote to match body text
============================================================================= */
.tfre_single_sidebar .wp-block-quote {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 15px !important;
    margin: 0 0 20px 0 !important;
    background: #f8f9fa !important;
    border-left: 3px solid #e0e0e0 !important;
}

.tfre_single_sidebar .wp-block-quote ul {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.tfre_single_sidebar .wp-block-quote li {
    font-size: 14px !important;
    font-weight: normal !important;
    margin-bottom: 8px !important;
    color: #333 !important;
}

.tfre_single_sidebar .wp-block-quote li strong,
.tfre_single_sidebar .wp-block-quote li em {
    font-weight: 500 !important;
    font-style: normal !important;
}

/* =============================================================================
   ZODDAK FALLBACK MAP
   Hides the fallback map element
============================================================================= */
#zoddak-fallback-map {
    display: none !important;
}
