.brr-remote-single,
.brr-recipe-grid {
    margin: 30px auto;
    max-width: 1000px;
}

.brr-recipe-grid {
    display: grid;
    gap: 24px;
}

.brr-recipe-grid.columns-1 {
    grid-template-columns: 1fr;
}

.brr-recipe-grid.columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.brr-recipe-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.brr-recipe-grid.columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.brr-grid-item {
    display: flex;
}

.rb-embed-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rb-embed-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
}

.rb-embed-body {
    padding: 24px;
    color: #1f2d3d;
    line-height: 1.6;
}

.rb-embed-body h3 {
    margin: 0 0 10px;
    font-size: 26px;
}

.rb-embed-body h4 {
    margin: 18px 0 6px;
    font-size: 16px;
    color: #007cba;
    letter-spacing: 0.02em;
}

.rb-embed-ingredients p,
.rb-embed-instructions p {
    margin: 0;
    white-space: pre-line;
}

.rb-embed-gallery {
    margin: 18px 0;
}

.rb-embed-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rb-embed-thumb {
    flex: 1 1 calc(50% - 10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #f6f6f6;
}

.rb-embed-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .rb-embed-body {
        padding: 18px;
    }

    .rb-embed-image {
        height: 220px;
    }

    .rb-embed-thumb {
        flex-basis: 100%;
    }
}

/* Comments Section */
.brr-comments-section {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brr-comments-title {
    margin: 0 0 24px;
    font-size: 24px;
    color: #1f2d3d;
    border-bottom: 2px solid #007cba;
    padding-bottom: 12px;
}

.brr-comment-form-wrapper {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.brr-comment-form-row {
    margin-bottom: 16px;
}

.brr-comment-form-row:last-child {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brr-comment-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2d3d;
}

.brr-comment-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s;
}

.brr-comment-textarea:focus {
    outline: none;
    border-color: #007cba;
}

.brr-emoji-helper {
    margin-top: 8px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brr-emoji-helper-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.brr-emoji-btn {
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s;
    user-select: none;
    line-height: 1;
}

.brr-emoji-btn:hover {
    background: #e0e0e0;
    transform: scale(1.15);
}

.brr-emoji-btn:active {
    transform: scale(1.05);
}

.brr-comment-submit {
    padding: 12px 24px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.brr-comment-submit:hover:not(:disabled) {
    background: #005a87;
}

.brr-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.brr-comment-message {
    font-size: 14px;
    font-weight: 500;
}

.brr-comment-message.success {
    color: #46b450;
}

.brr-comment-message.error {
    color: #dc3232;
}

.brr-comments-login-notice {
    margin: 0 0 30px;
    padding: 16px;
    background: #f0f0f1;
    border-radius: 8px;
    color: #1f2d3d;
}

.brr-comments-login-notice a {
    color: #007cba;
    text-decoration: none;
}

.brr-comments-login-notice a:hover {
    text-decoration: underline;
}

.brr-comments-list {
    margin-top: 30px;
}

.brr-comments-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.brr-comment-item {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fa 100%);
    border-radius: 12px;
    border-left: 5px solid #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
    margin-left: 0;
    transition: box-shadow 0.2s;
}

.brr-comment-item:hover {
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.15);
}

.brr-comment-item:last-child {
    margin-bottom: 0;
}

.brr-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.brr-comment-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brr-comment-author {
    color: #1f2d3d;
    font-size: 16px;
}

.brr-comment-date {
    color: #666;
    font-size: 13px;
}

.brr-comment-content {
    color: #333;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 15px;
}

.brr-comment-content .dashicons,
.brr-comment-content .icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    font-size: 18px;
    line-height: 1;
}

.brr-comment-content emoji,
.brr-comment-content .emoji {
    font-size: 1.2em;
    vertical-align: middle;
}

.brr-comment-delete {
    background: transparent;
    border: none;
    color: #dc3232;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.brr-comment-delete:hover:not(:disabled) {
    opacity: 1;
    background: #fee;
}

.brr-comment-delete:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.brr-comment-delete .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.brr-comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brr-comment-reply-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brr-comment-reply-btn:hover {
    background: #005a87;
}

.brr-comment-reply-btn .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.brr-reply-form-wrapper {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.brr-reply-form-row {
    margin-bottom: 12px;
}

.brr-reply-form-row:last-child {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brr-reply-textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
}

.brr-reply-textarea:focus {
    outline: none;
    border-color: #007cba;
}

.brr-reply-form-wrapper .brr-emoji-helper {
    margin-top: 8px;
}

.brr-reply-submit {
    padding: 8px 16px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.brr-reply-submit:hover:not(:disabled) {
    background: #005a87;
}

.brr-reply-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.brr-reply-cancel {
    padding: 8px 16px;
    background: #f0f0f1;
    color: #1f2d3d;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.brr-reply-cancel:hover {
    background: #dcdcde;
}

.brr-reply-message {
    font-size: 13px;
    font-weight: 500;
}

.brr-reply-message.success {
    color: #46b450;
}

.brr-reply-message.error {
    color: #dc3232;
}

.brr-replies-list {
    margin-top: 20px;
    padding-left: 32px;
    border-left: 4px solid #46b450;
    margin-left: 12px;
}

.brr-reply-item {
    margin-bottom: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f0f9f2 0%, #f8fbf9 100%);
    border-radius: 10px;
    border-left: 5px solid #46b450;
    box-shadow: 0 2px 8px rgba(70, 180, 80, 0.12);
    position: relative;
    transition: box-shadow 0.2s;
}

.brr-reply-item:hover {
    box-shadow: 0 4px 12px rgba(70, 180, 80, 0.18);
}

.brr-reply-item:last-child {
    margin-bottom: 0;
}

.brr-reply-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #46b450;
}

.brr-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.brr-reply-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brr-reply-author {
    color: #1f2d3d;
    font-size: 14px;
    font-weight: 600;
}

.brr-reply-badge {
    background: #007cba;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brr-reply-date {
    color: #666;
    font-size: 12px;
}

.brr-reply-content {
    color: #2d4a2d;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 15px;
}

.brr-reply-content .dashicons,
.brr-reply-content .icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    font-size: 18px;
    line-height: 1;
}

.brr-reply-content emoji,
.brr-reply-content .emoji {
    font-size: 1.2em;
    vertical-align: middle;
}

.brr-reply-delete {
    padding: 2px 6px;
}

/* VanLife Private Comments */
.brr-vanlife-comments-section {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #007cba;
}

.brr-vanlife-comments-title {
    margin: 0 0 24px;
    font-size: 24px;
    color: #1f2d3d;
    border-bottom: 2px solid #007cba;
    padding-bottom: 12px;
}

.brr-vanlife-comment-form-wrapper {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.brr-vanlife-comments-list {
    margin-top: 30px;
}

.brr-vanlife-empty-message {
    padding: 30px 20px;
    text-align: center;
}

.brr-vanlife-empty-message p {
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.brr-vanlife-empty-message p:last-child {
    margin-bottom: 0;
}

.brr-vanlife-empty-note {
    font-size: 12px !important;
    color: #666 !important;
    font-style: italic;
}

/* VanLife My Comments */
.brr-vanlife-my-comments {
    margin: 40px 0;
}

.brr-vanlife-my-comments-empty {
    padding: 30px 20px;
    text-align: center;
}

.brr-vanlife-my-comments-empty p {
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.brr-vanlife-my-comments-empty p:last-child {
    margin-bottom: 0;
}

.brr-vanlife-my-comment-item {
    margin-bottom: 20px;
}

.brr-vanlife-subject-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.brr-vanlife-subject-title {
    margin: 0 0 16px;
    font-size: 16px;
    color: #1f2d3d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brr-vanlife-subject-comment-count {
    font-size: 13px;
    font-weight: normal;
    color: #666;
}

.brr-vanlife-comment-item {
    border-left-color: #007cba;
}

/* VanLife Comments All Overview */
.brr-vanlife-comments-all {
    margin: 40px 0;
}

.brr-vanlife-date-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brr-vanlife-date-title {
    margin: 0 0 20px;
    font-size: 20px;
    color: #1f2d3d;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brr-vanlife-comment-count {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.brr-vanlife-comment-summary {
    margin-bottom: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #ccc;
    transition: all 0.2s;
}

.brr-vanlife-comment-summary.has-reply {
    border-left-color: #46b450;
    background: #f0f9f0;
}

.brr-vanlife-comment-summary.no-reply {
    border-left-color: #dc3232;
    background: #fef0f0;
}

.brr-vanlife-comment-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.brr-vanlife-comment-summary-header strong {
    color: #1f2d3d;
    font-size: 15px;
}

.brr-vanlife-comment-time {
    color: #666;
    font-size: 13px;
}

.brr-vanlife-replied-badge {
    background: #46b450;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.brr-vanlife-pending-badge {
    background: #dc3232;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.brr-vanlife-comment-summary-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.brr-vanlife-view-link {
    color: #007cba;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

.brr-vanlife-view-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .brr-vanlife-comments-section {
        padding: 20px;
    }

    .brr-vanlife-comments-title {
        font-size: 20px;
    }

    .brr-vanlife-date-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .brr-vanlife-comment-summary-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brr-vanlife-replied-badge,
    .brr-vanlife-pending-badge {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .brr-comments-section {
        padding: 20px;
    }

    .brr-comments-title {
        font-size: 20px;
    }

    .brr-comment-form-row:last-child {
        flex-direction: column;
        align-items: stretch;
    }

    .brr-comment-submit {
        width: 100%;
    }

    .brr-comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brr-emoji-helper {
        font-size: 18px;
    }

    .brr-emoji-btn {
        font-size: 18px;
        padding: 3px 5px;
    }

    .brr-replies-list {
        padding-left: 20px;
        margin-left: 8px;
    }

    .brr-reply-item::before {
        left: -28px;
    }
}

/* Typing Indicator */
.brr-typing-indicator {
    margin: 10px 0;
    padding: 8px 16px;
    background: #f0f0f1;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    display: none;
}

.brr-typing-dots {
    display: inline-block;
    margin-right: 4px;
}

.brr-typing-dots span {
    display: inline-block;
    animation: brr-typing-bounce 1.4s infinite ease-in-out;
    font-size: 18px;
    line-height: 1;
}

.brr-typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.brr-typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.brr-typing-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes brr-typing-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

