/* assets/css/style.css */

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #d32f2f;
    text-decoration: none;
}

a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 20px;
}

/* Header Styling */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-logo {
    max-height: 60px;
    margin-bottom: 5px;
}

.site-slogan {
    font-style: italic;
    color: #666;
    margin-top: 5px;
    font-size: 1rem;
}

/* Navigation */
.navbar-dark {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 12px 15px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 12px;
    transition: color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #d32f2f;
}

/* Breaking News Ticker */
.breaking-news-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative; /* Importante per il posizionamento degli elementi interni */
    background-color: #e74a3b;
    color: #fff;
    padding: 5px 0;
}

.ticker-label {
    display: inline-block;
    padding: 0 10px;
    background-color: #b71c1c;
    font-weight: bold;
    position: relative; /* Permette di usare z-index */
    z-index: 10; /* Valore elevato per assicurarsi che stia sopra */
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    padding-left: 100%; /* Inizia fuori dallo schermo */
    position: relative;
    z-index: 5; /* Valore inferiore al ticker-label */
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Featured Articles */
.main-feature {
    margin-bottom: 30px;
}

.featured-article h2,
.article-card h3,
.article-list-item h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #222;
    font-weight: 500;
}

.article-meta {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.article-meta .category {
    color: #d32f2f;
    font-weight: 500;
}

.featured-img-container {
    overflow: hidden;
    max-height: 400px;
}

.featured-img-container img {
    width: 100%;
    transition: transform 0.3s ease;
}

.featured-img-container img:hover {
    transform: scale(1.05);
}

.featured-articles {
    margin-bottom: 30px;
}

.article-card {
    margin-bottom: 20px;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

.article-img-container {
    overflow: hidden;
    height: 200px;
}

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

.article-img-container img:hover {
    transform: scale(1.05);
}

/* Recent Articles List */
.recent-articles {
    margin-top: 30px;
}

.section-title {
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.article-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.article-list-item:last-child {
    border-bottom: none;
}

.article-list-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.article-excerpt {
    color: #555;
    margin-bottom: 0;
}

/* Sidebar */
.sidebar-widget {
    padding: 20px;
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 6px;
}
.widget-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}


.newsletter-widget {
    border-radius: 5px;
}

.popular-article-link {
    color: #333;
    display: block;
    padding: 10px;
    transition: background-color 0.2s ease;
}

.popular-article-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.popular-article-link h6 {
    line-height: 1.3;
    font-weight: 600;
}

.thumbnail {
    border-radius: 4px;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tag-link {
    display: inline-block;
    padding: 5px 8px;
    margin: 0 5px 8px 0;
    background-color: #f0f0f0;
    border-radius: 4px;
    color: #333;
    transition: background-color 0.2s ease;
}

.tag-link:hover {
    background-color: #d32f2f;
    color: #fff;
    text-decoration: none;
}

/* Advertisement Placeholders */
.ad-placeholder {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    padding: 30px 15px;
    text-align: center;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    padding: 40px 0 20px;
}

.site-footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.site-footer .list-unstyled li {
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #aaa;
}

.social-links a {
    margin-right: 15px;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 767px) {
    .featured-img-container {
        max-height: 250px;
    }
    
    .article-img-container {
        height: 150px;
    }
    
    .featured-article h2 {
        font-size: 1.5rem;
    }
    
    .site-slogan {
        font-size: 0.9rem;
    }
}

/* Social Share Buttons */
.social-share-icons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-share-icons .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-share-icons .share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.social-share-icons .share-btn[data-type="facebook"] {
    background-color: #3b5998;
}

.social-share-icons .share-btn[data-type="whatsapp"] {
    background-color: #25d366;
}

.social-share-icons .share-btn[data-type="twitter"] {
    background-color: #1da1f2;
}

.social-share-icons .share-btn[data-type="pinterest"] {
    background-color: #bd081c;
}

.social-share-icons .share-btn[data-type="reddit"] {
    background-color: #ff4500;
}

.social-share-icons .share-btn[data-type="telegram"] {
    background-color: #0088cc;
}

/* Donation Button Styles */
.donation-container {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.donation-title {
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-text {
    margin-bottom: 20px;
    font-style: italic;
    color: #666;
}

.donation-container form {
    display: inline-block;
    margin-bottom: 0;
}

/* Personalizza il pulsante PayPal se desideri */
.donation-container .custom-paypal-btn {
    background-color: #0070ba;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.donation-container .custom-paypal-btn:hover {
    background-color: #005ea6;
}









.filthee-banner-box {
    background-color: #fdfdfd;
    color: #111;
    padding: 15px;
    text-align: center;
    border: 2px dashed #d32f2f;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  @media (max-width: 767px) {
    .filthee-banner-box {
      font-size: 0.95rem;
      padding: 12px;
    }
      body {
        padding: 10px;
      }
    
      .container {
        padding: 20px 15px;
      }
    
      .article-card, .article-list-item {
        padding: 20px 0;
      }
    
      .sidebar-widget {
        margin-top: 20px;
      }
    
      .section-title {
        font-size: 1.1rem;
        margin-bottom: 25px;
      }
    
      .article-card h3,
      .article-list-item h3 {
        font-size: 1.2rem;
        line-height: 1.4;
      }
    
      .article-excerpt {
        font-size: 0.95rem;
        line-height: 1.5;
      }
    
      .site-slogan {
        font-size: 1rem;
      }
        .row {
        flex-direction: column;
      }
    
      .sidebar-widget {
        width: 100%;
      }
        h1, h2, h3, h4 {
        margin-top: 20px;
        margin-bottom: 15px;
      }
  }

  .filthee-banner-box strong {
    color: #000;
  }


