/* --- Header & Layout Reset --- */
#content.site-content {
    padding-top: 110px !important;
    background-color: #ffffff;
}
@media (max-width: 991.98px) {
    #content.site-content { padding-top: 90px !important; }
}

/* --- Brand Colors --- */
:root {
    --bd-primary: #1454A3;
    --bd-secondary: #0d3d7a;
    --bd-accent: #CBA35C;
    --bd-text-main: #333333;
    --bd-text-muted: #666666;
    --bd-bg-light: #f9fbfd;
}

/* --- Invitation Detail --- */
.invitation-title {
    color: var(--bd-primary);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.invitation-meta-top {
    font-size: 0.85rem;
    color: var(--bd-text-muted);
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.invitation-detail-header img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.5s ease;
}

/* --- Info Sections --- */
.info-section {
    background: var(--bd-bg-light);
    border: 1px solid #e1e8ed;
    border-left: 5px solid var(--bd-primary);
    padding: 1.75rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.info-section h4 {
    color: var(--bd-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-section {
    border-left-color: #28a745;
    background-color: #f6fff8;
}

/* --- Sidebar Related --- */
.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bd-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bd-accent);
    display: inline-block;
}

.related-item {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 6px;
}

.related-item:hover {
    background: var(--bd-bg-light);
}

.related-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bd-text-main);
    margin-bottom: 5px;
}

/* --- Navigation Buttons --- */
.nav-invitation {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 3rem;
}

.nav-link-custom {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.nav-link-custom .nav-label {
    font-size: 0.7rem;
    text-uppercase;
    color: var(--bd-text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.nav-link-custom .nav-title {
    font-size: 0.9rem;
    color: var(--bd-primary);
    font-weight: 600;
}

/* --- Buttons --- */
.btn-bd-primary {
    background: var(--bd-primary);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(20, 84, 163, 0.2);
    transition: all 0.3s ease;
}

.btn-bd-primary:hover {
    background: var(--bd-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 84, 163, 0.3);
    color: #fff;
}

/* Utils */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
