/* Container */
.mnm-hot-tips-list-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.mnm-list-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* List Card */
.mnm-vertical-list .mnm-list-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.mnm-vertical-list .mnm-list-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}



/* Card Header */
.mnm-list-card-header {
    background: #f9f9f9;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mnm-list-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mnm-fire-icon {
    font-size: 1.2em;
}

.mnm-topic-badge {
    background: #eef2f7;
    color: #556080;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Card Body */
.mnm-list-card-body {
    padding: 20px;
}

.mnm-list-video {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.mnm-list-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mnm-list-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444; /* Standard text color */
}

/* --- UPDATED RESOURCES SECTION (Fixing Invisible Links) --- */
.mnm-list-resources {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #000 !important;
}

.mnm-list-resources strong {
    color: #000 !important;
}

.mnm-list-resources ul {
    margin: 5px 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

.mnm-list-resources li {
    color: #000 !important;
    margin-bottom: 4px;
}

/* Targeting 'a', 'a:link', and 'a:visited' separately 
   ensures the theme cannot hide the text in any state.
*/
.mnm-list-resources li a,
.mnm-list-resources li a:link,
.mnm-list-resources li a:visited {
    color: #0073aa !important; /* Standard WordPress Blue. Change to #000 if you prefer black. */
    text-decoration: underline !important;
    font-weight: 600;
    opacity: 1 !important; /* Force full visibility */
}

.mnm-list-resources li a:hover,
.mnm-list-resources li a:focus {
    color: #005177 !important; /* Darker blue on hover */
    text-decoration: none !important;
    opacity: 1 !important;
}
/* -------------------------------- */

/* Card Footer (Feedback) */
.mnm-list-card-footer {
    padding: 10px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.mnm-feedback-ui {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mnm-feedback-label {
    font-size: 0.85rem;
    color: #777;
}

.mnm-thumbs-wrapper {
    display: flex;
    gap: 5px;
}

.mnm-list-thumb-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    color: #555;
}

.mnm-list-thumb-btn:hover {
    background: #f0f0f0;
}

.mnm-list-thumb-btn span.count {
    font-size: 0.8rem;
    margin-left: 4px;
    color: #888;
}

/* Modal Styling (Reusing existing structure but scoped if needed) */
.mnm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mnm-hidden {
    display: none !important;
}

.mnm-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.mnm-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.mnm-feedback-group {
    margin-bottom: 15px;
}

.mnm-feedback-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.mnm-feedback-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.mnm-star-rating {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.mnm-star-rating .star.active {
    color: #f39c12; /* Gold color */
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .mnm-list-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mnm-list-card-footer {
        justify-content: center;
    }
}

.mnm-modal-content label {
    color: black;
}