/* =========================================================
   2. SPOLEČNÉ PRVKY
========================================================= */

.section-divider {
    width: min(220px, 40%);
    height: 2px;
    margin: 15px auto;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0)
    );
}

/* =========================================================
   3. HERO SEKCE
========================================================= */

#authors-hero-section {
    margin-top: 5vh;
    padding: 10px 20px 35px;
    position: relative;
}

.authors-hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 50px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
}

.authors-hero-title::before {
    content: "";
    width: 150px;
    height: 14px;
    display: block;
    background:
        linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0)) top / 150px 2px no-repeat,
        linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0)) bottom / 90px 2px no-repeat;
}

.authors-hero-title::after {
    content: "";
    width: 150px;
    height: 14px;
    display: block;
    background:
        linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0)) top / 150px 2px no-repeat,
        linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0)) bottom / 90px 2px no-repeat;
}

.authors-hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    width: 100%;
    color: #000;
    line-height: 1.8;
}

.authors-hero-text p {
    width: min(900px, 70%);
    background: rgba(229, 220, 211, 0.6);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 28px 30px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

/* =========================================================
   4. ÚVODNÍ TEXTOVÁ SEKCE
========================================================= */

#authors-text-section {
    padding: 20px 20px 10px;
}

.authors-text-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 35px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 18px;
}

.authors-text-title::before {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.authors-text-title::after {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.authors-text-div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    width: 100%;
    color: #000;
    line-height: 1.8;
    margin-bottom: 24px;
}

.authors-text-div p {
    width: min(860px, 65%);
    font-size: 16px;
    margin: 0;
}

#authors-result-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    width: 100%;
    color: #000;
    line-height: 1.8;
    margin-top: 10px;
}

.authors-result-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    border-radius: 10px;
    width: min(760px, 80%);
    background: linear-gradient(135deg, #616952 0%, #74805f 100%);
    padding: 18px 22px;
    box-shadow: 0 10px 24px rgba(97, 105, 82, 0.18);
}

/* =========================================================
   5. PARTNEŘI / SPOLEČNÁ KNIHA
========================================================= */

.partners-grid {
    padding: 30px 0 10px;
    position: relative;
}

.partners-grid-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-grid-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 35px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
}

.partners-grid-title::before {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.partners-grid-title::after {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.partners-grid-section h3 {
    text-align: center;
    font-weight: normal;
    font-size: 25px;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.5;
}

.partners-grid-wrap {
    max-width: 1100px;
    margin: 0 auto 3vh auto;
    padding: 40px 16px 10px;
}

.partners-grid-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner-card {
    position: relative;
    padding: 35px 16px 42px;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    color: #000;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    word-break: break-word;
    hyphens: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}

.partner-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,0.40),
        rgba(0,0,0,0)
    );
}

/* =========================================================
   6. O AUTORECH / 70 SPOLUAUTORŮ
========================================================= */

#authors-about-authors {
    padding: 10px 20px 10px;
}

.authors-about-authors-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 35px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.authors-about-authors-title::before {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.authors-about-authors-title::after {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0)) center / 120px 2px no-repeat;
}

.authors-about-authors-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    color: #000;
    line-height: 1.8;
}

.authors-about-authors-text p {
    width: min(900px, 70%);
    background: rgba(229, 220, 211, 0.55);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 28px 30px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.authors-about-authors-text span {
    font-weight: bold;
    color: #fff;
    background-color: #616952;
    padding: 2px 6px;
    border-radius: 4px;
}






.gallery-wrap-authors {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;	
    align-items: center;
    justify-items: center;
}

.gallery-item-authors {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-authors img {
    width: 90%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   8. RESPONSIVE
========================================================= */

@media (max-width: 980px) {
    .partners-grid-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .authors-hero-title {
        font-size: 30px;
        gap: 10px;
    }

    .authors-hero-title::before,
    .authors-hero-title::after {
        width: 80px;
    }

    .authors-hero-text p {
        width: 85%;
        padding: 24px 22px;
    }

    .partners-grid-wrap {
        padding: 20px 16px;
    }

    .authors-text-div p {
        width: 85%;
    }

    .authors-text-title {
        font-size: 30px;
        gap: 10px;
        text-align: center;
    }

    .authors-text-title::before,
    .authors-text-title::after {
        width: 80px;
    }

    .authors-result-title {
        width: 90%;
        font-size: 25px;
    }

    .partners-grid-title {
        font-size: 30px;
        gap: 10px;
        text-align: center;
    }

    .partners-grid-title::before,
    .partners-grid-title::after {
        width: 80px;
    }

    .authors-about-authors-text p {
        width: 90%;
        padding: 24px 22px;
    }

    .authors-about-authors-title {
        font-size: 30px;
        gap: 10px;
        text-align: center;
    }

    .authors-about-authors-title::before,
    .authors-about-authors-title::after {
        width: 80px;
    }

    .gallery-wrap-authors {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 680px) {
    .partners-grid-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .authors-hero-title {
        font-size: 25px;
        gap: 5px;
    }

    .authors-hero-title::before,
    .authors-hero-title::after {
        width: 50px;
    }

    .authors-hero-text p {
        width: 90%;
        font-size: 18px;
        padding: 20px 18px;
    }

    .section-divider {
        margin: 20px auto;
    }

    .partners-grid-wrap {
        padding: 20px 16px;
    }

    .authors-text-title {
        font-size: 22px;
        gap: 5px;
        text-align: center;
    }

    .authors-text-title::before,
    .authors-text-title::after {
        width: 50px;
    }

    .authors-text-div p {
        width: 90%;
        font-size: 18px;
    }

    .authors-result-title {
        width: 90%;
        font-size: 22px;
        padding: 16px 16px;
    }

    .partners-grid-title {
        font-size: 25px;
        gap: 5px;
        text-align: center;
    }

    .partners-grid-title::before,
    .partners-grid-title::after {
        width: 50px;
    }

    .partners-grid-section h3 {
        font-size: 20px;
    }

    .authors-about-authors-text p {
        width: 90%;
        font-size: 18px;
        padding: 20px 18px;
    }

    .authors-about-authors-title {
        font-size: 22px;
        gap: 5px;
        text-align: center;
    }

    .authors-about-authors-title::before,
    .authors-about-authors-title::after {
        width: 50px;
    }

    .partners-grid {
        padding: 0 10px 0 0;
    }

    .partner-card {
        font-size: 16px;
        padding: 28px 12px 38px;
    }

    .book-wrapper {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .book-quote {
        font-size: 22px;
    }

    .gallery-wrap-authors {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .partners-grid-items {
        grid-template-columns: 1fr;
    }

    .gallery-wrap-authors {
        grid-template-columns: repeat(1, 1fr);
    }
}