/**
 * Marketplace content detail views (infrastructure, editorial, transporthours, mobilitynew).
 * Common layout: no card style, wide content, clear hierarchy, gallery, documents.
 *
 * @package     com_marketplace
 * @subpackage  media
 */

.marketplace-content {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.marketplace-header {
    margin-bottom: 24px;
}

.marketplace-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #111827;
}

.back-sector {
    display: inline-block;
    margin-bottom: 20px;
    color: #2f7a4c;
    text-decoration: none;
    font-weight: 600;
}

.back-sector:hover,
.back-sector:focus {
    color: #236338;
    text-decoration: underline;
}

.marketplace-main {
    margin-top: 0;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    display: block;
}

.image-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.image-gallery .thumb,
.image-gallery img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
}

.content-section {
    margin-bottom: 25px;
}

.content-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2933;
}

.content-section p,
.content-section div {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

.marketplace-content .documents {
    margin-top: 30px;
    margin-bottom: 25px;
}

.marketplace-content .documents h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2933;
}

.marketplace-content .documents ul {
    padding-left: 20px;
    margin: 0;
}

.marketplace-content .documents li {
    margin-bottom: 8px;
}

.marketplace-content .documents a {
    color: #2f7a4c;
    text-decoration: none;
    font-weight: 500;
}

.marketplace-content .documents a:hover,
.marketplace-content .documents a:focus {
    text-decoration: underline;
}

.marketplace-content .content-body {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

.marketplace-content .content-body p {
    margin-bottom: 1em;
}

.marketplace-content .content-body ul,
.marketplace-content .content-body ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.marketplace-content .schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.marketplace-content .schedule-table th {
    background: #f3f4f6;
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
}

.marketplace-content .schedule-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.marketplace-content .schedule-table tbody tr:hover {
    background: #f9fafb;
}

@media (max-width: 768px) {
    .marketplace-content {
        padding: 24px 16px;
    }

    .marketplace-header h1 {
        font-size: 26px;
    }

    .image-gallery .thumb,
    .image-gallery img {
        width: 100px;
        height: 68px;
    }
}
