/* =====================================================
   PIYO CAB — BLOG (list + single post)
   Shared by blog.php and view_blog.php
   Typography matches index.php's "About" section (#z2h31 / .z2p1):
   Playfair Display headings in navy, Outfit body copy in slate.
===================================================== */

:root {
    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-body: 'Outfit', sans-serif;
    --navy-mid: #004772;
    --text-body: #3D4F61;
    --cta-navy: #0b4f6c;
    --cta-amber: #f59e0b;
}

body {
    font-family: var(--ff-body);
}

.z1h21,
.z1h22,
.z1d6>h2,
.z1d8>h2,
.z1d6>h3,
.z1d8>h3,
#z1s001,
.z1hhh20 {
    font-family: var(--ff-display);
    color: var(--navy-mid);
}

/* ===== shared layout ===== */

#zse1 {
    padding: 50px 0;
    background:#f2f4f6;
}

#z1d1 {
    gap: 30px;
}

#z1d3 {
    width: 100%;
}

.z1i1 {
    width: 100%;
}

.z1i2 {
    width: 12px;
    margin-left:2px;
}

.z1d40,
#z1d40 {
    border: 1px solid rgba(100, 100, 100, 0.2);
    margin-bottom: 40px;
    background: #fff;
    width: 100%;
}

.z1d50 {
    padding: 30px;
}

.z1h22 {
    color: var(--navy-mid);
    width: 100%;
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.4px;
    padding: 0px 0 15px;
    transition: 500ms all ease-in-out;
    cursor: pointer;
}

.z1h22:hover {
    color: var(--color-08);
}

.z1d5 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    justify-content: space-between;
}

.z1d14 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.z1s1 {
    color: var(--color-11);
    font-size: 14px;
}

.z1a2 {
    display: contents;
    color: var(--color-08);
    transition: 500ms all ease-in-out;
}

.z1a2:hover {
    color: var(--color-06);
}

.z1p1 {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    word-spacing: 2px;
    padding: 20px 0;
}

/* ===== blog list page (blog.php) ===== */

#zd1 {
    padding: 20px 0;
    background: #424040;
}

.z1a3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--cta-navy);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top:20px;
}

.z1a3:hover {
    background: var(--cta-amber);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.z1a3 img {
    width: 18px;
    filter: invert(1);
}

.z1d20>p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
    word-spacing: 2px;
    padding:0;
}

.x5a {
    color: #444;
    border: 1px solid #e5e5e5;
    padding: 11px 18px;
    text-align: center;
    display: block;
    float: left;
    margin: 2px 6px;
    height: auto !important;
}

.x5a2 {
    background: var(--color-01);
    color: #fff;
}

#z1i3 {
    width: 20px;
}

/* ===== single post page (view_blog.php) ===== */

.z1d6>ul {
    margin: 15px 0;
}

.z1d6>ul>li {
    list-style: inside;
    color: var(--color-11);
    padding: 7px;
    font-size: 16px;
}

.z1d6>p,
.z1d8>p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
    word-spacing: 2px;
}

.z1d6>h2,
.z1d8>h2 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 10px 0;
}

.z1d6>h3,
.z1d8>h3 {
    font-weight: 600;
    line-height: 1.2;
}

/* Editorial Staff section */
#z1d001 {
    display: flex;
    align-items: center;
    border: 1px solid rgba(100, 100, 100, 0.2);
    width: 80%;
    margin: 30px auto;
    gap: 30px;
    padding: 4%;
}

#z1i001 {
    max-width: 100px;
    height: auto;
    border-radius: 0;
}

#z1s001 {
    color: red;
    font-size: 18px;
}

#z1d003 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#z1002 {
    color: var(--color-11);
}

/* next and previous post section */
#z1d7 {
    width: 95%;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#z1d9 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.z1a0010 {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 50%;
    color: var(--color-11);
}

.z1a0010:last-child {
    display: flex;
    justify-content: end;
    text-align: right;
}

.z1hhh20 {
    font-size: 14px;
}

/* ===== booking form widget embedded in post content (view_blog.php) ===== */

.w3s1 {
    background: #f6a006;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#z100f1 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 25px 0;
}

.z100d1 {
    padding: 7px 10px 7px 5px;
    align-items: center;
}

.z100d2 {
    flex-direction: column;
    width: 33%;
    justify-content: space-between;
    padding: 10px 2px 5px;
}

.z100d1,
.z100d2 {
    background: #959595;
    border-radius: 10px;
    display: flex;
    box-shadow: 0px 0px 15px 1px #0005;
    position: relative;
}

#z100d3 {
    background: transparent;
    padding: 0;
    gap: 10px;
    align-items: normal;
    border: none;
    box-shadow: none;
}

.z100d4 {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.z100d4>input {
    width: 35px;
    text-align: center;
    font-family: var(--font-01);
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.z100i1 {
    width: fit-content;
    height: 20px;
}

.z100in1 {
    font-size: 14px;
    padding: 10px 5px;
    border: 0;
    width: 100%;
    color: #fff;
    background: #959595;
}

.z100in1::placeholder {
    color: #fff;
}

#z100in2 {
    font-size: 16px;
    line-height: 16px;
    font-weight: normal;
    width: 100%;
}

.z100in1:focus {
    outline: none;
}

.z100lb1,
.z100s1 {
    display: block;
    text-align: center;
}

.z100lb1 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}

.z100s1 {
    color: #ccc;
    font-family: var(--font2);
    font-size: 12px;
    font-weight: normal;
}

.z100s3 {
    border-right: 1px solid #cdc1c1;
    width: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.z100s8::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 5px solid var(--color9);
    display: block;
    margin-left: 5px;
}

.z100s8 {
    padding: 5px;
}

.z100bt1,
.z100bt2 {
    width: 0;
    height: 0;
    border: 10px solid #f6a006;
    border-top-color: transparent;
    border-bottom-color: transparent;
    background: transparent;
}

.z100bt1 {
    border-left: none;
}

.z100bt2 {
    border-right: none;
}

#z100bt3 {
    background: #f6a006;
    color: #fff;
    font-family: var(--font2);
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid var(--color5);
    box-shadow: 0px 0px 15px 1px #0005;
    width: 50%;
    text-transform: uppercase;
}

#z100bt3:hover {
    color: #000;
}

#z100bt3:hover #z100s4 {
    display: none;
}

#z100d5 {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

#z100d6 {
    width: 50%;
    font-family: var(--font1);
    font-size: 17px;
    font-weight: bold
}

#z100s4 {
    display: block;
    text-align: center;
    font-family: var(--font2);
    color: #111;
    font-size: 11px;
    font-weight: normal;
    word-spacing: 2px;
    letter-spacing: 1px;
}

/* ===== responsive ===== */

@media screen and (max-width: 1000px) {
    #z1d1 {
        flex-direction: column-reverse;
    }

    #z1d2 {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .z1d50 {
        padding: 23px 2%;
    }

    #z1d001 {
        width: 90%;
    }
}

@media screen and (max-width: 550px) {
    #z1d9 {
        flex-direction: column;
    }

    .z1a0010 {
        width: 100%;
    }
}

@media screen and (max-width: 425px) {
    .z1d50 {
        padding: 23px 2%;
    }

    .z1d5 {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }

    .z1h22 {
        font-size: 25px;
    }

    #z1d001 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 30px 3%;
    }

    #z1d003 {
        text-align: center;
    }
}
