/* ============================================
   Blog Post Table Styles
   Target: .entry-content.single-content table
   ============================================ */

.entry-content.single-content table,
.entry-content table,
.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.entry-content.single-content table thead tr,
.entry-content table thead tr,
.single-content table thead tr {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    text-align: left;
    font-weight: 600;
}

.entry-content.single-content table th,
.entry-content table th,
.single-content table th {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: none;
    letter-spacing: 0.3px;
    border: none;
    white-space: nowrap;
}

.entry-content.single-content table td,
.entry-content table td,
.single-content table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e8ecef;
    color: #333;
    line-height: 1.6;
}

.entry-content.single-content table tbody tr,
.entry-content table tbody tr,
.single-content table tbody tr {
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.entry-content.single-content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
.single-content table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.entry-content.single-content table tbody tr:hover,
.entry-content table tbody tr:hover,
.single-content table tbody tr:hover {
    background-color: #edf2f7;
}

.entry-content.single-content table tbody tr:last-child td,
.entry-content table tbody tr:last-child td,
.single-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Strong text in table cells */
.entry-content.single-content table td strong,
.entry-content table td strong,
.single-content table td strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Links in table cells */
.entry-content.single-content table td a,
.entry-content table td a,
.single-content table td a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #c0392b;
    transition: all 0.2s;
}

.entry-content.single-content table td a:hover,
.entry-content table td a:hover,
.single-content table td a:hover {
    color: #e74c3c;
    border-bottom-style: solid;
}

/* Emoji & special chars in table */
.entry-content.single-content table td:first-child,
.entry-content table td:first-child,
.single-content table td:first-child {
    font-weight: 500;
}

/* Responsive tables */
@media (max-width: 768px) {
    .entry-content.single-content table,
    .entry-content table,
    .single-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.85em;
    }

    .entry-content.single-content table th,
    .entry-content.single-content table td,
    .entry-content table th,
    .entry-content table td,
    .single-content table th,
    .single-content table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

/* ============================================
   Blog Post Figure/Image Caption Styles
   ============================================ */

.entry-content.single-content figure,
.entry-content figure,
.single-content figure {
    margin: 30px 0;
    text-align: center;
}

.entry-content.single-content figure img,
.entry-content figure img,
.single-content figure img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.entry-content.single-content figcaption,
.entry-content figcaption,
.single-content figcaption {
    margin-top: 10px;
    font-size: 0.85em;
    color: #7f8c8d;
    font-style: italic;
    line-height: 1.4;
}

/* Inline images with caption class */
.entry-content .wp-caption,
.single-content .wp-caption {
    max-width: 100%;
    margin: 25px auto;
    text-align: center;
}

.entry-content .wp-caption img,
.single-content .wp-caption img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entry-content .wp-caption-text,
.single-content .wp-caption-text {
    font-size: 0.85em;
    color: #7f8c8d;
    font-style: italic;
    padding: 8px 0;
}
