/*
Theme Name: Hosterooo Theme
Theme URI: https://hosterooo.com
Author: Hosterooo
Description: Custom property theme for Guesty-powered short-stay listings.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: hosterooo-theme
*/

:root {
    --host-bg: #f6f0e4;
    --host-surface: #fffaf2;
    --host-surface-strong: #ffffff;
    --host-ink: #1f1b16;
    --host-muted: #6c655c;
    --host-border: #ddd1be;
    --host-accent: #7c6a2f;
    --host-accent-strong: #655622;
    --host-accent-soft: #efe4bf;
    --host-dark: #252422;
    --host-shadow: 0 20px 50px rgba(55, 43, 18, 0.10);
    --host-radius-xl: 28px;
    --host-radius-lg: 22px;
    --host-radius-md: 16px;
    --host-radius-sm: 999px;
    --host-width: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--host-ink);
    background:
        radial-gradient(circle at top right, rgba(124, 106, 47, 0.10), transparent 24%),
        linear-gradient(180deg, #fbf6ec 0%, var(--host-bg) 100%);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.host-shell {
    width: min(calc(100% - 32px), var(--host-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(251, 246, 236, 0.86);
    border-bottom: 1px solid rgba(124, 106, 47, 0.10);
}

.site-header__inner,
.site-footer__inner {
    width: min(calc(100% - 32px), var(--host-width));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-brand__name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-brand__tag {
    color: var(--host-muted);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--host-muted);
    font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--host-accent);
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button-primary {
    color: #fff;
    background: var(--host-accent);
    border: 1px solid var(--host-accent);
}

.button-primary:hover,
.button-primary:focus {
    background: var(--host-accent-strong);
    border-color: var(--host-accent-strong);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--host-accent);
    background: transparent;
    border: 1px solid rgba(124, 106, 47, 0.24);
}

.button-secondary:hover,
.button-secondary:focus {
    background: #fff;
    transform: translateY(-1px);
}

.site-main {
    padding: 36px 0 72px;
}

.hero-strip {
    margin-bottom: 28px;
    padding: 26px 28px;
    border: 1px solid rgba(124, 106, 47, 0.12);
    border-radius: var(--host-radius-xl);
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(247, 237, 214, 0.9));
    box-shadow: var(--host-shadow);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--host-accent);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-strip h1,
.hero-strip h2,
.section-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-strip h1 {
    font-size: clamp(2.5rem, 4vw, 4.7rem);
    max-width: 12ch;
}

.hero-strip p {
    max-width: 62ch;
    color: var(--host-muted);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.property-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(124, 106, 47, 0.12);
    border-radius: var(--host-radius-lg);
    background: rgba(255, 250, 242, 0.95);
    box-shadow: var(--host-shadow);
}

.property-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eadfc8;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-card__media img,
.property-card:focus-within .property-card__media img {
    transform: scale(1.04);
}

.property-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.property-card__area {
    margin: 0;
    color: var(--host-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.property-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.property-card__excerpt {
    margin: 0;
    color: var(--host-muted);
}

.property-card__meta,
.property-summary__meta,
.property-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(124, 106, 47, 0.14);
    border-radius: var(--host-radius-sm);
    background: rgba(255, 255, 255, 0.84);
    color: #50473d;
    font-size: 0.93rem;
    font-weight: 700;
}

.property-card__actions {
    margin-top: auto;
}

.single-property {
    display: grid;
    gap: 28px;
}

.property-hero__copy,
.property-booking,
.property-section,
.site-footer {
    border: 1px solid rgba(124, 106, 47, 0.12);
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--host-shadow);
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: stretch;
}

.property-hero__copy {
    padding: 34px;
    border-radius: var(--host-radius-xl);
    background:
        radial-gradient(circle at top right, rgba(124, 106, 47, 0.14), transparent 28%),
        linear-gradient(145deg, rgba(255, 250, 242, 0.98), rgba(248, 239, 221, 0.95));
}

.property-hero__copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    max-width: 12ch;
}

.property-summary__location {
    margin: 12px 0 0;
    color: var(--host-muted);
    font-size: 1rem;
}

.property-hero__intro {
    margin: 18px 0 0;
    color: var(--host-muted);
    max-width: 58ch;
    font-size: 1.08rem;
}

.property-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.property-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.property-gallery__main,
.property-gallery__stack-item {
    overflow: hidden;
    border-radius: var(--host-radius-lg);
    background: #dfd3bc;
}

.property-gallery__panel {
    position: relative;
    box-shadow: var(--host-shadow);
}

.property-gallery__main {
    min-height: 560px;
}

.property-gallery__main img,
.property-gallery__stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery__stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.property-gallery__stack-item {
    min-height: 270px;
    position: relative;
}

.property-gallery__cta {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    background: rgba(31, 27, 22, 0.74);
    font-weight: 700;
}

.property-gallery__caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(31, 27, 22, 0.55);
    backdrop-filter: blur(10px);
    font-size: 0.92rem;
    max-width: calc(100% - 28px);
}

.property-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.property-highlight-card {
    padding: 22px;
    border: 1px solid rgba(124, 106, 47, 0.12);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.92);
    box-shadow: var(--host-shadow);
}

.property-highlight-card__title {
    margin: 0 0 8px;
    color: var(--host-accent);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-highlight-card p:last-child {
    margin-bottom: 0;
    color: var(--host-muted);
}

.property-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.48fr);
    gap: 24px;
    align-items: start;
}

.property-content__main {
    display: grid;
    gap: 24px;
}

.property-sidebar-stack {
    display: grid;
    gap: 24px;
    align-self: start;
}

.property-section {
    padding: 28px;
    border-radius: var(--host-radius-xl);
}

.property-section--intro {
    background:
        radial-gradient(circle at top left, rgba(124, 106, 47, 0.08), transparent 25%),
        rgba(255, 250, 242, 0.96);
}

.property-section--compact {
    padding: 22px;
}

.property-section__heading {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.property-section__heading .eyebrow {
    margin-bottom: 0;
}

.property-section h2 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.property-section p,
.property-section li {
    color: #4f473e;
}

.property-booking {
    position: sticky;
    top: 108px;
    padding: 24px;
    border-radius: var(--host-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(243, 232, 206, 0.95));
}

.property-booking__price {
    margin: 0 0 18px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
}

.property-booking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.property-booking__notes {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.property-booking__notes div {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(124, 106, 47, 0.10);
}

.property-booking__notes span {
    color: var(--host-muted);
    font-size: 0.92rem;
}

.booking-field {
    padding: 14px;
    border: 1px solid var(--host-border);
    border-radius: 16px;
    background: #fff;
}

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

.booking-field span {
    display: block;
    color: var(--host-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.booking-field strong {
    display: block;
    margin-top: 4px;
}

.amenities-list,
.facts-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.amenities-list li,
.facts-list li {
    padding: 14px 16px;
    border: 1px solid rgba(124, 106, 47, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.amenities-list--designed li,
.facts-list--designed li {
    display: grid;
    gap: 6px;
}

.amenities-list--designed li::before {
    content: "Included";
    color: var(--host-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.facts-list--designed li strong {
    font-size: 0.82rem;
    color: var(--host-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facts-list--designed li span {
    font-size: 1rem;
    color: var(--host-ink);
    font-weight: 600;
}

.house-rules-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.house-rules-list li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border: 1px solid rgba(124, 106, 47, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.house-rules-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 19px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--host-accent);
    box-shadow: 0 0 0 5px rgba(124, 106, 47, 0.12);
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.photo-strip__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #e2d5bd;
}

.photo-strip img {
    height: 220px;
    border-radius: 18px;
    object-fit: cover;
}

.photo-strip__item:nth-child(3n+1) img {
    height: 290px;
}

.photo-strip__item figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(31, 27, 22, 0.55);
    color: #fff;
    font-size: 0.86rem;
    backdrop-filter: blur(8px);
}

.map-panel {
    min-height: 320px;
    border-radius: var(--host-radius-xl);
    background:
        radial-gradient(circle at 50% 50%, rgba(124, 106, 47, 0.18), transparent 16%),
        linear-gradient(135deg, #ece2cb 0%, #f8f1e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--host-accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.map-panel--designed {
    justify-content: flex-start;
    padding: 28px;
}

.map-panel__inner {
    display: grid;
    gap: 8px;
    max-width: 420px;
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.85);
    border: 1px solid rgba(124, 106, 47, 0.14);
    box-shadow: var(--host-shadow);
}

.map-panel__label {
    color: var(--host-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-richtext > *:first-child {
    margin-top: 0;
}

.property-richtext > *:last-child {
    margin-bottom: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.site-footer {
    margin: 0 0 32px;
    border-radius: var(--host-radius-xl);
    overflow: hidden;
}

.site-footer__inner {
    padding: 28px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 0.8fr;
    gap: 24px;
}

.site-footer__title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--host-accent);
}

.site-footer__copy,
.site-footer__note {
    color: var(--host-muted);
}

.site-footer__links {
    display: grid;
    gap: 8px;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(124, 106, 47, 0.12);
    color: var(--host-muted);
    font-size: 0.92rem;
}

.archive-empty {
    padding: 28px;
    border-radius: var(--host-radius-xl);
    background: rgba(255, 250, 242, 0.96);
    border: 1px solid rgba(124, 106, 47, 0.12);
    box-shadow: var(--host-shadow);
}

.page-content {
    margin-top: 20px;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .property-hero,
    .property-highlights,
    .property-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-content,
    .property-gallery,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .property-booking {
        position: static;
    }

    .property-sidebar-stack {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .site-header__inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-strip,
    .property-hero__copy,
    .property-booking,
    .property-section,
    .site-footer__inner {
        padding: 22px;
    }

    .property-grid,
    .related-grid,
    .photo-strip,
    .property-highlights,
    .property-sidebar-stack,
    .amenities-list,
    .facts-list,
    .property-booking__grid,
    .property-gallery__stack {
        grid-template-columns: 1fr;
    }

    .property-gallery__main,
    .property-gallery__stack-item {
        min-height: 260px;
    }

    .property-hero__copy h1 {
        max-width: none;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}
