/* Hub + detail + book (public helplines) */

.helplines-page-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.helplines-main .content,
.helplines-detail .content,
.helplines-book .content {
    min-height: 0;
}

.section-wrapper {
    max-width: 90%;
    margin: auto;
    padding: 20px 0;
}

.cards_helpline {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card_helpline {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 300px;
    padding: 25px;
    text-align: center;
    position: relative;
}

.card_helpline:hover {
    transform: translateY(-4px);
}

.card_helpline-img {
    object-fit: cover;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}

.time-info {
    font-size: 16px;
    color: #224182;
    font-weight: 600;
    margin-bottom: 15px;
    height: 50px;
}

.card_helpline h3 {
    color: #0d3b66;
    font-weight: 700;
    margin-bottom: 5px;
	font-size:20px;
}

.card_helpline h3 a {
    color: #0d3b66;
    text-decoration: underline;
}

.book-link {
    color: #ef4136;
    font-weight: 700;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 20px;
}

.book-link:hover,
.book-link:focus {
    color: #ef4136;
}

.contact-box {
    background: #f4c38f;
    padding: 12px 0;
    font-size: 12px;
    margin-bottom: 20px;
      font-weight: 500;

}

.contact-box a {
    color: #0d3b66;
    text-decoration: none;
}

.description_helpline {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.rti-link {
    margin-top: 40px;
    font-weight: 600;
}

.rti-link a {
    color: #0d3b66;
    text-decoration: none;
    font-size: 18px;
}

.rti-link a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .cards_helpline {
        flex-direction: column;
        gap: 50px;
    }
}

/* Landing pages (consumer / housing / credit — matches static col-sm-4 | col-sm-8 design) */
.helplines-landing .content {
    min-height: 0;
}

.helplines-landing-media-inner {
    text-align: center;
    border-right: 1px solid #ccc;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .helplines-landing-media-inner {
        border-right: none;
        padding-right: 0;
        margin-bottom: 24px;
    }
}

.helplines-landing-side-img {
    width: 100%;
    max-width: 400px;
    height: 345px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .helplines-landing-side-img {
        height: auto;
    }
}

.helplines-landing-video {
    width: 100%;
    max-width: 400px;
    height: 345px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .helplines-landing-video {
        height: auto;
    }
}

.helplines-schedule-heading {
    margin-top: 10px;
    line-height: 1.45;
}

.helplines-landing-contact {
    width: 100%;
    max-width: 70%;
    margin-bottom: 20px;
    padding: 20px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .helplines-landing-contact {
        max-width: 100%;
    }
}

.helplines-landing-main .helplines-btn-ask {
    background: #0e688d;
    border-color: #0e688d;
    margin-right: 8px;
    margin-bottom: 10px;
}

.helplines-landing-main .helplines-btn-book {
    margin-bottom: 10px;
}

.helplines-credit-req-heading {
    margin: 1em 0 0.5em;
}

.helplines-credit-req-list {
    margin-top: 0;
}

/* Detail page (legacy class names kept for other rules) */
.helplines-detail-row {
    margin-bottom: 30px;
}

.helplines-side-img-wrap {
    margin-bottom: 15px;
}

.helplines-side-img {
    width: 100%;
    height: auto;
}

.pdd-tp {
    padding-top: 10px;
}

.helplines-schedule {
    margin-top: 10px;
}

.helpline-intro {
    text-align: justify;
}

.helplines-ask-wrap {
    margin: 20px 0;
}

.helplines-attend {
    margin-top: 24px;
}

.helplines-attend h4 {
    margin-bottom: 12px;
}

.helplines-book-btn {
    margin-top: 10px;
}

.helplines-about-snippet {
    background: #f7f7f7;
    clear: both;
    padding: 30px;
    margin-top: 40px;
}

.helplines-about-snippet p {
    text-align: justify;
}

.helpline-bullets {
    margin: 1em 0;
    padding-left: 1.25em;
}

/* Booking page (two-column layout — matches static book-appointment mocks) */
.helplines-book-back {
    margin-bottom: 20px;
}

.helplines-book-back a {
    color: #0d3b66;
}

.helplines-book-row {
    align-items: flex-start;
}

.helplines-book-sidebar {
    margin-bottom: 30px;
}

.helplines-book-side-img-wrap {
    margin-bottom: 15px;
}

.helplines-book-side-img {
    width: 100%;
    height: auto;
}

.helplines-book-side-copy {
    line-height: 1.65;
}

.helplines-book-bullets {
    margin: 0;
    padding-left: 1.25em;
}

.helplines-book-bullets li {
    margin-bottom: 0.5em;
}

.helplines-book-main {
    padding-left: 8px;
}

.helplines-book .well.widget_volunteer_form {
    margin-top: 0;
}

@media (min-width: 768px) {
    .helplines-book-main {
        padding-left: 15px;
    }
}

/* Booking form */
.helplines-book-form .form-control {
    margin-bottom: 0;
}

.helplines-book-form .txt-area {
    margin-bottom: 0;
}

.helplines-book-textarea {
    min-height: 100px;
}

.helpline-req {
    color: #c00;
}

.helplines-book-msg,
.helplines-book-error {
    margin-bottom: 15px;
}

.helplines-book-form label {
    display: block;
    margin-top: 14px;
    margin-bottom: 4px;
    font-weight: normal;
}

.helplines-book-form label:first-of-type {
    margin-top: 0;
}

.spacer-10 {
    height: 10px;
}

.helpline-field-error {
    color: #b42318;
    font-size: 12px;
    line-height: 1.35;
    min-height: 16px;
    margin-top: 4px;
}

@media (min-width: 1200px) {
    .helplines-main .container,
    .helplines-detail .container,
    .helplines-book .container {
        width: 100%;
        max-width: 90%;
    }
}