body {
    padding: 14px;

    /*Background*/
    background-image: url(../img/style/background3.png);
    background-color: rgba(255, 255, 255, 0.65);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: lighten;
}

.headtitle {
    text-align: center;
    padding: 20px;
    border-top: 3px solid;
    border-bottom: 3px solid;
    position: sticky;
}

.headtitle h2 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-style: normal;
    font-size: 45px;
}

.shortdescription {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.date {
    font-weight: 200;
}

/*Main Grid*/
.bentoSF {
    display: flex;
    gap: 28px;
    flex-direction: column;
}

.row-wide,
.row-two,
.row-three,
.fts,
.articles,
.section-title {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid;
}

.row-wide {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
}

.row-wide img {
    object-fit: cover;
}

.row-wide .ftonly {
    flex: 0 0 50%;
}

.row-wide .ftonly img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.generalright {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 2px solid;
    padding-left: 20px;
}

.recomendations {
    margin-top: 24px;
    border-top: 1px solid;
    padding-top: 14px;
}

.recomendations div {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.recomendations a img {
    width: 100px;
    height: 100px;
    object-position: center;
    filter: sepia(40%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.recomendations a {
    text-decoration: none;
    align-items: flex-start;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.recomendations a:hover {
    filter: sepia(0%);
    transform: rotate(-2deg) scale(1.1);
}

.stamp {
    display: flex;
    flex-direction: column;
}

.row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.row-three {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.articles {
    text-align: justify;
    border-left: 2px solid;
    padding-left: 20px;

    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}

.articles2ft {
    text-align: justify;
    border-left: 2px solid;
    padding-left: 20px;

    display: block;
    gap: 16px;
    align-items: flex-start;
}

.artft {
    height: 300px;
    width: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

.artitle {
    font-family: "Cinzel Decorative", serif;
    font-size: 14px;
    font-weight: 700;
}

.artitle2 {
    font-family: "Cinzel Decorative", serif;
    font-size: 20px;
    font-weight: 700;
}

.section-title {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-style: normal;
    font-size: 25px;
}

.gallery-talks {
    padding-top: 14px;
    padding-bottom: 14px;
}

.gallery-grid {
    columns: 3 260px;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    display: block;
    cursor: zoom-in;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
    object-fit: cover;
    filter: sepia(45%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    filter: sepia(0%);
    transform: rotate(-1deg) scale(1.02);
}

.gallery-item .stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid;
    padding: 4px 8px;
    font-family: "Newsreader", serif;
    font-size: 11px;
    font-weight: 800;
    transform: rotate(6deg);
    pointer-events: none;
}

.gallery-item .play-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    pointer-events: none;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: #fff;
    font-family: "Newsreader", serif;
    font-weight: 800;
    margin-top: 14px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 700px) {
    .gallery-grid {
        columns: 2 160px;
    }
}