/* ── Header ── */
html{
  background-color: #e8e8e8 !important;
}

.pkp_site_name {padding-top: 0 !important; padding-bottom: 0 !important}
.pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
.pkp_site_name .is_img {
    width: 100%;
}
.pkp_site_name .is_img img {
    max-height: 200px !important;
    border-radius: 12px;
    display: block;
    width: 100%;
}
.pkp_site_name_wrapper {padding-left: 0; padding-right: 0;}

.pkp_structure_head {
    border-bottom: none !important;
    border-radius: 15px 15px 0px 0px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.pkp_head_wrapper {
    padding-bottom: 0.5rem !important;
}

.has_site_logo .pkp_head_wrapper {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
}

/* ── Navigation bar ── */
.pkp_navigation_primary_row {
    margin-top: 0;
    border-radius: 0 0 14px 14px;
}

.pkp_navigation_primary > li > a {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 6px;
    transition: background 0.15s, border-color 0.15s;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: rgba(255,255,255,0.1);
}

.pkp_search.pkp_search_desktop {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.35);
    transition: background 0.15s;
}

.pkp_search.pkp_search_desktop:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

/* ── Dropdown menu (shared) ── */
.dropdown-menu {
    position: absolute !important;
    background: #fff;
    border: 1px solid #d4d0f5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(79,70,184,0.15);
    padding: 0.4rem 0;
    min-width: 170px;
    z-index: 1050;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.1rem;
    color: #4f46b8;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

.dropdown-menu li a:hover {
    background: #ecebfb;
    color: #3730a3;
    text-decoration: none;
}

/* ── User nav (top right) ── */
.pkp_navigation_user_wrapper {
    top: -5px;
    right: 0;
    padding-right: 30px;
    width: 100%;
}
.pkp_navigation_user.pkp_navigation_user {
  width: 100%;
}
.pkp_navigation_user_wrapper .dropdown-menu {
    right: 0;
    left: auto;
}

/* ── Page background ── */
body {
    background-color: #e8e8e8 !important;
}

/* ── Page wrapper – centered column with gray showing around it ── */
.pkp_structure_page {
    max-width: 1200px !important;
    margin: 24px auto !important;
    border-radius: 15px;
    padding: 0 !important;
    box-sizing: border-box;
    background-color: #f3f2fc;
}

/* ════════════════════════════════════════
   AFTER-HEADER  (content + sidebar)
   Lavender section · white rounded cards
   ════════════════════════════════════════ */
.pkp_structure_content {
    margin: 0 !important;
    padding: 1rem !important;
    background-color: #f3f2fc;
    width: 100%;
}

 .pkp_structure_main:before,.pkp_structure_main:after{
  width: 0px;
 }

.pkp_structure_sidebar {
    background-color: transparent !important;
}

/* ── Main content card ── */
.pkp_structure_main {
    background: transparent;
    box-shadow: none;
    padding: 0 1.5rem 0 0 !important;
}

.homepage_about {
    background: #ffffff;
    border: 1px solid #e4e3f7;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(79,70,184,0.06);
    padding: 1.5rem 1.75rem !important;
}

.homepage_about h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2b2a4d;
    border-bottom: 1px solid #e4e3f7;
    padding-bottom: 0.75rem;
    margin-bottom: 1.1rem;
}

.homepage_about p {
    color: #3a3a52;
    line-height: 1.7;
}

/* ── Shared card shell ── */
#customblock-sidebar,
.pkp_block {
    margin-bottom: 1.25rem !important;
    border: 1px solid #e4e3f7 !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(79,70,184,0.06);
    background: #ffffff;
}

/* ── Card header (light lavender + indigo small caps) ── */
.pkp_block .title,
#customblock-sidebar table tr:first-child td {
    background-color: #ecebfb !important;
    color: #4f46b8 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em !important;
    margin: 0;
    border-bottom: 1px solid #e4e3f7 !important;
}

.pkp_block .title {
    padding: 13px 16px;
}

#customblock-sidebar table tr:first-child td span {
    color: #4f46b8 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    display: block;
    padding: 13px 16px !important;
}

/* ── MAIN MENU rows ── */
#customblock-sidebar table {
    border-collapse: collapse;
    width: 100%;
}

#customblock-sidebar table td {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0eff9 !important;
    padding: 0 !important;
}

#customblock-sidebar table tr:last-child td {
    border-bottom: none !important;
}

#customblock-sidebar table tr:not(:first-child) td span,
#customblock-sidebar table tr:not(:first-child) td a span {
    color: #2b2a4d !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

#customblock-sidebar table tr:not(:first-child) td a {
    display: flex;
    align-items: center;
    padding: 11px 16px !important;
    text-decoration: none;
    transition: background 0.15s;
}

#customblock-sidebar table tr:not(:first-child) td a::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-right: 12px;
    border: 1.5px solid #b9b7ea;
    border-radius: 4px;
}

#customblock-sidebar table tr:not(:first-child) td a:hover {
    background-color: #f6f5ff !important;
}

/* ── Other blocks (Information, Latest publications) ── */
.pkp_block .content {
    padding: 0.4rem 0;
}

.pkp_block .content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkp_block .content ul li {
    padding: 0;
    border-bottom: 1px solid #f0eff9;
}

.pkp_block .content ul li:last-child {
    border-bottom: none;
}

.pkp_block .content ul li a {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    color: #2b2a4d !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s;
}

.pkp_block .content ul li a::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-right: 12px;
    border: 1.5px solid #b9b7ea;
    border-radius: 4px;
}

.pkp_block .content ul li a:hover {
    background-color: #f6f5ff;
    color: #4f46b8 !important;
}

/* Latest publications feed icons stay inline, no checkbox */
.block_web_feed .content ul {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
}

.block_web_feed .content ul li {
    border-bottom: none;
}

.block_web_feed .content ul li a {
    padding: 0;
}

.block_web_feed .content ul li a::before {
    display: none;
}

.block_web_feed .content ul li a img {
    width: 26px;
    height: 26px;
}

/* ── Footer ── */
.pkp_brand_footer {
    display: none;
}

.pkp_structure_footer_wrapper {
    border-radius: 16px 16px 0 0;
    margin-top: 2rem;
}
