/* ==========================
Hero Band — teal
Used on: tools page, resources page
============================= */
.tools-hero,
.resources-hero {
    background-color: var(--color-teal);
    width: 100%;
    border-bottom: 1px solid var(--color-teal-border);
}
 
.tools-hero h1,
.resources-hero h1 {
    margin-bottom: 16px;
}
 
.tools-hero .subtitle {
    max-width: 620px;
}
 
.resources-hero .subtitle {
    max-width: 540px;
}
 
/* ==========================
Tool Grid Band — white
Used on: tools page
============================= */
.tools-grid-section {
    background-color: var(--color-white);
    width: 100%;
}
 
.tools-grid-section h2 {
    margin-bottom: 40px;
}
 
/* ==========================
Tool Card Grid
Used on: tools page
============================= */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
 
.tool-card {
    background: var(--color-white);
    border: 1px solid var(--color-teal-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    color: inherit;
}
 
.tool-card-image {
    background: var(--color-bg);
    padding: 12px;
    border-bottom: 1px solid var(--color-teal-border);
}
 
.tool-card-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}
 
.tool-card-text {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
 
.tool-card-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
 
.tool-card-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
 
.card-cta {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: auto;
}
 
.tool-card:hover .card-cta {
    color: var(--color-brand-hover);
}
 
/* ==========================
Articles Band — white
Used on: resources page
============================= */
.resources-articles {
    background-color: var(--color-white);
    width: 100%;
}
 
.resources-articles h2 {
    margin-bottom: 8px;
}
 
.resources-articles .subtitle {
    margin-bottom: 36px;
}
 
/* ==========================
Article Cards
Used on: home page, resources page
============================= */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
 
.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-teal-light);
    border: 1px solid var(--color-teal-border);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    color: inherit;
}
 
.article-card-inner {
    padding: 28px;
}
 
.article-card-inner h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}
 
.article-card-inner p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
 
/* ==========================
Disclaimer — slim band
Used on: home page, tools page
============================= */
.home-disclaimer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-teal-border);
    width: 100%;
}
 
.home-disclaimer .home-section-inner {
    padding: 32px 40px;
}
 
.home-disclaimer p {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
    line-height: 1.7;
    max-width: var(--max-width-content);
    margin: 0 auto;
    text-align: center;
}
 
/* ==========================
Responsive — Tablet
============================= */
@media (max-width: 1024px) {
 
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
/* ==========================
Responsive — Mobile
============================= */
@media (max-width: 600px) {
 
    .tool-grid {
        grid-template-columns: 1fr;
    }
 
    .home-disclaimer .home-section-inner {
        padding: 24px 20px;
    }
}