:root {
    --red: #fe2031;
    --dark: #0d0d0c;
    --gray: #111111;
    --white: #ffffff;
    --gray-dark: #272727;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.05);
}

.content {
    flex: 1;
    padding: 20px;
    background-color: var(--dark);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: auto;
    min-height: 100px;
}

.content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--red);
    font-weight: bold;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
}

.content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--red);
    font-weight: bold;
}

.content p, .content ul {
    font-weight: 400;
    font-size: 1rem;
    margin-top: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content a {
    color: var(--red);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content a:hover {
    color: var(--red);
}

.media-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    display: block;
    height: auto;
    max-width: 100%;
}

.overlay-download {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-wrapper:hover .overlay-download {
    opacity: 1;
}

details {
    width: 100%;
    font-weight: 500;
    background: var(--dark);
    border-radius: 12px;
    border: 1px solid var(--dark);
    margin-top: 1rem;
    transition: all .3s ease-in-out;
    color: var(--red);
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: 1.1rem;
}

summary {
    padding: 1.4rem;
    border-radius: 8px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem; 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

details[open] summary {
    height: 4rem; 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

details:hover {
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] div {
    background-color: var(--dark);
    padding-top: 1rem;
    border-top: 1px solid var(--red);
    font-size: 1rem;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    padding-bottom: 1.4rem;
    text-align: left;
    font-weight: 300;
    cursor: default;
    color: var(--white);
}

.arrow {
    transition: transform 0.3s ease-in-out;
}

details[open] .arrow {
    transform: rotate(180deg);
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

label {
  display: inline-flex;
  align-items: center;
}