/* Relacionadas y conversación: presentación compacta del catálogo existente. */
.bdp-movie-body { padding-bottom: 18px; }
.bdp-movie-bottom { padding-bottom: 50px; }
.bdp-related-section .bdp-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 26px;
}
.bdp-related-section .bdp-card > a {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 6px 16px;
    height: auto;
    min-height: 140px;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}
.bdp-related-section .bdp-poster {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 76px;
    height: 114px;
    aspect-ratio: 2 / 3;
}
.bdp-related-section .bdp-card .bdp-card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 19px;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bdp-related-section .bdp-card-meta {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    gap: 14px;
    align-self: end;
    margin: 0;
    padding-bottom: 3px;
    font-size: 12px;
}
.bdp-related-section .bdp-card-state,
.bdp-related-section .bdp-card-overlay { display: none; }
.bdp-related-section .bdp-poster-empty { padding: 8px; font-size: 11px; }
.bdp-related-section a:focus-visible,
.bdp-comments-box a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.bdp-comments-box {
    max-width: 860px;
    margin: 28px auto 0;
    border-bottom: 0;
}
.bdp-comments-box h2 { margin-bottom: 12px; color: var(--ink); }
.bdp-comments-box #bdp-comments-heading { color: var(--ink) !important; text-shadow: none; }
.bdp-comments-intro { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.bdp-comments-box .comment-reply-title,
.bdp-comments-box .bdp-comment-count { font: 400 24px/1.3 var(--serif); }

/* Mayor especificidad para sustituir el CSS oscuro guardado en wpDiscuz. */
.bdp-editorial-theme #wpdcom {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-family: var(--sans) !important;
}
.bdp-editorial-theme #wpdcom::before,
.bdp-editorial-theme #wpdcom .wpd-form-wrap::before {
    content: none !important;
    display: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-form-wrap {
    margin: 0 0 24px !important;
    padding: 22px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-form,
.bdp-editorial-theme #wpdcom .wpd-form-head,
.bdp-editorial-theme #wpdcom .wpd-form-foot {
    background: transparent !important;
    color: var(--muted) !important;
    border-color: var(--line) !important;
}
.bdp-editorial-theme #wpdcom .wpd-form-head {
    padding-bottom: 12px !important;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}
.bdp-editorial-theme #wpdcom .wpd-auth,
.bdp-editorial-theme #wpdcom .wpd-login,
.bdp-editorial-theme #wpdcom .wpd-sbs-toggle { color: var(--muted) !important; }
.bdp-editorial-theme #wpdcom a { color: var(--accent) !important; }
.bdp-editorial-theme #wpdcom a:hover { color: var(--ink) !important; }
.bdp-editorial-theme #wpdcom .wpd-avatar img,
.bdp-editorial-theme #wpdcom .wpd-form .wpd-avatar img {
    border-radius: 50% !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-textarea-wrap,
.bdp-editorial-theme #wpdcom .wpdiscuz-textarea-wrap {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-textarea-wrap:focus-within,
.bdp-editorial-theme #wpdcom .wpdiscuz-textarea-wrap:focus-within {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 2px var(--accent-soft) !important;
}
.bdp-editorial-theme #wpdcom .ql-container {
    height: auto !important;
    background: #fff !important;
    border: 0 !important;
    color: var(--ink) !important;
    font-family: var(--sans) !important;
}
.bdp-editorial-theme #wpdcom .ql-editor {
    min-height: 108px;
    max-height: 320px;
    overflow-y: auto;
    padding: 14px 16px;
    background: #fff !important;
    color: var(--ink) !important;
    font-size: 15px;
    line-height: 1.7;
}
.bdp-editorial-theme #wpdcom .ql-editor > * { color: var(--ink) !important; }
.bdp-editorial-theme #wpdcom .ql-editor.ql-blank::before {
    color: var(--muted) !important;
    font-style: normal;
}
.bdp-editorial-theme #wpdcom textarea,
.bdp-editorial-theme #wpdcom .wc_comment {
    min-height: 108px !important;
    padding: 14px 16px !important;
    background: #fff !important;
    color: var(--ink) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font: 15px/1.7 var(--sans) !important;
}
.bdp-editorial-theme #wpdcom textarea::placeholder,
.bdp-editorial-theme #wpdcom input::placeholder { color: var(--muted) !important; }
.bdp-editorial-theme #wpdcom .ql-toolbar,
.bdp-editorial-theme #wpdcom .wpd-editor-toolbar,
.bdp-editorial-theme #wpdcom .wpd-editor-buttons {
    background: var(--paper) !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    padding: 8px 12px !important;
}
.bdp-editorial-theme #wpdcom .ql-toolbar .ql-stroke { stroke: var(--muted); }
.bdp-editorial-theme #wpdcom .ql-toolbar .ql-fill { fill: var(--muted); }
.bdp-editorial-theme #wpdcom .ql-toolbar button:hover .ql-stroke,
.bdp-editorial-theme #wpdcom .ql-toolbar .ql-active .ql-stroke { stroke: var(--accent); }
.bdp-editorial-theme #wpdcom .ql-toolbar button:hover .ql-fill,
.bdp-editorial-theme #wpdcom .ql-toolbar .ql-active .ql-fill { fill: var(--accent); }
.bdp-editorial-theme #wpdcom .wpd-editor-buttons i:hover,
.bdp-editorial-theme #wpdcom .wpd-editor-toolbar i:hover { color: var(--accent) !important; }
.bdp-editorial-theme #wpdcom input[type="text"],
.bdp-editorial-theme #wpdcom input[type="email"],
.bdp-editorial-theme #wpdcom input[type="url"],
.bdp-editorial-theme #wpdcom select {
    min-height: 44px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-size: 15px !important;
    max-width: 100%;
}
.bdp-editorial-theme #wpdcom input[type="text"]:focus,
.bdp-editorial-theme #wpdcom input[type="email"]:focus,
.bdp-editorial-theme #wpdcom input[type="url"]:focus,
.bdp-editorial-theme #wpdcom select:focus,
.bdp-editorial-theme #wpdcom textarea:focus-visible,
.bdp-editorial-theme #wpdcom button:focus-visible,
.bdp-editorial-theme #wpdcom input[type="submit"]:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
    border-color: var(--accent) !important;
    box-shadow: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-prim-button,
.bdp-editorial-theme #wpdcom input[type="submit"],
.bdp-editorial-theme #wpdcom button[type="submit"] {
    min-height: 44px !important;
    padding: 10px 22px !important;
    background: var(--ink) !important;
    color: #fff !important;
    border: 1px solid var(--ink) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    transition: background .18s ease !important;
}
.bdp-editorial-theme #wpdcom .wpd-prim-button:hover,
.bdp-editorial-theme #wpdcom input[type="submit"]:hover,
.bdp-editorial-theme #wpdcom button[type="submit"]:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-thread-head {
    margin-top: 22px !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--muted) !important;
}
.bdp-editorial-theme #wpdcom .wpd-thread-head .wpd-thread-info {
    color: var(--ink) !important;
    border-color: var(--accent) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.bdp-editorial-theme #wpdcom .wpd-thread-head .wpd-thread-info::after,
.bdp-editorial-theme #wpdcom .wpd-thread-filter .wpdf-active { border-color: var(--accent) !important; }
.bdp-editorial-theme #wpdcom .wpd-thread-filter { color: var(--muted) !important; }
.bdp-editorial-theme #wpdcom .wpd-comment .wpd-comment-wrap {
    margin-bottom: 14px !important;
    padding: 18px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
.bdp-editorial-theme #wpdcom .wpd-comment .wpd-comment-right { background: transparent !important; }
.bdp-editorial-theme #wpdcom .wpd-comment-author,
.bdp-editorial-theme #wpdcom .wpd-comment .wpd-comment-author a {
    color: var(--ink) !important;
    font-weight: 600 !important;
}
.bdp-editorial-theme #wpdcom .wpd-comment-text { color: var(--ink) !important; font-size: 15px !important; }
.bdp-editorial-theme #wpdcom .wpd-reply-button,
.bdp-editorial-theme #wpdcom .wpd-comment-footer a { color: var(--accent) !important; }
.bdp-editorial-theme #wpdcom .wpd-comment-date,
.bdp-editorial-theme #wpdcom .wpd-comment-footer,
.bdp-editorial-theme #wpdcom .wpd-field-icon { color: var(--muted) !important; }
.bdp-editorial-theme #wpdcom .wpd-thread-wrapper { min-height: 0 !important; }

@media (max-width: 1000px) {
    .bdp-related-section .bdp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .bdp-related-section .bdp-related-grid { grid-template-columns: 1fr; gap: 4px; }
    .bdp-related-section .bdp-card > a { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 15px; min-height: 122px; }
    .bdp-related-section .bdp-poster { width: 64px; height: 96px; }
    .bdp-related-section .bdp-card .bdp-card-title { font-size: 18px; }
    .bdp-comments-box { margin-top: 12px; }
    .bdp-editorial-theme #wpdcom .wpd-form-wrap { padding: 14px !important; }
    .bdp-editorial-theme #wpdcom .wpd-comment .wpd-comment-wrap { padding: 14px !important; }
    .bdp-editorial-theme #wpdcom .wpd-comment.wpd-reply { margin-left: 12px; }
    .bdp-editorial-theme #wpdcom input[type="text"],
    .bdp-editorial-theme #wpdcom input[type="email"],
    .bdp-editorial-theme #wpdcom input[type="url"],
    .bdp-editorial-theme #wpdcom textarea,
    .bdp-editorial-theme #wpdcom .ql-editor { font-size: 16px !important; }
}
