/* 
Theme Name: Buzz To The Rescues Child
Theme URI: http://buzzgroupinc.com
Description: The Buzz Pet Rescue Child Theme is built to be completely customizable for Pet Rescues. It injects the Buzz Plugins using custom shortcodes designed to specifically support Pet Rescues on the Buzz platform.
Version: 1.0.1
Author: Buzz Group, Inc.
Author URI: http://www.buzzgroupinc.com
Template: buzz-rescues
Text Domain: buzz
*/

html, body, div, p, th, td, table, a{font-size:14px;line-height:24px;}a img.alignright{ float:right;margin:0.5em 0 1.25em 1.25em;}a img.alignnone{ margin:0.5em 1.25em 1.25em 0;}a img.alignleft{ float:left;margin:0.5em 1.25em 1.25em 0;}a img.aligncenter{ display:block;margin:inherit auto;}.wp-caption{ background:rgba(255,255,255,0.1);border:1px solid rgba(0,0,0,0.1);max-width:100%;padding:1em;text-align:center;}.wp-caption.alignnone{ margin:0.5em 1.25em 1.25em 0;}.wp-caption.alignleft{ margin:0.5em 1.25em 1.25em 0;}.wp-caption.alignright{ margin:0.5em 0 1.25em 1.25em;}.wp-caption img{ border:0;height:auto;margin:0;max-width:100%;padding:0;}.wp-caption p.wp-caption-text{ font-size:0.8em;line-height:1.25em;margin:0;padding:0 0.3em 0.5em;}.screen-reader-text{ clip:rect(1px, 1px, 1px, 1px);position:absolute;height:1px;width:1px;overflow:hidden;}.screen-reader-text:focus{ background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0, 0, 0, 0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:1em 1.75em;text-decoration:none;top:0.5em;z-index:100000;}.alignright{ float:right;margin:0 0 1.65em 1.65em;}.alignleft{ float:left;margin:1.65em 1.65em 1.65em 0;}.aligncenter{ display:block;text-align:center;margin:0 auto 1em auto;}.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail{ max-width:100%;height:auto;}body.logged-in, .logged-in #nav-expander, .logged-in nav.nav, .logged-in header#header{ top:32px;}body.Bzl-coachella .Bzl-Hd-topbar{padding:0.65em 0;}body.single-dog .give-form .give-donation-amount.form-row-wide{float:none!important;}body.Bzl-denver .Bzl-dog-post .rel .spl_needs_emotional{margin-right:1.75em!important;width:96%!important;}body.Bzl-denver .Bzl-dog-post .rel #dog_sponsor_box{margin-right:1.75em!important;}#Bzl-dog-muskogee-single .Bzl-dog-single-gallery.Bzl-popup-gallery{position:relative;}#Bzl-dog-muskogee-single .Bzl-dog-single-gallery.Bzl-popup-gallery{display:block;box-shadow:-500px 0 0 0 #010054;}#Bzl-dog-miami-single .Bzl-dog-post .Bzl-dog-single-info{background:url('assets/img/detail-logo-bg.png') left bottom no-repeat;}#Bzl-dog-miami-single .Bzl-dog-post .Bzl-dog-single-gallery.Bzl-popup-gallery{background:url('assets/img/miami-stamp.png') left bottom no-repeat;}@media screen and (min-width:320px) and (max-width:767px) and (orientation:portrait){#Bzl-dog-miami-single .Bzl-dog-post .Bzl-dog-single-gallery.Bzl-popup-gallery{background:none;}}ul#wp-admin-bar-root-default li#wp-admin-bar-enable-jquery-migrate-helper{display:none!important;}#Bzl-mega-footer .col-12 .mf-sidebar-header{margin-top:1.65em;}#Bzl-mega-footer .col-12 .mf-sidebar-header{margin-top:3em;}#Bzl-mega-footer .col-12 .text-center h5.text-center,#Bzl-mega-footer .col-12 .text-center a.btn{display:none;}#Bzl-mega-footer .give-tributes-dedicate-donation{text-align:center !important;padding:1.06em 1.65em !important;}#lostNfound .fl-tabs-labels{text-align:center !important;}#lostNfound .fl-tabs-labels .fl-tabs-label{float:none !important;display:inline-block !important;}#lostNfound .buzz-dogs-shortcode .Bzl-dog-post .Bzl-dog-meta .row>div{min-height:35px !important;}.page #lostNfound .buzz-dogs-shortcode.pTB6{padding:0 !important;}

#Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post .Bzl-dog-single-info .spl_needs_head small, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post .give-donation-amount.form-row-wide span.give-currency-symbol, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post .give-donation-amount.form-row-wide span.give-donation-total-label, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post .give-donation-amount.form-row-wide span.give-final-total-amount, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post .give-donation-amount.form-row-wide input#give-amount, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .Bzl-dog-post form.give-form .give-input, #Bzl-dog-montreal-single.Bzl-dog-single.BGprime .hr-separator > span, #give-final-total-wrap > span {
    color: #373f44!important;
}

/* Стили для пагинации */
.pagenav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem 0;
    clear: both;
}

.pagenav .alignleft {
    float: none;
    margin: 0;
}

.pagenav .alignright {
    float: none;
    margin: 0;
}

.pagenav a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.pagenav a:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Для случаев когда нет одной из кнопок */
.pagenav .alignleft:empty {
    display: none;
}

.pagenav .alignright:empty {
    display: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pagenav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pagenav a {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Фикс для страницы редактирования собак на мобильных устройствах */
@media only screen and (max-width: 767px) {
    /* Блокировать flex контейнеры */
    body.post-type-dog .flex-wrap-3,
    body.post-type-dog .flex-wrap-2,
    body.post-type-dog .flex-wrap-64,
    body.post-type-dog .profile-wrap .flex-wrap-3L {
        display: block !important;
    }
    
    /* Сделать flex-box блочными на мобильных */
    body.post-type-dog .flex-wrap-3 > .flex-box,
    body.post-type-dog .flex-wrap-2 > .flex-box,
    body.post-type-dog .flex-wrap-64 > .flex-box,
    body.post-type-dog .profile-wrap .flex-wrap-3L > .flex-box {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        margin-left: 0 !important;
        margin-bottom: 1em;
    }
    
    /* Убрать выравнивание по правому краю на мобильных */
    body.post-type-dog .flex-wrap-3 > .flex-box.text-right,
    body.post-type-dog .flex-wrap-2 > .flex-box.text-right {
        text-align: left !important;
    }
    
    /* Убрать margin-left у dogCurTag на мобильных */
    body.post-type-dog .dogCurTag {
        margin-left: 0 !important;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        display: block !important;
    }
    
    /* Исправить стрелку dogCurTag на мобильных */
    body.post-type-dog .dogCurTag::before {
        display: none !important;
    }
    
    body.post-type-dog .dogCurTag::after {
        display: none !important;
    }
    
    /* Убрать специфичные границы */
    body.post-type-dog .dogCurTag {
        border-style: solid !important;
        border-radius: 4px !important;
    }
}