.yoga-dictionary-layout {
    gap: 32px;
}

.yoga-dictionary-main {
    width: 100%;
}

.yoga-dictionary-hero {
    margin: 0 0 24px;
    padding: 30px;
    border: 1px solid #ded8c9;
    border-radius: 8px;
    background: #fbfaf4;
}

.yoga-dictionary-hero__eyebrow {
    margin: 0 0 8px;
    color: #766b59;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.yoga-dictionary-hero__title {
    margin: 0;
    color: #342d24;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.35;
}

.yoga-dictionary-hero__description {
    max-width: 44rem;
    margin: 12px 0 0;
    color: #5f5548;
    font-size: 1rem;
    line-height: 1.85;
}

.yoga-dictionary-panel,
.yoga-dictionary-section {
    margin: 0 0 28px;
}

.yoga-dictionary-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
    gap: 20px;
    align-items: center;
    padding: 22px;
    border: 1px solid #e4ded2;
    border-radius: 8px;
    background: #fff;
}

.yoga-dictionary-section__header {
    margin: 0 0 16px;
}

.yoga-dictionary-section-title {
    margin: 0;
    color: #352e25;
    font-size: 1.25rem;
    line-height: 1.5;
}

.yoga-dictionary-section-lead {
    margin: 6px 0 0;
    color: #685f54;
    font-size: 0.95rem;
    line-height: 1.75;
}

.yoga-dictionary-search__form {
    display: flex;
    gap: 10px;
}

.yoga-dictionary-search__actions {
    display: grid;
    gap: 10px;
}

.yoga-dictionary-index-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #8d7351;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: #8d7351;
}

.yoga-dictionary-index-link:hover {
    border-color: #735c40;
    color: #fff;
    text-decoration: none;
    background: #735c40;
}

.yoga-dictionary-search__form input[type="search"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7cdbc;
    border-radius: 6px;
    color: #332c24;
    background: #fff;
}

.yoga-dictionary-search__form button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #8d7351;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    background: #8d7351;
    cursor: pointer;
}

.yoga-dictionary-search__form button:hover {
    background: #735c40;
}

.yoga-dictionary-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.yoga-dictionary-category-card {
    display: block;
    min-width: 0;
    min-height: 92px;
    padding: 18px;
    border: 1px solid #e3dcd0;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yoga-dictionary-category-card:hover {
    border-color: #cbb999;
    box-shadow: 0 10px 22px rgba(67, 51, 32, 0.08);
    transform: translateY(-2px);
}

.yoga-dictionary-category-card__taxonomy {
    display: block;
    margin: 0 0 8px;
    color: #8a7357;
    font-size: 0.78rem;
    font-weight: 700;
}

.yoga-dictionary-category-card__name {
    display: block;
    color: #332c24;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.5;
}

.yoga-dictionary-category-card__description {
    display: block;
    margin-top: 8px;
    color: #6a6054;
    font-size: 0.9rem;
    line-height: 1.65;
}

.yoga-dictionary-term-list {
    display: grid;
    gap: 12px;
}

.yoga-dictionary-term-card {
    border: 1px solid #e4ded2;
    border-radius: 8px;
    background: #fff;
}

.yoga-dictionary-term-card__link {
    display: block;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
}

.yoga-dictionary-term-card:hover {
    border-color: #cbb999;
}

.yoga-dictionary-term-card__title {
    margin: 0;
    color: #332c24;
    font-size: 1.12rem;
    line-height: 1.55;
}

.yoga-dictionary-term-card__meta {
    margin: 6px 0 0;
    color: #8a7357;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

.yoga-dictionary-term-card__excerpt {
    margin: 8px 0 0;
    color: #665d52;
    font-size: 0.94rem;
    line-height: 1.75;
}

.yoga-dictionary-index-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #e4ded2;
    border-radius: 8px;
    background: #fff;
}

.yoga-dictionary-index-actions {
    display: flex;
    justify-content: flex-start;
    margin: -8px 0 20px;
}

.yoga-dictionary-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #d7cdbc;
    border-radius: 6px;
    color: #4a4036;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: #fbfaf4;
}

.yoga-dictionary-back-link:hover {
    border-color: #8d7351;
    color: #8d7351;
}

.yoga-dictionary-index-nav a {
    min-width: 54px;
    padding: 8px 12px;
    border: 1px solid #e2d8ca;
    border-radius: 6px;
    color: #4a4036;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: #fff;
}

.yoga-dictionary-index-nav a:hover {
    border-color: #8d7351;
    color: #fff;
    background: #8d7351;
}

.yoga-dictionary-index-group {
    margin: 0 0 28px;
}

.yoga-dictionary-index-group__title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4ded2;
    color: #352e25;
    font-size: 1.25rem;
    line-height: 1.5;
}

.yoga-dictionary-index-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.yoga-dictionary-index-item {
    min-width: 0;
    border: 1px solid #e4ded2;
    border-radius: 8px;
    background: #fff;
}

.yoga-dictionary-index-item__link {
    display: block;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
}

.yoga-dictionary-index-item:hover {
    border-color: #cbb999;
}

.yoga-dictionary-index-item__title {
    display: block;
    color: #332c24;
    font-weight: 700;
    line-height: 1.55;
}

.yoga-dictionary-index-item__meta {
    display: block;
    margin-top: 4px;
    color: #8a7357;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

.yoga-term-tag-layout {
    gap: 32px;
}

.yoga-term-tag-main {
    width: 100%;
}

.yoga-term-tag-hero {
    margin: 0 0 28px;
    padding: 28px 30px;
    border: 1px solid #ded8c9;
    border-radius: 8px;
    background: #fbfaf4;
}

.yoga-term-tag-hero__eyebrow {
    margin: 0 0 8px;
    color: #766b59;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.yoga-term-tag-hero__title {
    margin: 0;
    color: #342d24;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.35;
}

.yoga-term-tag-hero__description {
    max-width: 44rem;
    margin: 12px 0 0;
    color: #5f5548;
    font-size: 1rem;
    line-height: 1.85;
}

.yoga-term-tag-section {
    margin: 0 0 32px;
}

.yoga-term-tag-section__header {
    margin: 0 0 14px;
}

.yoga-term-tag-section__title {
    margin: 0;
    color: #352e25;
    font-size: 1.25rem;
    line-height: 1.5;
}

.yoga-term-tag-section__lead {
    margin: 6px 0 0;
    color: #685f54;
    font-size: 0.95rem;
    line-height: 1.75;
}

.yoga-term-tag-related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yoga-term-tag-related-card {
    min-width: 0;
    border: 1px solid #e4ded2;
    border-radius: 8px;
    background: #fff;
}

.yoga-term-tag-related-card:hover {
    border-color: #cbb999;
}

.yoga-term-tag-related-card__link {
    display: block;
    padding: 16px 18px;
    color: inherit;
    text-decoration: none;
}

.yoga-term-tag-related-card__type {
    display: block;
    margin: 0 0 6px;
    color: #8a7357;
    font-size: 0.78rem;
    font-weight: 700;
}

.yoga-term-tag-related-card__title {
    margin: 0;
    color: #332c24;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .yoga-dictionary-panel {
        grid-template-columns: 1fr;
    }

    .yoga-dictionary-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .yoga-dictionary-hero {
        padding: 22px 18px;
    }

    .yoga-dictionary-panel {
        padding: 18px;
    }

    .yoga-dictionary-search__form {
        display: grid;
    }

    .yoga-dictionary-category-grid {
        grid-template-columns: 1fr;
    }

    .yoga-dictionary-index-list {
        grid-template-columns: 1fr;
    }

    .yoga-term-tag-hero {
        padding: 22px 18px;
    }

    .yoga-term-tag-related-list {
        grid-template-columns: 1fr;
    }
}
