.hero-image {
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1586&q=80'); */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('/img/user/main/cau_main_img.jpg');
    background-size: cover;
    background-position: center;
}

/* 회사 카드 스타일 */
.company-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 회사 헤더 (로고 + 정보) */
.company-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex: 1;
}

.company-logo {
    margin-right: 1rem;
    flex-shrink: 0;
}

.company-logo .image {
    border-radius: 8px;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-info {
    flex: 1;
    min-width: 0;
}

.company-industry {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 500;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #363636;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.company-details {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

/* 회사 푸터 (연락처 + 액션 버튼) */
.company-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.contact-info {
    flex: 1;
}

.contact-item {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 0.5rem;
    width: 12px;
    color: #999;
}

/* 액션 버튼 */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kakao-btn {
    background: #fee500;
    padding: 0;
}

.kakao-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* ========== 원우아이템 카드 스타일 (가로형 레이아웃) ========== */
.item-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    height: 180px;
    overflow: hidden;
    background: white;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 카드 바디 - 가로형 플렉스 레이아웃 */
.item-card-body {
    display: flex;
    height: 100%;
}

/* 좌측 이미지 영역 */
.item-image-section {
    width: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.item-image-section img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* 우측 정보 영역 */
.item-info-section {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative; /* 카카오톡 버튼 positioning을 위해 추가 */
}

.item-company {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    padding-right: 40px; /* 카카오톡 버튼 공간 확보 */
}

/* 카카오톡 버튼 스타일 - item.css와 동일 */
.kakao-talk-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    background-color: #FEE500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.kakao-talk-btn:hover {
    transform: scale(1.1);
}

.kakao-talk-btn img {
    width: 22px;
    height: 22px;
}

/* 아이템 멤버 한 줄 정보 */
.item-member-line {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.manager-info {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.manager-label {
    font-weight: 600;
    color: #444;
    font-size: 0.8rem;
}

.manager-name {
    font-weight: 500;
    color: #333;
}

.manager-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.1rem;
}

.manager-phone {
    color: #666;
    font-size: 0.8rem;
}

.manager-separator {
    color: #ccc;
    font-size: 0.7rem;
}

.manager-email {
    color: #666;
    font-size: 0.8rem;
    word-break: break-all;
}

/* 아이템 설명 */
.item-description {
    flex: 1;
}

.item-description p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 태블릿 반응형 디자인 */
@media (max-width: 1023px) and (min-width: 769px) {
    .company-card .card-content {
        padding: 1.25rem;
    }
    
    .company-logo .image {
        width: 56px !important;
        height: 56px !important;
    }
    
    .company-industry {
        font-size: 0.7rem;
    }
    
    .company-name {
        font-size: 1.15rem;
    }
    
    /* 아이템 카드 태블릿 스타일 */
    .item-card {
        height: 160px;
    }
    
    .item-image-section {
        width: 160px;
    }
    
    .item-info-section {
        padding: 0.875rem;
        position: relative; /* 카카오톡 버튼 positioning을 위해 추가 */
    }
    
    .item-company {
        font-size: 0.8rem;
    }
    
    .item-name {
        font-size: 1.15rem;
        padding-right: 36px; /* 카카오톡 버튼 공간 확보 */
    }
    
    /* 태블릿용 카카오톡 버튼 */
    .kakao-talk-btn {
        width: 32px;
        height: 32px;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .kakao-talk-btn img {
        width: 20px;
        height: 20px;
    }
    
    .item-member-line {
        font-size: 0.8rem;
    }
    
    .manager-label {
        font-size: 0.75rem;
    }
    
    .manager-phone, .manager-email {
        font-size: 0.75rem;
    }
    
    .item-description p {
        font-size: 0.85rem;
    }
}

/* 모바일 반응형 디자인 */
@media (max-width: 768px) {
    /* 컨테이너 여백 조정 */
    .companies-container, .items-container {
        margin: 0 -0.5rem;
    }
    
    /* 컬럼 여백 조정 */
    .companies-container .column, .items-container .column {
        padding: 0.5rem;
    }
    
    .company-card {
        border-radius: 8px;
        margin-bottom: 0;
    }
    
    .company-card .card-content {
        padding: 1rem;
    }
    
    .company-header {
        margin-bottom: 0.75rem;
    }
    
    .company-logo {
        margin-right: 0.75rem;
    }
    
    .company-logo .image {
        width: 48px !important;
        height: 48px !important;
    }
    
    .company-industry {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .company-name {
        font-size: 1.1rem;
        line-height: 1.25;
    }
    
    .company-details {
        font-size: 0.75rem;
    }
    
    .company-footer {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .contact-item {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    /* 액션 버튼 모바일 스타일 */
    .action-buttons {
        gap: 0.25rem;
        margin-left: 0.5rem;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
    }
    
    .kakao-btn img {
        width: 20px;
        height: 20px;
    }
    
    .company-card:hover {
        transform: none; /* 모바일에서는 호버 효과 제거 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* 아이템 카드 모바일 스타일 */
    .item-card {
        height: 140px;
    }
    
    .item-image-section {
        width: 120px;
    }
    
    .item-info-section {
        padding: 0.8rem;
        position: relative; /* 카카오톡 버튼 positioning을 위해 추가 */
    }
    
    .item-company {
        font-size: 0.8rem;
    }
    
    .item-name {
        font-size: 1.1rem;
        padding-right: 35px; /* 카카오톡 버튼 공간 확보 */
    }
    
    /* 모바일용 카카오톡 버튼 */
    .kakao-talk-btn {
        width: 30px;
        height: 30px;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .kakao-talk-btn img {
        width: 18px;
        height: 18px;
    }
    
    .item-member-line {
        font-size: 0.75rem;
        gap: 0.1rem;
    }
    
    .manager-label {
        font-size: 0.7rem;
    }
    
    .manager-phone, .manager-email {
        font-size: 0.7rem;
    }
    
    .manager-contact {
        gap: 0.3rem;
    }
    
    .item-description p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .item-card:hover {
        transform: none; /* 모바일에서는 호버 효과 제거 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* 작은 모바일 디바이스 */
@media (max-width: 480px) {
    .companies-container .column, .items-container .column {
        padding: 0.25rem;
    }
    
    .company-card .card-content {
        padding: 0.75rem;
    }
    
    .company-logo .image {
        width: 40px !important;
        height: 40px !important;
    }
    
    .company-industry {
        font-size: 0.6rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .company-details {
        font-size: 0.7rem;
    }
    
    .contact-item {
        font-size: 0.7rem;
    }
    
    /* 아이템 카드 작은 모바일 스타일 */
    .item-card {
        height: 120px;
    }
    
    .item-image-section {
        width: 100px;
    }
    
    .item-info-section {
        padding: 0.7rem;
        position: relative; /* 카카오톡 버튼 positioning을 위해 추가 */
    }
    
    .item-company {
        font-size: 0.75rem;
    }
    
    .item-name {
        font-size: 1rem;
        padding-right: 32px; /* 카카오톡 버튼 공간 확보 */
    }
    
    /* 작은 모바일용 카카오톡 버튼 */
    .kakao-talk-btn {
        width: 26px;
        height: 26px;
        top: 0.4rem;
        right: 0.4rem;
    }
    
    .kakao-talk-btn img {
        width: 16px;
        height: 16px;
    }
    
    .item-member-line {
        font-size: 0.7rem;
    }
    
    .manager-label {
        font-size: 0.65rem;
    }
    
    .manager-phone, .manager-email {
        font-size: 0.65rem;
    }
    
    .item-description p {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
}

.search-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.search-filter-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.filter-options .select {
    width: 100%;
}

.filter-options .select select {
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    /* padding: 0.75rem; */
    background-color: white;
    width: 100%;
}

.filter-options .select select:focus {
    border-color: #0070c0;
    box-shadow: 0 0 0 0.125em rgba(0, 112, 192, 0.25);
}

.filter-options .input {
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    padding: 0.75rem;
    background-color: white;
}

.filter-options .input:focus {
    border-color: #0070c0;
    box-shadow: 0 0 0 0.125em rgba(0, 112, 192, 0.25);
}

.filter-options .button {
    border-radius: 6px;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.filter-options .button:hover {
    background-color: #005a9a;
}

@media (max-width: 768px) {
    .search-filter-section {
        padding: 1rem;
    }
    
    .filter-options .field.is-grouped.is-grouped-multiline {
        gap: 0.5rem;
    }
    
    .filter-options .control {
        margin-bottom: 0.5rem;
    }
    
    .filter-options .select {
        font-size: 0.9rem;
    }
    
    .filter-options .input {
        font-size: 0.9rem;
    }
    
    .filter-options .button {
        font-size: 0.9rem;
    }
}

.cau-blue {
    background-color: #0070c0;
}

.notice-item {
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.title-with-count {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-with-count .title {
    margin-bottom: 0;
}

.total-count-container {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    background: linear-gradient(135deg, #0070c0 0%, #005a9a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 112, 192, 0.3);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.total-count-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.total-count-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.total-count-unit {
    font-size: 0.9rem;
    opacity: 0.9;
}

.total-count-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 112, 192, 0.4);
    background: linear-gradient(135deg, #005a9a 0%, #004080 100%);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 태블릿에서 카운터 스타일 조정 */
@media (max-width: 1023px) and (min-width: 769px) {
    .title-with-count {
        gap: 0.75rem;
    }
    
    .total-count-container {
        padding: 0.4rem 0.8rem;
    }
    
    .total-count-number {
        font-size: 1.1rem;
    }
    
    .total-count-label,
    .total-count-unit {
        font-size: 0.85rem;
    }
}

/* 모바일에서 카운터 스타일 조정 */
@media (max-width: 768px) {
    .title-with-count {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .total-count-container {
        padding: 0.4rem 0.8rem;
        border-radius: 16px;
    }
    
    .total-count-number {
        font-size: 1rem;
    }
    
    .total-count-label,
    .total-count-unit {
        font-size: 0.8rem;
    }
}

/* 작은 모바일에서 카운터 스타일 조정 */
@media (max-width: 480px) {
    .title-with-count {
        gap: 0.5rem;
    }
    
    .total-count-container {
        padding: 0.35rem 0.7rem;
        border-radius: 14px;
    }
    
    .total-count-number {
        font-size: 0.95rem;
    }
    
    .total-count-label,
    .total-count-unit {
        font-size: 0.75rem;
    }
}

@media screen and (min-width: 1024px) {
    .section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }
}

.popup-container{
    padding: 5px 0px 5px 0px;
}

.popup-content{
    padding: 3px 0px 10px 0px;
}