/* =========================
   Footer Styling
   ========================= */
.pkp_structure_footer_wrapper {
    width: 100%;
    background-color: transparent; 
    color: #fff;               
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid #ddd; 
}

.pkp_structure_footer {
    max-width: none;
    width: 100%;
    text-align: center;
}

.pkp_brand_footer, 
.pkp_brand_footer img, 
.pkp_brand_footer a {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    display: inline-block;
}

/* =========================
   Remove default borders/shadows globally
   ========================= */
.panel, .panel-default {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* =========================
   Main content area: no borders or lines
   ========================= */
.pkp_structure_main,
.pkp_structure_main .pkp_block {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.pkp_structure_main:before,
.pkp_structure_main:after {
    content: none !important;
    display: none !important;
}

/* =========================
   Sidebar layout and spacing
   ========================= */
.pkp_structure_content {
    display: flex;
    flex-direction: row;
    gap: 20px; /* space between main content and sidebar */
}

.pkp_structure_main {
    flex: 1; /* take remaining space */
}

.pkp_structure_sidebar {
    width: 300px; /* sidebar width */
}

/* =========================
   Sidebar blocks styling (visible border)
   ========================= */
.pkp_structure_sidebar .pkp_block {
    border: 1px solid #ddd;   /* visible light gray border */
    border-radius: 8px;       /* rounded corners */
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;   /* white background */
    box-shadow: none;
}

/* Sidebar block title */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h3 {
    background-color: #1C335F !important; /* light grey */
    color: #ffffff;
    padding: 10px 15px !important;
    margin: -15px -15px 15px !important; /* align with block padding */
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    font-weight: bold;
}

.panel>.list-group .list-group-item,
.panel>.panel-collapse>.list-group .list-group-item,
.pkp_block ul li {
    border-width: 1px 0;  /* only top & bottom borders */
    border-radius: 0;     /* no rounding */
}
/* Sidebar block links */
.pkp_structure_sidebar a {
    color: #1C335F;        /* dark blue links */
    text-decoration: none;  /* optional: remove underline */
}

.pkp_structure_sidebar a:hover {
    color: #133050;         /* darker shade on hover */
    text-decoration: underline;
}

/* =========================
   Responsive adjustments
   ========================= */
@media (max-width: 768px) {
    .pkp_structure_content {
        flex-direction: column;
        gap: 15px;
    }

    .pkp_structure_sidebar {
        width: 100%;
    }
}