/* ========================================
   BLOG DETAIL PAGE STYLES - HEADER ONLY
   ======================================== */

.awtu-blog-detail-header {
    background: #f0f0f0;
    padding: 3.5rem 0;
    margin-top: 5rem;
}

.awtu-blog-detail-header .container {
    max-width: 85%;
    margin-left: 154px !important;
    margin-right: auto;
    padding: 0 2rem;
}

/* Breadcrumb Styles */
.awtu-blog-detail-header .awtu-breadcrumb {
    margin-bottom: 0;
}

.awtu-blog-detail-header .breadcrumb {
    font-size: 1.12 5rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

.awtu-blog-detail-header .breadcrumb li {
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.awtu-blog-detail-header .breadcrumb a {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    text-decoration: none !important;
}

.awtu-blog-detail-header .breadcrumb a:hover {
    color: #14b08e !important;
}

.awtu-blog-detail-header .breadcrumb .active {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #374151 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .awtu-blog-detail-header .container {
        margin-left: 77px !important;
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .awtu-blog-detail-header .container {
        margin-left: 0 !important;
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .awtu-blog-detail-header .container {
        padding: 0 0.5rem;
    }
}

/* ========================================
   ARTICLE DETAIL CONTENT STYLES
   ======================================== */

.article-detail-content {
    background: #ffffff;
    padding: 2rem 0;
}

.article-detail-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Article Header Section */
.article-header-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Category Tag */
.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    width: fit-content;
}

/* Article Main Title */
.article-main-title,
h1.article-main-title,
.article-header-section h1.article-main-title {
    font-size: 2.6rem !important;
    font-weight: 495 !important;
    color: #111827 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    font-family: inherit !important;
}

/* Author Section */
.article-author-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 480;
    color: #111827;
}

.author-specialty {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

/* Article Meta Section */
.article-meta-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    height: 100%;
}

.article-date,
.article-read-time,
.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-date i,
.article-read-time i,
.article-share i {
    color: #6b7280;
    font-size: 1rem;
}

.article-share {
    cursor: pointer;
    transition: color 0.3s ease;
}

.article-share:hover {
    color: #374151;
}

/* Featured Image Section */
.article-featured-image-section {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.article-featured-image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Responsive for Article Detail */
@media (max-width: 1024px) {
    .article-detail-content .container {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .article-detail-content .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .article-main-title {
        font-size: 2rem;
    }
    
    .article-author-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-meta-section {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    .article-featured-image-section img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .article-detail-content .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    .article-detail-content {
        padding: 1.5rem 0;
    }
    
    .article-main-title {
        font-size: 1.75rem;
    }
    
    .author-info {
        gap: 0.75rem;
    }
    
        .author-avatar {
            width: 40px;
            height: 40px;
        }
    
    .article-meta-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .article-featured-image-section img {
        height: 250px;
    }
}

/* ========================================
   ARTICLE CONTENT WITH SIDEBARS LAYOUT
   ======================================== */

.article-content-with-sidebars {
    background: #ffffff;
    padding: 3rem 0 4rem 0;
    position: relative;
}

.article-content-with-sidebars::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.article-content-with-sidebars .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 60px 1fr 200px;
    gap: 2.5rem;
    align-items: start;
}

/* Left Social Sidebar */
.social-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.social-share-sticky {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-share-sticky h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #14b08e;
    color: white;
    transform: translateY(-2px);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.link:hover { background: #6b7280; }

/* Main Content */
.article-main-content {
    padding-top: 0;
    margin-top: 0;
    max-width: none;
}

.article-body {
    line-height: 1.7;
    color: #374151;
    margin-top: 0;
    padding-top: 0;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: #111827;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.article-body h2 {
    font-size: 1.875rem;
    margin-top: 3rem;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body p {
    margin: 1.5rem 0;
    font-size: 1rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin: 0.5rem 0;
}

.article-body strong {
    font-weight: 600;
    color: #111827;
}

/* Blockquotes with green background */
.article-body blockquote {
    background: #e9f2f0;
    border-left: 4px solid #14b08e;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #6b7c7c;
}

/* Autor del blockquote */
.article-body blockquote .quote-author {
    display: block;
    font-style: normal;
    font-weight: 480;
    color: #6b7c7c;
    margin-top: 1rem;
    text-align: right;
}

.article-body blockquote p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.article-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #14b08e;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
    opacity: 0.3;
}

/* Right Table of Contents Sidebar */
.table-of-contents-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-sticky {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.toc-sticky h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toc-link {
    display: block;
    padding: 0.4rem 0;
    color: #6b7c7c;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.toc-link:hover {
    color: #14b08e;
}

.toc-link.active {
    color: #14b08e;
    font-weight: 500;
}

/* Responsive for Article Content */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 180px;
        gap: 2rem;
    }
    
    .social-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-of-contents-sidebar {
        position: static;
        order: -1;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body blockquote {
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .article-content-with-sidebars {
        padding: 2rem 0;
    }
    
    .article-content-with-sidebars .container {
        padding: 0 1rem;
    }
    
    .toc-sticky {
        padding: 0.75rem;
    }
    
    .article-body blockquote {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ========================================
   ABOUT AUTHOR SECTION
   ======================================== */

.about-author-section {
    background: #ffffff;
    padding: 3rem 0;
}

.about-author-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-author-section .container > h3 {
    font-size: 1.25rem;
    font-weight: 480;
    color: #0f1a1a;
    margin: 0 0 1.5rem 0;
    order: 1;
}

.about-author-card {
    background-color: oklab(0.95374 -0.00986376 -0.000223696 / 0.3);
    border: 0.5px solid rgb(233, 242, 240);
    border-radius: 12px;
    padding: 2rem;
    order: 1;
}




.author-info-detail {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar-detail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-content {
    flex: 1;
}

.author-name-detail {
    font-size: 1.1rem;
    font-weight: 495;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.author-specialty-detail {
    font-size: 0.875rem;
    font-weight: 495;
    color: #14b08e;
    margin: 0 0 1rem 0;
}

.author-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid rgb(233, 242, 240);
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.linkedin-link i {
    font-size: 1rem;
}

/* Responsive for About Author */
@media (max-width: 768px) {
    .about-author-section {
        padding: 2rem 0;
    }
    
    .about-author-section .container > h3 {
        font-size: 1.125rem;
    }
    
    .about-author-card {
        padding: 1.5rem;
    }
    
    .author-info-detail {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .author-avatar-detail {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .about-author-section .container {
        padding: 0 1rem;
    }
    
    .about-author-section .container > h3 {
        font-size: 1rem;
    }
    
    .about-author-card {
        padding: 1rem;
    }
    
    .author-name-detail {
        font-size: 1.125rem;
    }
    
    .author-bio {
        font-size: 0.8rem;
    }
}

/* ========================================
   RELATED ARTICLES SECTION
   ======================================== */

.related-articles-section {
    background: #ffffff;
    padding: 3rem 0;
}

.related-articles-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-articles-section h3 {
    font-size: 1.7rem;
    font-weight: 495;
    color: #111827;
    margin: 0 0 2rem 0;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-article-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-article-card:hover .related-article-title a {
    color: #14b08e;
}


.related-article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-categories {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.related-article-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.related-article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.related-article-title {
    margin: 0 0 0.75rem 0;
}

.related-article-title a {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-article-title a:hover {
    color: #14b08e;
}

.related-article-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.related-article-date,
.related-article-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.related-article-date i,
.related-article-read-time i {
    font-size: 0.875rem;
}

.no-related-articles {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}

/* Responsive for Related Articles */
@media (max-width: 1024px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .related-articles-section {
        padding: 2rem 0;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-article-image {
        height: 180px;
    }
    
    .related-article-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .related-articles-section .container {
        padding: 0 1rem;
    }
    
    .related-articles-section h3 {
        font-size: 1.25rem;
    }
    
    .related-article-image {
        height: 160px;
    }
    
    .related-article-content {
        padding: 1rem;
    }
    
    .related-article-title a {
        font-size: 0.875rem;
    }
    
    .related-article-description {
        font-size: 0.8rem;
    }
}

/* ========================================
   APP PROMOTION SECTION
   ======================================== */

.app-promotion-section {
    background: linear-gradient(to right bottom, oklab(0.676026 -0.126659 0.0177948 / 0.05) 0%, oklab(0.546093 -0.0266517 -0.213514 / 0.05) 100%);
    border-bottom: 1px solid rgb(233, 242, 240);
    padding: 4rem 0;
}

.app-promotion-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-promotion-content {
    text-align: center;
}

.app-promotion-content h2 {
    font-size: 1.9rem;
    font-weight: 495;
    color: #111827;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.app-promotion-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 3rem 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-store-btn,
.google-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000000;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

.app-store-icon,
.google-play-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.app-store-text,
.google-play-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-store-text span,
.google-play-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-store-text strong,
.google-play-text strong {
    font-size: 1rem;
    font-weight: 600;
}

.learn-more-link {
    color: #2563eb;
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: #0f8f6e;
}

/* Responsive for App Promotion */
@media (max-width: 768px) {
    .app-promotion-section {
        padding: 3rem 0;
    }
    
    .app-promotion-content h2 {
        font-size: 1.5rem;
    }
    
    .app-promotion-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .app-download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .app-store-btn,
    .google-play-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .app-promotion-section .container {
        padding: 0 1rem;
    }
    
    .app-promotion-content h2 {
        font-size: 1.25rem;
    }
    
    .app-promotion-description {
        font-size: 0.875rem;
    }
    
    .app-store-btn,
    .google-play-btn {
        width: 180px;
        padding: 0.625rem 1.25rem;
    }
}

/* ========================================
   ARTICLE FEEDBACK SECTION (NEW CLASSES)
   ======================================== */

.article-feedback-section {
    background: #ffffff;
    padding: 4rem 0;
}

.article-feedback-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feedback-content {
    text-align: center;
}

.feedback-content h2 {
    font-size: 1.25rem;
    font-weight: 480;
    color: #111827;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.feedback-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 2rem 0;
}

.social-media-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.media-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.media-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.link-separator {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0.25rem;
}

/* Responsive for Article Feedback */
@media (max-width: 768px) {
    .article-feedback-section {
        padding: 3rem 0;
    }
    
    .feedback-content h2 {
        font-size: 1.5rem;
    }
    
    .feedback-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .social-media-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .link-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .article-feedback-section .container {
        padding: 0 1rem;
    }
    
    .feedback-content h2 {
        font-size: 1.25rem;
    }
    
    .feedback-description {
        font-size: 0.8rem;
    }
    
    .media-link {
        font-size: 0.875rem;
    }
}

