.orb-relations { padding: 48px 0 72px; color: #1d1725; }
.orb-relations__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.orb-relations__heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 700; }
.orb-relations__count { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 50px; background: #fff0e7; color: #a7480c; font-size: 16px; font-weight: 700; }
.orb-relations__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.orb-relations__card { min-width: 0; overflow: hidden; border: 1px solid #e9e6eb; border-radius: 14px; background: #fff; transition: transform 250ms cubic-bezier(.25, .46, .45, .94), box-shadow 250ms cubic-bezier(.25, .46, .45, .94); }
.orb-relations__card:hover, .orb-relations__card:focus-within, .orb-relations__card:active { transform: translateY(-2px); box-shadow: 0 0 24px rgba(0, 0, 0, .15); }
.orb-relations__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.orb-relations__link:hover, .orb-relations__link:focus, .orb-relations__link:active { color: inherit; text-decoration: none; }
.orb-relations__link:focus-visible { outline: none; }
.orb-relations__image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f4f1f6; }
.orb-relations__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.orb-relations__image--empty { display: grid; place-items: center; color: #8b668d; background: linear-gradient(135deg, #f6edf6, #fff2e6); font-size: 72px; font-weight: 700; }
.orb-relations__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.orb-relations__body h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.orb-relations__summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0 0 20px; color: #625b69; font-size: 15px; line-height: 1.6; }
.orb-relations__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 20px; }
.orb-relations__meta span { padding: 5px 10px; border-radius: 6px; background: #f5f3f7; color: #4b4254; font-size: 14px; }
.orb-relations__more { display: flex; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; color: #aa4400; font-size: 14px; font-weight: 600; }
.orb-relations__meta + .orb-relations__more { margin-top: 0; }
.orb-relations__label { margin-bottom: 10px; color: #8d4b8f; font-size: 13px; }
.orb-relations--guide .orb-relations__grid { display: block; }
.orb-relations--guide .orb-relations__card { max-width: 860px; }
.orb-relations--guide .orb-relations__link { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.orb-relations--guide .orb-relations__image { height: 100%; min-height: 250px; aspect-ratio: auto; }
.orb-relations--guide .orb-relations__body { padding: 30px; }
.orb-relations--guide .orb-relations__body h3 { font-size: 26px; }
.orb-guide__intro { padding: 56px 0 20px; }
.orb-guide__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 48px; }
.orb-guide__portrait { overflow: hidden; border-radius: 14px; background: #f4f1f6; }
.orb-guide__portrait img { display: block; width: 100%; height: auto; }
.orb-guide__content { min-width: 0; color: #42394c; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.orb-guide__lead { margin-bottom: 28px; color: #706176; font-size: 18px; }
.orb-guide__content h2, .orb-guide__content h3 { color: #1d1725; font-weight: 700; }
.orb-guide__content h2 { font-size: 28px; }
.orb-guide__content h3 { font-size: 22px; }
.orb-guide__content > article + article { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e9e6eb; }
.orb-guide__content img { max-width: 100%; height: auto; }
.orb-guide__content ul, .orb-guide__content ol { padding-left: 24px; }
.orb-guide__content a { color: #a34000; text-decoration: underline; }
.orb-guide__banner::before { background: linear-gradient(90deg, #1d1725ba, #1d172533); }
.orb-guide__banner .section__title { max-width: 850px; color: #fff; font-size: clamp(30px, 4vw, 44px); overflow-wrap: anywhere; }
@media (max-width: 991px) {
    .orb-relations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .orb-guide__layout { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 575px) {
    .orb-relations { padding: 32px 0 48px; }
    .orb-relations__grid { grid-template-columns: minmax(0, 1fr); }
    .orb-relations__body { padding: 20px; }
    .orb-relations--guide .orb-relations__link { display: flex; }
    .orb-relations--guide .orb-relations__image { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
    .orb-relations--guide .orb-relations__image img { object-position: center 25%; }
    .orb-relations--guide .orb-relations__body { padding: 22px; }
    .orb-relations--guide .orb-relations__body h3 { font-size: 22px; }
    .orb-guide__intro { padding-top: 32px; }
    .orb-guide__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .orb-guide__portrait { max-width: 260px; }
    .orb-guide__content { font-size: 16px; }
}
