/**
 * Kampala Geopolitics Conference Theme CSS
 */

/* Conference Header */
.page-headline {
    background-color: #1e2331;
    position: relative;
}

.page-headline .bg-image {
    opacity: 0.4;
}

.page-headline .title {
    color: #fff;
    margin-bottom: 10px;
    font-size: 3.5rem;
}

.page-headline p {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.page-headline .post-meta-holder {
    margin-top: 15px;
}

.page-headline .meta-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.page-headline .meta-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
}

.page-headline .prefix {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 2px;
}

.page-headline .date {
    font-weight: 500;
}

/* Sidebar Navigation */
#sidebar {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#sidebar.is-affixed .sidebar__inner {
    padding-top: 80px;
}

.conf-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conf-nav-menu li {
    margin-bottom: 15px !important;
}

.conf-nav-menu li a {
    color: #333;
    display: block;
    transition: color 0.3s;
    padding: 5px 0;
    text-decoration: none;
}

.conf-nav-menu li a:hover,
.conf-nav-menu li a:focus {
    color: #9fba24 !important;
}

a.conf-link {
    background-color: rgba(159, 186, 36, 0.1);
    box-shadow: 0 0 0 0.3rem rgba(159, 186, 36, 0.1);
    border-radius: 4px;
    padding: 8px 15px;
    margin-bottom: 15px !important;
    display: inline-block;
    font-weight: 500;
}

a.conf-link:hover {
    background-color: rgba(159, 186, 36, 0.2);
}

/* Section Headings */
.ohio-widget.heading .title {
    color: #9fba24;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.ohio-widget.heading .title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #9fba24;
}

/* Activity Legend */
.headline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.headline-meta .circle-panel, 
.headline-meta .circle-keynote, 
.headline-meta .circle-twitter, 
.headline-meta .circle-statement {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
    margin-left: 15px;
}

.headline-meta .circle-panel {
    background-color: #9fba24;
}

.headline-meta .circle-keynote {
    background-color: #e74c3c;
}

.headline-meta .circle-twitter {
    background-color: #1da1f2;
}

.headline-meta .circle-statement {
    background-color: #f39c12;
}

.headline-meta .legend {
    margin-right: 15px;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Accordion Styles */
.ohio-accordion-sс {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    background-color: #fff;
    margin-bottom: 1px;
}

.accordion-item .accordion-button {
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-item.active .accordion-button {
    background-color: #9fba24;
}

.accordion-item.active .accordion-header {
    color: #fff;
}

.accordion-item .accordion-header {
    margin: 0;
    font-weight: 500;
    color: #333;
}

.accordion-item .icon-button {
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.accordion-item .icon-button .icon:before,
.accordion-item .icon-button .icon:after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s;
}

.accordion-item.active .icon-button .icon:before,
.accordion-item.active .icon-button .icon:after {
    background-color: #fff;
}

.accordion-item .icon-button .icon:before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-item .icon-button .icon:after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-item.active .icon-button .icon:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-collapse {
    padding: 0;
    display: none;
    background-color: #fff;
}

.accordion-body {
    padding: 20px;
}

/* Activity Rows */
.activity-row {
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 10px !important;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.activity-row:hover,
.activity-row.hover {
    background-color: rgba(159, 186, 36, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-row .card {
    box-shadow: none !important;
    background: none !important;
}

.activity-row .card-details {
    padding: 15px;
    display: flex;
    align-items: center;
}

.activity-row .card-details-item {
    padding: 0 15px;
}

.activity-row .card-details-item:first-child {
    width: 120px;
}

.activity-row .card-details-item.-left {
    flex: 1;
}

.activity-row .card-details-item:last-child {
    width: 140px;
    text-align: right;
}

.activity-row .heading.title h5 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.activity-row .headline-meta.-small-t {
    padding: 0;
    margin: 0;
    background: none;
}

.activity-row .date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.activity-row .speaker-avatars {
    display: flex;
    flex-wrap: wrap;
}

.activity-row .avatar.-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity-row .avatar.-small:hover {
    transform: scale(1.15);
    z-index: 1;
}

/* Data type indicators */
[data-activity-type="panel"] {
    border-left: 3px solid #9fba24;
}

[data-activity-type="keynote"] {
    border-left: 3px solid #e74c3c;
}

[data-activity-type="twitter"] {
    border-left: 3px solid #1da1f2;
}

[data-activity-type="statement"] {
    border-left: 3px solid #f39c12;
}

/* Activity Popup Styling */
.project-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    padding: 50px 20px;
}

.project-lightbox.visible {
    display: block;
}

.project-lightbox .close-bar {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.project-lightbox .icon-button {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.project-lightbox .icon-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.project-lightbox .project-content {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: rgba(30, 35, 49, 0.95);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-lightbox .headline-meta {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.project-lightbox .tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    margin-right: 10px;
    background-color: #9fba24;
    color: #fff;
    font-size: 0.9rem;
}

.project-lightbox .date {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.project-lightbox .headline.title {
    color: #fff;
    margin-bottom: 20px;
}

.project-lightbox .project-details {
    max-height: 300px;
    overflow-y: auto;
    position: relative;
    margin-bottom: 30px;
    padding-right: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.project-lightbox .project-details::-webkit-scrollbar {
    width: 5px;
}

.project-lightbox .project-details::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.project-lightbox .activity-view-more {
    margin-top: 20px;
    text-align: center;
}

.project-lightbox .meta-holder {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    gap: 20px;
}

.project-lightbox .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: none;
    padding: 0;
}

.project-lightbox .avatar.-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.project-lightbox .avatar.-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-lightbox .prefix {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 3px;
}

.project-lightbox .author {
    font-weight: 500;
}

.project-lightbox .author a {
    color: #fff;
    text-decoration: none;
}

.project-lightbox .author a:hover {
    color: #9fba24;
}

.project-lightbox .author small {
    opacity: 0.7;
    font-size: 0.8rem;
    display: block;
    margin-top: 3px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-headline .title {
        font-size: 2.5rem;
    }
    
    .page-headline p {
        font-size: 1.1rem;
    }
    
    .activity-row .card-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-row .card-details-item {
        width: 100% !important;
        padding: 10px 0;
        text-align: left !important;
    }
    
    .project-lightbox .project-content {
        padding: 25px;
    }
    
    .project-lightbox .meta-item {
        width: 100%;
    }
}

/* Fix for body when lightbox is active */
body.lightbox-active {
    overflow: hidden;
}