/*
 Theme Name:   kadence Child
 Description:  This is custom theme for Ringvivo.
 Author:       Rokon
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License
 Text Domain:  kadence
*/

/* card css code here */
.entry-content-wrap {
    border-radius: 1px 1px 10px 10px !important; /* Rounded corners */
}

.post-thumbnail {
	    border-radius:
 10px 10px 1px 1px !important; /* Rounded corners */
}

/* Add shadow and hover effect for .entry-content-wrap */
.entry-content-wrap {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: box-shadow 0.3s ease-in-out;
}

.entry-content-wrap:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.post-thumbnail:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2) !important;
}




/* Theme custom css code here */

.author-header {
    text-align: left; /* Align author info to the left */
}

.author-info-wrapper {
    display: flex; /* Use flexbox for inline layout */
    align-items: center; /* Vertically align items */
    margin-bottom: 15px;
}

.author-avatar {
    margin-right: 15px; /* Space between avatar and name */
}

.author-avatar img {
    border-radius: 50%; /* Make the avatar round */
}

.author-title {
    font-size: 2em;
    margin: 0; /* Remove default margin */
}

.author-info-separator {
    border: 1px solid #ccc; /* Style the separator line */
    margin: 20px 0;
}

.latest-articles-heading {
    font-size: 1.5em;
    margin-bottom: 10px;
}


/* Make all post tables responsive */
.wp-block-table, table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #f9f9f9 !important; /* Light gray background */
    border: 1px solid #ddd !important; /* Light border */
}

/* Style table headers */
.wp-block-table th, table th {
    background-color: #0073aa !important; /* Blue header */
    color: #fff !important; /* White text */
    padding: 12px !important;
    text-align: left !important;
    font-weight: bold !important;
}

/* Style table rows */
.wp-block-table td, table td {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

/* Zebra striping for readability */
.wp-block-table tbody tr:nth-child(even), table tbody tr:nth-child(even) {
    background-color: #f4f4f4 !important; /* Alternating row color */
}

/* Hover effect */
.wp-block-table tbody tr:hover, table tbody tr:hover {
    background-color: #e1e1e1 !important; /* Light hover effect */
}

/* Responsive Table Without Scrollbar - Stacking on Small Screens */
@media screen and (max-width: 768px) {
    .wp-block-table thead, table thead {
        display: none; /* Hide table headers */
    }

    .wp-block-table, table, .wp-block-table tbody, table tbody, .wp-block-table tr, table tr {
        display: block;
        width: 100%;
    }

    .wp-block-table tr, table tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .wp-block-table td, table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px;
        border: none;
        position: relative;
    }

    .wp-block-table td::before, table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #0073aa;
    }
}



<!-- style for pricing table content -->


.table-container {
    margin: 2rem auto;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table-caption {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

.image-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: auto;
}

.features {
    padding-left: 1.2rem;
    margin: 0;
}

.features li {
    margin-bottom: 0.25rem;
}

.btn-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: 0.2s;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-indigo {
    background-color: #6366f1;
    color: #fff;
}

.btn-indigo:hover {
    background-color: #4f46e5;
    color: #ffffff;
}

@media (max-width: 768px) {
    .comparison-table, .comparison-table thead, .comparison-table tbody, .comparison-table tr, .comparison-table td, .comparison-table th {
        display: block;
        width: 100%;
    }

    .comparison-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .comparison-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
    }

    .comparison-table td {
        padding-left: 50%;
        position: relative;
        text-align: right;
    }

    .comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        color: #6b7280;
        text-align: left;
    }

    .hide-on-mobile {
        display: none;
    }
}

