/* Blog: estensione dello stile Mobirise, senza modificare il tema originale. */
.blog-page { color: #333; background: #fff; font-family: 'Quicksand', sans-serif; }
.blog-page main { padding-top: 8px; }
.blog-section, .blog-hero, .blog-contact { font-family: 'Quicksand', sans-serif; color: #333; }
.blog-section { padding: 72px 0; background: #faf9f6; }
.blog-hero { padding: 44px 0 64px; background: #f1eee7; border-bottom: 1px solid #e4ddcf; }
.blog-hero h1 { max-width: 900px; margin: 16px 0 22px; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.16; font-weight: 700; letter-spacing: -.06em; }
.blog-hero > .container > p { max-width: 680px; font-size: 1.15rem; line-height: 1.8; margin: 0; }
.blog-label { color: #78613d; font-size: .78rem; line-height: 1.7; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.blog-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.blog-section-heading h2, .blog-contact h2 { font-weight: 700; font-size: 2rem; margin: 8px 0 12px; letter-spacing: -.04em; }
.blog-section-heading p { margin: 0; line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.blog-card { background: white; border: 1px solid #e4ddcf; border-radius: 4px; overflow: hidden; }
.blog-card-image { display: block; overflow: hidden; }
.blog-card-image img { width: 100%; height: auto; aspect-ratio: 1080 / 584; object-fit: cover; display: block; }
.blog-card-body { padding: 28px; }
.blog-card h2, .blog-card h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; margin: 12px 0 14px; }
.blog-card h2 a, .blog-card h3 a { color: #333; }
.blog-card p { line-height: 1.8; margin-bottom: 22px; }
.blog-read { color: #735b36; font-weight: 700; line-height: 1.7; }
.blog-read:hover, .blog-card h2 a:hover, .blog-card h3 a:hover { color: #5f4929; text-decoration: underline; }
.blog-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 23px; border: 1px solid #b1976b; background: #b1976b; color: #252525; font-weight: 700; border-radius: 3px; line-height: 1.6; text-align: center; }
.blog-button:hover { color: #252525; background: #c3ae8c; border-color: #c3ae8c; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; line-height: 1.7; margin-bottom: 34px; }
.blog-breadcrumb a, .blog-prose a:not(.blog-button) { color: #735b36; text-decoration: underline; text-underline-offset: 3px; }
.blog-contact { text-align: center; background: #f1eee7; padding: 60px 0; }
.blog-contact p { margin: 18px 0 24px; line-height: 1.7; }
.blog-article { padding-top: 48px; padding-bottom: 64px; }
.blog-cover { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto 38px; border-radius: 4px; }
.blog-prose { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.9; }
.blog-prose h2 { font-size: 1.65rem; font-weight: 700; margin: 38px 0 16px; line-height: 1.35; letter-spacing: -.035em; }
.blog-prose p { margin-bottom: 22px; }
.blog-prose .blog-author { color: #666; font-size: .9rem; }
.blog-video-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 26px 0; }
.blog-new-tab { font-size: .8rem; font-weight: 500; }
.blog-article-end { margin-top: 42px; padding-top: 28px; border-top: 1px solid #e4ddcf; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.blog-skip { position: absolute; top: -100px; left: 16px; z-index: 2000; padding: 12px 20px; background: white; color: #333; }
.blog-skip:focus { top: 12px; }
.blog-page a:focus-visible, .blog-section a:focus-visible, .blog-page button:focus-visible { outline: 3px solid #735b36; outline-offset: 4px; }
.blog-page .navbar a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 767px) {
  .blog-page main { padding-top: 8px; }
  .blog-hero { padding: 28px 0 44px; }
  .blog-section { padding: 44px 0; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-section-heading { align-items: flex-start; flex-direction: column; }
  .blog-card-body { padding: 24px; }
  .blog-breadcrumb { font-size: .8rem; margin-bottom: 24px; }
  .blog-article { padding-top: 28px; padding-bottom: 44px; }
  .blog-contact { padding: 44px 0; }
  .blog-video-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .cid-rUTuXtqKzG .navbar .navbar-logo img { width: 300px; max-width: calc(100vw - 100px); height: auto !important; }
}

.blog-card-topic { display: flex; flex-direction: column; justify-content: center; gap: 16px; aspect-ratio: 1080 / 584; padding: 32px; background: #eee8dc; color: #4a4030; }
.blog-card-topic strong { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.04em; }
.blog-card-topic span { font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.blog-card-topic:hover { background: #e5ddce; color: #333; }

.blog-pdf-viewer { display: block; width: 100%; height: 80vh; min-height: 520px; max-height: 900px; border: 1px solid #e4ddcf; border-radius: 4px; background: #e9e7e2; overflow-y: auto; overscroll-behavior-y: contain; padding: 12px; }
.blog-prose .blog-pdf-alternative { margin-top: 14px; font-size: .9rem; }
@media (max-width: 767px) { .blog-pdf-viewer { height: 70vh; min-height: 420px; } }

.blog-pdf-page { margin: 0 0 18px; background: #fff; border: 1px solid #ddd8ce; }
.blog-pdf-page:last-child { margin-bottom: 0; }
.blog-pdf-page img { display: block; width: 100%; height: auto; }
.blog-pdf-page figcaption { padding: 8px 12px; border-top: 1px solid #eee; text-align: center; font-size: .8rem; color: #666; }
.blog-pdf-viewer:focus-visible { outline: 3px solid #735b36; outline-offset: 4px; }
.blog-download, #sentenza-download-heading { scroll-margin-top: 100px; }
@media (max-width: 767px) { .blog-pdf-viewer { padding: 6px; } }
