* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Stili header secondario */
.container-2 {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.secondary-header {
background-color: #fff;
padding: 15px 0;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
z-index: 1000;
}
.secondary-header .container-2 {
display: flex;
justify-content: space-between;
align-items: center;
}
.secondary-header .logo img {
height: 50px;
transition: all 0.3s ease;
}
.secondary-header .creato-per {
display: flex;
align-items: center;
}
.secondary-header .creato-per span {
margin-right: 10px;
font-size: 14px;
color: #666;
font-weight: 500;
}
.secondary-header .creato-per img {
height: 40px;
}
/* Stili header sticky */
.secondary-header.sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 8px 0;
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.secondary-header.sticky .logo img {
height: 35px;
}
.secondary-header.sticky .creato-per img {
height: 30px;
}

/* Base style for links in paragraphs */
p a {
  color: var(--title-color);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  position: relative;
  transition: all 0.3s ease;
  padding: 0 2px;
  border-radius: 3px;
}

/* Hover effect - expands underline and adds subtle background */
p a:hover {
  text-decoration-thickness: 2px;
  background-color: rgba(var(--title-color-rgb, 0, 0, 0), 0.05);
  text-underline-offset: 0.3em;
}

/* Create a subtle after element for additional effects */
p a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(var(--title-color-rgb, 0, 0, 0), 0.1);
  transition: height 0.2s ease;
  z-index: -1;
  border-radius: 3px;
}

/* Expand the after element on hover */
p a:hover::after {
  height: 100%;
}

/* Active (click) effect - inverts colors */
p a:active {
  color: #fff;
  background-color: var(--title-color);
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* Visited state - slightly different color */
p a:visited {
  color: var(--title-color);
  opacity: 0.9;
}

p a[href^="http"]:hover::before {
  transform: translateY(-2px);
  opacity: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    text-align: center;
}

header img {
    max-width: 100%;
    height: auto;
	margin: 40px 0;	
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.main-content {
    flex: 1 1 60%;
    min-width: 300px;
}

.sidebar {
    flex: 1 1 25%;
    min-width: 250px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1 {
    color: var(--title-color);
    font-size: 26px;
    margin-bottom: 16px;
    font-weight: 700;
}

h2 {
    color: var(--subtitle-color);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}

p {
    margin-bottom: 16px;
    font-size: 15px;
}

/* Modernized Audio Player Section */
.audio-section {
    background-color: #f9f9f9;
    border: 1px solid var(--audio-border-color);
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
}

.responder {
    font-size: 14px;
    color: var(--responder-label-color);
    margin-bottom: 6px;
    font-weight: 500;
}

.responder-name {
    font-weight: 700;
    color: var(--responder-name-color);
}

.listen-text {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.listen-text::before {
    content: "\f144"; /* Font Awesome play icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 16px;
}

/* Custom Audio Player */
.audio-player-container {
    background-color: white;
    border-radius: 50px;
    padding: 5px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.audio-play-button {
    background-color: var(--listen-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.audio-play-button:hover {
    transform: scale(1.05);
    background-color: rgba(243, 190, 35, 0.9);
}

.audio-progress {
    flex-grow: 1;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.audio-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--listen-color);
    width: 0;
}

.audio-time {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
    min-width: 70px;
    text-align: right;
}

.audio-player {
    display: none; /* Hide the original audio element */
}

/* Sidebar Elements */
.sidebar-element {
    margin-bottom: 20px;
}

.sidebar-title {
    color: var(--title-color);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.sidebar-content {
    margin-bottom: 15px;
}

/* Modern Button Style */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--button-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    margin: 8px 0;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 124, 62, 0.2);
    border: none;
    letter-spacing: 0.3px;
}

.cta-button:hover {
    background-color: rgba(0, 124, 62, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 62, 0.3);
}

.cta-button .icon {
    margin-right: 10px;
    font-size: 16px;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 15px 0 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Download Button in Main Content */
.download-section {
    margin: 20px 0;
    text-align: center;
}

.main-cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--button-color);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    margin: 15px 0;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 124, 62, 0.2);
    border: none;
    letter-spacing: 0.3px;
}

.main-cta-button:hover {
    background-color: rgba(0, 124, 62, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 124, 62, 0.3);
}

.main-cta-button .icon {
    margin-right: 12px;
    font-size: 18px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .main-content, .sidebar {
        flex: 1 1 100%;
    }
    
    .cta-button, .main-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .audio-time {
        min-width: 50px;
    }
}