/* Amihan Core block styles. Uses theme presets when present, sensible fallbacks otherwise. */
.am-room-grid{display:grid;gap:var(--wp--preset--spacing--50,2rem);grid-template-columns:1fr;margin:0;padding:0;list-style:none}
@media (min-width:700px){.am-room-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.am-room-grid{grid-template-columns:repeat(3,1fr)}}
.am-room-card{position:relative;display:flex;flex-direction:column;background:transparent}
.am-room-card:focus-within{outline:3px solid var(--wp--preset--color--accent,#0e6e73);outline-offset:4px;border-radius:18px}
.am-room-card__media{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:var(--wp--preset--color--surface,#f3eee4)}
.am-room-card .am-room-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.am-room-card__body{padding:1rem .25rem 0}
.am-room-card__price{margin:0;font-size:.9375rem;font-weight:700;color:var(--wp--preset--color--accent,#0e6e73)}
.am-room-card__price span{font-weight:500;color:var(--wp--preset--color--muted,#5b6b66)}
.am-room-card__title{margin:.4rem 0 .5rem;font-family:var(--wp--preset--font-family--display,serif);font-size:1.6rem;font-weight:400;line-height:1.15}
.am-room-card__title a{color:inherit;text-decoration:none}
.am-room-card__title a::after{content:"";position:absolute;inset:0}
.am-room-card__title a:focus-visible{outline:none}
.am-room-card__excerpt{margin:0;color:var(--wp--preset--color--muted,#5b6b66);font-size:.9375rem}
.am-room-card__facts{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0 0;padding:0;list-style:none}
.am-room-card__facts li{font-size:.8125rem;padding:.3em .8em;border-radius:999px;background:var(--wp--preset--color--surface,#f3eee4)}

.am-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin:0;background:var(--wp--preset--color--line,#e6dccb);border:1px solid var(--wp--preset--color--line,#e6dccb);border-radius:20px;overflow:hidden}
.am-facts__item{padding:1rem 1.25rem;background:var(--wp--preset--color--base,#fff)}
.am-facts dt{font-size:.875rem;color:var(--wp--preset--color--muted,#556b6d)}
.am-facts dd{margin:.2rem 0 0;font-size:1.125rem;font-weight:700}

.am-amenities{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.6rem 1.5rem;margin:0;padding:0;list-style:none}
.am-amenities li{display:flex;gap:.6rem;align-items:baseline}
.am-amenities li::before{content:"";flex-shrink:0;width:.55rem;height:.55rem;border-radius:50%;background:var(--wp--preset--color--accent,#2e8c8c);transform:translateY(-.1em)}

.am-gallery{display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr);margin:0;padding:0;list-style:none}
@media (min-width:782px){.am-gallery{grid-template-columns:2fr 1fr}.am-gallery li:first-child{grid-row:span 3}.am-gallery li:first-child img{aspect-ratio:auto}}
.am-gallery a{display:block;height:100%;overflow:hidden;border-radius:18px}
.am-gallery img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .5s ease}
.am-gallery a:hover img{transform:scale(1.04)}

.am-form__grid{display:grid;gap:1.25rem}
@media (min-width:600px){.am-form__grid{grid-template-columns:1fr 1fr}.am-form__field--wide,.am-form__actions{grid-column:1/-1}}
.am-form__field{display:flex;flex-direction:column;gap:.4rem;margin:0;min-width:0}
.am-form__field label{font-size:.875rem;font-weight:700}
.am-form__req{color:var(--wp--preset--color--accent,#0e6e73)}
.am-form input,.am-form select,.am-form textarea{box-sizing:border-box;font:inherit;width:100%;padding:.85rem 1rem;border:1px solid var(--wp--preset--color--line,#e6dccb);border-radius:14px;background:var(--wp--preset--color--base,#fff);color:inherit}
.am-form input:focus-visible,.am-form select:focus-visible,.am-form textarea:focus-visible{outline:3px solid var(--wp--preset--color--accent,#0e6e73);outline-offset:1px;border-color:var(--wp--preset--color--accent,#1f6e6e)}
.am-form__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:0}
.am-form__submit{cursor:pointer;border:0}
.am-form__hint{font-size:.8125rem;color:var(--wp--preset--color--muted,#5b6b66)}
.am-form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.am-form__notice{padding:1rem 1.25rem;border-radius:14px;margin:0 0 1.5rem;background:var(--wp--preset--color--surface,#f3eee4)}
.am-form__notice--error{background:#f9e1dc}
.am-editor-empty{padding:1rem;border:1px dashed currentColor;opacity:.7}
/* Two-column widths: a lone last card spans the row, photo lined up with the column above, text beside it. */
@media (min-width:700px) and (max-width:1099px){.am-room-grid>li:last-child:nth-child(odd){grid-column:1/-1;flex-direction:row;align-items:center;gap:var(--wp--preset--spacing--50,2rem)}.am-room-grid>li:last-child:nth-child(odd) .am-room-card__media{flex:0 0 calc((100% - var(--wp--preset--spacing--50,2rem))/2)}.am-room-grid>li:last-child:nth-child(odd) .am-room-card__body{flex:1;padding-top:0}}
