/*
Theme Name: DYPEDE Twenty Twenty Five
Theme URI: 
Author: The DYPEDE IT Team
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: dypede-twentytwentyfive
Tags: 
*/

body:has(.pinned-post-block) .site-header-block-group {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}

.pinned-post-block {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    background-color: var(--wp--preset--color--contrast-3);
    border-top: 2px solid var(--wp--preset--color--contrast);
    border-bottom: 2px solid var(--wp--preset--color--contrast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.pinned-post-block p {
    text-align: center;
    font-size: 1.1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.pinned-label {
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .pinned-post-block {
        position: static;
    }

    body:has(.pinned-post-block) .site-header-block-group {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

}