/* Corporations Listing Page Styles */

/* Push content below fixed header */
.realestate-content-container .realestate-archive-container.pt-30 {
    padding-top: 120px !important;
}

.realestate-breadcrumb {
    margin-bottom: 20px;
}

.realestate-breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.realestate-breadcrumb ul li {
    font-size: 14px;
    color: #73777D;
}

.realestate-breadcrumb ul li a {
    color: #73777D;
    transition: 300ms;
}

.realestate-breadcrumb ul li a:hover {
    color: var(--primary-color, #BC7635);
}

.realestate-breadcrumb ul li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #73777D;
}

.realestate-breadcrumb ul li span {
    color: var(--primary-font-color, #070026);
    font-weight: 500;
}

/* Grid Title */
.realestate-grid-btns-section h2 {
    font-weight: 600;
    font-size: 24px;
    color: var(--primary-font-color, #070026);
}

/* Corporation Card Styles */
.realestate-item.corporation-style1 {
    border: 1px solid #DFDFDF;
    padding: 20px;
    transition: 300ms;
    border-radius: 12px;
    position: relative;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.realestate-item.corporation-style1:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Corporation Card Top Section */
.realestate-item-corporation-top {
    flex-grow: 1;
}

.realestate-item.corporation-style1 .corporation-grid-thumb {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.realestate-item.corporation-style1 .corporation-grid-thumb-image {
    width: 80px;
    height: 60px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realestate-item.corporation-style1 .corporation-grid-thumb-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: none;
    border-radius: 0;
    background: transparent;
}

.realestate-item.corporation-style1 .corporation-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #bbb;
}

.realestate-item.corporation-style1 .corporation-grid-thumb-image .badge {
    width: 28px;
    height: 28px;
    background: #FFD566;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.realestate-item.corporation-style1 .corporation-grid-thumb-title {
    flex: 1;
    min-width: 0;
}

.realestate-item.corporation-style1 .corporation-grid-thumb-title a {
    display: block;
}

.realestate-item.corporation-style1 .corporation-grid-thumb-title h2 {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 300ms;
    margin-bottom: 8px;
    color: var(--primary-font-color, #070026);
}

.realestate-item.corporation-style1 .corporation-grid-thumb-title h2:hover {
    color: var(--primary-color, #BC7635);
}

.realestate-item.corporation-style1 .corporation-address {
    font-size: 13px;
    color: #73777D;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.realestate-item.corporation-style1 .corporation-address i {
    color: var(--primary-color, #BC7635);
    font-size: 12px;
}

/* Corporation Features/Stats */
.corporation-content-detail-features-main {
    margin-bottom: 20px;
}

.corporation-content-detail-features ul {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.corporation-content-detail-features ul li {
    padding: 12px 16px;
    border-radius: 8px;
    background: #F9F9F9;
    flex: 1;
    text-align: center;
}

.corporation-content-detail-features ul li h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-font-color, #070026);
}

.corporation-content-detail-features ul li p {
    font-size: 12px;
    color: #73777D;
    margin: 0;
}

/* Quick Actions - Premium UI Kit */
.realestate-post-quick-actions-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.realestate-post-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.realestate-post-quick-actions a {
    flex: 1;
    border: 1px solid #0c3d34;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #0c3d34;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 12px;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
}

.realestate-post-quick-actions a:hover {
    background: #0c3d34;
    color: #fff;
    border-color: #0c3d34;
    box-shadow: 0 4px 12px rgba(12, 61, 52, 0.25);
    transform: translateY(-2px);
}

.realestate-post-quick-actions a:hover svg path {
    stroke: #fff;
}

.realestate-post-quick-actions .realestate-mail {
    border-color: #0c3d34;
    color: #0c3d34;
}

/* Primary Action Button - Premium Filled Style */
.realestate-post-quick-actions-tour a {
    width: 100%;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #0c3d34;
    color: #fff;
    text-decoration: none;
    display: block;
    box-shadow: 0 8px 20px rgba(12, 61, 52, 0.25);
    position: relative;
    overflow: hidden;
}

.realestate-post-quick-actions-tour a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.realestate-post-quick-actions-tour a:hover {
    background: #0a312a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 61, 52, 0.35);
}

.realestate-post-quick-actions-tour a:hover::before {
    left: 100%;
}

.realestate-post-quick-actions-tour a:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(12, 61, 52, 0.3);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .realestate-item.corporation-style1 .corporation-grid-thumb {
        flex-direction: column;
        text-align: center;
    }
    
    .realestate-item.corporation-style1 .corporation-grid-thumb-title {
        width: 100%;
    }
    
    .realestate-item.corporation-style1 .corporation-address {
        justify-content: center;
    }
    
    .corporation-content-detail-features ul {
        flex-direction: column;
    }
    
    .corporation-content-detail-features ul li {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .realestate-grid-btns-section h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .realestate-item.corporation-style1 {
        padding: 16px;
    }
    
    .realestate-item.corporation-style1 .corporation-grid-thumb-image {
        width: 80px;
        height: 80px;
    }
    
    .realestate-item.corporation-style1 .corporation-grid-thumb-title h2 {
        font-size: 16px;
    }
}
