.post-type-archive-foro_topic .site-content {
    flex-direction: column;
}

.foro-header {
    width: 100vw;
    min-height: 30vh;
    background-image: url('/wp-content/uploads/2025/06/comming-soon-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    display: flex;
    justify-content: center;
}

.foro-header .foro-title  {
    margin-bottom: 0 !important;
}

.post-type-archive-foro_topic .foro-container {
    width: 100%;
    margin: 0 auto 100px;
}

.single-foro_topic .foro-topic-content-container {
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.single-foro_topic .foro-topic-content-container a {
    width: fit-content;
    text-decoration: none;
}

.single-foro_topic .foro-topic-content, .foro-container {
    display: grid;
    gap: 30px;
}

.single-foro_topic .foro-topic-content {
    grid-template-columns: 40% 60%;
}

.foro-container {
    grid-template-columns: repeat(3, 1fr);
}

.foro-topic-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.foro-topic-article {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: max-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foro-topic-link {
    padding: 24px;
}

.foro-topic-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.foro-topic-text-container {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    flex-grow: 1;
    text-align: left;
}

.foro-topic-text-container h2 {
    margin-bottom: 0 !important;
    font-size: 20px;
}

.foro-topic-btn {
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.foro-topic-btn::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.754' height='16.507' viewBox='0 0 9.754 16.507'%3E%3Cpath d='M4.5,14.382,10.632,8.25l6.132,6.132' transform='translate(16.504 -2.379) rotate(90)' fill='none' stroke='%23ff6b35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.foro-topic-icon img, .foro-topic-icon svg {
    width: 24px;
    height: 24px;
}

/* Single Foro */
.single-foro_topic .foro-header {
    flex-direction: column;
}

.single-foro_topic .foro-aviso-section article.foro-post-notice {
    background-color: #FF6B3520;
    margin-bottom: 2rem;
    border-radius: 12px;
    padding: 1rem;
    border-left: 10px solid var(--secondary-color);
}

.single-foro_topic .foro-aviso-section {
    border-right: 1px solid #001F5430;
    padding-right: 2rem;
}

.single-foro_topic .foro-debate-section article.foro-post-debate {
    background-color: var(--white);
    margin-bottom: 2rem;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.single-foro_topic .foro-debate-section article.foro-post-debate a {
    text-decoration: none !important;
}

.single-foro_topic .foro-debate-section article.foro-post-debate .foro-debate-btn {
    margin: 1rem 0 0;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: bold;
}

.single-foro_topic .foro-accordion-title-container {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 2rem 0;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.foro-accordion-title {
    cursor: pointer;
}

.single-foro_topic .foro-debate-section .icon {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}

.single-foro_topic .foro-debate-section .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.single-foro_topic .foro-debate-section .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.foro-accordion-content {
    display: none;
    margin-bottom: 1rem;
}

.foro-topic-content #comments .comments-title {
    display: none;
}

.foro-topic-content #comments .comment-list {
    list-style: none;
    margin: 2rem 0 0 2rem;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta img {
    border-radius: 50px;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta .comment-author-info .comment-author a, .foro-topic-content .comment-author-info .fn {
    text-decoration: none;
    font-weight: bold;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta .comment-author-info {
    display: flex;
    flex-direction: column;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta .comment-author-info .entry-meta {
    margin: 0;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-meta .comment-author-info .entry-meta a {
    text-decoration: none;
}

.foro-topic-content #comments .comment-list article.comment-body {
    border-bottom: 1px solid #001F5450;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.foro-topic-content #comments .comment-list article.comment-body .comment-content .reply a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: var(--secondary-color);
}

.foro-topic-content #comments .comment-list .children .comment {
    list-style: none;
}

.foro-topic-content #comments .comment-respond {
    margin: 4rem 0;
}

.foro-topic-content #comments .comment-respond form .comment-form-comment textarea {
    border-radius: 5px;
}

.foro-topic-content #comments .comment-respond form .form-submit input[type="submit"] {
    border-radius: 5px;
}

/* Icono dashboard TutorLMS */
.tutor-icon-foro::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001f54' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20.25 8.511a2.192 2.192 0 0 1 1.5 2.1v4.286a2.178 2.178 0 0 1-1.98 2.193c-.34.027-.68.052-1.02.072V20.25l-3-3q-2.031 0-4.02-.163a2.115 2.115 0 0 1-.825-.242M20.25 8.511a2.126 2.126 0 0 0-.476-.1 48.64 48.64 0 0 0-8.048 0A2.177 2.177 0 0 0 9.75 10.608v4.286A2.207 2.207 0 0 0 10.9 16.845M20.25 8.511V6.637A3.218 3.218 0 0 0 17.49 3.4a48.63 48.63 0 0 0-12.48 0A3.218 3.218 0 0 0 2.25 6.637v6.226A3.218 3.218 0 0 0 5.01 16.1q.866.113 1.74.194V21l4.155-4.155'/></svg>");
}

.foro-topic-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.foro-topic-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.single-foro_post .site-main {
    width: 100%;
}

.single-foro_post .site-main .container.foro-single-post {
    margin: 180px auto;
}

.single-foro_post .site-main .container.foro-single-post a.foro-back-link {
    text-decoration: none;
}

.single-foro_post article.foro_post {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 12px;
    margin: 2rem 0 4rem;
}

.single-foro_post article.foro_post h1 {
    margin-bottom: 0;
}

.single-foro_post article.foro_post .foro-post-meta {
    color: grey;
    font-size: 14px;
}

.single-foro_post article.foro_post .foro-post-content {
    margin: 1rem 0;
}

.single-foro_post section.foro-comments h2 {
    font-size: 16px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

.single-foro_post section.foro-comments ol.comment-list a {
    text-decoration: none;
}

.single-foro_post section.foro-comments ol.comment-list .entry-meta.comment-metadata {
    color: grey;
    font-size: 12px;
}

.single-foro_post section.foro-comments ol.comment-list .comment-content {
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.single-foro_post section.foro-comments ol.comment-list .comment ul.children {
    border-left: 1px solid var(--primary-color);
    border-bottom: 0;
}

.single-foro_post section.foro-comments ol.comment-list .comment-content .reply {
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: bold;
}

.single-foro_post section.foro-comments #comments .comment-respond .comment-form .comment-form-comment textarea {
    border-radius: 12px;
}

.single-foro_post section.foro-comments #comments .comment-respond .comment-form .form-submit input[type="submit"] {
    border-radius: 5px;
}


/* Responsive */
@media (max-width: 1024px) {
    .foro-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .post-type-archive-foro_topic .foro-container, .single-foro_topic .foro-topic-content {
        grid-template-columns: 1fr;
    }
    .post-type-archive-foro_topic .foro-container, .single-foro_topic .foro-topic-content-container, .single-foro_post .site-main .container.foro-single-post {
        margin: 50px 24px;
        width: auto;
    }
    
    .foro-header {
        min-height: 20vh;
        line-height: 1.5;
        align-items: center;
    }
    
    .foro-header .foro-title {
        font-size: 34px;
    }
    
    .foro-header .foro-topic-description {
        max-width: 70%;
    }
    
    .single-foro_topic .foro-topic-content-container {
        padding: 0;
    }
    
    .single-foro_topic .foro-aviso-section {
        border-bottom: 1px solid #001F5430;
        border-right: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .tpl-dashboard-playlists {
        padding: 100px 0;
    }
    
    .foro-title {
        font-size: 70px;
        padding: 180px 0 30px 0;
        margin-bottom: 0 !important;
    }
    
    .single-foro_topic .foro-title {
        padding: 180px 0 0 0;
    }
}