/* ================================================================
   PSE GLOBAL SIDEBAR WIDGET SYSTEM
   ================================================================ */
.pse-global-sidebar > .widget{
    margin:0 0 34px;
    padding:0;
    border:0;
    background:transparent;
}
.pse-global-sidebar > .widget:last-child{margin-bottom:0}
.pse-global-sidebar .widget-title{
    margin:0 0 10px;
    padding:0;
    color:#171717;
    font-size:14px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.pse-global-sidebar .widget-title:after{
    content:"";
    display:block;
    width:25px;
    height:2px;
    margin-top:10px;
    background:#dba32e;
}
.pse-widget-search form{
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px;
    width:100%;
    border:1px solid #d7d7d7;
    background:#fff;
}
.pse-widget-search input{
    width:100%;
    min-width:0;
    height:44px;
    padding:0 13px;
    border:0;
    outline:0;
    background:#fff;
    color:#333;
    font-size:12px;
}
.pse-widget-search button{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    background:#050505;
    color:#fff;
    cursor:pointer;
}
.pse-widget-search button:hover{background:#dba32e}
.pse-widget-search svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}

.pse-widget-categories ul{
    list-style:none;
    margin:0;
    padding:0;
}
.pse-widget-categories li{
    margin:0;
    padding:0;
    border-bottom:1px solid #e8e8e8;
}
.pse-widget-categories li:last-child{
    border-bottom:0;
}
.pse-widget-categories li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    width:100%;
    min-height:39px;
    padding:8px 0;
    box-sizing:border-box;
    color:#333;
    font-size:12px;
    line-height:1.4;
    text-decoration:none;
}
.pse-widget-categories li a:hover{
    color:#c98e12;
}
.pse-widget-categories li a span:first-child{
    min-width:0;
}
.pse-widget-categories li a span:last-child{
    flex:0 0 auto;
    color:#999;
    font-size:11px;
    line-height:1;
}

.pse-widget-archives{
    width:100%;
}
.pse-widget-archives .widget-title{
    margin:0 0 18px;
    color:#171717;
    font-size:14px;
    line-height:1.25;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.pse-widget-archives .widget-title:after{
    content:"";
    display:block;
    width:25px;
    height:2px;
    margin-top:10px;
    background:#dba32e;
}
.pse-widget-archives ul{
    list-style:none;
    width:100%;
    margin:0;
    padding:0;
}
.pse-widget-archives li{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:nowrap;
    gap:12px;
    width:100%;
    min-height:38px;
    margin:0;
    padding:8px 0;
    box-sizing:border-box;
    border-bottom:1px solid #e5e5e5;
}
.pse-widget-archives li + li{
    margin-top:0;
}
.pse-widget-archives li a{
    display:block;
    flex:1 1 auto;
    min-width:0;
    margin:0;
    padding:0;
    color:#3f3f3f;
    font-size:12px;
    line-height:1.4;
    font-weight:400;
    text-decoration:none;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    transition:color .2s ease;
}
.pse-widget-archives li a:hover{
    color:#c98e12;
}
.pse-widget-archives li .post-count{
    display:block;
    flex:0 0 auto;
    margin:0;
    padding:0;
    color:#888;
    font-size:11px;
    line-height:1.4;
    font-weight:400;
    white-space:nowrap;
}
.pse-widget-archives li:last-child{
    border-bottom:0;
}

.pse-widget-tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.pse-widget-tag-list a{
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:0 10px;
    border:1px solid #dedede;
    color:#666;
    font-size:10px;
    line-height:1.2;
    text-decoration:none;
}
.pse-widget-tag-list a:hover{
    border-color:#dba32e;
    color:#c98e12;
}

.pse-widget-post-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}
.pse-widget-post-item{
    display:grid;
    grid-template-columns:55px minmax(0,1fr);
    gap:11px;
    align-items:start;
    color:#171717;
    text-decoration:none;
}
.pse-widget-post-item:hover strong{color:#c98e12}
.pse-widget-post-thumb{
    display:block;
    width:55px;
    height:55px;
    overflow:hidden;
    background:#eee;
}
.pse-widget-post-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.pse-widget-post-copy{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:5px;
}
.pse-widget-post-copy strong{
    color:#171717;
    font-family:Georgia,"Times New Roman",serif;
    font-size:13px;
    line-height:1.25;
    font-weight:400;
}
.pse-widget-post-copy small{
    color:#888;
    font-size:10px;
    line-height:1.3;
}

.pse-widget-subscribe > p{
    margin:0 0 14px;
    color:#666;
    font-size:12px;
    line-height:1.65;
}
.pse-widget-subscribe-row{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
}
.pse-widget-subscribe-row input{
    width:100%;
    min-width:0;
    height:42px;
    padding:0 12px;
    border:1px solid #d7d7d7;
    background:#fff;
    color:#333;
    font-size:12px;
}
.pse-widget-subscribe-row button{
    min-height:40px;
    padding:0 16px;
    border:1px solid #050505;
    background:#050505;
    color:#fff;
    font-size:10px;
    font-weight:700;
    letter-spacing:.03em;
    cursor:pointer;
}
.pse-widget-subscribe-row button:hover{background:#dba32e;border-color:#dba32e}
.pse-widget-subscribe-row button:disabled{opacity:.65;cursor:wait}
.pse-widget-subscribe .pse-newsletter-message{
    margin-top:8px;
    font-size:11px;
    line-height:1.4;
}
.pse-widget-subscribe .pse-newsletter-message.is-success{color:#2f7d32}
.pse-widget-subscribe .pse-newsletter-message.is-error{color:#a33}

.pse-social-icon-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.pse-social-icon-list a,
.pse-social-page-icon{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border:1px solid #d7d7d7;
    border-radius:50%;
    background:#fff;
    color:#171717;
    text-decoration:none;
}
.pse-social-icon-list a:hover{
    border-color:#dba32e;
    background:#dba32e;
    color:#fff;
}
.pse-social-icon-list svg,
.pse-social-page-icon svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
}
.pse-social-icon-list svg path[fill],
.pse-social-page-icon svg path[fill]{fill:currentColor;stroke:none}

.pse-social-page-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.pse-social-page-list > a{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    align-items:center;
    color:#171717;
    text-decoration:none;
}
.pse-social-page-list > a:hover strong{color:#c98e12}
.pse-social-page-list > a > span:last-child{
    display:flex;
    flex-direction:column;
    gap:2px;
}
.pse-social-page-list strong{font-size:12px;font-weight:600}
.pse-social-page-list small{color:#888;font-size:10px}

.pse-widget-empty{
    margin:0;
    padding:12px;
    border:1px dashed #ddd;
    color:#888;
    font-size:11px;
    line-height:1.5;
}

@media(max-width:800px){
    .pse-global-sidebar{
        padding-left:0;
        border-left:0;
        border-top:1px solid #ddd;
        padding-top:30px;
    }
}


/* ================================================================
   PSE GALLERY
   ================================================================ */
.pse-widget-gallery{
    width:100%;
}
.pse-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    width:100%;
}
.pse-gallery-grid.pse-gallery-columns-1{grid-template-columns:1fr}
.pse-gallery-grid.pse-gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pse-gallery-grid.pse-gallery-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pse-gallery-grid.pse-gallery-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.pse-gallery-grid.pse-gallery-columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.pse-gallery-grid.pse-gallery-columns-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.pse-gallery-item{
    position:relative;
    display:block;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#f0f0f0;
    text-decoration:none;
}
.pse-gallery-item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease,opacity .25s ease;
}
.pse-gallery-item:hover img{
    transform:scale(1.045);
}
.pse-gallery-item[data-pse-gallery-lightbox]{
    cursor:zoom-in;
}
.pse-gallery-lightbox{
    position:fixed;
    z-index:999999;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:55px 75px;
    box-sizing:border-box;
    background:rgba(0,0,0,.9);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease,visibility .2s ease;
}
.pse-gallery-lightbox.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.pse-gallery-lightbox-stage{
    display:flex;
    align-items:center;
    justify-content:center;
    width:min(92vw,1200px);
    height:min(88vh,900px);
    margin:0;
}
.pse-gallery-lightbox-stage img{
    display:block;
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    box-shadow:0 10px 40px rgba(0,0,0,.35);
}
.pse-gallery-lightbox-close,
.pse-gallery-lightbox-prev,
.pse-gallery-lightbox-next{
    position:absolute;
    z-index:2;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.45);
    border-radius:50%;
    background:rgba(0,0,0,.35);
    color:#fff;
    font-family:Arial,sans-serif;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}
.pse-gallery-lightbox-close{
    top:20px;
    right:22px;
}
.pse-gallery-lightbox-prev{
    top:50%;
    left:22px;
    transform:translateY(-50%);
}
.pse-gallery-lightbox-next{
    top:50%;
    right:22px;
    transform:translateY(-50%);
}
.pse-gallery-lightbox-close:hover,
.pse-gallery-lightbox-prev:hover,
.pse-gallery-lightbox-next:hover{
    background:#dba32e;
    border-color:#dba32e;
}
body.pse-gallery-lightbox-open{
    overflow:hidden;
}

/* Gallery widget editor */
.pse-gallery-admin-field{
    margin-bottom:10px;
}
.pse-gallery-admin-field .description{
    display:block;
    margin-top:6px;
}
.pse-gallery-admin-preview{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:10px 0 14px;
}
.pse-gallery-admin-item{
    position:relative;
    min-width:0;
    padding:5px;
    border:1px solid #dcdcde;
    border-radius:3px;
    background:#fff;
    cursor:move;
}
.pse-gallery-admin-item img{
    display:block;
    width:100%;
    aspect-ratio:1;
    object-fit:cover;
    margin-bottom:6px;
}
.pse-gallery-admin-item .pse-gallery-remove{
    position:absolute;
    top:3px;
    right:3px;
    width:25px;
    height:25px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#b32d2e;
    font-size:18px;
    line-height:24px;
    text-align:center;
    cursor:pointer;
    box-shadow:0 1px 4px rgba(0,0,0,.18);
}
.pse-gallery-admin-item .pse-gallery-remove:hover{
    background:#b32d2e;
    color:#fff;
}
.pse-gallery-admin-item .pse-gallery-link{
    width:100%;
    box-sizing:border-box;
    min-height:30px;
    font-size:11px;
}
.pse-gallery-admin-preview .ui-sortable-helper{
    opacity:.75;
}
@media(max-width:700px){
    .pse-gallery-grid.pse-gallery-columns-5,
    .pse-gallery-grid.pse-gallery-columns-6{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:480px){
    .pse-gallery-grid.pse-gallery-columns-3,
    .pse-gallery-grid.pse-gallery-columns-4,
    .pse-gallery-grid.pse-gallery-columns-5,
    .pse-gallery-grid.pse-gallery-columns-6{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .pse-gallery-lightbox{
        padding:50px 45px;
    }
    .pse-gallery-lightbox-prev{left:8px}
    .pse-gallery-lightbox-next{right:8px}
}
