.v2-guides-page,
.v2-guide-detail {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 34px 58px;
}

.v2-guides-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-guides-kicker {
    margin-bottom: 8px;
    color: var(--v2-accent-soft);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.v2-guides-head h1,
.v2-guide-detail-head h1 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.v2-guides-head p,
.v2-guide-detail-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--v2-text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.v2-guides-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex: 0 0 auto;
    color: var(--v2-text-secondary);
    font-size: 12px;
}

.v2-guides-count strong {
    color: var(--v2-text-primary);
    font-size: 20px;
    font-weight: 700;
}

.v2-guides-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 520px;
    height: 40px;
    margin-top: 22px;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guides-search:focus-within {
    border-color: var(--v2-accent);
}

.v2-guides-search-icon {
    width: 14px;
    height: 14px;
    margin-left: 13px;
    border: 1.5px solid var(--v2-text-secondary);
    border-radius: 50%;
    opacity: .72;
}

.v2-guides-search-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 1.5px;
    margin: 11px 0 0 -1px;
    background: var(--v2-text-secondary);
    transform: rotate(45deg);
    transform-origin: left center;
}

.v2-guides-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--v2-text-primary);
    font: inherit;
    font-size: 13px;
}

.v2-guides-search input::placeholder {
    color: var(--v2-text-secondary);
    opacity: .72;
}

.v2-guides-clear {
    margin-right: 12px;
    color: var(--v2-accent-soft);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.v2-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.v2-guide-card {
    display: grid;
    grid-template-columns: 164px minmax(0, 1fr);
    min-height: 164px;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
    color: inherit;
    text-decoration: none;
    transition:
        border-color .14s ease,
        background .14s ease;
}

.v2-guide-card:hover {
    border-color: #3b4757;
    background: var(--v2-bg-hover);
}

.v2-guide-card-media {
    min-height: 164px;
    border-right: 1px solid var(--v2-border);
    background: var(--v2-bg-elevated);
}

.v2-guide-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 164px;
    object-fit: cover;
}

.v2-guide-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 17px 18px 15px;
}

.v2-guide-card-label {
    margin-bottom: 6px;
    color: var(--v2-accent-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.v2-guide-card h2 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: 15px;
    font-weight: 680;
    line-height: 1.38;
    letter-spacing: -.01em;
}

.v2-guide-card p {
    display: -webkit-box;
    margin: 8px 0 15px;
    overflow: hidden;
    color: var(--v2-text-secondary);
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.v2-guide-card-open {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--v2-accent-soft);
    font-size: 12px;
    font-weight: 650;
}

.v2-guides-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guides-empty strong {
    color: var(--v2-text-primary);
    font-size: 14px;
}

.v2-guides-empty span {
    color: var(--v2-text-secondary);
    font-size: 13px;
}

.v2-guides-empty a {
    margin-top: 4px;
    color: var(--v2-accent-soft);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.v2-guide-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--v2-text-secondary);
    font-size: 12px;
}

.v2-guide-breadcrumb a {
    color: var(--v2-accent-soft);
    text-decoration: none;
}

.v2-guide-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-guide-detail-head {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-guide-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.v2-guide-hero-grid:has(.v2-guide-hero:only-child) {
    grid-template-columns: 1fr;
}

.v2-guide-hero {
    overflow: hidden;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guide-hero img,
.v2-guide-section-media img {
    display: block;
    width: 100%;
    height: auto;
}

.v2-guide-toc {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guide-toc-title {
    margin-bottom: 10px;
    color: var(--v2-text-primary);
    font-size: 13px;
    font-weight: 700;
}

.v2-guide-toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
}

.v2-guide-toc-links a {
    position: relative;
    color: var(--v2-text-secondary);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
}

.v2-guide-toc-links a:hover {
    color: var(--v2-accent-soft);
}

.v2-guide-sections {
    margin-top: 18px;
}

.v2-guide-section {
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--v2-border);
    scroll-margin-top: 92px;
}

.v2-guide-section:first-child {
    padding-top: 4px;
}

.v2-guide-section h2 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: 18px;
    font-weight: 680;
    line-height: 1.35;
    letter-spacing: -.012em;
}

.v2-guide-section-media {
    max-width: 820px;
    margin-top: 15px;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guide-section-intro {
    max-width: 820px;
    margin: 13px 0 0;
    color: var(--v2-text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.v2-guide-section ul {
    max-width: 800px;
    margin: 13px 0 0;
    padding-left: 21px;
    color: var(--v2-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.v2-guide-section li {
    margin: 6px 0;
    padding-left: 3px;
}

.v2-guide-apply {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-guide-apply-label {
    color: var(--v2-text-primary);
    font-size: 14px;
    font-weight: 700;
}

.v2-guide-apply > p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--v2-text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.v2-guide-apply-actions {
    display: flex;
    gap: 9px;
    margin-top: 13px;
}

.v2-guide-primary-action,
.v2-guide-secondary-action {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--v2-border);
    font-size: 12px;
    font-weight: 680;
    text-decoration: none;
}

.v2-guide-primary-action {
    border-color: var(--v2-accent);
    background: var(--v2-accent);
    color: #fff;
}

.v2-guide-secondary-action {
    background: var(--v2-bg-elevated);
    color: var(--v2-text-primary);
}

.v2-guide-related {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--v2-border);
}

.v2-guide-related-label {
    margin-bottom: 8px;
    color: var(--v2-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v2-guide-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
}

.v2-guide-related-links a {
    color: var(--v2-accent-soft);
    font-size: 12px;
    font-weight: 620;
    line-height: 1.5;
    text-decoration: none;
}

.v2-guide-related-links a:hover,
.v2-guide-breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .v2-guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .v2-guides-page,
    .v2-guide-detail {
        padding: 22px 18px 44px;
    }

    .v2-guides-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .v2-guide-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .v2-guide-hero-grid {
        grid-template-columns: 1fr;
    }
}
