
.article-hero {
    padding: 100px 3rem 2rem;
    width: 100%;
    background: var(--dark);
    color: var(--light);
}

.article-featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-header {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 1rem 0;
    color: var(--light);
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--primary);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-icon {
    fill: var(--primary);
}

.article-content {
    background: var(--dark);
    padding: 1.5rem 3rem 3rem;
    min-height: 60vh;
    margin-top: -50px;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    color: var(--light);
}

.article-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 1.25rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.article-container h2 {
    font-size: 2rem;
    margin: 2rem 0 1.25rem;
    color: var(--light);
}

.article-container h3 {
    font-size: 1.5rem;
    margin: 1.75rem 0 1rem;
    color: var(--light);
}

.article-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.75rem auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-container iframe,
.article-container .ql-video {
    max-width: 100%;
    margin: 1.75rem auto;
    border: none;
    border-radius: 8px;
    display: block;
}

.article-container div[style*="text-align:center"],
.article-container div[style*="text-align: center"] {
    text-align: center;
}

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

.article-container li {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.article-tags {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-tags .tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
}

.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-share p {
    margin-bottom: 1rem;
    color: var(--light);
}

.subscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.subscription-modal.active {
    display: flex;
}

.subscription-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.subscription-modal-content {
    position: relative;
    background: var(--dark);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.subscription-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
}

.subscription-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
}

.subscription-modal-close svg {
    width: 20px;
    height: 20px;
}

.subscription-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.subscription-modal-header h3 {
    color: var(--light);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.subscription-modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.subscription-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.subscription-section {
    background: var(--dark);
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-container h3 {
    color: var(--light);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.subscription-container p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.subscription-form {
    width: 100%;
}

.subscription-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.subscription-input-group {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.subscription-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    transition: all 0.3s ease;
}

.subscription-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscription-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}

.subscription-btn {
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscription-btn:hover {
    background: #00cc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.subscription-btn:active {
    transform: translateY(0);
}

.subscription-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.subscription-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    min-height: 20px;
    transition: all 0.3s ease;
}

.subscription-message.success {
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.subscription-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.share-section {
    background: var(--dark);
    padding: 2rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.share-container h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.share-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-link svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.share-link:hover {
    transform: translateY(-2px);
}

.share-link.twitter:hover {
    background: #000000;
}

.share-link.twitter:hover svg {
    fill: #ffffff;
}

.share-link.facebook:hover {
    background: #000000;
}

.share-link.facebook:hover svg {
    fill: #ffffff;
}

.share-link.linkedin:hover {
    background: #000000;
}

.share-link.linkedin:hover svg {
    fill: #ffffff;
}

.share-link.whatsapp:hover svg {
    fill: #ffffff;
}

.share-link.whatsapp:hover svg {
    background: #000000;
}

.related-articles {
    background: var(--dark);
    padding: 3rem;
}

.related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--light);
}

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

.related-card,
.related-post {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.related-card:hover,
.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-image,
.related-post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.related-content,
.related-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-content h4,
.related-post-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-content p,
.related-post-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.related-meta,
.related-post-meta {
    font-size: 0.875rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-meta .dot,
.related-post-meta .dot {
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .article-hero {
        padding: 100px 1.5rem 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-header {
        padding: 0;
    }

    .article-container {
        padding: 0 0.5rem;
    }

    .article-container p {
        font-size: 1rem;
        line-height: 1.6;
        margin: 1.25rem 0;
    }

    .article-container h2 {
        font-size: 1.75rem;
        margin: 2rem 0 1rem;
    }

    .article-container h3 {
        font-size: 1.35rem;
        margin: 1.5rem 0 0.75rem;
    }

    .article-container ul,
    .article-container ol {
        padding-left: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .share-section {
        padding: 2rem 1.5rem;
    }

    .related-articles {
        padding: 2rem 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-post {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 0 !important;
        height: 100px !important;
        min-height: unset !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(40px) !important;
        -webkit-backdrop-filter: blur(40px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
        text-decoration: none !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .related-post-image {
        width: 50% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        flex-shrink: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        overflow: hidden;
    }

    .related-post-image img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .related-post-content {
        width: 50% !important;
        padding: 0.75rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        overflow: hidden;
        text-align: left;
    }

    .related-post-title {
        font-size: 0.85rem !important;
        margin: 0 0 0.25rem 0 !important;
        color: #fff !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        overflow: hidden;
    }

    .related-post-excerpt {
        display: none !important;
    }

    .related-post-meta {
        color: var(--primary) !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        overflow: hidden;
    }

    .related-post-meta::after {
        display: none !important;
        content: none !important;
    }

    .share-section {
        padding: 2rem;
    }

    .share-container h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .subscription-section {
        padding: 2rem 1.5rem;
    }

    .subscription-container {
        padding: 1.5rem;
    }

    .subscription-container h3 {
        font-size: 1.5rem;
    }

    .subscription-fields {
        margin-bottom: 1rem;
    }

    .subscription-input-group {
        flex-direction: column;
    }

    .subscription-btn {
        width: 100%;
    }

    .subscription-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .subscription-modal-header h3 {
        font-size: 1.5rem;
    }

    .subscription-modal-actions {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .article-hero {
        padding: 80px 1rem 1rem;
    }

    .article-content {
        padding: 1rem;
    }

    .article-container {
        padding: 0;
    }

    .article-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .article-container p {
        font-size: 1rem;
        line-height: 1.5;
        margin: 1rem 0;
    }

    .article-container img {
        margin: 1.5rem auto;
    }

    .article-tags {
        margin: 2rem 0;
    }

    .share-section {
        padding: 1.5rem 1rem;
    }

    .related-articles {
        padding: 1.5rem 1rem;
    }

    .related-image {
        height: 180px;
    }

    .share-section {
        padding: 1.5rem;
    }

    .subscription-section {
        padding: 1.5rem 1rem;
    }

    .subscription-container {
        padding: 1.25rem;
    }

    .subscription-container h3 {
        font-size: 1.25rem;
    }

    .subscription-container p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .subscription-input-group {
        flex-direction: column;
    }

    .subscription-btn {
        width: 100%;
    }

    .subscription-modal-content {
        padding: 1.5rem 1rem;
        max-width: 98%;
    }

    .subscription-modal-header h3 {
        font-size: 1.25rem;
    }

    .subscription-modal-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

.post-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card-image {
    width: 100%;
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.post-card-content {
    padding: 1rem;
}

.post-card-content h3 {
    color: var(--light);
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.post-meta .dot {
    color: rgba(255, 255, 255, 0.5);
}

.featured-post .post-meta {
    margin: 1rem 0;
}

@media screen and (max-width: 768px) {
    .post-card {
        flex-direction: row;
        align-items: center;
        gap: 0;
        height: 100px;
        background: #000;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .post-card-image {
        width: 50%;
        height: 100px;
    }

    .post-card-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 0;
    }

    .post-card-content {
        width: 50%;
        padding: 0.75rem !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }

    .post-card-content h3 {
        font-size: 0.8rem !important;
        margin: 0 0 0.25rem 0 !important;
        color: #fff;
        display: block;
        line-height: 1.3;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    .post-meta {
        color: var(--primary) !important;
        font-size: 0.7rem;
        font-weight: 600;
        margin-top: 0 !important;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .post-meta::after {
        content: ' →';
    }

    .post-meta .dot,
    .post-meta .post-date {
        display: inline-block;
    }
}

.blog-hero {
    padding: 120px 4rem 2rem;
    margin-top: 2rem;
}

.blog-section {
    margin-top: 4rem;
}

.post-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}