/* 강아지소개 — 목록·상세 */

.dog-breeds-list-page__note {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
}

.dog-breeds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.dog-breeds-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dog-breed-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dog-breed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.dog-breed-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dog-breed-card__media {
    aspect-ratio: 4 / 3;
    background: #f4f6f8;
    overflow: hidden;
}

.dog-breed-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dog-breed-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
}

.dog-breed-card__body {
    padding: 0.9rem 1rem 1rem;
}

.dog-breed-card__name {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.dog-breed-card--compact .dog-breed-card__name {
    font-size: 0.95rem;
}

.dog-breed-card__english {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    color: #6b7280;
}

.dog-breed-card__comment {
    margin: 0.55rem 0 0;
    font-size: 0.86rem;
    color: #4b5563;
    line-height: 1.5;
}

.dog-breed-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.dog-breed-stars__icons {
    display: inline-flex;
    align-items: center;
    gap: 0.12em;
}

.dog-breed-star {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
}

.dog-breed-star--full {
    color: #f59e0b;
}

.dog-breed-star--empty {
    color: #e5e7eb;
}

.dog-breed-star--partial {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.dog-breed-star__empty {
    color: #e5e7eb;
}

.dog-breed-star__fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    color: #f59e0b;
    width: calc(var(--fill, 0) * 100%);
}

.dog-breed-stars__score {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
}

/* 상세 */
.dog-breed-detail {
    width: 100%;
}

.dog-breed-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    align-items: start;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.dog-breed-detail__media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #fff;
}

.dog-breed-detail__image {
    display: block;
    width: 90%;
    height: 90%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.dog-breed-detail__name {
    margin: 0 0 0.25rem;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.dog-breed-detail__english {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #6b7280;
}

.dog-breed-detail__overall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.dog-breed-detail__overall-label {
    font-weight: 700;
    font-size: 1.425rem;
}

.dog-breed-detail__overall .dog-breed-star {
    font-size: 1.425rem;
}

.dog-breed-detail__overall .dog-breed-stars__score {
    font-size: 1.32rem;
}

.dog-breed-detail__comment {
    margin: 0;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    border-left: 4px solid #10b981;
    border-radius: 0 12px 12px 0;
    font-size: calc(1.176rem * 0.9);
    line-height: 160%;
    word-break: keep-all;
    color: #1f2937;
}

.dog-breed-detail__comment p {
    margin: 0;
}

.dog-breed-detail__section {
    margin-bottom: 2rem;
}

.dog-breed-detail__section-title {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.dog-breed-detail__section-note {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.86rem;
    color: #6b7280;
    line-height: 1.5;
}

.dog-breed-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.dog-breed-spec-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    text-align: center;
}

.dog-breed-spec-card__label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.dog-breed-spec-card__value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.dog-breed-ratings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.2rem 1.35rem;
}

.dog-breed-rating-row {
    display: grid;
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.dog-breed-rating-row__label {
    font-size: 1.08rem;
    font-weight: 600;
    color: #374151;
}

.dog-breed-ratings-grid .dog-breed-star {
    font-size: 1.14rem;
}

.dog-breed-ratings-grid .dog-breed-stars__score {
    font-size: 1.056rem;
}

.dog-breed-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dog-breed-tag {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.86rem;
    color: #334155;
    font-weight: 600;
}

.dog-breed-detail__official-text {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    line-height: 1.7;
    color: #374151;
}

.dog-breed-detail__official-text p {
    margin: 0 0 0.75rem;
}

.dog-breed-detail__official-text p:last-child {
    margin-bottom: 0;
}

.dog-breed-detail__disclaimer {
    margin: 2rem 0;
    padding: 1rem 1.1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #78350f;
}

.dog-breed-detail__disclaimer p {
    margin: 0;
}

.dog-breeds-list--empty {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
}

@media (max-width: 960px) {
    .dog-breeds-grid,
    .dog-breeds-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dog-breed-detail__hero {
        grid-template-columns: 1fr;
    }

    .dog-breed-ratings-grid {
        grid-template-columns: 1fr;
    }

    .dog-breed-rating-row {
        grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 560px) {
    .dog-breeds-grid,
    .dog-breeds-grid--compact {
        grid-template-columns: 1fr;
    }
}
