/*
Theme Name:     Revolution Child
Theme URI:      http://example.com/revolution-child
Description:    Child theme for Revolution
Author:         Your Name
Author URI:     http://example.com
Template:       revolution
Version:        1.0.0
Text Domain:    revolution-child
*/

/* ===== WRAPPER ===== */
#wrapper {
    background-color: #f7f9fa !important;
}

/* ===== LAYOUT & FLEXBOX ===== */
.vertical-wrapper .vc_column-inner {
    align-items: center;
    display: flex;
}

.justify-content-start>div {
    justify-content: start !important;
}

.flex-column-reverse-sm {
    flex-direction: column-reverse;
}

/* ===== TYPOGRAPHY ===== */
.wpb_text_column ul li,
.wpb_text_column ol li {
    font-size: 18px;
    margin-bottom: 10px;
}

.rtl .wpb_text_column ul,
.rtl .wpb_text_column ol {
    line-height: 30px;
}

.thb-full-menu>li>a,
.thb-header-menu>li>a {
    font-size: 16px;
}

#main-section .main-slogan h2 {
    font-size: 42px !important;
}

#main-section .main-title {
    font-size: 36px !important;
}

.post-title .entry-title {
    font-size: 42px;
}

/* ===== BACKGROUND ===== */
.background-position-right {
    background-position: right !important;
}

/* ===== DISPLAY ===== */
.d-none {
    display: none !important;
}

/* ===== SPACING ===== */
.py-responsive-1 {
    padding-top: 200px !important;
    padding-bottom: 200px !important;
}

/* ===== COMPONENTS ===== */
.iconbox-content .thb-read-more span {
    display: none !important;
}

.main-slider .elementor-slide-heading {
    font-size: 36px !important;
}

.fancy-boxes .fancy-style3 {
    min-height: 180px !important;
}

/* ===== TABLEPRESS CUSTOM STYLES ===== */
.

/* ===== TABLEPRESS CUSTOM STYLES ===== */
.tablepress.my-tablepress {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    direction: rtl;
    font-size: 14px;
    overflow: hidden;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(20, 30, 40, 0.06);
    transition: all .25s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px 0;
}

.tablepress.my-tablepress-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 10px 0;
    padding: 5px;
}

/* Table Header */
.tablepress.my-tablepress thead tr:first-child th:first-child {
    border-top-right-radius: 11px;
}

.tablepress.my-tablepress thead tr:first-child th:last-child {
    border-top-left-radius: 11px;
}

.tablepress.my-tablepress thead th {
    background-color: var(--tbl-head, #2264ad);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    text-align: right !important;
    position: sticky;
    top: 0;
    z-index: 5;
    transition: background-color 0.3s ease;
}

/* Table Body */
.tablepress.my-tablepress tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: #233247;
    background: transparent;
    white-space: nowrap;
    transition: all .2s ease;
}

/* Table Footer */
.tablepress.my-tablepress tfoot tr:last-child td:first-child {
    border-bottom-right-radius: 11px;
}

.tablepress.my-tablepress tfoot tr:last-child td:last-child {
    border-bottom-left-radius: 11px;
}

.tablepress.my-tablepress tfoot td {
    background-color: #f8fafc;
    font-weight: 600;
    padding: 12px 16px;
    border-top: 2px solid #e2e8f0;
}

/* Alternate Rows */
.tablepress.my-tablepress tbody tr:nth-child(odd) td {
    background: rgba(8, 26, 40, 0.02);
}

/* Hover Effect */
.tablepress.my-tablepress tbody tr:hover td {
    background: rgba(11, 117, 201, 0.06);
    transform: translateY(-1px);
    transition: background-color .18s ease, transform .12s ease;
}

/* Price Column */
.tablepress.my-tablepress td.price,
.tablepress.my-tablepress td[data-col="price"] {
    font-weight: 700;
    color: var(--tbl-accent, #0b75c9);
    text-align: center;
    direction: ltr;
}

/* Text Styles */
.tablepress.my-tablepress del {
    color: #9aa7b5;
}

.tablepress.my-tablepress strong {
    color: var(--tbl-accent, #0b75c9);
    font-size: 1.05em;
}

/* Compact Version */
.tablepress.my-tablepress.compact tbody td {
    padding: 8px 10px;
    font-size: 13px;
}

/* Color Themes */
.tablepress.my-tablepress.theme-blue {
    --tbl-head: #2264ad;
    --tbl-accent: #0b75c9;
}

.tablepress.my-tablepress.theme-green {
    --tbl-head: #2d7a46;
    --tbl-accent: #1b9d5e;
}

.tablepress.my-tablepress.theme-red {
    --tbl-head: #a83232;
    --tbl-accent: #d94747;
}

.tablepress.my-tablepress.theme-purple {
    --tbl-head: #5a3ea6;
    --tbl-accent: #7b5bd9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tablepress.my-tablepress {
        font-size: 13px;
    }

    .tablepress.my-tablepress thead th,
    .tablepress.my-tablepress tbody td,
    .tablepress.my-tablepress tfoot td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .tablepress.my-tablepress {
        font-size: 12px;
    }

    .tablepress.my-tablepress thead th,
    .tablepress.my-tablepress tbody td,
    .tablepress.my-tablepress tfoot td {
        padding: 8px 10px;
    }

    .tablepress.my-tablepress-wrap {
        margin: 5px 0;
    }
}

/* ===== CUSTOM ORDERED LIST ===== */
ol {
    counter-reset: my-counter;
    list-style: none;
    padding-left: 0;
}

ol li {
    counter-increment: my-counter;
    margin: 12px 0;
    padding-right: 40px;
    position: relative;
}

ol li::before {
    content: counter(my-counter);
    position: absolute;
    right: 0;
    top: 0;
    width: 27px;
    height: 27px;
    line-height: 27px;
    border: 2px solid #102695;
    background: #52668f;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (min-width: 1200px) {
    h1 {
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    #main-section {
        min-height: 500px !important;
    }

    #main-section .main-slogan h2 {
        font-size: 28px !important;
    }

    #main-section .main-title {
        font-size: 26px !important;
    }

    .fancy-boxes .fancy-style3 {
        min-height: 180px !important;
    }

    .py-responsive-1 {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

@media (max-width: 767px) {
    .main-slider .elementor-slide-heading {
        font-size: 18px !important;
    }

    .post-title .entry-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}

@media (max-width: 600px) {
    .tablepress.my-tablepress thead th {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media only screen and (min-width: 640px) {
    .header {
        padding: 30px 0;
    }
}

.post-title .entry-title {
	font-size : 22px
}
@media (max-width: 767px) {
    .post-title .entry-title {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1024px) {
    .thb-page-header h1 {
        font-size: 42px;
    }
}

