.elementor-3789 .elementor-element.elementor-element-64091ac{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-3789 .elementor-element.elementor-element-33a2932{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:var( --e-global-color-664dc38 );--border-color:var( --e-global-color-664dc38 );--border-radius:6px 6px 6px 6px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-3789 .elementor-element.elementor-element-2beded4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3789 .elementor-element.elementor-element-2beded4.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-nested-tabs.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs[data-touch-mode='false'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:var( --e-global-color-accent );}.elementor-widget-nested-tabs.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"], .elementor-widget-nested-tabs.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs[data-touch-mode='true'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:var( --e-global-color-accent );}.elementor-widget-nested-tabs.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading > :is( .e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title ){font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-3789 .elementor-element.elementor-element-213d171{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-3789 .elementor-element.elementor-element-eeb77a4 .elementor-heading-title{color:var( --e-global-color-secondary );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-3789 .elementor-element.elementor-element-67bade5{color:var( --e-global-color-secondary );}.elementor-3789 .elementor-element.elementor-element-8444452 .elementor-heading-title{color:var( --e-global-color-secondary );}.elementor-3789 .elementor-element.elementor-element-f4540bd{color:var( --e-global-color-secondary );}.elementor-widget-divider{--divider-color:var( --e-global-color-secondary );}.elementor-widget-divider .elementor-divider__text{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-divider.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-secondary );}.elementor-3789 .elementor-element.elementor-element-14a4576{--divider-border-style:solid;--divider-color:#000;--divider-border-width:1px;}.elementor-3789 .elementor-element.elementor-element-14a4576 .elementor-divider-separator{width:100%;}.elementor-3789 .elementor-element.elementor-element-14a4576 .elementor-divider{padding-block-start:15px;padding-block-end:15px;}.elementor-3789 .elementor-element.elementor-element-be63dab .elementor-heading-title{color:var( --e-global-color-secondary );}.elementor-widget-form .elementor-field-group > label, .elementor-widget-form .elementor-field-subgroup label{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group > label{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-field-type-html{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-field-group .elementor-field{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group .elementor-field, .elementor-widget-form .elementor-field-subgroup label{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-form .e-form__buttons__wrapper__button-next{background-color:var( --e-global-color-accent );}.elementor-widget-form .elementor-button[type="submit"]{background-color:var( --e-global-color-accent );}.elementor-widget-form .e-form__buttons__wrapper__button-previous{background-color:var( --e-global-color-accent );}.elementor-widget-form .elementor-message{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .e-form__indicators__indicator, .elementor-widget-form .e-form__indicators__indicator__label{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-form{--e-form-steps-indicator-inactive-primary-color:var( --e-global-color-text );--e-form-steps-indicator-active-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-completed-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-background-color:var( --e-global-color-text );--e-form-steps-indicator-progress-meter-color:var( --e-global-color-text );}.elementor-widget-form .e-form__indicators__indicator__progress__meter{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-group{padding-right:calc( 10px/2 );padding-left:calc( 10px/2 );margin-bottom:10px;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-form-fields-wrapper{margin-left:calc( -10px/2 );margin-right:calc( -10px/2 );margin-bottom:-10px;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-group.recaptcha_v3-bottomleft, .elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-group.recaptcha_v3-bottomright{margin-bottom:0;}body.rtl .elementor-3789 .elementor-element.elementor-element-d772aac .elementor-labels-inline .elementor-field-group > label{padding-left:0px;}body:not(.rtl) .elementor-3789 .elementor-element.elementor-element-d772aac .elementor-labels-inline .elementor-field-group > label{padding-right:0px;}body .elementor-3789 .elementor-element.elementor-element-d772aac .elementor-labels-above .elementor-field-group > label{padding-bottom:0px;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-type-html{padding-bottom:0px;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-group .elementor-field:not(.elementor-select-wrapper){background-color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-field-group .elementor-select-wrapper select{background-color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .e-form__buttons__wrapper__button-next{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-button[type="submit"]{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-button[type="submit"] svg *{fill:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .e-form__buttons__wrapper__button-previous{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .e-form__buttons__wrapper__button-next:hover{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-button[type="submit"]:hover{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .elementor-button[type="submit"]:hover svg *{fill:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac .e-form__buttons__wrapper__button-previous:hover{color:#ffffff;}.elementor-3789 .elementor-element.elementor-element-d772aac{--e-form-steps-indicators-spacing:20px;--e-form-steps-indicator-padding:30px;--e-form-steps-indicator-inactive-secondary-color:#ffffff;--e-form-steps-indicator-active-secondary-color:#ffffff;--e-form-steps-indicator-completed-secondary-color:#ffffff;--e-form-steps-divider-width:1px;--e-form-steps-divider-gap:10px;}.elementor-3789 .elementor-element.elementor-element-3a47402{--display:flex;}.elementor-3789 .elementor-element.elementor-element-247f90b{--n-tabs-heading-wrap:wrap;--n-tabs-heading-overflow-x:initial;--n-tabs-title-white-space:initial;}.elementor-3789 .elementor-element.elementor-element-1447b3b{--spacer-size:50px;}.elementor-3789 .elementor-element.elementor-element-7a71109{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-3789 .elementor-element.elementor-element-33a2932{--width:70%;}.elementor-3789 .elementor-element.elementor-element-2beded4{--width:30%;}}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-divider .elementor-divider__text{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-divider .elementor-divider__text{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}/* Start custom CSS for post-comments, class: .elementor-element-abbbde1 */* Modern Comment Section Styling - Scoped to comments area only */

/* Main comments container */
.comments-area {
    max-width: 100%;
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    /* Ensure content doesn't overflow container */
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure all child elements use border-box sizing */
.comments-area *,
.comments-area *::before,
.comments-area *::after {
    box-sizing: border-box;
}

/* Comments title */
.comments-area .title-comments {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

/* Comment list reset */
.comments-area .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual comment styling */
.comments-area .comment {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.comments-area .comment:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Comment body */
.comments-area .comment-body {
    position: relative;
}

/* Comment meta section */
.comments-area .comment-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Author styling */
.comments-area .comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0; /* Allow text to truncate if needed */
}

.comments-area .comment-author .fn {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    /* Handle long usernames gracefully */
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comments-area .comment-author .fn a {
    text-decoration: none;
    color: #2d3748;
    transition: color 0.2s ease;
    /* Inherit text truncation */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.comments-area .comment-author .fn a:hover {
    color: #4299e1;
}

.comments-area .comment-author .says {
    color: #718096;
    font-size: 0.85rem;
    margin-left: 0.25rem;
    flex-shrink: 0; /* Don't allow "says" to shrink */
}

/* Timestamp and edit link */
.comments-area .comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #718096;
    flex-shrink: 0; /* Keep metadata visible */
    flex-wrap: wrap;
}

.comments-area .comment-metadata a {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comments-area .comment-metadata a:hover {
    color: #4299e1;
}

.comments-area .edit-link {
    display: inline-flex;
    align-items: center;
}

/* Comment content */
.comments-area .comment-content {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comments-area .comment-content p {
    margin: 0 0 0.75rem 0;
}

.comments-area .comment-content p:last-child {
    margin-bottom: 0;
}

/* Reply button */
.comments-area .reply {
    text-align: right;
    margin-top: 0.5rem;
}

.comments-area .comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    color: #4299e1;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    /* Ensure minimum touch target size */
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.comments-area .comment-reply-link:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.comments-area .comment-reply-link:active {
    transform: translateY(0);
}

/* Nested comments (children) */
.comments-area .children {
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
    position: relative;
}

.comments-area .children::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
    border-radius: 1px;
}

.comments-area .children .comment {
    margin-left: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-color: #e2e8f0;
    /* Prevent excessive nesting on small screens */
    max-width: calc(100% - 1rem);
}

.comments-area .children .children .comment {
    background: #f1f5f9;
    margin-left: 1rem;
    /* Further limit nesting width */
    max-width: calc(100% - 2rem);
}

/* Limit nesting beyond 3 levels on small screens */
.comments-area .children .children .children .comment {
    margin-left: 0.5rem;
    max-width: calc(100% - 0.5rem);
}

/* Don't allow infinite nesting to break layout */
.comments-area .children .children .children .children {
    margin-left: 0;
}

.comments-area .children .children .children .children::before {
    display: none;
}

/* Thread depth indicators */
.comments-area .comment.depth-2 {
    position: relative;
}

.comments-area .comment.depth-3 {
    position: relative;
}

/* Admin/author highlighting */
.comments-area .comment.bypostauthor {
    border-left: 4px solid #4299e1;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.comments-area .comment.bypostauthor .comment-author .fn {
    color: #4299e1;
    position: relative;
}

.comments-area .comment.bypostauthor .comment-author .fn::after {
    content: '✓';
    display: inline-block;
    margin-left: 0.5rem;
    color: #4299e1;
    font-weight: bold;
}

/* Comment form styling */
.comments-area .comment-respond {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.comments-area .comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.comments-area .comment-form p {
    margin-bottom: 1rem;
}

.comments-area .comment-form label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.comments-area .comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

.comments-area .comment-form textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.comments-area .form-submit input[type="submit"] {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comments-area .form-submit input[type="submit"]:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

/* Ensure text doesn't overflow on any screen size */
.comments-area .comment-content,
.comments-area .comment-author,
.comments-area .comment-metadata {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Flexible layout adjustments */
.comments-area .comment-meta {
    min-height: auto;
}

.comments-area .comment-metadata {
    flex-shrink: 1;
    min-width: 0;
}

.comments-area .edit-link {
    white-space: nowrap;
}

/* Responsive adjustments for small containers and screens */

/* Small containers (width < 500px) */
@media (max-width: 500px) {
    .comments-area {
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .comments-area .comment-metadata {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.9rem;
    }
    
    .comments-area .comment-author .says {
        font-size: 0.8rem;
    }
    
    /* Nested comments - reduce indentation */
    .comments-area .children {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    
    .comments-area .children .comment {
        margin-left: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.25rem;
        padding: 0.5rem;
    }
    
    .comments-area .children::before {
        left: -0.25rem;
        width: 1px;
    }
    
    .comments-area .comment-respond {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Very small containers (width < 350px) */
@media (max-width: 350px) {
    .comments-area {
        margin: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    .comments-area .comment-meta {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.85rem;
    }
    
    .comments-area .comment-author .says {
        display: none; /* Hide "says:" on very small screens */
    }
    
    .comments-area .comment-metadata {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .comments-area .comment-reply-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Further reduce nested comment indentation */
    .comments-area .children .comment {
        margin-left: 0.25rem;
        padding: 0.375rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.125rem;
        padding: 0.375rem;
    }
    
    .comments-area .comment-respond {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 80px;
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Demo page styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    background: #f8fafc;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.demo-controls {
    background: #1a202c;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-controls button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-controls button:hover {
    background: #3182ce;
}

.demo-controls button.active {
    background: #e53e3e;
}

.size-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1000;
}/* End custom CSS */
/* Start custom CSS for post-comments, class: .elementor-element-abbbde1 */* Modern Comment Section Styling - Scoped to comments area only */

/* Main comments container */
.comments-area {
    max-width: 100%;
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    /* Ensure content doesn't overflow container */
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure all child elements use border-box sizing */
.comments-area *,
.comments-area *::before,
.comments-area *::after {
    box-sizing: border-box;
}

/* Comments title */
.comments-area .title-comments {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

/* Comment list reset */
.comments-area .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual comment styling */
.comments-area .comment {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.comments-area .comment:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Comment body */
.comments-area .comment-body {
    position: relative;
}

/* Comment meta section */
.comments-area .comment-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Author styling */
.comments-area .comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0; /* Allow text to truncate if needed */
}

.comments-area .comment-author .fn {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    /* Handle long usernames gracefully */
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comments-area .comment-author .fn a {
    text-decoration: none;
    color: #2d3748;
    transition: color 0.2s ease;
    /* Inherit text truncation */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.comments-area .comment-author .fn a:hover {
    color: #4299e1;
}

.comments-area .comment-author .says {
    color: #718096;
    font-size: 0.85rem;
    margin-left: 0.25rem;
    flex-shrink: 0; /* Don't allow "says" to shrink */
}

/* Timestamp and edit link */
.comments-area .comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #718096;
    flex-shrink: 0; /* Keep metadata visible */
    flex-wrap: wrap;
}

.comments-area .comment-metadata a {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comments-area .comment-metadata a:hover {
    color: #4299e1;
}

.comments-area .edit-link {
    display: inline-flex;
    align-items: center;
}

/* Comment content */
.comments-area .comment-content {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comments-area .comment-content p {
    margin: 0 0 0.75rem 0;
}

.comments-area .comment-content p:last-child {
    margin-bottom: 0;
}

/* Reply button */
.comments-area .reply {
    text-align: right;
    margin-top: 0.5rem;
}

.comments-area .comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    color: #4299e1;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    /* Ensure minimum touch target size */
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.comments-area .comment-reply-link:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.comments-area .comment-reply-link:active {
    transform: translateY(0);
}

/* Nested comments (children) */
.comments-area .children {
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
    position: relative;
}

.comments-area .children::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
    border-radius: 1px;
}

.comments-area .children .comment {
    margin-left: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-color: #e2e8f0;
    /* Prevent excessive nesting on small screens */
    max-width: calc(100% - 1rem);
}

.comments-area .children .children .comment {
    background: #f1f5f9;
    margin-left: 1rem;
    /* Further limit nesting width */
    max-width: calc(100% - 2rem);
}

/* Limit nesting beyond 3 levels on small screens */
.comments-area .children .children .children .comment {
    margin-left: 0.5rem;
    max-width: calc(100% - 0.5rem);
}

/* Don't allow infinite nesting to break layout */
.comments-area .children .children .children .children {
    margin-left: 0;
}

.comments-area .children .children .children .children::before {
    display: none;
}

/* Thread depth indicators */
.comments-area .comment.depth-2 {
    position: relative;
}

.comments-area .comment.depth-3 {
    position: relative;
}

/* Admin/author highlighting */
.comments-area .comment.bypostauthor {
    border-left: 4px solid #4299e1;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.comments-area .comment.bypostauthor .comment-author .fn {
    color: #4299e1;
    position: relative;
}

.comments-area .comment.bypostauthor .comment-author .fn::after {
    content: '✓';
    display: inline-block;
    margin-left: 0.5rem;
    color: #4299e1;
    font-weight: bold;
}

/* Comment form styling */
.comments-area .comment-respond {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.comments-area .comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.comments-area .comment-form p {
    margin-bottom: 1rem;
}

.comments-area .comment-form label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.comments-area .comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

.comments-area .comment-form textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.comments-area .form-submit input[type="submit"] {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comments-area .form-submit input[type="submit"]:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

/* Ensure text doesn't overflow on any screen size */
.comments-area .comment-content,
.comments-area .comment-author,
.comments-area .comment-metadata {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Flexible layout adjustments */
.comments-area .comment-meta {
    min-height: auto;
}

.comments-area .comment-metadata {
    flex-shrink: 1;
    min-width: 0;
}

.comments-area .edit-link {
    white-space: nowrap;
}

/* Responsive adjustments for small containers and screens */

/* Small containers (width < 500px) */
@media (max-width: 500px) {
    .comments-area {
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .comments-area .comment-metadata {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.9rem;
    }
    
    .comments-area .comment-author .says {
        font-size: 0.8rem;
    }
    
    /* Nested comments - reduce indentation */
    .comments-area .children {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    
    .comments-area .children .comment {
        margin-left: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.25rem;
        padding: 0.5rem;
    }
    
    .comments-area .children::before {
        left: -0.25rem;
        width: 1px;
    }
    
    .comments-area .comment-respond {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Very small containers (width < 350px) */
@media (max-width: 350px) {
    .comments-area {
        margin: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    .comments-area .comment-meta {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.85rem;
    }
    
    .comments-area .comment-author .says {
        display: none; /* Hide "says:" on very small screens */
    }
    
    .comments-area .comment-metadata {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .comments-area .comment-reply-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Further reduce nested comment indentation */
    .comments-area .children .comment {
        margin-left: 0.25rem;
        padding: 0.375rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.125rem;
        padding: 0.375rem;
    }
    
    .comments-area .comment-respond {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 80px;
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Demo page styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    background: #f8fafc;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.demo-controls {
    background: #1a202c;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-controls button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-controls button:hover {
    background: #3182ce;
}

.demo-controls button.active {
    background: #e53e3e;
}

.size-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1000;
}/* End custom CSS */
/* Start custom CSS for post-comments, class: .elementor-element-abbbde1 */* Modern Comment Section Styling - Scoped to comments area only */

/* Main comments container */
.comments-area {
    max-width: 100%;
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    /* Ensure content doesn't overflow container */
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure all child elements use border-box sizing */
.comments-area *,
.comments-area *::before,
.comments-area *::after {
    box-sizing: border-box;
}

/* Comments title */
.comments-area .title-comments {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

/* Comment list reset */
.comments-area .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual comment styling */
.comments-area .comment {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.comments-area .comment:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Comment body */
.comments-area .comment-body {
    position: relative;
}

/* Comment meta section */
.comments-area .comment-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Author styling */
.comments-area .comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0; /* Allow text to truncate if needed */
}

.comments-area .comment-author .fn {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    /* Handle long usernames gracefully */
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comments-area .comment-author .fn a {
    text-decoration: none;
    color: #2d3748;
    transition: color 0.2s ease;
    /* Inherit text truncation */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.comments-area .comment-author .fn a:hover {
    color: #4299e1;
}

.comments-area .comment-author .says {
    color: #718096;
    font-size: 0.85rem;
    margin-left: 0.25rem;
    flex-shrink: 0; /* Don't allow "says" to shrink */
}

/* Timestamp and edit link */
.comments-area .comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #718096;
    flex-shrink: 0; /* Keep metadata visible */
    flex-wrap: wrap;
}

.comments-area .comment-metadata a {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comments-area .comment-metadata a:hover {
    color: #4299e1;
}

.comments-area .edit-link {
    display: inline-flex;
    align-items: center;
}

/* Comment content */
.comments-area .comment-content {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comments-area .comment-content p {
    margin: 0 0 0.75rem 0;
}

.comments-area .comment-content p:last-child {
    margin-bottom: 0;
}

/* Reply button */
.comments-area .reply {
    text-align: right;
    margin-top: 0.5rem;
}

.comments-area .comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    color: #4299e1;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    /* Ensure minimum touch target size */
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.comments-area .comment-reply-link:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.comments-area .comment-reply-link:active {
    transform: translateY(0);
}

/* Nested comments (children) */
.comments-area .children {
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
    position: relative;
}

.comments-area .children::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
    border-radius: 1px;
}

.comments-area .children .comment {
    margin-left: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-color: #e2e8f0;
    /* Prevent excessive nesting on small screens */
    max-width: calc(100% - 1rem);
}

.comments-area .children .children .comment {
    background: #f1f5f9;
    margin-left: 1rem;
    /* Further limit nesting width */
    max-width: calc(100% - 2rem);
}

/* Limit nesting beyond 3 levels on small screens */
.comments-area .children .children .children .comment {
    margin-left: 0.5rem;
    max-width: calc(100% - 0.5rem);
}

/* Don't allow infinite nesting to break layout */
.comments-area .children .children .children .children {
    margin-left: 0;
}

.comments-area .children .children .children .children::before {
    display: none;
}

/* Thread depth indicators */
.comments-area .comment.depth-2 {
    position: relative;
}

.comments-area .comment.depth-3 {
    position: relative;
}

/* Admin/author highlighting */
.comments-area .comment.bypostauthor {
    border-left: 4px solid #4299e1;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.comments-area .comment.bypostauthor .comment-author .fn {
    color: #4299e1;
    position: relative;
}

.comments-area .comment.bypostauthor .comment-author .fn::after {
    content: '✓';
    display: inline-block;
    margin-left: 0.5rem;
    color: #4299e1;
    font-weight: bold;
}

/* Comment form styling */
.comments-area .comment-respond {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.comments-area .comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.comments-area .comment-form p {
    margin-bottom: 1rem;
}

.comments-area .comment-form label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.comments-area .comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

.comments-area .comment-form textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.comments-area .form-submit input[type="submit"] {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comments-area .form-submit input[type="submit"]:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

/* Ensure text doesn't overflow on any screen size */
.comments-area .comment-content,
.comments-area .comment-author,
.comments-area .comment-metadata {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Flexible layout adjustments */
.comments-area .comment-meta {
    min-height: auto;
}

.comments-area .comment-metadata {
    flex-shrink: 1;
    min-width: 0;
}

.comments-area .edit-link {
    white-space: nowrap;
}

/* Responsive adjustments for small containers and screens */

/* Small containers (width < 500px) */
@media (max-width: 500px) {
    .comments-area {
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .comments-area .comment-metadata {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.9rem;
    }
    
    .comments-area .comment-author .says {
        font-size: 0.8rem;
    }
    
    /* Nested comments - reduce indentation */
    .comments-area .children {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    
    .comments-area .children .comment {
        margin-left: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.25rem;
        padding: 0.5rem;
    }
    
    .comments-area .children::before {
        left: -0.25rem;
        width: 1px;
    }
    
    .comments-area .comment-respond {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Very small containers (width < 350px) */
@media (max-width: 350px) {
    .comments-area {
        margin: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .comments-area .title-comments {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    .comments-area .comment-meta {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
    }
    
    .comments-area .comment-content {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .comments-area .comment-author .fn {
        font-size: 0.85rem;
    }
    
    .comments-area .comment-author .says {
        display: none; /* Hide "says:" on very small screens */
    }
    
    .comments-area .comment-metadata {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .comments-area .comment-reply-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Further reduce nested comment indentation */
    .comments-area .children .comment {
        margin-left: 0.25rem;
        padding: 0.375rem;
    }
    
    .comments-area .children .children .comment {
        margin-left: 0.125rem;
        padding: 0.375rem;
    }
    
    .comments-area .comment-respond {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .comments-area .comment-reply-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .comments-area .comment-form textarea {
        min-height: 80px;
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .comments-area .form-submit input[type="submit"] {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Demo page styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    background: #f8fafc;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.demo-controls {
    background: #1a202c;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-controls button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-controls button:hover {
    background: #3182ce;
}

.demo-controls button.active {
    background: #e53e3e;
}

.size-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1000;
}/* End custom CSS */