/* Keyword-intent resource and service presentation — v2.8.0 */
.ahk-opportunity-section {
    margin: clamp(42px, 7vw, 88px) 0;
}

.ahk-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ahk-resource-card,
.ahk-answer-box,
.ahk-guide-section,
.ahk-sidebar-card,
.ahk-intent-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.ahk-resource-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 24px;
}

.ahk-resource-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--red-3, #dc2626), var(--blue-3, #2563eb));
}

.ahk-resource-card > span,
.ahk-answer-box > span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue-4, #1d4ed8);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ahk-resource-card h3 {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    line-height: 1.25;
}

.ahk-resource-card h3 a,
.ahk-related-list a {
    color: #0f172a;
    text-decoration: none;
}

.ahk-resource-card h3 a:hover,
.ahk-related-list a:hover {
    color: var(--blue-4, #1d4ed8);
}

.ahk-resource-card p,
.ahk-guide-section p,
.ahk-sidebar-card p {
    color: #475569;
}

.ahk-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--blue-4, #1d4ed8);
    font-weight: 800;
    text-decoration: none;
}


.ahk-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin: 0 0 20px;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 650;
}

.ahk-article-meta span + span::before {
    content: "•";
    margin-right: 16px;
    color: #94a3b8;
}

.ahk-resource-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(28px, 5vw, 58px);
    align-items: start;
}

.ahk-resource-main {
    min-width: 0;
}

.ahk-answer-box,
.ahk-guide-section,
.ahk-sidebar-card {
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
}

.ahk-answer-box {
    margin-bottom: 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.16), transparent 38%),
        linear-gradient(145deg, #ffffff, #eff6ff);
}

.ahk-answer-box h2 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    text-transform: none;
}

.ahk-answer-box p {
    margin: 0;
    color: #1e293b;
    font-size: 1.08rem;
}

.ahk-guide-section {
    margin: 0 0 26px;
}

.ahk-guide-section h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.25;
}

.ahk-guide-section p + p {
    margin-top: 16px;
}

.ahk-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
}

.ahk-comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #ffffff;
}

.ahk-comparison-table th,
.ahk-comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.ahk-comparison-table th {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ahk-comparison-table td:first-child {
    color: #0f172a;
    font-weight: 800;
}

.ahk-resource-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 20px;
}

.ahk-sidebar-card {
    padding: 26px;
}

.ahk-sidebar-card > strong {
    display: block;
    color: #0f172a;
    font-size: 1.22rem;
}

.ahk-sidebar-card ul {
    margin: 12px 0 0;
    padding-left: 19px;
    color: #475569;
}

.ahk-sidebar-card li + li {
    margin-top: 8px;
}

.ahk-sidebar-cta {
    background:
        radial-gradient(circle at 100% 0, rgba(220, 38, 38, 0.18), transparent 38%),
        linear-gradient(145deg, #0f172a, #172554);
    color: #ffffff;
}

.ahk-sidebar-cta h2,
.ahk-sidebar-cta p,
.ahk-sidebar-cta .ahp-kicker,
.ahk-sidebar-cta .ahk-text-link {
    color: #ffffff;
}

.ahk-sidebar-cta .ahp-button {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

.ahk-related-list {
    list-style: none;
    padding-left: 0 !important;
}

.ahk-related-list li {
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.ahk-service-intent {
    margin: 26px 0;
}

.ahk-intent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ahk-intent-card {
    padding: clamp(24px, 4vw, 34px);
    border-radius: 22px;
}

.ahk-intent-card h2 {
    margin-bottom: 14px;
}

.ahk-keyword-context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ahk-keyword-context span {
    padding: 7px 11px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 700;
}

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

.ahk-guide-links a {
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 750;
    text-decoration: none;
}

.ahk-guide-links a:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .ahk-resource-layout {
        grid-template-columns: 1fr;
    }

    .ahk-resource-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ahk-sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .ahk-resource-grid,
    .ahk-intent-grid,
    .ahk-resource-sidebar,
    .ahk-guide-links {
        grid-template-columns: 1fr;
    }

    .ahk-sidebar-cta {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .ahk-article-meta {
        display: grid;
        gap: 5px;
    }

    .ahk-article-meta span + span::before {
        content: none;
    }
}
