/*******************************************************
 * RE-USE CENTRUM
 * Základ + úvod + informační karty + přijímané předměty
 *******************************************************/


/* =====================================================
   ZÁKLAD
===================================================== */

.re-use-centrum {
    padding: 80px 0;
}

.re-use-centrum p {
    margin-bottom: 0;
}


/* =====================================================
   ÚVOD
===================================================== */

.re-use-intro {
    max-width: 1000px;
    margin: 0 auto 70px;
    text-align: center;
}

.re-use-intro-content h2 {
    margin-bottom: 25px;
    color: var(--theme-green-gr-2);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}

.re-use-intro-content p {
    max-width: 900px;
    margin: 0 auto 16px;
    color: var(--body-color);
    font-size: 16px;
    line-height: 1.8;
}

.re-use-intro-content p strong {
    color: var(--theme-green-gr-2);
}

.re-use-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 104, 92, 0.08);
    color: var(--theme-green-gr-2);
    font-size: 14px;
    font-weight: 600;
}

.re-use-date i {
    font-size: 14px;
}


/* =====================================================
   PRAKTICKÉ INFORMACE
===================================================== */

.re-use-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 90px;
}

.re-use-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(0, 104, 92, 0.10);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
  overflow: hidden;
}

.re-use-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.re-use-info-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(0, 104, 92, 0.10);
    color: var(--theme-green-gr-2);
    /*background: var(--theme-green-gr-2); /* <--- Změna barvy pozadí na plnou */
    /*color: #fff;*/ /* <--- Bílá ikona na tmavě zeleném pozadí pro lepší kontrast */
    font-size: 22px;
}

.re-use-info-content {
    flex: 1;
}

.re-use-info-content h3 {
    margin: 0 0 8px;
    color: var(--theme-green-gr-2);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.re-use-info-content h4 {
    margin: 0 0 6px;
    color: var(--body-color);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.re-use-info-content p {
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.65;
}

.re-use-info-content p + p {
    margin-top: 10px;
}

/* Kontakt hover after */

.re-use-info-content.re-use-info-cell {
  overflow: hidden;
  text-overflow: ellipsis;
}

.re-use-info-content.re-use-info-cell a {
  font-size: 14px;
  color: var(--theme-green-gr-2);
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}

.re-use-info-content.re-use-info-cell:hover a,
.re-use-info-content.re-use-info-cell:hover i{
  color: var(--theme-orange-hover);
  transition: all 0.2s ease;
}

.re-use-info-content.re-use-info-cell a::after{
  content: "";
  position:absolute ;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--theme-orange-hover);
  transition: width 0.25s ease;
}
.re-use-info-content.re-use-info-cell a:hover::after{
  width: 100%;
}
.re-use-info-content.re-use-info-cell i {
  margin-right: 1px;
  color: var(--theme-green-gr-2);
  font-size: 13px;
}




.re-use-opening-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.re-use-opening-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
}

.re-use-opening-row strong {
    color: var(--theme-green-gr-2);
    font-weight: 700;
}

.re-use-opening-row span {
    color: var(--body-color);
    white-space: nowrap;
}


/* =====================================================
   SPOLEČNÉ NADPISY SEKCE
===================================================== */

.re-use-section-heading {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.re-use-section-heading h2 {
    margin-bottom: 15px;
    color: var(--theme-green-gr-2);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.re-use-section-heading p {
    color: var(--body-color);
    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   CO PŘIJÍMÁME
===================================================== */

.re-use-accepted {
    margin-bottom: 90px;
}

.re-use-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.re-use-item-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 104, 92, 0.10);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.re-use-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.re-use-item-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 140, 0, 0.10);
    color: var(--theme-orange-hover);
    /*background: var(--theme-orange-hover); /* <--- Změna barvy pozadí na plnou */
    /*color: #fff;*/ /* <--- Bílá ikona na tmavě zeleném pozadí pro lepší kontrast */

  font-size: 20px;
}

.re-use-item-content {
    flex: 1;
}

.re-use-item-content h3 {
    margin: 0 0 8px;
    color: var(--theme-green-gr-2);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.re-use-item-content p {
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.65;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .re-use-centrum {
        padding: 65px 0;
    }

    .re-use-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 70px;
    }

    .re-use-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .re-use-intro {
        margin-bottom: 60px;
    }

    .re-use-section-heading h2 {
        font-size: 30px;
    }

}


/* =====================================================
   MOBIL
===================================================== */

@media (max-width: 767px) {

    .re-use-centrum {
        padding: 50px 0;
    }

    .re-use-intro {
        margin-bottom: 50px;
    }

    .re-use-intro-content h2 {
        font-size: 30px;
    }

    .re-use-intro-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .re-use-date {
        font-size: 13px;
    }

    .re-use-info-card {
        padding: 24px;
        gap: 15px;
    }

    .re-use-info-content h3 {
        font-size: 19px;
    }

    .re-use-opening-row {
        justify-content: flex-start;
        gap: 20px;
    }

    .re-use-accepted {
        margin-bottom: 60px;
    }

    .re-use-section-heading {
        margin-bottom: 30px;
    }

    .re-use-section-heading h2 {
        font-size: 27px;
    }

    .re-use-items-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .re-use-item-card {
        padding: 22px;
    }

}

/* =====================================================
   CO RE-USE CENTRUM NEPŘIJÍMÁ
===================================================== */

.re-use-not-accepted {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 90px;
    padding: 38px 42px;
    background: rgba(255, 140, 0, 0.06);
    border: 1px solid rgba(255, 140, 0, 0.18);
    border-left: 5px solid var(--theme-orange-hover);
    border-radius: 22px;
}

.re-use-warning-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--theme-orange-hover);
  /*  background: var(--theme-orange-hover); /* <--- Změna barvy pozadí na plnou */
    /*color: #fff; /* <--- Bílá ikona na tmavě zeleném pozadí pro lepší kontrast */

  font-size: 23px;
}

.re-use-warning-content {
    flex: 1;
}

.re-use-warning-content h2 {
    margin: 0 0 12px;
    color: var(--theme-green-gr-2);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.re-use-warning-content p {
    margin-bottom: 18px;
    color: var(--body-color);
    font-size: 15px;
    line-height: 1.7;
}

.re-use-warning-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-use-warning-content li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 24px;
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.6;
}

.re-use-warning-content li:last-child {
    margin-bottom: 0;
}

.re-use-warning-content li::before {
    content: "\f00d";
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--theme-orange-hover);
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    font-weight: 900;
}


/* =====================================================
   PODMÍNKY PŘEVZETÍ A PŘEDÁNÍ
===================================================== */

.re-use-conditions {
    margin-bottom: 90px;
}

.re-use-conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.re-use-condition {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 104, 92, 0.10);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.re-use-condition:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 38px rgba(0, 0, 0, 0.08);
}

.re-use-condition-number {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 104, 92, 0.09);
    color: var(--theme-green-gr-2);
    /*background: var(--theme-green-gr-2); /* <--- Změna barvy pozadí na plnou */
    /*color: #fff; /* <--- Bílá ikona na tmavě zeleném pozadí pro lepší kontrast */

    font-size: 14px;
    font-weight: 700;
}

.re-use-condition-content {
    flex: 1;
}

.re-use-condition-content h3 {
    margin: 0 0 8px;
    color: var(--theme-green-gr-2);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.re-use-condition-content p {
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   PROVOZNÍ ŘÁD
===================================================== */

.re-use-regulations {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 32px 38px;
    background: var(--theme-green-gr-2);
    border-radius: 22px;
    color: #fff;
}

.re-use-regulations-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
}

.re-use-regulations-content {
    flex: 1;
}

.re-use-regulations-content h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.re-use-regulations-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.re-use-regulations-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.re-use-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.re-use-btn:hover {
    background: #fff;
    border-color: #fff;
    color: var(--theme-green-gr-2);
}

.re-use-btn-primary {
    background: var(--theme-orange-hover);
    border-color: var(--theme-orange-hover);
}

.re-use-btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--theme-orange-hover);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .re-use-not-accepted {
        margin-bottom: 70px;
        padding: 32px;
    }

    .re-use-conditions {
        margin-bottom: 70px;
    }

    .re-use-conditions-grid {
        grid-template-columns: 1fr;
    }

    .re-use-regulations {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 30px;
    }

    .re-use-regulations-content {
        min-width: 0;
    }

    .re-use-regulations-actions {
        width: 100%;
        margin-left: 81px;
    }

}


/* =====================================================
   MOBIL
===================================================== */

@media (max-width: 767px) {

    .re-use-not-accepted {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 60px;
        padding: 26px 24px;
        border-left-width: 4px;
    }

    .re-use-warning-content h2 {
        font-size: 26px;
    }

    .re-use-warning-content p {
        font-size: 14px;
    }

    .re-use-warning-content li {
        padding-left: 22px;
        font-size: 14px;
    }

    .re-use-conditions {
        margin-bottom: 60px;
    }

    .re-use-conditions-grid {
        gap: 16px;
    }

    .re-use-condition {
        gap: 15px;
        padding: 22px;
    }

    .re-use-condition-number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 13px;
    }

    .re-use-condition-content h3 {
        font-size: 17px;
    }

    .re-use-condition-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .re-use-regulations {
        flex-direction: column;
        gap: 18px;
        padding: 26px 24px;
    }

    .re-use-regulations-content h2 {
        font-size: 23px;
    }

    .re-use-regulations-actions {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .re-use-btn {
        width: 100%;
    }
}

/* =====================================================
   DARK MODE
===================================================== */

.theme-dark .re-use-info-card {
    background: #172522;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
}
.theme-dark .re-use-item-card {
    background: #172522;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}
.theme-dark .re-use-condition {
    background: #172522;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}