.airepm-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto 32px;
    padding: 22px;
    border: 1px solid #dde7e1;
    border-radius: 14px;
    background: #f7fbf8;
}

.airepm-search label {
    display: block;
    margin-bottom: 6px;
    color: #24362d;
    font-size: 13px;
    font-weight: 700;
}

.airepm-search input,
.airepm-search select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd8d0;
    border-radius: 9px;
    background: #fff;
    color: #1d2d25;
    font-size: 15px;
    padding: 9px 11px;
}

.airepm-search-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.airepm-search button,
.airepm-detail-button,
.airepm-single-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: #1f7a4d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    padding: 10px 16px;
    cursor: pointer;
}

.airepm-detail-button {
    margin-top: auto;
}

.airepm-search-actions a {
    color: #50635a;
    font-size: 14px;
    text-decoration: none;
}

.airepm-property-list {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto 32px;
}

.airepm-property-list .airepm-property-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.airepm-property-card {
    display: flex;
    min-width: 0;
    height: 100%;
    min-height: 470px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 45, 34, 0.08);
}

.airepm-card-media {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 220px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8f0eb;
}

.airepm-card-media img,
.airepm-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.airepm-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0eb, #f7fbf8);
    color: #718178;
    font-weight: 800;
}

.airepm-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.airepm-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.airepm-card-meta span {
    border-radius: 999px;
    background: #eaf5ee;
    color: #1f6f47;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
}

.airepm-card-body h3 {
    margin: 0 0 12px;
    color: #14241c;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.airepm-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.airepm-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: baseline;
    margin-bottom: 18px;
    color: #4f6258;
}

.airepm-card-facts strong {
    color: #12281b;
    font-size: 18px;
}

.airepm-empty {
    padding: 28px;
    border: 1px dashed #cbd8d0;
    border-radius: 14px;
    background: #fafcfb;
    color: #50635a;
    text-align: center;
}

.airepm-site-section {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 56px 20px;
    color: #1d2d25;
}

.airepm-site-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 32px;
    align-items: center;
}

.airepm-site-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #eef7f2;
    color: var(--airepm-main-color, #1f7a4d);
    font-weight: 800;
    padding: 7px 12px;
}

.airepm-site-section h1,
.airepm-site-section h2 {
    margin: 0 0 16px;
    color: #14241c;
    font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: none;
    text-transform: none;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.airepm-site-section h1 {
    font-size: 56px;
}

.airepm-site-section h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.airepm-site-section p {
    max-width: 680px;
    color: #52645b;
    font-size: 17px;
    line-height: 1.7;
}

.airepm-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 10px;
    border-radius: 10px;
    background: var(--airepm-main-color, #1f7a4d);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    padding: 12px 18px;
}

.airepm-site-panel {
    padding: 24px;
    border: 1px solid #dfe9e3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(25, 45, 34, 0.08);
}

.airepm-site-panel > strong {
    display: block;
    margin-bottom: 8px;
    color: #14241c;
    font-size: 20px;
}

.airepm-site-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: start;
}

.airepm-site-cta {
    margin-bottom: 50px;
    border-radius: 20px;
    background: #f2faf5;
    text-align: center;
}

.airepm-site-cta p {
    margin-right: auto;
    margin-left: auto;
}

.airepm-single {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 18px 60px;
    color: #1d2d25;
}

.airepm-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 30px;
    align-items: start;
    margin-bottom: 34px;
}

.airepm-single-image {
    overflow: hidden;
    border-radius: 18px;
    background: #e8f0eb;
}

.airepm-single-image img {
    display: block;
    width: 100%;
    height: auto;
}

.airepm-single-summary {
    padding: 26px;
    border: 1px solid #e2e8e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 45, 34, 0.09);
}

.airepm-single-summary h1 {
    margin: 0 0 12px;
    color: #14241c;
    font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: none;
    text-transform: none;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.airepm-single-address {
    margin: 0 0 18px;
    color: #5d6e65;
}

.airepm-single-price {
    margin: 0 0 20px;
    color: #1f7a4d;
    font-size: 28px;
    font-weight: 900;
}

.airepm-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.airepm-single-meta span {
    border-radius: 999px;
    background: #eef7f2;
    color: #1f6f47;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 11px;
}

.airepm-single-section {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid #e2e8e4;
    border-radius: 18px;
    background: #fff;
}

.airepm-single-section h2 {
    margin: 0 0 18px;
    color: #14241c;
    font-size: 24px;
}

.airepm-single-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.airepm-single-fact {
    padding: 16px;
    border-radius: 12px;
    background: #f5faf7;
}

.airepm-single-fact span {
    display: block;
    margin-bottom: 5px;
    color: #617269;
    font-size: 13px;
    font-weight: 700;
}

.airepm-single-fact strong {
    color: #14241c;
    font-size: 16px;
}

.airepm-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.airepm-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
}

.airepm-map-box {
    padding: 20px;
    border-radius: 14px;
    background: #eef7f2;
    color: #1d2d25;
}

.airepm-map {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 32px auto 0;
    overflow: hidden;
    border: 1px solid #e2e8e4;
    border-radius: 18px;
    background: #fff;
}

.airepm-map-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8e4;
}

.airepm-map-header span {
    color: #617269;
    font-size: 13px;
}

.airepm-map-placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #eef7f2, #f8faf9);
    color: #50635a;
    text-align: center;
}

.airepm-map-placeholder p {
    margin: 0 0 8px;
    color: #1d2d25;
    font-weight: 800;
}

.airepm-map-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 16px 20px 20px;
    list-style: none;
}

.airepm-map-list li {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 12px;
    background: #f7fbf8;
}

.airepm-map-list span,
.airepm-map-list small {
    color: #617269;
}

@media (max-width: 980px) {
    .airepm-search,
    .airepm-single-hero,
    .airepm-single-facts {
        grid-template-columns: 1fr 1fr;
    }

    .airepm-property-list .airepm-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .airepm-site-hero,
    .airepm-site-columns {
        grid-template-columns: 1fr;
    }

    .airepm-site-section h1,
    .airepm-single-summary h1 {
        font-size: 42px;
    }
}

@media (max-width: 680px) {
    .airepm-search,
    .airepm-single-hero,
    .airepm-single-facts,
    .airepm-gallery {
        grid-template-columns: 1fr;
    }

    .airepm-property-list .airepm-property-grid {
        grid-template-columns: 1fr;
    }

    .airepm-property-card {
        min-height: 0;
    }

    .airepm-card-media {
        height: 210px;
    }

    .airepm-site-section {
        padding: 40px 16px;
    }

    .airepm-site-section h1,
    .airepm-single-summary h1 {
        font-size: 32px;
    }

    .airepm-single-summary,
    .airepm-single-section {
        padding: 20px;
    }
}
