/* =========================================================
   PUBLIC INTENTIONS — DAYS TABLE
   ========================================================= */


/* =========================================================
   CAŁA LISTA
   ========================================================= */

.intentions-days {
    box-sizing: border-box;

    width: min(
        100%,
        1180px
    );

    margin:
        30px
        auto
        56px;

    padding:
        0
        22px;
}


/* =========================================================
   JEDEN DZIEŃ
   ========================================================= */

.intentions-day-card {
    box-sizing: border-box;

    overflow: hidden;

    margin-bottom: 24px;

    border:
        1px solid
        #dfe7e3;

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 8px 28px
        rgba(
            31,
            52,
            42,
            .045
        );
}


/* =========================================================
   NAGŁÓWEK DATY
   ========================================================= */

.intentions-day-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        18px
        22px;

    border-bottom:
        1px solid
        #dfe7e3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafcfb 100%
        );
}


.intentions-day-date {
    display: flex;

    align-items: baseline;

    gap: 9px;

    color: #263b31;
}


.intentions-day-date strong {
    color: #183f2e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
    font-weight: 600;

    line-height: 1.1;
}


.intentions-day-date span {
    color: #728178;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.2;
}


.intentions-day-year {
    flex: 0 0 auto;

    color: #829088;

    font-size: 12px;
    font-weight: 700;

    font-variant-numeric:
        tabular-nums;
}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.intentions-day-table-wrap {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling:
        touch;
}


/* =========================================================
   TABLE
   ========================================================= */

.intentions-day-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;

    background: #fff;
}


.intentions-day-col-time {
    width: 126px;
}


/* =========================================================
   COLUMN HEADERS
   ========================================================= */

.intentions-day-table thead th {
    padding:
        11px
        20px;

    border-bottom:
        1px solid
        #e1e8e4;

    background: #f7faf8;

    color: #6a7b72;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .075em;

    text-align: left;
    text-transform: uppercase;
}


.intentions-day-table
thead
th:first-child {
    padding-left: 22px;
}


/* =========================================================
   LOCATION
   ========================================================= */

.intentions-location-row th {
    padding:
        11px
        22px;

    border-top:
        1px solid
        #dde6e1;

    border-bottom:
        1px solid
        #dde6e1;

    background: #edf5f1;

    color: #315f49;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .075em;

    text-align: left;
    text-transform: uppercase;
}


.intentions-day-table
tbody
.intentions-location-row:first-child
th {
    border-top: 0;
}


.intentions-location-row.is-outside th {
    border-color: #e7e0d5;

    background: #f8f4ed;

    color: #796648;
}


/* =========================================================
   SERVICE ROW
   ========================================================= */

.intentions-service-row td {
    vertical-align: top;

    padding:
        13px
        20px;

    border-bottom:
        1px solid
        #e9eeeb;
}


.intentions-service-row:last-child td {
    border-bottom: 0;
}


.intentions-service-row.is-outside td {
    background: #fefdfb;
}


/* =========================================================
   TIME
   ========================================================= */

.intentions-service-time {
    padding-left: 22px !important;
}


.intentions-service-time time {
    color: #205b41;

    font-size: 15px;
    font-weight: 750;

    line-height: 1.45;

    font-variant-numeric:
        tabular-nums;
}


.intentions-service-time span {
    color: #a08b69;

    font-size: 15px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.intentions-service-content {
    min-width: 0;
}


.intentions-service-list {
    min-width: 0;
}


.intentions-service-entry {
    overflow-wrap: anywhere;

    color: #27372f;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.5;
}


.intentions-service-entry
+ .intentions-service-entry {
    margin-top: 7px;

    padding-top: 7px;

    border-top:
        1px solid
        #edf1ef;
}


/* =========================================================
   EMPTY
   ========================================================= */

.intentions-day-empty {
    padding:
        20px
        22px;

    color: #7a8880;

    font-size: 14px;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) {

    .intentions-service-row:hover td {
        background: #fbfcfb;
    }


    .intentions-service-row.is-outside:hover td {
        background: #fcfaf7;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {

    .intentions-days {
        margin-top: 22px;

        padding:
            0
            13px;
    }


    .intentions-day-card {
        margin-bottom: 18px;

        border-radius: 13px;
    }


    .intentions-day-header {
        padding:
            15px
            16px;
    }


    .intentions-day-date strong {
        font-size: 20px;
    }


    .intentions-day-date span {
        font-size: 13px;
    }


    .intentions-day-col-time {
        width: 88px;
    }


    .intentions-day-table thead th {
        padding:
            10px
            12px;
    }


    .intentions-day-table
    thead
    th:first-child {
        padding-left: 14px;
    }


    .intentions-location-row th {
        padding:
            10px
            14px;
    }


    .intentions-service-row td {
        padding:
            11px
            12px;
    }


    .intentions-service-time {
        padding-left: 14px !important;
    }


    .intentions-service-time time,
    .intentions-service-time span {
        font-size: 13px;
    }


    .intentions-service-entry {
        font-size: 13px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .intentions-days {
        padding:
            0
            8px;
    }


    .intentions-day-header {
        align-items: flex-start;

        padding:
            14px
            13px;
    }


    .intentions-day-date {
        flex-wrap: wrap;

        gap:
            5px
            7px;
    }


    .intentions-day-date strong {
        font-size: 18px;
    }


    .intentions-day-year {
        padding-top: 3px;
    }


    .intentions-day-col-time {
        width: 72px;
    }


    .intentions-service-row td {
        padding:
            10px
            9px;
    }


    .intentions-service-time {
        padding-left: 10px !important;
    }

}
