/* ============================================
   ver_tb6.css - Nature Eco Design (Style 06)
   Prefix: mqh_tbsix_
   Palette: forest green #2d5016, olive #6b8e23, beige #f5f5dc, tan #8b7355
   ============================================ */
html{ font-size: 100% !important; }
.mqh_tbsix_container {
    background: #f5f5dc;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(107, 142, 35, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(45, 80, 22, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 20 Q60 30, 55 45 Q50 35, 50 20' fill='%236b8e23' opacity='0.04'/%3E%3C/svg%3E");
    background-size: auto, auto, 200px 200px;
    padding: 40px 30px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #3a4a2a;
    line-height: 1.9;
    position: relative;
}

/* Hand-drawn style headings */
.mqh_tbsix_container h2.mqh_tbsix_heading {
    color: #2d5016;
    font-size: 28px;
    font-weight: 700;
    padding: 20px 30px 20px 55px;
    margin: 40px 0 25px 0;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.15), rgba(45, 80, 22, 0.1));
    border-radius: 30px 10px 30px 10px;
    font-style: italic;
    letter-spacing: 0.5px;
    box-shadow: 3px 3px 10px rgba(45, 80, 22, 0.1);
}

.mqh_tbsix_container h2.mqh_tbsix_heading::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z' fill='%236b8e23'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.mqh_tbsix_container h2.mqh_tbsix_heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M0,5 Q25,0 50,5 T100,5 T150,5 T200,5' stroke='%238b7355' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 60px 10px;
    opacity: 0.6;
}

/* Introduction Section */
.mqh_tbsix_intro {
    padding: 35px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 40px 15px 40px 15px;
    position: relative;
    border: 2px solid rgba(107, 142, 35, 0.2);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.08);
}

.mqh_tbsix_intro::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 40px;
    width: 50px;
    height: 25px;
    background: #f5f5dc;
    border-radius: 50%;
    border: 2px solid rgba(107, 142, 35, 0.2);
    border-bottom: none;
}

.mqh_tbsix_intro::after {
    content: '🌿';
    position: absolute;
    top: -12px;
    left: 50px;
    font-size: 20px;
}

.mqh_tbsix_intro p {
    font-size: 17px;
    color: #3a4a2a;
    margin: 0 0 15px 0;
    font-style: normal;
}

.mqh_tbsix_intro a {
    color: #6b8e23;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dotted #8b7355;
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.mqh_tbsix_intro a:hover {
    color: #2d5016;
    border-bottom-style: solid;
}

/* Main Image - organic shape */
.mqh_tbsix_main_image {
    margin: 35px 0;
    text-align: center;
    position: relative;
}

.mqh_tbsix_main_image img {
    max-width: 100%;
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
    box-shadow: 
        0 10px 30px rgba(45, 80, 22, 0.2),
        0 0 0 8px rgba(255, 255, 255, 0.3),
        0 0 0 12px rgba(107, 142, 35, 0.2);
    animation: mqh_tbsix_float 6s ease-in-out infinite;
}

@keyframes mqh_tbsix_float {
    0%, 100% { transform: translateY(0) rotate(0deg); border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%; }
    50% { transform: translateY(-8px) rotate(0.5deg); border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%; }
}

/* TOC - Tree Branch Style */
.mqh_tbsix_container .lwptoc {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(107, 142, 35, 0.25);
    border-radius: 25px 10px 25px 10px;
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.08);
}

.mqh_tbsix_container .lwptoc::before {
    content: '🌱';
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 28px;
    background: #f5f5dc;
    padding: 0 5px;
}

.mqh_tbsix_container .lwptoc_header {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: none;
}

.mqh_tbsix_container .lwptoc_title {
    color: #2d5016;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
}

.mqh_tbsix_container .lwptoc_header i {
    color: #8b7355;
    font-style: normal;
}

.mqh_tbsix_container .lwptoc_toggle_label {
    color: #6b8e23;
    font-style: italic;
    text-decoration: underline dotted;
    cursor: pointer;
}

.mqh_tbsix_container .lwptoc_items {
    padding: 15px 10px;
    position: relative;
}

.mqh_tbsix_container .lwptoc_items::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, #8b7355, #6b8e23, #8b7355);
    border-radius: 2px;
    opacity: 0.5;
}

.mqh_tbsix_container .lwptoc_itemWrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mqh_tbsix_container .lwptoc_item a {
    display: block;
    padding: 10px 15px 10px 35px;
    text-decoration: none;
    color: #4a6b2a;
    font-size: 16px;
    position: relative;
    border-radius: 20px 8px 20px 8px;
    transition: all 0.4s ease;
    font-style: italic;
}

.mqh_tbsix_container .lwptoc_item a::before {
    content: '🍃';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: all 0.3s ease;
}

.mqh_tbsix_container .lwptoc_item a:hover {
    background: rgba(107, 142, 35, 0.15);
    color: #2d5016;
    transform: translateX(5px);
    border-radius: 8px 20px 8px 20px;
}

.mqh_tbsix_container .lwptoc_item a:hover::before {
    transform: translateY(-50%) rotate(20deg) scale(1.2);
}

.mqh_tbsix_container .lwptoc_item_label {
    font-weight: 500;
}

/* Theme Sections */
.mqh_tbsix_theme_section {
    padding: 35px;
    margin: 35px 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 35px 15px 35px 15px;
    position: relative;
    border: 1px solid rgba(139, 115, 85, 0.15);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.06);
}

.mqh_tbsix_theme_section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20px;
    width: 60px;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M10,25 Q20,10 30,20 T50,15' stroke='%236b8e23' stroke-width='2' fill='none' stroke-linecap='round' opacity='0.3'/%3E%3Ccircle cx='30' cy='20' r='3' fill='%236b8e23' opacity='0.2'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
}

.mqh_tbsix_theme_section p {
    font-size: 17px;
    color: #3a4a2a;
    margin: 0 0 18px 0;
}

/* Vine divider between sections */
.mqh_tbsix_vine_divider {
    height: 20px;
    margin: 10px 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M0,10 Q50,0 100,10 T200,10 T300,10 T400,10' stroke='%236b8e23' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.4'/%3E%3Ccircle cx='100' cy='10' r='4' fill='%236b8e23' opacity='0.3'/%3E%3Ccircle cx='200' cy='10' r='4' fill='%236b8e23' opacity='0.3'/%3E%3Ccircle cx='300' cy='10' r='4' fill='%236b8e23' opacity='0.3'/%3E%3C/svg%3E") repeat-x center;
    background-size: 400px 20px;
}

/* Theme 1 - Float Right Image */
.mqh_tbsix_float_wrapper {
    overflow: hidden;
}

.mqh_tbsix_float_image {
    float: right;
    width: 45%;
    margin: 5px 0 20px 30px;
    border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.15),
        0 0 0 6px rgba(255, 255, 255, 0.4);
    shape-outside: margin-box;
    animation: mqh_tbsix_float 8s ease-in-out infinite;
}

.mqh_tbsix_float_image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Theme 3 - Highlight Paragraph */
.mqh_tbsix_highlight_p {
    padding: 25px 30px;
    margin: 20px 0;
    background: linear-gradient(135deg, 
        rgba(107, 142, 35, 0.12),
        rgba(139, 115, 85, 0.1)
    );
    border-radius: 25px 10px 25px 10px;
    border-left: 5px solid #6b8e23;
    color: #2d5016 !important;
    font-weight: 500;
    font-style: italic;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(45, 80, 22, 0.05);
}

.mqh_tbsix_highlight_p::before {
    content: '🌾';
    position: absolute;
    top: -12px;
    right: 25px;
    font-size: 24px;
}

/* Chart Section */
.mqh_tbsix_chart_container {
    padding: 30px;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 25px 10px 25px 10px;
    border: 1px solid rgba(107, 142, 35, 0.2);
    position: relative;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.08);
}

.mqh_tbsix_chart_title {
    color: #2d5016 !important;
    font-size: 22px !important;
    text-align: center;
    padding: 15px 20px;
    margin-bottom: 25px !important;
    font-weight: 700;
    font-style: italic;
    border-bottom: 2px dashed rgba(107, 142, 35, 0.3);
}

.mqh_tbsix_chart_container canvas {
    max-width: 100%;
}

/* Table */
.mqh_tbsix_table_title {
    font-size: 22px !important;
    color: #2d5016 !important;
    text-align: center;
    padding: 15px 30px;
    margin: 30px 0 20px 0 !important;
    display: inline-block;
    font-weight: 700;
    font-style: italic;
    position: relative;
}

.mqh_tbsix_table_title::before,
.mqh_tbsix_table_title::after {
    content: '🌿';
    font-size: 18px;
    margin: 0 12px;
    vertical-align: middle;
}

.mqh_tbsix_container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border-radius: 25px 10px 25px 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(107, 142, 35, 0.2);
}

.mqh_tbsix_container table thead th {
    background: linear-gradient(135deg, #6b8e23, #2d5016);
    color: #f5f5dc;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.mqh_tbsix_container table thead th:first-child {
    border-top-left-radius: 23px;
}

.mqh_tbsix_container table thead th:last-child {
    border-top-right-radius: 8px;
}

.mqh_tbsix_container table tbody td {
    padding: 14px 20px;
    color: #3a4a2a;
    font-size: 15px;
    border-bottom: 1px solid rgba(107, 142, 35, 0.15);
    transition: all 0.3s ease;
}

.mqh_tbsix_container table tbody tr:nth-child(even) {
    background: rgba(107, 142, 35, 0.05);
}

.mqh_tbsix_container table tbody tr:hover td {
    background: rgba(107, 142, 35, 0.12);
    color: #2d5016;
}

.mqh_tbsix_container table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 23px;
}

.mqh_tbsix_container table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.mqh_tbsix_container table tbody tr:last-child td {
    border-bottom: none;
}

/* FAQ Accordion */
.mqh_tbsix_faq_section {
    padding: 35px;
    margin: 35px 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 35px 15px 35px 15px;
    border: 1px solid rgba(139, 115, 85, 0.15);
    position: relative;
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.06);
}

.mqh_tbsix_container .wp-block-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mqh_tbsix_container .accordion-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px 8px 20px 8px;
    border: 1px solid rgba(107, 142, 35, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.05);
}

.mqh_tbsix_container .accordion-item:hover {
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.1);
    transform: translateX(3px);
}

.mqh_tbsix_container .accordion-item .item-header {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2d5016;
    font-weight: 600;
    font-size: 16px;
    font-style: italic;
    transition: all 0.3s ease;
}

.mqh_tbsix_container .accordion-item .item-header:hover {
    color: #6b8e23;
}

.mqh_tbsix_container .accordion-item.active {
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.1), rgba(139, 115, 85, 0.05));
    border-color: #6b8e23;
}

.mqh_tbsix_container .accordion-item.active .item-header {
    color: #2d5016;
    border-bottom: 1px solid rgba(107, 142, 35, 0.2);
}

.mqh_tbsix_container .btn-toggle {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6b8e23;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 6px rgba(45, 80, 22, 0.2);
}

.mqh_tbsix_container .btn-toggle::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #f5f5dc;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mqh_tbsix_container .accordion-item.active .btn-toggle {
    background: #8b7355;
    transform: rotate(45deg);
}

.mqh_tbsix_container .accordion-item.active .btn-toggle::after {
    content: '+';
    transform: translate(-50%, -50%) rotate(45deg);
}

.mqh_tbsix_container .item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.mqh_tbsix_container .accordion-item.active .item-content {
    max-height: 500px;
    padding: 0 25px 20px 61px;
}

.mqh_tbsix_container .item-content p {
    color: #4a6b2a;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* Conclusion */
.mqh_tbsix_conclusion {
    padding: 35px;
    margin: 35px 0;
    background: linear-gradient(135deg, 
        rgba(107, 142, 35, 0.15),
        rgba(139, 115, 85, 0.1),
        rgba(245, 245, 220, 0.5)
    );
    border-radius: 40px 15px 40px 15px;
    border: 2px solid rgba(107, 142, 35, 0.25);
    position: relative;
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.1);
}

.mqh_tbsix_conclusion::before {
    content: '🌻';
    position: absolute;
    top: -15px;
    right: 50px;
    font-size: 30px;
    background: #f5f5dc;
    padding: 0 5px;
    animation: mqh_tbsix_sway 4s ease-in-out infinite;
}

@keyframes mqh_tbsix_sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.mqh_tbsix_conclusion p {
    font-size: 17px;
    color: #2d5016;
    margin: 0 0 15px 0;
    font-weight: 500;
}

/* Leaf decorations */
.mqh_tbsix_leaf-deco {
    position: absolute;
    opacity: 0.3;
    pointer-events: none;
}

.mqh_tbsix_leaf-deco.top-left {
    top: 20px;
    left: 20px;
    transform: rotate(-30deg);
}

.mqh_tbsix_leaf-deco.bottom-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(150deg);
}

/* Smooth transitions */
.mqh_tbsix_container a,
.mqh_tbsix_container .accordion-item,
.mqh_tbsix_container table tbody tr td {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .mqh_tbsix_float_image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
    .mqh_tbsix_container {
        padding: 20px 15px;
    }
    .mqh_tbsix_theme_section,
    .mqh_tbsix_intro,
    .mqh_tbsix_faq_section,
    .mqh_tbsix_conclusion {
        padding: 25px 20px;
    }
}
