﻿   :root {
    --brown: #8B5A2B;
    --green: #2F6B2F;
    --light-bg: #faf8f5;
    --text: #333;
    --max-width: 1000px;
    --radius: 10px;
    --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

#blog {
        
        max-width: 1000px;
        margin: auto;
        padding: 1rem;
        overflow-x: hidden; /* evita scroll orizzontale */
    }
  .gallery-item img {
            width: 100%;
            height: auto;
            border-radius: 6px;
            margin-bottom: 0.8rem;
        } 
.breadcrumb-container {
    margin: 20px 10%;
    background-color: #f2f6f5; /* grigio-verde chiaro, naturale */
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

 .breadcrumb li {
        display: flex;
        align-items: center;
    }

        .breadcrumb li + li::before {
            content: "›";
            padding: 0 8px;
            color: #888;
        }

 .breadcrumb a {
        color: #2b7a78; /* blu-verde naturale */
        text-decoration: none;
        transition: color 0.2s ease-in-out;
        font-weight: 600;
    }

 .breadcrumb a:hover {
            color: #195e5b;
        }

    .breadcrumb .active {
        color: #222;
        font-weight: 600;
        cursor: default;
    }
   /* Gallery layout */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .gallery-item {
         
        border-radius: 8px;
        padding: 1rem;
        background: #f8f6f3;
        border: 1px solid #e4dfd9;
        transition: transform 0.2s ease;
    }

        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item h2 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            text-align: center;
        }

       

    /* Bottoni */
   .gallery-item .btn {
        display: inline-block;
        background: var(--green);
        color: #fff;
        text-decoration: none;
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: background 0.3s ease; 
    }

  .gallery-item .btn:hover {
            background: #245c24;border-bottom: 2px solid var(--brown);
        }

    /* Responsività */
   
    @media (max-width: 480px) {
         

        .styled-button {
            width: 100%;
            text-align: center;
        }
    }
.blog-title {
    font-weight: 700;
     color: #0f4229;
 }

.blog-description {
    
    text-align: center;
    color: #666;
    margin: 0 auto 20px auto; /* Centers text */
    line-height: 1.6;
}

.text-container {
    background-color: rgba(150, 185, 145, 0.8);
    border: 1px solid #ddd;
    border-radius: 8px;
    display: block
}
.text-container p {
    line-height: 1.6;
  color: #333;
  text-align: justify;
    
}
.lead {
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 700;
}

 

 
.responsive-div {
    flex: 1 1 400px; /* Flexible with a max width */
    max-width: 400px;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
      border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}
 

 
    .responsive-div:focus .styled-button:focus {
        outline: #fff solid 3px;
    }

@media (max-width: 768px) {
    .text-container p {
        text-align: left; /* Left-align on smaller screens */
    }
}
