/* Frontend Styles */
.lnm-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lnm-split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .lnm-split-screen {
        grid-template-columns: 1fr;
    }
}

/* Split screen columns */
.lnm-events-left,
.lnm-events-right,
.lnm-local-news-left,
.lnm-local-news-right,
.lnm-sports-left,
.lnm-sports-right,
.lnm-live-music-left,
.lnm-live-music-right,
.lnm-fun-facts-left,
.lnm-fun-facts-right,
.lnm-technology-left,
.lnm-technology-right,
.lnm-faith-left,
.lnm-faith-right,
.lnm-games-left,
.lnm-games-right {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Single column content */
.lnm-sports-content:not(.lnm-split-screen),
.lnm-events-content:not(.lnm-split-screen),
.lnm-local-news-content:not(.lnm-split-screen),
.lnm-fun-facts-content:not(.lnm-split-screen),
.lnm-technology-content:not(.lnm-split-screen),
.lnm-faith-content:not(.lnm-split-screen),
.lnm-games-content:not(.lnm-split-screen) {
    max-width: 100%;
    padding: 20px 0;
}

.lnm-events-left h2,
.lnm-events-right h2,
.lnm-local-news-left h2,
.lnm-local-news-right h2,
.lnm-sports-left h2,
.lnm-sports-right h2,
.lnm-live-music-left h2,
.lnm-live-music-right h2,
.lnm-fun-facts-left h2,
.lnm-fun-facts-right h2,
.lnm-technology-left h2,
.lnm-technology-right h2,
.lnm-faith-left h2,
.lnm-faith-right h2,
.lnm-games-left h2,
.lnm-games-right h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.lnm-today-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.lnm-image-gallery {
    margin-top: 30px;
}

.lnm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.lnm-gallery-item {
    position: relative;
}

.lnm-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.lnm-gallery-date {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Ask a Pro Styles */
.lnm-ask-a-pro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lnm-profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 1024px) {
    .lnm-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lnm-profiles-grid {
        grid-template-columns: 1fr;
    }
}

.lnm-profile-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lnm-profile-card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.lnm-profile-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.lnm-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.lnm-profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
}

.lnm-placeholder-initials {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

.lnm-profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.lnm-profile-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
    text-align: center;
}

.lnm-profile-profession {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
}

.lnm-profile-address {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
}

.lnm-profile-website {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
}

.lnm-profile-website a {
    color: #0073aa;
    text-decoration: none;
}

.lnm-profile-website a:hover {
    text-decoration: underline;
}

.lnm-profile-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.lnm-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.lnm-profile-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.lnm-profile-action-btn:hover {
    background: #005a87;
    color: #ffffff;
}

.lnm-profile-action-btn .lnm-btn-icon {
    font-size: 16px;
}

.lnm-profile-action-btn .lnm-btn-text {
    font-size: 14px;
}

@media (max-width: 768px) {
    .lnm-profile-actions {
        justify-content: center;
        width: 100%;
    }
    
    .lnm-profile-action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lnm-profile-card {
        padding: 12px;
    }
    
    .lnm-profile-image,
    .lnm-profile-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .lnm-placeholder-initials {
        font-size: 28px;
    }
    
    .lnm-profile-title {
        font-size: 16px;
    }
    
    .lnm-profile-actions {
        flex-direction: column;
    }
    
    .lnm-profile-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Traffic Map Styles */
.lnm-traffic-map-container {
    margin: 20px 0;
}

.lnm-traffic-search {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.lnm-traffic-search label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.lnm-traffic-search input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.lnm-traffic-search button {
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.lnm-traffic-search button:hover {
    background: #005a87;
}

.lnm-traffic-search button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#lnm-traffic-map {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lnm-traffic-note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Pro Profile Page */
.lnm-pro-profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.lnm-profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.lnm-profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.lnm-profile-info h1 {
    margin: 0 0 10px 0;
}

.lnm-profile-info .lnm-profession {
    font-size: 18px;
    color: #666;
    margin: 5px 0;
}

.lnm-profile-info p {
    margin: 5px 0;
}

.lnm-profile-description,
.lnm-profile-faq,
.lnm-ask-question,
.lnm-answered-questions,
.lnm-pro-articles {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.lnm-ask-question form input,
.lnm-ask-question form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lnm-ask-question form button {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lnm-ask-question form button:hover {
    background: #005a87;
}

.lnm-qa-item {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-left: 4px solid #0073aa;
}

.lnm-article-item {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 4px;
}

.lnm-article-item h3 {
    margin-top: 0;
}

.lnm-error {
    color: #d63638;
    padding: 10px;
    background: #fef7f1;
    border-left: 4px solid #d63638;
}

