

.niche-breadcrumb {
    font-size: 13px;
    color: var(--medium-gray);
    padding-top: 24px;
}
.niche-breadcrumb a { color: var(--medium-gray); text-decoration: none; }
.niche-breadcrumb a:hover { color: var(--accent); }

.consulting-page .hero.niche-hero { padding: 48px 0 40px; }
.consulting-page .hero.niche-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.niche-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 40px;
}
.niche-area {
    font-size: 15px;
    line-height: 1.55;
    color: var(--dark-gray);
}
.niche-area strong {
    color: var(--black);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.niche-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px 20px;
    padding: 8px 0;
}

.niche-related > a.niche-rel-post,
.niche-related > a.niche-rel-app {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--lighter-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--black);
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.niche-related > a.niche-rel-post:hover,
.niche-related > a.niche-rel-app:hover {
    border-color: var(--black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.niche-rel-post { padding: 22px 24px; }
.niche-rel-post-preview {
    margin: -22px -24px 16px;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: var(--off-white);
    border-bottom: 1px solid var(--lighter-gray);
}
.niche-rel-post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.niche-rel-post:hover .niche-rel-post-preview img {
    transform: scale(1.03);
}
.niche-rel-post-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--medium-gray);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.niche-rel-post-hn {
    font-size: 12px;
    color: #FF6600;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
}
.niche-rel-post h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.niche-related > a:hover h3 { color: var(--accent); }
.niche-rel-post p {
    font-size: 13.5px;
    color: var(--medium-gray);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.niche-rel-arrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

.niche-rel-app { padding: 0; }
.niche-rel-app-preview {
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: 20% center;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--lighter-gray) 100%);
    border-bottom: 1px solid var(--lighter-gray);
    display: block;
    flex-shrink: 0;
    transition: object-position 4s ease-in-out;
}
.niche-rel-app:hover .niche-rel-app-preview {
    object-position: 80% center;
}
.niche-rel-app-preview-placeholder {
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--medium-gray);
}
.niche-rel-app-preview-placeholder.niche-rel-app-preview { display: flex; }
.niche-rel-app-body {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.niche-rel-app-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.niche-rel-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--off-white);
    border: 1px solid var(--lighter-gray);
}
.niche-rel-app-header-text { min-width: 0; flex: 1; }
.niche-rel-app-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--medium-gray);
    display: block;
    margin-bottom: 4px;
}
.niche-rel-app-header-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.niche-rel-app p {
    font-size: 13px;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.niche-rel-talk {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}
.niche-rel-talk:hover { transform: translateY(-8px); }
.niche-rel-talk-inner {
    background: var(--white);
    border: 1px solid var(--lighter-gray);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.niche-rel-talk:hover .niche-rel-talk-inner { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12); }
.niche-rel-talk[data-color="red"]:hover .niche-rel-talk-inner { border-color: #e74c3c; }
.niche-rel-talk[data-color="green"]:hover .niche-rel-talk-inner { border-color: #27ae60; }
.niche-rel-talk[data-color="purple"]:hover .niche-rel-talk-inner { border-color: #9b59b6; }
.niche-rel-talk[data-color="blue"]:hover .niche-rel-talk-inner { border-color: #3498db; }
.niche-rel-talk[data-color="orange"]:hover .niche-rel-talk-inner { border-color: #e67e22; }
.niche-rel-talk[data-color="default"]:hover .niche-rel-talk-inner { border-color: var(--accent); }

.niche-rel-talk-hole {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--off-white);
    border: 3px solid var(--lighter-gray);
    border-radius: 50%;
    z-index: 3;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
}
.niche-rel-talk[data-color="red"]:hover .niche-rel-talk-hole { border-color: #e74c3c; }
.niche-rel-talk[data-color="green"]:hover .niche-rel-talk-hole { border-color: #27ae60; }
.niche-rel-talk[data-color="purple"]:hover .niche-rel-talk-hole { border-color: #9b59b6; }
.niche-rel-talk[data-color="blue"]:hover .niche-rel-talk-hole { border-color: #3498db; }
.niche-rel-talk[data-color="orange"]:hover .niche-rel-talk-hole { border-color: #e67e22; }
.niche-rel-talk[data-color="default"]:hover .niche-rel-talk-hole { border-color: var(--accent); }

.niche-rel-talk-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--accent), #4d9de0);
}
.niche-rel-talk[data-color="red"] .niche-rel-talk-stripe { background: linear-gradient(90deg, #e74c3c, #e67e22); }
.niche-rel-talk[data-color="green"] .niche-rel-talk-stripe { background: linear-gradient(90deg, #27ae60, #2ecc71); }
.niche-rel-talk[data-color="purple"] .niche-rel-talk-stripe { background: linear-gradient(90deg, #9b59b6, #8e44ad); }
.niche-rel-talk[data-color="blue"] .niche-rel-talk-stripe { background: linear-gradient(90deg, #3498db, #2980b9); }
.niche-rel-talk[data-color="orange"] .niche-rel-talk-stripe { background: linear-gradient(90deg, #e67e22, #f39c12); }

.niche-rel-talk-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-bottom: 1px solid var(--lighter-gray);
    display: block;
}
.niche-rel-talk-image-placeholder {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    font-size: 36px;
    border-bottom: 1px solid var(--lighter-gray);
}

.niche-rel-talk-content { padding: 16px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.niche-rel-talk-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--medium-gray);
    display: block;
    margin-bottom: 8px;
}
.niche-rel-talk-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin: 0 0 6px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.niche-rel-talk[data-color="red"]:hover .niche-rel-talk-title { color: #e74c3c; }
.niche-rel-talk[data-color="green"]:hover .niche-rel-talk-title { color: #27ae60; }
.niche-rel-talk[data-color="purple"]:hover .niche-rel-talk-title { color: #9b59b6; }
.niche-rel-talk[data-color="blue"]:hover .niche-rel-talk-title { color: #3498db; }
.niche-rel-talk[data-color="orange"]:hover .niche-rel-talk-title { color: #e67e22; }
.niche-rel-talk[data-color="default"]:hover .niche-rel-talk-title { color: var(--accent); }

.niche-rel-talk-meta {
    font-size: 13px;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.niche-rel-talk-summary {
    font-size: 13.5px;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.consulting-page section { padding: 48px 0; }

@media (max-width: 820px) {
    .consulting-page .hero.niche-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .consulting-page .hero.niche-hero h1 { font-size: 32px; }
    .niche-areas-grid { grid-template-columns: 1fr; }
}
