/* TARGET program pages — supplements site.css */

/* Page background — override the main tan to a neutral gray so the white card pops */
main {
    background-color: #e8e4df !important;
    padding: 48px 24px 80px;
}

/* White paper card */
.target-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 56px 64px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10), 0 8px 32px rgba(0,0,0,0.08);
}

@media (max-width: 640px) {
    main {
        padding: 24px 12px 60px;
    }
    .target-wrap {
        padding: 32px 20px 48px;
    }
}

.target-header {
    text-align: center;
    padding: 40px 0 32px;
    border-bottom: 2px solid #e0d8cc;
    margin-bottom: 40px;
}

.target-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 8px;
}

.target-header h1 {
    font-size: 52px;
    font-weight: 700;
    color: #2c2421;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.target-subtitle {
    font-size: 18px;
    color: #777;
    margin: 0;
}

.target-body h2 {
    font-size: 22px;
    color: #2c2421;
    margin: 36px 0 12px;
    font-weight: 600;
}

.target-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.target-body ul {
    margin: 0 0 20px 20px;
}

.target-body ul li {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    padding-bottom: 8px;
}

.target-body hr {
    border: none;
    border-top: 1px solid #e0d8cc;
    margin: 40px 0;
}

blockquote {
    border-left: 4px solid #a85c32;
    margin: 24px 0;
    padding: 12px 24px;
    background: #f9f5f0;
    font-size: 18px;
    font-style: italic;
    color: #555;
}

/* Full-width graph image */
.target-graph-full {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 6px;
    border: 1px solid #e0d8cc;
}

/* Inline floated graphic (used on intro page) */
.target-inline-right {
    float: right;
    width: 220px;
    max-width: 40%;
    height: auto;
    margin: 0 0 20px 28px;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .target-inline-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
}

/* TARGET graphic placeholder */
.target-placeholder {
    text-align: center;
    margin: 32px 0;
    background: #f4efe9;
    border: 2px dashed #d0c8bc;
    border-radius: 8px;
    padding: 24px;
}

.target-graphic {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.target-caption {
    font-size: 14px;
    color: #777;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Three rules cards */
.target-rules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.target-rule {
    background: #f4efe9;
    border-top: 3px solid #a85c32;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.target-rule h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a85c32;
    margin: 0 0 8px;
}

.target-rule p {
    font-size: 15px;
    margin: 0;
}

/* Four phases */
.target-phases {
    margin: 24px 0;
}

.target-phase {
    border-left: 3px solid #a85c32;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: #f9f5f0;
}

.target-phase h3 {
    font-size: 16px;
    color: #2c2421;
    margin: 0 0 8px;
    font-weight: 600;
}

.target-phase p {
    margin: 0;
    font-size: 16px;
}

/* Caution block */
.target-caution {
    background: #fff8f0;
    border: 1px solid #f0c070;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px !important;
    color: #7a5010 !important;
}

/* Want More box */
.target-want-more {
    background: #2c2421;
    color: #fff;
    border-radius: 10px;
    padding: 36px 40px;
    margin: 48px 0 40px;
    text-align: center;
}

.target-want-more h2 {
    color: #fff;
    margin-top: 0;
}

.target-want-more p {
    color: #ddd;
    font-size: 16px;
}

.target-want-more a {
    color: #d98e4a;
}

.target-want-more-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.target-want-more-links a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #d98e4a;
    padding-bottom: 2px;
}

.target-want-more-links a:hover {
    color: #d98e4a;
}

/* Prev/Next navigation */
.target-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e0d8cc;
}

.target-nav-prev,
.target-nav-next {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.target-nav-prev {
    color: #666;
    border: 1px solid #ccc;
}

.target-nav-prev:hover {
    background: #f4efe9;
    border-color: #a85c32;
    color: #a85c32;
    text-decoration: none;
}

.target-nav-next {
    color: #fff;
    background: #a85c32;
    border: 1px solid #a85c32;
    margin-left: auto;
}

.target-nav-next:hover {
    background: #2c2421;
    border-color: #2c2421;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .target-rules {
        grid-template-columns: 1fr;
    }
    .target-header h1 {
        font-size: 38px;
    }
    .target-want-more {
        padding: 24px 20px;
    }
    .target-nav-prev,
    .target-nav-next {
        font-size: 12px;
        padding: 8px 14px;
    }
}
