/**
 * GT Map of the World - Frontend Styles
 */

.gt-motw-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid for categories - default single column */
.gt-motw-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Column variations */
.gt-motw-columns-2 .gt-motw-categories-grid {
    grid-template-columns: repeat(2, 1fr);
}

.gt-motw-columns-3 .gt-motw-categories-grid {
    grid-template-columns: repeat(3, 1fr);
}

.gt-motw-columns-4 .gt-motw-categories-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive: collapse to single column on mobile */
@media (max-width: 768px) {
    .gt-motw-columns-2 .gt-motw-categories-grid,
    .gt-motw-columns-3 .gt-motw-categories-grid,
    .gt-motw-columns-4 .gt-motw-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Category */
.gt-motw-category {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.gt-motw-category-title {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    font-size: 20px;
    font-weight: 600;
}

/* Menus within a category */
.gt-motw-menus {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gt-motw-menu {
    margin: 0;
}

.gt-motw-menu-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

/* Menu items list - strong specificity to override theme styles */
.gt-motw-container .gt-motw-menu-items,
.gt-motw-container ul.gt-motw-menu-items,
ul.gt-motw-menu-items,
.gt-motw-menu ul {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gt-motw-container .gt-motw-menu-items li,
.gt-motw-container ul.gt-motw-menu-items li,
ul.gt-motw-menu-items li.gt-motw-item,
.gt-motw-item,
.gt-motw-menu ul li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-left: 0 !important;
    border-bottom: 1px solid #eee;
    background-image: none !important;
}

.gt-motw-container .gt-motw-menu-items li::before,
.gt-motw-container .gt-motw-menu-items li::marker,
ul.gt-motw-menu-items li::before,
ul.gt-motw-menu-items li::marker,
.gt-motw-item::before,
.gt-motw-item::marker,
.gt-motw-menu ul li::before,
.gt-motw-menu ul li::marker {
    display: none !important;
    content: none !important;
    list-style: none !important;
}

.gt-motw-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Item link - 14pt */
.gt-motw-item-link {
    display: block;
    font-size: 14pt;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 10px;
}

.gt-motw-item-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* Item details (thumbnail + excerpt) */
.gt-motw-item-details {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Thumbnail */
.gt-motw-item-thumbnail {
    flex-shrink: 0;
}

.gt-motw-thumbnail-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

/* Excerpt - 10pt */
.gt-motw-item-excerpt {
    margin: 0;
    font-size: 10pt;
    line-height: 1.5;
    color: #555;
}

/* No content message */
.gt-motw-no-content {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}
