@charset "UTF-8";

body {
    margin: 0;
    background-color: #ffffff;
    color: #222222;
    font-family: Arial, "Noto Sans KR", sans-serif;
}

.info-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.info-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 34px;
    align-items: start;
}

.community-sidebar {
    width: 100%;
}

.community-box {
    height: 150px;
    padding: 26px 24px;
    border: 8px solid #eef1f4;
    background-color: #ffffff;
    box-sizing: border-box;
    position: relative;
}

.community-box::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 18px;
    width: 42px;
    height: 42px;
    border-top: 1px solid #d9dee5;
    border-right: 1px solid #d9dee5;
    transform: skew(-5deg);
}

.community-box p {
    margin: 24px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
}

.community-box h2 {
    margin: 0;
    font-size: 33px;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    letter-spacing: -2px;
}

.community-menu {
    margin-top: 24px;
    border-top: 1px solid #d9dee5;
}

.community-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    border-bottom: 1px solid #d9dee5;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.15s ease;
}

.community-menu a strong {
    color: #159ed7;
    font-size: 22px;
}

.community-menu a:hover, .community-menu a.active {
    color: #159ed7;
    padding-left: 8px;
}

.info-content {
    min-width: 0;
}

.info-hero h1 {
    margin: 0;
    font-size: 46px;
    font-weight: 300;
    color: #333333;
    letter-spacing: -2px;
}

.info-hero p {
    margin: 8px 0 0;
    font-size: 15px;
    color: #555555;
    font-weight: 600;
}

.info-pet-banner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-pet-banner span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #f2eee7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.info-pet-banner span:nth-child(2) {
    width: 76px;
    height: 76px;
    background-color: #fff3dc;
    font-size: 44px;
}

.info-card-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 18px;
}

.info-image-link {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
    text-decoration: none;
}

.info-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.18s ease;
}

.info-card:hover .info-image-link img {
    transform: scale(1.04);
}

.no-info-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
}

.info-card-body {
    padding: 16px 14px 18px;
}

.info-card-body h2 {
    margin: 0;
    min-height: 48px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 900;
    color: #111827;
}

.info-card-body h2 a {
    color: #111827;
    text-decoration: none;
}

.info-card-body h2 a:hover {
    color: #4f6fc8;
    text-decoration: underline;
}

.info-card-body p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.empty-info {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    color: #64748b;
    font-weight: 800;
}

.info-bottom {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
}

.write-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    background-color: #111827;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.write-button:hover {
    background-color: #374151;
}

@media (max-width: 1024px) {
    .info-layout {
        grid-template-columns: 200px 1fr;
        gap: 26px;
    }

    .info-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-wrap {
        padding: 34px 16px 60px;
    }

    .info-layout {
        display: block;
    }

    .community-sidebar {
        margin-bottom: 30px;
    }

    .community-box {
        height: auto;
        padding: 22px;
    }

    .community-box p {
        margin-top: 0;
    }

    .community-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        border-top: none;
        margin-top: 14px;
    }

    .community-menu a {
        height: 42px;
        padding: 0 12px;
        border: 1px solid #d9dee5;
        border-radius: 6px;
    }

    .info-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .info-hero h1 {
        font-size: 34px;
    }

    .info-card-list {
        grid-template-columns: 1fr;
    }

    .info-image-link {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .community-menu {
        grid-template-columns: 1fr;
    }

    .info-hero h1 {
        font-size: 30px;
    }

    .info-pet-banner span {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .info-pet-banner span:nth-child(2) {
        width: 60px;
        height: 60px;
        font-size: 34px;
    }
}

.animal-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.animal-filter-head h3 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.animal-filter-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.animal-filter-block + .animal-filter-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
}

.animal-chip.sub.active {
    background-color: #4f6fc8;
    border-color: #4f6fc8;
    color: #ffffff;
}

.info-animal-name {
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0f9ca8;
    font-size: 13px;
    font-weight: 900;
}

.info-animal-name strong {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .animal-filter-head {
        display: block;
    }

    .animal-reset-link {
        margin-top: 12px;
    }

    .animal-filter-block {
        display: block;
    }

    .animal-filter-label {
        margin-bottom: 8px;
    }
}

.info-hero {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid #d9dee5;
    padding-bottom: 18px;
    position: relative;
    overflow: hidden;
    padding: 34px 42px;
    border: 1px solid #d7ebf8;
    border-radius: 18px;
    background: #eaf7ff;
    box-shadow: 0 14px 34px rgba(48, 119, 157, 0.08);
}

.info-hero-copy {
    position: relative;
    z-index: 1;
}

.info-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #169ed8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.info-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title-row h1 {
    margin: 0;
    color: #102547;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
}

.info-hero-copy p {
    margin: 12px 0 0;
    color: #52718e;
    font-size: 16px;
    font-weight: 600;
}

.admin-only-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #397092;
    font-size: 12px;
    font-weight: 800;
}

.info-hero-illustration {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.info-animal-filter {
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid #dbe8f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 65, 100, 0.05);
    margin: 24px 0 18px;
}

.info-animal-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.info-animal-filter-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-animal-filter-title strong {
    color: #102547;
    font-size: 19px;
    font-weight: 800;
}

.info-animal-filter-title span {
    color: #7990a8;
    font-size: 13px;
}

.animal-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #d6e5f0;
    border-radius: 9px;
    background: #ffffff;
    color: #52718e;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.animal-reset-link:hover {
    border-color: #18a8e1;
    background: #edfaff;
    color: #078cc5;
}

.animal-filter-block {
    display: flex;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.animal-detail-filter {
    margin-top: 16px;
}

.animal-filter-label {
    height: 34px;
    display: flex;
    align-items: center;
    color: #159ed7;
    font-size: 14px;
    font-weight: 800;
    min-width: 58px;
    padding-top: 11px;
}

.animal-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.animal-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 17px;
    border: 1px solid #d5e2ef;
    border-radius: 999px;
    background-color: #ffffff;
    color: #45637d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
    min-width: 76px;
    height: 40px;
    background: #ffffff;
}

.animal-chip:hover {
    border-color: #16a7df;
    color: #078dc7;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(22, 167, 223, 0.16);
    background: #edfaff;
}

.animal-chip.active {
    border-color: #0ca6dc;
    background-color: #0f9ca8;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(18, 168, 221, 0.27);
    background: #12a8dd;
}

.animal-chip.sub {
    background-color: #f8fafc;
    min-width: auto;
    height: 36px;
    font-size: 13px;
}

.info-card {
    border: 1px solid #dce9f2;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(30, 65, 100, 0.06);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(30, 65, 100, 0.13);
}

@media (max-width: 768px) {
    .info-hero {
        min-height: 300px;
        align-items: flex-start;
        padding: 30px 26px;
    }

    .info-hero-illustration {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 62%;
    }

    .info-title-row h1 {
        font-size: 34px;
    }

    .info-animal-filter-header, .animal-filter-block {
        flex-direction: column;
        gap: 10px;
    }

    .animal-filter-label {
        padding-top: 0;
    }
}

.animal-parent-chip-list {
    gap: 12px;
}

.animal-chip-parent {
    gap: 8px;
    min-width: 92px;
    height: 46px;
    padding: 0 16px 0 8px;
    background: #f8fbfe;
}

.animal-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #eaf3f9;
    font-size: 16px;
    line-height: 1;
}

.chip-dog .animal-chip-icon::before {
    content: "🐶";
}

.chip-cat .animal-chip-icon::before {
    content: "🐱";
}

.chip-reptile .animal-chip-icon::before {
    content: "🦎";
}

.chip-rodent .animal-chip-icon::before {
    content: "🐹";
}

.chip-fish .animal-chip-icon::before {
    content: "🐠";
}

.animal-chip-all .animal-chip-icon {
    background: #c8f2f6;
    color: #008fa1;
    font-size: 18px;
}

.chip-dog .animal-chip-icon {
    background: #fff0d7;
}

.chip-cat .animal-chip-icon {
    background: #e9eef6;
}

.chip-reptile .animal-chip-icon {
    background: #e5f6dc;
}

.chip-rodent .animal-chip-icon {
    background: #fff0dc;
}

.chip-fish .animal-chip-icon {
    background: #eee6ff;
}

.animal-chip-parent.active {
    border-color: #17a8dc;
    background: #e7f8ff;
    color: #087ba9;
}

.animal-chip-parent.active .animal-chip-icon {
    background: #13a9dc;
    color: #ffffff;
}

.info-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.info-admin-edit, .info-admin-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #cfe0ec;
    border-radius: 8px;
    background: #ffffff;
    color: #52718e;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.info-admin-edit:hover {
    border-color: #11a5dd;
    background: #edfaff;
    color: #078cc5;
}

.info-admin-delete-form {
    margin: 0;
}

.info-admin-delete {
    border-color: #ffd4d4;
    color: #df4c4c;
}

.info-admin-delete:hover {
    border-color: #ef5555;
    background: #fff1f1;
}

.info-content .page-button:hover {
    border-color: #159ed7;
    background: #edfaff;
    color: #087eae;
}

.info-content .page-button.active, .info-content .page-button.active:hover {
    border-color: #159ed7;
    background: #159ed7;
    color: #ffffff;
}

.info-card-list, .board-pagination {
    transition: opacity 0.18s ease;
}

.info-filter-loading .info-card-list, .info-filter-loading .board-pagination {
    opacity: 0.45;
    pointer-events: none;
}
