/* =========================================================
   CAUSEWAY CARD
   ========================================================= */

.hic-card {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    max-width: 300px;
    display: inline-block;
    vertical-align: top;
}


/* Causeway headings */

.hic-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: #1f4e8c;
}

.hic-card h4 {
    font-size: 0.95rem;
    margin: 10px 0 6px 0;
}


/* Causeway paragraphs */

.hic-card p {
    margin: 4px 0;
}


/* =========================================================
   CAUSEWAY STATUS
   ========================================================= */

.hic-open {
    color: #2e8b57;
    font-weight: 600;
}

.hic-closed {
    color: #c0392b;
    font-weight: 600;
}


/* =========================================================
   CAUSEWAY CROSSING TIMES
   ========================================================= */

.hic-times p {
    margin: 3px 0;
}

.hic-times p:nth-of-type(2),
.hic-times p:nth-of-type(4),
.hic-times p:nth-of-type(6) {
    margin-bottom: 12px;
}


/* =========================================================
   LAST UPDATED
   ========================================================= */

.hic-updated {
    font-size: 0.8rem;
    color: #777;
    margin-top: 12px;
}


/* =========================================================
   CAUSEWAY DISCLAIMER
   ========================================================= */

.hic-disclaimer {
    margin-top: 16px;
    font-size: 0.8rem;
    font-style: italic;
    color: #c0392b;
}

.hic-disclaimer a {
    color: inherit;
}


/* =========================================================
   BUS CARD
   ========================================================= */

.hic-bus-card {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    max-width: 300px;
    display: inline-block;
    text-align: left;
    vertical-align: top;
}


/* Bus heading */

.hic-bus-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: #1f4e8c;
}


/* Bus paragraphs */

.hic-bus-card p {
    margin: 4px 0;
}


/* Bus stop names */

.hic-bus-stop {
    margin: 8px 0 2px 0;
    font-size: 0.9rem;
    font-weight: 600;
}



/* Bus departure times */

.hic-bus-times {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* =========================================================
   BUS TIMETABLE
   ========================================================= */


.hic-bus-direction {
    margin-top: 10px;
}


.hic-bus-direction:first-of-type {
    margin-top: 0;
}


.hic-bus-table {
    width: 100%;
    margin-top: 4px;
}


.hic-bus-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    padding: 3px 0;
}


.hic-bus-header {
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid #d9d9d9;
}


.hic-bus-row:not(.hic-bus-header) {
    font-size: 0.9rem;
}


.hic-bus-direction + .hic-bus-direction {
    margin-top: 14px;
}

/* =========================================================
   PRIORY CARD
   ========================================================= */

.hic-priory-card {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    max-width: 300px;
    display: inline-block;
    text-align: left;
}


/* Priory heading */

.hic-priory-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: #1f4e8c;
}


/* Priory opening times */

.hic-priory-times {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Priory last entry */

.hic-priory-last-entry {
    margin: 8px 0 0 0;
    font-size: 0.8rem;
    color: #777;
}

/* =========================================================
   CASTLE CARD
   ========================================================= */


.hic-castle-card {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    max-width: 300px;
    display: inline-block;
    text-align: left;
}


/* Castle heading */


.hic-castle-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: #1f4e8c;
}


/* Castle opening times */


.hic-castle-times {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}


/* Castle last entry */


.hic-castle-last-entry {
    margin: 8px 0 0 0;
    font-size: 0.8rem;
    color: #777;
}

.hic-priory-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}
.hic-castle-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}

.hic-bus-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}

.hic-causeway-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 12px;
}

/* =========================================================
   INFORMATION CARD LAYOUT
   ========================================================= */

.hic-card,
.hic-bus-card,
.hic-priory-card,
.hic-castle-card {
    box-sizing: border-box;
    width: 300px;
    margin-right: 12px;
    margin-bottom: 12px;
}
.hic-card {
    width: 380px;
}

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

@media (max-width: 900px) {

    .hic-card,
    .hic-bus-card,
    .hic-priory-card,
    .hic-castle-card {
        width: calc(50% - 8px);
        max-width: none;
        margin-right: 8px;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

    .hic-card,
    .hic-bus-card,
    .hic-priory-card,
    .hic-castle-card {
        width: 100%;
        max-width: none;
        margin-right: 0;
    }
}

/* =========================================================
   WEATHER CARD
   ========================================================= */

.hic-weather-card {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    max-width: 300px;
    display: inline-block;
    text-align: left;
    vertical-align: top;
}


/* Weather heading */

.hic-weather-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: #1f4e8c;
}


/* Main conditions */

.hic-weather-main {
    margin-bottom: 10px;
}


.hic-weather-temperature {
    font-size: 1.4rem;
    font-weight: 500;
}


.hic-weather-description {
    font-size: 0.9rem;
    margin-top: 2px;
}


/* Weather details */

.hic-weather-details p {
    margin: 8px 0;
}


.hic-weather-details strong {
    font-weight: 600;
}


/* Weather source */

.hic-weather-source {
    margin: 12px 0 0 0;
    font-size: 0.8rem;
    color: #777;
}

/* =========================================================
   TABLE BOOKING FORM
   ========================================================= */

.hic-booking-card {
    width: 400px !important;
    max-width: 100% !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.hic-booking-card h3 {
    margin-bottom: 8px;
}

.hic-booking-intro {
    margin-bottom: 22px;
}

.hic-booking-form {
    width: 100%;
}

.hic-booking-field {
    margin-bottom: 16px;
}

.hic-booking-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.hic-booking-field label span {
    font-weight: 700;
}

.hic-booking-field input,
.hic-booking-field select,
.hic-booking-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    font: inherit;
}

.hic-booking-field textarea {
    resize: vertical;
}

.hic-booking-note {
    font-size: 0.9rem;
    font-weight: 700;
    color: #d32f2f;
    margin: 18px 0;
}

.hic-booking-submit {
    margin-top: 20px;
}

.hic-booking-submit button {
    padding: 11px 24px;
    border: 0;
    border-radius: 3px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hic-booking-success {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 3px;
}

.hic-booking-error {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 3px;
}

/* =========================================================
   HOMEPAGE CAUSEWAY + WEATHER BAR
   ========================================================= */

.hic-causeway-bar {
    width: 100%;
    background: #182A3A;
    color: #ffffff;
    font-family: Montserrat, Arial, sans-serif;
    box-sizing: border-box;
}

.hic-causeway-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px;
    box-sizing: border-box;
}

.hic-causeway-heading {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin: 0 0 18px;
}

.hic-causeway-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}


/* CURRENT STATUS */

.hic-causeway-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.hic-causeway-status-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-bottom: 4px;
}

.hic-causeway-bar-status {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hic-causeway-bar-status.hic-open {
    color: #8fcf9a;
}

.hic-causeway-bar-status.hic-closed {
    color: #e6a0a0;
}


/* CROSSING TIMES */

.hic-causeway-times {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.hic-causeway-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hic-causeway-time span {
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 5px;
}

.hic-causeway-time strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    font-weight: 600;
}


/* WEATHER */

.hic-causeway-weather {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.hic-causeway-weather-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.hic-weather-bar-icon {
    font-size: 25px;
    line-height: 1;
}

.hic-causeway-temperature {
    font-size: 21px;
    font-weight: 600;
}

.hic-causeway-description {
    font-size: 13px;
}


/* BUTTON */

.hic-causeway-bar-link {
    display: inline-block;
    padding: 12px 20px;
    background: #536F64;
    color: #ffffff;
    border: 1px solid #536F64;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.hic-causeway-bar-link:hover {
    background: #ffffff;
    color: #182A3A;
    border-color: #ffffff;
}


/* TABLET */

@media (max-width: 950px) {

    .hic-causeway-inner {
        padding: 22px 20px;
    }

    .hic-causeway-main {
        gap: 20px;
    }

    .hic-causeway-times {
        gap: 20px;
    }

    .hic-causeway-weather {
        padding-left: 20px;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .hic-causeway-inner {
        padding: 22px 15px 24px;
    }

    .hic-causeway-heading {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hic-causeway-main {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .hic-causeway-status {
        min-width: 0;
    }

    .hic-causeway-times {
        width: 100%;
        gap: 35px;
    }

    .hic-causeway-time span {
        font-size: 11px;
    }

    .hic-causeway-time strong {
        font-size: 25px;
    }

    .hic-causeway-weather {
        padding-left: 0;
        border-left: none;
        flex-wrap: wrap;
    }

    .hic-causeway-weather-title {
        width: 100%;
        text-align: center;
    }

    .hic-causeway-bar-link {
        padding: 12px 22px;
    }

}

/* Booking form - compact card layout */
.hic-booking-form {
    max-width: 850px;
    margin: 40px auto;
    padding: 32px;
    background: #F3EEE5;
    border: 1px solid #D6CEC1;
    border-radius: 6px;
    box-sizing: border-box;
}

.hic-booking-form {
    padding: 28px;
}

.hic-booking-field {
    margin-bottom: 16px;
}
/* Booking form - two-column layout */
.hic-booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.hic-booking-field {
    margin-bottom: 16px;
}

/* Long text fields span the full card */
.hic-booking-field:has(textarea) {
    grid-column: 1 / -1;
}

/* Notice and submit stay full width */
.hic-booking-note,
.hic-booking-submit {
    grid-column: 1 / -1;
}
/* Booking form - tighter typography and controls */
.hic-booking-form {
    padding: 24px 28px;
    font-size: 15px;
}

.hic-booking-form label {
    font-size: 14px;
    margin-bottom: 5px;
}

.hic-booking-form input,
.hic-booking-form select,
.hic-booking-form textarea {
    font-size: 14px;
    padding: 9px 11px;
}

.hic-booking-field {
    margin-bottom: 12px;
}

.hic-booking-form textarea {
    min-height: 110px;
}

/* Email gets the full width of the booking card */
.hic-booking-email {
    grid-column: 1 / -1;
}

/* Make the longer booking fields more compact */
.hic-booking-form textarea {
    min-height: 80px;
    height: 80px;
    resize: vertical;
}

/* Booking notice */
.hic-booking-note {
    grid-column: 1 / -1;
    margin: 6px 0 14px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.45;
    border-left: 3px solid #536F64;
    background: #E8E3D9;
}

/* Booking button */
.hic-booking-submit {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.hic-booking-submit button {
    width: auto;
    min-width: 170px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.home-story-section {
    margin-bottom: 25px;
}
/* Room information slide-up effect */

.room-info-panel {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.room-info-panel.room-info-visible {
    opacity: 1;
    transform: translateY(0);
}
.room-info-panel {
    background: #f2ede3;
    padding: 24px;
    border-radius: 6px;
}

.room-info-panel {
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}
