/* PokeTeamOn competitive knowledge guides — additive M7.4 presentation. */

.m74-guide-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 52px;
}

.m74-guide-hero,
.m74-guide-article-hero {
    padding: 26px;
    border: 1px solid rgba(103, 92, 62, 0.18);
    border-radius: 22px;
    background: rgba(255, 253, 245, 0.78);
}

.m74-guide-hero h1,
.m74-guide-article-hero h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    line-height: 1.08;
}

.m74-guide-hero p,
.m74-guide-dek {
    max-width: 780px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.m74-guide-hero-actions,
.m74-workflow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.m74-guide-intro,
.m74-guide-boundary,
.m74-use-when,
.m74-workflow,
.m74-takeaways {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(103, 92, 62, 0.16);
    border-radius: 18px;
    background: rgba(248, 245, 234, 0.72);
}

.m74-guide-intro h2,
.m74-guide-boundary h2,
.m74-use-when h2,
.m74-workflow h2,
.m74-takeaways h2 {
    margin-top: 0;
}

.m74-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.m74-guide-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(103, 92, 62, 0.16);
    border-radius: 18px;
    background: rgba(255, 253, 245, 0.72);
}

.m74-guide-card-kicker {
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.68;
}

.m74-guide-card h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.m74-guide-card p {
    margin: 0 0 18px;
    line-height: 1.6;
}

.m74-guide-card-link {
    font-weight: 700;
}

.m74-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.m74-guide-article {
    max-width: 880px;
    margin: 0 auto;
}

.m74-use-when ul,
.m74-takeaways ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.m74-use-when li,
.m74-takeaways li {
    margin: 8px 0;
    line-height: 1.55;
}

.m74-guide-body {
    margin-top: 26px;
}

.m74-guide-body section {
    padding: 4px 2px 12px;
}

.m74-guide-body h2 {
    margin: 26px 0 10px;
    line-height: 1.2;
}

.m74-guide-body p,
.m74-workflow p,
.m74-guide-boundary p,
.m74-guide-intro p {
    line-height: 1.75;
}

.m74-guide-article-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(103, 92, 62, 0.18);
}

.m74-guide-shell *,
.m74-guide-shell {
    min-width: 0;
    box-sizing: border-box;
}

.m74-guide-shell a,
.m74-guide-shell p,
.m74-guide-shell li,
.m74-guide-shell h1,
.m74-guide-shell h2 {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .m74-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .m74-guide-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    .m74-guide-hero,
    .m74-guide-article-hero,
    .m74-guide-card,
    .m74-guide-intro,
    .m74-guide-boundary,
    .m74-use-when,
    .m74-workflow,
    .m74-takeaways {
        padding: 17px;
        border-radius: 15px;
    }

    .m74-guide-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .m74-guide-hero-actions,
    .m74-workflow-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .m74-guide-hero-actions .button,
    .m74-workflow-links .button {
        width: 100%;
        text-align: center;
    }
}

