@media (max-width: 768px) {

    .list-main {
        grid-area: main;
        background-color: #fff;
        margin-bottom: 50px;
    }

    .property-list {
        width: 96%;
        margin: 0 auto;
    }

    .property-card {
        position: relative;
        margin: 0 0 30px 0;
        border: 2px solid #dddddd;
        background: #fff;
        overflow: visible;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    .property-badge {
        position: absolute;
        top: -10px;
        left: -10px;
        z-index: 3;
        transform: rotate(-3deg);
    }

    .property-badge img {
        display: block;
        width: 90px;
        height: auto;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    }

    .property-card-image {
        text-align: center;
        padding: 20px 10px 10px;
    }

    .property-card-image img {
        width: 90%;
        max-width: 420px;
        max-height: 350px;
        object-fit: contain;
    }

    .property-card-detail {
        padding: 7px;
    }

    .property-card-table {
        width: 100%;
        border-collapse: collapse;
    }

    .property-card-table th,
    .property-card-table td {
        padding: 10px;
        vertical-align: top;
        text-align: left;
        font-size: 0.95rem;
        background: #fff;
    }

    .property-card-table th {
        width: 95px;
        font-weight: bold;
        border-bottom: 1px solid rgb(128, 128, 255);
    }

    .property-card-table td {
        border-bottom: 1px solid #ccc;
    }

    .property-card-link {
        margin: 10px 0;
        text-align: center;
    }

    .property-card-link a {
        display: inline-block;
        width: 170px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        background: #f5f5f5;
        font-weight: bold;
        color: #000;
        text-decoration: none;
        border-radius: 3px;
        transition: background-color 0.2s ease, opacity 0.2s ease;
    }

    .property-card-link a:hover {
        background: #eaeaea;
    }
}

@media (min-width: 769px) {

    .list-main {
        grid-area: main;
        background-color: #fff;
        margin-bottom: 50px;
    }

    .property-list {
        width: 100%;
        margin: 0;
    }

    .property-card {
        position: relative;
        display: flex;
        align-items: stretch;
        width: 996px;
        margin: 50px auto;
        border: 2px solid #dddddd;
        background: #fff;
        overflow: visible;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .property-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .property-badge {
        position: absolute;
        top: -12px;
        left: -12px;
        z-index: 3;
        transform: rotate(-3deg);
        pointer-events: none;
    }

    .property-badge img {
        display: block;
        width: 100px;
        height: auto;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
    }

    .property-card-image {
        width: 498px;
        min-height: 390px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 20px 20px;
    }

    .property-card-image img {
        max-width: 398px;
        max-height: 350px;
        object-fit: contain;
    }

    .property-card-detail {
        width: 498px;
        padding: 30px 20px 20px;
    }

    .property-card-table {
        width: 100%;
        border-collapse: collapse;
    }

    .property-card-table th,
    .property-card-table td {
        padding: 10px;
        vertical-align: top;
        text-align: left;
        background: #fff;
    }

    .property-card-table th {
        width: 120px;
        font-weight: bold;
        border-bottom: 1px solid rgb(128, 128, 255);
    }

    .property-card-table td {
        border-bottom: 1px solid #ccc;
    }

    .property-card-link {
        margin: 30px 0 0;
        text-align: center;
    }

    .property-card-link a {
        display: inline-block;
        width: 398px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        background: #f5f5f5;
        font-weight: bold;
        color: #000;
        text-decoration: none;
        border-radius: 3px;
        transition: background-color 0.2s ease, opacity 0.2s ease;
    }

    .property-card-link a:hover {
        background: #eaeaea;
    }
}