/* Blog Page Specific Styles - Teal Profundo Aesthetic */

.blog-header {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.blog-header h1 {
    letter-spacing: -0.03em;
    line-height: 1;
}

.blog-grid {
    background-color: #121518;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(24, 58, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(166, 138, 100, 0.05) 0%, transparent 50%);
}

/* Blog Article Cards */
.blog-entry-large {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-image {
    position: relative;
    background-color: #232323;
}

.blog-image img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: grayscale(0.5);
}

.blog-entry-large:hover .blog-image img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.blog-entry-large h2 a {
    transition: color 0.4s ease;
}

.blog-entry-large h2 a {
    color: var(--foreground) !important;
    transition: color 0.4s ease;
}

.blog-entry-large h2 a:hover {
    color: var(--accent) !important;
}

.text-accent,
.btn-link.text-accent {
    color: var(--accent) !important;
}

.btn-link:hover {
    color: var(--foreground) !important;
}
.sidebar-widget {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(216, 208, 197, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1.5rem;
}

.sidebar-widget:hover {
    border-color: rgba(166, 138, 100, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1.5rem !important;
}

/* Custom Input for Sidebar */
.sidebar-widget .form-control-custom {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(216, 208, 197, 0.1);
    border-radius: 0;
    padding: 0.5rem 0;
    color: var(--foreground);
    font-size: 0.9rem;
    width: 100%;
}

.sidebar-widget .form-control-custom:focus {
    outline: none;
    border-color: var(--accent);
}

/* Recent Posts List */
.recent-post-item {
    transition: transform 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.group:hover h4 {
    color: var(--accent) !important;
}

/* Newsletter Widget Specific */
.sidebar-widget.bg-accent {
    background: linear-gradient(135deg, rgba(166, 138, 100, 0.1) 0%, rgba(166, 138, 100, 0.05) 100%) !important;
    border: 1px solid rgba(166, 138, 100, 0.2) !important;
    color: var(--foreground) !important;
}

.sidebar-widget.bg-accent h3 {
    color: var(--accent) !important;
}

.sidebar-widget.bg-accent .btn-void {
    background-color: var(--accent);
    color: #121518;
    border: none;
    font-weight: 600;
}

.sidebar-widget.bg-accent .btn-void:hover {
    background-color: var(--foreground);
    color: #121518;
    transform: scale(1.02);
}

#newsletter-widget .form-control {
    color: var(--void-900) !important; /* This was likely causing dark text if void-900 is dark */
}

/* Let's be explicit: white text for these dark widgets */
#newsletter-widget .form-control,
#newsletter-widget .form-control:focus {
    color: #ffffff !important;
    background-color: transparent !important;
}

.placeholder-void-70::placeholder {
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.placeholder-void-70::placeholder {
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.tracking-luxury {
    letter-spacing: 0.15em;
}

/* Article page enhancements */
.article-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    background: rgba(18, 22, 25, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(216, 208, 197, 0.03) !important;
}

.article-intro {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
}

.badge-category {
    display: inline-block;
    border: 1px solid rgba(166, 138, 100, 0.35);
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
}

.lead-text {
    max-width: 720px;
    line-height: 1.6;
}

.hero-image {
    min-height: 420px;
}

.author-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    margin-top: 1.75rem;
}

.author-avatar {
    width: 72px;
    height: 72px;
    background-color: rgba(255, 255, 255, 0.08);
}

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

.article-excerpt {
    max-width: 88%;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.8;
}

.article-body {
    margin-top: 2.5rem;
}

.article-body p {
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
    line-height: 1.95;
}

.article-body p:first-of-type:first-letter {
    font-size: 4rem;
    line-height: 1;
    float: left;
    margin-right: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--foreground);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
}

.article-body blockquote {
    border-left: 2px solid var(--accent);
    margin: 3.5rem 0;
    padding: 2.5rem 3rem;
    background: rgba(166, 138, 100, 0.03);
    color: var(--foreground);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.5;
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
}

.article-body ul,
.article-body ol {
    margin: 1.75rem 0 1.75rem 1.5rem;
    color: var(--foreground);
}

.article-body strong,
.article-body b {
    color: var(--accent);
}

.article-footer .share-label {
    color: rgba(255, 255, 255, 0.7);
}

.share-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
}

.share-icon:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    color: #121518;
}

.btn-share-wa:hover { background-color: #25D366; border-color: #25D366; }
.btn-share-fb:hover { background-color: #1877F2; border-color: #1877F2; }
.btn-share-li:hover { background-color: #0A66C2; border-color: #0A66C2; }
.btn-share-x:hover { background-color: #000000; border-color: #ffffff; color: #ffffff !important; }

.bg-glass {
    background: rgba(18, 22, 25, 0.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(14px);
}

.shadow-soft {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.shadow-article {
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.22);
}

.blog-entry-large {
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid rgba(216, 208, 197, 0.08) !important;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}

.blog-entry-large:hover {
    transform: translateY(-10px);
}

.blog-entry-card {
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(216, 208, 197, 0.05);
    height: 100%;
}

.blog-entry-card:hover {
    transform: translateY(-10px);
    border-color: rgba(166, 138, 100, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.blog-image {
    position: relative;
    background-color: #0d0f12;
}

.blog-image img {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
    filter: grayscale(0.6) brightness(0.8);
    object-fit: cover;
}

.blog-entry-large:hover .blog-image img,
.blog-entry-card:hover .blog-image img {
    transform: scale(1.1);
    filter: grayscale(0) brightness(1);
}

.blog-pagination .page-link {
    background: transparent;
    border: 1px solid rgba(166, 138, 100, 0.1);
    color: var(--foreground);
    padding: 0.75rem 1.25rem;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover, 
.blog-pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #183A3D;
}

@media (max-width: 991px) {
    .blog-header {
        padding-top: 15vh !important;
    }
    
    .blog-sidebar {
        margin-top: 5rem;
    }
}

#newsletter-message {
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    transition: all 0.5s ease;
    text-align: center;
}

#newsletter-message.text-success {
    background: transparent;
    border: none;
    color: var(--accent) !important;
}

#newsletter-message.text-danger {
    background: transparent;
    border: none;
    color: #ff6b6b !important;
}

#newsletter-message.text-void {
    background: transparent;
    border: none;
    color: var(--foreground) !important;
}
