/**
 * City Guide Manager - Archive & Single Page Layouts
 * Version: 1.0.0
 */

/* ====================================
   CONTENT CONTAINER
   ==================================== */
.content-area {
    width: 100%;
}

.content-container {
    max-width: var(--global-content-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Boxed content style */
.kt-content-boxed {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ====================================
   ARCHIVE HEADER
   ==================================== */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.archive-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0066cc;
}

.archive-description {
    max-width: 800px;
    margin: 20px auto 0;
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

/* ====================================
   SINGLE PAGE HEADER
   ==================================== */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    margin: 0;
    font-size: 2.5em;
    color: #333;
}

/* Featured image */
.tour-featured-image,
.event-featured-image {
    margin-bottom: 30px;
}

.tour-featured-image img,
.event-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Guide profile image */
.guide-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 4px solid #0066cc;
}

.guide-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================================
   DETAILS PANELS
   ==================================== */
.tour-details-panel,
.guide-details-panel,
.event-details-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.tour-details-panel h2,
.guide-details-panel h2,
.event-details-panel h2 {
    margin: 0 0 20px;
    font-size: 1.5em;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #0066cc;
}

.detail-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.detail-value {
    color: #666;
    font-size: 1.1em;
}

.detail-value a {
    color: #0066cc;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.difficulty-easy {
    color: #28a745;
}

.difficulty-moderate {
    color: #ffc107;
}

.difficulty-challenging {
    color: #dc3545;
}

/* ====================================
   ENTRY CONTENT & FOOTER
   ==================================== */
.entry-content {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Categories & Tags */
.tour-categories,
.event-types {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-label {
    font-weight: 600;
    color: #333;
}

.category-link,
.type-link {
    padding: 5px 12px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.category-link:hover,
.type-link:hover {
    background: #0066cc;
    color: #fff;
}

/* ====================================
   PAGINATION
   ==================================== */
.pagination {
    margin: 50px 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* ====================================
   NO ITEMS
   ==================================== */
.cgm-no-items {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 1.1em;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 768px) {
    .archive-title {
        font-size: 2em;
    }
    
    .entry-title {
        font-size: 2em;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .kt-content-boxed {
        padding: 20px;
    }
    
    .tour-details-panel,
    .guide-details-panel,
    .event-details-panel {
        padding: 20px;
    }
    
    .guide-profile-image {
        width: 150px;
        height: 150px;
    }
}