.opposite-posts-list {
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.opposite-post-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}
.opposite-post-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.opposite-post-card .read-more-button {
    display: inline-block !important;
    position: static !important;
    margin-top: 10px;
}



.mineral-tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.mineral-tab-btn {
    padding: 10px 20px;
    background-color: #008cba;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
.mineral-tab-btn:hover {
    background-color: #005f7f;
}
.mineral-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.mineral-post-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}
.mineral-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.mineral-post-title {
    padding: 10px;
    font-weight: bold;
}
.read-more-button {
    display: inline-block;
    margin-top: 20px;
    background: #ff5722;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}
.category-19-tabs {
    margin-top: 40px;
}
.category-19-tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.category-19-tab-btn {
    padding: 10px 20px;
    background-color: #008cba;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 5px;
}
.category-19-tab-btn.active,
.category-19-tab-btn:hover {
    background-color: #005f7f;
}
.category-19-content-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.category-19-image {
    flex: 1 1 300px;
    min-width: 200px;
    max-width: 400px;
}
.category-19-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.category-19-content {
    flex: 2 1 400px;
    min-width: 300px;
}
.category-19-content .read-more-button {
    display: inline-block;
    margin-top: 20px;
    background: #008cba;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
}
/* Opposite side card styling */
.category-19-row-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
}
.category-19-tab-panel {
    flex: 1 1 350px;
    max-width: 500px;
}
.category-19-opposite {
    flex: 1 1 200px;
    min-width: 750px;
    min-height: 260px;
    background: #f5f5f5;
    border-radius: 10px;
    border: 1px dashed #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    color:black;
    font-size: 1.1em;
    max-width: 400px;
    max-height: 500px; /* or your preferred height */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 10px 0; /* Add some padding if needed */
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .category-19-row-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .category-19-opposite, .category-19-tab-panel {
        max-width: 100%;
    }
}
.mineral-tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.category-19-tab-header {
    display: flex;
    margin-left: 500px;
    gap: 20px;
}
.mineral-tab-btn {
    padding: 10px 20px;
    background-color: #008cba;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
.mineral-tab-btn:hover {
    background-color: #005f7f;
}
.mineral-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.mineral-post-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}
.mineral-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.mineral-post-title {
    padding: 10px;
    font-weight: bold;
}
.read-more-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff5722;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}
.category-19-tab-panel {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    
    background: #fff;
    max-width: 350px;
    min-height: 450px;
   
}
.category-19-content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}
.category-19-image {
    flex: 0 0 260px;
    max-width: 260px;
    display: flex;
    align-items: flex-start;
}
.category-19-image img {
    height: auto;
    min-width: 300px;
    max-height: 250px;
    border-radius: 8px;
    display: block;
}

.category-19-content {
    flex: 1 1 0;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.category-19-content .read-more-button {
    align-self: flex-start;
    margin-top: 20px;
    position: relative;
    text-align: center;
    min-width: 300px;
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    font-weight: bold;
    transition: background 0.2s;
}
.category-19-content .read-more-button:hover {
    background: #e64a19;
}
.category-19-content p {
    display: -webkit-box;
 -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    text-overflow: ellipsis;
    max-height: 4.5em; /* 3 lines x 1.5em line-height */
    margin-bottom: 0;
    line-height: 1.5em;
}
button.category-19-tab-btn {
    background-color: #78350f;
    color: #fff !important;
}