/* CSS Style Rules for "Credits & Attributions" */
.credits-container {
    display: flex;
    font-size: 1.2rem;
    background-color: var(--color-soft-golden);
    border: solid 3px var(--color-destin-sand);
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 10px;
    width: auto;
}

.credits-container a {
    text-decoration: none;
    color: var(--color-dark-green);
    font-weight: 600;
}

.content {
    display: flex;
    flex-direction: column;

    background-color: var(--color-pale-green);
    border: solid 3px var(--color-destin-sand);
    border-radius: 15px;
    margin: 20px;
    padding: 20px;
    gap: 20px;

}

.cred-attr {
    font-size: 2.25rem;
    background-color: var(--color-mid-green);
    color: var(--color-destin-sand);
    border: solid var(--color-destin-sand);
    border-radius: 15px;
    padding: 0 100px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: fit-content;
    text-align: center;
    text-shadow: var(--text-outline-heading);
    box-shadow: var(--shadow-medium);
    align-self: center;
}

.video-box, .images-box {
    display: flex;
    flex-direction: column;
    background-color: var(--color-destin-sand);
    border: solid 3px var(--color-mid-green);
    border-radius: 15px;
}

.video-box {
    margin-bottom: 30px;
}

.videos, .images {
    font-size: 1.85rem;
    background-color: var(--color-light-teal);
    color: var(--color-dark-green);
    border: solid var(--color-destin-sand);
    border-radius: 15px;
    padding: 0 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    width: fit-content;
    text-align: center;
    text-shadow: var(--text-outline-light);
    box-shadow: var(--shadow-medium);
    align-self: center;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thanks {
    font-size: 1.3rem;
}

.strong-thanks {
    font-size: 1.5rem;
}

#tip-desc {
    display: none;
}

.videos-credits-list,
.images-credits-list {
    list-style: none;
    margin: 0 30px;
    padding: 0;
}

.credit {
    display: flex;           /* thumb + text side by side */
    align-items: flex-start;
    gap: 0.5rem;             /* spacing between thumb and text */
    margin-bottom: 1rem;
    margin: auto;
}

.thumb {
  flex: 0 0 auto;          /* don’t stretch */
}

.thumb-inline {
    display: block;          /* visible by default (no JS) */
    max-width: 40px;         /* fallback size (from HTML attrs) */
    height: auto;
}

.meta {
    flex: 1 1 auto;
    min-width: 0;            /* ensures text can wrap inside flexbox */
    word-wrap: break-word;
}

.meta p {
    margin: 0.25rem 0;
}

.meta .small {
    font-size: 0.875rem;
    color: #555;
}

.thumb-tooltip { /* background image is handled by JS */
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: 3px solid #555;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
}

