/* =========================================================
   ARCHBALD WEIGH IN PAGE
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
    margin: 40px 0;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

/* =========================================================
   FORM
   ========================================================= */

.contact-form .form-row {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #16324f;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0b5ed7;
    box-shadow: 0 0 0 4px rgba(11,94,215,.12);
}

.submit-btn {
    display: inline-block;
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    background: #0b5ed7;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: .2s ease;
}

.submit-btn:hover {
    background: #084298;
}

.small-note {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

p.smaller {
    font-size: 10px !important;
    line-height: 1.5;
    color: #c7d7ea;
}



/* =========================================================
   CHECKBOX
   ========================================================= */

.checkbox-row {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-size: 14px;
    color: #444;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

/* =========================================================
   COMMENTS
   ========================================================= */

.comment-block {
    background: #f8fbff;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 26px;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.comment-header strong {
    font-size: 17px;
    color: #102434;
}

.comment-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
}

.comment-message {
    line-height: 1.7;
    color: #222;
    font-size: 15px;
    white-space: pre-wrap;
}

/* =========================================================
   POSITION TAGS
   ========================================================= */

.position-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

.position-for {
    background: #d1f7d6;
    color: #0f5132;
}

.position-opposed {
    background: #ffd9d9;
    color: #842029;
}

.position-neutral {
    background: #e2e3e5;
    color: #41464b;
}

.position-question {
    background: #fff3cd;
    color: #664d03;
}

/* =========================================================
   REPLY FORM
   ========================================================= */

.reply-form-wrap {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #dbe7f5;
}

.reply-form .form-row {
    margin-bottom: 12px;
}

.reply-form input[type="text"],
.reply-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.reply-form textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.btn-reply {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 7px;
    background: #0b5ed7;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.btn-reply:hover {
    background: #084298;
}

/* =========================================================
   REPLIES
   ========================================================= */

.replies-wrap {
    margin-top: 22px;
    margin-left: 28px;
    border-left: 3px solid #d8e8ff;
    padding-left: 18px;
}

.reply-block {
    background: #ffffff;
    border: 1px solid #e4ecf5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.reply-header strong {
    color: #16324f;
}

.reply-date {
    font-size: 12px;
    color: #777;
    margin: 4px 0 10px;
}

.reply-message {
    line-height: 1.6;
    font-size: 14px;
    color: #222;
    white-space: pre-wrap;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .replies-wrap {
        margin-left: 12px;
        padding-left: 12px;
    }

}

@media (max-width: 640px) {

    .card {
        padding: 20px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit-btn,
    .btn-reply {
        width: 100%;
    }

}