/* Stili condivisi per le funzionalità Golden Kingdom. */
.gk-message {
    padding: 18px 22px;
    border-radius: 6px;
    background: #eae5cd;
    color: #181c36;
}

.gk-message--error {
    border-left: 4px solid #f14437;
}

.gk-markdown h1,
.gk-markdown h2,
.gk-markdown h3 {
    color: #181c36;
    margin-top: 1.5rem;
}

.gk-markdown code {
    padding: 2px 5px;
    border-radius: 3px;
    background: #eae5cd;
    color: #181c36;
}

.gk-blog-date {
    color: #ed5b0d;
    font-weight: 600;
}

.gk-blog-tags {
    margin: 18px 0;
}

.gk-blog-tag {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 4px 10px;
    border-radius: 14px;
    background: #eae5cd;
    color: #181c36;
    font-size: 13px;
}

.gk-blog-filter {
    margin-top: 12px;
}

.gk-blog-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.gk-blog-filter-clear {
    color: #fff;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    opacity: 0.85;
}

.gk-blog-filter-clear:hover {
    color: #fff;
    opacity: 1;
}

.blog_item {
    position: relative;
}

.gk-blog-card-link::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.gk-blog-card-link:focus-visible::after {
    outline: 2px solid #bb4018;
    outline-offset: -2px;
}

.blog_item:hover .blog_details h2 {
    color: #bb4018;
}

.gk-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.gk-blog-meta .gk-blog-tags {
    margin: 0;
}

.gk-blog-tags a,
.gk-blog-read {
    position: relative;
    z-index: 1;
}

.gk-blog-read {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 30px;
    line-height: 1.4;
    white-space: nowrap;
}

.blog_area a.boxed-btn3,
.blog_area a.boxed-btn3:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    background-image: linear-gradient(0deg, #f14437 0%, #ed5b0d 99%);
}

.gk-communications-popup {
    width: min(90vw, 680px);
    margin: 40px auto;
    padding: 38px;
    border-radius: 8px;
    background: #fff;
}

.gk-communication + .gk-communication {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eae5cd;
}

.gk-communication h2 {
    color: #181c36;
}

.gk-communications-modal.mfp-wrap,
.gk-communications-modal.mfp-bg {
    cursor: pointer;
}

.gk-communication-btn {
    margin-top: 18px;
    padding: 12px 36px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(0deg, #f14437 0%, #ed5b0d 99%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.gk-communication-btn:hover {
    filter: brightness(1.08);
}

/* Prenotazioni: variante compatta dei bottoni del template. */
.boxed-btn3--compact {
    padding: 10px 26px;
    font-size: 15px;
    cursor: pointer;
}

.boxed-btn3--compact:hover {
    filter: brightness(1.08);
}

.boxed-btn3--compact:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: none;
}

.boxed-btn3--active {
    box-shadow: 0 0 0 3px rgba(241, 68, 55, 0.4);
}

#booking-service .boxed-btn3--compact {
    margin-right: 12px;
}

#booking-calendar-area {
    margin-top: 24px;
}

.gk-field {
    margin-bottom: 14px;
}

.gk-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #181c36;
}

.gk-field textarea,
.gk-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d8d2b8;
    border-radius: 6px;
    font-size: 15px;
    color: #181c36;
}

.gk-field textarea {
    min-height: 90px;
}

#booking-send {
    margin-top: 18px;
}

#booking-error {
    margin-top: 12px;
}

.gk-booking-popup {
    width: min(90vw, 520px);
    margin: 40px auto;
    padding: 38px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.gk-booking-popup h3 {
    color: #181c36;
}

.gk-booking-popup-summary {
    margin: 12px 0 22px;
    color: #181c36;
}

.gk-booking-modal.mfp-wrap,
.gk-booking-modal.mfp-bg {
    cursor: pointer;
}

.gk-pager {
    padding: 8px 18px;
    border: 1px solid #ed5b0d;
    border-radius: 30px;
    background: transparent;
    color: #ed5b0d;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.gk-pager:hover {
    background: linear-gradient(0deg, #f14437 0%, #ed5b0d 99%);
    border-color: transparent;
    color: #fff;
}

.gk-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.gk-day { padding: 12px 10px; border-radius: 8px; background: #eae5cd; color: #181c36; }
.gk-day--unavailable { opacity: 0.55; }
.gk-day--today { background: #ded5b6; box-shadow: inset 0 0 0 2px #ed5b0d; }
.gk-day strong { display: block; font-size: 14px; line-height: 1.3; }
.gk-day small { display: block; margin-top: 4px; font-size: 12px; opacity: 0.8; }
.gk-slot { display: block; width: 100%; margin-top: 6px; padding: 7px 4px; border: 0; border-radius: 20px; background: linear-gradient(0deg, #f14437 0%, #ed5b0d 99%); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.gk-slot:hover { filter: brightness(1.08); }
.gk-slot:disabled, .gk-slot--disabled { background: #d8d2b8; color: #8a8570; cursor: not-allowed; }
@media (max-width: 575px) { .gk-calendar { grid-template-columns: 1fr; } }
